CN116085991A - Office building air conditioner energy-saving control system based on TinyML - Google Patents

Office building air conditioner energy-saving control system based on TinyML Download PDF

Info

Publication number
CN116085991A
CN116085991A CN202310094227.6A CN202310094227A CN116085991A CN 116085991 A CN116085991 A CN 116085991A CN 202310094227 A CN202310094227 A CN 202310094227A CN 116085991 A CN116085991 A CN 116085991A
Authority
CN
China
Prior art keywords
main control
air conditioner
office building
data
information
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310094227.6A
Other languages
Chinese (zh)
Inventor
徐文凯
朱翔宇
胡佳
金长新
李锐
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Inspur Science Research Institute Co Ltd
Original Assignee
Shandong Inspur Science Research Institute Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shandong Inspur Science Research Institute Co Ltd filed Critical Shandong Inspur Science Research Institute Co Ltd
Priority to CN202310094227.6A priority Critical patent/CN116085991A/en
Publication of CN116085991A publication Critical patent/CN116085991A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/89Arrangement or mounting of control or safety devices
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/30Control or safety arrangements for purposes related to the operation of the system, e.g. for safety or monitoring
    • F24F11/46Improving electric energy efficiency or saving
    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F24HEATING; RANGES; VENTILATING
    • F24FAIR-CONDITIONING; AIR-HUMIDIFICATION; VENTILATION; USE OF AIR CURRENTS FOR SCREENING
    • F24F11/00Control or safety arrangements
    • F24F11/50Control or safety arrangements characterised by user interfaces or communication
    • F24F11/56Remote control
    • F24F11/58Remote control using Internet communication
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02BCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO BUILDINGS, e.g. HOUSING, HOUSE APPLIANCES OR RELATED END-USER APPLICATIONS
    • Y02B30/00Energy efficient heating, ventilation or air conditioning [HVAC]
    • Y02B30/70Efficient control or regulation technologies, e.g. for control of refrigerant flow, motor or heating

