Fluorescent optical fiber sensor for measuring partial pressure of carbon dioxide in seawater and measuring method
The fluorescent optical fiber sensor addresses the limitations of large-scale instruments by providing a compact, efficient, and accurate method for measuring seawater carbon dioxide partial pressure using a carbon dioxide detection probe and wireless communication.
Patent Information
- Application Number
- CN202411240143.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-05
- Publication Date
- 2024-12-06
AI Technical Summary
Existing large-scale instruments for measuring carbon dioxide partial pressure in seawater suffer from large volume, high power consumption, short membrane life, leakage issues, and inaccurate data processing, leading to unreliable concentration measurements.
A compact fluorescent optical fiber sensor with a carbon dioxide detection probe, LED lights, photoelectric detection circuit, and microcontroller CPU, transmitting data via wireless communication for real-time, accurate carbon dioxide partial pressure measurement.
Enables safe and precise real-time measurement of seawater carbon dioxide partial pressure, overcoming the limitations of existing instruments with improved portability, reduced power consumption, and enhanced data accuracy.
Smart Images

Figure CN119086517A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to, in particular to, a fluorescent optical fiber sensor for measuring the carbon dioxide partial pressure of seawater and a measuring method. Background Art
[0002] The determination of carbon dioxide partial pressure in seawater plays an important role in various scientific research and practical applications. In-situ measurement of carbon dioxide partial pressure is the most direct means to obtain carbon distribution and circulation. In-situ measurement of carbon dioxide partial pressure in the atmosphere and seawater surface can be used to observe carbon dioxide flux. Partial pressure refers to the pressure contribution of a gas under a certain volume, and the partial pressure of a gas represents the true concentration of the gas.
[0003] At present, the analyzers that can measure the partial pressure of carbon dioxide in the atmosphere and surface seawater are mainly large-scale cruise instruments, such as those produced and sold by subCtech and Pro-Oceanus. These instruments have the problems of large volume and power consumption, short instrument balance membrane life, and easy leakage at the installation. In addition, the measured data is prone to inaccurate processing results during the processing process, resulting in inaccurate measurement of carbon dioxide concentration. Summary of the invention
[0004] In order to solve the above technical problems, the present invention provides a fluorescent optical fiber sensor and a measurement method for measuring the carbon dioxide partial pressure of seawater, so as to achieve the purpose of measuring the carbon dioxide partial pressure of seawater accurately and safely in real time.
[0005] To achieve the above object, the technical solution of the present invention is as follows:
[0006] A fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater, comprising a box, a PCB circuit board is arranged in the box, a touch display screen is arranged on the front of the box, and a microcontroller CPU, a wireless communication unit and a carbon dioxide detection unit are arranged on the PCB circuit board;
[0007] The communication data terminal of the microcontroller CPU is connected to the communication data terminal of the wireless communication unit, the carbon dioxide data terminal of the microcontroller CPU is connected to the data terminal of the carbon dioxide detection unit, and the touch display data terminal of the microcontroller CPU is connected to the data terminal of the touch display screen;
[0008] A carbon dioxide detection probe is led out of the box through a wire, and the carbon dioxide detection probe is connected to a carbon dioxide detection unit;
[0009] The microcontroller CPU uses the carbon dioxide content detected by the carbon dioxide detection unit to transmit it to the storage platform through the wireless communication unit.
[0010] In the above scheme, the carbon dioxide detection probe includes a fluorescence quenching film, an excitation light source and a photoelectric detection circuit;
[0011] The excitation light source includes an LED red light, an LED green light and an LED blue light, and the microcontroller CPU controls the LED red light, the LED green light and the LED blue light to emit different brightnesses so as to generate different light sources;
[0012] The photoelectric detection circuit includes a light source detector, a light source preamplifier and a light source A / D converter;
[0013] The data signal output end of the light source detector is connected to the signal input end of the light source preamplifier, the signal output end of the light source preamplifier is connected to the signal input end of the light source A / D converter, and the signal output end of the light source A / D converter is connected to the data end of the carbon dioxide detection unit; the light source preamplifier amplifies the signal detected by the light source detector, and converts the analog signal into a digital signal through the light source A / D converter;
[0014] The light emitted by the excitation light source irradiates the fluorescence quenching membrane, and the light source detector detects the fluorescence intensity after the light source irradiates the fluorescence quenching membrane, and then passes through the light source preamplifier and the light source A / D converter in sequence and inputs into the carbon dioxide detection unit.
[0015] In a further technical solution, a temperature detection sensor is also provided on the outer surface of the carbon dioxide detection probe, and the temperature data end of the temperature detection sensor is connected to the data signal end of the A / D converter. The analog signal output by the temperature detection sensor is converted into a digital signal through the A / D converter and input into the carbon dioxide detection unit.
[0016] In the above scheme, the wireless communication unit is one of a wireless communication 3G unit, a wireless communication 4G unit, a wireless communication 5G unit, or any combination thereof; the communication data end of the wireless communication 3G unit is connected to the communication data 3G end of the microcontroller CPU; the communication data end of the wireless communication 4G unit is connected to the communication data 4G end of the microcontroller CPU; and the communication data end of the wireless communication 5G unit is connected to the communication data 5G end of the microcontroller CPU.
[0017] In the above scheme, the model of the microcontroller CPU is the stm32f103c series controller; the wireless communication unit is the MH500 module.
[0018] A method for measuring the partial pressure of carbon dioxide in seawater, using the fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater as described above, comprises the following steps:
[0019] S1, system initialization;
[0020] S2, the carbon dioxide detection probe obtains the carbon dioxide content in seawater in real time;
[0021] S3, the carbon dioxide detection probe transmits the collected data to the carbon dioxide detection unit, and then uploads it to the microcontroller CPU. The microcontroller CPU processes the acquired real-time carbon dioxide content data and transmits it to the storage platform through the wireless communication unit for storage.
[0022] In the above scheme, in step S3, the microcontroller CPU processes the acquired real-time carbon dioxide content data as follows:
[0023] S31, generating a CO2-t curve image using the acquired real-time carbon dioxide content data, wherein the horizontal axis X represents time t, and the vertical axis Y represents the carbon dioxide content;
[0024] S32, obtaining the number of horizontal and vertical pixels in the curve image, and obtaining the total number of pixels in the curve image according to the obtained number of horizontal and vertical pixels;
[0025] S33, generating N continuous filling boxes according to the total number of pixels;
[0026] S34, generating a curve code according to the obtained curve image, and generating M filling boxes according to the number of curve code bits;
[0027] S35, randomly inserting the M fill-in boxes into N consecutive fill-in boxes to obtain M+N fill-in boxes;
[0028] S36, filling the pixel values in the curve image into N consecutive filling boxes in order from left to right and from top to bottom, and filling the curve codes into M filling boxes in order from left to right;
[0029] S37, taking characters from the M+N filling boxes in order from left to right to obtain processed carbon dioxide data;
[0030] S38, transmitting the processed carbon dioxide data to a storage platform.
[0031] In a further technical solution, in step S32, the method for obtaining the total number of pixels in the curve image according to the obtained number of horizontal and vertical pixels is:
[0032] N=n X *n Y
[0033] Among them, N represents the total number of pixels in the curve image, n X Indicates the number of horizontal pixels in the curve image, n Y Indicates the number of vertical pixels in the curve image.
[0034] In a further technical solution, the CO2-t curve image in step S31 is a Gray image.
[0035] In a further technical solution, in step S36, the number of bits of the pixel value is unified with the number of bits of the curve code.
[0036] Through the above technical solution, the fluorescent optical fiber sensor and measurement method for measuring the partial pressure of carbon dioxide in seawater provided by the present invention have the following beneficial effects:
[0037] The present invention adopts a carbon dioxide detection probe to measure the carbon dioxide partial pressure in seawater based on the fluorescence quenching principle, which can achieve the safety and accuracy of the real-time carbon dioxide content data detected by the sensor in the solution. BRIEF DESCRIPTION OF THE DRAWINGS
[0038] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art are briefly introduced below.
[0039] Figure 1 This is a schematic diagram of the structure of a fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater disclosed in an embodiment of the present invention;
[0040] Figure 2 This is a schematic diagram of the connections within the PCB circuit board;
[0041] Figure 3 This is the internal structure diagram of the carbon dioxide detection probe;
[0042] Figure 4 This is a schematic diagram of the M+N filling boxes after insertion;
[0043] Figure 5 This is a schematic diagram after filling 30 pixel values and curve codes into 39 filling boxes.
[0044] In the figure, 1. box body; 2. PCB circuit board fixed mounting base; 3. PCB circuit board; 4. touch display screen fixed mounting base; 5. touch display screen; 6. carbon dioxide detection probe; 7. wire. DETAILED DESCRIPTION
[0045] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.
[0046] The present invention provides a fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater. Figure 1As shown, it includes a rectangular box body 1, a PCB circuit board fixing mounting seat 2 for fixing and mounting a PCB circuit board 3 is arranged in the box body 1, the PCB circuit board 3 is fixedly mounted on the PCB circuit board fixing mounting seat 2, a touch screen display fixing mounting seat 4 for fixing and mounting a touch screen 5 is arranged on the front of the rectangular box body 1, the touch screen 5 is fixedly mounted on the touch screen fixing mounting seat 4, and a microcontroller CPU, a wireless communication unit and a carbon dioxide detection unit are arranged on the PCB circuit board 3.
[0047] like Figure 2 As shown, the communication data terminal of the microcontroller CPU is connected to the communication data terminal of the wireless communication unit, the carbon dioxide data terminal of the microcontroller CPU is connected to the data terminal of the carbon dioxide detection unit, and the touch display data terminal of the microcontroller CPU is connected to the data terminal of the touch display screen. The microcontroller CPU transmits the carbon dioxide content detected by the carbon dioxide detection unit to the storage platform through the wireless communication unit.
[0048] The wireless communication unit is one of the wireless communication 3G unit, the wireless communication 4G unit, and the wireless communication 5G unit, or any combination thereof; the communication data terminal of the wireless communication 3G unit is connected to the communication data 3G terminal of the microcontroller CPU; the communication data terminal of the wireless communication 4G unit is connected to the communication data 4G terminal of the microcontroller CPU; the communication data terminal of the wireless communication 5G unit is connected to the communication data 5G terminal of the microcontroller CPU. The model of the microcontroller CPU is the stm32f103c series controller; and the wireless communication unit is the MH500 module.
[0049] A carbon dioxide detection probe 6 is led out of the rectangular box through a wire 7, and the carbon dioxide detection probe 6 is connected to the carbon dioxide detection unit. Figure 3 As shown, the carbon dioxide detection probe 6 includes a fluorescence quenching film, an excitation light source and a photoelectric detection circuit.
[0050] The excitation light source includes an LED red light, an LED green light and an LED blue light. The control end of the LED red light is connected to the red light control end of the microcontroller CPU, the control end of the LED green light is connected to the green light control end of the microcontroller CPU, and the control end of the LED blue light is connected to the blue light control end of the microcontroller CPU. The microcontroller CPU controls the LED red light, LED green light and LED blue light to emit different brightnesses to produce different light sources.
[0051] The photoelectric detection circuit includes a light source detector, a light source preamplifier and a light source A / D converter; the data signal output end of the light source detector is connected to the signal input end of the light source preamplifier, the signal output end of the light source preamplifier is connected to the signal input end of the light source A / D converter, and the signal output end of the light source A / D converter is connected to the data end of the carbon dioxide detection unit; the light source preamplifier amplifies the signal detected by the light source detector and converts the analog signal into a digital signal through the light source A / D converter.
[0052] The light emitted by the excitation light source irradiates the fluorescence quenching membrane, and the light source detector detects the fluorescence intensity after the light source irradiates the fluorescence quenching membrane, and then passes through the light source preamplifier and the light source A / D converter in sequence and inputs into the carbon dioxide detection unit.
[0053] In a preferred embodiment of the present invention, a temperature detection sensor is also provided on the outer surface of the carbon dioxide detection probe, and the temperature data end of the temperature detection sensor is connected to the data signal end of the A / D converter, and the analog signal output by the temperature detection sensor is converted into a digital signal through the A / D converter and input into the carbon dioxide detection unit.
[0054] The present invention also discloses a method for measuring the partial pressure of carbon dioxide in seawater, which uses the above-mentioned fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater, and comprises the following steps:
[0055] S1, system initialization;
[0056] S2, the carbon dioxide detection probe obtains the carbon dioxide content in seawater in real time;
[0057] S3, the carbon dioxide detection probe transmits the collected data to the carbon dioxide detection unit, and then uploads it to the microcontroller CPU. The microcontroller CPU processes the acquired real-time carbon dioxide content data and transmits it to the storage platform through the wireless communication unit for storage.
[0058] In step S3, the microcontroller CPU processes the acquired real-time carbon dioxide content data as follows:
[0059] S31, generating a CO2-t curve image from the acquired real-time carbon dioxide content data; wherein the horizontal axis X represents time t, and the vertical axis Y represents the carbon dioxide content; the CO2-t curve image is a Gray image;
[0060] S32, obtaining the number of horizontal and vertical pixels in the curve image, and obtaining the total number of pixels in the curve image according to the obtained number of horizontal and vertical pixels;
[0061] The specific method is:
[0062] N=n X *n Y
[0063] Among them, N represents the total number of pixels in the curve image, n X Indicates the number of horizontal pixels in the curve image, n Y Indicates the number of vertical pixels in the curve image.
[0064] S33, generating N continuous filling boxes according to the total number of pixels;
[0065] S34, generating a curve code according to the obtained curve image, and generating M filling boxes according to the number of curve code bits;
[0066] The method of generating a curve code according to the obtained curve image is:
[0067] Curvestring=Curvestringobtainemethod(Curveimage),
[0068] Among them, Curvestring means generating curve code according to curve image;
[0069] Curvestringobtainemethod() represents the curve image generation method, preferably using the SHA-1 algorithm;
[0070] Curveimage represents the CO2-t curve image.
[0071] S35, randomly inserting M fill-in boxes into N consecutive fill-in boxes to obtain M+N fill-in boxes; wherein, in order to facilitate the distinction between the M fill-in boxes and the N consecutive fill-in boxes, the M fill-in boxes and the N consecutive fill-in boxes have different colors, for example, the color of the M fill-in boxes is gray, and the color of the N consecutive fill-in boxes is white; in addition, the M fill-in boxes are randomly inserted into the N consecutive fill-in boxes, which divides the N consecutive fill-in boxes into M+1 single fill-in boxes or multiple consecutive fill-in boxes, and the M+N fill-in boxes after insertion are as follows: Figure 4 As shown. Due to the limited page space, arrow symbols are used to connect the first and last filling boxes.
[0072] S36, fill the pixel values in the curve image into N consecutive filling boxes in order from left to right and from top to bottom, and fill the curve code into M filling boxes in order from left to right; unify the number of bits of the pixel value with the number of bits of the curve code; it should be noted that the number of bits of the pixel value is unified with the number of bits of the curve code, for example, the decimal pixel value of the curve image is shown in Table 1.
[0073] Table 1 Decimal pixel values
[0074] 1 22 133 99 25 221 111 57 78 21 11 119 47 70 62 59 211 95 85 99 84 71 21 21 50 159 49 155 208 88
[0075] The curve code is 123456abc.
[0076] It can be seen from the above that N=30, M=9. In order to unify the number of bits of the pixel value with the number of bits of the curve code, it should be consistent with the number of bits of the maximum pixel value, and one or more 0s are added in front of it, then Table 1 is rewritten as shown in Table 2.
[0077] Table 2 Rewritten pixel values
[0078] 001 022 133 099 025 221 111 057 078 021 011 119 047 070 062 059 211 095 085 099 084 071 021 021 050 159 049 155 208 088
[0079] The curve code 123456abc is rewritten as 00100200300400500600a00b00c.
[0080] Fill in the 39 boxes with 30 pixel values and curve codes. Figure 5 shown.
[0081] S37, taking out characters from the M+N filling boxes in order from left to right to obtain processed carbon dioxide data; the taken out characters are:
[0082] 00102213300109900202522111100305700407802100501111904700607006205921109508500a09908400b07102102105015904900c155208088, which is the processed carbon dioxide data.
[0083] In a preferred embodiment of the present invention, the value is obtained as follows: the character string formed by taking out the characters from M filling boxes (blue boxes) in order from left to right should remove all the leading 0s in each box. If all the boxes are 0, one of the 0s is retained; the value taken out is 123456abc.
[0084] S38, transmitting the processed carbon dioxide data to a storage platform.
[0085] In a preferred embodiment of the present invention, the storage platform further includes the following steps:
[0086] S3-1, the storage platform fills the received processed carbon dioxide data into the M+N filling boxes in step S35 in sequence;
[0087] S3-2, take characters from N filling boxes (purple boxes) in order from left to right, and fill in n corresponding characters in order from left to right and from top to bottom. X *n Y In the table, as shown in Table 2;
[0088] S3-3, according to n X *n Y The pixel values in the table generate the platform image.
[0089] In a preferred embodiment of the present invention, the following steps are also included:
[0090] S3-4, generating a comparison value based on the platform image;
[0091] S3-5, determine whether the comparison value is consistent with the extracted value:
[0092] If the comparison value is consistent with the extracted value, the platform image is the CO2-t curve image generated in step S31; the platform image or the processed carbon dioxide data is stored, and when needed, the platform image can be directly accessed, while the processed carbon dioxide data needs to be parsed to obtain the platform image before use, to ensure data security.
[0093] If the comparison value is inconsistent with the extracted value, the platform image is not the CO2-t curve image generated in step S31.
[0094] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater, characterized in that: It comprises a box body, a PCB circuit board is arranged in the box body, a touch display screen is arranged on the front of the box body, and a microcontroller CPU, a wireless communication unit and a carbon dioxide detection unit are arranged on the PCB circuit board; The communication data terminal of the microcontroller CPU is connected to the communication data terminal of the wireless communication unit, the carbon dioxide data terminal of the microcontroller CPU is connected to the data terminal of the carbon dioxide detection unit, and the touch display data terminal of the microcontroller CPU is connected to the data terminal of the touch display screen; A carbon dioxide detection probe is led out of the box through a wire, and the carbon dioxide detection probe is connected to a carbon dioxide detection unit; The microcontroller CPU uses the carbon dioxide content detected by the carbon dioxide detection unit to transmit it to the storage platform through the wireless communication unit.
2. A fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater according to claim 1, characterized in that: The carbon dioxide detection probe comprises a fluorescence quenching film, an excitation light source and a photoelectric detection circuit; The excitation light source includes an LED red light, an LED green light and an LED blue light, and the microcontroller CPU controls the LED red light, the LED green light and the LED blue light to emit different brightnesses so as to generate different light sources; The photoelectric detection circuit includes a light source detector, a light source preamplifier and a light source A / D converter; The data signal output end of the light source detector is connected to the signal input end of the light source preamplifier, the signal output end of the light source preamplifier is connected to the signal input end of the light source A / D converter, and the signal output end of the light source A / D converter is connected to the data end of the carbon dioxide detection unit; the light source preamplifier amplifies the signal detected by the light source detector, and converts the analog signal into a digital signal through the light source A / D converter; The light emitted by the excitation light source irradiates the fluorescence quenching membrane, and the light source detector detects the fluorescence intensity after the light source irradiates the fluorescence quenching membrane, and then passes through the light source preamplifier and the light source A / D converter in sequence and inputs into the carbon dioxide detection unit.
3. A fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater according to claim 2, characterized in that: A temperature detection sensor is also provided on the outer surface of the carbon dioxide detection probe. The temperature data end of the temperature detection sensor is connected to the data signal end of the A / D converter. The analog signal output by the temperature detection sensor is converted into a digital signal through the A / D converter and input into the carbon dioxide detection unit.
4. A fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater according to claim 1, characterized in that: The wireless communication unit is one of a wireless communication 3G unit, a wireless communication 4G unit, and a wireless communication 5G unit, or any combination thereof; the communication data end of the wireless communication 3G unit is connected to the communication data 3G end of the microcontroller CPU; the communication data end of the wireless communication 4G unit is connected to the communication data 4G end of the microcontroller CPU; and the communication data end of the wireless communication 5G unit is connected to the communication data 5G end of the microcontroller CPU.
5. A fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater according to claim 1, characterized in that: The model of the microcontroller CPU is a stm32f103c series controller; the wireless communication unit is a MH500 module.
6. A method for measuring the partial pressure of carbon dioxide in seawater, using the fluorescent optical fiber sensor for measuring the partial pressure of carbon dioxide in seawater as claimed in claim 1, characterized in that: The steps include: S1, system initialization; S2, the carbon dioxide detection probe obtains the carbon dioxide content in seawater in real time; S3, the carbon dioxide detection probe transmits the collected data to the carbon dioxide detection unit, and then uploads it to the microcontroller CPU. The microcontroller CPU processes the acquired real-time carbon dioxide content data and transmits it to the storage platform through the wireless communication unit for storage.
7. The method for measuring the partial pressure of carbon dioxide in seawater according to claim 6, characterized in that: In step S3, the microcontroller CPU processes the acquired real-time carbon dioxide content data as follows: S31, generating a CO2-t curve image using the acquired real-time carbon dioxide content data, wherein the horizontal axis X represents time t, and the vertical axis Y represents the carbon dioxide content; S32, obtaining the number of horizontal and vertical pixels in the curve image, and obtaining the total number of pixels in the curve image according to the obtained number of horizontal and vertical pixels; S33, generating N continuous filling boxes according to the total number of pixels; S34, generating a curve code according to the obtained curve image, and generating M filling boxes according to the number of curve code bits; S35, randomly inserting the M fill-in boxes into N consecutive fill-in boxes to obtain M+N fill-in boxes; S36, fill the pixel values in the curve image into N consecutive filling boxes in order from left to right and from top to bottom, and fill the curve codes into M filling boxes in order from left to right; S37, taking characters from the M+N filling boxes in order from left to right to obtain processed carbon dioxide data; S38, transmitting the processed carbon dioxide data to a storage platform.
8. The method for measuring the partial pressure of carbon dioxide in seawater according to claim 7, characterized in that: In step S32, the method for obtaining the total number of pixels in the curve image according to the obtained number of horizontal and vertical pixels is: N=n X *n Y Among them, N represents the total number of pixels in the curve image, n X Indicates the number of horizontal pixels in the curve image, n Y Indicates the number of vertical pixels in the curve image.
9. The method for measuring the partial pressure of carbon dioxide in seawater according to claim 7, characterized in that: The CO2-t curve image in step S31 is a Gray image.
10. The method for measuring the partial pressure of carbon dioxide in seawater according to claim 7, characterized in that: In step S36, the number of bits of the pixel value is unified with the number of bits of the curve code.
Citation Information
Patent Citations
Detector for aflatoxin
CN104614350A
Real-time online dissolved oxygen monitoring sensor device, control method and use method
CN114264637A
Carbon dioxide sensor
CN117805077A
Online fluorescence method dissolved oxygen device based on protenchyma networking
CN206974903U
Optical sensor, capnography system and methods of use
US20170248519A1
