CN111912455A - Valve stroke and switching time measuring circuit, device, system and method - Google Patents

Valve stroke and switching time measuring circuit, device, system and method Download PDF

Info

Publication number
CN111912455A
CN111912455A CN202010632547.9A CN202010632547A CN111912455A CN 111912455 A CN111912455 A CN 111912455A CN 202010632547 A CN202010632547 A CN 202010632547A CN 111912455 A CN111912455 A CN 111912455A
Authority
CN
China
Prior art keywords
pin
capacitor
resistor
circuit
chip
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
Application number
CN202010632547.9A
Other languages
Chinese (zh)
Inventor
梅增胜
彭松贤
陈明
谭志
周丽丽
常松
苏龙龙
辜彬
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China General Nuclear Power Corp
CGN Power Co Ltd
China Nuclear Power Operation Co Ltd
Original Assignee
China General Nuclear Power Corp
CGN Power Co Ltd
China Nuclear Power Operation Co Ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by China General Nuclear Power Corp, CGN Power Co Ltd, China Nuclear Power Operation Co Ltd filed Critical China General Nuclear Power Corp
Priority to CN202010632547.9A priority Critical patent/CN111912455A/en
Publication of CN111912455A publication Critical patent/CN111912455A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01DMEASURING NOT SPECIALLY ADAPTED FOR A SPECIFIC VARIABLE; ARRANGEMENTS FOR MEASURING TWO OR MORE VARIABLES NOT COVERED IN A SINGLE OTHER SUBCLASS; TARIFF METERING APPARATUS; MEASURING OR TESTING NOT OTHERWISE PROVIDED FOR
    • G01D21/00Measuring or testing not otherwise provided for
    • G01D21/02Measuring two or more variables by means not covered by a single other subclass

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Measurement Of Length, Angles, Or The Like Using Electric Or Magnetic Means (AREA)

Abstract

The invention relates to a valve stroke and switching time measuring circuit, a device, a system and a method, wherein the measuring circuit comprises a single chip microcomputer circuit, a key circuit, a laser displacement sensor and a display screen; the laser displacement sensor is connected with the single chip microcomputer circuit through a signal line, and the key circuit and the display screen are respectively connected with the single chip microcomputer circuit; the singlechip circuit is used for calculating the valve stroke and the time of the opening and closing process of the valve according to the change of the output signal of the laser displacement sensor; the key circuit is used as an input module and is used for starting or closing the measuring circuit and adjusting the laser displacement sensor; the display screen is used for displaying the calculation result of the single chip microcomputer circuit. The technical scheme of the invention improves the measurement precision and the measurement efficiency; the measurement difficulty and the risk of equipment mistakenly touching by maintainers are reduced; the on-site working time is shortened, the distance between a maintainer and a pipeline in the measuring process is increased, and the irradiated dose of the maintainer is reduced.

Description