Landscapes

  • Engineering & Computer Science (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Mechanical Engineering (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Air Conditioning Control Device (AREA)

Abstract

The invention discloses an energy-saving control system of an air conditioner of an office building based on TinyML, which belongs to the technical field of intellectualization, and aims to solve the technical problems of controlling the air conditioner of the office building to achieve a state that people leave energy consumption to stop producing, avoiding the invalid producing of the air conditioner of the office building and causing resource waste, and adopting the following technical scheme: the cloud server transmits data to the main control equipment, and the main control equipment transmits data to the local air conditioning equipment; the main control equipment comprises a main control microcontroller, a local memory, a main control wireless transmission module and a data acquisition module, wherein the main control microcontroller is respectively and electrically connected with the local memory, the wireless transmission module and the data acquisition module.

Description

Office building air conditioner energy-saving control system based on TinyML
Technical Field
The invention relates to the technical field of intellectualization, in particular to an energy-saving control system for an air conditioner of an office building based on TinyML.
Background
TinyML micro machine learning is an intersection of machine learning and Internet of things equipment, and aims to deploy a machine learning model on an MCU to realize edge AI, so that life is more intelligent. Buildings such as office buildings have the characteristics of high energy consumption and complex energy consumption structure. In the energy consumption ratio of office buildings, the proportion occupied by heating or refrigerating is most prominent, and at present, a central air conditioner is commonly used for heating or refrigerating in the office buildings.
When people leave the office area, the switching power supply is forgotten to be turned off, so that the air conditioner is in an invalid working state for a long time, firstly, invalid energy consumption waste is generated, and secondly, more carbon dioxide is generated, which is contrary to the concept of low carbon and environmental protection.
Therefore, how to control the air conditioner of the office building to achieve the state that people leave the energy consumption and stop producing, and avoid the invalid producing of the air conditioner of the office building, and the resource waste is the technical problem to be solved urgently at present.
Disclosure of Invention
The invention aims to provide an energy-saving control system for an air conditioner of an office building based on TinyML, which solves the problem of how to control the air conditioner of the office building to be in a state that people leave energy consumption and stop producing, and avoids the problem of resource waste caused by invalid producing of the air conditioner of the office building.
The technical task of the invention is realized in the following way, the energy-saving control system of the office building air conditioner based on TinyML comprises a main control device, a local air conditioner device (as a device for finally realizing intelligent control) and a cloud server, wherein the cloud server transmits data to the main control device, and the main control device transmits data to the local air conditioner device;
the main control equipment comprises a main control microcontroller, a local memory, a main control wireless transmission module and a data acquisition module, wherein the main control microcontroller is respectively and electrically connected with the local memory, the wireless transmission module and the data acquisition module;
the data acquisition module is used for acquiring the inner and outer environment information of the office building and the personnel information in the office building in real time according to the scene and the user requirements, and transmitting the inner and outer environment information and the image information to the main control microcontroller;
the main control microcontroller is used for acquiring the environment information inside and outside the office building and the image information in the office building, running the TinyML model, acquiring the distribution condition of staff of the office building, sending a control instruction to the air conditioner control system, and sending data information to the cloud server;
the main control wireless transmission module is used as a communication medium between the main control microcontroller and the local air conditioning equipment.
Preferably, the system further comprises a mobile phone app for realizing manual control of the local air conditioning equipment; the mobile phone app and the main control microcontroller are used as media to realize information interaction, so that the mobile phone app can remotely control the local air conditioning equipment; as shown in fig. 3, the protocol of connection between the mobile phone app and the cloud server is MQTT protocol, and the protocol of connection between the main control microcontroller and the cloud server is MQTT protocol.
Preferably, the system further comprises a control panel, wherein the control panel is used for manually controlling the air conditioner to be adjusted by a user, transmitting the adjusted data to the local memory to be stored as preference data, and the main control microcontroller takes the adjusted data as a standard to be controlled when the intelligent control is performed subsequently.
Preferably, the data acquisition module comprises an air detection sub-module and a personnel information acquisition sub-module;
the air detection submodule comprises a temperature sensor and a humidity sensor and is used for collecting air state data inside and outside an office building in real time;
the personnel information acquisition submodule comprises a camera, and the personnel information acquisition submodule is used for acquiring an image of the interior of the current office building.
More preferably, the local memory is used for storing fixed data of an office building, initialization data of an air conditioner and past user preference data;
the fixed data of the office building comprise the distribution condition of the office building, the number of air conditioners, the distribution condition of the air conditioners and the distribution areas of the air conditioners and the office building;
the initialization data of the air conditioner comprises indoor air conditioner temperature, wind speed and wind direction setting values under different external temperature environments;
the conventional user preference data refers to different user preference degrees of different temperatures set by the air conditioner, and in order to improve the user experience as much as possible, the air conditioner parameters set by the user through a control panel or a mobile phone app are stored.
Preferably, the deployment of the tinylml model is specifically as follows:
(1) And (3) data collection: selecting a large number of images with detection target people from the images in the current office building;
(2) Pretreatment: manually marking by using a marking tool to manufacture a data set conforming to the application scene;
(3) Model training: model training is carried out on a large amount of collected data set information;
(4) Obtaining a model: optimizing the trained model to an optimal state, wherein on-chip storage resources of the microcontroller are limited, and compressing the model;
(5) Format conversion: the model file deployment requirement on the main control microcontroller is binary files, so that the compressed model files are required to be subjected to binary file processing work, the binary files are deployed into the main control microcontroller after the binary files are completed, and the main control microcontroller runs the model files;
(6) Model deployment: and taking the data information acquired by the camera as an input information operation model file, outputting the distribution condition of the current staff of the current office building, determining which area of the office building is more and which area is not more by the main control microcontroller according to the output information, respectively transmitting different control information to air conditioning equipment in different areas according to judgment in the microcontroller, and uploading all the related data information and images to the cloud server through wifi.
Preferably, the cloud server comprises a storage module, a remote access port, a command module and a transmitter; the storage module is used for storing data information sent by the microcontroller; the cloud server is used for receiving the data information and the image information uploaded by the main control microcontroller, storing and processing the data information and the image information, and storing various messages uploaded by the main control microcontroller in a classified mode.
Preferably, the local air conditioning equipment is used for receiving control information transmitted by the main control microcontroller and controlling temperature, wind speed and wind direction according to the instruction parameters;
the local air conditioning equipment comprises an air conditioning wireless transmission module, an air conditioning microcontroller and an air conditioning output module, wherein the air conditioning output module is a module with a common air conditioning function; the air conditioner wireless transmission module is used for receiving control information sent by the main control microcontroller, converting the information received by the air conditioner wireless transmission module into information output by the air conditioner microcontroller, and transmitting the information to the air conditioner output module;
wherein, air conditioner wireless transmission module adopts the loRa module.
Preferably, the master control wireless transmission module adopts a wireless transmission mode of LoRa, and communicates through a plurality of LoRa modules, all the LoRa modules are set to be the same channel, the addresses of the LoRa modules connected with the master control microcontroller are set to be 0xffff, the addresses of other LoRa modules are set to be different, the LoRa modules connected with the master control microcontroller are used for monitoring data transmission and data sent by all the LoRa modules on the same channel, and the data are received by the LoRa modules with any addresses on the same channel, so that broadcasting and monitoring functions are achieved; information transmission is carried out between the main control microcontroller and the cloud server through an MQTT protocol, data transmission is carried out through wifi,
more preferably, the system operates as follows:
s1, initializing: the method comprises the steps of initializing a microcontroller, initializing peripheral equipment, initializing a TinyML model and deploying the model in a master control microcontroller, and initializing an area, wherein the area is scanned by a camera, and the area is connected with an office building area and an area controlled by an air conditioner;
s2, running two thread tasks: the first thread task is to collect camera images, a TinyML model is operated through the collected images, a main control microcontroller obtains the distribution condition of staff in an office building according to output information, and the thread 1 circularly performs operation every five minutes;
the second thread is to acquire outdoor temperature and humidity, the temperature sensor and the humidity sensor are connected with the main control microcontroller in a wired manner, the original data of the temperature sensor and the humidity sensor are acquired according to the driving of the temperature sensor and the humidity sensor, the real data are converted through the use manual of the temperature sensor and the humidity sensor, the outdoor temperature and humidity value is acquired, and the thread 2 is operated circularly every 5 minutes;
s3, a main loop part in a main program: invoking user preference data in a local memory, judging according to personnel distribution, outdoor environment and user somatosensory conditions, and analyzing by a main control microcontroller according to the personnel distribution, the outdoor environment and the user somatosensory conditions to obtain final air conditioner output conditions, such as: if no staff exists in a certain area, directly closing the air conditioner; when the air conditioner is originally turned off, detecting that a person turns on the air conditioner; the outdoor temperature is too high, and the air conditioner is controlled to blow cold air; controlling the air conditioner to blow hot air when the outdoor temperature is too low; when people in a certain area are too much, the wind speed is properly increased; when people in a certain area are few, the wind speed is properly reduced; finally, the control information is transmitted to the local air conditioning equipment through the main control wireless outgoing module, and the main program is circulated to perform operation every 5 minutes;
s4, interrupting tasks in the main program: the control panel operation is the highest judgment standard, the interruption is the EXIT interruption of io, and the detection method of keys is adopted;
the master control microcontroller performs one uploading to the cloud server in all loops.
The TinyML-based energy-saving control system for the air conditioner of the office building has the following advantages:
firstly, aiming at the loss of the ineffective energy consumption in the office building, the invention can specifically adjust the temperature of the air conditioner and other states according to the personnel distribution condition and the external environment state of the current office building, thereby achieving the effect of reducing the energy consumption while intelligently controlling the temperature of the comfortable air conditioner; the main control equipment performs information transmission with the local air conditioning equipment through the main control wireless transmission module, and controls the output of the air conditioning equipment;
secondly, a user can control the temperature of the air conditioner through the panel hand, and can also click intelligent control in the control panel to automatically control the temperature of the air conditioner;
the invention also discloses a method for monitoring the wireless communication of the local air conditioner equipment, which comprises the steps of installing a master control wireless transmission module, wherein the master control wireless transmission module is used for controlling the wireless communication of the local air conditioner equipment, and the master control wireless transmission module is used for controlling the wireless communication of the local air conditioner equipment.
Therefore, the invention has the characteristics of reasonable design, simple structure, convenient use, multiple purposes, and the like, thereby having good popularization and use values.
Drawings
The invention is further described below with reference to the accompanying drawings.
FIG. 1 is a schematic structural diagram of an energy-saving control system of an air conditioner of an office building based on TinyML;
FIG. 2 is a flow diagram of TinyML model deployment;
FIG. 3 is a schematic diagram of an information interaction architecture of a cloud server;
FIG. 4 is a schematic diagram of communication between a local air conditioning device and a master control device;
fig. 5 is a flow chart of an energy-saving control method for an air conditioner of an office building in tinylml.
Detailed Description
The energy-saving control system for the air conditioner of the office building based on TinyML of the present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
Examples:
as shown in fig. 1, the embodiment provides an energy-saving control system of an air conditioner of an office building based on tinylml, which comprises a main control device, a local air conditioning device (as a device for finally realizing intelligent control) and a cloud server, wherein the cloud server transmits data to the main control device, and the main control device transmits data to the local air conditioning device;
the main control equipment comprises a main control microcontroller, a local memory, a main control wireless transmission module and a data acquisition module, wherein the main control microcontroller is respectively and electrically connected with the local memory, the wireless transmission module and the data acquisition module;
the data acquisition module is used for acquiring the inner and outer environment information of the office building and the personnel information in the office building in real time according to the scene and the user requirements, and transmitting the inner and outer environment information and the image information to the main control microcontroller;
the main control microcontroller is used for acquiring the environment information inside and outside the office building and the image information in the office building, running the TinyML model, acquiring the distribution condition of staff of the office building, sending a control instruction to the air conditioner control system, and sending data information to the cloud server;
the main control wireless transmission module is used as a communication medium between the main control microcontroller and the local air conditioning equipment.
In this embodiment, the system further includes a mobile phone app, where the mobile phone app is configured to implement manual control of a local air conditioning device; the mobile phone app and the main control microcontroller are used as media to realize information interaction, so that the mobile phone app can remotely control the local air conditioning equipment; as shown in fig. 3, the protocol of connection between the mobile phone app and the cloud server is MQTT protocol, and the protocol of connection between the main control microcontroller and the cloud server is MQTT protocol.
In this embodiment, the system further includes a control panel, where the control panel is used for manually controlling to adjust the air conditioner, and transmitting the adjusted data to the local memory as preference data for storage, and when the intelligent control is performed subsequently, the main control microcontroller controls the adjusted data as a standard.
In this embodiment, the system is mainly controlled by a main control microcontroller, and is manually controlled by a mobile phone app and a control panel as an auxiliary, and the manual control is specifically as follows:
(1) remotely controlling output parameters of the air conditioner through the mobile phone app;
(2) and controlling the output parameters of the air conditioner through the control panel.
The data acquisition module in the embodiment comprises an air detection sub-module and a personnel information acquisition sub-module;
the air detection submodule comprises a temperature sensor and a humidity sensor and is used for collecting air state data inside and outside an office building in real time;
the personnel information acquisition submodule comprises a camera, and the personnel information acquisition submodule is used for acquiring an image of the interior of the current office building.
The local memory in this embodiment is used for storing fixed data of an office building, initialization data of an air conditioner and past user preference data;
the fixed data of the office building comprise the distribution condition of the office building, the number of air conditioners, the distribution condition of the air conditioners and the distribution areas of the air conditioners and the office building;
the initialization data of the air conditioner comprises indoor air conditioner temperature, wind speed and wind direction setting values under different external temperature environments;
the conventional user preference data refers to different user preference degrees of different temperatures set by the air conditioner, and in order to improve the user experience as much as possible, the air conditioner parameters set by the user through a control panel or a mobile phone app are stored.
As shown in fig. 2, the deployment of the tinylml model in this embodiment is specifically as follows:
(1) And (3) data collection: selecting a large number of images with detection target people from the images in the current office building;
(2) Pretreatment: manually marking by using a marking tool to manufacture a data set conforming to the application scene;
(3) Model training: model training is carried out on a large amount of collected data set information;
(4) Obtaining a model: optimizing the trained model to an optimal state, wherein on-chip storage resources of the microcontroller are limited, and compressing the model;
(5) Format conversion: the model file deployment requirement on the main control microcontroller is binary files, so that the compressed model files are required to be subjected to binary file processing work, the binary files are deployed into the main control microcontroller after the binary files are completed, and the main control microcontroller runs the model files;
(6) Model deployment: and taking the data information acquired by the camera as an input information operation model file, outputting the distribution condition of the current staff of the current office building, determining which area of the office building is more and which area is not more by the main control microcontroller according to the output information, respectively transmitting different control information to air conditioning equipment in different areas according to judgment in the microcontroller, and uploading all the related data information and images to the cloud server through wifi.
The cloud server in the embodiment comprises a storage module, a remote access port, a command module and a transmitter; the storage module is used for storing data information sent by the microcontroller. The cloud server is used for receiving the data information and the image information uploaded by the main control microcontroller, storing and processing the data information and the image information, and storing various messages uploaded by the main control microcontroller in a classified mode.
The local air conditioning equipment in the embodiment is used for receiving the control information transmitted by the main control microcontroller and controlling the temperature, the wind speed and the wind direction according to the instruction parameters;
as shown in fig. 4, the local air conditioning equipment comprises an air conditioning wireless transmission module, an air conditioning microcontroller and an air conditioning output module, wherein the air conditioning output module is a module capable of having a common air conditioning function; the air conditioner wireless transmission module is used for receiving control information sent by the main control microcontroller, converting the information received by the air conditioner wireless transmission module into information output by the air conditioner microcontroller, and transmitting the information to the air conditioner output module;
wherein, air conditioner wireless transmission module adopts the loRa module.
The main control wireless transmission module in the embodiment adopts a wireless transmission mode of LoRa, and communicates through a plurality of LoRa modules, all the LoRa modules are set to be the same channel, the addresses of the LoRa modules connected with the main control microcontroller are set to be 0xffff, the addresses of other LoRa modules are set to be different, the LoRa modules connected with the main control microcontroller are used for monitoring data transmission and data sent by all the LoRa modules on the same channel, and the data are received by the LoRa modules with any addresses on the same channel, so that broadcasting and monitoring functions are achieved; information transmission is carried out between the main control microcontroller and the cloud server through an MQTT protocol, data transmission is carried out through wifi,
as shown in fig. 5, the operation of the system is specifically as follows:
s1, initializing: the method comprises the steps of initializing a microcontroller, initializing peripheral equipment, initializing a TinyML model and deploying the model in a master control microcontroller, and initializing an area, wherein the area is scanned by a camera, and the area is connected with an office building area and an area controlled by an air conditioner;
s2, running two thread tasks: the first thread task is to collect camera images, a TinyML model is operated through the collected images, a main control microcontroller obtains the distribution condition of staff in an office building according to output information, and the thread 1 circularly performs operation every five minutes;
the second thread is to acquire outdoor temperature and humidity, the temperature sensor and the humidity sensor are connected with the main control microcontroller in a wired manner, the original data of the temperature sensor and the humidity sensor are acquired according to the driving of the temperature sensor and the humidity sensor, the real data are converted through the use manual of the temperature sensor and the humidity sensor, the outdoor temperature and humidity value is acquired, and the thread 2 is operated circularly every 5 minutes;
s3, a main loop part in a main program: invoking user preference data in a local memory, judging according to personnel distribution, outdoor environment and user somatosensory conditions, and analyzing by a main control microcontroller according to the personnel distribution, the outdoor environment and the user somatosensory conditions to obtain final air conditioner output conditions, such as: if no staff exists in a certain area, directly closing the air conditioner; when the air conditioner is originally turned off, detecting that a person turns on the air conditioner; the outdoor temperature is too high, and the air conditioner is controlled to blow cold air; controlling the air conditioner to blow hot air when the outdoor temperature is too low; when people in a certain area are too much, the wind speed is properly increased; when people in a certain area are few, the wind speed is properly reduced; finally, the control information is transmitted to the local air conditioning equipment through the main control wireless outgoing module, and the main program is circulated to perform operation every 5 minutes;
s4, interrupting tasks in the main program: the control panel operation is the highest judgment standard, the interruption is the EXIT interruption of io, and the detection method of keys is adopted;
the master control microcontroller performs one uploading to the cloud server in all loops.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit of the invention.

Claims (10)

1. An energy-saving control system of an air conditioner of an office building based on TinyML is characterized by comprising a main control device, a local air conditioning device and a cloud server, wherein the cloud server transmits data to the main control device, and the main control device transmits data to the local air conditioning device;
the main control equipment comprises a main control microcontroller, a local memory, a main control wireless transmission module and a data acquisition module, wherein the main control microcontroller is respectively and electrically connected with the local memory, the wireless transmission module and the data acquisition module;
the data acquisition module is used for acquiring the inner and outer environment information of the office building and the personnel information in the office building in real time according to the scene and the user requirements, and transmitting the inner and outer environment information and the image information to the main control microcontroller;
the main control microcontroller is used for acquiring the environment information inside and outside the office building and the image information in the office building, running the TinyML model, acquiring the distribution condition of staff of the office building, sending a control instruction to the air conditioner control system, and sending data information to the cloud server;
the main control wireless transmission module is used as a communication medium between the main control microcontroller and the local air conditioning equipment.
2. The tinylml-based office building air conditioner energy-saving control system according to claim 1, further comprising a mobile phone app for realizing manual control of local air conditioning equipment; the mobile phone app and the main control microcontroller are used as media to realize information interaction, so that the mobile phone app can remotely control the local air conditioning equipment; the protocol of connection between the mobile phone app and the cloud server is an MQTT protocol, and the protocol of connection between the main control microcontroller and the cloud server is an MQTT protocol.
3. The energy-saving control system of the air conditioner of the office building based on the TinyML according to claim 1, further comprising a control panel, wherein the control panel is used for manually controlling the air conditioner to be adjusted by a user, transmitting the adjusted data into a local memory to be stored as preference data, and the main control microcontroller takes the adjusted data as a standard to be controlled when the intelligent control is performed subsequently.
4. The energy-saving control system of the office building air conditioner based on TinyML according to claim 1, wherein the data acquisition module comprises an air detection sub-module and a personnel information acquisition sub-module;
the air detection submodule comprises a temperature sensor and a humidity sensor and is used for collecting air state data inside and outside an office building in real time;
the personnel information acquisition submodule comprises a camera, and the personnel information acquisition submodule is used for acquiring an image of the interior of the current office building.
5. The tinylml-based office building air conditioner energy saving control system according to any one of claims 1 to 4, wherein the local storage is used for storing fixed data of an office building, initialization data of an air conditioner, and past user preference data;
the fixed data of the office building comprise the distribution condition of the office building, the number of air conditioners, the distribution condition of the air conditioners and the distribution areas of the air conditioners and the office building;
the initialization data of the air conditioner comprises indoor air conditioner temperature, wind speed and wind direction setting values under different external temperature environments;
the conventional user preference data refers to different user preference degrees of different air conditioner temperatures, and the air conditioner parameters set by the user through a control panel or a mobile phone app are stored.
6. The energy-saving control system of the office building air conditioner based on TinyML according to claim 1, wherein the deployment of the TinyML model is specifically as follows:
(1) And (3) data collection: selecting an image with a detection target person from the current image in the office building;
(2) Pretreatment: manually marking by using a marking tool to manufacture a data set conforming to the application scene;
(3) Model training: model training is carried out on the collected data set information;
(4) Obtaining a model: optimizing the trained model to an optimal state, and compressing the model;
(5) Format conversion: the compressed model file is processed by binary files, the binary files are deployed into a main control microcontroller after the binary files are completed, and the main control microcontroller runs the model file;
(6) Model deployment: and taking the data information acquired by the camera as an input information operation model file, outputting the distribution condition of the current staff of the current office building, determining which area of the office building is more and which area is not more by the main control microcontroller according to the output information, respectively transmitting different control information to air conditioning equipment in different areas according to judgment in the microcontroller, and uploading all the related data information and images to the cloud server through wifi.
7. The tinylml-based office building air conditioner energy saving control system of claim 1, wherein the cloud server comprises a storage module, a remote access port, a command module and a transmitter; the storage module is used for storing data information sent by the microcontroller; the cloud server is used for receiving the data information and the image information uploaded by the main control microcontroller, storing and processing the data information and the image information, and storing various messages uploaded by the main control microcontroller in a classified mode.
8. The energy-saving control system of the office building air conditioner based on TinyML according to claim 1, wherein the local air conditioner is used for receiving control information transmitted by a main control microcontroller and controlling temperature, wind speed and wind direction according to instruction parameters;
the local air conditioning equipment comprises an air conditioning wireless transmission module, an air conditioning microcontroller and an air conditioning output module, wherein the air conditioning output module is a module with a common air conditioning function; the air conditioner wireless transmission module is used for receiving control information sent by the main control microcontroller, converting the information received by the air conditioner wireless transmission module into information output by the air conditioner microcontroller, and transmitting the information to the air conditioner output module;
wherein, air conditioner wireless transmission module adopts the loRa module.
9. The energy-saving control system of the office building air conditioner based on TinyML according to claim 1, wherein the main control wireless transmission module adopts a wireless transmission mode of LoRa, and communicates through a plurality of LoRa modules, all the LoRa modules are set to be the same channel, addresses of the LoRa modules connected with the main control microcontroller are set to be 0xffff, other LoRa modules are set to be different in address, the LoRa modules connected with the main control microcontroller are used for monitoring data transmission and sending of all the LoRa modules on the same channel, and the data is received by the LoRa modules with any addresses on the same channel, so that broadcasting and monitoring effects are achieved; information transmission is carried out between the main control microcontroller and the cloud server through an MQTT protocol, and data transmission is carried out through wifi.
10. The energy-saving control system of the office building air conditioner based on TinyML according to claim 9, wherein the operation process of the system is as follows:
s1, initializing: the method comprises the steps of initializing a microcontroller, initializing peripheral equipment, initializing a TinyML model and deploying the model in a master control microcontroller, and initializing an area, wherein the area is scanned by a camera, and the area is connected with an office building area and an area controlled by an air conditioner;
s2, running two thread tasks: the first thread task is to collect camera images, a TinyML model is operated through the collected images, a main control microcontroller obtains the distribution condition of staff in an office building according to output information, and the thread 1 circularly performs operation every five minutes;
the second thread is to acquire outdoor temperature and humidity, the temperature sensor and the humidity sensor are connected with the main control microcontroller in a wired manner, the original data of the temperature sensor and the humidity sensor are acquired according to the driving of the temperature sensor and the humidity sensor, the real data are converted through the use manual of the temperature sensor and the humidity sensor, the outdoor temperature and humidity value is acquired, and the thread 2 is operated circularly every 5 minutes;
s3, a main loop part in a main program: invoking user preference data in a local memory, judging according to personnel distribution, outdoor environment and user somatosensory conditions, and analyzing by a main control microcontroller according to the personnel distribution, the outdoor environment and the user somatosensory conditions to obtain a final air conditioner output condition; finally, the control information is transmitted to the local air conditioning equipment through the main control wireless outgoing module, and the main program is circulated to perform operation every 5 minutes;
s4, interrupting tasks in the main program: the control panel operation is the highest judgment standard, the interruption is the EXIT interruption of io, and the detection method of keys is adopted;
the master control microcontroller performs one uploading to the cloud server in all loops.
CN202310094227.6A 2023-02-07 2023-02-07 Office building air conditioner energy-saving control system based on TinyML Pending CN116085991A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310094227.6A CN116085991A (en) 2023-02-07 2023-02-07 Office building air conditioner energy-saving control system based on TinyML

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310094227.6A CN116085991A (en) 2023-02-07 2023-02-07 Office building air conditioner energy-saving control system based on TinyML

Publications (1)

Publication Number Publication Date
CN116085991A true CN116085991A (en) 2023-05-09

Family

ID=86186747

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310094227.6A Pending CN116085991A (en) 2023-02-07 2023-02-07 Office building air conditioner energy-saving control system based on TinyML

Country Status (1)

Country Link
CN (1) CN116085991A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117628654A (en) * 2023-11-29 2024-03-01 武汉本物科技股份有限公司 Control method and device of temperature regulation and control system and temperature regulation and control system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117628654A (en) * 2023-11-29 2024-03-01 武汉本物科技股份有限公司 Control method and device of temperature regulation and control system and temperature regulation and control system

Similar Documents

Publication Publication Date Title
KR100725943B1 (en) Home automation system capable of controlling electric devices corresponding to set surrounding environmental condition and method thereof
CN104750065A (en) STM32 based remote distributed programmable automatic control system and method
CN102914024A (en) Control method and control terminal of air conditioner
CN208186713U (en) A kind of domestic environment intelligence regulation and control system
US20160054017A1 (en) Air conditioning management device, air conditioning system, and program
CN103389720B (en) System for achieving automatic control of shutter by applying mobile phone
CN116085991A (en) Office building air conditioner energy-saving control system based on TinyML
CN104729010A (en) Control method, device and system of air conditioner
CN110736231A (en) Air conditioner control method and device, air conditioner, storage medium and processor
CN112255926A (en) Method for managing contextual model of smart home system
CN205299840U (en) Air conditioner intelligence control system
CN104033093A (en) Self-powered sun-shading intelligent control device
CN110501980A (en) A kind of intelligent curtain wireless control system and method
CN202838678U (en) Study type networking infrared remote control
CN205540225U (en) Building energy -saving control system based on APP
CN107367954A (en) A kind of intelligent domestic environment parameter control system based on Arduino
CN208059197U (en) The control system of multi-evaporator inverter air conditioner with remote handset monitoring function
CN205862184U (en) A kind of Intelligent window system
CN112728726A (en) Control method and device for air conditioner energy conservation and group control
CN115714822A (en) Multi-protocol centralized control intelligent communication gateway of command center
CN113587372A (en) Energy-saving control device and control method for automatically adjusting indoor temperature
CN213873088U (en) Equipment room air conditioner control device based on wireless control
CN208967988U (en) A kind of wireless Heating,Ventilating and Air Conditioning control system
CN106406113A (en) Vehicle applied remote control system for smart household appliances
CN204856191U (en) A dull and stereotyped system for being directed at indoor facility is controlled

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination