Disclosure of Invention
The technical problem to be solved by the invention is to provide a swing check valve position detection method aiming at the technical defects of the part of the prior art.
The technical scheme adopted for solving the technical problems is to construct a swing check valve position detection method. The method comprises the following steps:
s1, arranging a groove on the non-sealing side of a valve clack of the check valve, and arranging a first number of permanent magnet parts in the groove;
S2, arranging a second number of magnetic field induction components on the periphery of a valve body of the check valve, wherein the induction range formed by all the magnetic field induction components is larger than or equal to the swing range of the valve clack;
S3, initializing magnetic field induction data corresponding to the magnetic field induction component when the valve clack is at a preset initial position;
and S4, when the valve clack swings, acquiring magnetic field induction data corresponding to each magnetic field induction component, and acquiring the current position of the valve clack according to the magnetic field induction data corresponding to the magnetic field component so as to obtain the valve position of the check valve.
Preferably, in the swing check valve position detection method according to the embodiment of the present invention, the first number is greater than or equal to 4 and/or the second number is greater than or equal to 3.
Preferably, in the method for detecting a valve position of a swing check valve according to the embodiment of the present invention, in step S1, the disposing a first number of permanent magnet parts in the groove includes:
The first number of permanent magnet components are circumferentially arranged about a center of the valve flap.
Preferably, in the method for detecting a valve position of a swing check valve according to the embodiment of the present invention, the permanent magnet parts are arranged at equal intervals.
Preferably, in the method for detecting a valve position of a swing check valve according to the embodiment of the present invention, the permanent magnet member is provided in a spherical shape.
Preferably, in the method for detecting a valve position of a swing check valve according to the embodiment of the present invention, in step S2, the disposing a second number of magnetic field sensing members on an outer periphery of a valve body of the check valve includes:
All the magnetic field induction components form arc-shaped arrangement on the section of the middle shaft of the valve cover of the check valve.
Preferably, in the method for detecting a valve position of a swing check valve according to the embodiment of the present invention, centers of all the magnetic field sensing members and the valve clack are arranged at equal intervals.
In the method for detecting a valve position of a swing check valve according to the embodiment of the present invention, in the step S3, when the valve clack is at a preset initial position, the method initializes magnetic field induction data corresponding to the magnetic field induction component, including:
And initializing magnetic field induction data of the magnetic field induction component when the valve clack swings at zero degrees.
In the method for detecting a valve position of a swing check valve according to the embodiment of the present invention, in the step S4, when the valve clack swings, magnetic field sensing data corresponding to each magnetic field sensing component is obtained, and a current position of the valve clack is obtained according to the magnetic field sensing data corresponding to the magnetic field sensing component, so as to obtain the valve position of the check valve, including:
According to the formula And acquiring the current position of the valve clack, wherein θ is the swing angle of the valve clack, k is a calibration coefficient, B i is the magnetic induction data of the ith magnetic field induction component, and n is the second quantity.
Preferably, in the method for detecting a valve position of a swing check valve according to the embodiment of the present invention, the method further includes:
and acquiring pressure data before and after the check valve so as to acquire pressure difference data between the check valve and the check valve, and performing Kalman filtering on the magnetic induction data of the magnetic field induction component when the pressure difference is larger than a preset value.
The method for detecting the valve position of the swing check valve has the following beneficial effects that non-contact real-time high-precision measurement can be realized.
Detailed Description
For a clearer understanding of technical features, objects and effects of the present invention, a detailed description of embodiments of the present invention will be made with reference to the accompanying drawings.
As shown in FIG. 1, an embodiment of a swing check valve position detection method of the present invention is disclosed. In the embodiment of the method for detecting the valve position of the swing check valve shown in fig. 1, the method comprises the following steps, specifically, S1, arranging a groove on the non-sealing side of the valve clack of the check valve, and arranging a first number of permanent magnet parts in the groove. S2, arranging a second number of magnetic field induction components on the periphery of the valve body of the check valve, wherein the induction range formed by all the magnetic field induction components is larger than or equal to the swing range of the valve clack. And S3, initializing magnetic field induction data corresponding to the magnetic field induction component when the valve clack is at a preset initial position. And S4, when the valve clack swings, acquiring magnetic field induction data corresponding to each magnetic field induction component, and acquiring the current position of the valve clack according to the magnetic field induction data corresponding to the magnetic field component so as to obtain the valve position of the check valve.
Based on step S1, a groove can be mechanically designed on the non-sealing side of the flap edge of the check valve, and a first number of corrosion-resistant permanent magnets, i.e. permanent magnet components, are embedded in the groove, and a plurality of permanent magnets form a magnet array to finally form a corresponding magnetic field source. The permanent magnet is packaged in the inner cavity of the valve clack, and is prevented from being in direct contact with the medium, so that the working parameters of the permanent magnet cannot be changed or abnormal due to pollution of the medium. In one embodiment, the permanent magnet may be a samarium cobalt component. The permanent magnet component may be spherical, for example samarium cobalt magnetic steel, wherein the volume of the spherical shape may be set according to the valve clack structure, and in an embodiment, the magnetic beads with structures of Φ3mm×5mm may be selected.
In an embodiment, the first number is greater than or equal to 4. The number of permanent magnets can be set to be 4 or more.
Optionally, in the step S1, a first number of permanent magnet parts are disposed in the groove, including that the first number of permanent magnet parts are circumferentially arranged around the center of the valve clack. Specifically, when designing the recess, can make the recess be the annular or the arc that form around the valve clack center, a plurality of permanent magnets set up in the recess in the back can finally form the rotating magnetic field. In a specific embodiment, when the valve clack is circular, the grooves and the edges of the valve clack can be arranged at equal intervals, and finally, the grooves are in a ring shape or an arc shape similar to the shape of the valve clack.
As shown in fig. 2, in a specific embodiment, the number of permanent magnet parts is 4, and four permanent magnet parts 111 are formed on the valve flap 110 at equidistant circumferential arrangement along the center of the valve flap 110.
Based on step S2, a second number of magnetic field sensing parts may be installed on the outer circumference of the valve body of the check valve, and the magnetic field generated by the permanent magnet parts is sensed by the magnetic field sensing parts to generate corresponding sensed data. It will be appreciated that each magnetic field sensing portion may only sense a portion of the area, so as to avoid that during the swing of the valve clack, the swing position of the valve clack may not be sensed by any magnetic field sensing portion, and therefore, when the number and positions of the magnetic field sensing members are set, the valve clack cannot exceed the sensing range formed by all the magnetic field sensing members during the swing of the valve clack.
In a specific embodiment, the second number is greater than or equal to 3. The number of the magnetic field sensing parts can be set to be 3 or more. In another embodiment, the magnetic field sensing component may be a magnetic field sensor such as a hall sensor.
In one embodiment, in the step S2, the second number of magnetic field sensing parts is disposed on the outer periphery of the valve body of the check valve, and all the magnetic field sensing parts are arranged in arc symmetry on the center axis section of the valve cover of the check valve. Specifically, output voltage abrupt change of magnetic field induction components such as Hall sensors can be avoided through arc symmetrical arrangement, and fitting accuracy is guaranteed.
In one embodiment, all of the magnetic field sensing members and the center of the valve flap are arranged at equal intervals. Specifically, when arc-shaped symmetrical arrangement is performed, the magnetic field induction components and the center of the valve clack are arranged at equal intervals, so that the accuracy of data processing is improved. The magnetic induction component takes the principle of covering the full range of the swing of the valve clack, so that the full opening degree measurement of the valve can be realized, and the fitting distortion of partial opening angles (such as overlarge opening) is avoided. The plurality of magnetic induction components are arranged in an array mode, so that output signals of the wall surface can be fluctuated due to the fact that the valve clack vibrates rapidly and slightly.
As shown in fig. 3 and 4, in a specific embodiment, the magnetic field sensing parts are hall sensors, and the number is 3. The center of the valve cover is taken as zero degree, the positions of three hall sensors 121 are sequentially arranged at intervals of 90 degrees to be zero degree, 3 hall sensors 121 are arranged on the periphery of the valve body 120 according to angles of 90 degrees, 180 degrees and 207 degrees, namely, the valve body 120 is horizontally and radially arranged two, one is arranged at the bottom of the valve body 120, and the center point of each sensor is positioned on the central axis of the valve cover 130 to cover the full swing range of the valve clack. It will be appreciated that the position of the sensor can be arranged as the case may be, for different types of non-return valves, to cover the full range of valve flap oscillations as a standard of arrangement.
Based on step S3, in the process of processing the sensing signal, in order to ensure accuracy of data, to exclude influence of environmental factors, it is necessary to initialize the data. When the valve clack is arranged at the preset initial position, the induction data corresponding to all the magnetic field induction components are initialized to obtain the calibration value of each magnetic field induction component. In one embodiment, the subsequent processing may also be compensated based on the resulting data.
In an embodiment, in the step S3, the initializing the magnetic field induction data corresponding to the magnetic field induction component when the valve clack is at the preset initial position includes initializing the magnetic field induction data of the magnetic field induction component when the valve clack swings at zero degrees. That is, in order to facilitate the data initialization in the measurement process, when the valve clack is set to swing at zero degrees, namely in a completely closed state, the magnetic field induction data corresponding to all the magnetic field induction components are acquired, and initialization processing is performed.
Based on step S4, during the application process of the check valve, when the opening of the check valve, that is, the swing of the valve clack, magnetic field induction data corresponding to all magnetic field induction components can be detected in real time, so as to determine the swing angle of the current valve clack according to all obtained magnetic field induction data, and then obtain the valve position of the check valve.
Optionally, in the step S4, when the valve clack swings, acquiring magnetic field induction data corresponding to each magnetic field induction component, and acquiring the current position of the valve clack according to the magnetic field induction data corresponding to the magnetic field induction component to obtain the valve position of the check valve, wherein the method comprises the following steps of And acquiring the current position of the valve clack, wherein θ is the swing angle of the valve clack, k is a calibration coefficient, B i is the magnetic induction data of the ith magnetic field induction component, and n is the second quantity.
Specifically, magnetic induction data corresponding to each magnetic field induction component is acquired. The data processing circuit may include an instrumentation amplifier and a microcontroller, that is, the instrumentation amplifier amplifies the induction signal of the magnetic field induction component and inputs the amplified signal to the microcontroller, and the microcontroller obtains corresponding magnetic field induction data based on internal calculation. When the sensing data of the magnetic field sensing component such as a Hall sensor is read, signal sampling can be performed through a sampling circuit, for example, the sampling frequency is set to be 10kHz, the sampling time period is 10ms each time, and 500 data points are acquired. A low pass filter (cut-off frequency 160 Hz) is used to remove high frequency noise. The signal is amplified to the 0-2.5V range by an instrumentation amplifier of model AD 620. The analog signal is converted to a 24-bit digital signal using ADS1256 and ultimately input to the microcontroller. Based on the obtained magnetic field induction intensity, the method is as followsFitting the magnetic field induction data of all the magnetic induction components to obtain the swing angle theta of the current valve clack. The calibration factor k can be derived from the valve specific structure, magnet mounting location, and sensor mounting location, among other things. The calibration coefficient k may be understood as a slope when the fitting function is selected as a primary function in the least square method, and in some embodiments, the fitting function may be selected according to specific needs, for example, a primary function fitting, an exponential function fitting, etc., so as to obtain, through a suitable fitting function, a functional relationship between the magnetic field strength B measured by the magnetic induction component and the swing angle, that is, the opening angle θ, of the valve clack, so as to obtain the swing angle θ of the current valve clack.
Meanwhile, when the magnetic field induction intensity is acquired, the method can be based on the formulaThe magnetic field induction data of the ith magnetic field induction component is obtained, wherein V i is the induction voltage of the magnetic field induction component obtained by the microcontroller, gain is the amplification factor of the instrument amplifier, K is the magnetic field intensity coefficient, and the parameter is determined according to the nature of the Hall element used, and is usually provided by an induction component manufacturer.
In an embodiment, the method for detecting the valve position of the swing check valve further comprises the steps of obtaining pressure data before and after the check valve to obtain pressure difference data between the check valve and the check valve, and performing Kalman filtering on magnetic induction data of the magnetic field induction component when the pressure difference is larger than a preset value. In the testing process, pressure transmitters can be arranged in front of and behind the check valve respectively, so that pressure data of the front and rear of the check valve are obtained through the pressure transmitters, pressure difference fluctuation of the front and rear of the check valve is obtained according to the difference value of the pressure data of the front and rear of the check valve, and if the pressure difference fluctuation delta P of the front and rear of the check valve is larger than a preset value, kalman filtering is started to restrain instantaneous jitter errors of the valve clack. Wherein the preset value may be set to be greater than or equal to 0.2MPa. I.e. when the valve front-back pressure difference fluctuation Δp >0.2MPa, the kalman filtering is started.
In one embodiment, the detected swing angle θ of the current valve flap is data-encapsulated according to a communication protocol, and the encapsulated data is sent to the CAN bus through a controller area network transceiver, such as TJA 1050. And the running state and the abnormal event are stored and then the data is uploaded to the DCS system through the CAN bus, so that the on-line monitoring and the remote control are supported.
In one embodiment, the control status of the check valve may be monitored, and when the check valve is not operated, a low power mode is entered, i.e., no associated detection process is performed. Until the check valve is detected to be operated, the detection process is triggered to be performed. In an embodiment, the detection process may also be triggered by a set trigger instruction. In an embodiment, the detection process may also be performed by setting a timing operation, for example, at preset time intervals.
By this procedure, a high accuracy detection can be achieved, wherein the detection accuracy of the valve flap position can reach 0.5 °. Meanwhile, the magnetic induction device can be applied to various environments, the magnetic induction process is not influenced by oil stains and water vapor, and the working condition of minus 40 ℃ to 150 ℃ is tolerated. The process supports on-line replacement of the sensor through a modularized design, and the valve body does not need to be shut down and disassembled. And the intelligent control system can also be linked with a DCS system to early warn blocking/closing delay faults in advance, so that backflow accidents are avoided.
It is understood that the foregoing examples merely illustrate preferred embodiments of the present invention, and the description thereof is specific and detailed and not to be construed as limiting the invention, and that it is understood that various changes and modifications can be made by one skilled in the art without departing from the spirit of the invention, and that it is intended to cover all modifications and adaptations of the invention as fall within the scope of the invention.