Valve stroke and switching time measuring circuit, device, system and method
Technical Field
The invention relates to the technical field of measurement, in particular to a valve stroke and switching time measuring circuit, device, system and method.
Background
As shown in fig. 1, in order to implement remote control, a valve is usually designed with an electric or pneumatic driving mechanism, and the driving mechanism drives a valve rod and a valve flap to move up and down to implement opening and closing of the valve, so as to remotely control on/off of media in a pipeline. For straight stroke valves such as electric gate valves, pneumatic switch valves and pneumatic regulating valves, after the valves are subjected to relevant maintenance processes, the stroke and the switching time of the valves are usually required to be measured, so that two important performance parameters of the valve stroke and the switching time (opening time and closing time) after maintenance are verified to be still in a design range, and further the stable operation of the valves is ensured.
At present, hundreds of nuclear power generating units need to measure the stroke and the switching time of a valve in one-time unit maintenance in the process of material changing and overhaul. At present, in on-site maintenance work, manual measurement is usually carried out in a mode of combining a tape measure and a stopwatch, namely, in the opening and closing action process of a valve, a maintainer approaches to the valve, selects a reference point on a valve rod, measures the movement displacement of the valve rod through the tape measure, and then respectively measures the time of the opening and closing processes of the valve through visual observation. In the process of measuring the two parameters, the valve needs to be opened and closed for multiple times, and multiple maintainers need to cooperate to complete the measurement, so that the measurement efficiency is low.
In addition, because the field valve is complex in installation space position and is provided with pipelines or other equipment on the periphery, when a maintainer carries out the work, the maintainer needs to be close to the valve and lean a measuring tape on valve parts such as a valve rod and the like, and an ideal measuring position is often difficult to find, so that the measuring work is influenced. Meanwhile, due to the fact that personnel need to be close to the valve in a short distance in the measuring process, the radiation protection pressure and the risk that the personnel touch the equipment by mistake are increased.
Disclosure of Invention
The present invention provides a circuit, a device, a system, and a method for measuring a valve stroke and a valve opening/closing time, which are used to solve the technical problem of the prior art.
The technical scheme adopted by the invention for solving the technical problems is as follows: a valve stroke and switch time measuring circuit is constructed, and comprises a single chip microcomputer circuit, a key circuit, a laser displacement sensor and a display screen;
the laser displacement sensor is connected with the single chip microcomputer circuit through a signal line, and the key circuit and the display screen are respectively connected with the single chip microcomputer circuit;
the singlechip circuit is used for calculating the valve stroke and the time of the opening and closing process of the valve according to the change of the output signal of the laser displacement sensor; the key circuit is used as an input module and is used for starting or closing the measuring circuit and adjusting the laser displacement sensor; the display screen is used for displaying the calculation result of the single chip microcomputer circuit.
Preferably, the measurement circuit further includes an AD conversion circuit connected between the single chip circuit and the laser displacement sensor; the AD conversion circuit is used for converting the analog signals output by the laser displacement sensor into digital signals readable by the singlechip.
Preferably, the measurement circuit further comprises: a voltage reduction circuit and a voltage boosting circuit;
the voltage reduction circuit is connected between a power supply and the single chip microcomputer circuit and used for providing working voltage for the single chip microcomputer circuit;
the booster circuit is connected between a power supply and the laser displacement sensor and used for providing working voltage for the laser displacement sensor.
Preferably, the single chip microcomputer circuit comprises a single chip microcomputer chip U2, a third resistor R3, a fourth resistor R4, a seventh resistor R7, a thirty-fifth resistor R35, a seventh capacitor C7, a ninth capacitor C9, a tenth capacitor C10, an eleventh capacitor C11, a thirteenth capacitor C13, a twenty-fifth capacitor C25, a twenty-sixth capacitor C26, a crystal oscillator Y1 and a fourth pin socket J4;
the single chip microcomputer chip U2 is a chip internally integrated with a timer; the twentieth pin PB2 of the singlechip chip U2 is grounded through the seventh resistor R7; the forty-fourth pin BOOT0 of the singlechip chip U2 is grounded through the third resistor R3; a ninth pin VDDA, a twenty-fourth pin VDD _1, a thirty-sixth pin VDD _2 and a forty-eighth pin VDD _3 of the single chip microcomputer chip U2 are connected with each other and then connected with a power supply end; an eighth pin VSSA, a twenty-third pin VSS _1, a thirty-fifth pin VSS _2 and a forty-seventh pin VSS _3 of the singlechip chip U2 are connected with each other and then grounded, and a seventh capacitor C7, a ninth capacitor C9, a twenty-fifth capacitor C25 and a twenty-sixth capacitor C26 are connected in parallel and then connected between a ninth pin VDDA and an eighth pin VSSA of the singlechip chip U2; one end of the fourth resistor R4 is connected with a power supply end, the other end of the fourth resistor R4 is grounded through the thirty-fifth resistor R35, the eleventh capacitor C11 is connected in parallel with two ends of the thirty-fifth capacitor C35, and the seventh pin NRST of the singlechip chip U2 is connected to a connection node of the fourth resistor R4 and the thirty-fifth resistor R35; one path of a first pin OSC of the crystal oscillator Y1 is connected to a sixth pin PD1 of the single chip microcomputer U2, the other path of the first pin OSC is grounded through a thirty-first capacitor C31, a second pin GND of the crystal oscillator Y1 is grounded, one path of a third pin OSC of the crystal oscillator Y1 is connected to a fifth pin PD0 of the single chip microcomputer U2, the other path of the third pin OSC is grounded through the tenth capacitor C10, and a fourth pin GND of the crystal oscillator Y1 is grounded; the singlechip chip U2 twenty ninth pin PA8, thirty pin PA9, seventeenth pin PA7, fifteenth pin PA5 respectively with fourth pin socket J4's first foot, second foot, third foot, fourth foot are connected, fourth pin socket J4's fifth foot connects the feeder end, fourth pin socket J4's sixth foot ground connection, the display screen pass through fourth pin socket J4 with singlechip chip U2 is connected.
Preferably, the measuring circuit further comprises an indicator light circuit which is connected with the single chip microcomputer circuit and used for prompting the operating condition of the circuit system; the indicating lamp circuit comprises a second light emitting diode D2 and a thirty-second resistor R32;
the anode of the second light emitting diode D2 is connected with the power supply end through the thirty-second resistor R32, and the cathode of the second light emitting diode D2 is connected with the singlechip circuit.
Preferably, the KEY circuit comprises a fourteenth resistor R14, a four-foot KEY 1;
the first end of the fourteenth resistor R14 is connected with the power supply end, and the second end of the fourteenth resistor R14 is connected with the single chip microcomputer circuit; the first pin and the second pin of the four-pin KEY1 are respectively connected to a connecting line of the fourteenth resistor R14 and the single chip microcomputer circuit, and the third pin and the fourth pin of the four-pin KEY1 are connected and then grounded.
Preferably, the AD conversion circuit comprises an AD conversion chip U3, a first resistor R1, a second resistor R2, a fifth resistor R5, a sixth resistor R6, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a twelfth capacitor C12, a thirteenth capacitor C13, and a third pin socket J3;
the first pin CLK and the second pin CS of the AD conversion chip U3 are respectively connected with the singlechip circuit through the first resistor R1 and the second resistor R2; the third pin GND of the AD conversion chip U3 is grounded; a fourth pin AIN0 of the AD conversion chip U3 is connected with a second pin of the third pin socket J3 through one path of the fifth resistor R5, and the other path of the fourth pin AIN0 is connected with the single chip microcomputer circuit; the first pin of the third pin socket J3 is connected with a power supply end, the third pin of the third pin socket J3 is grounded, and the third pin socket J3 is connected with the laser displacement sensor through the signal wire; the fifth pin AIN1 of the AD conversion chip U3 is connected with the power supply terminal through the sixth resistor R6, and the sixth pin AIN2 and the seventh pin AIN4 of the AD conversion chip U3 are connected with the power supply terminal through the ninth resistor R9 and the eighth resistor R8, respectively; an eighth pin VDD of the AD conversion chip U3 is connected to a power supply terminal, a first end of the twelfth capacitor C12 and a first end of the thirteenth capacitor C13 are both connected to a connection line between the eighth pin VDD of the AD conversion chip U3 and the power supply terminal, and a second end of the twelfth capacitor C12 and a second end of the thirteenth capacitor C13 are both grounded; and a ninth pin DOUT and a tenth pin DIN of the AD conversion chip U3 are respectively connected with the singlechip circuit through the tenth resistor R10 and the eleventh resistor R11.
Preferably, the step-down circuit includes: a first buck chip U7, a second buck chip U1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, an eighth capacitor C8, a thirty-third capacitor C33, a thirty-fourth capacitor C34, a thirty-seventh capacitor C37, a fifteenth resistor R15 and a fourth light-emitting diode D4;
a first pin VIN of the first buck chip U7 is connected with a third pin ON and then is connected with a power supply end; the second pin VSS of the first buck chip U7 is grounded, and the eighth capacitor C8 and the thirty-third capacitor C33 are connected in parallel and then connected between the first pin VIN and the second pin VSS of the first buck chip U7; a fifth pin VOUT of the first buck chip U7 is connected to the first pin VIN of the second buck chip U1, and the thirty-fourth capacitor C34 is connected in parallel to the thirty-seventh capacitor C37 and then connected between the fifth pin VOUT of the first buck chip U7 and ground; a third pin ON of the second buck chip U1 is connected with the first pin VIN; the second pin VSS of the second buck chip U1 is grounded, and the second capacitor C2 is connected in parallel with the third capacitor C3 and then connected between the first pin VIN and the second pin VSS of the second buck chip U1; the fifth pin VOUT of the second buck chip U1 is connected with the single-chip microcomputer circuit, and the fourth capacitor C4 and the fifth capacitor C5 are connected between the fifth pin VOUT of the second buck chip U1 and the ground in parallel; one end of the fifteen-ground resistor R15 is connected to the fifth pin VOUT of the second buck chip U1, and the other end is grounded via the anode of the fourth led D4.
Preferably, the booster circuit includes: a boost chip U11, a forty-fourth resistor R40, a forty-first resistor R41, a forty-second resistor R42, a forty-third resistor R43, a forty-fourth resistor R44, a forty-fifth resistor R45, a sixth capacitor C6, a thirty-ninth capacitor C39, a forty-fourth capacitor C40, a forty-ninth capacitor C49, a first polar capacitor C1, a second polar capacitor C14, a first inductor L2 and a twelfth diode D10;
a third pin VIN of the boosting chip U11 is connected with a power supply end, one end of a forty-ninth capacitor C49 is connected with the power supply end, the other end of the forty-ninth capacitor C49 is grounded, the positive electrode of the second polarized capacitor C14 is connected with the power supply end, and the negative electrode of the second polarized capacitor C14 is grounded; the fourth pin EN of the boosting chip U11 is grounded through the forty-fifth resistor R45, and the forty-fourth resistor R44 is connected between the third pin VIN and the fourth pin EN of the boosting chip U11; a tenth pin FREQ of the boost chip U11 is grounded through the forty-first resistor R41; a fifth pin SS of the boost chip U11 is grounded through the fortieth capacitor C40; an eighth pin COMP of the boosting chip U11 is grounded through the fortieth resistor R40 and the thirty-ninth capacitor C39; a sixth pin SYNC, a seventh pin AGND and a fifteenth pin PAD of the boosting chip U11 are all grounded; a first pin SW of the boosting chip U11 is connected with a second pin SW and then connected with an anode of a twelfth pole tube D10, one path of a cathode of the twelfth pole tube D10 is connected with the laser displacement sensor, the other path of the cathode of the twelfth pole tube D10 is grounded through a forty-second resistor R42 and a forty-third resistor R43, and a first inductor L2 connects the first pin SW and a third pin VIN of the boosting chip U11 together; the positive electrode of the first polarized capacitor C1 is connected to the connecting line of the cathode of the twelfth diode D10 and the laser displacement sensor, the negative electrode of the first polarized capacitor C1 is grounded, and the sixth capacitor C6 is connected in parallel to two ends of the first polarized capacitor C1; a ninth pin FB of the boost chip U11 is connected to a connection point of the forty-second resistor R42 and the forty-third resistor R43; an eleventh pin NC, a twelfth pin PGND, a thirteenth pin PGND, and a fourteenth pin PGND of the boost chip U11 are all grounded.
The invention also provides a device for measuring the valve stroke and the switching time, which comprises the valve stroke and switching time measuring circuit and a power supply; wherein, laser displacement sensor is cuboid structure or square structure, laser displacement sensor is including the first plane that is provided with laser emission window, at least one second plane that is provided with magnetic adsorption mechanism, first plane and second plane mutually perpendicular, laser displacement sensor passes through magnetic adsorption mechanism adsorbs on the valve.
The invention further provides a system for measuring the valve stroke and the switch time, which comprises the device for measuring the valve stroke and the switch time and a scale with one end provided with a magnetic adsorption mechanism, wherein one end of the scale provided with the magnetic adsorption mechanism is adsorbed on a coupler of the valve, and the other end of the scale is used for reflecting laser emitted by the laser displacement sensor.
Furthermore, the invention also provides a measuring method of valve stroke and switch time, which is applied to the measuring circuit of valve stroke and switch time, and the measuring method comprises the following steps:
s1: the circuit is powered on and reset;
s2: judging whether the signal output by the laser displacement sensor changes, if so, entering the step S3, otherwise, repeating the step S2;
s3: starting timing of a first period of time, and simultaneously judging and recording the maximum value and the minimum value of valve displacement;
s4: judging whether the static time of the valve displacement exceeds a first preset time, if so, entering a step S5, otherwise, returning to the step S3;
s5: starting timing of a second period of time;
s6: judging whether the signal output by the laser displacement sensor is stable within a second preset time; if yes, go to step S7, otherwise repeat step S6;
s7: when the timing is finished, simultaneously calculating the difference value between the maximum value and the minimum value of the valve displacement and taking the absolute value of the difference value as the valve stroke;
s8: and outputting the first period of time, the second period of time and the valve stroke to a display screen for displaying.
The technical scheme of the invention has the following beneficial effects: according to the invention, the synchronous automatic measurement of the valve stroke and the switching time is realized through the master control circuit taking the high-precision laser displacement sensor and the singlechip as the core, the measurement process does not need personnel intervention, the operation is simple, and the measurement result can be directly read on the display screen; furthermore, the magnetic adsorption mechanism is arranged on the laser displacement sensor, so that the sensor is only adsorbed on the valve when the sensor is used on site, and the installation is convenient; furthermore, aiming at the influence of part of the valve structure and the range of the sensor, a scale with a magnetic adsorption mechanism arranged at one end is designed to be matched for use, so that the installation difficulty of the laser displacement sensor in field use is further reduced, and the installation convenience is further improved; in conclusion, the technical scheme of the invention has the following beneficial effects: 1. the measurement precision is improved; 2. the measurement efficiency is improved; 3. the measurement difficulty is reduced; 4. the risk of mistakenly touching equipment by maintainers is reduced; 5. the on-site working time is shortened, the distance between a maintainer and a pipeline in the measuring process is increased, and the irradiated dose of the maintainer is reduced.
Drawings
The invention will be further described with reference to the accompanying drawings and examples, in which:
FIG. 1 is a schematic view of the valve construction;
FIG. 2 is a schematic diagram of a first embodiment of a valve stroke and on-off time measuring circuit according to the present invention;
FIG. 3 is a circuit schematic of a single chip microcomputer circuit in the valve travel and on-off time measurement circuit of the present invention;
FIG. 4 is a schematic circuit diagram of a key circuit in the valve travel and on-off time measuring circuit of the present invention;
FIG. 5 is a schematic diagram of a second embodiment of a valve stroke and on-off time measuring circuit according to the present invention;
FIG. 6 is a schematic circuit diagram of an AD converter circuit in the valve stroke and on-off time measuring circuit of the present invention;
FIG. 7 is a circuit schematic of a voltage step-down circuit in the valve travel and on-off time measurement circuit of the present invention;
FIG. 8 is a schematic circuit diagram of a boost circuit in the valve travel and on-off time measurement circuit of the present invention;
FIG. 9 is a circuit schematic of an indicator light circuit in the valve travel and on-off time measurement circuit of the present invention;
FIG. 10 is a schematic view of the valve travel and on-off time measuring device of the present invention;
FIG. 11 is a schematic structural diagram of a laser displacement sensor in the valve stroke and on-off time measuring device of the present invention;
FIG. 12 is a schematic view of a field installation of the valve travel and on-off time measuring device of the present invention;
FIG. 13 is a schematic diagram of a scale in the valve travel and on-off time measurement system of the present invention;
FIG. 14 is a schematic view of a field installation of the valve travel and on-off time measurement system of the present invention;
FIG. 15 is a flow chart of a method of measuring valve travel and on-off time in accordance with the present invention.
Detailed Description
For a more clear understanding of the technical features, objects and effects of the present invention, embodiments of the present invention will now be described in detail with reference to the accompanying drawings.
It should be noted that the terms "first", "second", "third", etc. are only used for convenience in describing the technical solution, and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. The specific meanings of the above terms in the present invention can be understood by those skilled in the art according to specific situations.
Fig. 2 is a schematic structural diagram of a first embodiment of the valve stroke and on-off time measuring circuit according to the present invention.
As shown in fig. 2, the valve stroke and switching time measuring circuit includes a single chip circuit, a key circuit, a laser displacement sensor, and a display screen;
the laser displacement sensor is connected with the single chip microcomputer circuit through a signal line, and the key circuit and the display screen are respectively connected with the single chip microcomputer circuit; the signal line can not only transmit signals, but also be used as a power supply line of the laser displacement sensor.
The singlechip circuit is used for calculating the valve stroke and the time of the opening and closing process of the valve according to the change of the output signal of the laser displacement sensor; the key circuit is used as an input module and is used for starting or closing the measuring circuit and adjusting the laser displacement sensor; the display screen is used for displaying the calculation result of the single chip microcomputer circuit.
The circuit measures the valve stroke by utilizing the characteristic that the output signal of the laser displacement sensor changes when the valve is opened and closed and the output signal of the laser displacement sensor is stable and unchanged after the valve is opened and closed in place, and simultaneously times the opening and closing time of the valve through the singlechip circuit, thereby measuring the opening and closing time and directly displaying the measurement result on the display screen. The circuit of the embodiment can automatically measure the valve stroke and the switching time synchronously without manual intervention, thereby improving the measurement efficiency and the measurement precision.
Specifically, as shown in fig. 3, the single chip microcomputer circuit in this embodiment includes a single chip microcomputer chip U2, a third resistor R3, a fourth resistor R4, a seventh resistor R7, a thirty-fifth resistor R35, a seventh capacitor C7, a ninth capacitor C9, a tenth capacitor C10, an eleventh capacitor C11, a thirteenth capacitor C13, a twenty-fifth capacitor C25, a twenty-sixth capacitor C26, a crystal oscillator Y1, and a fourth pin socket J4;
the singlechip chip U2 is a chip internally integrated with a timer; the twentieth pin PB2 of the singlechip chip U2 is grounded through a seventh resistor R7; a forty-fourth pin BOOT0 of the singlechip chip U2 is grounded through a third resistor R3; a ninth pin VDDA, a twenty-fourth pin VDD _1, a thirty-sixth pin VDD _2 and a forty-eighth pin VDD _3 of the singlechip chip U2 are connected with each other and then connected with a power supply end; an eighth pin VSSA, a twenty-third pin VSS _1, a thirty-fifth pin VSS _2 and a forty-seventh pin VSS _3 of the singlechip chip U2 are connected with each other and then grounded, and a seventh capacitor C7, a ninth capacitor C9, a twenty-fifth capacitor C25 and a twenty-sixth capacitor C26 are connected in parallel and then connected between a ninth pin VDDA and the eighth pin VSSA of the singlechip chip U2; one end of a fourth resistor R4 is connected with the power supply end, the other end of the fourth resistor R4 is grounded through a thirty-fifth resistor R35, an eleventh capacitor C11 is connected in parallel with two ends of a thirty-fifth capacitor C35, and a seventh pin NRST of the singlechip chip U2 is connected to a connection node of the fourth resistor R4 and the thirty-fifth resistor R35; one path of a first pin OSC of a crystal oscillator Y1 is connected with a sixth pin PD1 of a singlechip chip U2, the other path of the first pin OSC is grounded through a thirty-first capacitor C31, a second pin GND of the crystal oscillator Y1 is grounded, one path of a third pin OSC of a crystal oscillator Y1 is connected with a fifth pin PD0 of the singlechip chip U2, the other path of the third pin OSC is grounded through a tenth capacitor C10, and a fourth pin GND of the crystal oscillator Y1 is grounded; the twenty-ninth pin PA8, the thirty-third pin PA9, the seventeenth pin PA7 and the fifteenth pin PA5 of the single chip U2 are respectively connected with the first pin, the second pin, the third pin and the fourth pin of the fourth pin socket J4, the fifth pin of the fourth pin socket J4 is connected with a power supply end, the sixth pin of the fourth pin socket J4 is grounded, and the display screen is connected with the single chip U2 through the fourth pin socket J4.
An external clock module consisting of the tenth capacitor C10, the thirty-first capacitor C31 and the crystal oscillator Y1 can select a 12MHz high-frequency crystal oscillator Y1, so that a stable clock can be provided for a system, and the measurement accuracy is improved;
a system power-on reset module composed of a fourth resistor R4, a thirty-fifth resistor R35 and an eleventh capacitor C11 provides reset pulses when the system is powered on, so that the single chip U2 is in a reset state for a period of time, the single chip U2 starts to work normally after power supply, a clock module and the like of the single chip U2 work stably, and errors of measurement results caused by the fact that a circuit system starts to measure when the circuit system is not stable are avoided;
the power supply end of the power supply of the single chip microcomputer chip U2 is grounded through a seventh capacitor C7, a ninth capacitor C9, a twenty-fifth capacitor C25 and a twenty-sixth capacitor C26 which are connected in parallel, so that the misoperation of the single chip microcomputer chip U2 caused by high-voltage pulses generated by current instability during power-on can be avoided;
the monolithic chip U2 is preferably an STM32F103C8T6 monolithic chip, although other monolithic chips capable of performing equivalent functions may be used. The display screen can be LCD liquid crystal display, and LCD liquid crystal display is connected the maintenance of being convenient for and is changed with singlechip chip U2 through fourth row needle socket J4.
Further, as shown in fig. 4, the KEY circuit in this embodiment includes a fourteenth resistor R14, a four-pin KEY 1;
the first end of the fourteenth resistor R14 is connected with the power supply end, and the second end of the fourteenth resistor R14 is connected with the single chip microcomputer circuit; the first pin and the second pin of the four-pin KEY1 are respectively connected to a connecting line of the fourteenth resistor R14 and the single chip microcomputer circuit, and the third pin and the fourth pin of the four-pin KEY1 are connected and then grounded.
It is understood that when the four-foot KEY1 is pressed, the four feet of the four-foot KEY1 are connected, i.e., the power supply is connected to ground, and the power supply of the single chip circuit is disconnected. When the KEY is pressed again, the four-foot KEY1 is restored, namely, the power supply normally supplies power to the single chip microcomputer circuit, at the moment, the single chip microcomputer circuit enables the system to reset through the power-on reset module, and then the laser displacement sensor starts to measure data again. Therefore, the button circuit can start or stop the single chip circuit and adjust the laser displacement sensor.
Fig. 5 is a schematic structural diagram of a second embodiment of the valve stroke and on-off time measuring circuit according to the present invention.
As shown in fig. 5, the valve stroke and on-off time measuring circuit of the present embodiment is based on the first embodiment, and in order to improve the measurement accuracy, a digital-to-analog conversion (a/D) module built in the single chip circuit is not used, but an AD conversion circuit connected between the single chip circuit and the laser displacement sensor is added, so as to effectively improve the measurement accuracy; the AD conversion circuit is used for converting an analog signal output by the laser displacement sensor into a digital signal readable by the singlechip.
Specifically, as shown in fig. 6, the AD conversion circuit in this embodiment includes an AD conversion chip U3, a first resistor R1, a second resistor R2, a fifth resistor R5, a sixth resistor R6, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a twelfth capacitor C12, a thirteenth capacitor C13, and a third pin socket J3;
a first pin CLK and a second pin CS of the AD conversion chip U3 are respectively connected with the singlechip circuit through a first resistor R1 and a second resistor R2; the third pin GND of the AD conversion chip U3 is grounded; a fourth pin AIN0 of the AD conversion chip U3 is connected with a second pin of a third pin socket J3 through a fifth resistor R5 in one way, and the other way is connected with a single chip microcomputer circuit; a first pin of the third pin socket J3 is connected with the power supply end, a third pin of the third pin socket J3 is grounded, and the third pin socket J3 is connected with the laser displacement sensor through a signal wire; a fifth pin AIN1 of the AD conversion chip U3 is connected with the power supply end through a sixth resistor R6, and a sixth pin AIN2 and a seventh pin AIN4 of the AD conversion chip U3 are respectively connected with the power supply end through a ninth resistor R9 and an eighth resistor R8; an eighth pin VDD of the AD conversion chip U3 is connected with a power supply end, a first end of a twelfth capacitor C12 and a first end of a thirteenth capacitor C13 are both connected to a connecting line of the eighth pin VDD of the AD conversion chip U3 and the power supply end, and a second end of the twelfth capacitor C12 and a second end of the thirteenth capacitor C13 are both grounded; and a ninth pin DOUT and a tenth pin DIN of the AD conversion chip U3 are respectively connected with the single chip microcomputer circuit through a tenth resistor R10 and an eleventh resistor R11.
The AD conversion chip U3 is preferably a precise analog/digital conversion chip (ADC) of ADS1118 type, the conversion rate of the AD conversion chip is up to 860 samples per second, the input range is +/-256 mV to +/-6.144V, large signals and small signals can be measured with high resolution, and the influence of slight valve jitter in the measurement process is effectively reduced. In addition, the third row of pin sockets J3 can be used for facilitating quick replacement when the laser displacement sensor is damaged and the like and needs to be replaced.
Further, in some schemes, the working voltage of the selected single chip or laser displacement sensor is difficult to match with the power supply voltage according to actual needs, so that voltage conversion is required.
For example, a scheme of this embodiment is to select a lithium battery with a power supply voltage of 7.4V as a power supply of the circuit to supply power, select an STM32F103C8T6 monolithic chip with a working voltage of 3.3V for the monolithic chip U2, and select a working voltage of the laser displacement sensor of 12V. Therefore, the supply voltage of the lithium battery 7.4V needs to be reduced to 3.3V by the voltage reduction circuit, and the supply voltage of the lithium battery 7.4V needs to be increased to 12V by the voltage boost circuit.
Specifically, as shown in fig. 5, in this embodiment, the voltage reduction circuit is connected between the power supply and the single chip microcomputer circuit, and is configured to provide a working voltage for the single chip microcomputer circuit;
the booster circuit is connected between the power supply and the laser displacement sensor and used for providing working voltage for the laser displacement sensor.
Specifically, as shown in fig. 7, the voltage step-down circuit includes: a first buck chip U7, a second buck chip U1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, an eighth capacitor C8, a thirty-third capacitor C33, a thirty-fourth capacitor C34, a thirty-seventh capacitor C37, a fifteenth resistor R15 and a fourth light-emitting diode D4;
a first pin VIN of the first buck chip U7 is connected with a third pin ON and then is connected with a power supply end; the second pin VSS of the first buck chip U7 is grounded, and the eighth capacitor C8 is connected in parallel with the thirty-third capacitor C33 and then connected between the first pin VIN and the second pin VSS of the first buck chip U7; a fifth pin VOUT of the first buck chip U7 is connected to the first pin VIN of the second buck chip U1, and a thirty-fourth capacitor C34 is connected in parallel to a thirty-seventh capacitor C37 and then connected between the fifth pin VOUT of the first buck chip U7 and ground; the third pin ON of the second buck chip U1 is connected with the first pin VIN; the second pin VSS of the second buck chip U1 is grounded, and the second capacitor C2 is connected in parallel with the third capacitor C3 and then connected between the first pin VIN and the second pin VSS of the second buck chip U1; a fifth pin VOUT of the second buck chip U1 is connected with the single-chip microcomputer circuit, and a fourth capacitor C4 and a fifth capacitor C5 are connected between the fifth pin VOUT of the second buck chip U1 and the ground in parallel; one end of the fifteenth resistor R15 is connected to the fifth pin VOUT of the second buck chip U1, and the other end is grounded via the anode of the fourth led D4.
Wherein, first step-down chip U7, the preferred SPX3819 step-down chip of second step-down chip U1, the design that the step-down circuit of this embodiment adopted the two-stage step-down effectively reduces the energy consumption of whole chip, reduces the load of step-down circuit simultaneously, guarantees circuit system's long-term stable work. The working principle of the voltage reducing circuit is illustrated below, for example, the power supply voltage of 7.4V of the lithium battery is reduced to 3.3V, the first-stage voltage reducing circuit mainly based on the first voltage reducing chip U7 reduces the power supply voltage of 7.4V of the lithium battery to 5V, and the second-stage voltage reducing circuit mainly based on the second voltage reducing chip U1 reduces the voltage of 5V to 3.3V. In addition, the signal lamp module composed of the fifteenth resistor R15 and the fourth light emitting diode D4 can prompt whether the voltage reduction circuit works normally.
Specifically, as shown in fig. 8, the booster circuit includes: a boost chip U11, a forty-fourth resistor R40, a forty-first resistor R41, a forty-second resistor R42, a forty-third resistor R43, a forty-fourth resistor R44, a forty-fifth resistor R45, a sixth capacitor C6, a thirty-ninth capacitor C39, a forty-fourth capacitor C40, a forty-ninth capacitor C49, a first polar capacitor C1, a second polar capacitor C14, a first inductor L2 and a twelfth diode D10; preferably, the boost chip U11 is preferably a TPS61175PWR boost chip.
A third pin VIN of the boosting chip U11 is connected with a power supply end, one end of a forty-ninth capacitor C49 is connected with the power supply end, the other end of the forty-ninth capacitor C49 is grounded, the anode of a second polar capacitor C14 is connected with the power supply end, and the cathode of the second polar capacitor C14 is grounded; the fourth pin EN of the boosting chip U11 is grounded through a forty-fifth resistor R45, and the forty-fourth resistor R44 is connected between the third pin VIN and the fourth pin EN of the boosting chip U11; the tenth pin FREQ of the boost chip U11 is grounded through a forty-first resistor R41; the fifth pin SS of the boost chip U11 is grounded through a fortieth capacitor C40; an eighth pin COMP of the boost chip U11 is grounded through a fortieth resistor R40 and a thirty-ninth capacitor C39; the sixth pin SYNC, the seventh pin AGND, and the fifteenth pin PAD of the boost chip U11 are all grounded; a first pin SW of the boosting chip U11 is connected with a second pin SW and then connected to an anode of a twelfth diode D10, one path of a cathode of the twelfth diode D10 is connected with the laser displacement sensor, the other path of the cathode of the twelfth diode D10 is grounded through a forty-second resistor R42 and a forty-third resistor R43, and a first inductor L2 connects the first pin SW and a third pin VIN of the boosting chip U11 together; the anode of the first polar capacitor C1 is connected to the connecting line of the cathode of the twelfth diode D10 and the laser displacement sensor, the cathode of the first polar capacitor C1 is grounded, and the sixth capacitor C6 is connected in parallel to the two ends of the first polar capacitor C1; a ninth pin FB of the boost chip U11 is connected to a connection point of a forty-second resistor R42 and a forty-third resistor R43; the eleventh pin NC, the twelfth pin PGND, the thirteenth pin PGND, and the fourteenth pin PGND of the boost chip U11 are all grounded.
In the boost circuit of the present embodiment, a structure with two sets of large capacitors connected in parallel with a small capacitor is designed, that is, the second polar capacitor C14(100uF) and the forty-ninth capacitor C49(100nF) connected in parallel, and the first polar capacitor C1(100uF) and the sixth capacitor C6(100nF) connected in parallel. The two large capacitors, i.e., the first polar capacitor C1 and the second polar capacitor C14, are electrolytic capacitors for filtering low-frequency signals, and the two small capacitors, i.e., the forty-ninth capacitor C49(100nF) and the sixth capacitor C6(100nF), are for filtering high-frequency signals, wherein the sixth capacitor C6(100nF) is disposed near the chip end, i.e., near the laser displacement sensor end in the embodiment of the present invention, because these are mainly high-frequency signals, the low capacitors can be used for better filtering.
Further, in some schemes, in order to facilitate real-time control of the system operation condition, an indicator light circuit may be further provided.
Specifically, as shown in fig. 5, the valve stroke and on-off time measuring circuit of the present embodiment further includes an indicator light circuit connected to the single chip microcomputer circuit for prompting the operating condition of the circuit system.
Specifically, as shown in fig. 9, the indicator light circuit includes a second light emitting diode D2, a thirty-second resistor R32; the anode of the second light emitting diode D2 is connected with the power supply end through a thirty-second resistor R32, and the cathode of the second light emitting diode D2 is connected with the singlechip circuit.
The valve stroke and switching time measuring circuit can realize synchronous automatic measurement of the valve stroke and the switching time, personnel intervention is not needed in the measuring process, the operation is simple, and the measuring result can be directly read on a display screen. When the maintenance work needing to measure a large amount of valve strokes and switch time is performed, the difficulty of the measurement work can be reduced, and the measurement precision and the measurement efficiency can be improved.
The invention also provides a device for measuring the valve stroke and the switch time, which comprises the circuit for measuring the valve stroke and the switch time and a power supply.
Fig. 10 is a schematic view of a valve stroke and on-off time measuring device according to the present invention; it can be understood that the device wraps the valve stroke and switch time measuring circuit and the power supply except the laser displacement sensor and the signal wire through the host machine shell. Wherein, be provided with the window of placing display screen and button on the host computer shell.
Further, as shown in fig. 11, the laser displacement sensor of the present invention is generally a rectangular parallelepiped structure or a cube structure, the laser displacement sensor includes a first plane provided with a laser emission window, and at least one second plane provided with a magnetic adsorption mechanism, the first plane and the second plane are perpendicular to each other, and the laser displacement sensor is adsorbed on the valve through the magnetic adsorption mechanism. The magnetic attachment mechanism may be a plurality of magnetic particles.
The manner of using the valve travel and on-off time measuring device of the present invention is described in detail below with reference to fig. 12.
As shown in fig. 12, when the laser displacement sensor is used in the field, the laser displacement sensor is attached to the valve body by the magnetic attachment mechanism on the laser displacement sensor, the first plane provided with the laser emission window is aligned to a moving part fixed relative to the valve position, such as a coupler or a limiting pressure plate on the valve body, during the opening or closing of the valve, the laser displacement sensor and the reference system (the coupler or the limiting pressure plate) move relatively, so that the signal output by the laser displacement sensor changes correspondingly, and the valve stroke, the valve opening time and the valve closing time are calculated by the measurement circuit arranged in the host, and the result is output to the display screen for display.
Furthermore, due to the influence of part of the valve structure and the measuring range of the sensor, the laser beam of the laser displacement sensor cannot directly strike the coupler, so the invention also provides a measuring system for the valve stroke and the switch time.
Specifically, the measuring system includes the above-mentioned valve stroke and on-off time measuring device and a scale having a magnetic adsorption mechanism at one end as shown in fig. 13, where the magnetic adsorption mechanism may be a plurality of magnetic particles. The one end that the scale was equipped with magnetic adsorption mechanism adsorbs on the shaft coupling of valve, and the other end of scale is used for the laser that the reflection laser displacement sensor sent. The scale is preferably a thin aluminum strip, and the dimension may be 2mm × 10mm × 200mm (thickness × width × length). Because the aluminum material density is less, the quality is lighter under the same volume, can adsorb on the shaft coupling of valve more firmly through magnetic adsorption mechanism, and the motion responsiveness is good, can effectively prevent the influence of the micro-vibrations in the valve motion process to measurement accuracy.
The use of the valve travel and on-off time measurement system of the present invention is described in detail below with reference to fig. 14. As shown in fig. 14, one end of the scale provided with the magnetic adsorption mechanism is adsorbed on the coupler of the valve and keeps relatively static with the coupler, so that the movement of the valve rod of the valve is converted into the synchronous movement of the scale. Then the laser displacement sensor is adsorbed on the valve body, a first plane of the laser displacement sensor, which is provided with a laser emission window, is aligned to one end of the scale, which is not provided with the magnetic adsorption mechanism, and a laser beam of the laser displacement sensor is irradiated on the scale, so that the stroke of the valve and the opening or closing time of the valve are measured. Because the shaft coupling is the necessary part of every valve, and rigid connection between shaft coupling and the valve rod, adopt the design of directly relatively fixing with scale and shaft coupling can reduce the installation requirement of laser displacement sensor when the field usage greatly, improve instrument convenience of use.
Referring to fig. 15, a flow chart of the valve stroke and on-off time measuring method of the present invention is shown. The valve stroke and switching time measuring method is applied to the valve stroke and switching time measuring circuit.
As shown in fig. 15, the method for measuring the valve stroke and the switching time includes the following steps:
s1: and the circuit is powered on and reset.
S2: and judging whether the signal output by the laser displacement sensor changes, if so, entering the step S3, and otherwise, repeating the step S2.
Specifically, the characteristic that the output signal of the laser displacement sensor changes when the valve is opened or closed and the signal of the laser displacement sensor is stable and unchanged after the valve is opened or closed in place is utilized, and when the valve starts to be opened or closed, the output signal of the laser displacement sensor changes.
S3: and starting timing of the first period of time, and simultaneously judging and recording the maximum value and the minimum value of the valve displacement.
It can be understood that when the signal of the laser displacement sensor changes, the valve starts to act, and the timer in the single chip starts to time. If the valve is initially in the closed state, the first period of time is the valve opening time, and if the valve is initially in the open state, the first period of time is the valve closing time.
S4: judging whether the static time of the valve displacement exceeds a first preset time, if so, entering the step S5, otherwise, returning to the step S3; wherein, the first preset time is preferably 2 s.
It can be understood that if the valve displacement is still (i.e. the output signal of the sensor is stable and unchanged) for more than a first preset time, it indicates that the first displacement of the valve opening or closing is over, and it is ready to start the corresponding second displacement of the valve closing or opening, and if the valve displacement is still for less than the first preset time, it indicates that it may be a slight jam in the valve motion process, it returns to step S3 to continue timing for the first time, and at the same time, it continues to determine and record the maximum value and the minimum value of the valve displacement.
S5: the timing of the second period of time is started.
It is understood that if the first period of time is the valve open time, then the second period of time corresponds to the closed time; if the first period of time is the valve closing time, the second period of time corresponds to the valve opening time.
S6: judging whether the signal output by the laser displacement sensor is stable within a second preset time; if yes, go to step S7, otherwise repeat step S6; the second preset time can be set according to actual needs and can be 5 s.
S7: and (5) finishing timing, simultaneously calculating the difference value between the maximum value and the minimum value of the valve displacement, and taking the absolute value of the difference value as the valve stroke.
Specifically, in the measuring process, due to the fact that the precision of the laser displacement sensor is high, in order to avoid the influence of shaking in the valve opening and closing process, the single chip microcomputer only judges the maximum value and the minimum value of the valve displacement in the whole stroke through programming, and after the difference value of the maximum value and the minimum value is calculated, the absolute value of the difference value is taken as the valve stroke. Only the maximum value and the minimum value are concerned in the whole measuring process, so that the influence of tiny vibration such as jamming on the measuring process and the measuring result in the moving process of the valve can be effectively avoided.
S8: and outputting the first period of time, the second period of time and the valve stroke to a display screen for displaying.
In summary, the technical scheme of the invention adopts non-contact measurement, and only a miniature laser displacement sensor or a scale is needed to be installed on site to be used in cooperation, so that the valve is prevented from being contacted with a maintainer in a long time and in a short distance in the measurement process, and the advantages are as follows: the measurement difficulty is reduced; the risk of mistaken collision of personnel with equipment is reduced; the field working time is shortened, the distance between a person and a pipeline in the measurement process is increased, and the irradiated dose of the person is reduced; the measurement precision is improved; the measuring efficiency is improved.
The technical scheme of the invention has obvious effect in the field application of actual valve maintenance. For example, when applied to a nuclear power plant overhaul site, the measurement conditions for the D1GSS214VL pneumatic control valve are: the stroke of the valve measured by using the measuring tape on site is 90mm (the measuring precision of the measuring tape is 1mm), the stroke of the valve measured by the device is 90.6mm, in addition, the opening time measured by the device is 16.50s, the closing time is 20.01s, and the measuring results of the stroke and the time are consistent with the actual situation on site. Compared with the traditional manual measurement, the working time of single measurement is saved by 20min on average, only one person is needed to complete the maintenance work, more than 150 measurement works are required for overhauling the nuclear island and the conventional island once on average, and the construction period is saved by 50h in single overhaul.
It should be noted that the present invention is not limited to be used in the measurement of the valve stroke and the opening and closing time, and can be flexibly used in the industrial production process in which the moving distance and the moving time of the object to be measured need to be measured.
While the invention has been described with reference to specific embodiments, it will be understood by those skilled in the art that various changes may be made and equivalents may be substituted without departing from the scope of the invention. In addition, many modifications may be made to adapt a particular situation or material to the teachings of the invention without departing from its scope. Therefore, it is intended that the invention not be limited to the particular embodiment disclosed, but that the invention will include all embodiments falling within the scope of the appended claims.

Claims (12)

1. A valve stroke and switch time measuring circuit is characterized by comprising a single chip microcomputer circuit, a key circuit, a laser displacement sensor and a display screen;
the laser displacement sensor is connected with the single chip microcomputer circuit through a signal line, and the key circuit and the display screen are respectively connected with the single chip microcomputer circuit;
the singlechip circuit is used for calculating the valve stroke and the time of the opening and closing process of the valve according to the change of the output signal of the laser displacement sensor; the key circuit is used as an input module and is used for starting or closing the measuring circuit and adjusting the laser displacement sensor; the display screen is used for displaying the calculation result of the single chip microcomputer circuit.
2. The valve travel and on-off time measurement circuit of claim 1, further comprising an AD conversion circuit connected between the single chip circuit and the laser displacement sensor; the AD conversion circuit is used for converting the analog signals output by the laser displacement sensor into digital signals readable by the singlechip.
3. The valve travel and switch time measurement circuit of claim 1, further comprising: a voltage reduction circuit and a voltage boosting circuit;
the voltage reduction circuit is connected between a power supply and the single chip microcomputer circuit and used for providing working voltage for the single chip microcomputer circuit;
the booster circuit is connected between a power supply and the laser displacement sensor and used for providing working voltage for the laser displacement sensor.
4. The valve stroke and switching time measuring circuit of claim 1, wherein the single chip microcomputer circuit comprises a single chip microcomputer chip U2, a third resistor R3, a fourth resistor R4, a seventh resistor R7, a thirty-fifth resistor R35, a seventh capacitor C7, a ninth capacitor C9, a tenth capacitor C10, an eleventh capacitor C11, a thirteenth capacitor C13, a twenty-fifth capacitor C25, a twenty-sixth capacitor C26, a crystal oscillator Y1 and a fourth pin socket J4;
the single chip microcomputer chip U2 is a chip internally integrated with a timer; the twentieth pin PB2 of the singlechip chip U2 is grounded through the seventh resistor R7; the forty-fourth pin BOOT0 of the singlechip chip U2 is grounded through the third resistor R3; a ninth pin VDDA, a twenty-fourth pin VDD _1, a thirty-sixth pin VDD _2 and a forty-eighth pin VDD _3 of the single chip microcomputer chip U2 are connected with each other and then connected with a power supply end; an eighth pin VSSA, a twenty-third pin VSS _1, a thirty-fifth pin VSS _2 and a forty-seventh pin VSS _3 of the singlechip chip U2 are connected with each other and then grounded, and a seventh capacitor C7, a ninth capacitor C9, a twenty-fifth capacitor C25 and a twenty-sixth capacitor C26 are connected in parallel and then connected between a ninth pin VDDA and an eighth pin VSSA of the singlechip chip U2; one end of the fourth resistor R4 is connected with a power supply end, the other end of the fourth resistor R4 is grounded through the thirty-fifth resistor R35, the eleventh capacitor C11 is connected in parallel with two ends of the thirty-fifth capacitor C35, and the seventh pin NRST of the singlechip chip U2 is connected to a connection node of the fourth resistor R4 and the thirty-fifth resistor R35; one path of a first pin OSC of the crystal oscillator Y1 is connected to a sixth pin PD1 of the single chip microcomputer U2, the other path of the first pin OSC is grounded through a thirty-first capacitor C31, a second pin GND of the crystal oscillator Y1 is grounded, one path of a third pin OSC of the crystal oscillator Y1 is connected to a fifth pin PD0 of the single chip microcomputer U2, the other path of the third pin OSC is grounded through the tenth capacitor C10, and a fourth pin GND of the crystal oscillator Y1 is grounded; the singlechip chip U2 twenty ninth pin PA8, thirty pin PA9, seventeenth pin PA7, fifteenth pin PA5 respectively with fourth pin socket J4's first foot, second foot, third foot, fourth foot are connected, fourth pin socket J4's fifth foot connects the feeder end, fourth pin socket J4's sixth foot ground connection, the display screen pass through fourth pin socket J4 with singlechip chip U2 is connected.
5. The valve stroke and on-off time measuring circuit of claim 1 further comprising an indicator light circuit connected to the single-chip microcomputer circuit for indicating the operating condition of the circuit system; the indicating lamp circuit comprises a second light emitting diode D2 and a thirty-second resistor R32;
the anode of the second light emitting diode D2 is connected with the power supply end through the thirty-second resistor R32, and the cathode of the second light emitting diode D2 is connected with the singlechip circuit.
6. The valve travel and switching time measurement circuit of claim 1, wherein the keying circuit comprises a fourteenth resistor R14, a four-foot KEY 1;
the first end of the fourteenth resistor R14 is connected with the power supply end, and the second end of the fourteenth resistor R14 is connected with the single chip microcomputer circuit; the first pin and the second pin of the four-pin KEY1 are respectively connected to a connecting line of the fourteenth resistor R14 and the single chip microcomputer circuit, and the third pin and the fourth pin of the four-pin KEY1 are connected and then grounded.
7. The valve stroke and switching time measuring circuit of claim 2, wherein the AD conversion circuit comprises an AD conversion chip U3, a first resistor R1, a second resistor R2, a fifth resistor R5, a sixth resistor R6, an eighth resistor R8, a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a twelfth capacitor C12, a thirteenth capacitor C13, and a third pin socket J3;
the first pin CLK and the second pin CS of the AD conversion chip U3 are respectively connected with the singlechip circuit through the first resistor R1 and the second resistor R2; the third pin GND of the AD conversion chip U3 is grounded; a fourth pin AIN0 of the AD conversion chip U3 is connected with a second pin of the third pin socket J3 through one path of the fifth resistor R5, and the other path of the fourth pin AIN0 is connected with the single chip microcomputer circuit; the first pin of the third pin socket J3 is connected with a power supply end, the third pin of the third pin socket J3 is grounded, and the third pin socket J3 is connected with the laser displacement sensor through the signal wire; the fifth pin AIN1 of the AD conversion chip U3 is connected with the power supply terminal through the sixth resistor R6, and the sixth pin AIN2 and the seventh pin AIN4 of the AD conversion chip U3 are connected with the power supply terminal through the ninth resistor R9 and the eighth resistor R8, respectively; an eighth pin VDD of the AD conversion chip U3 is connected to a power supply terminal, a first end of the twelfth capacitor C12 and a first end of the thirteenth capacitor C13 are both connected to a connection line between the eighth pin VDD of the AD conversion chip U3 and the power supply terminal, and a second end of the twelfth capacitor C12 and a second end of the thirteenth capacitor C13 are both grounded; and a ninth pin DOUT and a tenth pin DIN of the AD conversion chip U3 are respectively connected with the singlechip circuit through the tenth resistor R10 and the eleventh resistor R11.
8. The valve travel and switch time measurement circuit of claim 3, wherein the voltage reduction circuit comprises: a first buck chip U7, a second buck chip U1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a fifth capacitor C5, an eighth capacitor C8, a thirty-third capacitor C33, a thirty-fourth capacitor C34, a thirty-seventh capacitor C37, a fifteenth resistor R15 and a fourth light-emitting diode D4;
a first pin VIN of the first buck chip U7 is connected with a third pin ON and then is connected with a power supply end; the second pin VSS of the first buck chip U7 is grounded, and the eighth capacitor C8 and the thirty-third capacitor C33 are connected in parallel and then connected between the first pin VIN and the second pin VSS of the first buck chip U7; a fifth pin VOUT of the first buck chip U7 is connected to the first pin VIN of the second buck chip U1, and the thirty-fourth capacitor C34 is connected in parallel to the thirty-seventh capacitor C37 and then connected between the fifth pin VOUT of the first buck chip U7 and ground; a third pin ON of the second buck chip U1 is connected with the first pin VIN; the second pin VSS of the second buck chip U1 is grounded, and the second capacitor C2 is connected in parallel with the third capacitor C3 and then connected between the first pin VIN and the second pin VSS of the second buck chip U1; the fifth pin VOUT of the second buck chip U1 is connected with the single-chip microcomputer circuit, and the fourth capacitor C4 and the fifth capacitor C5 are connected between the fifth pin VOUT of the second buck chip U1 and the ground in parallel; one end of the fifteenth resistor R15 is connected to the fifth pin VOUT of the second buck chip U1, and the other end is grounded via the anode of the fourth led D4.
9. The valve travel and switching time measurement circuit of claim 3, wherein the boost circuit comprises: a boost chip U11, a forty-fourth resistor R40, a forty-first resistor R41, a forty-second resistor R42, a forty-third resistor R43, a forty-fourth resistor R44, a forty-fifth resistor R45, a sixth capacitor C6, a thirty-ninth capacitor C39, a forty-fourth capacitor C40, a forty-ninth capacitor C49, a first polar capacitor C1, a second polar capacitor C14, a first inductor L2 and a twelfth diode D10;
a third pin VIN of the boosting chip U11 is connected with a power supply end, one end of a forty-ninth capacitor C49 is connected with the power supply end, the other end of the forty-ninth capacitor C49 is grounded, the positive electrode of the second polarized capacitor C14 is connected with the power supply end, and the negative electrode of the second polarized capacitor C14 is grounded; the fourth pin EN of the boosting chip U11 is grounded through the forty-fifth resistor R45, and the forty-fourth resistor R44 is connected between the third pin VIN and the fourth pin EN of the boosting chip U11; a tenth pin FREQ of the boost chip U11 is grounded through the forty-first resistor R41; a fifth pin SS of the boost chip U11 is grounded through the fortieth capacitor C40; an eighth pin COMP of the boosting chip U11 is grounded through the fortieth resistor R40 and the thirty-ninth capacitor C39; a sixth pin SYNC, a seventh pin AGND and a fifteenth pin PAD of the boosting chip U11 are all grounded; a first pin SW of the boosting chip U11 is connected with a second pin SW and then connected with an anode of a twelfth pole tube D10, one path of a cathode of the twelfth pole tube D10 is connected with the laser displacement sensor, the other path of the cathode of the twelfth pole tube D10 is grounded through a forty-second resistor R42 and a forty-third resistor R43, and a first inductor L2 connects the first pin SW and a third pin VIN of the boosting chip U11 together; the positive electrode of the first polarized capacitor C1 is connected to the connecting line of the cathode of the twelfth diode D10 and the laser displacement sensor, the negative electrode of the first polarized capacitor C1 is grounded, and the sixth capacitor C6 is connected in parallel to two ends of the first polarized capacitor C1; a ninth pin FB of the boost chip U11 is connected to a connection point of the forty-second resistor R42 and the forty-third resistor R43; an eleventh pin NC, a twelfth pin PGND, a thirteenth pin PGND, and a fourteenth pin PGND of the boost chip U11 are all grounded.
10. A valve travel and switching time measuring device comprising a valve travel and switching time measuring circuit according to any one of claims 1 to 9 and a power supply; the laser displacement sensor is of a cuboid structure or a cube structure and comprises a first plane and at least one second plane, wherein the first plane is provided with a laser emission window, the second plane is provided with a magnetic adsorption mechanism, the first plane and the second plane are perpendicular to each other, and the laser displacement sensor is adsorbed on a valve through the magnetic adsorption mechanism.
11. A valve stroke and on-off time measuring system, characterized by comprising the valve stroke and on-off time measuring device according to claim 10 and a scale with a magnetic adsorption mechanism at one end, wherein the end with the magnetic adsorption mechanism of the scale is adsorbed on a coupler of a valve, and the other end of the scale is used for reflecting laser emitted by the laser displacement sensor.
12. A method for measuring a valve stroke and a valve opening and closing time, which is applied to a valve stroke and valve opening and closing time measuring circuit according to any one of claims 1 to 9, wherein the measuring method comprises the following steps:
s1: the circuit is powered on and reset;
s2: judging whether the signal output by the laser displacement sensor changes, if so, entering the step S3, otherwise, repeating the step S2;
s3: starting timing of a first period of time, and simultaneously judging and recording the maximum value and the minimum value of valve displacement;
s4: judging whether the static time of the valve displacement exceeds a first preset time, if so, entering a step S5, otherwise, returning to the step S3;
s5: starting timing of a second period of time;
s6: judging whether the signal output by the laser displacement sensor is stable within a second preset time; if yes, go to step S7, otherwise repeat step S6;
s7: when the timing is finished, simultaneously calculating the difference value between the maximum value and the minimum value of the valve displacement and taking the absolute value of the difference value as the valve stroke;
s8: and outputting the first period of time, the second period of time and the valve stroke to a display screen for displaying.
CN202010632547.9A 2020-07-03 2020-07-03 Valve stroke and switching time measuring circuit, device, system and method Pending CN111912455A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010632547.9A CN111912455A (en) 2020-07-03 2020-07-03 Valve stroke and switching time measuring circuit, device, system and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010632547.9A CN111912455A (en) 2020-07-03 2020-07-03 Valve stroke and switching time measuring circuit, device, system and method

