Picosecond-level laser triggering and spectrum acquisition synchronous control method, terminal and system
By fitting and predicting historical information of the water quality analyzer cluster, adjusting the synchronization timing signal and reconstructing the network topology, the problems of time inaccuracy and anti-interference in the synchronization control of the water quality analyzer cluster were solved, and high-precision laser triggering and spectral acquisition were achieved.
Patent Information
- Application Number
- CN202511733388.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-24
- Publication Date
- 2026-02-27
- Estimated Expiration
- 2045-11-24
AI Technical Summary
In existing technologies, the synchronous control of laser triggering and spectral acquisition in water quality analyzer clusters suffers from inaccurate timing and insufficient anti-interference capabilities, especially when the communication link is blocked or fails, leading to control failure.
By performing polynomial fitting and water quality prediction on the historical water quality information of the water quality analyzer cluster to be synchronized, the initial synchronization time series signal is adjusted, the target synchronization time series signal is generated, and the network topology is reconstructed. The master and the water quality analyzers to be synchronized are then used for laser triggering and spectral acquisition synchronization control.
It improves the accuracy of laser triggering and spectral acquisition, as well as the anti-interference capability of the network topology, avoids control failure, and ensures the synchronous control accuracy of the water quality analyzer cluster.
Smart Images

Figure CN121577526A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical fields of data processing and water quality detection, and particularly relates to a picosecond-level laser triggering and spectrum acquisition synchronous control method, a terminal and a system. BACKGROUND
[0002] Water is a demand of human beings and natural systems, and monitoring of water quality is of great significance in protecting public health, environment and economy, agricultural irrigation, industrial manufacturing and the like.
[0003] At present, a large number of water quality analyzers, i.e. a water quality analyzer cluster, are used for water quality monitoring of a large area of water, in order to avoid data islands of water quality information collected by the water quality analyzer cluster, laser triggering and spectrum acquisition synchronous control needs to be performed on the water quality analyzer cluster.
[0004] In the prior art, a synchronization timing signal of a water quality analyzer cluster to be synchronized is directly generated by using an FPGA (Field-Programmable Gate Array), the synchronization timing signal generated by the FPGA is synchronously sent to all water quality analyzers to be synchronized in the water quality analyzer cluster to be synchronized, and thus laser triggering and spectrum acquisition synchronous control of the water quality analyzers to be synchronized in the water quality analyzer cluster to be synchronized is completed. Since the synchronization timing signal of the water quality analyzer cluster to be synchronized directly generated by the FPGA is generated based on a theoretical time of laser emitted by the water quality analyzer reaching a sample surface, there is a deviation between the actual time and the theoretical time of the laser emitted by the water quality analyzer reaching the sample surface, which leads to inaccuracy of a time for controlling the water quality analyzers to be synchronized in the water quality analyzer cluster to be synchronized to perform spectrum acquisition, and thus accuracy is insufficient when laser triggering and spectrum acquisition are performed. Meanwhile, if a communication link is blocked or fails in the process of synchronously sending the synchronization timing signal generated by the FPGA to all water quality analyzers to be synchronized in the water quality analyzer cluster to be synchronized, laser triggering and spectrum acquisition synchronous control of the entire water quality analyzer cluster to be synchronized is failed, and thus accuracy is insufficient when laser triggering and spectrum acquisition are performed. SUMMARY
[0005] The embodiment of the application provides a picosecond laser triggering and spectrum acquisition synchronization control method, a terminal and a system, water quality of a water area monitored by a to-be-synchronized water quality analyzer cluster can be predicted according to historical water quality information collected by the to-be-synchronized water quality analyzer cluster, first water quality information is obtained, an initial synchronization timing signal is adjusted according to the first water quality information, and a target synchronization timing signal is obtained, the accuracy of the target synchronization timing signal is improved, laser triggering and spectrum acquisition of a to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster are controlled according to the first water quality information and the target synchronization timing signal, and therefore the accuracy of laser triggering and spectrum acquisition of the to-be-synchronized water quality analyzer cluster is improved.
[0006] The first aspect of the embodiment of the application provides a picosecond laser triggering and spectrum acquisition synchronization control method, the method comprises: Water quality of a water area monitored by a to-be-synchronized water quality analyzer cluster is predicted according to historical water quality information in a historical water quality information set collected by the to-be-synchronized water quality analyzer cluster, and first water quality information is obtained, the first water quality information comprises a pollution level, pollution position information and a pollution type of a pollutant; An initial synchronization timing signal is adjusted according to the first water quality information, and a target synchronization timing signal is obtained, the initial synchronization timing signal comprises a laser triggering time, delay line information and a spectrum acquisition time of the to-be-synchronized water quality analyzer cluster, the spectrum acquisition time comprises a spectrum acquisition start time and a spectrum acquisition duration, and the initial synchronization timing signal is a synchronization timing signal generated by an FPGA; Laser triggering and spectrum acquisition of a to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster are controlled according to the first water quality information and the target synchronization timing signal.
[0007] In this example, the water quality of the water area monitored by the to-be-synchronized water quality analyzer cluster is predicted according to the historical water quality information in the historical water quality information set collected by the to-be-synchronized water quality analyzer cluster, to obtain first water quality information, the initial synchronization timing signal is adjusted according to the first water quality information, to obtain a target synchronization timing signal, avoiding the situation that the time for controlling the to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster to collect the spectrum is not accurate enough due to the deviation between the actual time and the theoretical time of the laser emitted by the water quality analyzer reaching the sample surface, improving the accuracy of the generated target synchronization timing signal, and the laser triggering and spectrum collection of the to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster are controlled synchronously according to the first water quality information and the target synchronization timing signal, improving the anti-interference performance of the network topology of the to-be-synchronized water quality analyzer cluster, avoiding the situation that the laser triggering and spectrum collection of the entire to-be-synchronized water quality analyzer cluster are out of control due to the communication link being blocked or invalid, thereby improving the accuracy of the laser triggering and spectrum collection of the to-be-synchronized water quality analyzer cluster.
[0008] A second aspect of the embodiment of the present application provides a picosecond laser triggering and spectrum collection synchronous control system, the system comprising: A prediction unit is configured to predict the water quality of the water area monitored by the to-be-synchronized water quality analyzer cluster according to the historical water quality information in the historical water quality information set collected by the to-be-synchronized water quality analyzer cluster, to obtain first water quality information, the first water quality information including the pollution level, pollution location information and pollution type of the pollutant; An adjustment unit is configured to adjust the initial synchronization timing signal according to the first water quality information, to obtain a target synchronization timing signal, the initial synchronization timing signal including the laser triggering time, delay line information and spectrum collection time of the to-be-synchronized water quality analyzer cluster, the spectrum collection time including the spectrum collection start time and spectrum collection duration, the initial synchronization timing signal being a synchronization timing signal generated by an FPGA; A control unit is configured to control the laser triggering and spectrum collection of the to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster synchronously according to the first water quality information and the target synchronization timing signal.
[0009] A third aspect of the embodiment of the present application provides a terminal, comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory are connected to each other, wherein the memory is configured to store a computer program, the computer program comprises program instructions, the processor is configured to invoke the program instructions, and execute the step instructions in the first aspect of the embodiment of the present application.
[0010] A fourth aspect of the embodiments of the present application provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to perform some or all of the steps described in the first aspect of the embodiments of the present application.
[0011] A fifth aspect of the embodiments of the present application provides a computer program product, which includes a non-transitory computer readable storage medium storing a computer program, and the computer program is operable to cause a computer to perform some or all of the steps described in the first aspect of the embodiments of the present application. The computer program product can be a software installation package. BRIEF DESCRIPTION OF DRAWINGS
[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present application or the prior art, the drawings needed in the embodiments or the prior art description will be briefly introduced as follows. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative effort on the basis of these drawings.
[0013] Figure 1 Part of the structure schematic diagram of a microliter scale water sample drying spot forming equipment is provided for the embodiments of the present application; Figure 2 The flowchart of a picosecond laser triggering and spectrum acquisition synchronous control method is provided for the embodiments of the present application; Figure 3 The structure schematic diagram of a terminal is provided for the embodiments of the present application; Figure 4 The structure schematic diagram of a picosecond laser triggering and spectrum acquisition synchronous control system is provided for the embodiments of the present application. DETAILED DESCRIPTION
[0014] The technical solutions of the embodiments of the present application will be described clearly and completely in combination with the drawings in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, but not all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present application.
[0015] The terms "first", "second", and the like in the description and in the claims of the present application and above drawings are used for distinguishing between similar objects and not necessarily for describing a specific sequential or chronological order. The terms "comprises", "comprising", "includes", "including" and the like are to be construed open- ended, meaning that they include the listed steps or elements, but not excluding other steps or elements. For example, a process, method, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements, but can include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
[0016] Reference to "an embodiment" or "the embodiment" means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the application. The appearances of the phrase "in one embodiment" or "in an embodiment" in various places in the specification are not necessarily all referring to the same embodiment, nor are they necessarily referring to a common or identical embodiment. It is appreciated that a person of skill in the art will be able to devise many alternative embodiments based on the embodiments described herein without departing from the scope of the application.
[0017] In order to better understand the picosecond laser trigger and spectral acquisition synchronization control method provided by the embodiments of the present application, first, the picosecond laser trigger and spectral acquisition synchronization control method in the prior art will be briefly introduced. In the prior art, the synchronization timing signal of the to-be-synchronized water quality analyzer cluster is usually directly generated by using an FPGA (Field-Programmable Gate Array), and the synchronization timing signal generated by the FPGA is synchronously sent to all to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster, so as to complete the laser trigger and spectral acquisition synchronization control of the to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster. However, the FPGA directly generates the synchronization timing signal of the to-be-synchronized water quality analyzer cluster based on the theoretical time of the laser emitted by the water quality analyzer reaching the sample surface, but there is a deviation between the actual time and the theoretical time of the laser emitted by the water quality analyzer reaching the sample surface, which will cause the time for controlling the to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster to perform spectral acquisition to be not accurate enough, thereby causing the accuracy to be insufficient when performing laser triggering and spectral acquisition. Meanwhile, in the process of synchronously sending the synchronization timing signal generated by the FPGA to all to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster, if the communication link is blocked or fails, the laser trigger and spectral acquisition synchronization control of the entire to-be-synchronized water quality analyzer cluster will fail, thereby causing the accuracy to be insufficient when performing laser triggering and spectral acquisition.
[0018] To solve the above technical problems, the embodiment of the present application provides a picosecond laser triggering and spectrum acquisition synchronization control method, which performs polynomial fitting on historical water quality information in a historical water quality information set collected by a to-be-synchronized water quality analyzer cluster and the corresponding collection time, thereby performing water quality prediction on a water area monitored by the to-be-synchronized water quality analyzer cluster to obtain first water quality information; the phase of an initial synchronization timing signal, delay line information, and spectrum acquisition time are adjusted according to the first water quality information, thereby avoiding the situation that the time for controlling the to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster to perform spectrum acquisition is not accurate enough due to the deviation between the actual time and the theoretical time of laser emitted by the water quality analyzer reaching the sample surface; the original network topology of the to-be-synchronized water quality analyzer cluster is reconstructed using the k-nearest neighbor intra-group communication rule to obtain a first network topology, thereby reducing the communication delay of the to-be-synchronized water quality analyzer cluster, determining a master to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster according to the first water quality information, and using the master to-be-synchronized water quality analyzer, a target synchronization timing signal, and the first network topology to perform laser triggering and spectrum acquisition synchronization control on the to-be-synchronized water quality analyzer cluster to obtain a target water quality analyzer cluster, thereby avoiding the situation that the laser triggering and spectrum acquisition synchronization control of the entire to-be-synchronized water quality analyzer cluster fails due to the communication link being blocked or invalid in the to-be-synchronized water quality analyzer cluster, and at the same time, the timing signal of the entire to-be-synchronized water quality analyzer cluster is consistent with the timing of the to-be-synchronized water quality analyzer (master to-be-synchronized water quality analyzer) that is under intensive monitoring, thereby improving the accuracy of laser triggering and spectrum acquisition on the to-be-synchronized water quality analyzer cluster.
[0019] Please refer to Figure 1 , Figure 1 A partial structure schematic diagram of a microliter-level water sample drying spot forming device is shown. As Figure 1 shown, the laser water quality analysis system can include a control platform and a laser water quality analyzer, and the control platform is in communication connection with at least one laser water quality analyzer; the laser water quality analyzer can include a microliter-level water sample drying spot forming device. The liquid that can be analyzed by the laser water quality analyzer includes but is not limited to water, oil, and liquid medicine. The control platform performs data backup and subsequent application processing according to the analysis results of the liquid by the laser water quality analyzer.
[0020] Figure 1 The laser water quality analyzer is used as a microliter-level water sample drying spot forming device. As Figure 1The partial structure diagram of the microliter water sample drying spot forming device is shown, which includes a laser bombardment unit 11, a water sample preparation unit 12, and a detection unit (not marked in the figure). The laser output by the laser bombardment unit 11 bombards the spot on the water sample preparation area 121 on the water sample preparation unit 12 through the end 111 of the laser bombardment unit 11. The detection unit uses a spectrometer. The laser water quality analyzer mainly detects heavy metals and non-metals in the spot formed after the liquid is dried. The laser bombardment unit 11 is provided with a laser, and the laser emitted by the laser bombards the spot on the water sample preparation area 121 on the water sample preparation unit 12 through the end 111.
[0021] It can be understood that a preset volume (such as 10 μL) of liquid is placed on the water sample preparation area 121 (hereinafter referred to as the substrate), and the liquid on the water sample preparation area 121 is dried to form a spot. The laser generated by the laser instrument of the laser bombardment unit 11 contacts the dried residue (spot) of the liquid, and the spot forms a plasma at high temperature, realizing the transition from a low-energy state to a high-energy state. However, the high-energy state is unstable and immediately returns to the ground state (i.e. the original state), at which time the energy is emitted in the form of light, and each element emits light of different wavelengths. The spectrometer of the detection module monitors the light generated by the bombardment of the spot by the laser bombardment unit 11. According to the data detected by the detection unit, the results of the liquid can be analyzed. That is, the laser water quality analyzer rapidly detects multiple elements without consuming chemical reagents.
[0022] Optionally, the water sample preparation unit 12 includes a support platform, a unwinding mechanism, a winding structure, and a flexible film. The flexible film is unwound from the unwinding mechanism and passes through the support platform, and a preset volume (such as 10 μL) of liquid is placed on the water sample preparation area 121 on the support platform. After this detection is completed and before the next detection, the unwinding mechanism and the winding structure cooperate to wind the waste flexible film to the winding structure, and the unused flexible film is placed on the support platform so as to place a preset volume (such as 10 μL) of liquid on the water sample preparation area 121 on the support platform. The implementation mode of the unwinding mechanism and the winding structure can be selected from the prior art, and details are not described here.
[0023] Optionally, the flexible film is a zinc film.
[0024] Please refer to Figure 2 , Figure 2 A flowchart of a picosecond laser triggering and spectral acquisition synchronous control method is provided for the embodiments of the present application. As shown in Figure 2 , the method comprises: 201. Based on the historical water quality information in the set of historical water quality information collected by the cluster of water quality analyzers to be synchronized, water quality prediction is performed on the water area monitored by the cluster of water quality analyzers to be synchronized to obtain the first water quality information, which includes the pollution level, pollution location information and pollution type of pollutants.
[0025] Specifically, this can be achieved by extracting historical water quality information collected by each water quality analyzer in the cluster to be synchronized from a pre-set database, thus obtaining a historical water quality information set. This historical water quality information set includes information on the types and levels of pollution in the water area monitored by the cluster. The collection time corresponding to each piece of historical water quality information in the historical water quality information set is extracted to obtain a first collection time information set. By performing a polynomial fitting between the first collection time information in the first collection time information set and the historical water quality information in the historical water quality information set, water quality prediction is performed on the water area monitored by the cluster, thus obtaining the first water quality information.
[0026] 202. Adjust the initial synchronization timing signal according to the first water quality information to obtain the target synchronization timing signal. The initial synchronization timing signal includes the laser trigger time, delay line information and spectral acquisition time of the water quality analyzer cluster to be synchronized. The spectral acquisition time includes the spectral acquisition start time and spectral acquisition duration. The initial synchronization timing signal is the generated synchronization timing signal.
[0027] Specifically, the phase information in the initial synchronization timing signal can be extracted from the phase information (such as the phase information of a crystal oscillator clock or atomic clock) by using a phase detector in a phase-locked loop to extract the offset value between the phase information and the reference phase information in the initial synchronization timing signal. This offset value is then used as the phase adjustment information for the initial synchronization timing signal to adjust its phase, resulting in a first synchronization timing signal. A photodiode is then used to acquire the actual arrival time of the laser emitted by the water quality analyzer in the cluster to be synchronized to the sample surface. The delay line information of the first synchronization timing signal is adjusted based on the actual arrival time to obtain a second synchronization timing signal. Finally, the spectral acquisition time of the second synchronization timing signal is adjusted according to the type and level of pollution in the first water quality information to obtain the target synchronization timing signal.
[0028] 203. Based on the first water quality information and the target synchronization timing signal, perform laser triggering and spectral acquisition synchronization control on the water quality analyzers to be synchronized in the cluster of water quality analyzers to be synchronized.
[0029] Specifically, the reference network topology can be obtained by extracting the original network topology of the to-be-synchronized water quality analyzer cluster; the k value of the k-neighbor intra-group communication rule can be determined by calculating the link quality information, network delay fluctuation information and network node density information of each network node in the reference network topology, and the first network topology can be reconstructed based on the k value of the k-neighbor intra-group communication rule; a master to-be-synchronized water quality analyzer can be determined in the to-be-synchronized water quality analyzer cluster according to the first water quality information, and the laser triggering and spectrum acquisition synchronization control of the to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster can be performed according to the master to-be-synchronized water quality analyzer, the first network topology and the target synchronization timing signal.
[0030] In the example, the first water quality information is obtained by predicting the water quality of the water area monitored by the to-be-synchronized water quality analyzer cluster according to the historical water quality information in the historical water quality information set collected by the to-be-synchronized water quality analyzer cluster, the target synchronization timing signal is obtained by adjusting the initial synchronization timing signal according to the first water quality information, which avoids the situation that the time for controlling the to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster to perform spectrum acquisition is not accurate enough due to the deviation between the actual time and the theoretical time of the laser emitted by the water quality analyzer reaching the sample surface, improves the accuracy of the generated target synchronization timing signal, and improves the anti-interference performance of the network topology of the to-be-synchronized water quality analyzer cluster by performing laser triggering and spectrum acquisition synchronization control of the to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster according to the first water quality information and the target synchronization timing signal, thereby improving the accuracy of laser triggering and spectrum acquisition of the to-be-synchronized water quality analyzer cluster.
[0031] In one possible implementation, a method for predicting the water quality of a water area monitored by a to-be-synchronized water quality analyzer cluster according to historical water quality information in a historical water quality information set collected by the to-be-synchronized water quality analyzer cluster to obtain first water quality information, comprising: A1, extracting the collection time corresponding to each historical water quality information in the historical water quality information set to obtain a first collection time information set; A2, fitting the first collection time information in the first collection time information set and the corresponding historical water quality information in the historical water quality information set using polynomial fitting to obtain a first fitting function; A3, predicting the water quality of the water area monitored by the to-be-synchronized water quality analyzer cluster using the first fitting function to obtain the first water quality information.
[0032] The historical water quality information set can be obtained by extracting the historical water quality information corresponding to each water quality analyzer to be synchronized in the water quality analyzer cluster from a preset database, and the first collection time information set can be obtained by extracting the collection time corresponding to each historical water quality information in the historical water quality information set from the preset database. The preset database is used to store the water quality information and work logs collected by the water quality analyzers to be synchronized in the water quality analyzer cluster, and the work logs are used to record the time information corresponding to each collection of water quality information by the water quality analyzers to be synchronized in the water quality analyzer cluster.
[0033] After obtaining the first collection time information set, the first collection time information in the first collection time information set and the historical water quality information in the historical water quality information set can be polynomial fitted by using a general polynomial fitting method (such as quadratic polynomial fitting), to obtain a first fitting function.
[0034] Since the first fitting function can represent the trend of changes in water quality information at different collection time information, the water quality of the water area monitored by the water quality analyzer cluster can be predicted using the first fitting function.
[0035] After obtaining the first fitting function, the historical water quality information in the historical water quality information set can be data augmented by using a general data augmentation method (such as mean filling, grouping statistical filling, multiple imputation, etc.), to obtain a target historical water quality information set; the target historical water quality information in the target historical water quality information set is used to verify the accuracy of the first fitting function, if the accuracy verification is passed, the current time information (the time corresponding to the synchronization control of laser triggering and spectrum collection) is substituted into the first fitting function, to realize water quality prediction of the water area monitored by the water quality analyzer cluster, to obtain first water quality information; if the accuracy verification is not passed, the number of polynomial fitting is adjusted (such as adjusting the quadratic polynomial fitting to cubic polynomial fitting or quartic polynomial fitting, etc.), until the accuracy verification of the adjusted first fitting function is passed, and the current time is substituted into the first fitting function, to realize water quality prediction of the water area monitored by the water quality analyzer cluster, to obtain first water quality information.
[0036] In one possible implementation, a method for adjusting an initial synchronization timing signal according to the first water quality information to obtain a target synchronization timing signal, comprising: B1, using the phase-locked loop in the laser to determine the adjustment information corresponding to the phase information of the initial synchronization timing signal, to obtain phase adjustment information; B2, using the photodiode in the laser to determine the adjustment information corresponding to the delay line information in the initial synchronization timing signal, to obtain delay line adjustment information; B3, adjusting phase information of the initial synchronization timing signal using the phase adjustment information to obtain a first synchronization timing signal; B4, adjusting delay line information in the first synchronization timing signal as a delay parameter of the first synchronization timing signal using the delay line adjustment information to obtain a second synchronization timing signal; B5, optimizing spectrum acquisition start time and spectrum acquisition duration of the second synchronization timing signal according to the pollution level and the pollution type in the first water quality information, wherein the higher the pollution level, the longer the spectrum acquisition duration, to obtain a target synchronization timing signal.
[0037] Since the synchronization timing signal generated by the FPGA is transmitted to the water quality analyzers to be synchronized in the water quality analyzer cluster through a transmission path, clock offset may occur during transmission, resulting in a difference between the phase information of the synchronization timing signal generated by the FPGA and the phase information of the synchronization timing signal received by the water quality analyzers to be synchronized in the water quality analyzer cluster.
[0038] Wherein, the initial phase information can be obtained by extracting the phase information of the synchronization timing signal generated by the FPGA; and the phase adjustment information can be obtained by using a phase-locked loop to determine adjustment information corresponding to the initial phase information.
[0039] Since the synchronization timing signal generated by the FPGA is generated based on the time required for the laser emitted by the laser emitter in the water quality analyzer to reach the surface of the dried sample in theory, but the dried sample usually exists in the form of salt crystals, solid residues or precipitates, and the temperature and humidity of the monitoring environment are not consistent at each monitoring time, therefore, the time required for the laser emitted by the laser emitter in the water quality analyzer to actually reach the surface of the dried sample is inconsistent with the time required for the laser emitted by the laser emitter in the water quality analyzer to reach the surface of the dried sample in theory, and the delay line adjustment information in the synchronization timing signal generated by the FPGA needs to be adjusted to ensure the accuracy of the laser triggering and spectrum acquisition synchronization control.
[0040] After obtaining the phase adjustment information, the dried sample can be irradiated for a very short time by controlling the low-power laser emitted by the water quality analyzers to be synchronized in the water quality analyzer cluster to irradiate the dried sample (without forming a plasma on the dried sample), and the actual time information set of the laser emitted by the laser emitter in each water quality analyzer to be synchronized is captured by using a photodiode to capture the actual time information set of the laser emitted by the laser emitter in each water quality analyzer to be synchronized. The required time for the laser emitted by the laser emitter in each water quality analyzer to be synchronized to reach the surface of the dried sample in theory is obtained, and the difference between the average value of the theoretical arrival time in the theoretical arrival time information set and the average value of the actual arrival time information in the actual arrival time information set is calculated. The difference is determined as the adjustment information corresponding to the delay line information in the initial synchronization timing signal, and the delay line adjustment information is obtained. The delay line adjustment information is used to modify the delay line information in the initial synchronization timing signal.
[0041] After obtaining the delay line adjustment information, the phase information of the synchronization timing signal generated by the FPGA can be adjusted by the phase adjustment information, the clock offset of the synchronization timing signal generated by the FPGA is eliminated, and the phase information of the synchronization timing signal generated by the FPGA is ensured to be consistent with the phase information of the synchronization timing signal received by the water quality analyzers to be synchronized in the water quality analyzer cluster, and the first synchronization timing signal is obtained.
[0042] After obtaining the first synchronization timing signal, the delay line adjustment information can be used as a delay parameter of the first synchronization timing signal, and the delay line adjustment information and the time interval between the laser triggering and the spectrum acquisition of the water quality analyzers in the water quality analyzer cluster in the first synchronization timing signal are added, so that the adjustment of the time interval between the laser triggering and the spectrum acquisition in the first synchronization timing signal is completed, and the second synchronization timing signal is obtained.
[0043] Because the emission time of the plasma formed by the dried sample corresponding to different pollution types after being bombarded by laser is different, when the pollution level is high, it means that there may be multiple pollutants or high-concentration pollutants in the water to be monitored. The emission time of the plasma corresponding to the dried sample formed by pollutants of different concentrations is different. If the spectrum information corresponding to all pollutants or high-concentration pollutants in the dried sample needs to be collected, a longer collection time is required. Therefore, the spectrum acquisition start time and the spectrum acquisition duration of the second synchronization timing signal also need to be optimized according to the pollution level and the pollution type in the first water quality information. The water to be monitored is the water monitored by the water quality analyzer cluster to be synchronized.
[0044] After obtaining the second synchronization timing signal, the light-emitting time of the plasma formed after the dried sample corresponding to the pollution type in the first water quality information receives laser bombardment can be determined by simulating the experiment on the dried sample corresponding to the pollution type in the first water quality information, to obtain a reference spectrum collection time information set; the reference spectrum collection time information with the smallest value in the reference spectrum collection time information set is determined as a reference spectrum collection start time; the difference between the reference spectrum collection start time and the spectrum collection start time in the second synchronization timing signal is calculated to obtain reference spectrum collection start time adjustment information; the target spectrum collection start time optimization information is obtained by subtracting the user input or system default spectrum collection start time redundancy from the reference spectrum collection start time adjustment information; the number of pollutants in the water area to be monitored is determined according to the pollution type in the first water quality information to obtain first quantity information, and the concentration of the pollutants in the water area to be monitored is determined according to the pollution level in the first water quality information to obtain a pollution concentration information set; a simulation experiment is performed on each pollutant to simulate the reflection duration of the dried sample corresponding to each pollutant after the information emits light plasma, and the light-emitting duration of the plasma formed by each pollutant under the corresponding concentration information is extracted in the simulation result to obtain a light-emitting duration information set; the time span corresponding to the light-emitting duration information set is extracted to obtain a target spectrum collection duration; the optimization of the spectrum collection start time of the second synchronization timing signal is completed by adding the target spectrum collection start time optimization information to the spectrum collection start time in the second synchronization timing signal, and the spectrum collection duration of the second synchronization timing signal is replaced by the target spectrum collection duration to complete the optimization of the spectrum collection start time of the second synchronization timing signal, to obtain a target synchronization timing signal.
[0045] The first water quality information is the water quality information corresponding to the water area monitored by the to-be-synchronized water quality analyzer cluster, and is obtained by comprehensively analyzing the analysis results of each to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster.
[0046] In this example, the phase information of the synchronization timing signal generated by the FPGA is ensured to be the same as the phase information of the synchronization timing signal received by the to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster by using a phase-locked loop, so as to avoid clock drift and improve the accuracy of the synchronization timing signal generated by the FPGA. In addition, the spectrum collection start time and the spectrum collection duration of the second synchronization timing signal are optimized according to the pollution type and the pollution level in the first water quality information, so as to further improve the accuracy of the synchronization timing signal generated by the FPGA, and thus improve the accuracy of the laser triggering and spectrum collection synchronization control of the to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster.
[0047] In a possible implementation, a method for laser trigger and spectrum acquisition synchronization control of a to-be-synchronized water quality analyzer in a to-be-synchronized water quality analyzer cluster according to first water quality information and a target synchronization timing signal, comprising the following steps of: C1, extracting an original network topology of the to-be-synchronized water quality analyzer cluster to obtain a reference network topology; C2, determining link quality information corresponding to each network node in the reference network topology to obtain a link quality information set, wherein the network node in the reference network topology is a to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster; C3, determining network node density information corresponding to each network node in the reference network topology to obtain a network node density information set; C4, reconstructing the reference network topology according to the link quality information in the link quality information set and the network node density information in the network node density information set by using a k-neighbor intra-group communication rule to obtain a first network topology; C5, determining a master to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster according to the first water quality information; C6, performing laser trigger and spectrum acquisition synchronization control of the to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster according to the master to-be-synchronized water quality analyzer, the first network topology, and the target synchronization timing signal.
[0048] In the method, the reference network topology can be obtained by extracting a network communication link between each to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster and other to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster. The network communication link between each to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster and other to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster can be established based on ZigBee or LoRaWAN protocol.
[0049] After the reference network topology is obtained, a time node set can be obtained by broadcasting a preset test data packet to each to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster according to a preset sending number of times, and recording a round-trip time node of each broadcast of the preset test data packet by using a general delay detection tool (such as ping (Packet Internet Groper), mtr (My Traceroute), and NQA (Network Quality Analysis)).
[0050] The time node group in the time node group set comprises a preset sending time node and a receiving time node of a test data packet. The sending time node of the preset test data packet can be understood as a time node when broadcasting to each water quality analyzer to be synchronized in the water quality analyzer cluster. The receiving time node of the preset test data packet can be understood as a time when each water quality analyzer to be synchronized in the water quality analyzer cluster receives the preset data packet and receives the preset data packet returned by the water quality analyzer to be synchronized.
[0051] The difference between the receiving time node and the sending time node in each time node group in the time node group set is calculated, and the difference is determined as a network communication delay corresponding to the corresponding water quality analyzer to be synchronized in the water quality analyzer cluster, to obtain m communication delay information sets; wherein m represents the number of water quality analyzers to be synchronized in the water quality analyzer cluster. The difference between two adjacent communication delay information in the communication delay information set is calculated, and the average value corresponding to the difference is calculated, so as to determine the communication delay fluctuation information corresponding to each water quality analyzer to be synchronized in the water quality analyzer cluster, to obtain a communication delay fluctuation information set.
[0052] The number of times that the preset data packet returned by each water quality analyzer to be synchronized in the water quality analyzer cluster is successfully received after completing the preset number of times of broadcasting to the water quality analyzer to be synchronized is extracted, to obtain a receiving number set. The ratio of the receiving number in the receiving number set to the preset sending number is calculated, and is taken as the packet loss rate corresponding to each water quality analyzer to be synchronized in the water quality analyzer cluster, to obtain a packet loss rate information set. The bandwidth utilization rate corresponding to each water quality analyzer to be synchronized in the water quality analyzer cluster is collected using a general bandwidth utilization rate collection method (such as SNMP (Simple Network Management Protocol) or device command line), to obtain a bandwidth utilization rate information set.
[0053] By conducting simulation experiments, the impact of different packet loss rates, communication delay fluctuations, and bandwidth utilization rates on communication link quality was determined, and a communication link quality impact assessment model was established. Using this model, the weight information corresponding to the packet loss rate information, communication delay fluctuation information, and bandwidth utilization information in the packet loss rate information set, respectively, was determined, resulting in a weight information set. This weight information set includes the weight information corresponding to the packet loss rate information, communication delay fluctuation information, and bandwidth utilization information in the packet loss rate information set, the communication delay fluctuation information, and the bandwidth utilization information, respectively. Based on these factors, the link quality information for each water quality analyzer in the synchronized water quality analyzer cluster was calculated, resulting in a link quality information set.
[0054] Specifically, the link quality information set can be obtained by calculating the link quality information for each water quality analyzer in the cluster to be synchronized using the following formula: based on the packet loss rate information in the packet loss rate information set, the communication delay fluctuation information in the communication delay fluctuation information set, the bandwidth utilization information in the bandwidth utilization information set, and the weight information group in the weight information group set. In the formula The i-th link quality information in the link quality information set can be understood as the link quality information corresponding to the i-th water quality analyzer to be synchronized in the cluster of water quality analyzers to be synchronized. The i-th communication delay fluctuation information in the set of communication delay fluctuation information can be understood as the communication delay fluctuation information corresponding to the i-th water quality analyzer to be synchronized in the cluster of water quality analyzers to be synchronized. This represents the weight information corresponding to the communication delay fluctuation information in the i-th weight information group in the set of weight information groups. It can be understood as the weight information corresponding to the communication delay fluctuation information of the i-th water quality analyzer to be synchronized in the cluster of water quality analyzers to be synchronized. This represents the packet loss rate information of the i-th packet loss rate in the packet loss rate information set, which can be understood as the packet loss rate information corresponding to the i-th water quality analyzer to be synchronized in the cluster of water quality analyzers to be synchronized; This represents the weight information corresponding to the packet loss rate information in the i-th weight information group in the set of weight information groups. It can be understood as the weight information corresponding to the packet loss rate information of the i-th water quality analyzer to be synchronized in the cluster of water quality analyzers to be synchronized. The i-th bandwidth utilization information in the bandwidth utilization information set can be understood as the bandwidth utilization information corresponding to the i-th water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized. The weight information corresponding to the bandwidth utilization information in the i-th weight information group in the weight information group set can be understood as the weight information corresponding to the bandwidth utilization information of the i-th water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized.
[0055] In order to ensure the accuracy of the analysis results of each water quality analyzer in the water quality analyzer cluster, a redundant setting is usually added, that is, the monitoring areas corresponding to multiple water quality analyzers overlap with each other, so that the analysis results corresponding to multiple water quality analyzers can be mutually checked. However, in actual use, due to the influence of the terrain of the area monitored by the water quality analyzer cluster, the water quality analyzers in the water quality analyzer cluster are not uniformly distributed in the monitored area, resulting in inconsistent physical communication distances between the water quality analyzers in the water quality analyzer cluster, and thus inconsistent delay and packet loss rate when the water quality analyzers in the water quality analyzer cluster communicate within the group.
[0056] After obtaining the link quality information set, the number of analyzers information set can be obtained by extracting the number of water quality analyzers to be synchronized in the monitoring area corresponding to each water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized; the monitoring area information can be obtained by extracting the monitoring area corresponding to the water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized; the ratio between each analyzer number information in the analyzer number information set and the monitoring area information is calculated, and the ratio is determined as the network node density corresponding to each network node in the reference network topology, to obtain the network node density information set.
[0057] After obtaining the network node density information set, the first network topology can be obtained by reconstructing the reference network topology based on the IEEE 802.15.4 protocol using the k-nearest neighbor algorithm according to the link quality information in the link quality information set and the network node density information in the network node density information set.
[0058] Specifically, the k value corresponding to the reference value of the k-neighbor in-group communication rule can be calculated according to the pollution level in the first water quality information, and k value reference value information is obtained; wherein the k value of the k-neighbor in-group communication rule can be understood as the maximum number of communication links that can be established between each water quality analyzer in the to-be-synchronized water quality analyzer cluster and other to-be-synchronized water quality analyzers, and the network topology constructed based on the k-neighbor in-group communication rule has a fault tolerance mechanism, and the fault tolerance mechanism is derived from the fact that any node in the network is connected to at least k neighbors, and when any k-1 nodes in the network fail, the connectivity of the network will not be destroyed, and when any k-1 nodes in the network fail, the connectivity of the network will not be destroyed.
[0059] Specifically, the k value corresponding to the reference value of the k-neighbor in-group communication rule can be calculated according to the pollution level in the first water quality information, and k value reference value information is obtained; wherein the k value of the k-neighbor in-group communication rule can be understood as the maximum number of communication links that can be established between each water quality analyzer in the to-be-synchronized water quality analyzer cluster and other to-be-synchronized water quality analyzers, and the network topology constructed based on the k-neighbor in-group communication rule has a fault tolerance mechanism, and the fault tolerance mechanism is derived from the fact that any node in the network is connected to at least k neighbors, and when any k-1 nodes in the network fail, the connectivity of the network will not be destroyed, and when any k-1 nodes in the network fail, the connectivity of the network will not be destroyed. In the formula, k is a k value corresponding to the reference value of the k-neighbor in-group communication rule. The k value reference value information is represented by k. The function is represented by f. The function is used to constrain the value of k to a certain range. The pollution level in the first water quality information is represented by p. The lower limit of the value of k is represented by kmin. The upper limit of the value of k is represented by kmax. The pollution level is represented by p. The lower limit of the value of k is represented by kmin. The upper limit of the value of k is represented by kmax.
[0060] Simulation experiments were conducted to determine the impact of different link quality information and different network node density information on the communication quality of a reference network topology, and a communication quality assessment model was constructed. The communication quality assessment model was used to assign dynamic weights to each link quality information in the link quality information set, resulting in a first dynamic weight information set; the greater the impact of a link quality information in the link quality information set on the communication quality of the reference network topology, the greater its corresponding dynamic weight. The communication quality assessment model was then used to assign dynamic weights to each network node density information in the network node density information set, resulting in a second dynamic weight information set; the greater the impact of a network node density information in the network node density information set on the communication quality of the reference network topology, the greater its corresponding dynamic weight. The larger the dynamic weight corresponding to the information, the better; calculate the average distance from each water quality analyzer in the cluster to be synchronized to other water quality analyzers, and obtain the second distance information set; introduce a small disturbance term, and correct the k-value benchmark information according to the second distance information in the second distance information set, the link quality information in the link quality information set, the network node density information in the network node density information set, the first dynamic weight information in the first dynamic weight information set, and the second dynamic weight information in the second dynamic weight information set, to obtain the target k-value information; reconstruct the reference network topology according to the target k-value information, so that each water quality analyzer in the cluster to be synchronized can only establish a communication link with other water quality analyzers with the target k-value information, and obtain the first network topology.
[0061] Specifically, the method can be modified by introducing a small perturbation term as shown in the following formula. Based on the second distance information in the second distance information set, the link quality information in the link quality information set, the network node density information in the network node density information set, the first dynamic weight information in the first dynamic weight information set, and the second dynamic weight information in the second dynamic weight information set, the k-value baseline information is corrected to obtain the target k-value information: In the formula Indicates the target k value information; This indicates the number of water quality analyzers to be synchronized in the cluster of water quality analyzers to be synchronized. This represents the baseline information for the k-value; ; The i-th link quality information in the link quality information set can be understood as the link quality information corresponding to the i-th water quality analyzer to be synchronized in the cluster of water quality analyzers to be synchronized. The i-th dynamic weight information in the first dynamic weight information set can be understood as the first dynamic weight information corresponding to the i-th link quality information in the link quality information set. The density information of the i-th network node in the set of network node density information can be understood as the network node density information of the i-th water quality analyzer to be synchronized in the cluster of water quality analyzers to be synchronized. The i-th second dynamic weight information in the second dynamic weight information set can be understood as the second dynamic weight information corresponding to the i-th network node density information in the network node density information set. The i-th second distance information in the second distance information set can be understood as the average distance between the i-th water quality analyzer to be synchronized and other water quality analyzers to be synchronized in the cluster of water quality analyzers to be synchronized. This represents a small perturbation term with a value of 0.2, which can be determined by user input or by the system default.
[0062] Since it is necessary to implement key monitoring of polluted areas, that is, to increase the sampling frequency of the water quality analyzer corresponding to the pollution location information in the first water quality information, it is necessary to prioritize ensuring the time accuracy of laser triggering and spectral acquisition of the water quality analyzer closest to the pollution location information in the first water quality information.
[0063] After obtaining the phase adjustment information, the geometric distance between each water quality analyzer in the cluster to be synchronized and the pollution location information in the first water quality information can be calculated, and the water quality analyzer with the smallest geometric distance value can be determined as the main water quality analyzer to be synchronized. The pollution location information in the first water quality information can be inferred based on the geographical coordinates of monitoring points in historical water quality information and a pollution diffusion model.
[0064] After obtaining the first network topology, the water quality analyzer to be synchronized can be designated as the master node of the first network topology, and the other nodes to be synchronized in the first network topology other than the master node can be designated as slave nodes. The target time synchronization information is broadcast to the master node, so that the master node performs time synchronization first. After the master node completes time synchronization, the master node is controlled to broadcast the target time synchronization information to all slave nodes. After receiving the target time synchronization information broadcast by the master node, all slave nodes perform time synchronization according to the target time synchronization information to obtain the target water quality analyzer cluster.
[0065] In the example, the k value of the group communication rule of k-nearest neighbors is determined by calculating the link quality information and network node density information corresponding to each water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized, target k value information is obtained, and the reference network topology is reconstructed according to the target k value information, so that the reconstructed network topology has smaller network delay and anti-interference when performing group communication, thereby improving the accuracy of laser triggering and spectrum collection synchronization of the water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized.
[0066] In one possible implementation, a method for determining a master water quality analyzer to be synchronized in a water quality analyzer cluster according to first water quality information, comprising: D1, obtaining a first distance information set according to the distance between each water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized and the position represented by the pollution position information in the first water quality information; D2, determining the water quality analyzer to be synchronized corresponding to the smallest first distance in the first distance information set as the master water quality analyzer to be synchronized.
[0067] Wherein, the first coordinate position information set can be obtained by extracting the coordinate position information corresponding to each water quality analyzer to be synchronized in the water quality analyzer cluster; and the first distance information set can be obtained by calculating the geometric distance between each first coordinate position information in the first coordinate position information set and the pollution position information in the first water quality information.
[0068] After obtaining the first distance information set, the target first distance information can be obtained by extracting the first distance information with the smallest value in the first distance information set; and the water quality analyzer to be synchronized corresponding to the target first distance information in the water quality analyzer cluster to be synchronized is determined as the master water quality analyzer to be synchronized.
[0069] Consistent with the above embodiment, please refer to Figure 3 , Figure 3 A structure schematic diagram of a terminal provided by the embodiment of the present application, as shown in Figure 3 , comprising a processor, an input device, an output device and a memory, the processor, the input device, the output device and the memory are connected with each other, wherein the memory is used for storing a computer program, the computer program comprises program instructions, the processor is configured to invoke the program instructions, and the above program comprises instructions for executing the following steps; According to the historical water quality information in the historical water quality information set collected by the water quality analyzer cluster to be synchronized, the water quality of the water area monitored by the water quality analyzer cluster to be synchronized is predicted to obtain first water quality information, and the first water quality information includes the pollution level, the pollution position information and the pollution type of the pollutant; The initial synchronization timing signal is adjusted according to the first water quality information to obtain a target synchronization timing signal, the initial synchronization timing signal including laser trigger time, delay line information and spectrum acquisition time of the water quality analyzer cluster to be synchronized, the spectrum acquisition time including spectrum acquisition start time and spectrum acquisition duration, the initial synchronization timing signal being a synchronization timing signal generated by an FPGA; The laser trigger and spectrum acquisition of the water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized are controlled synchronously according to the first water quality information and the target synchronization timing signal.
[0070] The above mainly introduces the scheme of the embodiments of the present application from the perspective of the method execution process. It can be understood that the terminal includes a hardware structure and / or a software module corresponding to the execution of each function in order to realize the above functions. Those skilled in the art should easily realize that, in combination with the unit and algorithm steps of each example described in the embodiments provided in the present application, the present application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0071] The embodiments of the present application can divide the functional units of the terminal according to the above method examples, for example, each functional unit can be divided according to each function, or two or more functions can be integrated in one processing unit. The integrated unit can be realized in the form of hardware or software functional unit. It should be noted that the division of units in the embodiments of the present application is illustrative, and is only a logical function division. When actually implemented, there can be another division method.
[0072] Consistent with the above, please refer to Figure 4 , Figure 4 The embodiments of the present application provide a structure schematic diagram of a picosecond laser trigger and spectrum acquisition synchronization control system. As shown in Figure 4 , the system includes: A prediction unit 401 is configured to predict water quality of a water area monitored by the water quality analyzer cluster to be synchronized according to historical water quality information in a historical water quality information set collected by the water quality analyzer cluster to be synchronized to obtain first water quality information, the first water quality information including pollution level, pollution location information and pollution type of a pollutant; The adjusting unit 402 is configured to adjust an initial synchronization timing signal according to the first water quality information to obtain a target synchronization timing signal, the initial synchronization timing signal including a laser trigger time, delay line information and spectrum acquisition time of a water quality analyzer cluster to be synchronized, the spectrum acquisition time including a spectrum acquisition start time and a spectrum acquisition duration, and the initial synchronization timing signal being a synchronization timing signal generated by an FPGA; The control unit 403 is configured to perform laser trigger and spectrum acquisition synchronization control on the water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized according to the first water quality information and the target synchronization timing signal.
[0073] In one possible implementation, the prediction unit 401 is specifically configured to: extract the acquisition time corresponding to each historical water quality information in the set of historical water quality information to obtain a first acquisition time information set; fit the first acquisition time information in the first acquisition time information set and the corresponding historical water quality information in the set of historical water quality information using polynomial fitting to obtain a first fitting function; perform water quality prediction on a water area monitored by the water quality analyzer cluster to be synchronized using the first fitting function to obtain the first water quality information.
[0074] In one possible implementation, the adjusting unit 402 is specifically configured to: determine phase information adjustment information of the initial synchronization timing signal using a phase-locked loop in a laser to obtain phase adjustment information; determine delay line information adjustment information of the initial synchronization timing signal using a photodiode in the laser to obtain delay line adjustment information; adjust the phase information of the initial synchronization timing signal using the phase adjustment information to obtain a first synchronization timing signal; use the delay line adjustment information as a delay parameter of the first synchronization timing signal to adjust the delay line information in the first synchronization timing signal to obtain a second synchronization timing signal; optimize the spectrum acquisition start time and the spectrum acquisition duration of the second synchronization timing signal according to the pollution level and the pollution type in the first water quality information to obtain the target synchronization timing signal.
[0075] In one possible implementation, the control unit 403 is specifically configured to: extract an original network topology of the water quality analyzer cluster to be synchronized to obtain a reference network topology; determine link quality information corresponding to each network node in the reference network topology to obtain a set of link quality information, the network node in the reference network topology being a water quality analyzer to be synchronized in the water quality analyzer cluster to be synchronized. determine network node density information corresponding to each network node in the reference network topology, to obtain a network node density information set; reconstruct the reference network topology according to the link quality information in the link quality information set and the network node density information in the network node density information set using a k-neighbor in-group communication rule, to obtain a first network topology; determine a master to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster according to the first water quality information; perform laser trigger and spectrum acquisition synchronization control on the to-be-synchronized water quality analyzers in the to-be-synchronized water quality analyzer cluster according to the master to-be-synchronized water quality analyzer, the first network topology, and the target synchronization timing signal.
[0076] In one possible implementation, in terms of determining a master to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster according to the first water quality information, the control unit 403 is specifically configured to: calculate distances between each to-be-synchronized water quality analyzer in the to-be-synchronized water quality analyzer cluster and a position represented by the pollution position information in the first water quality information, to obtain a first distance information set; determine the to-be-synchronized water quality analyzer corresponding to the smallest first distance in the first distance information set as the master to-be-synchronized water quality analyzer.
[0077] The embodiments of the present application further provide a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program causes a computer to perform some or all steps of any one of the picosecond-level laser trigger and spectrum acquisition synchronization control methods described in the above method embodiments.
[0078] The embodiments of the present application further provide a computer program product, which comprises a non-transitory computer-readable storage medium storing a computer program, and the computer program causes a computer to perform some or all steps of any one of the picosecond-level laser trigger and spectrum acquisition synchronization control methods described in the above method embodiments.
[0079] It should be noted that, for each of the above method embodiments, in order to simply describe, each is described as a combination of a series of actions, but those skilled in the art should know that the present application is not limited to the action order described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should know that the embodiments described in the specification all belong to preferred embodiments, and the actions and modules involved are not necessarily necessary for the present application.
[0080] In the above embodiments, the description of each embodiment focuses on different aspects, and the parts not described in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0081] In several embodiments provided in the present application, it should be understood that the disclosed apparatus can be implemented in other manners. For example, the described apparatus embodiments are merely schematic. Taking the division of the units as an example, the division can be replaced by another division during actual implementation, or a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed mutual couplings or direct couplings or communication connections can be indirect couplings or communication connections through some interfaces, devices or units, and can be in electrical, mechanical or other forms.
[0082] The units described as separate components can or can not be physically separate, and the components displayed as units can or can not be physical units, i.e., can be located in one place, or can be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.
[0083] In addition, each functional unit in the embodiments of the application can be integrated in a processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be implemented in the form of hardware or in the form of a software program module.
[0084] When the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the part that makes a contribution to the prior art, or all or part of the technical solutions can be embodied in the form of a software product. The computer software product is stored in a storage medium, and includes a plurality of instructions for causing a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk or an optical disk, and various media that can store program codes.
[0085] Those skilled in the art can understand that all or part of the steps in the above-mentioned embodiments of various methods can be completed by a program instructing relevant hardware, and the program can be stored in a computer-readable memory, which can include a flash disk, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.
[0086] The above has carried out the detailed introduction to the embodiments of the application, and the principle and implementation mode of the application are described by applying specific examples; the above embodiment explanation is only for helping to understand the method of the application and its core idea; meanwhile, for the ordinary skilled in the art, according to the idea of the application, the specific implementation mode and application range will have changes; in conclusion, the content of the specification should not be understood as the limitation of the application.
Claims
1. A method for synchronous control of picosecond-level laser triggering and spectral acquisition, characterized in that, The method includes: Based on the historical water quality information collected by the cluster of water quality analyzers to be synchronized, water quality prediction is performed on the water area monitored by the cluster of water quality analyzers to be synchronized to obtain the first water quality information, which includes the pollution level, pollution location information and pollution type of pollutants. The initial synchronization timing signal is adjusted based on the first water quality information to obtain the target synchronization timing signal. The initial synchronization timing signal includes the laser trigger time, delay line information and spectral acquisition time of the water quality analyzer cluster to be synchronized. The spectral acquisition time includes the spectral acquisition start time and spectral acquisition duration. The initial synchronization timing signal is the synchronization timing signal generated by the FPGA. Based on the first water quality information and the target synchronization timing signal, the water quality analyzers in the cluster to be synchronized are subjected to laser triggering and spectral acquisition synchronization control.
2. The picosecond-level laser triggering and spectral acquisition synchronization control method according to claim 1, characterized in that, The step of predicting the water quality of the water area monitored by the cluster of water quality analyzers to be synchronized, based on historical water quality information from the historical water quality information set collected by the cluster of water quality analyzers to be synchronized, to obtain the first water quality information, includes: Extract the collection time corresponding to each historical water quality information from the historical water quality information set to obtain the first collection time information set; The first collection time information in the first collection time information set is fitted with the corresponding historical water quality information in the historical water quality information set using polynomial fitting to obtain the first fitting function; The first fitting function is used to predict the water quality of the water area monitored by the cluster of water quality analyzers to be synchronized, and the first water quality information is obtained.
3. The picosecond-level laser triggering and spectral acquisition synchronization control method according to claim 2, characterized in that, The step of adjusting the initial synchronization timing signal based on the first water quality information to obtain the target synchronization timing signal includes: The phase-locked loop in the laser is used to determine the adjustment information corresponding to the phase information of the initial synchronization timing signal, and the phase adjustment information is obtained. The photodiode in the laser is used to determine the adjustment information corresponding to the delay line information in the initial synchronization timing signal, and the delay line adjustment information is obtained. The phase information of the initial synchronization timing signal is adjusted using the phase adjustment information to obtain the first synchronization timing signal; The delay line adjustment information is used as the delay parameter of the first synchronization timing signal. The delay line information in the first synchronization timing signal is adjusted to obtain the second synchronization timing signal. Based on the pollution level and type of pollution in the first water quality information, the spectral acquisition start time and spectral acquisition duration of the second synchronization timing signal are optimized to obtain the target synchronization timing signal.
4. The picosecond-level laser triggering and spectral acquisition synchronization control method according to claim 3, characterized in that, The step of performing laser triggering and spectral acquisition synchronization control on the water quality analyzers in the cluster to be synchronized based on the first water quality information and the target synchronization timing signal includes: Extract the original network topology of the water quality analyzer cluster to be synchronized to obtain the reference network topology; Determine the link quality information corresponding to each network node in the reference network topology to obtain a set of link quality information. The network nodes in the reference network topology are the water quality analyzers to be synchronized in the cluster of water quality analyzers to be synchronized. Determine the network node density information corresponding to each network node in the reference network topology to obtain a set of network node density information; The reference network topology is reconstructed using the k-nearest neighbor intra-group communication rules based on the link quality information in the link quality information set and the network node density information in the network node density information set, to obtain the first network topology. Based on the first water quality information, a master water quality analyzer to be synchronized is determined in the cluster of water quality analyzers to be synchronized. Based on the master water quality analyzer to be synchronized, the first network topology, and the target synchronization timing signal, the water quality analyzers to be synchronized in the cluster are subjected to laser triggering and spectral acquisition synchronization control.
5. The picosecond-level laser triggering and spectral acquisition synchronization control method according to claim 4, characterized in that, The step of determining a primary water quality analyzer to be synchronized in the cluster of water quality analyzers based on the first water quality information includes: Calculate the distance between each water quality analyzer to be synchronized in the cluster and the location represented by the pollution location information in the first water quality information to obtain the first distance information set; The water quality analyzer corresponding to the smallest distance in the first distance information set is determined as the primary water quality analyzer to be synchronized.
6. A picosecond-level laser triggering and spectral acquisition synchronous control system, characterized in that, The system includes: The prediction unit is used to predict the water quality of the water area monitored by the cluster of water quality analyzers to be synchronized based on the historical water quality information in the historical water quality information set collected by the cluster of water quality analyzers to be synchronized, and to obtain the first water quality information, which includes the pollution level, pollution location information and pollution type of pollutants. The adjustment unit is used to adjust the initial synchronization timing signal according to the first water quality information to obtain the target synchronization timing signal. The initial synchronization timing signal includes the laser trigger time, delay line information and spectral acquisition time of the water quality analyzer cluster to be synchronized. The spectral acquisition time includes the spectral acquisition start time and spectral acquisition duration. The initial synchronization timing signal is the synchronization timing signal generated by the FPGA. The control unit is used to perform laser triggering and spectral acquisition synchronization control on the water quality analyzers in the cluster of water quality analyzers to be synchronized, based on the first water quality information and the target synchronization timing signal.
7. The picosecond-level laser triggering and spectral acquisition synchronous control system according to claim 6, characterized in that, The prediction unit is specifically used for: Extract the collection time corresponding to each historical water quality information from the historical water quality information set to obtain the first collection time information set; The first collection time information in the first collection time information set is fitted with the corresponding historical water quality information in the historical water quality information set using polynomial fitting to obtain the first fitting function; The first fitting function is used to predict the water quality of the water area monitored by the cluster of water quality analyzers to be synchronized, and the first water quality information is obtained.
8. The picosecond-level laser triggering and spectral acquisition synchronous control system according to claim 7, characterized in that, The adjustment unit is specifically used for: The phase-locked loop in the laser is used to determine the adjustment information corresponding to the phase information of the initial synchronization timing signal, and the phase adjustment information is obtained. The laser arrival delay time of the water quality analyzer to be synchronized in the cluster of water quality analyzers to be synchronized is determined by using the photodiode in the laser to obtain delay line adjustment information. The phase information of the initial synchronization timing signal is adjusted using the phase adjustment information to obtain the first synchronization timing signal; The delay line adjustment information is used as the delay parameter of the first synchronization timing signal. The time interval between laser triggering and spectral acquisition in the first synchronization timing signal is adjusted to obtain the second synchronization timing signal. Based on the pollution level and type of pollution in the first water quality information, the spectral acquisition start time and spectral acquisition duration of the second synchronous timing signal are optimized to obtain the target synchronous timing signal, wherein the higher the pollution level, the longer the spectral acquisition duration.
9. The picosecond-level laser triggering and spectral acquisition synchronous control system according to claim 8, characterized in that, The control unit is specifically used for: Extract the original network topology of the water quality analyzer cluster to be synchronized to obtain the reference network topology; Determine the link quality information corresponding to each network node in the reference network topology to obtain a set of link quality information. The network nodes in the reference network topology are the water quality analyzers to be synchronized in the cluster of water quality analyzers to be synchronized. Determine the network node density information corresponding to each network node in the reference network topology to obtain a set of network node density information; The reference network topology is reconstructed using the k-nearest neighbor intra-group communication rules based on the link quality information in the link quality information set and the network node density information in the network node density information set, to obtain the first network topology. Based on the first water quality information, a master water quality analyzer to be synchronized is determined in the cluster of water quality analyzers to be synchronized. Based on the master water quality analyzer to be synchronized, the first network topology, and the target synchronization timing signal, the water quality analyzers to be synchronized in the cluster are subjected to laser triggering and spectral acquisition synchronization control.
10. A terminal, characterized in that, The device includes a processor, an input device, an output device, and a memory, which are interconnected. The memory stores a computer program, which includes program instructions. The processor is configured to invoke the program instructions to execute the picosecond-level laser triggering and spectral acquisition synchronization control method as described in any one of claims 1-5.
Citation Information
Patent Citations
Water quality monitoring method and device based on ultraviolet-visible spectroscopy
CN118362525A
Data processing method and device, equipment and storage medium
CN119167193A
Unmanned aerial vehicle-mounted hyperspectral water quality monitoring system and method with automatic calibration
CN119845865A
Multichannel fluorescence correlation spectrum multimer detection data processing method
CN120526859A
Activated carbon pore regulation and control method and monitoring equipment
CN120846948A