CN116222483A - Valve opening detection and correction method and device - Google Patents
Valve opening detection and correction method and device Download PDFInfo
- Publication number
- CN116222483A CN116222483A CN202310221553.9A CN202310221553A CN116222483A CN 116222483 A CN116222483 A CN 116222483A CN 202310221553 A CN202310221553 A CN 202310221553A CN 116222483 A CN116222483 A CN 116222483A
- Authority
- CN
- China
- Prior art keywords
- valve rod
- valve
- axis sensor
- deflection angle
- information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B21/00—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
- G01B21/22—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring angles or tapers; for testing the alignment of axes
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01B—MEASURING LENGTH, THICKNESS OR SIMILAR LINEAR DIMENSIONS; MEASURING ANGLES; MEASURING AREAS; MEASURING IRREGULARITIES OF SURFACES OR CONTOURS
- G01B21/00—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant
- G01B21/02—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness
- G01B21/04—Measuring arrangements or details thereof, where the measuring technique is not covered by the other groups of this subclass, unspecified or not relevant for measuring length, width, or thickness by measuring coordinates of points
- G01B21/045—Correction of measurements
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M13/00—Testing of machine parts
- G01M13/003—Machine valves
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Indication Of The Valve Opening Or Closing Status (AREA)
Abstract
The invention provides a detection and correction method and a device for valve opening, which relate to the technical field of detection and correction for valve opening, and are used for detecting and correcting the valve opening and comprise the following steps: receiving acquisition signals sent by a terminal and executing zero offset data acquisition, wherein the zero offset data is initial position information of a six-axis sensor; according to the prompt information of the terminal, the valve rod is rotated forwards and reversely for one circle, and a corresponding relation between the deflection angle of the six-axis sensor and the deflection angle of the valve rod is established; and continuously acquiring the valve rod deflection angle information, analyzing valve opening change caused by the valve rod deflection angle information change, and realizing valve opening detection and calculation by establishing a mapping relation between the rotation angle of the six-axis sensor and the rotation angle of the six-axis sensor around the valve rod by rotating the valve rod clockwise for one circle and then rotating the valve rod anticlockwise for one circle.
Description
Technical Field
The invention relates to the technical field of valve opening detection and correction, in particular to a method and a device for detecting and correcting valve opening.
Background
Valves are mechanical devices for controlling the flow, direction, pressure, temperature, etc. of a flowing fluid medium, the valves are basic components in a pipeline system, valve pipe fittings are technically the same as pumps and are often discussed as a single category, the valves can be manually operated or operated by a hand wheel, a handle or a pedal, the pressure, temperature and flow change of the fluid medium can be changed through control, the opening degree of the valves refers to the percentage, and in general, a butterfly valve represents full closure by 0 degrees in terms of angle and full opening by 90 degrees;
the more advanced valve opening detection equipment relies on six sensors to detect the rotation angle of valve rod and carries out the aperture detection of valve, in theory, the rotation angle of valve rod is the same when six sensors 'rotation angle, but because there is the installation error between rotation angle of valve rod and the six sensors, this leads to when using six sensors' rotation angle as the rotation angle of valve rod to show, there is the registration deviation, in addition, the valve opening can produce micro-variation by the influence of vibration interference factors such as intraductal rivers, nearby subways, car, if not to valve opening carries out long-term monitoring, then can cumulatively influence, thereby lead to the valve opening finally to produce great deviation, the judgement of intraductal fluid flow of staff has seriously influenced.
SUMMARY OF THE PATENT FOR INVENTION
Aiming at the defects in the prior art, the invention provides a method and a device for detecting and correcting the opening of a valve so as to reduce the detection error of the opening of the valve.
According to a first aspect of the embodiments of the present disclosure, a preferred embodiment of the present disclosure provides a method for detecting and correcting a valve opening, which is used for detecting and correcting the valve opening, and includes:
receiving acquisition signals sent by a terminal and executing zero offset data acquisition, wherein the zero offset data is initial position information of a six-axis sensor;
according to the prompt information of the terminal, the valve rod is rotated forwards and reversely for one circle, and a corresponding relation between the deflection angle of the six-axis sensor and the deflection angle of the valve rod is established;
continuously acquiring the valve rod deflection angle information, and analyzing valve opening change caused by the valve rod deflection angle information change, wherein the valve opening change at least comprises shaking data change, micro-rotation data change and normal rotation data change;
and if the change of the valve normal rotation data or the set recording time exceeds a threshold value, reporting detection information to the terminal.
In an embodiment, the method for establishing the correspondence between the deflection angle of the six-axis sensor and the deflection angle of the valve rod includes:
recording the moving distance of the six-axis sensor after the valve rod rotates forwards and reversely for one circle, and calculating the rotating angle of the six-axis sensor around the valve rod according to the corresponding relation between the moving distance of the six-axis sensor and the rotating radius of the six-axis sensor;
recording the rotation angle of the six-axis sensor around the valve rod after the valve rod rotates forwards and reversely for one circle;
and establishing a corresponding database of the rotation angle of the six-axis sensor around the six-axis sensor and the rotation angle of the six-axis sensor around the valve rod.
In an embodiment, the valve stem deflection angle information is continuously obtained, and a valve opening change caused by the valve stem deflection angle information change is analyzed, wherein the valve opening change at least comprises a shake data change, a micro-rotation data change and a normal rotation data change, and the method comprises the following steps of:
pairing the position information of the valve rod with the time information;
calculating the sum of valve rod deflection angle information in a set time window, wherein the coordinate difference value of the position information of the valve rod between any two pieces of time information is used as valve rod deflection angle information;
if the sum of the valve rod deflection angle information in the set time window is smaller than a set threshold value, judging that the jitter data is changed;
if the sum of the valve rod deflection angle information in the set time window is within a set threshold value, determining that micro-rotation data change;
and if the sum of the valve rod deflection angle information in the set time window is larger than a set threshold value, judging that the normal rotation data is changed.
In an embodiment, if the change of the normal rotation data of the valve or the set recording duration exceeds a threshold, reporting detection information to the terminal includes:
if the sum of all the normal rotation data in the set recording time is larger than a rotation data preset value, reporting the current circle position, the valve opening and the normal rotation data in the set recording time to the terminal;
if the set recording time length exceeds the time length preset value, reporting the current circle position and the valve opening degree, and all micro-rotation data and normal rotation data in the set recording time length to the terminal.
According to a second aspect of the embodiments of the present disclosure, the present disclosure provides a device for detecting and correcting a valve opening, which is used for detecting and correcting the valve opening, and includes:
the initial module is used for receiving the acquisition signal sent by the terminal and executing zero offset data acquisition, wherein the zero offset data is initial position information of the six-axis sensor;
the calibration module is used for rotating the valve rod forward and backward for one circle according to the prompt information of the terminal, and establishing a corresponding relation between the deflection angle of the six-axis sensor and the deflection angle of the valve rod;
the detection module is used for continuously acquiring the valve rod deflection angle information and analyzing valve opening change caused by the valve rod deflection angle information change, wherein the valve opening change at least comprises shaking data change, micro-rotation data change and normal rotation data change;
and the prompting module is used for reporting detection information to the terminal if the change of the valve normal rotation data or the set recording duration exceeds a threshold value.
In one embodiment, the calibration module comprises:
the conversion module is used for recording the moving distance of the six-axis sensor after the valve rod rotates forwards and reversely for one circle, and calculating the rotating angle of the six-axis sensor around the valve rod according to the corresponding relation between the moving distance of the six-axis sensor and the rotating radius of the six-axis sensor;
the recording module is used for recording the rotation angle of the six-axis sensor around the valve rod after the valve rod rotates forwards and reversely for one circle;
and the generating module is used for establishing a corresponding database of the rotation angle of the six-axis sensor around the self and the rotation angle of the six-axis sensor around the valve rod.
In one embodiment, the detection module includes:
the pairing module is used for pairing the position information and the time information of the valve rod;
the calculating module is used for calculating the sum of the valve rod deflection angle information in a set time window, wherein the coordinate difference value of the position information of the valve rod between any two pieces of time information is used as valve rod deflection angle information;
the first judging module is used for judging that the jitter data changes if the sum of the valve rod deflection angle information in the set time window is smaller than a set threshold value;
the second judging module is used for judging that the micro-rotation data change is caused if the sum of the valve rod deflection angle information in the set time window is within a set threshold value;
and the third judging module is used for judging that the normal rotation data changes if the sum of the valve rod deflection angle information in the set time window is larger than a set threshold value.
In one embodiment, the prompting module includes:
the emergency reporting module is used for reporting the current circle position, the valve opening and the normal rotation data in the set recording duration to the terminal if the sum of all the normal rotation data in the set recording duration is larger than a preset rotation data value;
and the timing reporting module is used for reporting the current circle position and the valve opening degree, and all micro-rotation data and normal rotation data in the set recording time to the terminal if the set recording time exceeds the time preset value.
According to a third aspect of the embodiments of the present disclosure, the present disclosure provides a device for detecting and correcting a valve opening, including:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the steps of the above method.
According to a fourth aspect of the disclosed embodiments, the present patent provides a computer-readable storage medium having stored thereon a computer program for execution by a processor of the steps of the above method.
As can be seen from the above technical solutions, the method and device for detecting and correcting the valve opening provided by the present invention may include the following beneficial effects: according to the method, the valve rod rotates clockwise for one circle and then rotates anticlockwise for one circle, so that the mapping relation between the rotation angle of the six-axis sensor and the rotation angle of the six-axis sensor around the valve rod can be sought, the valve opening detection and calculation are realized by establishing the mapping relation between the rotation angle of the six-axis sensor and the rotation angle of the six-axis sensor around the valve rod, the position of the valve can be accurately obtained, and the error caused by assembly is overcome; the valve rod deflection angle is positive and negative in a set time window, accumulated data of magnitude values are calculated, the state of the valve rod can be comprehensively judged, shaking, micro-rotation and normal rotation of the valve rod can be rapidly identified, under the shaking state, the valve opening detection and correction equipment rapidly returns to dormancy, the working time of electronic components can be reduced, the power consumption is reduced, the working usable time is prolonged, and under the micro-rotation and normal rotation state, information prompt can be sent to a terminal, so that workers can be helped to correct abnormal deflection of the valve rod in time, and the influence of vibration interference factors such as water flow in a pipe, nearby subways and automobiles is overcome.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
In order to more clearly illustrate the patented embodiments of the invention, the drawings that are used in the detailed description or prior art description will be briefly described below. Throughout the drawings, the elements or portions are not necessarily drawn to actual scale.
FIG. 1 is a flow chart of a method for detecting and correcting the opening of a valve according to the present invention;
FIG. 2 is a flowchart of step S12 in a method for detecting and correcting a valve opening according to the present invention;
FIG. 3 is a flowchart of step S13 in a method for detecting and correcting a valve opening according to the present invention;
FIG. 4 is a flowchart of step S14 in a method for detecting and correcting the opening of a valve according to the present invention;
FIG. 5 is a block diagram of a device for detecting and correcting the opening of a valve according to the present invention;
fig. 6 is a block diagram of another valve opening detecting and correcting device provided by the present invention.
Detailed Description
Embodiments of the patent technical scheme of the present invention will be described in detail below with reference to the accompanying drawings. The following examples are only for more clearly illustrating the technical solutions of the present patent, and therefore are only exemplary and should not be taken as limiting the scope of the present patent.
Fig. 1 is a flowchart of a method for detecting and correcting valve opening, which is provided by the invention, and is applied to a valve opening detection and correction terminal, wherein the terminal can display information such as pictures, videos, short messages, weChat and the like. The terminal may be equipped with any of a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc. having a display screen. The method for detecting and correcting the valve opening provided in this embodiment, as shown in fig. 1, is used for detecting and correcting the valve opening, and includes the following steps S11-S14:
in step S11, receiving an acquisition signal sent by a terminal and performing zero offset data acquisition, wherein the zero offset data is initial position information of a six-axis sensor;
in the implementation mode, in a normal static state, the terminal APP is used for clicking and starting, partial data acquisition is carried out for at least 30 seconds, and zero partial data are stored in a server and a local at the same time and used for calculation processing of removing zero partial.
In step S12, the valve rod is rotated forward and rotated backward for one circle according to the prompt information of the terminal, and a corresponding relationship between the deflection angle of the six-axis sensor and the deflection angle of the valve rod is established;
in the implementation mode, a circle of opening is firstly arranged on the terminal APP, the valve is opened for one circle, after clicking is determined, a circle of closing is arranged on the terminal APP, the valve is closed for one circle, clicking is determined, and correction parameters of the rotating radius can be calibrated.
In step S13, the valve stem deflection angle information is continuously acquired, and a valve opening change caused by the valve stem deflection angle information change is analyzed, wherein the valve opening change at least comprises a shake data change, a micro-rotation data change and a normal rotation data change;
in step S14, if the change of the valve normal rotation data or the set recording duration exceeds a threshold, reporting detection information to the terminal;
in the implementation mode, the interference and vibration of the valve can be caused by the flowing water in the subway, the automobile or the pipe, the valve opening can be influenced in time, the factors and the influence caused by the factors are subjected to classified monitoring, the change of the valve opening can be regularly known, the timely correction of errors is facilitated, and the later maintenance is easy.
In one embodiment, as shown in fig. 2, in step S12, the valve rod is rotated forward and rotated backward for one circle according to the prompt information of the terminal, and a correspondence between the deflection angle of the six-axis sensor and the deflection angle of the valve rod is established, which includes the following steps S21-S23:
in step S21, the movement distance of the six-axis sensor after the valve rod rotates forward and reversely for one circle is recorded, and the rotation angle of the six-axis sensor around the valve rod is calculated according to the corresponding relation between the movement distance of the six-axis sensor and the rotation radius of the six-axis sensor;
in the implementation mode, a triangle structure is formed between a moving path of the six-axis sensor and two rotating radiuses of the six-axis sensor, the ratio between the moving distance of the six-axis sensor and the rotating radius length of the six-axis sensor is a sine value or a cosine value of the rotating angle of the six-axis sensor around the valve rod, and on the basis of knowing the moving distance of the six-axis sensor and the rotating radius length of the six-axis sensor, the angle corresponding to the sine value or the cosine value can be obtained as the rotating angle of the six-axis sensor around the valve rod according to the sine theorem or the cosine theorem.
In step S22, the rotation angle of the six-axis sensor around itself after the valve rod rotates forward and backward for one circle is recorded;
in step S23, a corresponding database of the rotation angle of the six-axis sensor around the valve rod and the rotation angle of the six-axis sensor around the valve rod is established;
in the implementation mode, the rotating angle of the six-axis sensor around the valve rod is theoretically the same as the rotating angle of the six-axis sensor around the valve rod, and due to the installation error, the two are unlikely to be completely the same, but a certain mapping relation exists, the mapping relation between the self-deflection angle of the six-axis sensor and the deflection angle of the valve rod is sought, the accurate confirmation is improved through data matching and fusion, the error can be reduced, that is, the rotating angle of the six-axis sensor around the self-rotation angle can be recorded, and then the rotating angle of the six-axis sensor around the self-rotation angle is converted into the rotating angle of the six-axis sensor around the valve rod, so that the accurate position angle can be obtained.
In one embodiment, as shown in fig. 3, in step S13, the valve stem deflection angle information is continuously acquired, and a valve opening change caused by the valve stem deflection angle information change is analyzed, where the valve opening change at least includes a shake data change, a micro-rotation data change, and a normal rotation data change, and the method includes the following steps S31-S35:
in step S31, the position information of the valve rod is paired with time information;
in step S32, calculating the sum of the valve rod deflection angle information in the set time window, wherein the coordinate difference of the position information of the valve rod between any two pieces of time information is used as the valve rod deflection angle information;
in this implementation manner, the time information of the fixed interval corresponds to the position information of the valve rod, and each time information corresponds to the position information of one valve rod, and the positive deflection is recorded as a positive value, and the negative deflection is recorded as a negative value, and the larger the absolute value of the sum of the valve rod deflection angle information is, the larger the offset is, and otherwise, the smaller the offset is.
In step S33, if the sum of the valve stem deflection angle information in the set time window is smaller than a set threshold value, it is determined that the jitter data is changed;
in the implementation mode, if the valve rod is positively and negatively deflected within a set time window and the final deflection result is smaller than the minimum value of the set threshold, the valve rod undergoes an ineffective rotation process, and no matter how large the deflection peak value is, the valve opening is not changed.
In step S34, if the sum of the valve stem deflection angle information in the set time window is within the set threshold, determining that the micro-rotation data is changed;
in the implementation mode, if the valve rod is deflected unidirectionally in a set time window, and the final result of deflection is larger than the minimum value of the set threshold value and smaller than the maximum value of the set threshold value, the valve rod is subjected to an effective rotation process, and the valve opening is changed under the long-term action.
In step S35, if the sum of the valve stem deflection angle information in the set time window is greater than a set threshold value, determining that the normal rotation data is changed;
in this implementation, if the valve stem is deflected unidirectionally within a set time window and the final result of the deflection is greater than the maximum value of the set threshold, the valve stem undergoes an effective rotational process and no trace movement directly causes a change in the valve opening.
In an embodiment, as shown in fig. 4, in step S14, if the change of the normal rotation data of the valve or the set recording duration exceeds a threshold, the detection information is reported to the terminal, including the following steps S41-S42:
in step S41, if the sum of all the normal rotation data in the set recording duration is greater than the preset rotation data value, reporting the current circle position, the valve opening and the normal rotation data in the set recording duration to the terminal;
in the implementation manner, if the deflection angle of the valve rod is larger than a fixed angle such as a half circle or a circle within a set recording time period from the last report data, the change of the opening degree of the valve is indicated to cause larger influence, and prompt information is sent to the terminal to prevent dangerous situations.
In step S42, if the set recording duration exceeds the duration preset value, reporting the current circle position and the valve opening to the terminal, and setting all micro-rotation data and normal rotation data in the recording duration;
according to the implementation mode, micro-rotation characteristic trust values can be calculated by periodically sending micro-rotation data to the terminal, accumulated calculation can be carried out on micro-rotation angles, a confirmation work order is generated according to micro-rotation sequences, trust values and accumulated values, appointed personnel are assigned to carry out field confirmation and photo input, correction of the current micro-rotation circle position can be facilitated by establishing a correction micro-rotation characteristic model, the current micro-rotation circle position can be used in a later operation mode, the circle position of a valve is estimated through circle position rotation values (clockwise is negative and anticlockwise is positive), the minimum value and the maximum value of the circle position of the valve are automatically found, and a method for simultaneously returning to zero by the minimum value and the valve opening is used as a valve complete closing correction method, so that the valve opening value is automatically adjusted;
in addition, the micro-rotation characteristic model is optimized through a micro-rotation confirmation work order or other valve opening instrument confirmation work orders, and the opening instrument is downloaded by the optimized micro-rotation characteristic model so as to judge the micro-rotation situation more accurately; after the characteristics of the vibration waiting interference sequences such as subways, motor vehicles, sidewalks, water pipes with different pipe diameters, valve types and the like are calculated and optimized, the vibration waiting interference sequences are downloaded, so that wake-up caused by interference can be more accurately judged, and dormancy can be timely carried out again, so that the required power consumption is reduced.
The following are device embodiments of the present disclosure that may be used to perform method embodiments of the present disclosure.
Fig. 5 is a block diagram of a device for detecting and correcting the opening of a valve, which is provided by the present invention and can be implemented as part or all of an electronic device through software, hardware or a combination of the two. As shown in fig. 5, the device for detecting and correcting the valve opening comprises:
the initial module 10 is used for receiving the acquisition signal sent by the terminal and executing zero offset data acquisition, wherein the zero offset data is initial position information of the six-axis sensor;
the calibration module 20 is used for rotating the valve rod forward and backward for one circle according to the prompt information of the terminal, and establishing a corresponding relation between the deflection angle of the six-axis sensor and the deflection angle of the valve rod;
the detection module 30 is configured to continuously acquire the valve stem deflection angle information, and analyze a valve opening change caused by the valve stem deflection angle information change, where the valve opening change at least includes a shake data change, a micro-rotation data change, and a normal rotation data change;
and the prompting module 40 is used for reporting detection information to the terminal if the change of the valve normal rotation data or the set recording duration exceeds a threshold value.
According to the method, the valve rod rotates clockwise for one circle and then rotates anticlockwise for one circle, so that the mapping relation between the rotation angle of the six-axis sensor and the rotation angle of the six-axis sensor around the valve rod can be sought, the valve opening detection and calculation are realized by establishing the mapping relation between the rotation angle of the six-axis sensor and the rotation angle of the six-axis sensor around the valve rod, the position of the valve can be accurately obtained, and the error caused by assembly is overcome; the valve rod deflection angle is positive and negative in a set time window, accumulated data of magnitude values are calculated, the state of the valve rod can be comprehensively judged, shaking, micro-rotation and normal rotation of the valve rod can be rapidly identified, under the shaking state, the valve opening detection and correction equipment rapidly returns to dormancy, the working time of electronic components can be reduced, the power consumption is reduced, the working usable time is prolonged, and under the micro-rotation and normal rotation state, information prompt can be sent to a terminal, so that workers can be helped to correct abnormal deflection of the valve rod in time, and the influence of vibration interference factors such as water flow in a pipe, nearby subways and automobiles is overcome.
In one embodiment, as shown in fig. 5, the calibration module 20 includes:
the conversion module 201 is configured to record a movement distance of the six-axis sensor after the valve rod rotates forward and reversely for one circle, and calculate a rotation angle of the six-axis sensor around the valve rod according to a correspondence between the movement distance of the six-axis sensor and a rotation radius of the six-axis sensor;
the recording module 202 is used for recording the rotation angle of the six-axis sensor around the valve rod after the valve rod rotates forwards and reversely for one circle;
and the generating module 203 is used for establishing a corresponding database of the rotation angle of the six-axis sensor around the self and the rotation angle of the six-axis sensor around the valve rod.
In one embodiment, as shown in fig. 5, the detection module 30 includes:
a pairing module 301, configured to pair the position information of the valve rod with time information;
the calculating module 302 is configured to calculate a sum of the valve stem deflection angle information within a set time window, where a difference value between position information coordinates of the valve stem between any two pieces of time information is used as valve stem deflection angle information;
a first determining module 303, configured to determine that the jitter data changes if the sum of the valve stem deflection angle information in the set time window is smaller than a set threshold;
a second determining module 304, configured to determine that the micro-rotation data changes if the sum of the valve stem deflection angle information in the set time window is within a set threshold;
and a third determining module 305, configured to determine that the normal rotation data changes if the sum of the valve stem deflection angle information in the set time window is greater than the set threshold.
In one embodiment, as shown in fig. 5, the prompt module 40 includes:
the emergency reporting module 401 is configured to report, to the terminal, the current circle position, the valve opening, and the normal rotation data in the set recording duration if the sum of all the normal rotation data in the set recording duration is greater than a preset rotation data value;
and the timing reporting module 402 is configured to report the current circle position and the valve opening to the terminal and all micro-rotation data and normal rotation data in the set recording duration if the set recording duration exceeds the duration preset value.
The specific manner in which the various modules perform the operations in the apparatus of the above embodiments have been described in detail in connection with the embodiments of the method, and will not be described in detail herein.
The embodiment of the disclosure also provides another device for detecting and correcting the opening of the valve:
fig. 6 is a block diagram illustrating an apparatus 800 for hearing aid fitting according to an exemplary embodiment. For example, apparatus 800 may be a mobile phone, computer, digital broadcast terminal, messaging device, game console, tablet device, medical device, exercise device, personal digital assistant, or the like.
Referring to fig. 6, apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communication component 816.
The processing component 802 generally controls overall operation of the apparatus 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing component 802 may include one or more processors 820 to execute instructions to perform all or part of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interactions between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on the device 800, contact data, phonebook data, messages, pictures, videos, and the like. The memory 804 may be implemented by any type or combination of volatile or nonvolatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
The power supply component 806 provides power to the various components of the device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen between the device 800 and the user that provides an output interface. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from a user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may sense not only the boundary of a touch or slide action, but also the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front camera and/or a rear camera. The front camera and/or the rear camera may receive external multimedia data when the apparatus 800 is in an operational mode, such as a photographing mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have focal length and optical zoom capabilities.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the device 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may be further stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 further includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be a keyboard, click wheel, buttons, etc. These buttons may include, but are not limited to: homepage button, volume button, start button, and lock button.
The sensor assembly 814 includes one or more sensors for providing status assessment of various aspects of the apparatus 800. For example, the sensor assembly 814 may detect an on/off state of the device 800, a relative positioning of the components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, an orientation or acceleration/deceleration of the device 800, and a change in temperature of the device 800. The sensor assembly 814 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscopic sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communication between the apparatus 800 and other devices, either in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi,2G or 3G, or a combination thereof.
In one exemplary embodiment, the communication component 816 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In one exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, ultra Wideband (UWB) technology, bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), digital Signal Processors (DSPs), digital Signal Processing Devices (DSPDs), programmable Logic Devices (PLDs), field Programmable Gate Arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic elements for executing the methods described above.
In an exemplary embodiment, a non-transitory computer readable storage medium is also provided, such as memory 804 including instructions executable by processor 820 of apparatus 800 to perform the above-described method. For example, the non-transitory computer readable storage medium may be ROM, random Access Memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any adaptations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It is to be understood that the present disclosure is not limited to the precise arrangements and instrumentalities shown in the drawings, and that various modifications and changes may be effected without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.
Claims (10)
1. The method for detecting and correcting the valve opening is characterized by comprising the following steps of:
receiving acquisition signals sent by a terminal and executing zero offset data acquisition, wherein the zero offset data is initial position information of a six-axis sensor;
according to the prompt information of the terminal, the valve rod is rotated forwards and reversely for one circle, and a corresponding relation between the deflection angle of the six-axis sensor and the deflection angle of the valve rod is established;
continuously acquiring the valve rod deflection angle information, and analyzing valve opening change caused by the valve rod deflection angle information change, wherein the valve opening change at least comprises shaking data change, micro-rotation data change and normal rotation data change;
and if the change of the valve normal rotation data or the set recording time exceeds a threshold value, reporting detection information to the terminal.
2. The method according to claim 1, wherein establishing the correspondence between the deflection angle of the six-axis sensor and the deflection angle of the valve rod by rotating the valve rod forward and backward for one circle according to the prompt information of the terminal comprises:
recording the moving distance of the six-axis sensor after the valve rod rotates forwards and reversely for one circle, and calculating the rotating angle of the six-axis sensor around the valve rod according to the corresponding relation between the moving distance of the six-axis sensor and the rotating radius of the six-axis sensor;
recording the rotation angle of the six-axis sensor around the valve rod after the valve rod rotates forwards and reversely for one circle;
and establishing a corresponding database of the rotation angle of the six-axis sensor around the six-axis sensor and the rotation angle of the six-axis sensor around the valve rod.
3. The method of claim 1, wherein continuously obtaining the valve stem deflection angle information, analyzing valve opening changes caused by the valve stem deflection angle information changes, the valve opening changes including at least a jitter data change, a micro-rotation data change, and a normal rotation data change, comprises:
pairing the position information of the valve rod with the time information;
calculating the sum of valve rod deflection angle information in a set time window, wherein the coordinate difference value of the position information of the valve rod between any two pieces of time information is used as valve rod deflection angle information;
if the sum of the valve rod deflection angle information in the set time window is smaller than a set threshold value, judging that the jitter data is changed;
if the sum of the valve rod deflection angle information in the set time window is within a set threshold value, determining that micro-rotation data change;
and if the sum of the valve rod deflection angle information in the set time window is larger than a set threshold value, judging that the normal rotation data is changed.
4. The method of claim 1, wherein reporting the detection information to the terminal if the valve normal rotation data change size or the set recording duration exceeds a threshold value comprises:
if the sum of all the normal rotation data in the set recording time is larger than a rotation data preset value, reporting the current circle position, the valve opening and the normal rotation data in the set recording time to the terminal;
if the set recording time length exceeds the time length preset value, reporting the current circle position and the valve opening degree, and all micro-rotation data and normal rotation data in the set recording time length to the terminal.
5. A device for detecting and correcting the opening of a valve, comprising:
the initial module is used for receiving the acquisition signal sent by the terminal and executing zero offset data acquisition, wherein the zero offset data is initial position information of the six-axis sensor;
the calibration module is used for rotating the valve rod forward and backward for one circle according to the prompt information of the terminal, and establishing a corresponding relation between the deflection angle of the six-axis sensor and the deflection angle of the valve rod;
the detection module is used for continuously acquiring the valve rod deflection angle information and analyzing valve opening change caused by the valve rod deflection angle information change, wherein the valve opening change at least comprises shaking data change, micro-rotation data change and normal rotation data change;
and the prompting module is used for reporting detection information to the terminal if the change of the valve normal rotation data or the set recording duration exceeds a threshold value.
6. The apparatus of claim 5, wherein the calibration module comprises:
the conversion module is used for recording the moving distance of the six-axis sensor after the valve rod rotates forwards and reversely for one circle, and calculating the rotating angle of the six-axis sensor around the valve rod according to the corresponding relation between the moving distance of the six-axis sensor and the rotating radius of the six-axis sensor;
the recording module is used for recording the rotation angle of the six-axis sensor around the valve rod after the valve rod rotates forwards and reversely for one circle;
and the generating module is used for establishing a corresponding database of the rotation angle of the six-axis sensor around the self and the rotation angle of the six-axis sensor around the valve rod.
7. The apparatus of claim 5, wherein the detection module comprises:
the pairing module is used for pairing the position information and the time information of the valve rod;
the calculating module is used for calculating the sum of the valve rod deflection angle information in a set time window, wherein the coordinate difference value of the position information of the valve rod between any two pieces of time information is used as valve rod deflection angle information;
the first judging module is used for judging that the jitter data changes if the sum of the valve rod deflection angle information in the set time window is smaller than a set threshold value;
the second judging module is used for judging that the micro-rotation data change is caused if the sum of the valve rod deflection angle information in the set time window is within a set threshold value;
and the third judging module is used for judging that the normal rotation data changes if the sum of the valve rod deflection angle information in the set time window is larger than a set threshold value.
8. The apparatus of claim 5, wherein the prompting module comprises:
the emergency reporting module is used for reporting the current circle position, the valve opening and the normal rotation data in the set recording duration to the terminal if the sum of all the normal rotation data in the set recording duration is larger than a preset rotation data value;
and the timing reporting module is used for reporting the current circle position and the valve opening degree, and all micro-rotation data and normal rotation data in the set recording time to the terminal if the set recording time exceeds the time preset value.
9. A detection and correction device for valve opening, comprising:
a processor;
a memory for storing the processor-executable instructions;
wherein the processor is configured to perform the steps of the method of any one of claims 1 to 4.
10. A computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when being executed by a processor, carries out the steps of the method of any one of claims 1 to 4.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310221553.9A CN116222483A (en) | 2023-03-09 | 2023-03-09 | Valve opening detection and correction method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310221553.9A CN116222483A (en) | 2023-03-09 | 2023-03-09 | Valve opening detection and correction method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116222483A true CN116222483A (en) | 2023-06-06 |
Family
ID=86584187
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310221553.9A Pending CN116222483A (en) | 2023-03-09 | 2023-03-09 | Valve opening detection and correction method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116222483A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116878860A (en) * | 2023-09-06 | 2023-10-13 | 江苏易恒自动化设备有限公司 | Valve part stroke test system and test method |
CN118135586A (en) * | 2024-05-06 | 2024-06-04 | 西安航天动力试验技术研究所 | Valve opening and closing state judging method, system, equipment and storage medium |
-
2023
- 2023-03-09 CN CN202310221553.9A patent/CN116222483A/en active Pending
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116878860A (en) * | 2023-09-06 | 2023-10-13 | 江苏易恒自动化设备有限公司 | Valve part stroke test system and test method |
CN116878860B (en) * | 2023-09-06 | 2023-11-28 | 江苏易恒自动化设备有限公司 | Valve part stroke test system and test method |
CN118135586A (en) * | 2024-05-06 | 2024-06-04 | 西安航天动力试验技术研究所 | Valve opening and closing state judging method, system, equipment and storage medium |
CN118135586B (en) * | 2024-05-06 | 2024-07-02 | 西安航天动力试验技术研究所 | Valve opening and closing state judging method, system, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN116222483A (en) | Valve opening detection and correction method and device | |
CN108222674B (en) | Door lock state detection method and device and door lock | |
CN108632081B (en) | Network situation evaluation method, device and storage medium | |
WO2017219506A1 (en) | Method and device for acquiring movement trajectory | |
WO2022142332A1 (en) | Alert threshold adjustment method, apparatus, electronic device, and storage medium | |
US20150350858A1 (en) | Systems and Methods for Monitoring Mobile Device Users | |
CN107202574B (en) | Motion trail information correction method and device | |
EP3045428A1 (en) | Method and device for prompting user based on smart water purifying equipment | |
CN109582197A (en) | Screen control method, device and storage medium | |
CN112414400B (en) | Information processing method and device, electronic equipment and storage medium | |
CN112013844A (en) | Method and device for establishing indoor environment map | |
CN111340808A (en) | Screen display monitoring method and device, electronic equipment and storage medium | |
CN112131079A (en) | Data monitoring method and device, electronic equipment and storage medium | |
CN112202962A (en) | Screen brightness adjusting method and device and storage medium | |
CN112525224B (en) | Magnetic field calibration method, magnetic field calibration device, and storage medium | |
CN109557484B (en) | Magnetic field detection method and system and terminal | |
CN117232464A (en) | Mechanical angle acquisition method, device and equipment of motor and storage medium | |
CN111737914A (en) | Method and device for measuring water mixing flow of oil well, electronic equipment and storage medium | |
CN111913850A (en) | Data anomaly detection method, device, equipment and storage medium | |
CN106790953B (en) | Information interception method and device | |
CN114120199A (en) | Event statistical method and device, electronic equipment and storage medium | |
US20170154318A1 (en) | Information processing method, apparatus, and storage medium | |
CN104461536A (en) | Operation processing method and device | |
EP2950183B1 (en) | Method and apparatus for measuring direction and terminal | |
CN106919912B (en) | Indoor monitoring method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |