Device for detecting opening degree of gate valve

The elastic arm drives the fiber grating to generate strain by the magnetic cooperation between the second magnet and the first magnet, and uses a broadband optical signal to detect the gate valve opening, solving the problem of insufficient voltage and high labor costs, and realizing the gate valve opening without power bus power supply Testing reduces costs and avoids pollution.

CN222046860UActive Publication Date: 2024-11-22CHINA MOBILE GROUP SHANDONG +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420846509.7
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-04-22
Publication Date
2024-11-22
Estimated Expiration
2034-04-22

AI Technical Summary

Technical Problem

The existing gate valve opening sensor is prone to insufficient voltage when the valve is set far away, and the power supply device needs to be replaced regularly, which increases labor costs.

Method used

Using a combination device of the second magnet, the first elastic member, the optical fiber and the distal module, the elastic arm drives the optical fiber grating to generate strain through the magnetic cooperation between the second magnet and the first magnet, and uses a broadband optical signal to detect the opening of the gate valve to avoid Use of the power bus.

Benefits of technology

The gate valve opening detection without power supply of the power bus is realized, reducing labor costs and avoiding contamination of fluid in the valve pipeline.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222046860U_ABST
    Figure CN222046860U_ABST
Patent Text Reader

Abstract

The utility model discloses a device for detecting the opening degree of a gate valve, the gate valve comprises a valve body used for controlling the opening degree of the gate valve, and the valve body is provided with a first magnet; the device comprises a device body, a second magnet, a first elastic piece, an optical fiber and a far-end module, the second magnet is movably arranged on the device body, the first elastic piece is an elastic arm, the first end of the elastic arm is connected with the device body, the second end of the elastic arm is a free end, the second magnet is in contact with the second end of the elastic arm, and fiber bragg gratings are distributed at the first end of the optical fiber. The fiber grating is arranged at the second end of the elastic arm; the second magnet is used for being in magnetic fit with the first magnet under the condition that the valve body moves to adjust the opening degree so as to drive the elastic arm to drive the fiber bragg grating to generate strain, the second end of the optical fiber is connected with the far-end module, and the far-end module is used for determining the opening degree according to the strain. According to the scheme, the problem that an opening degree sensor in the prior art is insufficient in voltage or high in labor cost can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of gate valve opening detection, in particular to a device for detecting the opening of a gate valve. Background Art

[0002] In the related art, in order to detect the opening of a valve (such as a gate valve installed in a fluid pipeline), an opening sensor is usually used to detect the opening of the valve, and the detected signal is transmitted to a remote module. The opening sensor in the related art usually needs to use a 485 bus to introduce a remote power supply or install a power supply device on the valve. However, in the case where the valve is set far away, it is easy to have insufficient voltage when using the 485 bus to power the opening sensor, and using a power supply device installed on the valve to power the opening sensor requires regular replacement of the power supply device, which will increase labor costs. Therefore, the use of the opening sensor in the related art will have problems such as insufficient voltage or high labor costs. Utility Model Content

[0003] The utility model discloses a gate valve opening detection device to solve the problems of insufficient voltage or high labor cost existing in the opening sensor in the related technology.

[0004] In order to solve the above technical problems, the utility model is achieved as follows:

[0005] The present application discloses a device for detecting the opening of a gate valve, wherein the gate valve comprises a valve body for controlling the opening of the gate valve, wherein the valve body is provided with a first magnet;

[0006] The device comprises a device body, a second magnet, a first elastic member, an optical fiber and a remote module, wherein the second magnet is movably arranged on the device body, the first elastic member is an elastic arm, the first end of the elastic arm is connected to the device body, the second end of the elastic arm is a free end, the second magnet contacts the second end of the elastic arm, the first end of the optical fiber is distributed with an optical fiber grating, and the optical fiber grating is arranged on the second end of the elastic arm;

[0007] When the valve body moves to adjust the opening, the second magnet is used to magnetically cooperate with the first magnet to drive the elastic arm to drive the fiber grating to produce strain. The second end of the optical fiber is connected to the remote module, and the remote module is used to determine the opening according to the strain.

[0008] The technical solution adopted by the utility model can achieve the following technical effects:

[0009] The device for detecting the opening of a gate valve disclosed in the embodiment of the present application is configured with a second magnet, a first elastic member, an optical fiber and a remote module, so that when the valve body moves to adjust the opening, the second magnet magnetically cooperates with the first magnet to drive the elastic arm to drive the optical fiber Bragg grating to produce strain, thereby causing the remote module to emit a broadband light signal to the optical fiber, and the broadband light signal outputs a wavelength signal after being reflected by the optical fiber Bragg grating. The wavelength signal is returned to the remote module, and the remote module determines the strain of the optical fiber Bragg grating based on the returned wavelength signal, thereby determining the opening of the gate valve.

[0010] The device for detecting the opening of the gate valve disclosed in the embodiment of the present application adopts the method of cooperating the first magnet and the second magnet, and determines the opening of the gate valve according to the strain of the detected fiber grating. The opening of the gate valve can be detected by only requiring the remote module to transmit a broadband optical signal to the optical fiber and receiving the output wavelength signal after reflection by the fiber grating, thereby eliminating the need to set a power bus and a power supply device at the gate valve end. Therefore, the device for detecting the opening of the gate valve disclosed in the embodiment of the present application can solve the problem of insufficient voltage or high labor cost of the opening sensor used in the related art, and the device for detecting the opening of the gate valve disclosed in the embodiment of the present application does not need to contact the gate valve, thereby avoiding contamination of the device for detecting the opening of the gate valve by the fluid in the gate valve pipeline. BRIEF DESCRIPTION OF THE DRAWINGS

[0011] Figure 1 A schematic diagram of the cooperation between the device for detecting the opening of a gate valve disclosed in an embodiment of the utility model and the gate valve;

[0012] Figure 2 The schematic diagram of signal transmission in fiber grating in the prior art.

[0013] Description of reference numerals:

[0014] 110-valve body, 120-first magnet, 130-flange

[0015] 210 - device body, 211 - detection window, 220 - second magnet, 230 - first elastic member, 240 - optical fiber, 241 - fiber grating, 250 - second elastic member, 260 - guide part, 270 - remote module, 280 - protective box. DETAILED DESCRIPTION

[0016] In order to make the purpose, technical solution and advantages of the utility model clearer, the technical solution of the utility model will be clearly and completely described below in combination with the specific embodiments of the utility model and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the utility model, not all of the embodiments. Based on the embodiments in the utility model, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the utility model.

[0017] Figure 2 The schematic diagram of signal transmission in fiber Bragg grating in the prior art. According to the principle of signal transmission in the prior art fiber Bragg grating, the fiber Bragg grating is a grating with equal periodic distribution in the core area of ​​the optical fiber. The fiber Bragg grating can be prepared by the mask method to change the refractive index distribution in the optical fiber core. When the incident light with a certain spectral range enters the fiber Bragg grating, part of the spectral components are reflected and the transmitted spectral components are changed.

[0018] like Figure 2 As shown in the figure, the power distribution of the incident light in all wavelength ranges is uniform. After passing through the fiber Bragg grating, part of the light is reflected by the fiber Bragg grating, and part of the light continues to propagate through the fiber Bragg grating. Among them, the power distribution of the reflected light has a power peak, and the power peak corresponds to a wavelength. Correspondingly, the power distribution of the transmitted light has a power minimum, and the power minimum also corresponds to a wavelength. After the fiber Bragg grating is strained (tensile deformation or compression deformation), the wavelength corresponding to the peak power of the optical signal reflected by the fiber Bragg grating will change.

[0019] The technical solutions disclosed in various embodiments of the present utility model are described in detail below in conjunction with the accompanying drawings.

[0020] Please refer to Figure 1 The embodiment of the utility model discloses a device for detecting the opening of a gate valve. The gate valve disclosed can be installed on pipelines such as oil and gas pipelines and water pipes. The gate valve can be installed on pipelines such as oil and gas pipelines and water pipes through a flange 130.

[0021] The disclosed gate valve comprises a valve body 110 for controlling the opening of the gate valve, and the opening of the gate valve can be adjusted by controlling the movement of the valve body 110. The valve body 110 is provided with a first magnet 120.

[0022] The disclosed device for detecting the opening of a gate valve includes a device body 210, a second magnet 220, a first elastic member 230, an optical fiber 240, and a remote module 270. The second magnet 220 is movably disposed on the device body 210, the first elastic member 230 is an elastic arm, the first end of the elastic arm is connected to the device body 210, the second end of the elastic arm is a free end, the second magnet 220 is in contact with the second end of the elastic arm, the first end of the optical fiber 240 is distributed with a fiber grating 241, and the fiber grating 241 is disposed at the second end of the elastic arm.

[0023] When the valve body 110 moves to adjust the opening, the second magnet 220 is used to magnetically cooperate with the first magnet 120 to drive the elastic arm to drive the fiber grating 241 to generate strain. The second end of the optical fiber 240 is connected to the remote module 270, and the remote module 270 is used to determine the opening according to the strain.

[0024] In the specific implementation process, since the second magnet 220 is movably arranged on the device body 210, and the second magnet 220 is magnetically matched with the first magnet 120, when the valve body 110 moves to adjust the opening, the valve body 110 will drive the first magnet 120 to move, and the second magnet 220 will also move under the action of the magnetic field force of the first magnet 120. The movement of the second magnet 220 can drive the second end of the elastic arm to undergo elastic deformation relative to the first end of the elastic arm, and the optical fiber Bragg grating 241 arranged at the second end of the elastic arm can generate strain with the elastic deformation of the elastic arm.

[0025] It should be noted that when the gate valve is at different openings, the corresponding second magnet 220 moves at different distances under the action of the magnetic field force of the first magnet 120, and the strain generated by the fiber grating 241 is also different, that is, there is a corresponding relationship between the strain generated by the fiber grating 241 and the opening of the gate valve. Through experiments or calculations, the strain generated by the corresponding fiber grating 241 relative to the initial state or the preset state at different openings can be obtained, and the different openings corresponding to different strains are formed into a database and input into the remote module 270. When the device detects the gate valve opening, the remote module 270 can obtain the actual strain generated by the fiber grating 241, and the opening corresponding to the actual strain can be obtained according to the database, thereby realizing the detection of the opening.

[0026] It should be further explained that when detecting the strain of the fiber Bragg grating 241, the broadband light source of the remote module 270 emits a broadband light signal to the optical fiber 240, and the broadband light signal outputs a wavelength signal after being reflected by the fiber Bragg grating 241. The wavelength signal is returned to the wavelength detection device of the remote module 270. The wavelength detection device can determine the strain of the fiber Bragg grating 241 according to the returned wavelength signal, and then determine the opening of the gate valve. Among them, when the broadband light signal is the same, the wavelength signal reflected by the fiber Bragg grating 241 corresponding to the fiber Bragg grating 241 under different strain states is different.

[0027] The device for detecting the opening of a gate valve disclosed in the embodiment of the present application is provided with a second magnet 220, a first elastic member 230, an optical fiber 240 and a remote module 270, so that when the valve body 110 moves to adjust the opening, the second magnet 220 magnetically cooperates with the first magnet 120 to drive the elastic arm to drive the fiber grating 241 to generate strain, thereby causing the remote module 270 to emit a broadband light signal to the optical fiber 240, and the broadband light signal outputs a wavelength signal after being reflected by the fiber grating 241, and the wavelength signal is returned to the remote module 270, and the remote module 270 determines the strain of the fiber grating 241 according to the returned wavelength signal, and thus the opening of the gate valve can be determined.

[0028] The device for detecting the opening of the gate valve disclosed in the embodiment of the present application adopts the method of cooperating the first magnet 120 and the second magnet 220, and determines the opening of the gate valve according to the strain of the detected fiber grating 241. The remote module 270 only needs to transmit a broadband optical signal to the optical fiber 240, and receive the output wavelength signal after reflection by the fiber grating 241 to detect the opening of the gate valve, so there is no need to set a power bus and a power supply device on the gate valve. Therefore, the device for detecting the opening of the gate valve disclosed in the embodiment of the present application can solve the problem of insufficient voltage or high labor cost of the opening sensor used in the related art, and the device for detecting the opening of the gate valve disclosed in the embodiment of the present application does not need to contact the gate valve, thereby avoiding the contamination of the device for detecting the opening of the gate valve by the fluid in the gate valve pipeline.

[0029] Optionally, optical fiber gratings 241 may be provided on opposite sides of the second end of the elastic arm.

[0030] It should be noted that according to the fiber waveguide theory, when the phase matching condition is met, the Bragg wavelength λ of the fiber grating is B , that is, the peak wavelength of the reflected light power, is determined by the fiber core refractive index n and the grating period Λ. The relationship between them is shown in Formula 1:

[0031] λ B =2nΛ(Formula 1).

[0032] The temperature and strain of the fiber Bragg grating will cause the wavelength of the reflected light signal to change. The relationship between the wavelength of the light signal reflected by the fiber Bragg grating and the temperature and strain is shown in Formula 2:

[0033]

[0034] Among them, Δλ B It represents the change in wavelength after the light grating is strained relative to the unstrained state. α is the thermal expansion coefficient of the optical fiber. ξ is the thermo-optical coefficient of the optical fiber, which is a constant. P e The elastic-optical coefficient of the optical fiber material is a constant, ε is the strain, and ΔT is the temperature change of the optical grating relative to the preset temperature.

[0035] Based on the above principle, since λ B and Δλ B can be obtained through the remote module 270, α, ξ, P eAll of them are known quantities. By arranging fiber gratings 241 on opposite sides of the second end of the elastic arm, the fiber gratings 241 on opposite sides of the second end of the elastic arm produce opposite strains. The temperatures of the fiber gratings 241 on opposite sides of the second end of the elastic arm are usually the same. Therefore, the remote module 270 can obtain the values ​​of ε and ΔT through calculation. Therefore, the remote module 270 can determine the opening of the gate valve more accurately based on the strain ε, and can also determine the temperature at the gate valve position or the temperature change relative to the preset temperature, so that the ambient temperature at the gate valve position can be determined according to the detected temperature or temperature change, so that when the temperature or temperature change at the gate valve position is abnormal, information can be obtained in time and the environmental status near the gate valve can be checked.

[0036] Optionally, the device may further include a second elastic member 250 , and the second magnet 220 may be connected to the device body 210 via the second elastic member 250 .

[0037] The device for measuring the opening of a gate valve disclosed in the embodiment of the present application connects the second magnet 220 to the device body 210 via the second elastic member 250, so that the second elastic member 250 has a certain buffer during the movement process, thereby avoiding direct rigid impact on the elastic arm, which is beneficial to the protection of the elastic arm.

[0038] Of course, the second magnet 220 can be slidably disposed on the device body 210, the first magnet 120 and the second magnet 220 can be disposed oppositely and spaced apart, the first magnet 120 and the second magnet 220 can cooperate with each other by magnetic attraction, and the first magnet 120 can drive the second magnet 220 to move. Of course, the first magnet 120 and the second magnet 220 can also cooperate with each other by magnetic repulsion, the valve body 110 can be provided with two first magnets 120, the second magnet 220 can be located between the two first magnets 120, and the valve body 110 can drive the two first magnets 120 to move to drive the second magnet 220 to move.

