A decentralized heating control system and method based on edge computing of the Internet of Things
By using IoT edge computing technology in the heating system and using a combination of cloud platforms and edge devices to achieve decentralized heating control, it solves the problems of low real-time, poor flexibility, and low reliability in the existing technology, and improves The system's scalability and real-time response capabilities ensure the system's high reliability and flexibility.
Patent Information
- Application Number
- CN202411007502.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-25
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2044-07-25
AI Technical Summary
Existing heating control methods have problems such as low real-time performance, poor flexibility, and low reliability. Especially when dealing with heating equipment across manufacturers, protocols, and multiple networks, the complexity of the control device increases and is not conducive to flexible expansion of the equipment.
A decentralized heating control system based on IoT edge computing is adopted. Through the combination of cloud platform and edge gateway, edge adaptation device, and edge control device, the MQTT protocol is used for data transmission and message subscription to realize device mapping management, data analysis and Distributed processing of control logic reduces dependence on the cloud.
It improves the scalability, real-time and reliability of the system, simplifies the data processing process, reduces the network burden, and avoids the risk of single point failure. The system can flexibly adapt to various changing environments and scenarios.
Smart Images

Figure CN118623377B_ABST
Abstract
Description
Technical Field
[0001] The present invention provides a decentralized heating control system and method based on edge computing of the Internet of Things, belonging to the technical field of heating control. Background Art
[0002] Using refined heating parameters to guide the operation and regulation of the heating system is an important measure to effectively reduce the energy consumption of the heating system and achieve heating on demand, and it has good application prospects.
[0003] There are two main methods of heating control at present. One is Figure 1 The method provided by the Chinese patent CN115914307B shown in the figure collects the operating parameters of various heating systems and transmits them to the cloud platform, combines the meteorological data on the cloud platform, completes all logical analysis, and sends the control results to the control device in the heat exchange station through the cloud platform. This method has the problems of large cloud load, high network bandwidth requirements, and low real-time processing efficiency.
[0004] Another is as Figure 2 The method provided by the Chinese patent CN116227704A shown above sinks the cloud computing power and control method to the edge node based on the edge computing method. Although it can solve the problems of heavy cloud load, high network bandwidth requirements, and low real-time processing efficiency, when dealing with heating equipment across manufacturers, protocols and multiple networks, this method still places the linkage control at the node of the control device. As the types of access devices increase, the complexity of the control device will also become relatively higher, and it is not conducive to the flexible expansion of equipment addition and reduction according to the scenario. Summary of the invention
[0005] In order to solve the problems of low real-time performance, poor flexibility and low reliability of existing heating methods, the present invention proposes a decentralized heating control system and method based on edge computing of the Internet of Things.
[0006] In order to solve the above technical problems, the technical solution adopted by the present invention is: a decentralized heating control system based on edge computing of the Internet of Things, including a cloud platform and multiple infrastructures, the cloud platform and the multiple infrastructures communicate with each other through a wireless transmission module, the infrastructure includes an edge gateway, an edge adapter device and an edge control device arranged in each sub-area of the heating system, the edge gateway and the edge adapter device and the edge control device perform data transmission through a set protocol, and the devices of the heating system are connected together through the edge adapter device and the edge control device;
[0007] The cloud platform is used to receive the overall data of each edge gateway area, and then issue device mapping relationships and linkage rules, device influencing factor parameters, device registration information and optimization parameters;
[0008] The edge adapter device is connected before the terminal sensor of the heating system, and is used to generate a unified model for different types of sensor data and publish it to the edge gateway;
[0009] Before the edge control device is connected to the control terminal of the heating system, it only receives data items that have a great impact on its own control relevance, adjusts the execution action of the control terminal according to the above data items, and sends the executed information to the edge gateway for use by its associated devices;
[0010] The edge gateway obtains all relevant device parameters, device mapping relationships and linkage rules under a single gateway by connecting to the cloud platform, performs configuration and initialization, and receives data from terminal sensors and control terminals sent by edge adapter devices and edge control devices, thereby realizing device mapping management, data analysis and processing, and message forwarding.
[0011] The edge gateway and the edge adapter device and the edge control device perform data transmission via the MQTT protocol, and the edge gateway can verify the legitimacy of the edge adapter device and the edge control device.
[0012] The edge gateway publishes the overall data of the area where the edge gateway is located, the cloud platform receives the overall data of the area of the edge gateway, and optimizes the heating equipment parameters of other sub-areas based on the above overall data of the area.
[0013] The device mapping management includes the management of the associated device subject parameters, the device's own weight thresholds and rules, and the associated device weight parameters and thresholds.
[0014] The data analysis and processing in the edge gateway includes data storage, linkage management, data cleaning and fusion, and remote configuration; data storage supports device data encryption, unique identity authentication, historical data, and configuration information management;
[0015] Linkage management supports early warning configuration and configuration of binding relationships between devices;
[0016] Data cleaning includes missing value processing algorithms and outlier processing algorithms;
[0017] Data fusion uses weighted average method to complete the fusion of data from multiple types of equipment.
[0018] The edge adapter device directly connects to the edge gateway through the MQTT protocol to obtain initialization parameters, its own configuration items, alarm thresholds, value change thresholds, collection data types, collection methods, collection cycles, and data analysis and packaging configurations. After collecting data, it integrates redundant data and periodically rolls and stores aggregated data, and publishes the final data to the edge gateway for use by its associated devices.
[0019] A decentralized heating control method based on edge computing of the Internet of Things adopts a decentralized heating control system based on edge computing of the Internet of Things, comprising the following steps:
[0020] Step S1: Register the device on the cloud platform, bind the mapping relationship and linkage rules between devices, configure the device influencing factor parameters, the device's own weight threshold and rules and send them to the edge control device, and receive the overall data of the edge gateway area to generate cloud-based heating energy consumption diagnosis data for edge gateway, edge adapter and edge control device parameter optimization and distribution;
[0021] Step S2: deploy edge gateways, edge adapter devices and edge control devices in the sub-area, and obtain the device registration information, device mapping relationship, linkage rules and device influencing factor parameters and overall data of the edge gateway area issued by the cloud platform in step S1 through the edge gateway, and rely on the built-in MQTT Broker publishing and subscription service of the edge gateway to allow the edge adapter device and edge control device to legally and securely register and connect to the edge gateway. The edge gateway sends the device's associated device topic parameters and the device's own weight threshold and rules according to the device type. At the same time, the edge adapter device itself also subscribes to the data information of all devices in the edge gateway area, calculates the regional operation data aggregation index through the micro-stream stream data engine module, and integrates the data of all terminal sensors and control terminals in the sub-area into a real-time data snapshot;
[0022] Step S3: An edge adapter device is installed in front of the terminal sensor to adapt to the differences in sensor-end devices and generate a unified model. The edge adapter device connects to the edge gateway through the factory configuration information to verify the legitimacy and then receives the reporting cycle and regional operation data aggregation index issued by the edge gateway. The real-time data collected by the sensor is processed by the limiting and de-jittering filtering method, and the sensor model is published to the edge gateway and then forwarded to the edge control device.
[0023] Step S4: Install the edge control device in front of the control terminal. The edge control device connects to the edge gateway through the factory configuration information to verify the legitimacy, and then receives the associated device topic parameters and associated device weight parameters and thresholds issued by the edge gateway. Subscribe to the data message of the edge adapter device and the real-time data snapshot of the edge gateway through the topic collection, and input the above data as input data into the decision logic framework of the integrated PID control and additional control logic in real time to affect the action adjustment of the edge control device. After the execution is completed, the control terminal's own status is published to the edge gateway for its associated devices to use as input parameters.
[0024] The micro-stream data engine module has a built-in data processing algorithm, which includes the KNN algorithm and the WAM algorithm. The KNN algorithm is used to process missing values and outliers. The calculation formula is as follows:
[0025] ;
[0026] In the above formula: represents estimated missing values or outliers, K is the number of nearest neighbors, i.e. the corresponding value of the last data snapshot. j is the observed value of the jth nearest neighbor;
[0027] The weight of the data item is calculated using the WAM algorithm. The specific calculation formula is as follows:
[0028] ;
[0029] In the above formula: is the weighted average, ∑ is the summation symbol, Indicates i The weight of a value is an empirical constant dynamically sent from the cloud platform based on the sub-area information where the device is actually located. x i Indicates the value of a specific data item. n Indicates the total number of values;
[0030] The obtained weighted average is published as the regional operation aggregation index to the MQTT Broker for the edge control device to subscribe as an input parameter, which is one of the factors affecting the automatic adjustment of the device;
[0031] Upload data snapshots to the cloud platform as one of the reference inputs for multi-region data analysis, and optimize configuration parameters to feed back to the edge control device weight configuration parameter input.
[0032] The formula for processing the real-time data collected by the sensor through the limiting and de-jittering filtering method in step S3 is as follows:
[0033] ;
[0034] In the above formula: y ( t ) is the corresponding real-time output value after amplitude limiting and de-jittering processing. x ( t ) indicates the time t The new sensor sampling value, Indicates at time t The previous sampling value, Δ is the set limit threshold, which is used to limit the change between consecutive sampling values.
[0035] The micro-stream data engine module includes multiple modules including data source access, data cache and queue management, data processing and conversion, calculation engine, state management and data storage output.
[0036] The beneficial effects of the present invention compared with the prior art are as follows:
[0037] Strong scalability: Calculation and processing are close to the device end, even if the input parameters are incomplete, it will not affect the overall work, and the scalability is stronger;
[0038] High real-time performance: The MQTT message publishing and subscription mode is used to directly receive and process messages between devices, which simplifies the data processing process, reduces data transmission delays, and improves the real-time response capability of the system.
[0039] Strong flexibility: The decentralized control method enables each IoT device to make autonomous decisions based on local data, and the system can flexibly adapt to various changing environments and scenarios;
[0040] High reliability: The decentralized structure avoids the risk of single point failure. Even if some edge adapter devices or IoT devices fail, the entire system can still maintain a certain degree of operational capability.
[0041] Reduce communication burden: Since most of the data processing and control logic are completed on the device side, the communication volume with the central server is reduced, reducing the network burden. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] The present invention will be further described below in conjunction with the accompanying drawings:
[0043] Figure 1 It is a flow chart of the method of prior art 1;
[0044] Figure 2 It is a flow chart of the method of prior art 2;
[0045] Figure 3 is a flow chart of the method of the present invention;
[0046] Figure 4 It is a structural schematic diagram of the system of the present invention;
[0047] Figure 5 This is a schematic diagram of the equipment connection structure for the linkage control of the thermal unit deployed at the heat source end of the present invention;
[0048] Figure 6 This is a schematic diagram of the equipment connection structure of the circulating pump frequency conversion control deployed at the pipe network end of the present invention;
[0049] Figure 7It is a schematic diagram of the equipment connection structure of the room temperature linkage control deployed on the secondary network end of the present invention. DETAILED DESCRIPTION
[0050] like Figures 3 to 7 As shown, the present invention provides a decentralized heating control system based on edge computing of the Internet of Things, which is applied to a distributed heating system and mainly includes a cloud platform, an edge gateway, an edge adapter device and an edge control device, such as Figure 4 As shown in the figure, the edge gateway communicates with the cloud platform through a wireless transmission module, and the edge gateway and the edge adapter device and the edge control device transmit data through the MQTT protocol. The edge gateway has a built-in MQTT Broker publish-subscribe mode, which can publish its own aggregated messages and forward messages from the edge adapter device and the edge control device. Relying on the edge adapter device and the edge control device, the thermal unit, heat meter, pressure gauge, valve, water meter, water depth sensor, temperature sensor, PLC inverter and other devices are connected together. The edge gateway, edge adapter device and edge control device form an infrastructure, which is deployed in sub-areas such as the heat source end (for controlling heat production), the pipe network end (for heat transportation) and the secondary network end (for fine control of heat distribution or heat output). The edge adapter device is deployed in front of the terminal sensor, and the edge control device is deployed in front of the control terminal. It is used in any linkage control in the heating system, such as for example Figure 5-7 The linkage control of the thermal units at the heat source end, the frequency conversion control of the circulating pump at the pipe network end, and the linkage control of the room temperature at the secondary network end.
[0051] The cloud platform is used to receive the overall data of each edge gateway area (i.e., edge gateway scenario information), issue device mapping relationships and linkage rules, device influencing factor parameters, device registration information, and optimization parameters; the edge gateway is mainly responsible for device mapping management, regional operation data aggregation index calculation, and message forwarding, and does not directly participate in control. It is also responsible for publishing the overall data of the edge gateway area. The edge gateway obtains all relevant device parameters, device mapping relationships, and linkage rules under a single gateway by connecting to the cloud platform, and performs necessary configuration and initialization to ensure the legitimacy of edge adapter devices and edge control devices; device mapping management includes the management of the subject parameters of the associated devices, the device's own weight thresholds and rules, and the weight parameters and thresholds of the associated devices.
[0052] The associated device topic parameter is a constant. The MQTT protocol used in the present invention is a publish-subscribe mode. The topic parameter used by device A connected to the MQTT Broker when publishing a message is: / device / A / status. Device B can obtain the information just sent by device A by subscribing to / device / A / status. Taking the large and small units of thermal machines as an example, when the large machine is working normally, the small machine does not work. The large machine subscribes to the topic / heat / small machine / runing of the working status of the small machine, and the small machine subscribes to the topic / heat / small machine / runing of the large machine. Then the large machine stops working. After the status message is published, the small machine receives the message. MQTT (Message Queuing Telemetry Transport) is a lightweight, publish / subscribe mode message transmission protocol. Broker means agent. MQTT Broker is a message middleware that is responsible for receiving and forwarding MQTT messages for communication between clients.
[0053] The device impact factor parameter refers to the device data that affects the edge control device. When the edge control device subscribes to the edge gateway data, it will not subscribe to the messages of all devices. For example, the parameters that can affect the working frequency of the inverter are generally only the heat index data, the pressure index data and the status data of the inverters in the same group, while other data such as temperature and meter data will not affect its working frequency. Therefore, the device impact factor parameters of the edge adapter device related to the inverter include the topic parameters, the associated device ID parameters and the device's own weight threshold and rules. The topic parameters are used to determine which types of devices it subscribes to (depending on the mapping relationship between the devices issued by the cloud platform and the devices. It can only define the inverters in the same group to complete the start-stop mutual exclusion and other functions, and can also increase subscriptions such as pressure type devices The theme is used to control the frequency of the inverter to affect the speed of the circulation pump. The theme parameter is a variable, which can be sent through the cloud platform or the graphical interface of the edge gateway to limit the impact of the received data type); the associated device ID parameter is used to determine which specific devices to receive data (the associated device ID parameter is a variable, which can be used to limit the specific number of devices by adding or modifying device data); the device's own weight threshold and rules are due to the fact that there may be multiple external devices of the same type, and there are priorities between multiple external devices of the same type. Therefore, the operating data or alarm information of multiple external devices of the same type will have an impact on the control of its own equipment. The device itself will make corresponding controls based on the logical calculation of the device's own weight threshold and the priority rules of other devices that are sent or initialized.
[0054] The device's own weight threshold and rules include the weight of the same type of equipment, its own weight threshold, and different types of calculation rules. The weight of the same type of equipment refers to the primary and secondary and priority in the same group of equipment types. When adjusting the weight threshold of each device, the primary and secondary relationship of the same group of equipment can be dynamically converted; the own weight threshold refers to the weight priority of the device itself in the same group of equipment, which is used to affect its own division of labor. Different types of calculation rules include that when the edge control device is controlling, it needs to perform logical processing and compensate the control output results according to the defined rules. For example, when the pressure exceeds 0.5MPa, the PLC inverter cannot increase the frequency. When the pressure is less than 0.4Mpa, the heat index is lower than the previous cycle, the inverter frequency is increased, and the heat exchange is accelerated.
[0055] The edge gateway can also realize data storage, linkage management, data cleaning and fusion, data cloud and remote configuration; data storage supports device data encryption, unique identity authentication, historical data and configuration information management; linkage management supports early warning configuration and binding relationship configuration between devices; data cleaning involves missing value processing algorithms and outlier processing algorithms; data fusion uses weighted average method to complete the fusion of multiple types of device data.
[0056] The edge adapter device and edge control device are directly connected to the edge gateway through the MQTT protocol to verify the legitimacy of the device and obtain the initialization parameters and the subject parameters of the associated device, the device's own weight threshold and rules, and the weight parameters and thresholds of the associated device. The edge gateway receives the sensor data of the edge adapter device, processes the abnormal and missing data through a series of algorithms, and then groups and fuses the overall data of the edge gateway area and the device type into meaningful aggregate data through the micro-stream streaming data engine module. The aggregate data is stored in the edge gateway as a historical message and the historical message is published to the built-in MQTT Broker of the edge gateway so that other edge adapter devices and edge control devices can receive the overall information of the scene.
[0057] The edge adapter device directly connects to the edge gateway through the MQTT protocol to obtain initialization parameters, its own configuration items, alarm thresholds, collection data types, collection methods, collection cycles, and data analysis and packaging configurations. After collecting data, it integrates redundant data and periodically rolls and stores aggregated data, and publishes the final data to the MQTT Broker in the edge gateway for use by other associated devices.
[0058] The edge control device is directly connected to the edge gateway through the MQTT protocol, and only subscribes to data items that have a great impact on its own control. It uses the built-in algorithm to adjust the execution action according to the weight of various types of data, and publishes the executed information to the edge gateway for other linked devices to receive and process. The entire process does not require a centralized control node to implement decentralized control logic.
[0059] like Figure 3 As shown, the present invention also proposes a decentralized heating control method based on edge computing of the Internet of Things. Based on the above system, it mainly includes the following steps:
[0060] Step S1: Register the device on the cloud platform, bind the mapping relationship and linkage rules between devices, configure the device influencing factor parameters, the device's own weight threshold and rules and send them to the edge control device. At the same time, receive the overall data of each edge gateway area to generate cloud-based heating energy consumption diagnosis data, which is used to optimize and send the parameters of edge gateways, edge adapter devices and edge control devices.
[0061] The overall data of the edge gateway area includes the working time of the thermal unit, the set temperature, the inlet and outlet water temperature, the overall temperature index of the area, the 72-hour, 48-hour, 24-hour and real-time average temperature of the sub-area, and the real-time hourly electricity consumption of the meter.
[0062] Step S2: Deploy edge gateways, edge adapter devices and edge control devices in each sub-area, and obtain the device registration information, device mapping relationship, linkage rules and device influencing factor parameters issued by the cloud platform in step S1 through the edge gateway, and rely on the built-in MQTT Broker publishing and subscription service of the edge gateway to allow edge adapter devices and edge control devices to legally and securely register and connect to the edge gateway. The edge gateway sends the device's associated device topic parameters and the device's own weight threshold and rules according to the device type. At the same time, the edge adapter device itself also subscribes to the data information of all devices in the edge gateway area, and aggregates and classifies data through the edge gateway area and device mapping, and calculates the regional operation data aggregation index through the micro-stream stream data engine module.
[0063] The micro-stream data engine module includes data source access, data cache and queue management, data processing and conversion, computing engine, state management, data storage output and other modules. Data source access refers to MQTT Broker as a real-time data source and data storage file, which can output file data as an offline data source; data cache and queue management can reduce the time data stays in MQTT Broker to consume data source data, thereby reducing the pressure of real-time data source messages, improving the streaming data processing capability, and meeting the batch data window computing conditions; data processing and conversion include device model classification conversion and data classification routing, device model classification conversion includes various types of device object model identification and packaging, data classification routing is responsible for distributing data to various object model queues; computing engine includes model computing real-time business module and summary computing business module, model computing real-time business module is used to obtain various object model queue data, complete single device data aggregation according to device entity information and output to the local persistent database, summary computing business module includes summary data model and summary data calculation module, where the summary data model is responsible for summarizing the distribution dimensions of each sub-region and the device type dimension, and then through the summary data calculation module, statistics of various single device data are aggregated into regional overall data and classification data. Status management includes the management of the overall data status and operation integral status of the edge gateway region. The overall status of the edge gateway region holds the individual status data of various types of equipment and the aggregated data by time, day and day, and the local area data index (including building, floor, and room equipment data, i.e., the overall valve opening index, room temperature compliance rate index, heat index, electricity consumption index, etc. in the region mentioned below). The operation integral status includes the abnormal information feedback from the execution results of the thermal units, inverters, and valve execution units. The abnormal information is accumulated and sent from the edge gateway to the cloud platform for data analysis and configuration adjustment to achieve parameter optimization. Data storage output includes storage of real-time source data and calculated intermediate result data as well as persistent storage of the overall data history of the region.
[0064] Aggregating classified data through edge gateway area and device mapping means aggregating the data received by the edge gateway by regional statistics through the binding relationship between each sub-area and the device. The classified data of the room temperature compliance rate index includes the overall room temperature compliance rate, the first floor room temperature compliance rate, the second floor room temperature compliance rate, etc.; the heat index classified data includes the total heat index, the first floor heat index, the second floor heat index, etc.; the regional overall valve opening index classified data includes the same group valve index, the first floor valve index, the second floor valve index, the third floor valve index, etc. The electricity consumption index classified data includes electricity consumption data counted by minute, hour, and day.
[0065] The micro-stream data engine module has a built-in data processing algorithm, which uses the KNN algorithm to process missing values and outliers. The specific calculation formula is as follows:
[0066] (1);
[0067] In the above formula: represents estimated missing values or outliers, K is the number of nearest neighbors (the corresponding value of the last data snapshot), near j It is j The nearest neighbor observations.
[0068] The weight of the data item is calculated using the WAM algorithm. The specific calculation formula is as follows:
[0069] (2);
[0070] In the above formula: is the weighted average, ∑ is the summation symbol, Indicates i The weight of a value is an empirical constant dynamically sent from the cloud platform based on the sub-area information where the device is actually located. x i Indicates the value of a specific data item. n Indicates the total number of values. The denominator of this formula is the sum of all weights. For example, when calculating the heat distribution of sub-regions, the heat of sub-region 1 is less than that of sub-region 2. The reason is affected by uncontrollable factors. When calculating the heat index, adding weight parameters keeps the heat index of sub-region 1 equal to that of sub-region 2 without affecting subsequent adjustments.
[0071] The real-time data of water, electricity, pressure, thermal engine status, valve angle, heat, circulation pump, and inverter are integrated into a real-time data snapshot of the thermal power station as a whole. This data snapshot is provided as output data to the built-in NOSQL database of the edge gateway for rolling storage and used as input for the next data snapshot aggregation and filtering calculation, that is, K ; The weighted average obtained by formula (2) is published as the regional operation data aggregation index to the MQTT Broker for the downstream edge control device to subscribe as an input parameter, as one of the factors affecting the automatic adjustment of the device; upload the data snapshot to the cloud platform as one of the reference inputs for multi-regional data analysis, and the optimized configuration parameters are fed back to the edge control device weight configuration parameter input again.
[0072] Formula (2) is used to calculate the regional operation data aggregation index encapsulated within 24 hours, 12 hours, and 6 hours of the sub-region and store and record it. The edge gateway publishes the regional operation data aggregation index.
[0073] Step S3: An edge adapter is installed in front of the terminal sensor to adapt to the differences in sensor-side devices and generate a unified model. The edge adapter connects to the edge gateway through the factory configuration information to verify the legitimacy and then receives the reporting cycle, regional operation data aggregation index, etc. issued by the edge gateway. The real-time data collected by the sensor is processed by the limiting and de-jittering filtering method. The calculation formula is as follows:
[0074] (3);
[0075] In the above formula: y ( t ) is the corresponding real-time output value after amplitude limiting and de-jittering processing. x ( t ) indicates the time t The new sensor sampling value, Indicates at time t The previous sampling value, Δ is the set limit threshold, which is used to limit the change between consecutive sampling values.
[0076] The sensor model publishes messages to the edge gateway, which then forwards them to the edge control device.
[0077] Step S4: Install the edge control device in front of the control terminal. The edge control device connects to the edge gateway through the factory configuration information to verify the legitimacy, and then receives the associated device topic parameters and associated device weight parameters and thresholds issued by the edge gateway. Subscribe to the data message of the edge adapter device and the real-time data snapshot of the edge gateway through the topic collection, cooperate with the regional operation data aggregation index received by the cloud platform, and use the above data as input data. Input it into the decision logic framework that integrates PID control and additional control logic to affect the action adjustment of the edge control device in real time. After execution, publish its own status to the edge gateway for other associated devices to use as input parameters.
[0078] The present invention will be further described below based on specific embodiments.
[0079] Example 1
[0080] Figure 5A schematic diagram of the equipment connection structure deployed at the heat source end for the linkage control of the thermal unit is given. The terminal sensors of the thermal unit include indoor temperature sensors, heat meters, outdoor temperature sensors and electricity meters. The control terminal of the thermal unit includes the controller of the large unit and the controller of the small unit. The edge adapter devices are connected to the front ends of the indoor temperature sensor, heat meter, outdoor temperature sensor and electricity meter respectively, and the edge control devices are connected to the front ends of the controller of the large unit and the controller of the small unit respectively. The edge gateway is deployed in the sub-area of the thermal unit, and four edge adapter devices and two edge control devices are connected to the edge gateway respectively. The four edge adapter devices publish room temperature, heat, temperature and electricity data to the edge gateway respectively, and the two edge control devices are connected to the edge gateway respectively. The control equipment publishes the operating temperature, compressor status and start-stop status of the large and small machines to the edge gateway respectively. The edge gateway receives the above-mentioned room temperature, heat, temperature, power data, the operating temperature, compressor status and start-stop status data of the large and small machines, and publishes the floor temperature index, heat index, outdoor temperature index and electricity consumption summary data after processing and calculation. The edge control device of the large machine subscribes to the floor room temperature index, outdoor temperature index and electricity consumption summary data, and the edge control device of the small machine subscribes to the floor room temperature index, outdoor temperature index, heat index and electricity consumption summary data. The two edge control devices control the start and stop synchronization of the large and small machines according to the comparison of heat output and heat dissipation, and adjust the start and stop mutual exclusion of the large and small machines according to energy consumption and temperature triggers.
[0081] Example 2
[0082] Figure 6A schematic diagram of the equipment connection structure deployed at the pipe network end for the variable frequency control of the circulating pump is given. The terminal sensors of the circulating heat pump include a pressure gauge, a heat meter, a water meter and an electricity meter. The control terminal of the circulating heat pump includes two frequency converters, one is the main frequency converter and the other is the backup frequency converter. Edge adapter devices are connected to the front ends of the pressure gauge, heat meter, water meter and electricity meter respectively. Two edge control devices are connected to the front ends of the two frequency converters respectively. An edge gateway is deployed in the sub-area of the circulating heat pump. Four edge adapter devices and two edge control devices are connected to the edge gateway respectively. The four edge adapter devices publish pressure, heat, water replenishment and electricity data to the edge gateway respectively. The edge control device of the main frequency converter The compressor status and start / stop status are published to the edge gateway. The edge control device of the standby inverter publishes the operating temperature, compressor status, and start / stop status to the edge gateway. The edge gateway receives the above-mentioned pressure, heat, water replenishment, electricity, the compressor status, start / stop status of the main inverter, the operating temperature, compressor status, and start / stop status data of the standby inverter, and publishes the heat index, pressure index, and electricity consumption summary data after processing and calculation. The edge control device of the main inverter subscribes to the floor heat index and pressure data, and the edge control device of the standby inverter subscribes to the floor heat index and pressure data. The two edge control devices control their start / stop synchronization or start / stop mutual exclusion through frequency modulation of parameters such as water replenishment, pressure, electricity consumption, and heat.
[0083] pass Figure 6 Two processing methods are given. One is to control the working status of each inverter in the same group and the total frequency of the same group based on the configured start-stop mutual exclusion and start-stop synchronization mode for the purpose of intercommunication between the status of the main and standby inverters. The other is to control the operating frequency of the inverter by subscribing to the water replenishment volume, heat, electricity, and pressure. When the instantaneous change of the water replenishment volume is large (water leakage alarm) and the pressure changes suddenly, the inverter frequency is gradually reduced. When the floor heat index is too low, the inverter frequency is triggered to increase the heat transfer rate.
[0084] Example 3
[0085] Figure 7 The schematic diagram of the equipment connection structure deployed on the secondary network for room temperature linkage control is given. The terminal sensors include pressure gauges, heat meters, room temperature sensors and valve actuators in the same group. The control terminal is the valve actuator. The pressure gauges, heat meters, room temperature sensors and the front ends of the same group of actuators are connected to edge adapter devices, and the front ends of the valve actuators are connected to edge control devices. Figure 7 Linkage control and Figure 5 and Figure 6 It is related. Figure 5 The heat source unit is responsible for heat generation. Figure 6 Responsible for hot transportation, Figure 7 Responsible for heat output; pressure gauge, heat meter, room temperature sensor are corresponding Figure 5 , Figure 6 The same device in the figure has different functions depending on where it is installed. Figure 7 The specific situation shown is explained.
[0086] Figure 7 It can be regarded as the fine control of room temperature by edge control equipment, including edge execution unit and electric valve unit. The edge execution unit subscribes to the data parameters of room temperature index, heat index, regional overall valve opening index, valve opening index of the same group, and pressure index published by the edge gateway; the room temperature index / heat index generates the maximum opening value, the pressure index affects whether the valve is adjusted and the balance relationship between the valve adjustment pressure and the electric valve, the valve opening index of the same group affects the opening value compensation, and the regional overall valve opening index affects whether the valve is adjusted; the room temperature index includes the room temperature compliance rate of the self-controlled room, the temperature compliance rate index of the same floor / group, and the room temperature compliance rate index of the self-controlled room (cycle temperature / expected temperature upper and lower limit range value X floor weight value) By comparing the corresponding relationship between the built-in (default initialization / remote delivery) temperature index of the edge control device and the valve opening, the maximum opening value is obtained (for example, the room temperature compliance rate is 10% and the valve opening value is 90°). The temperature compliance rate index of the same floor / group includes the room temperature compliance rate index of the same floor / group where the edge control device is located. The temperature difference between the room temperature compliance rate index of the same floor / group and the compliance rate index of the self-controlled room is calculated. Combined with the built-in decision function of the same floor / group temperature difference of the edge control device, the reason for insufficient heating of the self or insufficient heating of the floor is determined. The valve opening of the floor remains unchanged due to insufficient heating of the overall floor. The adjustment result is released with the insufficient heating status to the edge gateway as the insufficient heating integral value of the valve index of the floor / group. The heat index is the same as the room temperature index mode. When the self-heating is insufficient, the opening value compensation is obtained by calculating the increaseable opening angle value of the same group (the overall valve opening index of the region - the valve opening index of the same group) combined with the maximum opening value limit and the current calculation of the self.
[0087] The pressure index affects the valve execution before the valve angle is adjusted. The edge control device has a built-in adjustable state pressure range value {pressure index>0.5MPa, non-adjustable state, pressure index<0.4MPa, adjustable state} parameter to determine whether to adjust the valve currently or in the next cycle.
[0088] The edge control device uses a decision logic framework that integrates PID control and additional control logic to control the valve actuator to adjust the angle. The specific calculation formula is as follows:
[0089] (4);
[0090] (5);
[0091] In the above formula: To ultimately control the output of the valve opening, it is a time-varying variable determined after considering a number of factors; The valve opening output by the PID controller is determined by the temperature error signal e ( t ) is calculated; is the current system pressure value, which changes with time; is the average temperature of the sub-region; is the average temperature of the region; The current calorific value is the real-time feedback from the heat meter; is the actual indoor temperature, which changes with time; are the upper and lower thresholds of indoor heat; e ( t ) is the temperature error signal, e ( t )= SP - , SP is the set point temperature; K p , K i , K d are the proportional, integral, and differential gain coefficients of the PID controller;
[0092] The constraints are:
[0093] Ensure the total opening of valves in the same group is constant: (6);
[0094] The fuzzy logic controller outputs the multivariable PID balancing result: (7) The angle range of a single valve can be limited;
[0095] Shutdown when pressure exceeds threshold Adjustable state: (8);
[0096] In the above formula: U total It is the maximum allowable value of the total opening of the same group of valves, used to ensure the total opening is constant; , The minimum and maximum values allowed for system pressure.
[0097] The present invention relies on the built-in algorithms of edge adapter devices and edge control devices to solve the problem of terminal device differentiation and adapt to the diversity of networking construction; the edge gateway expands the influencing factor parameter input of external related devices on the basis of having its own execution early warning and other functions, and cooperates with the built-in algorithm to solve the traditional problem of knowing only oneself and not others and the delay of the central machine, thereby improving the flexibility of the system. There is no impact when not connected, and automatic control when connected, which is not limited by distance and scenarios.
[0098] 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 replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A decentralized heating control system based on IoT edge computing, Features: It includes a cloud platform and multiple infrastructures, and the cloud platform and the multiple infrastructures communicate with each other through a wireless transmission module. The infrastructure includes an edge gateway, an edge adapter device, and an edge control device arranged in each sub-area of the heating system. The edge gateway and the edge adapter device and the edge control device transmit data through a set protocol, and the devices of the heating system are connected together through the edge adapter device and the edge control device; The cloud platform is used to receive the overall data of each edge gateway area, and then issue device mapping relationships and linkage rules, device influencing factor parameters, device registration information and optimization parameters; The edge adapter device is connected before the terminal sensor of the heating system, and is used to generate a unified model for different types of sensor data and publish it to the edge gateway; Before the edge control device is connected to the control terminal of the heating system, it only receives data items that have a great impact on its own control relevance, adjusts the execution action of the control terminal according to the above data items, and sends the executed information to the edge gateway for use by its associated devices; The edge gateway obtains all relevant device parameters, device mapping relationships and linkage rules under a single gateway by connecting to the cloud platform, performs configuration and initialization, and receives data from terminal sensors and control terminals sent by edge adapter devices and edge control devices, thereby realizing device mapping management, data analysis and processing, and message forwarding.
2. According to the decentralized heating control system based on edge computing of the Internet of Things as described in claim 1, Features: The edge gateway and the edge adapter device and the edge control device perform data transmission via the MQTT protocol, and the edge gateway can verify the legitimacy of the edge adapter device and the edge control device.
3. According to the decentralized heating control system based on edge computing of the Internet of Things as described in claim 2, Features: The edge gateway publishes the overall data of the area where the edge gateway is located, the cloud platform receives the overall data of the area of the edge gateway, and optimizes the heating equipment parameters of other sub-areas based on the above overall data of the area.
4. According to the decentralized heating control system based on edge computing of the Internet of Things as described in claim 1, Features: The device mapping management includes the management of the associated device subject parameters, the device's own weight thresholds and rules, and the associated device weight parameters and thresholds.
5. According to the decentralized heating control system based on edge computing of the Internet of Things as described in claim 1, Features: The data analysis and processing in the edge gateway includes data storage, linkage management, data cleaning and fusion, and remote configuration; data storage supports device data encryption, unique identity authentication, historical data, and configuration information management; Linkage management supports early warning configuration and configuration of binding relationships between devices; Data cleaning includes missing value processing algorithms and outlier processing algorithms; Data fusion uses weighted average method to complete the fusion of data from multiple types of equipment.
6. According to the decentralized heating control system based on edge computing of the Internet of Things as described in claim 2, Features: The edge adapter device directly connects to the edge gateway through the MQTT protocol to obtain initialization parameters, its own configuration items, alarm thresholds, collection data types, collection methods, collection cycles, and data analysis and packaging configurations. After collecting data, it integrates redundant data and periodically rolls and stores aggregated data, and publishes the final data to the edge gateway for use by its associated devices.
7. A decentralized heating control method based on edge computing of the Internet of Things, using the decentralized heating control system based on edge computing of the Internet of Things as described in any one of claims 1 to 6, Features: The following steps are involved: Step S1: Register the device on the cloud platform, bind the mapping relationship and linkage rules between devices, configure the device influencing factor parameters, the device's own weight threshold and rules and send them to the edge control device, and receive the overall data of the edge gateway area to generate cloud-based heating energy consumption diagnosis data for edge gateway, edge adapter and edge control device parameter optimization and distribution; Step S2: deploy edge gateways, edge adapter devices and edge control devices in the sub-area, and obtain the device registration information, device mapping relationship, linkage rules and device influencing factor parameters and overall data of the edge gateway area issued by the cloud platform in step S1 through the edge gateway, and rely on the built-in MQTT Broker publishing and subscription service of the edge gateway to allow the edge adapter device and edge control device to legally and securely register and connect to the edge gateway. The edge gateway sends the device's associated device topic parameters and the device's own weight threshold and rules according to the device type. At the same time, the edge adapter device itself also subscribes to the data information of all devices in the edge gateway area, calculates the regional operation data aggregation index through the micro-stream stream data engine module, and integrates the data of all terminal sensors and control terminals in the sub-area into a real-time data snapshot; Step S3: An edge adapter device is installed in front of the terminal sensor to adapt to the differences in sensor-end devices and generate a unified model. The edge adapter device connects to the edge gateway through the factory configuration information to verify the legitimacy and then receives the reporting cycle and regional operation data aggregation index issued by the edge gateway. The real-time data collected by the sensor is processed by the limiting and de-jittering filtering method, and the sensor model is published to the edge gateway and then forwarded to the edge control device. Step S4: Install the edge control device in front of the control terminal. The edge control device connects to the edge gateway through the factory configuration information to verify the legitimacy, and then receives the associated device topic parameters and associated device weight parameters and thresholds issued by the edge gateway. Subscribe to the data message of the edge adapter device and the real-time data snapshot of the edge gateway through the topic collection, and input the above data as input data into the decision logic framework of the integrated PID control and additional control logic in real time to affect the action adjustment of the edge control device. After the execution is completed, the control terminal's own status is published to the edge gateway for its associated devices to use as input parameters.
8. According to the decentralized heating control method based on edge computing of Internet of Things according to claim 7, Features: The micro-stream data engine module has a built-in data processing algorithm, which includes the KNN algorithm and the WAM algorithm. The KNN algorithm is used to process missing values and outliers. The calculation formula is as follows: ; In the above formula: represents estimated missing values or outliers, K is the number of nearest neighbors, i.e. the corresponding value of the last data snapshot. j is the observed value of the jth nearest neighbor; The weight of the data item is calculated using the WAM algorithm. The specific calculation formula is as follows: ; In the above formula: is the weighted average, ∑ is the summation symbol, Indicates i The weight of a value is an empirical constant dynamically sent from the cloud platform based on the sub-area information where the device is actually located. x i Indicates the value of a specific data item. n Indicates the total number of values; The obtained weighted average is published as the regional operation aggregation index to the MQTT Broker for the edge control device to subscribe as an input parameter, which is one of the factors affecting the automatic adjustment of the device; Upload data snapshots to the cloud platform as one of the reference inputs for multi-region data analysis, and optimize configuration parameters to feed back to the edge control device weight configuration parameter input.
9. According to the decentralized heating control method based on edge computing of Internet of Things according to claim 7, Features: The formula for processing the real-time data collected by the sensor through the limiting and de-jittering filtering method in step S3 is as follows: ; In the above formula: y ( t ) is the corresponding real-time output value after amplitude limiting and de-jittering processing. x ( t ) indicates the time t The new sensor sampling value, Indicates at time t The previous sampling value, Δ is the set limit threshold, which is used to limit the change between consecutive sampling values.
10. According to the decentralized heating control method based on edge computing of Internet of Things according to claim 7, Features: The micro-stream data engine module includes multiple modules including data source access, data cache and queue management, data processing and conversion, calculation engine, state management and data storage output.
