Disclosure of Invention
The invention aims to provide an offshore eutrophication evaluation system, which solves the problems in the prior art.
In order to achieve the purpose, the invention provides the following scheme:
the invention provides an offshore eutrophication evaluation system, which comprises:
the acquisition module is used for acquiring offshore water body data and transmitting the offshore water body data to the preprocessing module and the storage module;
the storage module is used for storing the offshore water body data acquired by the acquisition module;
the preprocessing module is used for preprocessing the offshore water body data;
the processing module is used for processing the preprocessed offshore water body data to obtain a threshold value;
the early warning module is used for alarming when the detection value exceeds the threshold value;
the acquisition module is respectively connected with the storage module and the preprocessing module, and the preprocessing module is connected with the early warning module through the processing module.
Further, the acquisition module comprises a positioning unit, a total nitrogen sensor, a total phosphorus sensor and a chlorophyll a sensor, wherein the positioning unit is used for positioning the acquisition site, the total nitrogen sensor is used for measuring the total nitrogen content in the offshore water body, the total phosphorus sensor is used for measuring the total phosphorus content in the offshore water body, and the chlorophyll a sensor is used for measuring the chlorophyll a concentration in the offshore water body.
Further, the chlorophyll-a sensor includes an underwater fluorometer for making fluorescence measurements of the offshore body of water and a filter module for filtering the offshore body of water.
Further, the specific method for measuring the chlorophyll a concentration is as follows: filtering the offshore water body based on the filtering module, and measuring a fluorescence value once by using the underwater fluorometer after filtering is finished, wherein the fluorescence value is used as a first fluorescence value and is recorded; and after the measurement, extracting the offshore water body filtered by acetone, measuring a fluorescence value once by using a fluorimeter after the extraction is finished, taking the fluorescence value as a second fluorescence value and recording the second fluorescence value, and calculating based on the first fluorescence value and the second fluorescence value to obtain the chlorophyll a concentration.
Further, the specific method for processing the preprocessed offshore water data by the processing module is as follows: dividing the preprocessed offshore water body data into a training set and a testing set, training on the basis of a support vector machine, optimizing parameters of the processing module on the basis of a training result, finishing the training after the recognition accuracy is greater than a preset value, obtaining thresholds of the total nitrogen content, the total phosphorus content and the chlorophyll a concentration, and judging whether the state of the offshore water body is eutrophication or not by the processing module on the basis of the thresholds.
Further, the processing module is further configured to count the total nitrogen content, the total phosphorus content, and the chlorophyll-a concentration to form a bar graph, a line graph, and a pie graph.
Further, the offshore eutrophication evaluation system further comprises a display module for displaying the total nitrogen content, the total phosphorus content, the chlorophyll a concentration of the offshore water body, and the bar graph, the line graph and the pie graph in real time.
Furthermore, the alarm mode of the early warning module is audible and visual alarm, and specific alarm information is displayed on the display module.
The invention discloses the following technical effects:
the invention provides an offshore eutrophication evaluation system, which adopts various sensors to collect key parameters underwater and position the collected places, so that the positions of the parameters are convenient to confirm at the later stage, the accuracy of the system is improved, the concentration of chlorophyll a is measured by adopting a fluorescence method, multi-parameter evaluation is carried out, the accuracy of evaluating whether a water body is in an eutrophication state is improved, a processing module can calculate the threshold value of whether any offshore water body is in the eutrophication state by training the processing module through a support vector machine model, the influence of the diversity of variables in the water body on the evaluation accuracy is reduced, an alarm module timely alarms to help workers report and solve the eutrophication situation at the first time, and the efficiency of solving the offshore eutrophication problem is improved.
Detailed Description
Reference will now be made in detail to various exemplary embodiments of the invention, the detailed description should not be construed as limiting the invention but as a more detailed description of certain aspects, features and embodiments of the invention.
It is to be understood that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. Further, for numerical ranges in this disclosure, it is understood that each intervening value, between the upper and lower limit of that range, is also specifically disclosed. Every smaller range between any stated value or intervening value in a stated range and any other stated or intervening value in a stated range is encompassed within the invention. The upper and lower limits of these smaller ranges may independently be included or excluded in the range.
It will be apparent to those skilled in the art that various modifications and variations can be made in the specific embodiments of the present disclosure without departing from the scope or spirit of the disclosure. Other embodiments will be apparent to those skilled in the art from consideration of the specification. The specification and examples are exemplary only.
As used herein, the terms "comprising," "including," "having," "containing," and the like are open-ended terms that mean including, but not limited to.
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In order to make the aforementioned objects, features and advantages of the present invention comprehensible, embodiments accompanied with figures are described in further detail below.
The invention provides an offshore eutrophication evaluation system, as shown in fig. 1, comprising:
the acquisition module is used for acquiring offshore water body data and transmitting the offshore water body data to the preprocessing module and the storage module;
the storage module is used for storing the offshore water body data acquired by the acquisition module;
the preprocessing module is used for preprocessing the offshore water body data;
the processing module is used for processing the preprocessed offshore water body data to obtain a threshold value;
the early warning module is used for alarming when the detection value exceeds the threshold value;
the acquisition module is respectively connected with the storage module and the preprocessing module, and the preprocessing module is connected with the early warning module through the processing module.
Further, the acquisition module comprises a positioning unit, a total nitrogen sensor, a total phosphorus sensor and a chlorophyll a sensor, wherein the positioning unit is used for positioning the acquisition site, the total nitrogen sensor is used for measuring the total nitrogen content in the offshore water body, the total phosphorus sensor is used for measuring the total phosphorus content in the offshore water body, and the chlorophyll a sensor is used for measuring the chlorophyll a concentration in the offshore water body.
Further, the chlorophyll-a sensor includes an underwater fluorometer for making fluorescence measurements of the offshore body of water and a filter module for filtering the offshore body of water.
Further, the specific method for measuring the chlorophyll a concentration is as follows: filtering the offshore water body based on the filtering module, and measuring a fluorescence value once by using the underwater fluorometer after filtering is finished, wherein the fluorescence value is used as a first fluorescence value and is recorded; and after the measurement, extracting the offshore water body filtered by acetone, measuring a fluorescence value once by using a fluorimeter after the extraction is finished, taking the fluorescence value as a second fluorescence value and recording the second fluorescence value, and calculating based on the first fluorescence value and the second fluorescence value to obtain the chlorophyll a concentration.
Further, the specific method for processing the preprocessed offshore water data by the processing module is as follows: dividing the preprocessed offshore water body data into a training set and a testing set, training on the basis of a support vector machine, optimizing parameters of the processing module on the basis of a training result, finishing the training after the recognition accuracy is greater than a preset value, obtaining thresholds of the total nitrogen content, the total phosphorus content and the chlorophyll a concentration, and judging whether the state of the offshore water body is eutrophication or not by the processing module on the basis of the thresholds.
Further, the processing module is further configured to count the total nitrogen content, the total phosphorus content, and the chlorophyll-a concentration to form a bar graph, a line graph, and a pie graph.
Further, the offshore eutrophication evaluation system further comprises a display module for displaying the total nitrogen content, the total phosphorus content, the chlorophyll a concentration of the offshore water body, and the bar graph, the line graph and the pie graph in real time.
Furthermore, the alarm mode of the early warning module is audible and visual alarm, and specific alarm information is displayed on the display module.
The acquisition module also comprises a water level sensor, a water temperature sensor, a turbidity sensor, a temperature and humidity sensor, a water flow sensor, a PH sensor, a dissolved oxygen sensor and a conductivity sensor;
the positioning unit is a Beidou positioning module or a GPS positioning module
The total phosphorus sensor adopts a PhosphaxSigma total phosphorus on-line monitor, the total nitrogen sensor adopts an NHN-202 ammonia nitrogen digital sensor, and the chlorophyll a sensor adopts a Cyclops-7 underwater fluorometer;
the system also comprises a communication module used for alarming or communicating the mobile terminal, wherein the communication module comprises a cable and an optical cable in wired communication, 2G/3G/4G/LTE connection and WIFI/wireless local area network connection in wireless communication, and the mobile terminal comprises a mobile phone, a tablet computer or a notebook computer;
the processing module adopts a desktop computer or a notebook computer;
the display module 4 adopts a liquid crystal display screen;
chlorophyll a concentration measuring method: 1000ml of water sample is collected at each station, and the collected water sample is filtered by a GF/F glass fiber membrane with the aperture of 0.47 mu m. After filtration, extraction was carried out using 90% acetone for about 23-24 hours. And (3) measuring fluorescence values before acidification and after acidification by using a fluorometer, and finally calculating to obtain a chlorophyll a concentration value.
The working process of the preprocessing module comprises the following steps:
1. normalization
The method comprises the steps of normalizing all data by using a normalization function scaleFORSVM, storing the original data into a storage module in order to prevent the loss of original data information, normalizing according to each parameter during normalization, and normalizing the data to [ -1, 1] by default during normalization.
2. Dimensionality reduction pretreatment
The dimension reduction preprocessing process is a process of selecting parameter principal components, and the principal components are selected to achieve maximum explanation of the original variables, and the default is 90%.
The processing module works:
the kernel function adopted by the processing module is an RBF kernel function, so that a gamma factor (g) in the RBF kernel function is set, C and g are selected in a certain value range, the C and g are brought into a support vector machine model, and the C and g with the highest classification accuracy are selected as the optimal C and g. And if the minimum C corresponds to a plurality of groups of g, selecting the first group as the optimal parameter, and selecting the minimum C as the optimal parameter combination from all C and g which can achieve the highest classification accuracy, wherein the larger the C is, the more the learning phenomenon of the support vector machine model is caused, so that the classification accuracy of the classifier is reduced. In addition, a heuristic algorithm can be adopted to carry out parameter optimization of the support vector machine, the heuristic algorithm optimization method can realize parameter optimization in a larger range without traversing all parameter points in a grid, and the heuristic algorithm parameter optimization mainly comprises genetic algorithm parameter optimization (GA) and particle swarm optimization parameter optimization.
Selecting different training set sample numbers to respectively obtain three classification accuracy rates of the model, specifically comparing with a fuzzy comprehensive evaluation level, an NQI classification level, an E value classification level and a TRIX classification level, wherein the verification training set classification accuracy rate is the accuracy rate of classifying the training set of the model, the judgment prediction set classification accuracy rate is the classification accuracy rate obtained by judging the prediction set by the model, the cross verification average classification accuracy rate is the average accuracy rate under the cross verification thought and is also an important index for processing the effect of the module, the cross verification method obtains the average value of the classification accuracy rates by taking a plurality of groups of training sets and testing sets alternately, judges whether the average value exceeds a preset value, and finishes training if the average value exceeds the preset value.
In the description of the present invention, it is to be understood that the terms "longitudinal", "lateral", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", and the like, indicate orientations or positional relationships based on those shown in the drawings, are merely for convenience of description of the present invention, and do not indicate or imply that the referenced devices or elements must have a particular orientation, be constructed and operated in a particular orientation, and thus, are not to be construed as limiting the present invention.
The above-described embodiments are merely illustrative of the preferred embodiments of the present invention, and do not limit the scope of the present invention, and various modifications and improvements of the technical solutions of the present invention can be made by those skilled in the art without departing from the spirit of the present invention, and the technical solutions of the present invention are within the scope of the present invention defined by the claims.