[0039] Furthermore, the second magnet 220 can be suspended by the second elastic member 250, so that there is no friction contact between the second magnet 220 and the device body 210, and when the second magnet 220 and the first magnet 120 are magnetically matched to move the second magnet 220, it will not be affected by the friction between the second magnet 220 and the device body 210, thereby reducing the influencing factors of establishing the corresponding relationship between the opening and the strain, which is beneficial to the accuracy of establishing the corresponding relationship between the opening and the strain.

[0040] Specifically, the second elastic member 250 can be a spring, and the second magnet 220 can be suspended vertically downward by the spring. The valve body 110 can be used to be arranged above the second magnet 220, and the side of the second magnet 220 facing away from the valve body 110 can contact the second end of the elastic arm.

[0041] The device for measuring the opening of a gate valve disclosed in the embodiment of the present application is configured such that the second elastic member 250 is set as a spring, and the second magnet 220 is suspended vertically downward by the spring, thereby preventing the gravity of the second magnet 220 from causing bending deformation of the spring, thereby facilitating improving the accuracy of the established corresponding relationship between the opening and the strain.

[0042] In order to make the movement of the second magnet 220 more stable, optionally, the device may further include a guide portion 260 , which may be a ring-shaped structure, which may be disposed on the device body 210 , and which may be sleeved on the spring and the second magnet 220 .

[0043] The device for measuring the opening of the gate valve disclosed in the embodiment of the present application is provided with a guide portion 260 of an annular structure, so that the guide portion 260 can be sleeved on the spring and the second magnet 220, so that the second magnet 220 can move along the guide portion 260 when moving, thereby making the movement of the second magnet 220 more stable, and the guide portion 260 can also prevent the spring from bending and deforming.

[0044] Optionally, the elastic arm may be extended in the horizontal direction. Of course, the elastic arm may also be vertically arranged or inclined relative to the horizontal direction, and the embodiment of the present application does not impose any specific restrictions on the arrangement of the elastic arm.

[0045] In order to explain in detail the mathematical model between the opening and the change in the wavelength signal reflected by the fiber grating 241, the present application is based on the fact that the fiber grating 241 is provided on both opposite sides of the second end of the elastic arm, the second magnet 220 is suspended vertically downward by a spring, the valve body 110 is provided above the second magnet 220, the side of the second magnet 220 away from the valve body is in contact with the second end of the elastic arm, and the elastic arm is extended in the horizontal direction. Figure 1 The structure shown.

[0046] In the initial state, the valve body 110 is at the top (the first magnet 120 is farthest from the second magnet 220), and the magnetic force on the second magnet 220 is F by default. 磁0 At this time, the gravity of the second magnet 220 is G, the elastic arm is in a completely straight state, and the fiber Bragg grating 241 on both sides of the elastic arm has no strain in the positive and negative directions, that is, F 臂0 =0, then:

[0047] F 磁0 +G=F 弹0 +F 臂0 Formula (3).

[0048] Among them, F 弹0 is the elastic force of the spring, F 臂0is the force applied to the second end of the elastic arm.

[0049] When the valve body 110 moves so that the gate valve opening is at any opening x, under the force stable state,

[0050] F 磁x +G=F 弹x +F 臂x Formula (4).

[0051] Among them, F 弹x F is the spring force of the gate valve at any opening, 臂x F is the force on the second end of the elastic arm of the gate valve at any opening, 磁x is the magnetic force exerted on the second magnet 220 at any opening of the gate valve.

[0052] F 磁x The change is as follows: when the opening is x, the valve body 110 drives the first magnet 120 to move downward, and the magnetic force on the second magnet 220 increases; the valve body 110 drives the first magnet 120 to move upward, and the magnetic force on the second magnet 220 decreases. At this time, there is a stable linear relationship between the magnetic force on the second magnet 220 and the opening x. 1 (x), where:

