Water flow velocity measuring device and method based on photoelectric oscillator
Through the water flow rate measurement method based on the photoelectric oscillator, the problems of insufficient water flow rate measurement accuracy and poor adaptability in urban water systems are solved, and high-precision, low-cost, and anti-interference water flow rate measurement is achieved, supporting urban water conservancy engineering and water resource management.
Patent Information
- Application Number
- CN202510317498.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-18
- Publication Date
- 2025-05-09
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
The existing water flow rate measurement methods have problems such as insufficient measurement accuracy, poor adaptability, high environmental interference and high cost in urban water systems, which are difficult to meet the needs of urban water conservancy engineering and water resource management.
The water flow rate measurement device and method based on the photoelectric oscillator is adopted to construct an oscillation circuit, inject phase modulation signals, collect demodulation signals, construct water flow rate information flow, obtain the mapping relationship between the demodulation signal frequency and the water flow rate, and use a linear regression model to generate the water flow rate range, and select the measurement points for measurement.
It realizes high-precision, low-cost, and anti-interference water flow velocity measurement in urban water systems, and can accurately measure complex water flow conditions and tiny water flows, reducing hardware costs and installation difficulties, and improving measurement efficiency and stability.
Smart Images

Figure CN119959573A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of flow velocity measurement, and more specifically, to a water flow velocity measurement device based on a photoelectric oscillator and a method thereof. Background Art
[0002] In the fields of urban water system, such as refined management of urban water conservancy projects, construction of urban flood prevention and disaster reduction systems, and efficient use of urban water resources, water flow velocity measurement has extremely high accuracy and adaptability requirements. For example, in the optimization and upgrading of urban drainage pipe networks, accurate control of water flow velocity in the pipe network helps to timely discover areas with poor drainage and avoid urban waterlogging; in the design of urban landscape water circulation systems, accurate water flow velocity data is the key to ensuring water self-purification and landscape effects.
[0003] However, existing measurement methods are difficult to meet the specific needs of these urban water system scenarios. In the complex urban drainage network environment, mechanical measurement methods are prone to collision damage due to the complex internal structure of the pipes and the changing direction of water flow, and it is difficult to ensure long-term stable measurement. Take the flow meter as an example. In narrow and curved pipes, its measurement accuracy will be greatly affected and it cannot provide reliable data for pipe network optimization.
[0004] The disadvantages of hydraulic measurement methods, such as high requirements for the installation environment and high costs, are particularly prominent in urban environments. The dense urban buildings and complex electromagnetic environment will interfere with the measurement signals of radar and ultrasonic methods. At the same time, in urban micro-water flow measurement scenarios, such as water flow inside urban fountains or small landscape streams, such methods are almost ineffective, resulting in a lack of key data support for the design and optimization of urban landscape water circulation systems.
[0005] Indirect measurement methods based on temperature, sound, electromagnetic waves, etc. also face difficulties in urban water system applications. The temperature method is susceptible to interference in urban drainage networks due to the complex composition of sewage, and it is impossible to accurately measure water flow rate. The acoustic Doppler measurement method has a significant drop in measurement accuracy in areas with a large number of floating objects on the water surface, such as urban rivers, and is difficult to meet the accuracy requirements for water flow rate data in urban river ecological environment monitoring.
[0006] In summary, the existing water flow velocity measurement methods have problems such as insufficient measurement accuracy, poor adaptability, strong environmental interference and high cost in specific scenarios of urban water systems, which seriously restrict the efficient construction of urban water conservancy projects and the rational use of urban water resources. In view of this, we propose a water flow velocity measurement device and method based on a photoelectric oscillator. Summary of the invention
[0007] The purpose of the present invention is to provide a water flow velocity measurement device and method based on a photoelectric oscillator to solve the technical problems that the existing water flow velocity measurement technology relies on hardware installation, has high cost, is subject to large environmental restrictions, cannot measure small urban water flows, and has difficulty in obtaining long-term stable flow velocity monitoring data.
[0008] In order to solve the above technical problems, the present invention provides the following technical solutions: a water flow rate measuring device based on a photoelectric oscillator, comprising a construction module, a modulation module, an acquisition module, a water flow rate information flow construction module, a mapping relationship acquisition module, a frequency signal sequence generation module, a variance calculation module, a linear regression model construction module and a measurement point selection module; The building module is used to build an oscillation circuit using an optoelectronic oscillator, and adjust the oscillation frequency based on the oscillation circuit; The modulation module is used to inject phase modulation signals with different characteristic distributions, different frequencies and different initial phases into the oscillation circuit; The acquisition module is used to acquire the demodulated signal output by the oscillation circuit as measurement data; The water flow rate information flow construction module is used to construct the water flow rate information flow according to the measurement data; The mapping relationship acquisition module is used to output the demodulated signal frequency under different flow rate conditions according to the water flow rate information flow, and acquire the mapping relationship between the demodulated signal frequency and the water flow rate; The frequency signal sequence generation module is used to select the frequency component of the arbitrary waveform demodulation signal under any flow rate condition to generate a frequency signal sequence; The variance calculation module is used to calculate the signal variance according to the frequency signal sequence, and determine the frequency corresponding to the variance peak as the demodulation characteristic frequency; The linear regression model building module is used to use the mapping relationship between the demodulated characteristic frequency and the water flow rate as an independent variable, build a linear regression model through a linear regression method, and use the linear regression model to generate a water flow rate range in a required measurement area; The measuring point selection module is used to select a measuring water flow velocity interval based on the water flow velocity range, and select a measuring point within the measuring water flow velocity interval to carry out water flow velocity measurement; The optoelectronic oscillator includes an optoelectronic oscillation module and an adjustable laser connected to the optoelectronic oscillation module. The optoelectronic oscillation module includes an optoelectronic oscillation cavity, and the oscillation frequency satisfies: ; In the formula, is an integer, , is the modal effective refractive index of the optical fiber, is the refractive index of the fiber core, is the refractive index of the cladding, is the nonlinear phase shift, is the carrier frequency.
[0009] A method for measuring water flow rate based on a photoelectric oscillator comprises the following steps: S1: Use the photoelectric oscillator to build an oscillation circuit, and adjust the oscillation frequency based on the oscillation circuit; S2: injecting phase modulated signals with different characteristic distributions into the oscillation circuit; S3: collecting the demodulated signal output by the oscillation circuit as measurement data; S4: construct water flow rate information flow based on measurement data; S5: Outputting demodulated signal frequencies under different flow rate conditions according to the water flow rate information flow, and obtaining a mapping relationship between the demodulated signal frequency and the water flow rate; S6: Select the frequency component of the arbitrary waveform demodulation signal under any flow rate condition to generate a frequency signal sequence; S7: Calculate signal variance according to the frequency signal sequence; S8: determining the frequency corresponding to the variance peak as the demodulation characteristic frequency; S9: Taking the mapping relationship between the demodulated characteristic frequency and the water flow velocity as the independent variable, a linear regression model is constructed by a linear regression method, and the water flow velocity range in the required measurement area is generated using the linear regression model; S10: selecting a water flow velocity interval to be measured based on the water flow velocity range, and selecting a measurement point within the water flow velocity interval to carry out water flow velocity measurement; Wherein, the step S7 also includes setting the frequency signal sequence Any number among ,... The amplitude is , the amplitude calculation formula is: , where represents the integration period, is an imaginary unit, is the angular frequency; when When , the flow rate satisfies: , where is the speed of light, is the reference frequency set initially, is the modulation frequency, is the optical fiber length; When the demodulated signal frequency satisfy: When , the variance of the frequency signal sequence is calculated to obtain the variance value of the corresponding flow velocity, and the corresponding flow velocity with the largest variance value is taken as the water flow velocity measurement value.
[0010] Preferably, the step S2 further comprises outputting the demodulated signal as an electrical signal to an optoelectronic oscillator, and modulating an adjustable laser to perform phase modulation based on the electrical signal; The injection expression of the electrical signal is: , where represents the amplitude of the DC signal, represents the amplitude of the AC signal, Indicates the signal source The angular frequency of the AC signal, represents the injected electrical signal; Another injection expression of the electrical signal is as follows: , where represents the amplitude of the DC signal, represents the amplitude of the AC signal, Indicates the signal source The angular frequency of the AC signal, is a phase modulated signal; in, and satisfy: ; ; ; In the formula, is the angular frequency parameter, is the amplitude parameter.
[0011] Preferably, the phase modulation signal satisfies: ; In the formula, is the carrier angular frequency, is the initial phase of the modulation signal, To demodulate the signal, is the frequency of the demodulated signal.
[0012] Preferably, step S3 further comprises collecting the demodulated signal output by the oscillation circuit as measurement data, and the measurement data conforms to the formula: ; In the formula, is the injected electrical signal, To demodulate the signal, is the speed of light, is the flow rate, For time, is the initial phase, is the modulation frequency.
[0013] Preferably, in step S4, a water flow rate information flow is constructed according to the measurement data, and the water flow rate information flow satisfies the formula: ; In the formula, is the speed of light, For time, To demodulate the signal, is the phase of the light wave propagating in the optical fiber, is the injected electrical signal, is the modulation frequency.
[0014] Preferably, the step S5 further comprises detecting the frequency of the demodulated signal using a frequency discriminator in the optoelectronic oscillator to obtain a mapping relationship between the frequency of the demodulated signal and the flow velocity.
[0015] Preferably, the step S6 also includes the frequency signal sequence satisfy , and Are all arbitrary numbers.
[0016] Preferably, in step S9, a linear regression model is used to generate the water flow rate range in the required measurement area, and the linear regression model is expressed as: ; In the formula, is the water flow rate, To demodulate the characteristic frequency, and is the regression coefficient, is a random error term with a mean of 0 and a variance of The normal distribution of , where Represents the number of measurement points, which is a positive integer; By fitting the known demodulation characteristic frequency and water flow rate data, the regression coefficient can be determined, thereby realizing the prediction of the water flow rate range according to the demodulation characteristic frequency.
[0017] Preferably, the step S10 also includes the following steps: S1001: Using the minimum flow rate value of the measuring water flow rate interval as the initial flow rate for measurement, and using the maximum flow rate value of the measuring water flow rate interval as the measurement step length, to generate a measuring water flow rate interval; S1002: Selecting water flow rate in the measuring range with arithmetic difference Carry out measurement tests at each measurement point; S1003: The flow velocity corresponding to each of the measurement points is used as the independent variable of the linear regression model. The measured value corresponding to each of the measurement points is used as the dependent variable of the linear regression model to solve the linear regression model.
[0018] Compared with the prior art, the present invention has the following beneficial effects: 1. The present invention is specially designed for urban water system measurement. By using a photoelectric oscillator to construct an oscillation circuit, it does not rely on complex mechanical structures or large equipment that is difficult to install in complex urban environments, thus reducing hardware costs and installation difficulties. It has strong adaptability to the environment and can work stably in complex environments such as urban drainage networks and landscape water bodies. It is not affected by building obstructions, electromagnetic interference, and floating objects. It can accurately measure water flow rates and provide accurate data support for urban water conservancy project construction and water resources management, effectively solving the problems of insufficient accuracy and poor adaptability of existing methods in urban water system measurements.
[0019] 2. The present invention can also capture water flow rate change information more comprehensively by injecting phase modulation signals with different characteristics into the oscillation circuit. In the urban drainage network, the water flow rate under different pipe diameters and different water flow conditions can be accurately measured. Even if the water flow fluctuates briefly or changes direction, it can be accurately reflected by the water flow rate information flow constructed by the demodulated signal, solving the problem of unstable measurement of mechanical measurement methods under complex water flow conditions, and further improving the stability and comprehensiveness of urban water system measurement.
[0020] 3. The present invention also greatly improves the measurement efficiency by analyzing the relationship between the demodulated signal frequency and the water flow rate using a linear regression model. When detecting large-scale urban drainage pipe networks or monitoring multi-region landscape water bodies, there is no need to perform complex multiple measurements and calculations on each measurement point, and accurate results can be obtained quickly, saving a lot of time and labor costs compared to traditional methods. At the same time, the model can flexibly adjust the measurement range and accuracy according to the needs of different urban water system scenarios, avoiding unnecessary hardware investment, further reducing measurement costs, and effectively solving the problems of low efficiency and high cost of existing methods in urban water system measurements. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 The figure is a flow chart of the method of the present invention. DETAILED DESCRIPTION
[0022] Embodiment 1: The present invention relates to a water flow rate measuring device based on a photoelectric oscillator, comprising a construction module, a modulation module, an acquisition module, a water flow rate information flow construction module, a mapping relationship acquisition module, a frequency signal sequence generation module, a variance calculation module, a linear regression model construction module and a measurement point selection module; The building module is used to build an oscillation circuit using an optoelectronic oscillator, and adjust the oscillation frequency based on the oscillation circuit; The modulation module is used to inject phase modulation signals with different characteristic distributions, different frequencies and different initial phases into the oscillation circuit; The acquisition module is used to acquire the demodulated signal output by the oscillation circuit as measurement data; The water flow rate information flow construction module is used to construct the water flow rate information flow according to the measurement data; The mapping relationship acquisition module is used to output the demodulated signal frequency under different flow rate conditions according to the water flow rate information flow, and acquire the mapping relationship between the demodulated signal frequency and the water flow rate; The frequency signal sequence generation module is used to select the frequency component of the arbitrary waveform demodulation signal under any flow rate condition to generate a frequency signal sequence; The variance calculation module is used to calculate the signal variance according to the frequency signal sequence, and determine the frequency corresponding to the variance peak as the demodulation characteristic frequency; The linear regression model building module is used to use the mapping relationship between the demodulated characteristic frequency and the water flow rate as an independent variable, build a linear regression model through a linear regression method, and use the linear regression model to generate a water flow rate range in a required measurement area; The measuring point selection module is used to select a measuring water flow velocity interval based on the water flow velocity range, and select a measuring point within the measuring water flow velocity interval to carry out water flow velocity measurement; In an embodiment of the present invention, the optoelectronic oscillator includes an optoelectronic oscillation module and an adjustable laser connected to the optoelectronic oscillation module, the optoelectronic oscillation module includes an optoelectronic oscillation cavity, and the oscillation frequency satisfies: ; In the formula, is an integer, , is the modal effective refractive index of the optical fiber, is the refractive index of the fiber core, is the refractive index of the cladding, is the nonlinear phase shift, is the carrier frequency; By constructing an oscillation circuit, injecting a phase modulation signal, collecting measurement data, and obtaining the mapping relationship between the demodulated signal frequency and the water flow velocity, a linear regression model is constructed through the linear regression method to achieve water flow velocity measurement and improve measurement efficiency.
[0023] Embodiment 2: Figure 1 As shown, a method for measuring water flow rate based on a photoelectric oscillator comprises the following steps: S1: Use the photoelectric oscillator to build an oscillation circuit, and adjust the oscillation frequency based on the oscillation circuit; S2: injecting phase modulated signals with different characteristic distributions into the oscillation circuit; As another embodiment of the present invention, the step S2 further includes outputting the demodulated signal as an electrical signal to an optoelectronic oscillator, and modulating an adjustable laser to perform phase modulation based on the electrical signal; The injection expression of the electrical signal is: , where represents the amplitude of the DC signal, represents the amplitude of the AC signal, Indicates the signal source The angular frequency of the AC signal, represents the injected electrical signal; Another injection expression of the electrical signal is as follows: , where represents the amplitude of the DC signal, represents the amplitude of the AC signal, Indicates the signal source The angular frequency of the AC signal, is a phase modulated signal; in, and satisfy: ; ; ; In the formula, is a specific angular frequency parameter, which is obtained by the cosine function Transform to get , which reflects the conversion relationship between different forms of DC components. is a specific amplitude parameter, which is obtained by the sine function Transform to get , which reflects the conversion relationship between different forms of communication components; As another embodiment of the present invention, the phase modulation signal satisfies: , where is the carrier angular frequency, is the initial phase of the modulation signal, To demodulate the signal, is the frequency of the demodulated signal; S3: collecting the demodulated signal output by the oscillation circuit as measurement data; As another embodiment of the present invention, step S3 further includes collecting the demodulated signal output by the oscillation circuit as measurement data, and the measurement data conforms to the formula: , where is the injected electrical signal, To demodulate the signal, is the speed of light, is the flow rate, For time, is the initial phase, is the modulation frequency; S4: construct water flow rate information flow based on measurement data; As another embodiment of the present invention, in step S4, a water flow rate information flow is constructed according to the measurement data, and the water flow rate information flow satisfies the formula: ; In the formula, is the speed of light, For time, To demodulate the signal, is the phase of light waves propagating in optical fibers, is the injected electrical signal, is the modulation frequency; S5: Outputting demodulated signal frequencies under different flow rate conditions according to the water flow rate information flow, and obtaining a mapping relationship between the demodulated signal frequency and the water flow rate; As another embodiment of the present invention, the step S5 further includes detecting the frequency of the demodulated signal using a frequency discriminator in the optoelectronic oscillator to obtain a mapping relationship between the frequency of the demodulated signal and the flow velocity.
[0024] S6: Select the frequency component of the arbitrary waveform demodulation signal under any flow rate condition to generate a frequency signal sequence; As another embodiment of the present invention, the step S6 further includes the frequency signal sequence satisfy , and are all arbitrary numbers; S7: Calculate signal variance according to the frequency signal sequence; As another embodiment of the present invention, the step S7 further includes setting a frequency signal sequence Any number in The amplitude is , the amplitude calculation formula is: , where represents the integration period, is an imaginary unit, is the angular frequency; when When , the flow rate satisfies: , where is the speed of light, is the reference frequency set initially, is the modulation frequency, is the optical fiber length; When the demodulated signal frequency satisfy: When , the variance of the frequency signal sequence is calculated to obtain the variance value of the corresponding flow velocity, and the corresponding flow velocity with the largest variance value is taken as the water flow velocity measurement value.
[0025] S8: determining the frequency corresponding to the variance peak as the demodulation characteristic frequency; The frequency corresponding to the variance peak is determined as the demodulation characteristic frequency. This frequency has a specific mapping relationship with the water flow rate and is an important basis for the subsequent construction of a linear regression model.
[0026] S9: Taking the mapping relationship between the demodulated characteristic frequency and the water flow velocity as the independent variable, a linear regression model is constructed by a linear regression method, and the water flow velocity range in the required measurement area is generated using the linear regression model; As another embodiment of the present invention, the linear regression model is used in step S9 to generate the water flow rate range in the required measurement area. The linear regression model is expressed as: ,in is the water flow rate, To demodulate the characteristic frequency, and is the regression coefficient, is a random error term with a mean of 0 and a variance of The normal distribution of , where Represents the number of measurement points, which is a positive integer; By fitting the known demodulation characteristic frequency and water flow rate data, the regression coefficient can be determined, thereby predicting the water flow rate range based on the demodulation characteristic frequency; S10: Selecting a water flow velocity measurement interval based on the water flow velocity range, and selecting a measurement point within the water flow velocity measurement interval to carry out water flow velocity measurement.
[0027] The step S10 also includes the following steps: S1001: Using the minimum flow rate value of the measuring water flow rate interval as the initial flow rate for measurement, and using the maximum flow rate value of the measuring water flow rate interval as the measurement step length, to generate a measuring water flow rate interval; S1002: Selecting water flow rate in the measuring range with arithmetic difference Carry out measurement tests at each measurement point; S1003: The flow velocity corresponding to each of the measurement points is used as the independent variable of the linear regression model. The measured value corresponding to each of the measurement points is used as the dependent variable of the linear regression model to solve the linear regression model; Wherein, the measured value includes the measured water flow rate value and the demodulated characteristic frequency.
[0028] The embodiments of the present invention disclose preferred embodiments, but are not limited thereto. A person skilled in the art can easily understand the spirit of the present invention based on the above embodiments and make different extensions and changes. However, as long as they do not deviate from the spirit of the present invention, they are all within the protection scope of the present invention.
Claims
1. A water flow rate measuring device based on a photoelectric oscillator, characterized in that: include: A building module, used for building an oscillation circuit using an optoelectronic oscillator, and adjusting an oscillation frequency based on the oscillation circuit; A modulation module, used for injecting a phase modulation signal with different characteristic distribution, frequency and initial phase into an oscillation circuit; An acquisition module, used for acquiring the demodulated signal output by the oscillation circuit as measurement data; A water flow rate information flow construction module, used for constructing a water flow rate information flow according to measurement data; A mapping relationship acquisition module is used to output the demodulation signal frequency under different flow rate conditions according to the water flow rate information flow, and obtain the mapping relationship between the demodulation signal frequency and the water flow rate; A frequency signal sequence generation module, used for selecting frequency components of arbitrary waveform demodulation signals under arbitrary flow velocity conditions to generate a frequency signal sequence; A variance calculation module is used to calculate the signal variance according to the frequency signal sequence, and determine the frequency corresponding to the variance peak as the demodulation characteristic frequency; A linear regression model building module is used to build a linear regression model by using a mapping relationship between demodulation characteristic frequency and water flow velocity as an independent variable through a linear regression method, and use the linear regression model to generate a water flow velocity range in a required measurement area; A measurement point selection module is used to select a measurement water flow velocity interval based on the water flow velocity range, and select measurement points within the measurement water flow velocity interval to carry out water flow velocity measurement; The optoelectronic oscillator includes an optoelectronic oscillation module and an adjustable laser connected to the optoelectronic oscillation module. The optoelectronic oscillation module includes an optoelectronic oscillation cavity, and the oscillation frequency satisfies: ; In the formula, is an integer, , is the modal effective refractive index of the optical fiber, is the refractive index of the fiber core, is the refractive index of the cladding, is the nonlinear phase shift, is the carrier frequency.
2. A method for measuring water flow rate based on a photoelectric oscillator, which is applied to the water flow rate measuring device based on a photoelectric oscillator according to claim 1, characterized in that: The following steps are involved: S1: Use the photoelectric oscillator to build an oscillation circuit, and adjust the oscillation frequency based on the oscillation circuit; S2: injecting phase modulated signals with different characteristic distributions into the oscillation circuit; S3: collecting the demodulated signal output by the oscillation circuit as measurement data; S4: construct water flow rate information flow based on measurement data; S5: Outputting demodulated signal frequencies under different flow rate conditions according to the water flow rate information flow, and obtaining a mapping relationship between the demodulated signal frequency and the water flow rate; S6: Select the frequency component of the arbitrary waveform demodulation signal under any flow rate condition to generate a frequency signal sequence; S7: Calculate signal variance according to the frequency signal sequence; S8: determining the frequency corresponding to the variance peak as the demodulation characteristic frequency; S9: Taking the mapping relationship between the demodulated characteristic frequency and the water flow velocity as the independent variable, a linear regression model is constructed by a linear regression method, and the water flow velocity range in the required measurement area is generated using the linear regression model; S10: selecting a water flow velocity interval to be measured based on the water flow velocity range, and selecting a measurement point within the water flow velocity interval to carry out water flow velocity measurement; Wherein, the step S7 also includes setting the frequency signal sequence Any number among ,... The amplitude is , the amplitude calculation formula is: , where represents the integration period, is an imaginary unit, is the angular frequency; when When , the flow rate satisfies: , where is the speed of light, is the reference frequency set initially, is the modulation frequency, is the optical fiber length; When the demodulated signal frequency satisfy: When , the variance of the frequency signal sequence is calculated to obtain the variance value of the corresponding flow velocity, and the corresponding flow velocity with the largest variance value is taken as the water flow velocity measurement value.
3. The water flow rate measurement method based on photoelectric oscillator according to claim 2 is characterized in that: The step S2 further includes outputting the demodulated signal as an electrical signal to an optoelectronic oscillator, and modulating an adjustable laser to perform phase modulation based on the electrical signal; The injection expression of the electrical signal is: , where represents the amplitude of the DC signal, represents the amplitude of the AC signal, Indicates the signal source The angular frequency of the AC signal, represents the injected electrical signal; Another injection expression of the electrical signal is as follows: , where represents the amplitude of the DC signal, represents the amplitude of the AC signal, Indicates the signal source The angular frequency of the AC signal, is a phase modulated signal; in, and satisfy: ; ; ; In the formula, is the angular frequency parameter, is the amplitude parameter.
4. The water flow rate measurement method based on photoelectric oscillator according to claim 3 is characterized in that: The phase modulated signal satisfies: ; In the formula, is the carrier angular frequency, is the initial phase of the modulation signal, To demodulate the signal, is the frequency of the demodulated signal.
5. The method for measuring water flow rate based on a photoelectric oscillator according to claim 4, characterized in that: The step S3 also includes collecting the demodulated signal output by the oscillation circuit as measurement data, and the measurement data conforms to the formula: ; In the formula, is the injected electrical signal, To demodulate the signal, is the speed of light, is the flow rate, For time, is the initial phase, is the modulation frequency.
6. The method for measuring water flow rate based on a photoelectric oscillator according to claim 5, characterized in that: In step S4, a water flow rate information flow is constructed according to the measurement data, and the water flow rate information flow satisfies the formula: ; In the formula, is the speed of light, For time, To demodulate the signal, is the phase of light waves propagating in optical fibers, is the injected electrical signal, is the modulation frequency.
7. The method for measuring water flow rate based on a photoelectric oscillator according to claim 6, characterized in that: The step S5 also includes detecting the frequency of the demodulated signal using the frequency discriminator in the optoelectronic oscillator to obtain a mapping relationship between the frequency of the demodulated signal and the flow velocity.
8. The method for measuring water flow rate based on a photoelectric oscillator according to claim 7, characterized in that: The step S6 also includes the frequency signal sequence ,...satisfy , and Are all arbitrary numbers.
9. The method for measuring water flow rate based on a photoelectric oscillator according to claim 8, characterized in that: In step S9, a linear regression model is used to generate the water flow rate range in the required measurement area. The linear regression model is expressed as: ; In the formula, is the water flow rate, To demodulate the characteristic frequency, and is the regression coefficient, is a random error term.
10. The method for measuring water flow rate based on a photoelectric oscillator according to claim 9, characterized in that: The step S10 also includes the following steps: S1001: Using the minimum flow rate value of the measuring water flow rate interval as the initial flow rate for measurement, and using the maximum flow rate value of the measuring water flow rate interval as the measurement step length, to generate a measuring water flow rate interval; S1002: Selecting water flow rate in the measuring range with arithmetic difference Carry out measurement tests at each measurement point; S1003: The flow velocity corresponding to each of the measurement points is used as the independent variable of the linear regression model. The measured value corresponding to each of the measurement points is used as the dependent variable of the linear regression model to solve the linear regression model.