Publications (1)

Publication Number Publication Date
CN111912455A true CN111912455A (en) 2020-11-10

Family

ID=73227234

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010632547.9A Pending CN111912455A (en) 2020-07-03 2020-07-03 Valve stroke and switching time measuring circuit, device, system and method

Country Status (1)

Country Link
CN (1) CN111912455A (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1062971A (en) * 1990-12-27 1992-07-22 燃烧工程有限公司 Laser position indicator for valve stem
CN201672907U (en) * 2010-05-27 2010-12-15 刘淑兰 Measuring device of opening height of gate valve for water conservancy project
CN202057301U (en) * 2010-12-13 2011-11-30 中国船舶重工集团公司第七○三研究所 Laser measuring device for opening height of safety valve
CN103438807A (en) * 2013-08-19 2013-12-11 南京理工大学 High-pressure pilot-operated type pneumatic electromagnetic-valve valve element displacement measurement device and method
CN106197959A (en) * 2015-04-30 2016-12-07 洪斐喆 Detection method switch time of control valve for fluids
CN106225680A (en) * 2016-07-25 2016-12-14 北京英创汇智科技有限公司 A kind of spool displacement measurement apparatus based on laser displacement sensor and method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1062971A (en) * 1990-12-27 1992-07-22 燃烧工程有限公司 Laser position indicator for valve stem
CN201672907U (en) * 2010-05-27 2010-12-15 刘淑兰 Measuring device of opening height of gate valve for water conservancy project
CN202057301U (en) * 2010-12-13 2011-11-30 中国船舶重工集团公司第七○三研究所 Laser measuring device for opening height of safety valve
CN103438807A (en) * 2013-08-19 2013-12-11 南京理工大学 High-pressure pilot-operated type pneumatic electromagnetic-valve valve element displacement measurement device and method
CN106197959A (en) * 2015-04-30 2016-12-07 洪斐喆 Detection method switch time of control valve for fluids
CN106225680A (en) * 2016-07-25 2016-12-14 北京英创汇智科技有限公司 A kind of spool displacement measurement apparatus based on laser displacement sensor and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
罗樟: "超磁致伸缩高速开关阀及其阀控缸系统的研究", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *

Similar Documents

Publication Publication Date Title
CN107171401B (en) Double auxiliary power supply and energy storage system based on same
CN203643779U (en) Outage wake-up circuit of ammeter metering terminal
CN201974475U (en) Direct current energy measuring device
CN110687202B (en) Ultrasonic guided wave instrument for nondestructive testing of energy storage spring of circuit breaker
CN111912455A (en) Valve stroke and switching time measuring circuit, device, system and method
CN108759957B (en) Gas metering device based on non-magnetic technology
CN111355227B (en) Bus voltage protection bleeder circuit for exoskeleton robot motor controller
CN108121266A (en) Radio-frequency power supply analog controller
CN210090544U (en) Isolated direct current voltage sampling circuit
CN111629479B (en) Power supply for 5G intelligent street lamp
CN209606536U (en) A kind of DC charging motor logging
CN100417919C (en) Electromagnetic flowmeter powered by battery
CN218886020U (en) Low-voltage alarm detection circuit
CN208723787U (en) A kind of booster circuit
CN209656778U (en) A kind of Digital AC power meter module
CN101718847B (en) Device for measuring high-voltage pulse power supply of xenon lamp of laser device
CN211086188U (en) Ultrasonic guided wave device for nondestructive testing of energy storage spring of circuit breaker
CN220254366U (en) High-temperature high-voltage power supply block for downhole gamma detection tube
CN102279306A (en) Signal-driving alternated current/direct current digital ampere meter with low power consumption
CN211061647U (en) Automatic detection device for mV (modified mV) to mA (metal oxide) module
CN217786400U (en) Wireless dynamometer
CN216052103U (en) Source end current detection circuit
CN213748600U (en) Self-storage programming type water meter data sampling conversion module
CN220754414U (en) Direct current power failure detection and protection circuit
CN203894335U (en) Digital inductance and capacitance meter

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20201110