[0053] F 磁x =f 1 (x)+F 磁0 (Formula 6).

[0054] F 弹x The change is: when the opening is x, the valve body 110 drives the first magnet 120 to move downward, the elastic force of the spring increases, the valve body 110 drives the first magnet 120 to move upward, and the elastic force of the spring decreases. At this time:

[0055] F 弹x =F 弹0 +K*Z x (Formula 7).

[0056] Among them, Z x is the distance the spring moves when subjected to magnetic force, which can be equivalent to the deflection of the elastic arm after being subjected to force, and K is the elastic modulus.

[0057] F 臂x Change of upward supporting force: The cross-sectional area, material and length of the elastic arm are fixed attributes, and the force F acting on the second magnet 220 by the elastic arm is 臂X There is a linear relationship with the strain e at the second end of the elastic arm as shown in formula (8):

[0058] F 臂X =f 3 (e x) formula (8).

[0059] Among them, e x is the strain at the second end of the elastic arm of the gate valve at any opening.

[0060] The disturbance of the elastic arm and the change of spring length: the spring extension distance and the deflection Z of the second end of the elastic arm x Equal, Z x There is a linear relationship Z with the strain e at the second end of the elastic arm x =f 2 (e x ).

[0061] The relationship between the strain at the second end of the elastic arm and the change in wavelength of the fiber Bragg grating 241: By demodulating the wavelength of the optical signal output after the fiber Bragg grating 241 is reflected by the remote module 270, the wavelength change Δλ of the optical signal output after the fiber Bragg grating 241 is obtained. x , wavelength change Δλ x With strain e x There is a linear relationship, as shown in formula (9):

[0062] P*Δλ x =e x Formula (9).

[0063] Based on formula (1) to formula (9), we can get formula (10):

[0064] f 1 (x) = F 弹0 +K*f 2 (P*Δλ x )+f 3 (P*Δλ x )-GF 磁0 Formula (10).

[0065] According to formula (10), since the only variables are the opening x and the wavelength change Δλ x Therefore, the remote module 270 can change the wavelength of the optical signal output after the fiber Bragg grating 241 is reflected by Δλ x The opening x can be determined.

[0066] It should be noted that the mathematical models of the devices for detecting the opening of the gate valve based on different structures are different, but the steps for establishing the mathematical models are basically the same, and they can be referenced to each other, which will not be described in detail here.

[0067] When the gate valve vibrates violently, the second magnet 220 will vibrate at a high frequency due to inertia. At this time, the elastic arm moves back and forth at a certain frequency, and the wavelength of the optical signal output after reflection by the fiber grating 241 will also change back and forth. Therefore, the vibration of the gate valve can be determined based on the change of the optical signal output after reflection by the fiber grating 241, and then relevant information can be obtained when the gate valve vibrates abnormally, so that the staff can confirm the situation near the gate valve in time.

[0068] Optionally, the second magnet 220 may be a cone, and the small end of the cone may be in contact with the second end of the elastic arm.

[0069] Since the second end of the elastic arm is provided with the optical fiber Bragg grating 241 and its area is limited, the device for measuring the opening of the gate valve disclosed in the embodiment of the application arranges the second magnet 220 as a cone so that the small end of the cone contacts the second end of the elastic arm, thereby ensuring that the second magnet 220 is in contact with the second end of the elastic arm, thereby avoiding occupying a large space.

[0070] Optionally, the second magnet 220, the first elastic member 230 and the optical fiber 240 may all be located in the device body 210, and the area of ​​the device body 210 opposite to the second magnet 220 is the detection window 211, and the material of the detection window 211 may be a non-metallic material.

