Experimental animal growth room environment quality monitoring system based on Loongson pie
By installing sensors inside the growth of experimental animals and using Loongson processors, combined with the mobile WeChat mini program, the problem that traditional monitoring systems cannot accurately reflect internal environmental parameters and signal masking is solved, and accurate transmission and real-time monitoring of environmental data are achieved. , improves the stability and response speed of the system.
Patent Information
- Application Number
- CN202411036741.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-31
- Publication Date
- 2024-11-26
AI Technical Summary
The environmental quality monitoring system of traditional experimental animal centers cannot accurately reflect the internal environmental parameters during growth, and metal materials have a shielding effect on wireless signals, resulting in data transmission signal attenuation, packet loss and interruption problems.
The communication method is adopted that wired first and then wirelessly, and data is directly collected by installing sensors inside the growth period, and using the Loongson processor with independent intellectual property rights, combined with the mobile WeChat mini program to realize real-time monitoring and management of environmental data.
It realizes accurate measurement and transmission of environmental data, improves the security and stability of the system, avoids signal shielding problems, promptly notify users of environmental abnormalities, and improves monitoring accuracy and response speed.
Smart Images

Figure CN119022992A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of laboratory environment monitoring, and in particular to a Loongson-based laboratory animal growth room environment quality monitoring system. Background Art
[0002] In the fields of life sciences and medicine, experimental animals are indispensable scientific research tools. The stability and precise control of their growth environment have a crucial impact on experimental results. With the continuous deepening and expansion of research in these fields, the demand for experimental animals has increased significantly. Self-built experimental animal breeding facilities have become a common choice for scientific research institutions and enterprises. However, in the daily operation and management of experimental animal breeding facilities, the monitoring and control of environmental quality has become a technical problem that needs to be solved urgently.
[0003] The traditional environmental quality monitoring system of experimental animal centers has many shortcomings, which seriously restrict the accuracy and efficiency of environmental monitoring. On the one hand, many systems rely on environmental data collected from the air supply and exhaust ducts to infer the environmental conditions inside the growth room. This method cannot accurately reflect the real environmental parameters of each area inside the growth room, including temperature, humidity, pressure, light intensity and air quality, resulting in a lack of scientific basis for the formulation of control strategies. On the other hand, the metal materials widely used in experimental animal breeding facilities have a strong shielding effect on wireless signals, which limits the application of wireless transmission technology in environmental monitoring and makes signal attenuation, packet loss and even interruption problems prone to occur during data transmission.
[0004] In view of the above problems, it is necessary to optimize the existing environmental quality monitoring system of the experimental animal center, solve the deficiencies in the existing technology by directly installing sensors inside the growth room, adopting a wired-first-wireless communication method, and using the Loongson processor with independent intellectual property rights. Therefore, it is of great significance to develop an environmental quality monitoring system for the experimental animal growth room based on Loongson Pi that can comprehensively realize the above characteristics. Summary of the invention
[0005] The purpose of the present invention is to make up for the shortcomings of the prior art and to provide an experimental animal growth room environmental quality monitoring system based on Loongson. It can directly install sensors inside the growth room and adopt a wired-first-wireless communication method to effectively avoid the signal shielding problem and realize direct measurement and precise transmission of environmental data. At the same time, the system adopts the Loongson processor with completely independent intellectual property rights to improve the security and stability of the system. In addition, through the application of the mobile WeChat applet, users can view the environmental data of each growth room anytime and anywhere, realizing remote monitoring and convenient management.
[0006] In order to solve the above technical problems, the present invention provides the following technical solutions: a system for monitoring the environmental quality of experimental animal growth rooms based on Loongson Pie, the system comprising the following components: a growth room environmental monitoring module, a laboratory terminal, a cloud-based Internet of Things server and a mobile WeChat applet;
[0007] The growth room environment monitoring module directly collects environmental data inside the facility through various sensors, including but not limited to temperature, humidity, pressure, light intensity and PM2.5 concentration environmental data, and transmits data through an antenna exposed outside the facility;
[0008] The laboratory terminal receives and stores the data transmitted by the growth room environment monitoring module, and uploads it to the cloud IoT server. At the same time, the terminal is equipped with a visualization program, which can display the environmental data of each growth room in real time, and supports users to set environmental parameters and alarm thresholds. If the monitored data exceeds the set value, the terminal will send an alarm email to a preset mailbox;
[0009] The cloud IoT server is responsible for data flow and sends the collected environmental data to the mobile WeChat applet;
[0010] The mobile WeChat applet receives and displays data transmitted by the cloud IoT server, allowing users to remotely monitor the environmental data of each growth room through the applet.
[0011] Furthermore, the growth room environment monitoring module collects the temperature, humidity, air pressure, light intensity and PM2.5 concentration data in the growth room through temperature and humidity sensors, pressure sensors, light intensity sensors and PM2.5 sensors, and transmits the collected raw data to the embedded development board equipped with the Loongson 1C102 chip of the Loongson architecture (LoongArch) through the data bus. After receiving the sensor data, the chip performs data verification and comprehensive data processing, and the processed data is ready to be transmitted through the wireless communication unit.
[0012] Furthermore, the growth room environment monitoring module uses a weighted average method to comprehensively process the data of multiple sensors, and its calculation formula is: Where n is the total number of sensors, w i is the weight coefficient of the i-th sensor, indicating the relative importance of the sensor data in the fusion result, and satisfies c i is the environmental data value collected and preprocessed by the i-th sensor.
[0013] Furthermore, the growth room environment monitoring module uses a data verification algorithm to verify the collected data. Specifically, for the collected environmental parameters T measured , by defining the check function f(T measured,T min ,T max ) to determine that the collected data is within a reasonable range and has no significant abnormalities. The judgment formula is: Among them, 1 means the verification passed, and 0 means the verification failed.
[0014] Furthermore, the laboratory terminal receives wireless transmission data from the growth room environment monitoring module through the TCP protocol. The received data is stored in a local database for subsequent analysis and query, and the received environmental data is uploaded to the cloud IoT server using the MQTT protocol. At the same time, the visualization program on the terminal displays the environmental data of each growth room in real time. The program compares the current data with the preset environmental parameter threshold. If the data exceeds the threshold, an alarm mechanism is triggered. The alarm mechanism sends an alarm email to a preset mailbox through the HTTP protocol to notify the user.
[0015] Furthermore, the laboratory terminal uses a threshold comparison algorithm to determine whether the environmental parameter exceeds the threshold. Specifically, the data value D of the environmental parameter at different time points t is received. t , set D min and D max are the minimum and maximum thresholds of the parameter respectively, then the mathematical formula of the threshold comparison algorithm is expressed as: For abnormal situations, the alarm mechanism is triggered.
[0016] Furthermore, the cloud IoT server receives environmental data uploaded from the laboratory terminal through the MQTT protocol, and the received data is centrally managed and distributed in the cloud. According to the request of the WeChat applet, the cloud IoT server provides corresponding environmental data services through the HTTP / HTTPS protocol.
[0017] Furthermore, the mobile WeChat applet receives environmental data from the cloud IoT server through the HTTP / HTTPS protocol, and the received environmental data is displayed on the applet interface, including temperature, humidity, air pressure, light intensity and PM2.5 concentration. At the same time, users can view the real-time environmental data of each growth room through the applet, and conduct remote monitoring and management.
[0018] Furthermore, the growth room environment monitoring module is designed with an expandable sensor interface, and the embedded software and laboratory terminal software supporting the growth room environment monitoring module both have an expandable software architecture, allowing users to add new sensor types according to actual needs to monitor more environmental parameters.
[0019] Furthermore, the laboratory terminal has a data backup and recovery function, which can regularly back up the stored environmental data to an external storage device or the cloud, and restore the data from the backup when necessary.
[0020] Compared with the existing technology, the experimental animal growth room environment quality monitoring system based on Loongson Pie has the following beneficial effects:
[0021] 1. The present invention can collect the actual environmental data inside the growth room in real time and accurately by directly installing various sensors inside the experimental animal growth room, effectively avoiding the data deviation caused by indirect measurement from the air supply and exhaust ducts in the traditional method, thereby significantly improving the accuracy of environmental monitoring.
[0022] 2. The present invention uses a laboratory terminal to display the environmental data of each growth room in real time, and compares the current data with a preset environmental parameter threshold. Once the data exceeds the threshold, the system will automatically trigger an alarm mechanism and send an alarm email to a preset mailbox via the HTTP protocol to promptly notify the user. This not only improves the intelligence level of the system, but also enables users to quickly respond to environmental changes and take corresponding control measures.
[0023] Other advantages, objectives and features of the present invention will be set forth in part in the following description and, in part, will be apparent to those skilled in the art based on an examination of the following or may be taught from the practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces 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 invention, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0025] Figure 1 This is a process operation diagram of the environmental quality monitoring system for experimental animal growth rooms based on Loongson Pi.
[0026] Figure 2 This is a structural schematic diagram of an experimental animal growth room environmental quality monitoring system based on Loongson Pi. DETAILED DESCRIPTION
[0027] The technical solutions in the embodiments of the present invention are described clearly and completely below. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0028] Embodiment 1
[0029] This embodiment describes in detail how a Loongson-based experimental animal growth room environment quality monitoring system can achieve all-weather environmental monitoring and early warning.
[0030] First, in each experimental animal growth room, temperature and humidity sensors, pressure sensors, light intensity sensors and PM2.5 sensors are installed at preset positions. These sensors are responsible for collecting environmental data in the growth room in real time. All sensors are connected to the embedded development board equipped with the Loongson 1C102 chip through a data bus (such as I2C, SPI, etc.). The Loongson 1C102 chip is based on the Loongson architecture (LoongArch) and has powerful data processing capabilities. After receiving the raw data from the sensor, the embedded development board first performs data verification to ensure the accuracy and completeness of the data, and then performs format conversion to meet the needs of data transmission. Finally, the processed data is wirelessly transmitted to the laboratory terminal through the built-in wireless communication unit (such as a Wi-Fi module or a 4G module).
[0031] After that, the laboratory terminal is configured. The laboratory terminal is equipped with a network interface. It receives wireless transmission data from the growth room environment monitoring module through the TCP protocol. The received data is stored in the local database in real time for subsequent analysis and query. The visualization program is installed and configured on the laboratory terminal. The program can read the environmental data in the database in real time and display it on the screen in the form of charts, dashboards, etc. Users can intuitively see the environmental parameters such as temperature, humidity, air pressure, light intensity and PM2.5 concentration of each growth room through the program. At the same time, users can set the alarm threshold of the environmental parameters through the visualization program. Once the monitored data exceeds the set threshold, the program will automatically trigger the alarm mechanism. Specifically, D t is the data value of the environmental parameter received at time point t, T min and T max are the minimum and maximum thresholds of the parameter respectively, then the mathematical formula of the threshold comparison algorithm is expressed as: The alarm mechanism sends an alarm email to a preset mailbox via the HTTP protocol. The email details the abnormal environmental parameters and their current values so that researchers can take timely measures.
[0032] Then, the laboratory terminal uses the MQTT protocol to upload the collected environmental data to the cloud IoT server. The MQTT protocol is lightweight, low-overhead, and highly reliable, making it very suitable for data transmission of IoT devices. The cloud IoT server centrally manages and distributes the received data. The server adopts a high-availability architecture design to ensure data reliability and security. At the same time, the server provides functions such as data query, statistical analysis, and report generation to provide comprehensive data support for scientific researchers.
[0033] Researchers use the HTTP / HTTPS protocol to receive environmental data from the cloud IoT server through the WeChat mini-program on their smartphones or tablets. The WeChat mini-program is cross-platform and easy to use, allowing researchers to check the environmental conditions of the experimental animal growth room anytime and anywhere. On the mini-program interface, researchers can view real-time environmental data of each growth room, including temperature, humidity, air pressure, light intensity and PM2.5 concentration. At the same time, the mini-program also provides historical data query, alarm record viewing and other functions to help researchers fully understand the environmental conditions and conduct remote management.
[0034] In summary, this embodiment realizes all-weather monitoring and early warning of the experimental animal growth room environment through the experimental animal growth room environment quality monitoring system based on Loongson Pie, providing a strong guarantee for the smooth progress of scientific research experiments.
[0035] Embodiment 2
[0036] This embodiment describes in detail an application of a Loongson-based experimental animal growth room environment quality monitoring system in the comprehensive processing of environmental data and scalability monitoring.
[0037] First, appropriate sensors are selected according to the experimental requirements, including but not limited to temperature and humidity sensors, pressure sensors, light intensity sensors, PM2.5 sensors, etc., and are reasonably deployed in the growth room to fully cover the monitoring area. Then, a set of data verification algorithms is designed and implemented. The algorithm ensures that the received data is both physically reasonable and has no significant abnormalities by setting a reasonable parameter range, threshold checking, and outlier removal. Specifically, for the collected environmental parameters T measured , by defining the check function f(T measured ,T min ,T max ) to determine that the collected data is within a reasonable range and has no significant abnormalities. The judgment formula is: Among them, 1 means the verification is passed, and 0 means the verification is not passed. By defining a special verification function for each environmental parameter, the actual measurement value is compared with the preset standard to determine whether the data is valid. Only the data that passes the verification will be further processed and transmitted, thereby ensuring the data quality. At the same time, a weight coefficient is assigned to each sensor. These coefficients are determined based on the accuracy and stability of the sensor and the degree of importance attached to each parameter in the experiment. The data collected by each sensor is fused into a comprehensive environmental data value through the weighted average method. The specific formula can be expressed as: Where n is the total number of sensors, w i is the weight coefficient of the i-th sensor, indicating the relative importance of the sensor data in the fusion result, and satisfies c i It is the environmental data value collected and preprocessed by the i-th sensor. The processed comprehensive environmental data is sent to the laboratory terminal in real time through the wireless communication unit (such as Wi-Fi, Zigbee, etc.) for scientific researchers to view and analyze.
[0038] Secondly, expandable sensor interfaces are reserved in the growth room environment monitoring module. These interfaces support multiple communication protocols (such as I2C, SPI, etc.) to quickly access new types of sensors. A modular design concept is adopted to separate the sensor data acquisition, processing and communication functions into independent modules for easy maintenance and upgrading. New sensors only need to be connected to the data bus according to established standards to achieve plug-and-play. At the same time, a firmware upgrade function is provided for the embedded development board, which supports updating software programs remotely or locally to adapt to the addition of new sensors and changes in monitoring needs.
[0039] Finally, the laboratory terminal sets up scheduled tasks to regularly back up the stored environmental data to external storage devices (such as hard disk arrays, NAS, etc.) or cloud servers to ensure the security and recoverability of the data. In the event of data loss or damage, the data can be quickly restored from the backup to support scientific researchers to continue data analysis and research work. At the same time, a data recovery plan and emergency response mechanism are established to deal with emergencies.
[0040] In summary, this embodiment successfully constructs a Loongson-based experimental animal growth room environmental quality monitoring system with multi-sensor data comprehensive processing capabilities and high scalability. The system not only improves the accuracy and real-time performance of environmental monitoring of experimental animal growth rooms, but also provides the scientific research team with flexible and changeable monitoring solutions to meet different experimental needs.
[0041] Embodiment 3
[0042] The steps of the system based on the first and second embodiments are as follows:
[0043] (1) System installation and configuration: An environmental monitoring module containing temperature and humidity sensors, pressure sensors, light intensity sensors, and PM2.5 sensors is installed inside each experimental animal growth room, and an antenna exposed outside the facility is installed to facilitate data transmission. A laboratory terminal equipped with a Loongson 2K1000LA chip is installed and configured in the laboratory. At the same time, a cloud IoT server is configured, the MQTT protocol is set up to receive data uploaded by the laboratory terminal, and the HTTP / HTTPS protocol is configured to provide data services to the mobile WeChat applet;
[0044] (2) System startup and initialization: Start the growth room environment monitoring module, load the visualization program, and connect to the cloud IoT server. The cloud IoT server starts running and waits to receive data from the laboratory terminal. Open the mobile WeChat applet, log in to the account, and connect to the cloud IoT server to prepare to view the data;
[0045] (3) Data monitoring and recording: The growth room environment monitoring module continuously collects environmental data such as temperature and humidity, pressure, light intensity, and PM2.5 concentration, and transmits it to the laboratory terminal in real time through the wireless communication unit. After the laboratory terminal receives the data, it is stored in the local database and displayed in real time on the visual interface for users to view. At the same time, the laboratory terminal regularly stores the data to the cloud IoT server to ensure the security and accessibility of the data;
[0046] (4) Alarm and notification: Set the alarm threshold of environmental parameters in the visualization program of the laboratory terminal. When the monitored environmental data exceeds the set alarm threshold, the laboratory terminal will automatically trigger the alarm function and send an alarm email to relevant personnel through the preset mailbox;
[0047] (5) Remote management and viewing: Users can remotely view the real-time environmental data of each growth room through the WeChat applet on the mobile terminal. It also provides data analysis functions. Users can view and analyze historical data to evaluate the changing trend of the environmental quality of the growth room. Users can also remotely adjust the set values of environmental parameters through the WeChat applet to adapt to different experimental needs.
[0048] (6) System maintenance and upgrade: Regularly check the operating status of the growth room environment monitoring module, laboratory terminal, cloud IoT server, and mobile WeChat applet to ensure stable system operation. According to needs, upgrade the software of the embedded development board, laboratory terminal, cloud IoT server, and WeChat applet to add new functions or fix known problems.
[0049] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
Claims
1. A system for monitoring the environmental quality of experimental animal growth rooms based on Loongson Pie, characterized in that: The system includes the following components: growth room environment monitoring module, laboratory terminal, cloud IoT server and mobile WeChat applet; The growth room environment monitoring module directly collects environmental data inside the facility through various sensors, including but not limited to temperature, humidity, pressure, light intensity and PM2.5 concentration environmental data, and transmits data through an antenna exposed outside the facility; The laboratory terminal receives and stores the data transmitted by the growth room environment monitoring module, and uploads it to the cloud IoT server. At the same time, the terminal is equipped with a visualization program, which can display the environmental data of each growth room in real time, and supports users to set environmental parameters and alarm thresholds. If the monitored data exceeds the set value, the terminal will send an alarm email to a preset mailbox; The cloud IoT server is responsible for data flow and sends the collected environmental data to the mobile WeChat applet; The mobile WeChat applet receives and displays data transmitted by the cloud IoT server, allowing users to remotely monitor the environmental data of each growth room through the applet.
2. According to claim 1, a Loongson-based experimental animal growth room environment quality monitoring system is characterized in that: The growth room environment monitoring module collects the temperature, humidity, air pressure, light intensity and PM2.5 concentration data in the growth room through temperature and humidity sensors, pressure sensors, light intensity sensors and PM2.5 sensors, and transmits the collected raw data to the embedded development board equipped with the Loongson 1C102 chip of the Loongson architecture (LoongArch) through the data bus. After receiving the sensor data, the chip performs data verification and comprehensive data processing, and the processed data is ready to be transmitted through the wireless communication unit.
3. The system for monitoring the environmental quality of experimental animal growth rooms based on Loongson Pie according to claim 2, characterized in that: The growth room environment monitoring module uses a weighted average method to comprehensively process the data of multiple sensors, and its calculation formula is: Where n is the total number of sensors, w i is the weight coefficient of the i-th sensor, indicating the relative importance of the sensor data in the fusion result, and satisfies c i is the environmental data value collected and preprocessed by the i-th sensor.
4. The system for monitoring the environmental quality of experimental animal growth rooms based on Loongson Pie according to claim 2, characterized in that: The growth room environment monitoring module uses a data verification algorithm to verify the collected data. Specifically, for the collected environmental parameters T measured , by defining the check function f(T measured ,T min ,T max ) to determine that the collected data is within a reasonable range and has no significant abnormalities. The judgment formula is: Among them, 1 means the verification passed, and 0 means the verification failed.
5. The system for monitoring the environmental quality of experimental animal growth rooms based on Loongson Pie according to claim 1, characterized in that: The laboratory terminal receives wireless transmission data from the growth room environment monitoring module through the TCP protocol. The received data is stored in the local database for subsequent analysis and query, and the received environmental data is uploaded to the cloud IoT server using the MQTT protocol. At the same time, the visualization program on the terminal displays the environmental data of each growth room in real time. The program compares the current data with the preset environmental parameter threshold. If the data exceeds the threshold, an alarm mechanism is triggered. The alarm mechanism sends an alarm email to a preset mailbox through the HTTP protocol to notify the user.
6. The system for monitoring the environmental quality of experimental animal growth rooms based on Loongson Pie according to claim 5, characterized in that: The laboratory terminal uses a threshold comparison algorithm to determine whether the environmental parameter exceeds the threshold. Specifically, the data value D of the environmental parameter at different time points t is received. t , set D min and D max are the minimum and maximum thresholds of the parameter respectively, then the mathematical formula of the threshold comparison algorithm is expressed as: For abnormal situations, the alarm mechanism is triggered.
7. The Loongson-based experimental animal growth room environment quality monitoring system according to claim 1, characterized in that: The cloud IoT server receives environmental data uploaded from the laboratory terminal through the MQTT protocol. The received data is centrally managed and distributed in the cloud. According to the request of the WeChat applet, the cloud IoT server provides corresponding environmental data services through the HTTP / HTTPS protocol.
8. The Loongson-based experimental animal growth room environment quality monitoring system according to claim 1, characterized in that: The mobile WeChat applet receives environmental data from the cloud IoT server through the HTTP / HTTPS protocol. The received environmental data is displayed on the applet interface, including temperature, humidity, air pressure, light intensity and PM2.5 concentration. At the same time, users can view the real-time environmental data of each growth room through the applet, and conduct remote monitoring and management.
9. The Loongson-based experimental animal growth room environment quality monitoring system according to claim 1, characterized in that: The growth room environment monitoring module is designed with an expandable sensor interface. At the same time, the embedded software and laboratory terminal software supporting the growth room environment monitoring module both have an expandable software architecture, allowing users to add new sensor types according to actual needs to monitor more environmental parameters.
10. The Loongson-based experimental animal growth room environment quality monitoring system according to claim 4, characterized in that: The laboratory terminal has data backup and recovery functions, and can regularly back up the stored environmental data to an external storage device or the cloud, and restore the data from the backup when necessary.
