CN114486232B - Valve state calibration method and device, target detection equipment and storage medium - Google Patents
Valve state calibration method and device, target detection equipment and storage medium Download PDFInfo
- Publication number
- CN114486232B CN114486232B CN202011265202.0A CN202011265202A CN114486232B CN 114486232 B CN114486232 B CN 114486232B CN 202011265202 A CN202011265202 A CN 202011265202A CN 114486232 B CN114486232 B CN 114486232B
- Authority
- CN
- China
- Prior art keywords
- calibration
- state
- valve
- target
- display
- 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.)
- Active
Links
- 238000001514 detection method Methods 0.000 title claims abstract description 98
- 238000000034 method Methods 0.000 title claims abstract description 57
- 230000001960 triggered effect Effects 0.000 claims abstract description 10
- 238000004590 computer program Methods 0.000 claims description 16
- 230000008859 change Effects 0.000 claims description 5
- 230000009471 action Effects 0.000 claims description 2
- 239000000758 substrate Substances 0.000 claims 2
- 230000005540 biological transmission Effects 0.000 description 9
- 238000004891 communication Methods 0.000 description 9
- 238000010586 diagram Methods 0.000 description 7
- 238000012545 processing Methods 0.000 description 5
- 230000006870 function Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 238000012544 monitoring process Methods 0.000 description 3
- 230000004397 blinking Effects 0.000 description 2
- 239000012530 fluid Substances 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 208000027418 Wounds and injury Diseases 0.000 description 1
- 238000003889 chemical engineering Methods 0.000 description 1
- -1 chemical engineering Substances 0.000 description 1
- 239000003086 colorant Substances 0.000 description 1
- 230000006378 damage Effects 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 239000007789 gas Substances 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 208000014674 injury Diseases 0.000 description 1
- 238000007689 inspection Methods 0.000 description 1
- 238000009434 installation Methods 0.000 description 1
- 239000007788 liquid Substances 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 239000003208 petroleum Substances 0.000 description 1
- 239000000843 powder Substances 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000011897 real-time detection Methods 0.000 description 1
- XLYOFNOQVPJJNP-UHFFFAOYSA-N water Substances O XLYOFNOQVPJJNP-UHFFFAOYSA-N 0.000 description 1
Classifications
-
- 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
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/02—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
- H04L67/025—Protocols based on web technology, e.g. hypertext transfer protocol [HTTP] for remote control or remote monitoring of applications
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Indication Of The Valve Opening Or Closing Status (AREA)
Abstract
The embodiment of the invention provides a valve state calibration method, a device, target detection equipment, a storage medium and an electronic device, wherein the method comprises the following steps: detecting that the position of a target part arranged on the target valve is changed after determining that only the target valve is calibrated in a first state; after determining that the position of the target part stops changing, judging whether a first calibration instruction triggered by a calibration button arranged on the target detection equipment is received or not; under the condition that the first calibration instruction is received, calibrating the target valve in a second state; and detecting a connection state with the remote terminal under the condition that the first calibration command is not received, sending a calibration request to the remote terminal under the condition that the connection with the remote terminal is established, and calibrating the target valve under the second state based on the second calibration command after receiving the second calibration command returned by the remote terminal based on the calibration request.
Description
Technical Field
The embodiment of the invention relates to the field of valves, in particular to a valve state calibration method and device, target detection equipment, a storage medium and an electronic device.
Background
The valve is a switch most commonly used in industries (such as petroleum, chemical engineering, water and electricity length and the like) provided with a pipeline, and a device for controlling the direction, pressure and flow of fluid is a device for enabling media (liquid, gas and powder) in the pipeline and equipment to flow or stop and controlling the flow of the media, if the valve is opened by mistake, the fluid in the pipeline is leaked, so that asset loss is caused, and in addition, under the condition that a downstream valve is closed, the pipeline is exploded, so that serious injury is caused. Therefore, it is very important to detect the state of the valve opening or closing in real time.
In order to realize the detection of the opening and closing states of the valve, an intelligent detection device is installed on site in the related art, so that the opening or closing states of the valve can be detected. However, after the detection device is installed, the manufacturer installer needs to calibrate the valve state according to the on-off state position of the valve, and when the calibration is performed, a professional device is needed to connect with the detection device in an interface connection mode, and the state of the valve in the detection device is calibrated through the professional device.
Because of the particularity of the pipeline industry, some pipeline industries are remote in position, some industries do not allow external personnel to enter at will, so that manufacturer installation personnel cannot enter in time to calibrate the position of the second state, and therefore information of the second state of the valve cannot be sent to the background in time, and the monitoring of the state of the valve on site and the arrangement of other works by the background are affected.
As can be seen, the related art has a problem that the second state of the valve cannot be calibrated timely and effectively.
In view of the above problems in the related art, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a valve state calibration method, a device, target detection equipment, a storage medium and an electronic device, which at least solve the problem that the valve state cannot be calibrated timely and effectively in the related technology.
According to an embodiment of the present invention, there is provided a valve state calibration method including: detecting that the position of a target component arranged on a target valve changes after determining that only the target valve is calibrated in a first state; after determining that the position of the target component stops changing, judging whether a first calibration instruction triggered by a calibration button arranged on target detection equipment is received or not; under the condition that the first calibration instruction is received, calibrating the second state of the target valve; and detecting a connection state with a remote terminal under the condition that the first calibration command is not received, sending a calibration request to the remote terminal under the condition that the connection with the remote terminal is established, and calibrating the target valve under the second state based on the second calibration command after receiving the second calibration command returned by the remote terminal based on the calibration request.
According to an embodiment of the present invention, there is also provided a valve state calibration device including: the detection module is used for detecting that the position of a target component arranged on the target valve changes after determining that only the target valve is calibrated in a first state; the judging module is used for judging whether a first calibration instruction triggered by a calibration button arranged on the target detection equipment is received or not after the position of the target component is determined to stop changing; the calibration module is used for calibrating the second state of the target valve under the condition that the first calibration instruction is received; and detecting a connection state with a remote terminal under the condition that the first calibration command is not received, sending a calibration request to the remote terminal under the condition that the connection with the remote terminal is established, and calibrating the target valve under the second state based on the second calibration command after receiving the second calibration command returned by the remote terminal based on the calibration request.
There is also provided, in accordance with an embodiment of the present invention, an object detection apparatus including: a processor, wherein the processor comprises the valve state calibration device described in the above embodiment; the calibration button is connected with the processor; and the wireless information receiving and transmitting module is connected with the processor and is used for communicating with the remote terminal.
According to an embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein a computer program, wherein the computer program, when executed by a processor, implements the steps of the method embodiments described above.
According to yet another embodiment of the present invention, there is also provided an electronic device including a memory, a processor, and a computer program stored on the memory and executable on the processor, the processor implementing the steps in the method embodiments described above when executing the computer program.
The invention can realize the calibration of the valve state by using the calibration button arranged on the target detection equipment or sending the calibration request to the remote terminal, thereby the special equipment is not required to be connected for calibration, the calibration mode is simple and convenient, and the operation personnel can directly use the calibration button or the remote terminal for calibration during the calibration, thereby the valve state is not required to be calibrated by the manufacturer installer, the timeliness of the valve state calibration is ensured, and the problem that the valve state cannot be effectively calibrated in time in the related technology is effectively solved.
Drawings
FIG. 1 is a hardware block diagram of a detection terminal of a valve state calibration method according to an embodiment of the present application;
FIG. 2 is a diagram of a network architecture according to an embodiment of the present application;
FIG. 3 is a schematic diagram of an electronic circuit according to an embodiment of the application;
fig. 4 is an external view of a detection apparatus according to an embodiment of the present application;
FIG. 5 is a flow chart of a valve state calibration method according to an embodiment of the present application;
FIG. 6 is an initial calibration flow chart according to an embodiment of the application;
FIG. 7 is a second state calibration flow chart according to an embodiment of the application;
FIG. 8 is a wireless calibration flow diagram according to an embodiment of the application;
fig. 9 is a block diagram of a valve status calibration device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The method embodiments provided in the embodiments of the present application may be performed in a detection terminal, a mobile terminal, a computer terminal or similar computing device. Taking the operation on the detection terminal as an example, fig. 1 is a hardware structure block diagram of the detection terminal of a valve state calibration method according to an embodiment of the present application. As shown in fig. 1, the detection terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, where the detection terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the structure shown in fig. 1 is merely illustrative, and is not intended to limit the structure of the detection terminal. For example, the detection terminal may also include more or fewer components than shown in fig. 1, or have a different configuration than shown in fig. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a valve status calibration method in an embodiment of the present invention, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, implement the method described above. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located with respect to the processor 102, which may be connected to the detection terminal through a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission means 106 is arranged to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, simply referred to as NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module, which is used to communicate with the internet wirelessly.
The embodiment of the present application may operate on a network architecture shown in fig. 2, where, as shown in fig. 2, the network architecture includes:
the system comprises a workstation 22, a wireless transmission device 24, a control terminal 26 and a detection device 28, wherein the detection device 28 can be connected with the workstation 22 through the wireless transmission device 24, the detection device 28 can be connected with the control terminal 26 through short-range communication (e.g. Bluetooth communication), and the detection device 28 can be used for calibrating the state of a valve.
The structure of the detecting device 28 will be described below:
the detection device 28 includes a housing, a detection module, and an electronic circuit including an MCU, a reset switch, a wireless messaging module, a calibration switch (or calibration button), a valve on indicator (or other display component, such as a display screen), and a valve off indicator (or other display component, such as a display screen), as shown in FIG. 3.
The reset switch, the wireless information receiving and transmitting module, the calibration switch, the valve opening indicator lamp and the valve closing indicator lamp are all connected with the MCU and read and controlled by the MCU. The surface of the shell is provided with a calibration button, a reset hole and an indication lamp hole which respectively correspond to a calibration switch, a reset switch and a valve switch indication lamp on the electronic circuit.
Valve open indicator lamp: the normal light indicates that the current valve is in the open position, the flashing indicates that the valve is open and is not calibrated (the normal light indicates that the open position and the flashing indicates that the valve is not calibrated are only an example, in practical application, other indication modes can be adopted, for example, low-frequency flashing (for example, flashing once every five seconds) indicates that the current valve is open and high-frequency flashing (for example, flashing once every second) indicates that the current valve is open and is not calibrated, in addition, other types of indication components, such as display components, such as a display screen, can be further arranged besides the valve open indication lamp, and the indication mode of the subsequent valve closing indication lamp is similar.
Valve closing indicator lamp: normally-on indicates that the current valve is in the closed position, and flashing indicates that the valve closed position is not calibrated.
Calibrating a button: pressing the button (or touching the button), and determining the current valve position of the valve when the valve position calibration condition is met;
reset switch: before the valve state detection equipment is used or before the valve opening and closing positions are recalibrated, the positions of the valve opening and closing states are reset to the non-calibration state through the button, and at the moment, the valve opening and closing position indicator lights flash at the same time.
A wireless information receiving and transmitting module: the method can be remotely communicated with background management software and also can be communicated with mobile phone application APP.
The appearance of the inspection apparatus can be seen in fig. 4.
In this embodiment, a valve state calibration method is provided, and fig. 5 is a flowchart of the valve state calibration method according to an embodiment of the present invention, as shown in fig. 5, where the flowchart includes the following steps:
step S502, detecting that the position of a target component arranged on a target valve is changed after determining that only the target valve is calibrated in a first state;
step S504, after determining that the position of the target component stops changing, judging whether a first calibration instruction triggered by a calibration button arranged on a target detection device (corresponding to the detection device 28) is received or not;
step S506, performing calibration of the second state on the target valve under the condition that the first calibration instruction is received;
step S508, detecting a connection state with a remote terminal if it is determined that the first calibration command is not received, sending a calibration request to the remote terminal if it is determined that a connection is established with the remote terminal, and calibrating the target valve in the second state based on the second calibration command after receiving the second calibration command returned by the remote terminal based on the calibration request.
The above operations may be performed by the target detection device, or a processor or a processing module disposed in the target detection device, or a processor relatively independent of the target detection device, or other devices with similar processing capabilities.
In the above embodiment, the first state may be an open state, the second state may be a closed state, or the first state may be a closed state, and the second state may be an open state, which is described only by taking the case that the target valve has two states as an example, and in practical application, a plurality of states may be configured for the target valve, for example, there may be a half open state, an open state of a predetermined degree, and the like, in addition to the open state and the closed state, in a calibration manner similar to the above-described calibration manner of the open state and the closed state. The target component may be a switch handle of the target valve or a switch turntable of the target valve.
As can be seen from the above embodiments, when the state of the target valve is calibrated, a button on-site calibration method and a wireless calibration method may be adopted, where the button on-site calibration method refers to that a field person performs calibration by pressing (or touching or other triggering modes) a calibration button on the detection device according to a calibration flow; the wireless calibration method is to perform wireless communication with other mobile terminal equipment (or called a control terminal or a background workstation which can be connected with a wireless communication device) with wireless communication function through a wireless information receiving and transmitting module in the detection equipment according to a calibration flow, and then perform calibration through the mobile terminal equipment, wherein the mobile terminal equipment comprises a mobile phone APP and a mobile phone PAD. In practical application, the calibration can be preferentially performed by adopting the calibration button, and the wireless calibration method is considered under the condition that the calibration can not be performed by the calibration button.
Through the embodiment, the state of the valve can be calibrated by utilizing the calibration button arranged on the target detection equipment or sending the calibration request to the remote terminal, so that special equipment is not required to be connected for calibration, the calibration mode is simple and convenient, and when the calibration is carried out, the operation personnel can directly calibrate the state of the valve by utilizing the calibration button or the remote terminal, so that the factory installer is not required to calibrate the state of the valve, the timeliness of the valve state calibration is ensured, and the problem that the state of the valve cannot be effectively calibrated timely in the related technology is effectively solved.
In an alternative embodiment, before detecting the change in the position of the target component disposed on the target valve, the method further includes: after determining that the target valve is calibrated in the first state, controlling a first display component arranged on the target detection equipment to enter a first display state; after detecting a change in the position of a target component disposed on the target valve, the method further includes: controlling the first display part to enter a second display state; wherein the first display state and the second display state are different. In this embodiment, before the calibration of the first state of the target valve, the first display component may be in a third display state, where the third display state may be different from the first display state and the second display state, alternatively, in this embodiment, the third display state may be a blinking state, the first display state may be a normally-on state, and the second display state may be an off state, where it is required to be noted that these several display states are only exemplary, and other display modes may be adopted in practical applications, for example, the various display states may be configured in advance according to different blinking frequencies, or configured according to different display colors, or configured according to different display brightness, so long as it is possible to ensure that the three states are distinguished.
In an alternative embodiment, after determining that the position of the target component has ceased to change, the method further comprises: controlling a second display part arranged on the target detection equipment to enter a third display state; after calibrating the target valve for the second state, the method further includes: controlling the second display part to enter a first display state; wherein the third display state is different from the first display state. In the present embodiment, the first display state and the third display state are similar to the first display state and the third display state described above. In practical applications, the display modes of the display states corresponding to the different display means may be different.
In an alternative embodiment, after calibrating the second state of the target valve, the method further comprises one of: transmitting the calibration result to a background workbench; and sending the calibration result and the position information of the target component corresponding to the second state to a background workbench. In this embodiment, after the calibration of the second state of the target valve is completed, the calibration result needs to be notified to the background workbench, so that the background workbench can determine the current state of the target valve, and in addition, the position of the target component of the target valve in the second state, for example, the position to which the switch handle is rotated, the number of rotations of the switch turntable (or the height of the switch turntable relative to the target valve body) can be additionally sent to the background workbench, so that the background workbench can determine the switch position of the target valve in different states. It should also be noted that the position of the target component in each state may also be recorded inside the target valve, so that it is subsequently possible to determine which state the target valve is in based on the detected position of the target component.
In an alternative embodiment, the remote terminal may include a control terminal (e.g., a mobile phone, a tablet, a computer, etc. with control functions), and may further include a background workstation (e.g., a processing terminal located in the background workstation).
In an alternative embodiment, detecting a connection state with a remote terminal if it is determined that the first calibration command is not received, and sending a calibration request to the remote terminal if it is determined that a connection is established with the remote terminal, and after receiving a second calibration command returned by the remote terminal based on the calibration request, calibrating the second state of the target valve based on the second calibration command includes: and detecting a connection state with a control terminal under the condition that the first calibration instruction is not received, sending the calibration request to the control terminal under the condition that the connection with the control terminal is established, and calibrating the second state of the target valve based on the second calibration instruction after the second calibration instruction returned by the control terminal based on the calibration request is received.
In an alternative embodiment, detecting a connection state with a remote terminal if it is determined that the first calibration command is not received, and sending a calibration request to the remote terminal if it is determined that a connection is established with the remote terminal, and after receiving a second calibration command returned by the remote terminal based on the calibration request, calibrating the second state of the target valve based on the second calibration command includes: and detecting a connection state with a background workbench under the condition that the first calibration command is not received, sending the calibration request to the background workbench under the condition that the connection with the background workbench is established, and calibrating the second state of the target valve based on the second calibration command after the second calibration command returned by the background workbench based on the calibration request is received. In this embodiment, when the second state of the target valve is not calibrated by the button on the detection device, the calibration of the second state of the target valve by the background workbench can be considered, so that the situation that the background cannot acquire the state of the field target valve in real time due to the fact that the valve detection device is not calibrated in time is reduced, the background personnel can acquire the state of the field target valve in time, the real-time monitoring of the field target valve by the background personnel is ensured, and the potential safety hazard caused by misoperation is timely processed.
In an alternative embodiment, detecting the connection state with the background workstation comprises: detecting a connection state with a control terminal; and detecting the connection state with the background workbench under the condition that the connection with the control terminal is not established. In this embodiment, when the second state of the target valve is calibrated, the manner of calibrating the second state of the target valve by using the control terminal (for example, on the target app installed on the control terminal) may be preferentially considered, conventionally, the target detection device is generally connected to the control terminal through close range communication (for example, bluetooth communication), but in practical application, there may be a case that the control terminal is forgotten to be carried to the operation site, or an operator carrying the control terminal is far away from the target detection device, in which case the control terminal cannot be normally connected, and thus the state of the target valve cannot be calibrated by using the control terminal, so, in order to ensure that the state of the target valve can be calibrated in time, the background workbench is required to calibrate the second state of the target valve after determining that the connection cannot be established with the control terminal, thereby ensuring the timely calibration of the second state of the target valve.
In an alternative embodiment, the method further comprises: before the target valve is calibrated in the first state, receiving a reset instruction triggered by a reset button arranged on target detection equipment; controlling a first display part and a second display part arranged on the target detection equipment to enter a third display state based on the reset instruction; the first display component is used for indicating the calibration state of the first state, and the calibration states of the first state indicated by the first display component in different display states are different; the second display component is used for indicating the calibration state of the second state, and the calibration states of the second state indicated by the second display component in different display states are different. In this embodiment, before the target detection device uses or recalibrates different status bits (e.g., on position and off position) of the valve, each status position of the valve may be reset to a non-calibrated state by pressing (or touching, or other triggering) a reset button, where the display components corresponding to each status bit of the valve enter a third display state, e.g., flash. Whether the target detection equipment is successfully reset or not can be confirmed through the display state of the display part, so that the correct calibration of the subsequent state bit is ensured.
The invention is described in its entirety with reference to the following specific examples:
the calibration method for different states of the target valve provided in the embodiment comprises a button on-site calibration method and a wireless calibration method, and real-time calibration of the state of the target valve where the detection equipment is located is realized through a button mode or a wireless terminal.
Mode of operation one
After the detection device (corresponding to the target detection apparatus) is mounted on the field valve (corresponding to the target valve), the detection device may be mounted on the valve, or may be mounted at a position adjacent to the valve, or may be mounted at a distance from the valve, so long as the detection device can detect the rotation of the switch on the valve, and the installer performs initial position calibration (calibration initialization) on the device. The initial calibration procedure is described below by taking the calibration valve open state as an initial calibration example, and as shown in fig. 6, the initial calibration procedure includes the following steps:
s602, pressing (or touching or other triggering modes, the embodiment is described by taking pressing as an example) a reset button on the shell of the detection device;
s604, the MCU clears the stored position information of the detection device, the reset is completed, and the on/off indicator lights (corresponding to the first display part and the second display part) on the shell start to flash to remind an installer of position calibration.
S606, the installer presses (or touches or other triggering modes according to the switch position of the valve (such as the valve is in an open state), and the embodiment takes pressing as an example to describe the calibration button;
s608, the installer presses the calibration button until the valve opening indicator lamp is normally on, the valve closing indicator lamp flashes, and then releases the calibration button, so that the valve opening calibration is successful;
and S610, after the MCU identifies that the calibration is finished, the MCU sends valve opening state information outwards (namely to the control terminal and/or the background workbench) through the wireless information transceiver module.
As shown in fig. 7, the second state calibration procedure includes the following steps:
s702, when a valve in an open state needs to be closed in work arrangement, a worker rotates the valve, after an electronic sensing element in a detection device senses that a magnetic element on a valve hand wheel rotates, an MCU in the detection device starts working, a valve opening indicator light is extinguished until the valve is changed from the open state to the closed state, after the valve stops rotating and exceeds a certain time, the MCU in the detection device judges that the operation is completed, the valve is in the closed state, the closing indicator light on the detection device blinks to remind the worker to calibrate the position of the valve in the closed state, and the worker presses (or touches or otherwise triggers, the embodiment is exemplified by pressing) a calibration button;
S704, normally-on and off indication lamps of the detection device are turned on and off;
s706, the detection device transmits the calibration result and the state information of the valve to the background workstation through the wireless transmission device;
s708, the background workstation stores the valve closing state;
and S710, calibrating the second state of the valve.
As shown in fig. 8, the second state may be calibrated by a calibration button on the detection device, and may be calibrated by a mobile terminal (corresponding to the control terminal described above) or a background workstation (or referred to as a workstation). The method specifically comprises the following steps:
s802, after the valve rotates to a second state and keeps still, an indicator light on the detection device reminds a field person of carrying out state calibration through flashing, the field person takes out the mobile terminal, and the valve detection device management software APP is opened and logged in;
s804, searching the detection device and establishing connection with the detection device;
s806, receiving calibration information sent by the valve through the wireless information receiving and transmitting module;
s808, the field personnel confirms the valve state according to the prompt given by the APP;
s810, sending a calibration instruction to instruct the detection device to calibrate the second state position of the valve;
S812, if the field personnel forget to calibrate in the field, the valve can also send the valve second state position calibration information to the background system management software in a wireless mode, and firstly, the background personnel is required to open a workstation;
s814, receiving information to be calibrated sent by the valve through the wireless information receiving and sending module;
s816, flashing a background workstation valve state indicator;
s818, the background system management software confirms the valve state according to the field working condition;
s820, remotely sending a calibration instruction to the on-site valve detection device to instruct the detection device to calibrate the second state position of the valve;
s822, after the on-site valve detection device receives the calibration instruction sent by the background system management software, the position calibration of the second state of the valve is completed, and after the calibration is completed, the second state indicator lamp is always on (the specific operation in the detection device is similar to the steps shown in FIG. 7 and is not repeated).
Working mode II
After the valve is calibrated through a button or a mobile phone APP, a wireless information receiving and transmitting module in the detection device transmits valve calibration information to a background workstation through a wireless transmission device, after the background workstation receives valve state calibration information, management software on the workstation prompts the valve to be calibrated, background management staff confirms whether the calibration is allowed or not, if the operation is not allowed, the background management staff immediately informs on-site operators, the operated valve reversely rotates, and the initial state is recovered.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present invention.
In this embodiment, a valve state calibration device is further provided, and the device is used to implement the foregoing embodiments and preferred embodiments, and is not described in detail. As used below, the term "module" may be a combination of software and/or hardware that implements a predetermined function. While the means described in the following embodiments are preferably implemented in software, implementation in hardware, or a combination of software and hardware, is also possible and contemplated.
FIG. 9 is a block diagram of a valve status calibration device according to an embodiment of the present invention, as shown in FIG. 9, the device includes:
a detection module 92, configured to detect that a position of a target component disposed on a target valve changes after determining that only the target valve is calibrated in a first state;
a judging module 94, configured to judge whether a first calibration command triggered by a calibration button provided on a target detection device is received after determining that the position of the target component stops changing;
the calibration module 96 is configured to perform calibration of the second state on the target valve under the condition that the first calibration instruction is determined to be received; and detecting a connection state with a remote terminal under the condition that the first calibration command is not received, sending a calibration request to the remote terminal under the condition that the connection with the remote terminal is established, and calibrating the target valve under the second state based on the second calibration command after receiving the second calibration command returned by the remote terminal based on the calibration request.
In an alternative embodiment, the device is further configured to control, before detecting that the position of the target component disposed on the target valve changes, the first display component disposed on the target detection device to enter the first display state after determining that the first state of the target valve is calibrated; and after detecting that the position of the target component arranged on the target valve is changed, controlling the first display component to enter a second display state; wherein the first display state and the second display state are different.
In an alternative embodiment, the apparatus is further configured to control a second display unit provided on the object detection device to enter a third display state after determining that the position of the object unit stops changing; and after the target valve is calibrated in the second state, controlling the second display part to enter a first display state; wherein the third display state is different from the first display state.
In an alternative embodiment, the device is further configured to perform one of the following operations after calibrating the second state of the target valve: transmitting the calibration result to a background workbench; and sending the calibration result and the position information of the target component corresponding to the second state to a background workbench.
In an alternative embodiment, the calibration module 96 is configured to: and detecting a connection state with a control terminal under the condition that the first calibration instruction is not received, sending the calibration request to the control terminal under the condition that the connection with the control terminal is established, and calibrating the second state of the target valve based on the second calibration instruction after the second calibration instruction returned by the control terminal based on the calibration request is received, wherein the remote terminal comprises the control terminal.
In an alternative embodiment, the calibration module 96 is configured to: and detecting a connection state with a background workbench under the condition that the first calibration command is not received, sending the calibration request to the background workbench under the condition that the connection with the background workbench is established, and calibrating the target valve in the second state based on the second calibration command after the second calibration command returned by the background workbench based on the calibration request is received, wherein the remote terminal comprises the background workbench.
In an alternative embodiment, the calibration module 96 is configured to detect the connection status with the background table by: detecting a connection state with a control terminal; and detecting the connection state with the background workbench under the condition that the connection with the control terminal is not established.
In an alternative embodiment, the device is further configured to receive a reset instruction triggered by a reset button provided on the target detection device before calibrating the first state of the target valve; controlling a first display part and a second display part arranged on the target detection equipment to enter a third display state based on the reset instruction; the first display component is used for indicating the calibration state of the first state, and the calibration states of the first state indicated by the first display component in different display states are different; the second display component is used for indicating the calibration state of the second state, and the calibration states of the second state indicated by the second display component in different display states are different.
There is also provided in this embodiment an object detection apparatus including:
a processor, wherein the processor comprises the valve state calibration device of any one of the above; the calibration button is connected with the processor; and the wireless information receiving and transmitting module is connected with the processor and is used for communicating with the remote terminal.
In an alternative embodiment, the object detection device further comprises: the first display component is connected with the processor and used for indicating the calibration state of the first state, and the calibration states of the first state indicated by the first display component in different display states are different; the second display component is connected with the processor and used for indicating the calibration state of the second state, and the second display component is different in the calibration state of the second state indicated in different display states.
In an alternative embodiment, the object detection device further comprises: the reset button is connected with the processor and is used for sending a reset instruction to the processor under the action of pressing force (or touch control or other triggering modes).
It should be noted that each of the above modules may be implemented by software or hardware, and for the latter, it may be implemented by, but not limited to: the modules are all located in the same processor; alternatively, the above modules may be located in different processors in any combination.
Embodiments of the present invention also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media capable of storing a computer program.
An embodiment of the invention also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
The valve state is calibrated quickly by the calibration mode, the calibration mode is various, the valve state can be calibrated by a button, the calibration can also be performed by a mobile terminal, the calibration can be performed by a background system management software, and meanwhile, the calibration process is simple and easy, and the calibration can be performed without depending on a manufacturer professional, so that the field valve calibration efficiency is improved, the real-time detection of the valve by a valve detection device is facilitated, the condition that the background cannot know the field valve in real time due to the fact that the valve detection device is not calibrated in time is reduced, the background personnel can know the field valve state in time, the real-time monitoring of the field valve by the background personnel is ensured, and the potential safety hazard caused by misoperation is treated in time.
It will be appreciated by those skilled in the art that the modules or steps of the invention described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present invention is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present invention should be included in the protection scope of the present invention.
Claims (14)
1. The valve state calibration method is characterized by comprising the following steps of:
detecting that the position of a target component arranged on a target valve changes after determining that only the target valve is calibrated in a first state;
after determining that the position of the target component stops changing, judging whether a first calibration instruction triggered by a calibration button arranged on target detection equipment is received or not;
under the condition that the first calibration instruction is received, calibrating the second state of the target valve;
and detecting a connection state with a remote terminal under the condition that the first calibration command is not received, sending a calibration request to the remote terminal under the condition that the connection with the remote terminal is established, and calibrating the target valve under the second state based on the second calibration command after receiving the second calibration command returned by the remote terminal based on the calibration request.
2. The method of claim 1, wherein the step of determining the position of the substrate comprises,
before detecting the change in the position of the target component provided on the target valve, the method further includes: after determining that the target valve is calibrated in the first state, controlling a first display component arranged on the target detection equipment to enter a first display state;
after detecting a change in the position of a target component disposed on the target valve, the method further includes: controlling the first display part to enter a second display state;
wherein the first display state and the second display state are different.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
after determining that the position of the target component is stopped from moving, the method further comprises: controlling a second display part arranged on the target detection equipment to enter a third display state;
after calibrating the target valve for the second state, the method further includes: controlling the second display part to enter a first display state;
wherein the third display state is different from the first display state.
4. The method of claim 1, wherein after calibrating the second state for the target valve, the method further comprises one of:
Transmitting the calibration result to a background workbench;
and sending the calibration result and the position information of the target component corresponding to the second state to a background workbench.
5. The method of claim 1, wherein detecting a connection status with a remote terminal if it is determined that the first calibration command was not received, and if it is determined that a connection is established with the remote terminal, sending a calibration request to the remote terminal, and after receiving a second calibration command returned by the remote terminal based on the calibration request, calibrating the target valve for the second status based on the second calibration command comprises:
and detecting a connection state with a control terminal under the condition that the first calibration instruction is not received, sending the calibration request to the control terminal under the condition that the connection with the control terminal is established, and calibrating the second state of the target valve based on the second calibration instruction after the second calibration instruction returned by the control terminal based on the calibration request is received, wherein the remote terminal comprises the control terminal.
6. The method of claim 1, wherein detecting a connection status with a remote terminal if it is determined that the first calibration command was not received, and if it is determined that a connection is established with the remote terminal, sending a calibration request to the remote terminal, and after receiving a second calibration command returned by the remote terminal based on the calibration request, calibrating the target valve for the second status based on the second calibration command comprises:
and detecting a connection state with a background workbench under the condition that the first calibration command is not received, sending the calibration request to the background workbench under the condition that the connection with the background workbench is established, and calibrating the target valve in the second state based on the second calibration command after the second calibration command returned by the background workbench based on the calibration request is received, wherein the remote terminal comprises the background workbench.
7. The method of claim 6, wherein detecting the connection status with the background workstation comprises:
detecting a connection state with a control terminal;
And detecting the connection state with the background workbench under the condition that the connection with the control terminal is not established.
8. The method according to claim 1, wherein the method further comprises:
before the target valve is calibrated in the first state, receiving a reset instruction triggered by a reset button arranged on target detection equipment;
controlling a first display part and a second display part arranged on the target detection equipment to enter a third display state based on the reset instruction;
wherein,,
the first display component is used for indicating the calibration state of the first state, and the calibration states of the first state indicated by the first display component in different display states are different;
the second display component is used for indicating the calibration state of the second state, and the calibration states of the second state indicated by the second display component in different display states are different.
9. A valve condition calibration device, comprising:
the detection module is used for detecting that the position of a target component arranged on the target valve changes after determining that only the target valve is calibrated in a first state;
The judging module is used for judging whether a first calibration instruction triggered by a calibration button arranged on the target detection equipment is received or not after the position of the target component is determined to stop changing;
the calibration module is used for calibrating the second state of the target valve under the condition that the first calibration instruction is received; and detecting a connection state with a remote terminal under the condition that the first calibration command is not received, sending a calibration request to the remote terminal under the condition that the connection with the remote terminal is established, and calibrating the target valve under the second state based on the second calibration command after receiving the second calibration command returned by the remote terminal based on the calibration request.
10. An object detection apparatus, characterized by comprising:
a processor, wherein the processor comprises the valve state calibration device of claim 9;
the calibration button is connected with the processor;
and the wireless information receiving and transmitting module is connected with the processor and is used for communicating with the remote terminal.
11. The object detection device of claim 10, wherein the object detection device further comprises:
the first display component is connected with the processor and used for indicating the calibration state of the first state, and the calibration states of the first state indicated by the first display component in different display states are different;
the second display component is connected with the processor and used for indicating the calibration state of the second state, and the second display component is different in the calibration state of the second state indicated in different display states.
12. The object detection device of claim 10, wherein the object detection device further comprises:
and the reset button is connected with the processor and is used for sending a reset instruction to the processor under the action of a pressing force or after being touched.
13. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method according to any of the claims 1 to 8.
14. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 8 when the computer program is executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011265202.0A CN114486232B (en) | 2020-11-12 | 2020-11-12 | Valve state calibration method and device, target detection equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202011265202.0A CN114486232B (en) | 2020-11-12 | 2020-11-12 | Valve state calibration method and device, target detection equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114486232A CN114486232A (en) | 2022-05-13 |
CN114486232B true CN114486232B (en) | 2023-09-22 |
Family
ID=81490888
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202011265202.0A Active CN114486232B (en) | 2020-11-12 | 2020-11-12 | Valve state calibration method and device, target detection equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114486232B (en) |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06249751A (en) * | 1993-03-01 | 1994-09-09 | Koyo Seiko Co Ltd | Malfunction position standardizing apparatus for specimen to be inspected |
JPH0851737A (en) * | 1994-08-08 | 1996-02-20 | Mitsubishi Electric Corp | Coupling method of fault location system for transforming station system |
CN201610970U (en) * | 2010-02-03 | 2010-10-20 | 洛阳博特自动化工程有限公司 | GPRS intelligent electric valve actuating mechanism |
CN202561207U (en) * | 2012-04-01 | 2012-11-28 | 洛阳博特自动化工程有限公司 | Intelligent electric valve execution device |
EP3228936A1 (en) * | 2016-04-07 | 2017-10-11 | Honeywell Technologies Sarl | Method for operating a gas burner appliance |
CN110136209A (en) * | 2019-05-21 | 2019-08-16 | Oppo广东移动通信有限公司 | A kind of camera calibration method, device and computer readable storage medium |
CN111143077A (en) * | 2019-12-31 | 2020-05-12 | 青岛海尔科技有限公司 | Intelligent household appliance instruction conflict processing method and device, storage medium and electronic device |
CN111595568A (en) * | 2020-05-18 | 2020-08-28 | 深圳华美和汽车部件制造有限公司 | Gear shifter calibration method and system |
CN111811808A (en) * | 2020-07-14 | 2020-10-23 | 浙江大学 | Industrial valve body stress measuring device and method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109410285B (en) * | 2018-11-06 | 2021-06-08 | 北京七鑫易维信息技术有限公司 | Calibration method, calibration device, terminal equipment and storage medium |
-
2020
- 2020-11-12 CN CN202011265202.0A patent/CN114486232B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH06249751A (en) * | 1993-03-01 | 1994-09-09 | Koyo Seiko Co Ltd | Malfunction position standardizing apparatus for specimen to be inspected |
JPH0851737A (en) * | 1994-08-08 | 1996-02-20 | Mitsubishi Electric Corp | Coupling method of fault location system for transforming station system |
CN201610970U (en) * | 2010-02-03 | 2010-10-20 | 洛阳博特自动化工程有限公司 | GPRS intelligent electric valve actuating mechanism |
CN202561207U (en) * | 2012-04-01 | 2012-11-28 | 洛阳博特自动化工程有限公司 | Intelligent electric valve execution device |
EP3228936A1 (en) * | 2016-04-07 | 2017-10-11 | Honeywell Technologies Sarl | Method for operating a gas burner appliance |
CN110136209A (en) * | 2019-05-21 | 2019-08-16 | Oppo广东移动通信有限公司 | A kind of camera calibration method, device and computer readable storage medium |
CN111143077A (en) * | 2019-12-31 | 2020-05-12 | 青岛海尔科技有限公司 | Intelligent household appliance instruction conflict processing method and device, storage medium and electronic device |
CN111595568A (en) * | 2020-05-18 | 2020-08-28 | 深圳华美和汽车部件制造有限公司 | Gear shifter calibration method and system |
CN111811808A (en) * | 2020-07-14 | 2020-10-23 | 浙江大学 | Industrial valve body stress measuring device and method |
Non-Patent Citations (4)
Title |
---|
Location and Calibration of Valves in water Distribution Networks Using a Scatter-Search Meta-heurisitc approach;S.Liberatore.et al;Water Resour Manage;1479-1494 * |
一种自诊断型阀门执行机构的设计;闫玉涛等;机械与电子(08);28-30 * |
基于SOA和ESB的安全生产管控系统软件架构设计与应用;常青等;计算机应用与软件;第35卷(第02期);121-125, 255 * |
自动化标定测试设备信息交互平台设计与实现;万志江等;中国惯性技术学报(03);373-378 * |
Also Published As
Publication number | Publication date |
---|---|
CN114486232A (en) | 2022-05-13 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
EP3286744B1 (en) | Process instrumentation with wireless configuration | |
EP2966617A1 (en) | Image data generating device, portable terminal device, and portable control device | |
US20050141681A1 (en) | Mobile arithmetic unit and extension device for industrial machine control | |
CN103685458A (en) | System for managing home appliances and push service method thereof | |
CN102239452A (en) | Method and apparatus for operating field devices via a portable communicator | |
EP2858193A1 (en) | A switching device and a method of controlling the same | |
US20100057221A1 (en) | Mobile control and monitoring system | |
EP3544925B1 (en) | A dispensing station and a dispensing system | |
JP2016125616A (en) | Valve opening/closing detection device and valve opening/closing management system of valve using the same | |
CN114486232B (en) | Valve state calibration method and device, target detection equipment and storage medium | |
KR101397926B1 (en) | Leak check system for flexible pouchtype secondary battery | |
EP3245492A1 (en) | Method and device for testing the integrity of a protective glove | |
TW201629657A (en) | Remote controller and method of controlling remote device using same | |
WO2013053977A1 (en) | A method, system and a device for controlling a work machine | |
AU2011378996B2 (en) | A method, system and a device for controlling a work machine | |
EP2194433B1 (en) | Wireless location based automated components | |
EP2757803B1 (en) | Field device and communication system | |
KR20230127569A (en) | Valve open-close indicating apparatus | |
RU2018147243A (en) | Method for detecting compatible tools for systems with anomalies | |
CN109188991A (en) | Control the transmission method and device of signal | |
JP2020017922A (en) | Radio communication system | |
KR101883672B1 (en) | Human Machine Interface System capable of Safety Monitoring | |
CN109710076B (en) | Automatic detection method and device for circuit board | |
EP4390637A1 (en) | Systems and methods for gesture activation of concrete sensors | |
KR20160022987A (en) | Apparatus and system for monitoring power 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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |