Intelligent control method and system for biological isolation device
By using convolutional neural networks and deep reinforcement learning models in biological isolation devices to optimize biometric identification and environmental control strategies, the problem of lack of intelligence in environmental control in the existing technology is solved and more efficient biological culture control is achieved.
Patent Information
- Application Number
- CN202410816459.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-24
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2044-06-24
AI Technical Summary
The environmental control of existing biological isolation devices lacks intelligent analysis and dynamic optimization capabilities, resulting in poor isolation culture effects and insufficient parameter control accuracy, making it difficult to achieve intelligent optimal control of the biological culture process.
By collecting environmental data in biological isolation devices, using convolutional neural networks for biometric identification and environmental status analysis, combined with deep reinforcement learning model generation and optimization of environmental control strategies, intelligent environmental parameter control is achieved.
It improves the intelligence and precise control capabilities of the biological isolation culture process, improves the survival rate and growth quality of biological culture, and reduces manual operation costs.
Smart Images

Figure CN118393898B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent control technology, and in particular to an intelligent control method and system for a biological isolation device. Background Art
[0002] In the prior art, there are many biological isolation devices that can isolate and cultivate specific organisms, and provide suitable conditions for the growth of organisms by artificially adjusting environmental parameters such as temperature, humidity, and light. Generally, a preset control program is used in combination with environmental sensor feedback to regulate the environment inside the device.
[0003] However, the existing biological isolation device environmental control mostly relies on manually set parameters and modes, lacking intelligent analysis and dynamic optimization capabilities. In particular, for different biological species, the dynamic control strategy of environmental parameters is difficult to quickly and intelligently generate and dynamically optimize, resulting in poor isolation culture effects, unsatisfactory parameter control accuracy, and difficulty in achieving intelligent optimization control of the biological culture process. The culture efficiency and survival rate need to be improved. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides an intelligent control method and system for a biological isolation device, which are used to improve the efficiency and accuracy of the intelligent control of the biological isolation device.
[0005] The present invention provides an intelligent control method for a biological isolation device, comprising: collecting environmental data of a preset biological isolation device to obtain biological environmental data, wherein the biological environmental data includes image data and sensor data;
[0006] Inputting the biological environment data into a preset intelligent recognition model for biological spectrum recognition to obtain biological recognition data, wherein the biological recognition data includes biological species, biological quantity and environmental status data;
[0007] Performing an environmental regulation strategy analysis on the biometric data to generate an environmental regulation strategy corresponding to the biological isolation device;
[0008] Inputting the environmental control strategy into a deep Q network to optimize the control strategy, obtaining a target control strategy, and controlling the environmental parameters of the biological isolation device through the target control strategy;
[0009] Real-time collection of real-time environmental parameters in the environmental parameter control process, and parameter change range analysis of the real-time environmental parameters to obtain a change range set;
[0010] A strategy evaluation is performed on the target control strategy according to the change amplitude set to obtain strategy evaluation data, and a control suggestion analysis is performed on the target control strategy according to the strategy evaluation data to obtain an intelligent control suggestion report.
[0011] In the present invention, the step of collecting environmental data of a preset biological isolation device to obtain biological environmental data, wherein the biological environmental data includes image data and sensor data, includes:
[0012] Capturing images of biological individuals in the biological isolation device to obtain image data;
[0013] Performing sensor collection on environmental parameters in the biological isolation device to obtain sensor data, wherein the sensor data includes temperature data, humidity data, light data and gas concentration data;
[0014] The image data and the sensor data are combined into the biological environment data.
[0015] In the present invention, the step of inputting the biological environment data into a preset intelligent recognition model for biological spectrum recognition to obtain biological recognition data, wherein the biological recognition data includes biological species, biological quantity and environmental status data, comprises:
[0016] Performing image preprocessing on the image data to obtain a preprocessed biological image;
[0017] Inputting the preprocessed biological image into the convolutional neural network of the intelligent recognition model, performing target detection on biological individuals, and obtaining multiple biological target frames;
[0018] Extracting regional features of biological individuals according to the multiple biological target frames to obtain a feature vector set;
[0019] Inputting the feature vector set into the convolutional neural network of the intelligent recognition model to identify the species of the biological individuals and obtain biological species labels;
[0020] Counting the number of the plurality of biological target frames to obtain the number of the biological species, and generating the biological species according to the biological species label;
[0021] Inputting the sensor data into the convolutional neural network to perform environmental state assessment to obtain environmental state data;
[0022] The biological species, biological quantity and environmental status data are fused to obtain initial recognition data, and the initial recognition data is processed by data dimension reduction to obtain the biological recognition data.
[0023] In the present invention, the step of performing environmental regulation strategy analysis on the biometric data to generate an environmental regulation strategy corresponding to the biological isolation device includes:
[0024] Extracting features from the biometric data to obtain a biometric feature vector;
[0025] Estimating model parameters of a preset biological growth model according to the biological feature vector to obtain biological growth parameters;
[0026] According to the biological growth parameters, a preset environmental regulation knowledge base is matched with rules to obtain an initial environmental regulation strategy set;
[0027] Performing strategy conflict detection on the initial environment control strategy set to obtain a conflict strategy pair;
[0028] According to the conflicting strategies, the preset strategy coordination model is optimized to obtain an optimized environment control strategy set;
[0029] Performing strategy evaluation on the optimized environment control strategy set to obtain a strategy evaluation value;
[0030] Performing strategy screening on the optimized environment control strategy set according to the strategy evaluation value to obtain candidate environment control strategies;
[0031] Performing multi-objective decision analysis on the candidate environmental control strategies to obtain the optimal environmental control strategy;
[0032] Generating controller parameters for a preset controller model according to the optimal environmental control strategy to obtain environmental control controller parameters;
[0033] An environmental control strategy corresponding to the biological isolation device is generated according to the environmental control controller parameters.
[0034] In the present invention, the step of inputting the environmental control strategy into a deep Q network to optimize the control strategy to obtain a target control strategy, and performing environmental parameter control on the biological isolation device by using the target control strategy includes:
[0035] Constructing a state space for the environmental control strategy to obtain a strategy state space;
[0036] Initializing the network structure of a preset deep Q network according to the strategy state space to obtain an initialized deep Q network;
[0037] Performing reinforcement learning on the initialized deep Q network according to the environmental control strategy to obtain a trained deep Q network model;
[0038] Optimizing the objective function of the trained deep Q network model to obtain an optimized deep Q network model;
[0039] Perform decision iteration on the environmental control strategy according to the optimized deep Q network model to obtain an optimal environmental control strategy sequence;
[0040] Performing time series analysis on the optimal environmental control strategy sequence to obtain a target control strategy;
[0041] Performing constraint analysis on the environmental parameter range of the biological isolation device according to the target control strategy to obtain a constrained environmental parameter control range;
[0042] Setting parameters of the environmental controller of the biological isolation device according to the constrained environmental parameter control range to obtain environmental parameter control instructions;
[0043] The environmental parameter control instruction is transmitted to the control terminal of the biological isolation device to control the environmental parameters of the biological isolation device.
[0044] In the present invention, the step of collecting the real-time environmental parameters in the process of environmental parameter control in real time and analyzing the parameter change amplitude of the real-time environmental parameters to obtain the change amplitude set includes:
[0045] Collecting data through the environmental sensor of the biological isolation device to obtain a real-time environmental parameter data stream;
[0046] Perform parameter estimation on a preset time series model according to the real-time environmental parameter data stream to obtain an estimated time series model;
[0047] Performing a stationarity test on the estimated time series model to obtain a stationarity test result;
[0048] Performing a stabilization process on the real-time environmental parameter data stream according to the stabilization test result to obtain stabilization real-time environmental parameter data;
[0049] Performing autocorrelation analysis on the stabilized real-time environmental parameter data to obtain an autocorrelation coefficient matrix;
[0050] Determine the model order of the preset ARIMA model according to the autocorrelation coefficient matrix to obtain the optimal ARIMA model;
[0051] Fitting and predicting the stabilized real-time environmental parameter data according to the optimal ARIMA model to obtain a predicted environmental parameter change trend;
[0052] Calculating the slope of the predicted environmental parameter change trend to obtain an environmental parameter change slope;
[0053] The preset change amplitude threshold is compared according to the change slope of the environmental parameter to obtain a change amplitude comparison result, and the change amplitude set is generated according to the change amplitude comparison result.
[0054] In the present invention, the step of performing a strategy evaluation on the target control strategy according to the change amplitude set to obtain strategy evaluation data, and performing a control suggestion analysis on the target control strategy according to the strategy evaluation data to obtain an intelligent control suggestion report includes:
[0055] Extracting features from the change amplitude set to obtain a change amplitude feature vector;
[0056] Performing model training on a preset strategy evaluation model according to the change amplitude feature vector to obtain a trained strategy evaluation model;
[0057] Performing strategy encoding on the target control strategy to obtain a strategy encoding vector;
[0058] Performing strategy score prediction based on the strategy encoding vector and the trained strategy evaluation model to obtain a strategy score;
[0059] Normalizing the strategy score to obtain a normalized strategy score; generating the strategy evaluation data according to the normalized strategy score;
[0060] Performing cluster analysis on the strategy evaluation data to obtain a strategy evaluation clustering result;
[0061] According to the strategy evaluation clustering result, a preset control suggestion rule library is matched to obtain a matched control suggestion set;
[0062] Performing semantic association analysis on the matched control suggestion set to obtain an associated control suggestion set;
[0063] The intelligent control suggestion report is generated according to the associated control suggestion set.
[0064] The present invention also provides an intelligent control system for a biological isolation device, comprising:
[0065] A collection module, used to collect environmental data of a preset biological isolation device to obtain biological environmental data, wherein the biological environmental data includes image data and sensor data;
[0066] An identification module, used for inputting the biological environment data into a preset intelligent identification model for biological spectrum identification to obtain biological identification data, wherein the biological identification data includes biological species, biological quantity and environmental status data;
[0067] A generation module, used to perform environmental regulation strategy analysis on the biometric data and generate an environmental regulation strategy corresponding to the biological isolation device;
[0068] An optimization module, used for inputting the environmental control strategy into a deep Q network to optimize the control strategy, obtain a target control strategy, and control the environmental parameters of the biological isolation device through the target control strategy;
[0069] An analysis module is used to collect real-time environmental parameters in the process of environmental parameter control in real time, and perform parameter change range analysis on the real-time environmental parameters to obtain a change range set;
[0070] An evaluation module is used to perform a strategy evaluation on the target control strategy according to the change amplitude set to obtain strategy evaluation data, and to perform a control suggestion analysis on the target control strategy according to the strategy evaluation data to obtain an intelligent control suggestion report.
[0071] In the technical solution provided by the present invention, by collecting data on the environment in the biological isolation device, using intelligent algorithm models such as convolutional neural networks to intelligently identify biological species and quantities, combining intelligent algorithm analysis to generate dynamic environmental control strategies, and introducing deep reinforcement learning models to continuously optimize the strategies, intelligent control of biological isolation environmental parameters can be achieved. Specifically, this solution collects image data and environmental parameter sensor data in the isolation device, obtains complete biological living environment data through data fusion, uses convolutional neural networks to identify biological maps, accurately obtains information such as biological species and quantities in the device, and analyzes environmental state data, using multi-agent collaborative algorithms to dynamically generate optimized environmental control strategies, which can be targeted and intelligently adjusted according to biological characteristics. Environmental parameters. At the same time, this solution inputs the environmental control strategy into the deep reinforcement learning model for training optimization, and by introducing the reward and punishment mechanism of reinforcement learning, the control strategy can continuously optimize itself according to environmental feedback, thereby generating the optimal environmental parameter control strategy. In addition, this solution can also monitor and collect environmental parameter change data in real time, continuously track and analyze the execution process of the control strategy, evaluate the amplitude of the dynamic changes of environmental parameters, and perform real-time scoring and feedback optimization of the control strategy based on the evaluation data, so that the environmental control strategy can be intelligently and dynamically adjusted during the entire biological cultivation process. Based on the scoring data, the system can further intelligently generate optimization suggestions for the control strategy to provide decision-making references for users. Compared with the prior art, the present invention introduces a variety of artificial intelligence and deep learning technologies, and integrates algorithms such as image recognition, intelligent analysis, and reinforcement learning, so that the biological isolation device has the ability to intelligently perceive, analyze, and dynamically regulate the biological growth environment, overcoming the shortcomings of traditional reliance on manual experience to set parameters, greatly improving the intelligence and precise control capabilities of the biological isolation cultivation process, making environmental parameter adjustment more accurate and efficient, which is conducive to improving the survival rate and growth quality of biological cultivation and reducing manual operation costs. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0073] Figure 1 The present invention is a flowchart of an intelligent control method for a biological isolation device in an embodiment of the present invention.
[0074] Figure 2 Schematic diagram of an intelligent control system of a biological isolation device in an embodiment of the present invention.
[0075] Reference numerals:
[0076] 201, acquisition module; 202, identification module; 203, generation module; 204, optimization module; 205, analysis module; 206, evaluation module. DETAILED DESCRIPTION
[0077] The technical solution of the present invention will be described clearly and completely below in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. 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.
[0078] In the description of the present invention, it should be noted that the terms “first”, “second” and “third” are only used for descriptive purposes and cannot be understood as indicating or implying relative importance.
[0079] In addition, the technical features involved in the different embodiments of the present invention described below can be combined with each other as long as they do not conflict with each other.
[0080] For ease of understanding, the specific process of the embodiment of the present invention is described below. Figure 1 , Figure 1 is a flow chart of an intelligent control method for a biological isolation device according to an embodiment of the present invention. Figure 1 As shown, the following steps are included:
[0081] S101, collecting environmental data of a preset biological isolation device to obtain biological environmental data, wherein the biological environmental data includes image data and sensor data;
[0082] S102, inputting the biological environment data into a preset intelligent recognition model for biological spectrum recognition to obtain biological recognition data, wherein the biological recognition data includes biological species, biological quantity and environmental status data;
[0083] S103, performing environmental regulation strategy analysis on the biometric data to generate an environmental regulation strategy corresponding to the biological isolation device;
[0084] S104, inputting the environmental control strategy into the deep Q network to optimize the control strategy, obtaining the target control strategy, and controlling the environmental parameters of the biological isolation device through the target control strategy;
[0085] S105, collecting real-time environmental parameters in the environmental parameter control process in real time, and performing parameter change range analysis on the real-time environmental parameters to obtain a change range set;
[0086] S106. Performing a strategy evaluation on the target control strategy according to the change amplitude set to obtain strategy evaluation data, and performing a control suggestion analysis on the target control strategy according to the strategy evaluation data to obtain an intelligent control suggestion report.
[0087] It should be noted that comprehensive environmental data collection is performed on the preset biological isolation device. Among them, by deploying high-definition cameras inside the device, clear biological individual image data can be collected to capture the growth status and behavioral characteristics of the organism. At the same time, various types of environmental sensors, such as temperature and humidity sensors, light sensors, gas composition detection sensors, etc., need to be installed in the isolation device to collect environmental parameter data inside the device in real time. Through the organic combination of image data and sensor data, biological environmental data that fully reflects the biological and environmental conditions in the isolation device can be obtained. Next, the collected biological environmental data needs to be input into the preset intelligent recognition model to perform intelligent recognition of biological maps. For example, a deep learning algorithm based on a convolutional neural network can be used to train a large number of biological images so that the model can learn to automatically extract biological features and accurately identify different species. This intelligent model can not only identify the types of organisms, but also accurately count the number of organisms in the isolation device through the target detection algorithm. At the same time, the model can also analyze the environmental parameter sensor data to evaluate the environmental conditions in the isolation device, such as whether the temperature and humidity are suitable. Through the analysis of the intelligent recognition model, comprehensive biometric data can be obtained, including key information such as biological species, quantity and environmental status, providing a decision-making basis for subsequent intelligent regulation. After obtaining the biometric data, the system will automatically carry out intelligent analysis of the environmental regulation strategy. This process can be done with the help of a multi-agent collaborative algorithm, comprehensively consider the growth needs of different biological species, analyze historical environmental parameters and biological growth data, and dynamically generate the optimal environmental regulation strategy based on the actual situation in the current isolation device. For example, for a certain temperature-sensitive microbial cell, the algorithm can formulate an accurate temperature regulation curve based on its growth curve and metabolic characteristics, and dynamically adjust the temperature at different stages to ensure the optimal growth of the cell. At the same time, the algorithm can also weigh the mutual influence of multiple environmental factors, such as light intensity and CO2 concentration, and comprehensively regulate multiple parameters to create a comprehensive optimal living environment. In order to further improve the accuracy and real-time performance of the regulation strategy, the system also introduces a regulation strategy optimization module based on deep reinforcement learning. Deep reinforcement learning is a cutting-edge algorithm that combines deep learning and reinforcement learning, which can continuously optimize decision-making strategies through continuous self-learning. Specifically, the generated environmental control strategy is input into the pre-trained deep Q network (DQN). Through repeated trial and error and learning in the simulation environment, DQN can continuously optimize the strategy. In this process, DQN will comprehensively analyze the environmental feedback data and biological growth status, and continuously adjust the strategy through the reward and punishment mechanism, and finally obtain a dynamically optimal target control strategy. This strategy can adaptively adjust according to the changes in real-time environmental parameters, control the environmental parameters of the isolation device in the best way, and realize precise and dynamic intelligent control. It is worth mentioning that during the execution of the control strategy, the system will also collect real-time data on changes in environmental parameters and analyze the amplitude of parameter changes.Through data mining algorithms, the system can capture the key features and trends of environmental parameter changes and generate a set of change amplitudes. This set of change amplitudes can be used as an important evaluation basis for real-time evaluation and scoring of the currently executed target control strategy. For example, if the temperature fluctuation amplitude exceeds the threshold within a certain period of time, it can be judged that the current control strategy has deviated in temperature management and needs to be corrected in time. Through the data of the change amplitude set, the system can generate strategy evaluation data in real time to provide feedback and improvement direction for the online optimization of the control strategy. Based on the real-time strategy evaluation, the system will further generate an intelligent control recommendation report based on the strategy scoring data. This report summarizes the problems and potential improvement points in the strategy execution process and gives targeted optimization suggestions. For example, for the humidity control strategy with a low score, the system may recommend adjusting the spray frequency and duration of the humidifier, and optimizing the coordinated control with temperature and ventilation. The managers of the biological isolation device can refer to this intelligent report and combine professional judgment to further optimize the control strategy manually, while accumulating experience data for the next stage of intelligent learning.
[0088] By executing the above steps, data is collected on the environment in the biological isolation device, and intelligent algorithm models such as convolutional neural networks are used to intelligently identify biological species and quantities, etc., and dynamic environmental control strategies are generated by combining intelligent algorithm analysis, and deep reinforcement learning models are introduced to continuously optimize the strategies, so that intelligent control of biological isolation environmental parameters can be achieved. Specifically, this solution collects image data and environmental parameter sensor data in the isolation device, obtains complete biological living environment data through data fusion, uses convolutional neural networks to identify biological maps, accurately obtains information such as biological species and quantities in the device, and analyzes environmental state data. The optimized environmental control strategy is dynamically generated using a multi-agent collaborative algorithm, and the environmental parameters can be intelligently adjusted according to biological characteristics. At the same time, this solution inputs the environmental control strategy into the deep reinforcement learning model for training and optimization. By introducing the reward and punishment mechanism of reinforcement learning, the control strategy can continuously optimize itself according to environmental feedback, thereby generating the optimal environmental parameter control strategy. In addition, this solution can also monitor and collect environmental parameter change data in real time, continuously track and analyze the execution process of the control strategy, evaluate the amplitude of the dynamic changes of environmental parameters, and perform real-time scoring and feedback optimization of the control strategy based on the evaluation data, so that the environmental control strategy can be intelligently and dynamically adjusted during the entire biological cultivation process. Based on the scoring data, the system can further intelligently generate optimization suggestions for the control strategy to provide decision-making references for users. Compared with the prior art, the present invention introduces a variety of artificial intelligence and deep learning technologies, and integrates algorithms such as image recognition, intelligent analysis, and reinforcement learning, so that the biological isolation device has the ability to intelligently perceive, analyze, and dynamically regulate the biological growth environment, overcoming the shortcomings of traditional reliance on manual experience to set parameters, greatly improving the intelligence and precise control capabilities of the biological isolation cultivation process, making environmental parameter adjustment more accurate and efficient, which is conducive to improving the survival rate and growth quality of biological cultivation and reducing manual operation costs.
[0089] In a specific embodiment, the process of executing step S101 may specifically include the following steps:
[0090] (1) Capturing images of biological individuals in a biological isolation device to obtain image data;
[0091] (2) Collecting environmental parameters in the biological isolation device through sensors to obtain sensor data, wherein the sensor data includes temperature data, humidity data, light data, and gas concentration data;
[0092] (3) Merge image data and sensor data into biological environment data.
[0093] Specifically, a high-resolution digital camera is installed in the isolation device. These cameras are arranged at different positions of the device to achieve full coverage of the biological growth space without dead angle shooting. At the same time, the camera must also have functions such as automatic focus, zoom and light adaptation to adapt to the changes in light inside the isolation device and always ensure the clarity of the image. For example, in a plant tissue culture device, multiple micro cameras can be installed at different levels of the growth rack to record the entire process of plant growth in real time and capture the morphological changes of leaves, stems and roots. Through image acquisition, a large amount of plant growth image data can be obtained, laying the foundation for subsequent intelligent identification and analysis. At the same time, in order to fully grasp the environmental status in the isolation device, it is also necessary to equip a variety of environmental sensors to collect key parameters such as temperature, humidity, light intensity and gas concentration in the device in real time. Temperature and humidity sensors can be arranged in different areas of the device to monitor the local and overall temperature and humidity distribution in real time. This is crucial for accurately controlling the temperature and humidity environment in the device, especially for organisms that are sensitive to temperature and humidity, such as insects and fungi. Through real-time feedback of temperature and humidity data, the system can dynamically adjust the working state of refrigeration, heating and humidification equipment according to the needs of organisms to create an optimal living environment. Light intensity sensors can be used to monitor the lighting conditions in the device, which is particularly important for organisms such as plants and algae that need to photosynthesize. Sensors can be distributed in different lighting areas to measure the photon flux density (PPFD) in real time to provide data support for intelligent lighting control. For example, in a microalgae cultivation device, the spectrum and intensity of the LED light array can be adjusted in real time according to the optimal lighting requirements of the algae species to simulate the circadian rhythm and optimize photosynthetic efficiency and biomass yield. In addition, gas concentration sensors need to be installed in the isolation device to monitor the concentration changes of key gases such as carbon dioxide, oxygen, and nitrogen in real time. This is crucial for biological cultivation processes that require precise control of the gas environment, such as animal cell culture and anaerobic fermentation. Through real-time feedback of gas concentration data, the intelligent control system can dynamically adjust the ventilation volume and gas composition to optimize the metabolic activity and product synthesis efficiency of the organism. The collected image data and environmental parameter data need to be preprocessed and fused to form a structured biological environment data set. Image data first needs to be screened for quality, and blurred, underexposed or overexposed images are eliminated to ensure data availability. Then, an image stitching algorithm can be used to seamlessly stitch images collected from different angles and at different time points to form a continuous image sequence of biological growth. Environmental parameter data needs to be synchronized and calibrated in time to ensure the consistency of data collected by different sensors in time and value. Finally, the processed image data and environmental parameter data need to be intelligently associated and fused. By matching timestamps, biological images at a specific moment can be matched one-to-one with parameters such as temperature, humidity, and light at the same time point, and the association between images and parameters can be established. This multi-dimensional data fusion can provide a more comprehensive and three-dimensional perspective for intelligent analysis.For example, the growth images of plants in a certain period can be combined with the temperature, humidity and light data of the same period for analysis to discover the potential correlation between changes in environmental parameters and plant growth status, and then optimize the control strategy.
[0094] In a specific embodiment, the process of executing step S102 may specifically include the following steps:
[0095] (1) performing image preprocessing on the image data to obtain a preprocessed biological image;
[0096] (2) Input the preprocessed biological image into the convolutional neural network of the intelligent recognition model to detect the biological individual and obtain multiple biological target frames;
[0097] (3) Extract regional features of biological individuals based on multiple biological target frames to obtain a feature vector set;
[0098] (4) Input the feature vector set into the convolutional neural network of the intelligent recognition model to identify the species of the biological individuals and obtain the biological species label;
[0099] (5) Count the number of multiple biological target frames to obtain the number of organisms, and generate the biological species based on the biological species label;
[0100] (6) Input the sensor data into the convolutional neural network to evaluate the environmental status and obtain the environmental status data;
[0101] (7) The biological species, biological quantity and environmental status data are fused to obtain initial identification data, and the initial identification data is subjected to data dimensionality reduction processing to obtain biological identification data.
[0102] Specifically, the original collected image data may be affected by factors such as uneven illumination and lens distortion, and there may be noise or distortion problems. In order to improve the accuracy of subsequent recognition, the image needs to be preprocessed. Common image preprocessing techniques include image denoising, enhancement, correction, etc. For example, the median filtering algorithm can be used to remove salt and pepper noise in the image, the histogram equalization algorithm can be used to enhance the contrast of the image, and the perspective transformation algorithm can be used to correct the distortion of the lens. After a series of preprocessing operations, biological images with higher quality and clearer features can be obtained, laying the foundation for subsequent intelligent recognition. Next, the preprocessed biological image needs to be input into the intelligent recognition model for detection and recognition of biological individuals. In this scheme, a deep learning model based on convolutional neural network (CNN) is used to achieve this function. CNN is a neural network structure that is good at extracting local features of images. Through operations such as convolution and pooling, it can automatically learn key feature patterns in images and realize end-to-end image recognition. First, the pre-trained CNN model is used to detect targets in biological images and locate each biological individual in the image. Common target detection algorithms such as YOLO and Faster R-CNN can quickly and accurately select the position of biological individuals in the image and generate multiple biological target frames. For example, in the image of the insect breeding device, the target detection model can automatically locate and select the position of each insect, and can accurately separate the insects even if there is partial occlusion or overlap between the individual insects. After obtaining the biological target frame, it is necessary to further extract the regional features of each biological individual. The image area within each target frame can be mapped to a fixed-size feature map using techniques such as ROI (Region of Interest) pooling to extract feature vectors that represent the visual features of the biological individual. These feature vectors contain key information such as the appearance, texture, and color of the biological individual, and are an important basis for species identification. Next, the extracted biological individual feature vector set is input into another CNN model to identify the species of each individual. This CNN model is pre-trained on a large number of labeled biological images and can map the feature vectors of biological individuals to specific species labels. For example, in plant phenotyping, the CNN model can determine which variety or genotype a plant belongs to based on the features of the plant image. Even if the differences between different varieties are very subtle, CNN can achieve accurate classification through the learned deep features. By identifying the species of each individual organism, complete biological species label information can be obtained. While identifying the species of the organism, the number of biological target frames can also be counted to obtain the total number of biological individuals in the isolation device. This information is very important for subsequent biological density control and growth assessment. Combining biological species labels and quantity information, a complete biological population information table can be generated, which records in detail the name and quantity of each type of organism in the isolation device.In addition to intelligent recognition of image data, it is also necessary to analyze environmental parameter sensor data to evaluate the environmental status of the organism. Sensor data is usually collected in the form of time series, recording the continuous changes of parameters such as temperature, humidity, and light over a period of time. In order to extract the key features in these time series data, they can be converted into images and CNN can be used for feature learning and environmental status evaluation. For example, the data sequence of the temperature sensor is converted into a two-dimensional temperature heat map, and the gradient, distribution and other patterns are learned through CNN to determine whether the ambient temperature is in a suitable range. Similarly, parameters such as humidity and light can also be converted into corresponding data images for CNN environmental status analysis. Finally, the identified biological information (type, quantity) and environmental status data need to be fused to generate a comprehensive initial recognition result. In order to optimize the storage and processing efficiency of data, this high-dimensional recognition data can also be compressed by dimensionality reduction. Commonly used data dimensionality reduction methods such as principal component analysis (PCA) and t-SNE can significantly reduce the dimension and redundancy of data while retaining the core features of the data. For example, in a biological isolation device used to preserve medicinal plant germplasm resources, the image data inside the device is first collected and preprocessed, and then the target detection and species recognition models are used to accurately locate and identify the species of each plant and count their number. At the same time, the intelligent analysis of environmental sensor data can monitor the temperature, humidity, light and other conditions in the device in real time to ensure that the plants are in the best growth environment. The multi-dimensional data obtained through image recognition and sensor analysis is fused and reduced in dimension to form a streamlined and comprehensive biometric data set. Based on this data set, the dynamic changes of plant communities in the isolation device can be grasped, the preservation status of germplasm resources can be evaluated, and data support can be provided for subsequent directional regulation and optimization management.
[0103] In a specific embodiment, the process of executing step S103 may specifically include the following steps:
[0104] (1) Extract features from biometric data to obtain biometric feature vectors;
[0105] (2) Estimate the model parameters of the preset biological growth model according to the biological feature vector to obtain the biological growth parameters;
[0106] (3) Match the rules of the preset environmental regulation knowledge base according to the biological growth parameters to obtain the initial environmental regulation strategy set;
[0107] (4) Perform strategy conflict detection on the initial environment control strategy set to obtain conflicting strategy pairs;
[0108] (5) Optimize the preset strategy coordination model according to the conflicting strategies to obtain the optimized environment control strategy set;
[0109] (6) Performing strategy evaluation on the optimized environmental control strategy set to obtain a strategy evaluation value;
[0110] (7) Screening the optimized environmental control strategy set according to the strategy evaluation value to obtain candidate environmental control strategies;
[0111] (8) Conduct multi-objective decision analysis on candidate environmental control strategies to obtain the optimal environmental control strategy;
[0112] (9) Generate controller parameters for the preset controller model according to the optimal environmental control strategy to obtain environmental control controller parameters;
[0113] (10) Generate an environmental control strategy corresponding to the biological isolation device based on the environmental control controller parameters.
[0114] Specifically, feature extraction is performed on the biometric data to extract key features that can characterize the growth status of organisms, such as the leaf area index and chlorophyll content of plants, and the body length and weight of animals. This step usually uses feature engineering techniques in machine learning, such as feature selection and feature transformation, to convert the original high-dimensional recognition data into relatively low-dimensional biological feature vectors, reducing the complexity of subsequent modeling and optimization. Next, the extracted biological feature vectors need to be input into the pre-built biological growth model to estimate and optimize the model parameters. The biological growth model is based on a large amount of biological research and experimental data, using mathematical equations or machine learning algorithms, and can characterize the growth and development laws of specific organisms under different environmental conditions. Common biological growth models include photosynthesis models of plants and energy distribution models of animals. By substituting the real-time collected biological feature data into the model and using parameter estimation techniques such as maximum likelihood estimation and Bayesian estimation, the key parameters of the model can be dynamically updated so that it can more accurately reflect the current growth status of the organism. After obtaining the optimized biological growth model parameters, these parameters can be used to retrieve and match the preset environmental regulation knowledge base to generate an initial set of environmental regulation strategies. The environmental regulation knowledge base is constructed based on expert knowledge, literature data, etc., and contains the optimal growth parameter ranges and regulation rules for different biological species under various environmental conditions. For example, the knowledge base may record the optimal growth conditions of a certain plant under different temperatures, humidity, and light intensities, as well as the corresponding regulation methods (such as ventilation, supplementary lighting, irrigation, etc.). By matching the biological growth parameters with the rules in the knowledge base, a set of initial environmental regulation strategies can be quickly generated as the basis for subsequent optimization. However, since the initial strategies are generated based on general knowledge, there may be some conflicts or inconsistencies between the strategies. For example, for the same environmental parameter (such as temperature), the regulation ranges given by different strategies may overlap or contradict each other. In order to eliminate these conflicts, conflict detection is required for the initial strategy set. A common method is to formalize the strategy as a first-order logic rule, and then use a logical reasoning engine to perform consistency checks to find all the strategy pairs that cause conflicts. After the conflicting strategies are found, they need to be further optimized and adjusted using the preset strategy collaboration model. The strategy collaboration model is a mathematical model based on game theory, multi-objective programming and other theories. Its goal is to find the optimal balance point between multiple strategies under the premise of satisfying constraints, so that they can work together to achieve the global goal. In the environmental control of biological isolation devices, the goals of collaborative optimization may include maximizing biological growth rate, minimizing energy consumption costs, etc. By inputting conflicting strategy pairs into the collaborative model and solving them using convex optimization, evolutionary algorithms and other methods, a set of optimized and adjusted environmental control strategies can be obtained, eliminating conflicts between strategies and achieving collaboration between strategies. In order to select the best environmental control strategy from the optimized strategy set, each strategy needs to be evaluated and screened.Strategy evaluation is usually based on multiple performance indicators, such as biological growth quality, environmental stability, energy efficiency, etc., to quantitatively score the performance of each strategy. Commonly used strategy evaluation methods such as hierarchical analysis method and fuzzy comprehensive evaluation can combine qualitative and quantitative indicators to obtain a comprehensive strategy evaluation value. According to the evaluation value, the optimized strategy set can be sorted and screened to obtain a set of candidate high-quality environmental control strategies. Finally, in order to select the final execution strategy from the candidate strategies, multi-objective decision analysis is also required. Since the environmental control process often involves multiple mutually constrained goals (such as output, quality, cost, etc.), a single evaluation indicator is difficult to fully reflect the pros and cons of the strategy. Multi-objective decision methods such as Pareto optimality and TOPSIS can make trade-offs between multiple goals and obtain an optimal strategy that performs well in all goals. After determining the optimal environmental control strategy, it is also necessary to convert it into specific controller parameters to guide the actuator of the isolation device to adjust the environment. This step requires the use of pre-built controller models, such as PID control models, fuzzy control models, etc. By inputting the parameters of the optimal strategy into the controller model, after a series of mathematical calculations and logical reasoning, the working parameters of each actuator (such as air conditioner, humidifier, fill light, etc.) can be automatically generated to form a complete set of environmental control strategies to guide the real-time environmental optimization control of the isolation device. For example, in a biological isolation device for breeding experimental mice, the body length and weight data of the mice and the temperature and humidity data in the cage are first obtained through image recognition and environmental sensing, and the feature vector representing the growth status of the mice is obtained through feature extraction. Then, these feature data are used to estimate the parameters of the pre-constructed mouse growth model to obtain the current growth and development parameters of the mice. According to these parameters, a set of temperature and humidity control strategies suitable for mouse growth are retrieved from the environmental regulation knowledge base, and conflict detection and collaborative optimization are performed on them to obtain a set of optimized control strategy sets. After multi-objective decision analysis, an optimal strategy that takes into account both mouse comfort and energy consumption is finally selected, and the control parameters of the air conditioner and humidifier of the isolation device are automatically generated according to the strategy. By implementing this set of intelligently optimized environmental control strategies, the growth of mice can be significantly improved, and the scientificity and repeatability of animal experiments can be improved.
[0115] In a specific embodiment, the process of executing step S104 may specifically include the following steps:
[0116] (1) Construct the state space of the environmental control strategy to obtain the strategy state space;
[0117] (2) Initializing the network structure of the preset deep Q network according to the strategy state space to obtain an initialized deep Q network;
[0118] (3) Perform reinforcement learning on the initialized deep Q network according to the environmental control strategy to obtain a trained deep Q network model;
[0119] (4) Optimizing the objective function of the trained deep Q network model to obtain an optimized deep Q network model;
[0120] (5) Iterate the decision of the environmental control strategy according to the optimized deep Q network model to obtain the optimal environmental control strategy sequence;
[0121] (6) Conduct time series analysis on the optimal environmental control strategy sequence to obtain the target control strategy;
[0122] (7) Perform constraint analysis on the environmental parameter range of the biological isolation device according to the target control strategy to obtain the environmental parameter control range after constraint;
[0123] (8) Setting parameters of the environmental controller of the biological isolation device according to the constrained environmental parameter control range to obtain environmental parameter control instructions;
[0124] (9) Transmitting environmental parameter control instructions to the control terminal of the biological isolation device to control the environmental parameters of the biological isolation device.
[0125] Specifically, the state space of the environmental control strategy is constructed. The state space refers to a set of variables that describe the state of the system at different times. In the environmental control of the biological isolation device, the state variables can include environmental parameters such as temperature, humidity, and light intensity, as well as performance indicators such as biological growth status and energy consumption. By discretizing and combining these variables, a limited policy state space can be obtained as the basis of the reinforcement learning model. Next, it is necessary to initialize the preset deep Q network (DQN) according to the constructed policy state space. DQN is a reinforcement learning algorithm based on the value function. It learns the optimal decision-making strategy by continuously estimating and updating the state-action value function (Q function). When initializing DQN, it is necessary to design a suitable network structure according to the dimension and range of the state space, such as the number of neurons in the input layer, the number of hidden layers, and the activation function, so as to ensure that the model has sufficient capacity to fit the complex policy function. At the same time, it is also necessary to initialize the weight parameters of the model. Usually, methods such as Xavier initialization are used to make the distribution of the initial parameters reasonable, which is conducive to the convergence of the model. After obtaining the initialized DQN model, it is necessary to use the environmental control strategy to perform reinforcement learning training on it. Specifically, by interacting with the biological isolation device environment, sample data of state transitions and rewards are continuously collected, and these data are used to train and optimize the DQN model. In each decision step, the agent (i.e., decision model) selects an action (i.e., environmental control strategy) through the DQN model according to the current environmental state, and observes the changes in the environmental state and the rewards obtained after executing the action. The design of the reward function needs to comprehensively consider multiple factors such as biological growth quality, environmental stability, and energy consumption to guide the model to learn the optimal control strategy. Through continuous trial and error learning and Q value updates, the DQN model can gradually master the inherent laws of environmental control and learn a policy function with good performance. However, due to the complexity and uncertainty of the biological growth environment, the DQN model obtained by preliminary training may not be stable and optimized enough. In order to further improve the performance of the model, it is necessary to optimize the objective function of the trained DQN model. The objective function is a mathematical expression that measures the performance of the model, which is usually constructed based on indicators such as cumulative rewards and policy entropy. Common optimization algorithms such as gradient descent and adaptive momentum estimation (Adam) continuously adjust the model parameters to update them in the direction of maximizing the objective function to obtain a more optimized policy model. In this process, cross-validation, early stopping and other techniques can be used to prevent overfitting and improve the generalization ability of the model. The optimized DQN model is able to autonomously select the optimal control strategy based on the environmental state. However, in practical applications, it is often necessary to give a continuous and dynamically adjusted strategy sequence to adapt to real-time changes in the biological growth process. To this end, the optimized DQN model can be used to perform multi-step decision iterations on the environmental control strategy.Specifically, starting from the initial state, an optimal action is selected through the DQN model, the action is executed and the change of the environmental state is observed, and then the next action is selected again through the DQN model in the new state, and it is iterated until the preset number of decision steps or termination conditions are reached. Through this rolling decision optimization, a dynamically adjusted optimal environmental control strategy sequence can be obtained to achieve real-time optimization control of the biological growth process. Considering the continuity and smoothness requirements of the environmental control of the biological isolation device, it is also necessary to perform time series analysis and processing on the obtained optimal strategy sequence. Through smoothing filtering, curve fitting and other operations on the strategy sequence, a continuous and smooth target control strategy curve can be obtained, eliminating the sudden jump and jitter of the strategy change, making the adjustment of environmental parameters more stable. At the same time, some constraints can be imposed on the target control strategy based on prior knowledge, such as the rate of change of environmental parameters, amplitude limit, etc., to ensure the executability and safety of the strategy. Finally, the optimized target control strategy needs to be converted into specific environmental controller parameters and sent to the control terminal of the biological isolation device to achieve real-time control of the device environment. This step requires constraint analysis and setting of the working parameters of each controller of the device (such as air conditioner, humidifier, LED light, etc.) according to the strategy curve, such as temperature setting value, humidity threshold, light intensity, etc., to obtain a set of environmental parameter control instructions. By transmitting these instructions to the control system of the device, the environmental conditions in the isolation device can be accurately controlled to achieve intelligent optimization and regulation based on reinforcement learning. For example, in a biological isolation device for culturing cell drugs, the state space of key environmental parameters such as temperature, pH value, dissolved oxygen content, and biological growth indicators such as cell density and product concentration are first constructed to obtain a multi-dimensional strategy state space. Then, based on this state space, a three-layer DQN neural network model is designed and initialized. Through continuous interaction with the isolation device environment, the model is reinforced with learning training using real-time collected environmental and biological data. During the training process, a reward function that comprehensively considers cell growth rate, product quality, and energy consumption is designed to guide the model to learn the optimal environmental control strategy. After multiple rounds of iterative optimization, a DQN model with excellent performance was obtained. It can autonomously select the best combination of temperature, pH value and dissolved oxygen level according to the different stages of cell growth, and dynamically adjust the stirring rate and feeding strategy to maximize the cell growth efficiency and the synthesis rate of the target product. By performing time series analysis and smoothing on the optimized strategy sequence, a continuous and smooth environmental parameter control curve was obtained, and the working instructions of each controller were automatically generated based on the curve, such as the temperature setting value change curve over time, the pH value control threshold, etc. After these instructions were sent to the control system of the bioreactor, the precise dynamic control of the cell growth environment was realized, which greatly improved the yield and quality of drug production and reduced energy consumption and manual operation intensity.
[0126] In a specific embodiment, the process of executing step S105 may specifically include the following steps:
[0127] (1) Collect data through the environmental sensors of the biological isolation device to obtain real-time environmental parameter data stream;
[0128] (2) Estimate the parameters of the preset time series model according to the real-time environmental parameter data stream to obtain the estimated time series model;
[0129] (3) Perform a stationarity test on the estimated time series model and obtain the stationarity test results;
[0130] (4) Performing a stabilization process on the real-time environmental parameter data stream according to the stabilization test result to obtain the stabilized real-time environmental parameter data;
[0131] (5) Perform autocorrelation analysis on the stabilized real-time environmental parameter data to obtain the autocorrelation coefficient matrix;
[0132] (6) Determine the model order of the preset ARIMA model according to the autocorrelation coefficient matrix to obtain the optimal ARIMA model;
[0133] (7) Fit and predict the stabilized real-time environmental parameter data according to the optimal ARIMA model to obtain the predicted environmental parameter change trend;
[0134] (8) Calculate the slope of the predicted environmental parameter change trend to obtain the environmental parameter change slope;
[0135] (9) Compare the preset change amplitude threshold value according to the change slope of the environmental parameter to obtain the change amplitude comparison result, and generate the change amplitude set according to the change amplitude comparison result.
[0136] Specifically, various sensors inside the biological isolation device continuously collect environmental parameter data at a certain frequency to form a real-time updated time series data stream. These data may include temperature, humidity, CO2 concentration, dissolved oxygen content, etc., which are usually recorded and transmitted at fixed time intervals (such as every minute). In order to ensure the accuracy and reliability of the data, the selection, layout and calibration of the sensors need to be carefully designed and repeatedly tested. At the same time, it is also necessary to perform necessary preprocessing on the collected data, such as removing outliers, smoothing noise, etc., to improve data quality. Next, it is necessary to estimate and optimize the parameters of the pre-built time series model based on the collected real-time environmental parameter data stream. Commonly used time series models such as ARMA and ARIMA can make short-term predictions on future data by characterizing the autocorrelation and trend of the data. When estimating parameters, statistical methods such as maximum likelihood estimation (MLE) and least squares are usually used to continuously update the key parameters of the model according to real-time data, such as autoregressive coefficients, sliding average coefficients, etc., so that the model can dynamically adapt to the changing trend of the data. However, most time series models require that the data meet the assumption of stationarity, that is, the statistical characteristics of the data (such as mean, variance, etc.) remain unchanged over time. However, the actual collected environmental parameter data often have strong non-stationarity, such as temperature data may have obvious daily periodic fluctuations. In order to meet the stationarity requirements of the model, it is necessary to perform a stationarity test on the estimated time series model. Commonly used methods include ADF test and PP test. Through the test, it can be determined whether the data has non-stationary factors such as unit root and trend. If the result of the stationarity test shows that the data is non-stationary, it is necessary to stabilize the real-time data stream. Common stabilization methods include difference method, moving average method, seasonal decomposition method, etc. For example, for temperature data, the first-order difference method can be used, that is, the temperature value at the current moment is subtracted from the temperature value at the previous moment to obtain the time series of temperature change, thereby eliminating the trend in the temperature series. After stabilization, a stable real-time environmental parameter data stream is obtained, which meets the basic assumptions of time series modeling. After obtaining the stabilized data, it is necessary to further analyze the autocorrelation of the data, that is, the degree of correlation between the current moment data and the historical data. By calculating the autocorrelation coefficient (ACF) and partial autocorrelation coefficient (PACF) of the data, an autocorrelation coefficient matrix can be obtained, which describes the correlation of data under different lag orders. Autocorrelation analysis can help determine the key orders in the time series model, such as the autoregressive order (p) and the moving average order (q) in the ARIMA model. According to the autocorrelation coefficient matrix, the order of the preset ARIMA model can be selected and optimized. By comparing the goodness of fit of the model under different order combinations (such as AIC, BIC criteria), the optimal ARIMA model structure, that is, the best combination of p, d, q values, can be determined.This step usually requires a combination of expert experience and automated search algorithms (such as grid search, Bayesian optimization, etc.) to find the best performance among many possible models. After determining the optimal ARIMA model, the model can be used to fit and predict the real-time environmental parameter data after stabilization. By substituting historical data into the model and estimating the model parameters, a well-fitting time series model can be obtained. Based on this model, the change trend of environmental parameters in the future period can be predicted, such as predicting the temperature trend in the next hour. This short-term prediction can provide an important decision-making basis for the intelligent control system, enabling it to adjust the control strategy in advance to deal with possible environmental anomalies. In order to further quantify the rate of change of environmental parameters, the slope of the predicted change trend can also be calculated. By calculating the first-order derivative of the prediction curve, the rate of change of environmental parameters at different times, that is, the change amplitude of the parameters per unit time, can be obtained. This indicator can reflect the stability and volatility of environmental conditions, which is very important for judging the execution effect of the control strategy. Finally, the calculated slope of environmental parameter change needs to be compared with the preset change amplitude threshold to obtain a change amplitude comparison result. For example, if the temperature change rate exceeds the threshold of 0.5℃ / min, it can be judged that the fluctuation amplitude of the current ambient temperature is abnormal, and timely measures need to be taken to adjust it. By setting the change amplitude threshold, the safe change range of environmental parameters can be defined. When the actual change amplitude exceeds the threshold, the system will automatically generate an alarm signal to indicate the potential risk of environmental abnormality. At the same time, according to the change amplitude comparison result, a change amplitude set can be generated to record the change amplitude of environmental parameters at different time points, providing data support for subsequent trend analysis and abnormal diagnosis. For example, in a biological isolation greenhouse for cultivating genetically modified plants, multiple temperature and humidity sensors are arranged in different areas to collect environmental parameter data inside the greenhouse at a frequency of 5 minutes. By preprocessing and stationarity test of the collected temperature time series, it is found that it has obvious daily periodic fluctuations and an upward trend. In order to meet the requirements of ARIMA modeling, the temperature series is subjected to first-order difference and seasonal difference to obtain a stable temperature change series. Then, through autocorrelation analysis and order optimization, an optimal SARIMA (seasonal ARIMA) model is determined, which can well fit the periodicity and trend of the temperature series. Using this model, the temperature change trend in the greenhouse can be predicted within the next 24 hours, and the temperature change slope at each moment can be calculated. The temperature change threshold is set to 0.2°C / min. When the predicted change rate exceeds this threshold, the system will automatically trigger an alarm, indicating that the temperature may fluctuate abnormally and that the working status of the air conditioning and ventilation equipment needs to be adjusted in time to ensure the best growth environment for the plants.At the same time, the system will also record the temperature change amplitude at each moment to form a set of change amplitudes for subsequent environmental condition analysis and optimization.
[0137] In a specific embodiment, the process of executing step S106 may specifically include the following steps:
[0138] (1) Extract features from the change amplitude set to obtain the change amplitude feature vector;
[0139] (2) Training the preset strategy evaluation model according to the change amplitude feature vector to obtain a trained strategy evaluation model;
[0140] (3) Encode the target control strategy and obtain a strategy encoding vector;
[0141] (4) Predict the strategy score based on the strategy encoding vector and the trained strategy evaluation model to obtain the strategy score;
[0142] (5) Normalizing the strategy scores to obtain normalized strategy scores; Generating strategy evaluation data based on the normalized strategy scores;
[0143] (6) Perform cluster analysis on the strategy evaluation data to obtain the strategy evaluation clustering results;
[0144] (7) Match the rules of the preset control suggestion rule library according to the strategy evaluation clustering results to obtain the matched control suggestion set;
[0145] (8) Performing semantic association analysis on the matched control suggestion set to obtain an associated control suggestion set;
[0146] (9) Generate an intelligent control recommendation report based on the associated control recommendation set.
[0147] It should be noted that feature extraction is performed on the change amplitude set to extract key features that can reflect the characteristics of environmental changes, such as statistical quantities such as the mean, variance, and kurtosis of the change amplitude, morphological features such as the slope and curvature of the change curve, and temporal features such as the frequency and period of the change. Through feature engineering, the original change amplitude time series can be converted into a compact feature vector, which reduces the dimension of the data and highlights the key information. Next, the extracted change amplitude feature vector needs to be used to train and optimize the pre-built strategy evaluation model. The strategy evaluation model usually uses machine learning algorithms, such as support vector machines (SVM) and random forests, to establish a mapping relationship between strategy scores and environmental changes by learning the association between strategy execution effects and change characteristics in a large amount of historical data. During the training process, the change amplitude feature vector is used as the input of the model, and the actual execution effect of the strategy in the corresponding time period (such as environmental stability, energy consumption, etc.) is used as the target output of the model. The supervised learning algorithm is used to continuously adjust the parameters of the model to minimize the error between the predicted score and the actual score. Through repeated training and verification, a strategy evaluation model with good generalization performance can be obtained, which can accurately predict the pros and cons of strategies based on the characteristics of environmental changes. In the application stage, when a new candidate environmental control strategy is obtained, the strategy needs to be encoded and characterized first. A common strategy encoding method is to combine the various parameters of the strategy (such as temperature setting value, humidity threshold, etc.) into a multidimensional vector, where each dimension represents a control variable. In this way, complex control strategies can be converted into a standardized strategy encoding vector, which is convenient for subsequent analysis and evaluation. With the strategy encoding vector and the trained strategy evaluation model, the execution effect of the candidate strategy can be predicted and scored. Specifically, the strategy encoding vector is input into the evaluation model, and the model calculates a comprehensive strategy score based on the control parameter information contained in the strategy vector and the internally learned evaluation rules. This score reflects the expected execution effect of the strategy under the current environmental conditions. The higher the score, the better the environmental adaptability and robustness of the strategy. In order to facilitate the comparison and ranking between strategies, the obtained strategy scores need to be normalized. Common normalization methods include maximum and minimum value normalization, z-score normalization, etc. By mapping the original score to a standard interval such as [0, 1] or [-1, 1], the influence of different scoring dimensions and scales is eliminated. The normalized strategy scores are more interpretable, making it easier for decision makers to intuitively understand and compare the pros and cons of different strategies. Based on the normalized strategy scores, a strategy evaluation dataset can be generated, recording the key parameters and corresponding comprehensive scores of each candidate regulation strategy. This evaluation dataset provides an important reference for subsequent strategy optimization and adjustment.In order to further explore the group characteristics and rules in the evaluation data, data mining techniques such as cluster analysis can be used to classify strategies with similar scores and similar features into the same category to obtain a strategy evaluation clustering result. Cluster analysis can help discover the commonalities and heterogeneity of different strategies, identify excellent strategy clusters, and provide inspiration for strategy improvement and innovation. After obtaining the strategy evaluation clustering results, the preset control suggestion rule library can be used to provide targeted optimization suggestions for different strategy clusters. The control suggestion rule library is refined based on expert experience and historical optimization case summaries, and contains a series of "if-then" decision rules, such as "If the temperature fluctuates too much, it is recommended to appropriately reduce the temperature setting value". By matching the strategy characteristics in the clustering results with the conditional part in the rule library, the optimization suggestions applicable to the current strategy can be quickly retrieved to obtain a matched control suggestion set. However, due to the possible semantic similarity and logical overlap between the suggestion rules, directly providing the matched suggestion set to the decision maker may cause certain redundancy and confusion. In order to improve the readability and operability of the suggestions, it is also necessary to perform semantic association analysis on the matched suggestion set. Through natural language processing technology, the semantic similarity between different suggestions can be calculated, and suggestions with similar expressions can be identified. The association rule mining algorithm can be used to discover the co-occurrence rules and causal relationships between different suggestions. Based on semantic similarity and association strength, the original suggestion set can be merged, deleted and reorganized to obtain a semantically coherent and logically clear set of associated suggestions. Finally, the optimized set of associated suggestions is organized into an intelligent control suggestion report as a diagnosis and improvement opinion on the current environmental control strategy. The suggestion report not only contains the specific content of each optimization suggestion, but also includes corresponding data analysis charts and case descriptions to help decision makers intuitively understand the basis and expected effects of the optimization suggestions. At the same time, the report will also evaluate the priority and feasibility of the suggestions, and provide a suggestion execution roadmap from easy to difficult and from simple to complex. For example, in a biological isolation cabin used to raise experimental mice, a potential problem was discovered through real-time monitoring of the temperature and humidity changes: when adding feed and water to mice, the temperature and humidity will fluctuate greatly due to the frequent opening and closing of the cabin door, affecting the growth of mice and the experimental results. In order to optimize the environmental control strategy, we first extracted the features of the temperature and humidity change data during the time period and obtained a feature vector containing indicators such as fluctuation mean, frequency, and duration. Then, we input the feature vector into the pre-trained strategy evaluation model to obtain the comprehensive score of the current strategy. By comparing with other candidate strategies, we found that the current strategy did not perform well in dealing with sudden changes in temperature and humidity and needed to be optimized and adjusted.According to the cluster analysis results of the strategy scores, some relevant optimization measures were retrieved from the control suggestion rule base, such as "increasing the operating power of air conditioning and dehumidification equipment during the opening of the cabin door", "shortening the duration of the cabin door opening", "pre-adjusting the temperature and humidity in the cabin to the target value before feeding", etc. After semantic association analysis, these suggestions were compiled into an optimization plan report, which suggested that the breeder adjust the temperature and humidity in the cabin to the optimal range before adding feed, and at the same time achieve precise quantitative feeding through automated equipment to minimize the time the cabin door is opened. By implementing these optimization measures, the stability of the mouse growth environment has been significantly improved, and the reliability and consistency of the experimental data have also been significantly improved.
[0148] See also Figure 2 The embodiment of the present invention further provides an intelligent control system for a biological isolation device, and the intelligent control system for the biological isolation device specifically includes:
[0149] The acquisition module 201 is used to acquire environmental data of a preset biological isolation device to obtain biological environmental data, wherein the biological environmental data includes image data and sensor data;
[0150] The recognition module 202 is used to input the biological environment data into a preset intelligent recognition model to perform biological spectrum recognition to obtain biological recognition data, wherein the biological recognition data includes biological species, biological quantity and environmental status data;
[0151] A generation module 203, configured to perform an environmental regulation strategy analysis on the biometric identification data and generate an environmental regulation strategy corresponding to the bio-isolation device;
[0152] An optimization module 204 is used to input the environmental control strategy into a deep Q network to optimize the control strategy, obtain a target control strategy, and control the environmental parameters of the biological isolation device through the target control strategy;
[0153] The analysis module 205 is used to collect the real-time environmental parameters in the process of environmental parameter control in real time, and perform parameter change range analysis on the real-time environmental parameters to obtain a change range set;
[0154] The evaluation module 206 is used to perform a strategy evaluation on the target control strategy according to the change amplitude set to obtain strategy evaluation data, and perform a control suggestion analysis on the target control strategy according to the strategy evaluation data to obtain an intelligent control suggestion report.
[0155] Through the collaborative work of the above modules, by collecting data on the environment in the biological isolation device, using intelligent algorithm models such as convolutional neural networks to intelligently identify biological species and quantities, combining intelligent algorithm analysis to generate dynamic environmental control strategies, and introducing deep reinforcement learning models to continuously optimize the strategies, intelligent control of biological isolation environmental parameters can be achieved. Specifically, this solution collects image data and environmental parameter sensor data in the isolation device, obtains complete biological living environment data through data fusion, uses convolutional neural networks to identify biological maps, accurately obtains information such as biological species and quantities in the device, and analyzes environmental state data. The optimized environmental control strategy is dynamically generated using a multi-agent collaborative algorithm, and the environmental parameters can be intelligently adjusted according to biological characteristics. At the same time, this solution inputs the environmental control strategy into the deep reinforcement learning model for training and optimization. By introducing the reward and punishment mechanism of reinforcement learning, the control strategy can continuously optimize itself according to environmental feedback, thereby generating the optimal environmental parameter control strategy. In addition, this solution can also monitor and collect environmental parameter change data in real time, continuously track and analyze the execution process of the control strategy, evaluate the amplitude of the dynamic changes of environmental parameters, and perform real-time scoring and feedback optimization of the control strategy based on the evaluation data, so that the environmental control strategy can be intelligently and dynamically adjusted during the entire biological cultivation process. Based on the scoring data, the system can further intelligently generate optimization suggestions for the control strategy to provide decision-making references for users. Compared with the prior art, the present invention introduces a variety of artificial intelligence and deep learning technologies, and integrates algorithms such as image recognition, intelligent analysis, and reinforcement learning, so that the biological isolation device has the ability to intelligently perceive, analyze, and dynamically regulate the biological growth environment, overcoming the shortcomings of traditional reliance on manual experience to set parameters, greatly improving the intelligence and precise control capabilities of the biological isolation cultivation process, making environmental parameter adjustment more accurate and efficient, which is conducive to improving the survival rate and growth quality of biological cultivation and reducing manual operation costs.
[0156] The above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit the same. Although the present invention has been described in detail with reference to the embodiments, a person skilled in the art should understand that the specific implementation modes of the present invention can still be modified or replaced by equivalents, and any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be included in the scope of the claims of the present invention.
Claims
1. An intelligent control method for a biological isolation device, characterized in that: include: Collecting environmental data of a preset biological isolation device to obtain biological environmental data, wherein the biological environmental data includes image data and sensor data; Inputting the biological environment data into a preset intelligent recognition model for biological spectrum recognition to obtain biological recognition data, wherein the biological recognition data includes biological species, biological quantity and environmental status data; Performing environmental regulation strategy analysis on the biometric data to generate an environmental regulation strategy corresponding to the biological isolation device, specifically comprising: performing feature extraction on the biometric data to obtain a biometric feature vector; performing model parameter estimation on a preset biological growth model according to the biometric feature vector to obtain biological growth parameters; performing rule matching on a preset environmental regulation knowledge base according to the biological growth parameters to obtain an initial environmental regulation strategy set; performing strategy conflict detection on the initial environmental regulation strategy set to obtain a conflict strategy pair; performing strategy optimization on a preset strategy collaboration model according to the conflict strategy pair to obtain an optimized environmental regulation strategy set; performing strategy evaluation on the optimized environmental regulation strategy set to obtain a strategy evaluation value; performing strategy screening on the optimized environmental regulation strategy set according to the strategy evaluation value to obtain candidate environmental regulation strategies; performing multi-objective decision analysis on the candidate environmental regulation strategies to obtain an optimal environmental regulation strategy; performing controller parameter generation on a preset controller model according to the optimal environmental regulation strategy to obtain environmental regulation controller parameters; generating an environmental regulation strategy corresponding to the biological isolation device according to the environmental regulation controller parameters; Inputting the environmental control strategy into a deep Q network to optimize the control strategy, obtaining a target control strategy, and controlling the environmental parameters of the biological isolation device through the target control strategy; Real-time collection of real-time environmental parameters in the environmental parameter control process, and parameter change range analysis of the real-time environmental parameters to obtain a change range set; A strategy evaluation is performed on the target control strategy according to the change amplitude set to obtain strategy evaluation data, and a control suggestion analysis is performed on the target control strategy according to the strategy evaluation data to obtain an intelligent control suggestion report.
2. The intelligent control method of the biological isolation device according to claim 1, characterized in that: The step of collecting environmental data of the preset biological isolation device to obtain biological environmental data, wherein the biological environmental data includes image data and sensor data, comprises: Capturing images of biological individuals in the biological isolation device to obtain image data; Performing sensor collection on environmental parameters in the biological isolation device to obtain sensor data, wherein the sensor data includes temperature data, humidity data, light data and gas concentration data; The image data and the sensor data are combined into the biological environment data.
3. The intelligent control method of the biological isolation device according to claim 1, characterized in that: The step of inputting the biological environment data into a preset intelligent recognition model for biological spectrum recognition to obtain biological recognition data, wherein the biological recognition data includes biological species, biological quantity and environmental status data, comprises: Performing image preprocessing on the image data to obtain a preprocessed biological image; Inputting the preprocessed biological image into the convolutional neural network of the intelligent recognition model, performing target detection on biological individuals, and obtaining multiple biological target frames; Extracting regional features of biological individuals according to the multiple biological target frames to obtain a feature vector set; Inputting the feature vector set into the convolutional neural network of the intelligent recognition model to identify the species of the biological individuals and obtain biological species labels; Counting the number of the plurality of biological target frames to obtain the number of the biological species, and generating the biological species according to the biological species label; Inputting the sensor data into the convolutional neural network to perform environmental state assessment to obtain environmental state data; The biological species, biological quantity and environmental status data are fused to obtain initial recognition data, and the initial recognition data is processed by data dimension reduction to obtain the biological recognition data.
4. The intelligent control method of the biological isolation device according to claim 1, characterized in that: The step of inputting the environmental control strategy into a deep Q network to optimize the control strategy, obtaining a target control strategy, and controlling the environmental parameters of the biological isolation device by using the target control strategy includes: Constructing a state space for the environmental control strategy to obtain a strategy state space; Initializing the network structure of a preset deep Q network according to the strategy state space to obtain an initialized deep Q network; Performing reinforcement learning on the initialized deep Q network according to the environmental control strategy to obtain a trained deep Q network model; Optimizing the objective function of the trained deep Q network model to obtain an optimized deep Q network model; Perform decision iteration on the environmental control strategy according to the optimized deep Q network model to obtain an optimal environmental control strategy sequence; Performing time series analysis on the optimal environmental control strategy sequence to obtain a target control strategy; Performing constraint analysis on the environmental parameter range of the biological isolation device according to the target control strategy to obtain a constrained environmental parameter control range; Setting parameters of the environmental controller of the biological isolation device according to the constrained environmental parameter control range to obtain environmental parameter control instructions; The environmental parameter control instruction is transmitted to the control terminal of the biological isolation device to control the environmental parameters of the biological isolation device.
5. The intelligent control method of the biological isolation device according to claim 1, characterized in that: The step of collecting the real-time environmental parameters in the process of environmental parameter control in real time and analyzing the parameter change amplitude of the real-time environmental parameters to obtain a change amplitude set includes: Collecting data through the environmental sensor of the biological isolation device to obtain a real-time environmental parameter data stream; Perform parameter estimation on a preset time series model according to the real-time environmental parameter data stream to obtain an estimated time series model; Performing a stationarity test on the estimated time series model to obtain a stationarity test result; Performing a stabilization process on the real-time environmental parameter data stream according to the stabilization test result to obtain stabilization real-time environmental parameter data; Performing autocorrelation analysis on the stabilized real-time environmental parameter data to obtain an autocorrelation coefficient matrix; Determine the model order of the preset ARIMA model according to the autocorrelation coefficient matrix to obtain the optimal ARIMA model; Fitting and predicting the stabilized real-time environmental parameter data according to the optimal ARIMA model to obtain a predicted environmental parameter change trend; Calculating the slope of the predicted environmental parameter change trend to obtain an environmental parameter change slope; The preset change amplitude threshold is compared according to the change slope of the environmental parameter to obtain a change amplitude comparison result, and the change amplitude set is generated according to the change amplitude comparison result.
6. The intelligent control method of the biological isolation device according to claim 5, characterized in that: The step of performing a strategy evaluation on the target control strategy according to the change amplitude set to obtain strategy evaluation data, and performing a control suggestion analysis on the target control strategy according to the strategy evaluation data to obtain an intelligent control suggestion report includes: Extracting features from the change amplitude set to obtain a change amplitude feature vector; Performing model training on a preset strategy evaluation model according to the change amplitude feature vector to obtain a trained strategy evaluation model; Performing strategy encoding on the target control strategy to obtain a strategy encoding vector; Performing strategy score prediction based on the strategy encoding vector and the trained strategy evaluation model to obtain a strategy score; Normalizing the strategy score to obtain a normalized strategy score; generating the strategy evaluation data according to the normalized strategy score; Performing cluster analysis on the strategy evaluation data to obtain a strategy evaluation clustering result; According to the strategy evaluation clustering result, a preset control suggestion rule library is matched to obtain a matched control suggestion set; Performing semantic association analysis on the matched control suggestion set to obtain an associated control suggestion set; The intelligent control suggestion report is generated according to the associated control suggestion set.
7. An intelligent control system for a biological isolation device, used to execute the intelligent control method for a biological isolation device according to any one of claims 1 to 6, characterized in that: include: A collection module, used to collect environmental data of a preset biological isolation device to obtain biological environmental data, wherein the biological environmental data includes image data and sensor data; An identification module, used for inputting the biological environment data into a preset intelligent identification model for biological spectrum identification to obtain biological identification data, wherein the biological identification data includes biological species, biological quantity and environmental status data; A generation module is used to perform environmental regulation strategy analysis on the biometric data and generate an environmental regulation strategy corresponding to the biological isolation device, specifically comprising: extracting features from the biometric data to obtain a biometric feature vector; estimating model parameters of a preset biological growth model based on the biometric feature vector to obtain biological growth parameters; matching rules of a preset environmental regulation knowledge base based on the biological growth parameters to obtain an initial environmental regulation strategy set; performing policy conflict detection on the initial environmental regulation strategy set to obtain a conflict strategy pair; performing policy optimization on a preset policy coordination model based on the conflict strategy pair to obtain an optimized environmental regulation strategy set; performing policy evaluation on the optimized environmental regulation strategy set to obtain a policy evaluation value; performing policy screening on the optimized environmental regulation strategy set based on the policy evaluation value to obtain candidate environmental regulation strategies; performing multi-objective decision analysis on the candidate environmental regulation strategies to obtain an optimal environmental regulation strategy; performing controller parameter generation on a preset controller model based on the optimal environmental regulation strategy to obtain environmental regulation controller parameters; generating an environmental regulation strategy corresponding to the biological isolation device based on the environmental regulation controller parameters; An optimization module, used for inputting the environmental control strategy into a deep Q network to optimize the control strategy, obtain a target control strategy, and control the environmental parameters of the biological isolation device through the target control strategy; An analysis module is used to collect real-time environmental parameters in the process of environmental parameter control in real time, and perform parameter change range analysis on the real-time environmental parameters to obtain a change range set; An evaluation module is used to perform a strategy evaluation on the target control strategy according to the change amplitude set to obtain strategy evaluation data, and to perform a control suggestion analysis on the target control strategy according to the strategy evaluation data to obtain an intelligent control suggestion report.
