AI self-learning and self-updating method and system based on building automatic control system, electronic equipment and storage medium
By introducing the AI self-learning and self-updating method into the building automation system, automatic data collection and model training are realized, which solves the problem of traditional algorithms being unable to follow environmental changes and user needs, improves the system's flexibility and scope of application, and reduces costs.
Patent Information
- Application Number
- CN202410837341.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Existing building automation systems rely on traditional algorithms and cannot follow changes in the environment and user needs. The programming is complex and the effects are narrow, and they cannot support multi-region applications.
Using the AI-based self-learning and self-updating method, device data is collected through XTBOX intelligent computing nodes and distributed to the algorithm/policy server for model training and control instruction issuance, realizing automatic data collection, model training and updating, and supporting multi-regional AI model sharing. .
It realizes automatic data collection and model training without human intervention, adapts to user needs, improves the flexibility and scope of application of the system, and reduces construction and use costs.
Smart Images

Figure CN118778573A_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the field of automatic control, and specifically relates to an AI self-learning and self-updating method, system, electronic device and storage medium based on a building automatic control system. Background Art
[0002] The publication number is CN204536884U, the subject name is a utility model patent for a multi-channel serial interface intelligent building control system, and its IPC classification number is G05B19 / 418. Its technical solution discloses "including a serial interface device 5, the serial interface device 5 is connected to the switch 2, the switch 2 is connected to the intelligent management host 1 and the video processing center 3, and the video control center 3 is connected to the display 4; and the serial interface device 5 is composed of a controller 9, a switch 10, a voltage regulator 11, a one-key recovery unit 12, an indicator light 13, a serial interface unit 14 and a network interface unit 15, and the controller 9 is respectively connected to the switch 10, the voltage regulator 11, the one-key recovery unit 12, the indicator light 13, the serial interface unit 14 and the network interface unit 15. The controller 9 is a programmable PLC."
[0003] It can be seen that the above utility model patent has disclosed a building control system including a controller. However, the technical solution disclosed in the above utility model patent does not further solve the problem solved by the present invention and needs to be further improved.
[0004] Specifically, in building automation systems, current automatic controls rely on more traditional algorithms (such as PID). The algorithms are relatively fixed (after they are written) and cannot keep up with changes in the environment (including increases in data types, changes in user habits, etc.). If usage requirements change, they need to be reprogrammed. The algorithms vary depending on the quality of the debugging personnel (their knowledge of the application and their understanding of the equipment), and their replicability is poor. At the same time, the effects they achieve have a narrow range of uses (the amount of data collected is small, and it is basically impossible to obtain information on the Internet, such as weather), and they can only support one building or one park, and are not suitable for the same climate zone / meteorological zone / weather zone. Summary of the invention
[0005] In view of the status of the prior art, the present invention overcomes the above defects and provides an AI self-learning and self-updating method, system, electronic device and storage medium based on a building automatic control system.
[0006] The AI self-learning and self-updating method, system, electronic device and storage medium based on a building automatic control system disclosed in the present invention have one purpose: to provide a method for automatic data collection, automatic training (later forming a model) and automatic updating of the model to an algorithm / strategy server of the building automatic control system.
[0007] The present invention adopts the following technical scheme, based on the AI self-learning and self-updating system of the building automatic control system, including:
[0008] XTBOX intelligent computing node receives data reported by intelligent controllers and intelligent collectors, and distributes it to algorithm / policy servers, model training servers and other upper software; it also receives control instructions issued by algorithm / policy servers and other upper software, and sends them to the target intelligent controller;
[0009] The algorithm / policy server receives the device status data reported by the XTBOX intelligent computing node, obtains the calculation results through the AI model, and controls the terminal device;
[0010] The model training server receives the device status data reported by the XTBOX intelligent computing node and organizes it into a valid data set for timed or quantitative training to form an AI model. After the AI model training is completed, it is downloaded through the algorithm / policy server and the trained AI model is reported to the AI cloud platform.
[0011] Intelligent controllers, including PLC and serial device controllers, automatically collect the status of terminal devices according to the logic of the physical model. If the status of the terminal device changes, it will actively report to the XTBOX intelligent computing node; control the terminal device according to the logic of the physical model; and receive the terminal device control instructions issued by the XTBOX intelligent computing node and execute the control instructions;
[0012] The intelligent collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the XTBOX intelligent computing node or AI cloud platform;
[0013] The communication gateway receives and reports the terminal device status data actively reported by the intelligent collector to the XTBOX intelligent computing node;
[0014] The AI cloud platform collects data and trains models, obtains trained models reported by the model training server, and supports the model training server to download models from the AI cloud platform.
[0015] The present invention adopts the following technical scheme, the intelligent collector includes an Ethernet type intelligent collector, an NB-IOT type intelligent collector and a LoRA type intelligent collector, wherein:
[0016] The Ethernet-based intelligent collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the XTBOX intelligent computing node;
[0017] The NB-IOT smart collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the AI cloud platform, which will then send it to the XTBOX smart computing node that needs the data.
[0018] The LoRA type intelligent collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the communication gateway.
[0019] The present invention adopts the following technical scheme, an AI self-learning and self-updating method based on a building automatic control system, which is applied to an AI self-learning and self-updating system based on a building automatic control system. The AI self-learning and self-updating method based on a building automatic control system includes a data collection step, which is specifically implemented as the following steps:
[0020] Step Q1: According to the logic of the object model, the status of the terminal device is automatically collected. If the status of the terminal device changes, the terminal device status data is actively reported to the XTBOX intelligent computing node or AI cloud platform;
[0021] Step Q2: After receiving the status data of the terminal device, the XTBOX intelligent computing node organizes it into valid data and reports it to the local algorithm / policy server, which processes the data;
[0022] Step Q3: Determine whether there is a local model training server. If the determination is successful, the XTBOX intelligent computing node reports the valid data to the model training server;
[0023] Step Q4: Determine whether the XTBOX intelligent computing node has been connected to the AI cloud platform. If successful, the XTBOX intelligent computing node will report valid data to the AI cloud platform.
[0024] The present invention adopts the following technical scheme, an AI self-learning and self-updating method based on a building automatic control system, which is applied to an AI self-learning and self-updating system based on a building automatic control system. The AI self-learning and self-updating method based on a building automatic control system includes an AI model sharing step, and the AI model sharing step is specifically implemented as the following steps:
[0025] Step W1: Determine whether there is a local model training server. If the determination is successful, the algorithm / policy server will actively download the latest AI model from the model training server after receiving the AI model update notification from the local model training server. After the download is complete, it will automatically switch to the latest AI model for work;
[0026] Step W2: Determine whether the XTBOX intelligent computing node has been connected to the AI cloud platform and there is no local model training server. If the judgment is successful, after the algorithm / policy server receives the AI model update notification from the AI cloud platform, the XTBOX intelligent computing node downloads the latest AI model to the AI cloud platform. After the download is complete, the XTBOX intelligent computing node notifies the algorithm / policy server to update the AI model. After receiving the notification, the algorithm / policy server actively downloads the latest AI model from the XTBOX intelligent computing node. After the download is complete, it automatically switches to the latest AI model to work;
[0027] Step W3: Determine whether there is a local model training server and the XTBOX intelligent computing node is connected to the AI cloud platform. If the judgment is successful, the model training server will actively report the completed AI model to the AI cloud platform through the XTBOX intelligent computing node after completing the model training.
[0028] The present invention adopts the following technical scheme, an AI self-learning and self-updating method based on a building automatic control system, which is applied to an AI self-learning and self-updating system based on a building automatic control system. The AI self-learning and self-updating method based on a building automatic control system includes a multi-region AI model sharing step, and the multi-region AI model sharing step is specifically implemented as the following steps:
[0029] Step P1: Each regional model training server uploads the locally trained AI model or data set to the AI cloud server;
[0030] Step P2: The AI cloud server merges the existing AI model resources according to the weather area, or after training the data set according to the preset rules, merges the existing AI model resources according to the weather area and records them as the new version;
[0031] Step P3: The AI cloud server proactively notifies the model training server in the weather area that a new version of the AI model is available; or the model training server in the weather area proactively queries the AI cloud server for a new version of the AI model; the model training server downloads the new version of the AI model;
[0032] Step P4: After the model training server downloads the new version of the AI model from the AI cloud server, it updates it to the algorithm / policy server. After the algorithm / policy server updates the AI model to the model training server, the algorithm / policy server executes the new AI model.
[0033] The present invention adopts the following technical solution, the electronic device comprises:
[0034] A processor, and a memory storing executable instructions of the processor; wherein:
[0035] The processor is configured to execute the steps of any one of the above technical solutions of the AI self-learning and self-updating method based on the building automatic control system by executing executable instructions.
[0036] The present invention adopts the following technical solution: a computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of any one of the above technical solutions of the AI self-learning and self-updating method based on a building automatic control system are implemented.
[0037] The AI self-learning and self-updating method, system, electronic device and storage medium based on the building automatic control system disclosed in the present invention have the beneficial effect that the method is applied to automatic data collection and structuring, automatic training and automatic updating, sharing of data sets, and sharing of AI models after training in building automatic control (environmental management, including comfort, energy saving and carbon reduction, etc.). The system can autonomously perform unsupervised learning without human intervention, and adapt to the general needs of users for the building environment (such as in summer, in the relatively closed public space of the building, the ambient temperature is maintained at 23°C, and automatically adjusted with the number of people and the external weather conditions) and personalized needs (such as 22°C in some rooms and 24°C in some rooms, which are automatically adjusted according to the needs of users, achieving both energy saving and more comfortable effects. At the same time, the results of system learning can be applied to other buildings in the same weather zone, which can reduce the construction cost (data collection and training time, software and hardware investment) and use cost of the system to a certain extent (can be quickly applied, reducing the investment of system users). BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the technical solutions in the embodiments of the present application or the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the prior art descriptions. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work. In addition, the other devices involved in the following specifically refer to intelligent controllers (PLC and serial device controllers), intelligent collectors (Ethernet type, LoRA type, NB-IOT type), and supporting equipment other than XTBOX intelligent computing nodes, algorithm / policy servers, model training servers, and AI cloud platforms.
[0039] Figure 1 This is a general framework diagram of a building automatic control system provided by the technical solution of this application.
[0040] Figure 2 It is a diagram of a building automation system data collection process (forming a data set) provided by the technical solution of this application.
[0041] Figure 3This is a building automation system AI model sharing flowchart provided by the technical solution of this application.
[0042] Figure 4 This is a multi-zone AI model sharing flowchart for a building automation system provided by the technical solution of this application. DETAILED DESCRIPTION
[0043] The present invention discloses an AI self-learning and self-updating method, system, electronic device and storage medium based on a building automation system. Figure 1-4 , the specific implementation modes of the present invention are further described.
[0044] Those skilled in the art should note that the "XTBOX intelligent computing node" that may be involved in various embodiments of the present invention is defined as: a dedicated device used for core device management.
[0045] Example 1.
[0046] Preferably, the AI self-learning and self-updating system based on the building automatic control system includes:
[0047] XTBOX intelligent computing node receives data reported by intelligent controllers and intelligent collectors, and distributes it to algorithm / policy servers, model training servers and other upper software; it also receives control instructions issued by algorithm / policy servers and other upper software, and sends them to the target intelligent controller;
[0048] The algorithm / policy server receives the device status data reported by the XTBOX intelligent computing node, obtains the calculation results through the AI model, and controls the terminal device;
[0049] The model training server receives the device status data reported by the XTBOX intelligent computing node and organizes it into a valid data set for timed or quantitative training to form an AI model. After the AI model training is completed, it is downloaded through the algorithm / policy server and the trained AI model is reported to the AI cloud platform.
[0050] Intelligent controllers, including PLC and serial device controllers, automatically collect the status of terminal devices according to the logic of the physical model. If the status of the terminal device changes, it will actively report to the XTBOX intelligent computing node; control the terminal device according to the logic of the physical model; and receive the terminal device control instructions issued by the XTBOX intelligent computing node and execute the control instructions;
[0051] The intelligent collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the XTBOX intelligent computing node or AI cloud platform;
[0052] The communication gateway receives and reports the terminal device status data actively reported by the intelligent collector to the XTBOX intelligent computing node;
[0053] The AI cloud platform collects data and trains models, obtains trained models reported by the model training server, and supports the model training server to download models from the AI cloud platform.
[0054] Among them, the intelligent collector includes Ethernet type intelligent collector, NB-IOT type intelligent collector and LoRA type intelligent collector, among which:
[0055] The Ethernet-based intelligent collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the XTBOX intelligent computing node;
[0056] The NB-IOT smart collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the AI cloud platform, which will then send it to the XTBOX smart computing node that needs the data.
[0057] The LoRA type intelligent collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the communication gateway.
[0058] Preferably, the present embodiment discloses an AI self-learning and self-updating method based on a building automatic control system, which is applied to an AI self-learning and self-updating system based on a building automatic control system. The AI self-learning and self-updating method based on a building automatic control system includes a data collection step, which is specifically implemented as the following steps:
[0059] Step Q1: According to the logic of the object model, the status of the terminal device is automatically collected. If the status of the terminal device changes, the terminal device status data is actively reported to the XTBOX intelligent computing node or AI cloud platform;
[0060] Step Q2: After receiving the status data of the terminal device, the XTBOX intelligent computing node organizes it into valid data and reports it to the local algorithm / policy server, which processes the data;
[0061] Step Q3: Determine whether there is a local model training server. If the determination is successful, the XTBOX intelligent computing node reports the valid data to the model training server;
[0062] Step Q4: Determine whether the XTBOX intelligent computing node has been connected to the AI cloud platform. If successful, the XTBOX intelligent computing node will report valid data to the AI cloud platform.
[0063] Preferably, the present embodiment discloses an AI self-learning and self-updating method based on a building automatic control system, which is applied to an AI self-learning and self-updating system based on a building automatic control system. The AI self-learning and self-updating method based on a building automatic control system includes an AI model sharing step, and the AI model sharing step is specifically implemented as the following steps:
[0064] Step W1: Determine whether there is a local model training server. If the determination is successful, the algorithm / policy server will actively download the latest AI model from the model training server after receiving the AI model update notification from the local model training server. After the download is complete, it will automatically switch to the latest AI model for work;
[0065] Step W2: Determine whether the XTBOX intelligent computing node has been connected to the AI cloud platform and there is no local model training server. If the judgment is successful, after the algorithm / policy server receives the AI model update notification from the AI cloud platform, the XTBOX intelligent computing node downloads the latest AI model to the AI cloud platform. After the download is complete, the XTBOX intelligent computing node notifies the algorithm / policy server to update the AI model. After receiving the notification, the algorithm / policy server actively downloads the latest AI model from the XTBOX intelligent computing node. After the download is complete, it automatically switches to the latest AI model to work;
[0066] Step W3: Determine whether there is a local model training server and the XTBOX intelligent computing node is connected to the AI cloud platform. If the judgment is successful, the model training server will actively report the completed AI model to the AI cloud platform through the XTBOX intelligent computing node after completing the model training.
[0067] Preferably, the present embodiment discloses an AI self-learning and self-updating method based on a building automatic control system, which is applied to an AI self-learning and self-updating system based on a building automatic control system. The AI self-learning and self-updating method based on a building automatic control system includes a multi-region AI model sharing step, and the multi-region AI model sharing step is specifically implemented as the following steps:
[0068] Step P1: Each regional model training server uploads the locally trained AI model or data set to the AI cloud server;
[0069] Step P2: The AI cloud server merges the existing AI model resources according to the weather area, or after training the data set according to the preset rules, merges the existing AI model resources according to the weather area and records them as the new version;
[0070] Step P3: The AI cloud server proactively notifies the model training server in the weather area that a new version of the AI model is available; or the model training server in the weather area proactively queries the AI cloud server for a new version of the AI model; the model training server downloads the new version of the AI model;
[0071] Step P4: After the model training server downloads the new version of the AI model from the AI cloud server, it updates it to the algorithm / policy server. After the algorithm / policy server updates the AI model to the model training server, the algorithm / policy server executes the new AI model.
[0072] Preferably, this embodiment discloses an electronic device, comprising:
[0073] A processor, and a memory storing executable instructions of the processor; wherein:
[0074] The processor is configured to execute the steps of any one of the above technical solutions of the AI self-learning and self-updating method based on the building automatic control system by executing executable instructions.
[0075] Preferably, the present embodiment discloses a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of any one of the above technical solutions of the AI self-learning and self-updating method based on a building automatic control system.
[0076] The following describes the working principles of the AI self-learning and self-updating method, system, electronic device and storage medium based on the building automation system disclosed in this embodiment.
[0077] 1) If Figure 1 As shown in the figure, the AI self-learning and self-updating system based on the building automatic control system includes the following parts:
[0078] (1) XTBOX intelligent computing node: As the data aggregation core, it receives data reported by intelligent controllers (PLC and serial device controllers) and intelligent collectors (Ethernet, LoRA, NB-IOT), and distributes it to the algorithm / policy server, model training server and other required upper software; at the same time, it receives control instructions issued by the algorithm / policy server and other upper software, and sends them to the target intelligent controller (PLC and serial device controller).
[0079] (2) Algorithm / policy server: Receives device status data reported by the XTBOX intelligent computing node, obtains calculation results through the AI model, and controls the terminal equipment (such as adjusting the air-conditioning equipment to meet usage requirements while saving energy); supports downloading AI models to the model training server and updating its own AI model. As an example, the main capabilities of the algorithm / policy server depend on the AI model. When the algorithm / policy server is running, it will load the AI model. If the "model training server" has a new AI model, the algorithm / policy server can download the new AI model, replace its own AI model with the new AI model, and run the new AI model.
[0080] (3) Model training server: Receives device status data reported by XTBOX intelligent computing nodes and organizes it into a valid data set. It then conducts periodic (at certain intervals, such as 7 days) or quantitative (accumulates a certain amount of data, such as 100,000 pieces) training to form an AI model. After the AI model training is completed, it is downloaded through the algorithm / policy server and supports reporting the trained AI model to the AI cloud platform.
[0081] (4) Intelligent controller (PLC): According to the logic of the physical model, it automatically collects the status of the terminal equipment (through DI and AI). If the status of the terminal equipment changes, it will actively report to the XTBOX intelligent computing node. At the same time, according to the logic of the physical model, it controls the terminal equipment (through DO and AO). It also supports receiving terminal equipment control instructions issued by the XTBOX intelligent computing node and executing the control instructions.
[0082] (5) Intelligent controller (serial port device controller): According to the logic of the physical model, it automatically collects the status of the terminal device (through the serial port bus, such as RS485). If the status of the terminal device changes, it will actively report to the XTBOX intelligent computing node. At the same time, according to the logic of the physical model, it controls the terminal device (through the serial port bus, such as RS485). It also supports receiving terminal device control instructions issued by the XTBOX intelligent computing node and executing the control instructions.
[0083] (6) Intelligent collector (Ethernet type): Automatically collects the status of terminal devices according to the logic of the object model. If the status of the terminal device changes, it will actively report to the XTBOX intelligent computing node.
[0084] (7) Intelligent collector (NB-IOT type): Automatically collects the status of terminal devices according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the AI cloud platform, which will then send it to the XTBOX intelligent computing node that needs the data.
[0085] (8) Communication Gateway (LoRA Type): Used in conjunction with the smart collector (LoRA Type), it mainly provides communication services for the smart collector (LoRA Type), that is, it receives and reports the terminal device status data actively reported by the smart collector (LoRA Type) to the XTBOX intelligent computing node.
[0086] (9) Intelligent collector (LoRA type): Automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report to the communication gateway (LoRA type).
[0087] (10) AI cloud platform: provides cloud services, mainly data collection, model training, etc., and supports model training servers to report trained models and supports model training servers to download models from the AI cloud platform (i.e., share or restore).
[0088] 2) If Figure 2 As shown, the AI self-learning and self-updating system based on the building automatic control system applies the AI self-learning and self-updating method based on the building automatic control system. The AI self-learning and self-updating method based on the building automatic control system includes a data collection step (forming a data set), and the data collection step is specifically implemented as the following steps:
[0089] Step Q1, the intelligent controller (PLC and serial port device controller) and the intelligent collector (Ethernet type) actively collect the working status of the terminal device according to the operation logic or configuration (high-speed scanning / timed scanning / task-based scanning) of the object model. If the working status of the terminal device changes, the working status of the terminal device is actively reported to the XTBOX intelligent computing node; the intelligent collector (LoRA type) actively collects the working status of the terminal device according to the operation logic or configuration (high-speed scanning / timed scanning / task-based scanning) of the object model. If the working status of the terminal device changes, the working status of the terminal device is actively reported to the communication gateway (LoRA type), and the communication gateway (LoRA type) actively reports the working status of the terminal device to the XTBOX intelligent computing node; the intelligent collector (NB-IOT type) actively collects the working status of the terminal device according to the operation logic or configuration (high-speed scanning / timed scanning / task-based scanning) of the object model. If the working status of the terminal device changes, the working status of the terminal device is actively reported to the AI cloud platform, and the AI cloud platform actively sends the working status of the terminal device to the required XTBOX intelligent computing node;
[0090] Step Q2: After receiving the status data of the terminal device, the XTBOX intelligent computing node organizes it into valid data and reports it to the local algorithm / policy server for data processing;
[0091] Step Q3: If there is a local model training server, the XTBOX intelligent computing node reports the valid data to the model training server;
[0092] Step Q4: If the XTBOX intelligent computing node has been connected to the AI cloud platform, the XTBOX intelligent computing node will report valid data to the AI cloud platform.
[0093] 3) If Figure 3 As shown, the AI self-learning and self-updating system based on the building automatic control system applies the AI self-learning and self-updating method based on the building automatic control system. The AI self-learning and self-updating method based on the building automatic control system includes an AI model sharing step, and the AI model sharing step is specifically implemented as the following steps:
[0094] Step W1: If there is a local model training server, the algorithm / policy server will actively download the latest AI model from the model training server after receiving the AI model update notification from the local model training server. After the download is complete, it will automatically switch to the latest AI model for work;
[0095] Step W2: If the XTBOX intelligent computing node has been connected to the AI cloud platform and there is no local model training server, then after the algorithm / policy server receives the AI model update notification from the AI cloud platform, the XTBOX intelligent computing node downloads the latest AI model to the AI cloud platform. After the download is complete, the XTBOX intelligent computing node notifies the algorithm / policy server to update the AI model. After receiving the notification, the algorithm / policy server actively downloads the latest AI model from the XTBOX intelligent computing node. After the download is complete, it automatically switches to the latest AI model for work;
[0096] Step W3: If there is a local model training server and the XTBOX intelligent computing node is connected to the AI cloud platform, the model training server will actively report the trained AI model to the AI cloud platform through the XTBOX intelligent computing node after completing the model training.
[0097] 4) If Figure 4 As shown, the AI self-learning and self-updating system based on the building automatic control system applies the AI self-learning and self-updating method based on the building automatic control system. The AI self-learning and self-updating method based on the building automatic control system includes a multi-region AI model sharing step, and the multi-region AI model sharing step is specifically implemented as the following steps:
[0098] Step P1: The model training server in each region (region 1…region N) uploads the locally trained AI model or data set to the AI cloud server;
[0099] Step P2: The AI cloud server merges the existing AI model resources according to the weather area, or after training the data set according to the preset rules (timing or data quantification), merges the existing AI model resources according to the weather area and records them as the new version;
[0100] Step P3: The AI cloud server proactively notifies the model training server in the weather area that a new version of the AI model is available; or, the model training server in the weather area proactively queries the AI cloud server for a new version of the AI model; the model training server downloads the new version of the AI model;
[0101] Step P4: After the model training server downloads the new version of the AI model from the AI cloud server, it updates it to the algorithm / policy server. After the algorithm / policy server updates the AI model to the model training server, the algorithm / policy server executes the new AI model.
[0102] The following describes the overall concept of the AI self-learning and self-updating method, system, electronic device, and storage medium based on the building automation system disclosed in this embodiment.
[0103] Specifically, the building automatic control system can automatically collect the working status of electromechanical equipment and real-time data such as sensors to form an effective data set, and automatically train (unsupervised learning) to form a new model, and update it to the algorithm / policy server so that the algorithm / policy server works according to the new model. The system can upload the collected data set and the trained new model to the AI cloud platform for use by other building automatic control systems.
[0104] Compared with similar products of building automation systems, the method of automatic data collection and structuring, automatic training and automatic updating, sharing of data sets, and sharing of AI models after training can enable the system to conduct unsupervised learning independently without human intervention, and adapt to users' general needs for building environments, solving the problem that intelligent controllers (DDC / PLC) all rely on more traditional algorithms (such as PID), which are relatively fixed (after writing) and cannot keep up with changes in user needs; at the same time, the model trained by the system can be shared to enable other newly built systems to have the same AI capabilities, solving the problem of poor reproducibility of programming / configuration of intelligent controllers (DDC / PLC); furthermore, multi-dimensional data (local data, Internet data, etc.) makes the application scope of AI models wider, solving the problem of narrow applicability of control effects of intelligent controllers (DDC / PLC).
[0105] The following describes the industrial background of the AI self-learning and self-updating method, system, electronic device, and storage medium based on a building automation system disclosed in this embodiment.
[0106] Specifically, as people's demand for the use of building automation systems increases, the number of network node devices in the system continues to increase, the type of data in the system (such as temperature, humidity, equipment working status, human presence, human movement, wind speed and direction, building materials, etc.) increases, the amount of data generated increases, and the requirements for real-time monitoring and control increase. Under this trend, manual use and management of building automation systems becomes increasingly difficult, and the requirements for management personnel (including technical thresholds and workload) increase, resulting in a continuous decline in the practicality of building automation systems, which cannot play the originally expected value and may even be abandoned.
[0107] The development of artificial intelligence has achieved countless breakthroughs in 2023 and has also caused widespread controversy, but it is undeniable that artificial intelligence has become a sign of the future and will continue to approach and influence people's lives now and in the future, and will have a broad and profound impact on the progress of human society. Among them, generative artificial intelligence models have great potential in human communication and services (such as providing assistance for complex PLC programming), and artificial intelligence is the key to achieving the transformation from "automation" to "intelligence".
[0108] Applying artificial intelligence to industrial automation control systems builds a more efficient, accurate and adaptive manufacturing and processing environment. The support of artificial intelligence enables the automation system to learn from historical and real-time data, predict future trends and potential problems, and thus make corresponding adjustments in advance to reduce downtime and production delays. The integration of artificial intelligence allows equipment to interact with workers more intelligently, improve the safety and flexibility of operations, and also significantly improve resource utilization efficiency and productivity, reduce energy consumption and waste. The use of artificial intelligence technology can also better improve the performance of industrial automation control systems. Using artificial intelligence technology, the performance of the entire automation control system can be improved. For example, in the working process of the fuzzy logic controller, the response speed of the controller can be greatly improved, which greatly improves the work efficiency. The use of artificial intelligence in industrial automation control systems has the following advantages:
[0109] 1) Improve accuracy
[0110] Real-time monitoring and analysis of each link in the production process can effectively identify and predict factors that may lead to production deviations. With advanced sensors and computer vision technology, the operation of mechanical equipment can be finely adjusted while even small changes can be sensed, ensuring the accurate use of materials and precision processing of products during the production process.
[0111] 2) Improve stability
[0112] Applying artificial intelligence technology to industrial automation control systems can effectively reduce the process links in traditional industrial automation control systems. You only need to follow the guidance of artificial intelligence technology and input it to ensure the stability of its operation. In addition, the computer system using artificial intelligence technology can ensure the high accuracy of calculations and effectively eliminate many external interference factors, making the operation of industrial automation control systems more stable, smooth and safe, thereby improving the overall operation quality and efficiency of industrial automation control.
[0113] 3) Reduce human resources
[0114] Through artificial intelligence technology, automation systems can perform complex tasks while reducing the burden of manual monitoring. While liberating manpower, it is also possible to rely on the data processing system in the artificial intelligence system to effectively process massive amounts of data. Secondly, the amount of data generated in industrial automation control systems is very large. Relying on artificial intelligence technology can effectively reduce this kind of complicated work, liberating manpower while also improving the quality and efficiency of work in all aspects of the industry.
[0115] 4) Reduce the frequency of mistakes
[0116] Traditional industrial automation control systems cannot do without manual operation, and are prone to manual errors due to individual differences, which will directly affect the speed and quality of industrial operations, and even cause economic losses and safety hazards. Applying artificial intelligence to actual industrial automation control systems can effectively reduce some unnecessary processes and ensure the timeliness of work; on the other hand, it can effectively reduce manual errors, thereby avoiding the above-mentioned safety and work errors.
[0117] 5) Gain valuable experience from data
[0118] Systems generate a lot of valuable data in a single day. With the right AI, all that raw data can be transformed into useful insights, guiding designers or engineers to discover new ways to improve and update based on the latest technology.
[0119] 6) Enhance control technology and process conceptual data through data-driven deep learning and cognitive computing
[0120] Deep learning uses artificial intelligence techniques based on artificial neural networks to extract high-level insights from raw data inputs. Cognitive computing focuses on high-level understanding and reasoning.
[0121] 7) Assist decision making through reinforcement learning and big data analysis
[0122] Reinforcement learning is a cutting-edge AI technique that attempts to train machine learning models to make advanced decisions. ML models use trial and error to find appropriate solutions to any complex problem. Big data analytics can discover valuable patterns, trends, correlations, and preferences to help users make better decisions.
[0123] 8) Analyze and predict future trends through artificial intelligence
[0124] Therefore, deep learning models can use unstructured data sets to predict future trends and provide advance warning for system control.
[0125] The following describes the experimental verification of the AI self-learning and self-updating method, system, electronic device and storage medium based on the building automatic control system disclosed in this embodiment.
[0126] Specifically, the AI self-learning and self-updating method, system, electronic device and storage medium based on the building automatic control system disclosed in this embodiment have been coded and verified. The test system includes 1 cloud server, 1 core node device XTBOX intelligent computing node, 1 algorithm / policy server, 1 model training server, 1 intelligent controller, 1 serial port device controller, 1 Ethernet data collector, 1 LoRA communication gateway, and 1 LoRA data collector; the test environment includes a test room (including lighting fixtures, air conditioning equipment, fresh air equipment, several indoor / outdoor illumination sensors, several human presence sensors, and indoor / outdoor temperature and humidity sensors), and several testers. The test content is as follows:
[0127] 1) The system is installed and in monitoring mode, and the equipment in the test room is installed;
[0128] 2) The tester adjusts the required lighting brightness and air conditioning temperature according to the situation (indoor / outdoor illumination and temperature, number of people in the room, etc.) and continues the activity for a period of time (recommended not less than 3 days);
[0129] 3) After the system completes automatic training based on the data collected in the monitoring mode, the system is adjusted to the monitoring mode;
[0130] 4) The system automatically adjusts the lighting and air-conditioning equipment according to the conditions of the test room (indoor / outdoor illumination and temperature, number of people in the room, etc.), and the results of the automatic adjustment meet the requirements of the testers.
[0131] It is worth mentioning that the technical features such as the specific selection of the processor involved in the patent application of this invention should be regarded as the prior art. The specific structure, working principle and possible control method and spatial layout method of these technical features can be selected by conventional choices in the field, and should not be regarded as the inventive point of the patent of this invention. The patent of this invention will not be further elaborated.
[0132] For those skilled in the art, it is still possible to modify the technical solutions described in the aforementioned embodiments, or to make equivalent substitutions for some of the technical features therein. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.
Claims
1. An AI self-learning and self-updating system based on a building automation system, characterized in that: include: XTBOX intelligent computing node receives data reported by intelligent controllers and intelligent collectors, and distributes it to algorithm / policy servers, model training servers and other upper software; it also receives control instructions issued by algorithm / policy servers and other upper software, and sends them to the target intelligent controller; The algorithm / policy server receives the device status data reported by the XTBOX intelligent computing node, obtains the calculation results through the AI model, and controls the terminal device; The model training server receives the device status data reported by the XTBOX intelligent computing node and organizes it into a valid data set for timed or quantitative training to form an AI model. After the AI model training is completed, it is downloaded through the algorithm / policy server and the trained AI model is reported to the AI cloud platform. Intelligent controllers, including PLC and serial device controllers, automatically collect the status of terminal devices according to the logic of the physical model. If the status of the terminal device changes, it will actively report to the XTBOX intelligent computing node; control the terminal device according to the logic of the physical model; and receive the terminal device control instructions issued by the XTBOX intelligent computing node and execute the control instructions; The intelligent collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the XTBOX intelligent computing node or AI cloud platform; The communication gateway receives and reports the terminal device status data actively reported by the intelligent collector to the XTBOX intelligent computing node; The AI cloud platform collects data and trains models, obtains trained models reported by the model training server, and supports the model training server to download models from the AI cloud platform.
2. The AI self-learning and self-updating system based on the building automation system according to claim 1 is characterized in that: Smart collectors include Ethernet smart collectors, NB-IOT smart collectors and LoRA smart collectors, among which: The Ethernet-based intelligent collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the XTBOX intelligent computing node; The NB-IOT smart collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the AI cloud platform, which will then send it to the XTBOX smart computing node that needs the data. The LoRA type intelligent collector automatically collects the status of the terminal device according to the logic of the object model. If the status of the terminal device changes, it will actively report the terminal device status data to the communication gateway.
3. An AI self-learning and self-updating method based on a building automation system, characterized in that: An AI self-learning and self-updating system based on a building automatic control system and an AI self-learning and self-updating method based on a building automatic control system applied to claim 1 include a data collection step, which is specifically implemented as the following steps: Step Q1: According to the logic of the object model, the status of the terminal device is automatically collected. If the status of the terminal device changes, the terminal device status data is actively reported to the XTBOX intelligent computing node or AI cloud platform; Step Q2: After receiving the status data of the terminal device, the XTBOX intelligent computing node organizes it into valid data and reports it to the local algorithm / policy server, which processes the data; Step Q3: Determine whether there is a local model training server. If the determination is successful, the XTBOX intelligent computing node reports the valid data to the model training server; Step Q4: Determine whether the XTBOX intelligent computing node has been connected to the AI cloud platform. If successful, the XTBOX intelligent computing node will report valid data to the AI cloud platform.
4. An AI self-learning and self-updating method based on a building automation system, characterized in that: An AI self-learning and self-updating system based on a building automatic control system and an AI self-learning and self-updating method based on a building automatic control system applied to claim 1 include an AI model sharing step, and the AI model sharing step is specifically implemented as the following steps: Step W1: Determine whether there is a local model training server. If the determination is successful, the algorithm / policy server will actively download the latest AI model from the model training server after receiving the AI model update notification from the local model training server. After the download is complete, it will automatically switch to the latest AI model for work; Step W2: Determine whether the XTBOX intelligent computing node has been connected to the AI cloud platform and there is no local model training server. If the judgment is successful, after the algorithm / policy server receives the AI model update notification from the AI cloud platform, the XTBOX intelligent computing node downloads the latest AI model to the AI cloud platform. After the download is complete, the XTBOX intelligent computing node notifies the algorithm / policy server to update the AI model. After receiving the notification, the algorithm / policy server actively downloads the latest AI model from the XTBOX intelligent computing node. After the download is complete, it automatically switches to the latest AI model to work; Step W3: Determine whether there is a local model training server and the XTBOX intelligent computing node is connected to the AI cloud platform. If the judgment is successful, the model training server will actively report the completed AI model to the AI cloud platform through the XTBOX intelligent computing node after completing the model training.
5. An AI self-learning and self-updating method based on a building automation system, characterized in that: An AI self-learning and self-updating system based on a building automatic control system applied to claim 1, and an AI self-learning and self-updating method based on a building automatic control system, comprising a multi-region AI model sharing step, wherein the multi-region AI model sharing step is specifically implemented as the following steps: Step P1: Each regional model training server uploads the locally trained AI model or data set to the AI cloud server; Step P2: The AI cloud server merges the existing AI model resources according to the weather area, or after training the data set according to the preset rules, merges the existing AI model resources according to the weather area and records them as the new version; Step P3: The AI cloud server proactively notifies the model training server in the weather area that a new version of the AI model is available; or the model training server in the weather area proactively queries the AI cloud server for a new version of the AI model; the model training server downloads the new version of the AI model; Step P4: After the model training server downloads the new version of the AI model from the AI cloud server, it updates it to the algorithm / policy server. After the algorithm / policy server updates the AI model to the model training server, the algorithm / policy server executes the new AI model.
6. An electronic device, characterized in that: include: A processor, and a memory storing executable instructions of the processor; wherein: The processor is configured to execute the steps of the AI self-learning and self-updating method based on the building automatic control system according to any one of claims 3 to 5 by executing executable instructions.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the processor, the steps of the AI self-learning and self-updating method based on the building automatic control system as claimed in any one of claims 3 to 5 are implemented.
Citation Information
Patent Citations
Building indoor comfort environment adjustment system
CN109631241A
Building automation and control distributed system and method
CN110320835A
Group learning method and device, block chain node and storage medium
CN114330757A
Federal learning method and system for communication control of industrial Internet of Things
CN114880123A
Aerial multi-vision platform ground anomaly detection method based on federated learning
CN114998251A
Cited By
Acid mist absorption tower intelligent control system based on big data
CN119847027A