[0071] The device for measuring the opening of a gate valve disclosed in the embodiment of the application allows the second magnet 220, the first elastic member 230 and the optical fiber 240 to be located inside the device body 210, so that the device body 210 can protect the second magnet 220, the first elastic member 230 and the optical fiber 240. By setting the material of the detection window 211 to be a non-metallic material, the detection window 211 can be prevented from being magnetized and affecting the magnetic cooperation between the first magnet 120 and the second magnet 220.

[0072] In an optional embodiment, the device may further include a protective box 280 . The protective box 280 may be disposed on the device body 210 . The second magnet 220 and the first elastic member 230 may both be disposed in the protective box 280 .

[0073] The device for measuring the opening of a gate valve disclosed in the embodiment of the present application is advantageous in improving the compactness of the device by arranging both the second magnet 220 and the first elastic member 230 in a protective box 280 and then integrally installing the protective box 280 to the device body 210 .

[0074] The above embodiments of the present invention focus on the differences between the various embodiments. As long as the different optimization features between the various embodiments are not contradictory, they can be combined to form a better embodiment. Considering the simplicity of the text, they will not be repeated here.

[0075] The embodiments of the utility model are described above in conjunction with the accompanying drawings, but the utility model is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the utility model, ordinary technicians in this field can also make many forms without departing from the scope of protection of the utility model and the claims, all of which are within the protection of the utility model.

Claims

1. A device for detecting the opening of a gate valve, characterized in that: The gate valve comprises a valve body (110) for controlling the opening of the gate valve, and the valve body (110) is provided with a first magnet (120); The device comprises a device body (210), a second magnet (220), a first elastic member (230), an optical fiber (240) and a remote module (270); the second magnet (220) is movably arranged on the device body (210); the first elastic member (230) is an elastic arm; the first end of the elastic arm is connected to the device body (210); the second end of the elastic arm is a free end; the second magnet (220) is in contact with the second end of the elastic arm; a fiber grating (241) is distributed on the first end of the optical fiber (240); and the fiber grating (241) is arranged on the second end of the elastic arm; When the valve body (110) moves to adjust the opening, the second magnet (220) is used to magnetically cooperate with the first magnet (120) to drive the elastic arm to drive the fiber grating (241) to generate strain, and the second end of the optical fiber (240) is connected to the remote module (270), and the remote module (270) is used to determine the opening according to the strain.

2. The device according to claim 1, characterized in that The optical fiber grating (241) is provided on two opposite sides of the second end of the elastic arm.

3. The device according to claim 1, characterized in that The device further comprises a second elastic member (250), and the second magnet (220) is connected to the device body (210) via the second elastic member (250).

4. The device according to claim 3, characterized in that The second magnet (220) is suspended in the air by means of the second elastic member (250).

5. The device according to claim 4, characterized in that The second elastic member (250) is a spring, and the second magnet (220) is suspended vertically downward by the spring. The valve body (110) is used to be arranged above the second magnet (220), and the side of the second magnet (220) facing away from the valve body is in contact with the second end of the elastic arm.

6. The device according to claim 5, characterized in that The device further comprises a guide portion (260), the guide portion (260) being an annular structure, the guide portion (260) being arranged on the device body (210), and the guide portion (260) being sleeved on the spring and the second magnet (220).

7. The device according to claim 5, characterized in that The elastic arm is extended along the horizontal direction.

8. The device according to claim 1, characterized in that The second magnet (220) is a cone, and the small end of the cone is in contact with the second end of the elastic arm.

9. The device according to claim 1, characterized in that The second magnet (220), the first elastic member (230) and the optical fiber (240) are all located inside the device body (210); an area of ​​the device body (210) opposite to the second magnet (220) is a detection window (211); and a material of the detection window is a non-metallic material.

10. The device according to claim 1, characterized in that The device further comprises a protective box (280), wherein the protective box (280) is arranged on the device body (210), and the second magnet (220) and the first elastic member (230) are both arranged in the protective box (280).