CN112709855A - Valve controller, valve control method and gas meter - Google Patents

Valve controller, valve control method and gas meter Download PDF

Info

Publication number
CN112709855A
CN112709855A CN202011530753.5A CN202011530753A CN112709855A CN 112709855 A CN112709855 A CN 112709855A CN 202011530753 A CN202011530753 A CN 202011530753A CN 112709855 A CN112709855 A CN 112709855A
Authority
CN
China
Prior art keywords
valve
module
driving
voltage
value
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.)
Granted
Application number
CN202011530753.5A
Other languages
Chinese (zh)
Other versions
CN112709855B (en
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.)
TANCY INSTRUMENT GROUP CO Ltd
Goldcard Smart Group Co Ltd
Original Assignee
Goldcard Smart Group 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 Goldcard Smart Group Co Ltd filed Critical Goldcard Smart Group Co Ltd
Priority to CN202011530753.5A priority Critical patent/CN112709855B/en
Publication of CN112709855A publication Critical patent/CN112709855A/en
Application granted granted Critical
Publication of CN112709855B publication Critical patent/CN112709855B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • FMECHANICAL ENGINEERING; LIGHTING; HEATING; WEAPONS; BLASTING
    • F16ENGINEERING ELEMENTS AND UNITS; GENERAL MEASURES FOR PRODUCING AND MAINTAINING EFFECTIVE FUNCTIONING OF MACHINES OR INSTALLATIONS; THERMAL INSULATION IN GENERAL
    • F16KVALVES; TAPS; COCKS; ACTUATING-FLOATS; DEVICES FOR VENTING OR AERATING
    • F16K31/00Actuating devices; Operating means; Releasing devices
    • F16K31/02Actuating devices; Operating means; Releasing devices electric; magnetic
    • F16K31/04Actuating devices; Operating means; Releasing devices electric; magnetic using a motor
    • F16K31/046Actuating devices; Operating means; Releasing devices electric; magnetic using a motor with electric means, e.g. electric switches, to control the motor or to control a clutch between the valve and the motor
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01FMEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
    • G01F15/00Details of, or accessories for, apparatus of groups G01F1/00 - G01F13/00 insofar as such details or appliances are not adapted to particular types of such apparatus
    • G01F15/005Valves

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Physics & Mathematics (AREA)
  • Fluid Mechanics (AREA)
  • General Physics & Mathematics (AREA)
  • Electrically Driven Valve-Operating Means (AREA)

Abstract

The application provides a valve controller, a valve control method and a gas meter. The method comprises the following steps: and the control module outputs a pulse signal to the voltage regulation module through a PWM (pulse-width modulation) port on the MCU. And the voltage regulating module acquires the PWM pulse signal output by the MCU. And the voltage regulating module regulates the voltage input by the power supply to a target voltage according to the pulse signal. The target voltage is determined according to the pulse signal and is the driving voltage of the valve driving module. The voltage regulation module outputs driving voltage to the valve driving module to realize the driving of the motor. The valve driving module acquires the driving voltage output by the voltage regulating module and performs valve driving operation by using the driving voltage, wherein the valve driving operation comprises driving a valve to open and driving the valve to close. The method improves the reliability of the valve and avoids the problem that the valve is not completely closed under the condition that the rubber part is aged.

Description

Valve controller, valve control method and gas meter
Technical Field
The present disclosure relates to control circuits, and particularly to a valve controller, a valve control method, and a gas meter.
Background
With the popularization of natural gas, the application of gas meters is very common. In the gas meter, a valve is used as one of core components of the gas meter, and the reliability of the operation of the valve directly concerns the safety and the metering precision of the gas meter. At present, a driving circuit of a gas meter valve mainly adopts a mode of combining constant voltage driving and timing control. The specific component structure can be as shown in fig. 1.
And a valve of the gas meter is provided with a rubber piece. This rubber spare is used for increasing the valve seal effect, avoids revealing of natural gas. The rubber part on the valve can age gradually with the passage of time in the whole service life of the gas meter. The elasticity of the rubber member gradually decreases as the degree of aging of the rubber member increases. When the elasticity of the rubber part is deteriorated, the sealing capability of the valve is weakened.
Therefore, how to ensure the sealing effect of the gas valve in the whole service life of the gas meter becomes a problem to be solved urgently.
Disclosure of Invention
The application provides a valve controller, a valve control method and a gas meter, which are used for solving the problem of how to ensure the sealing effect of a gas valve in the whole service life of the gas meter.
In a first aspect, the present application provides a valve controller comprising: the control module, the voltage regulation module and the valve driving module;
the control module is used for outputting a pulse signal to the voltage regulating module;
the voltage regulating module is used for regulating voltage into driving voltage according to the pulse signal and outputting the driving voltage to the valve driving module;
the valve driving module is used for obtaining the driving voltage output by the voltage regulating module and executing valve driving operation by using the driving voltage, and the valve driving operation comprises driving a valve to open and driving the valve to close.
Optionally, the control module includes: a clock module;
the clock module is used for counting the service life of the valve, the control module determines a driving voltage value required by the valve driving module when the valve driving module executes valve driving operation according to the service life of the valve, and the control module determines an output pulse signal according to the driving voltage value.
Optionally, the method further includes: a locked rotor current monitoring module;
the locked-rotor current monitoring module is used for monitoring a locked-rotor current value when the valve driving module executes valve driving operation, and sending the locked-rotor current value to the control module, and the control module determines whether the valve completes the valve driving operation according to the locked-rotor current value.
Optionally, the method further includes: a power supply voltage monitoring module;
the power supply voltage monitoring module is used for monitoring a power supply voltage value of the power supply module, judging whether the power supply voltage value reaches a preset value or not, and starting the control module when the power supply voltage value is larger than the preset value.
Optionally, the method further includes: a driving voltage monitoring module;
the driving voltage monitoring module is used for monitoring the actual driving voltage value adjusted by the voltage adjusting module, the driving voltage monitoring module sends the actual driving voltage value to the control module, and the control module adjusts the pulse signal according to the actual driving voltage value and the driving voltage value.
Optionally, the method further includes: a power supply module;
the power supply module is used for supplying power to the control module, the voltage regulating module and the valve driving module.
In a second aspect, the present application provides a valve control method comprising:
acquiring the service life of a valve;
determining a driving voltage value required by the valve driving module to execute valve driving operation according to the service life;
and determining the output pulse signal according to the driving voltage value.
Optionally, the method further includes:
acquiring a locked rotor current value when a valve driving module executes valve driving operation;
determining whether the valve completes valve driving operation according to the locked rotor current value, wherein the valve driving operation comprises driving of a valve to open and driving of a valve to close;
and when the valve finishes the valve driving operation, stopping outputting the pulse signal.
Optionally, the method includes:
acquiring an actual driving voltage value of the voltage regulating module;
determining an adjustment value of the pulse signal according to the actual driving voltage value and the driving voltage value;
and adjusting the pulse signal according to the adjusting value.
In a third aspect, the present application provides a valve control apparatus comprising:
the acquisition module is used for acquiring the service life of the valve;
the first determining module is used for determining a driving voltage value required by the valve driving module to execute valve driving operation according to the service life;
and the second determining module is used for determining the output pulse signal according to the driving voltage value.
Optionally, the apparatus further includes:
the acquisition module is used for acquiring a locked rotor current value when the valve driving module executes valve driving operation;
the judging module is used for determining whether the valve completes valve driving operation according to the locked rotor current value, wherein the valve driving operation comprises driving of a valve to open and driving of a valve to close; and when the valve finishes the valve driving operation, stopping outputting the pulse signal.
Optionally, the apparatus includes:
the acquisition module is used for acquiring the actual driving voltage value of the voltage regulation module;
the third determining module is used for determining an adjusting value of the pulse signal according to the actual driving voltage value and the driving voltage value;
and the adjusting module is used for adjusting the pulse signal according to the adjusting value.
In a fourth aspect, the present application provides a gas meter, including: the control module, the voltage regulation module and the valve driving module;
the control module is used for outputting a pulse signal to the voltage regulating module;
the voltage regulating module is used for regulating voltage into driving voltage according to the pulse signal and outputting the driving voltage to the valve driving module;
the valve driving module is used for obtaining the driving voltage output by the voltage regulating module and executing valve driving operation by using the driving voltage, and the valve driving operation comprises driving a valve to open and driving the valve to close.
Optionally, the control module includes: a clock module;
the clock module is used for counting the service life of the valve, the control module determines a driving voltage value required by the valve driving module when the valve driving module executes valve driving operation according to the service life of the valve, and the control module determines an output pulse signal according to the driving voltage value.
Optionally, the method further includes: a locked rotor current monitoring module;
the locked-rotor current monitoring module is used for monitoring a locked-rotor current value when the valve driving module executes valve driving operation, and sending the locked-rotor current value to the control module, and the control module determines whether the valve completes the valve driving operation according to the locked-rotor current value.
Optionally, the method further includes: a power supply voltage monitoring module;
the power supply voltage monitoring module is used for monitoring a power supply voltage value of the power supply module, judging whether the power supply voltage value reaches a preset value or not, and starting the control module when the power supply voltage value is larger than the preset value.
Optionally, the method further includes: a driving voltage monitoring module;
the driving voltage monitoring module is used for monitoring the actual driving voltage value adjusted by the voltage adjusting module, the driving voltage monitoring module sends the actual driving voltage value to the control module, and the control module adjusts the pulse signal according to the actual driving voltage value and the driving voltage value.
Optionally, the method further includes: a power supply module;
the power supply module is used for supplying power to the control module, the voltage regulating module and the valve driving module.
According to the valve controller, the valve control method and the gas meter, the control module outputs a pulse signal to the voltage regulation module through the PWM port on the MCU, and the pulse signal is used for controlling the voltage regulation module to output driving voltage; the voltage regulation module acquires a PWM pulse signal output by the MCU; the voltage regulating module regulates the voltage input by the power supply to a target voltage according to the pulse signal; the target voltage is determined according to the pulse signal and is the driving voltage of the valve driving module; the voltage regulating module outputs the driving voltage to the valve driving module to realize the driving of the motor; the valve driving module obtains the driving voltage output by the voltage adjusting module, and the driving voltage is used for executing the valve driving operation, so that the reliability of the valve is improved, and the effect of preventing the valve from leaking air is realized.
Drawings
In order to more clearly illustrate the technical solutions in the present application or the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without inventive exercise.
Fig. 1 is a schematic structural diagram of a valve in a gas meter according to an embodiment of the present application;
fig. 2 is a schematic structural diagram of components of a valve controller according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a valve controller according to an embodiment of the present disclosure;
fig. 4 is a circuit diagram of an MCU according to an embodiment of the present application;
FIG. 5 is a circuit diagram of a voltage regulation circuit according to an embodiment of the present application;
FIG. 6 is a circuit diagram of a valve driver according to an embodiment of the present disclosure;
FIG. 7 is a schematic diagram of another valve controller according to an embodiment of the present disclosure;
FIG. 8 is a circuit diagram of a voltage monitoring circuit according to an embodiment of the present application;
FIG. 9 is a flow chart of a method of controlling a valve according to an embodiment of the present application;
FIG. 10 is a flow chart of another method of controlling a valve according to an embodiment of the present application;
FIG. 11 is a schematic structural diagram of a valve control apparatus according to an embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of another valve control device according to an embodiment of the present application.
Detailed Description
To make the purpose, technical solutions and advantages of the present application clearer, the technical solutions in the present application will be clearly and completely described below with reference to the drawings in the present application, and it is obvious that the described embodiments are some, but not all embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
With the popularization of natural gas, the application of gas meters is very common. In the gas meter, a valve is used as one of core components of the gas meter, and the reliability of the operation of the valve directly concerns the safety and the metering precision of the gas meter. Fig. 1 is a schematic diagram of the assembly structure of a valve in a gas meter. As shown in the figure, the driving circuit of the gas meter valve mainly adopts a mode of combining constant voltage driving and timing control. The valve driving module is used for controlling the motor to open or close the valve.
The valve is usually fitted with a rubber member. The rubber piece is used for increasing the sealing effect of the valve, so that natural gas cannot be leaked after the valve is closed, and the reliability and the safety of the gas meter are improved. However, over the life of the gas meter, the rubber on the valve can gradually age over time. The elasticity of the rubber member gradually decreases as the degree of aging of the rubber member increases. When the elasticity of the rubber part is deteriorated, the sealing capability of the valve is weakened. Thus, if the valve drive module drives the motor with the same voltage and timing duration, the end of the valve closing operation may occur after the rubber member has aged, but the valve has not yet sealed. This situation occurs resulting in a reduced reliability of the valve.
In order to solve the problems, the application provides a valve controller, a valve control method and a gas meter. The invention provides a valve controller with adjustable voltage and locked rotor monitoring. When the valve controller is installed in the gas meter, the valve controller can calculate the aging degree of the rubber by recording the service life of the gas meter. The valve controller determines a driving voltage value required for the valve driving operation according to the rubber aging degree. Further, the valve controller drives the motor to perform a valve driving operation using the driving voltage value. Meanwhile, the valve controller can also monitor the locked rotor current value. And the valve controller forms valve control feedback through the locked rotor current value. The valve controller can control the execution time of the valve driving operation according to the locked-rotor current value, so that the consumption of electric quantity is reduced on the basis of ensuring the valve to be tightly closed.
The technical solution of the present application will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a schematic diagram illustrating an assembly structure of a valve controller according to an embodiment of the present application. As shown, the valve controller may include a power supply module, a control module, a voltage regulation module, a valve driving module, a locked-rotor current monitoring module, a power supply voltage monitoring module, a driving voltage monitoring module, and a Clock module (RTC).
The control module and the clock module may be integrated into a Micro Controller Unit (MCU).
The control module includes 3 AD channels, 2 general Input/Output (I/O) channels, and 1 Pulse Width Modulation (PWM) Output port. Wherein, 3 AD passageways are connected to mains voltage monitoring module, drive voltage monitoring module and locked rotor current monitoring module respectively. The control module can respectively obtain power supply voltage, driving voltage and locked rotor current through 3 AD channels. Wherein, 2 general IO all are connected to valve drive module for control valve drive circuit. And the 1 PWM is connected with the voltage regulation module and used for controlling the voltage regulation module to regulate the voltage to a target voltage value.
The clock module is used for realizing a timing function and accumulating the service life of the gas meter. The control module can calculate the aging degree of the rubber according to the service life, and further determine the driving voltage value required by the motor.
The voltage adjusting module is used for adjusting the driving voltage of the valve according to the PWM signal of the MCU, and the valve closing reliability is improved.
The locked-rotor current monitoring module judges whether the valve driving operation is executed in place or not by monitoring the locked-rotor current of the valve driving module when the driving motor executes the valve driving operation, so that the real-time adjustment of the locked-rotor time is realized.
The power supply voltage monitoring module and the driving voltage monitoring module can input the actual driving voltage value of the valve driving module through the voltage value of the monitoring power supply input MCU and the actual driving voltage value of the voltage adjusting module input valve driving module, voltage monitoring of the valve controller is achieved, and robustness of valve control is enhanced.
Fig. 3 is a schematic structural diagram of a valve controller according to an embodiment of the present application, and based on the structure of the valve controller assembly shown in fig. 2, as shown in fig. 3, the valve controller 10 of the present embodiment may include: a control module 11, a voltage regulation module 12 and a valve driving module 13.
The control module 11 outputs a pulse signal to the voltage regulating module 12 through a PWM port on the MCU, and the pulse signal is used to control the voltage regulating module 12 to output the driving voltage. The control module 11 outputs a control signal to the valve driving module through two I/O ports on the MCU, where the control signal is used to control the valve driving module to perform a driving operation or to end the driving operation.
The control module 11 should avoid using expensive chips such as an Analog-to-Digital Converter (DAC) and a Digital potentiometer.
Wherein, the MCU circuit diagram may be as shown in fig. 4. The control function in the MCU is mainly realized by a chip U1 in the MCU circuit. The chip comprises at least 3 AD channels, 1 PWM channel and 2 general I/O channels. Meanwhile, the chip U1 is also connected with a passive crystal oscillator with high precision and low temperature drift. The passive crystal oscillator is used for providing a time reference for the RTC module in the MCU.
The voltage regulating module 12 is configured to obtain a PWM pulse signal output by the MCU. The voltage regulating module 12 adjusts the voltage input by the power supply to a target voltage according to the pulse signal. The target voltage is determined according to the pulse signal and is the driving voltage of the valve driving module 13. The voltage regulation module 12 outputs the driving voltage to the valve driving module 13, so as to realize the driving of the motor.
The specific steps of the voltage adjusting module 12 adjusting the voltage input by the power supply to the target voltage according to the pulse signal may include:
step 1, the voltage regulating module 12 may determine that the power supply voltage needs to be boosted or stepped down by using the power supply voltage and the preset driving voltage. For example, when the power supply voltage is 3.6V and the preset driving voltage is 4.6V, the voltage adjustment module 12 determines that the power supply voltage needs to be boosted. Or, when the power supply voltage is 9V and the preset driving voltage is 4.6V, the voltage regulating module 12 determines that the power supply voltage needs to be stepped down.
And step 2, the voltage regulating module 12 determines the width of the positive pulse and the width of the negative pulse according to the pulse signal. Further, the voltage regulation module 12 may determine the duty cycle based on the width of the positive pulse and the width of the negative pulse.
And step 3, the voltage regulating module 12 determines the boosting or the dropping condition of the power supply voltage according to the power supply voltage, the preset driving voltage and the duty ratio. For example, when the duty ratio is 100%, the voltage regulation module 12 may determine that the power supply voltage of 3.6V needs to be increased to the upper boost limit of 4.6V according to the duty ratio.
The voltage regulating circuit diagram of the voltage regulating module 12 can be shown in fig. 5. As shown, the core of the voltage regulation module 12 is a DC/DC chip. And the FB pin of the DC/DC chip is used for acquiring an input signal of the MCU-PWM. The MCU-PWM is connected with a PWM channel of the MCU and used for acquiring pulse signals output by the PWM channel. The DC/DC chip adjusts the voltage by acquiring the duty ratio of the pulse signal.
Wherein, VIN in the voltage regulating circuit is connected to the power supply module 18 for obtaining the power voltage. The VM in the voltage regulating circuit is connected to the valve driving module 13, and is configured to output an adjusted power voltage, i.e., a driving voltage, to the valve driving module 13. The voltage regulating circuit further includes a fuse F1. The voltage regulating circuit prevents the valve from being burnt out due to the over-current condition when the circuit is abnormal through the fuse.
The voltage regulating circuit also comprises an MCU-CTL, and the MCU-CTL is used for acquiring a control signal of the voltage regulating circuit. The voltage regulating module 12 controls the switches Q1 and Q2 according to the control signal, and further controls the whole voltage regulating circuit, so as to reduce the power consumption of the voltage regulating circuit.
The valve driving module 13 is configured to obtain the driving voltage output by the voltage regulating module 12, and perform a valve driving operation using the driving voltage, where the valve driving operation includes driving a valve to open and driving a valve to close.
The valve driving circuit of the valve driving module 13 can be as shown in fig. 6. The core part of the valve driving circuit is a valve driving chip. The IN1 pin and the IN2 pin of the valve driving chip are used for acquiring signals of two I/O channels of the MCU, and controlling the valve driving circuit to perform a driving operation or end the driving operation. The VM pin of the valve driver chip is used to obtain the driving voltage of the voltage regulating module 12. The Vcc pin of the valve driver chip is used to obtain the supply voltage of the power module 18, which is used to power the valve driver chip. The VM pin and the Vcc pin are electrically isolated by respectively acquiring driving voltage and power voltage, and the safety of the valve driving circuit is improved. The OUT1 and OUT2 pins of the valve driving chip are used for outputting signals of FA + and FA-, and the signals are used for controlling the opening or closing of the valve. The motor performs a valve-opening operation when a signal flows from FA + to FA + in the OUT1 and OUT2 pins, and performs a valve-closing operation when a signal flows from FA + to FA +.
In the valve controller 10 provided by the present application, the control module 11 outputs a pulse signal to the voltage regulating module 12 through the PWM port on the MCU, and the pulse signal is used to control the voltage regulating module 12 to output the driving voltage. The voltage regulation module 12 obtains the PWM pulse signal output by the MCU. The voltage regulating module 12 adjusts the voltage input by the power supply to a target voltage according to the pulse signal. The target voltage is determined according to the pulse signal and is the driving voltage of the valve driving module 13. The voltage regulation module 12 outputs the driving voltage to the valve driving module 13, so as to realize the driving of the motor. The valve driving module 13 obtains the driving voltage output by the voltage adjusting module 12 and performs a valve driving operation using the driving voltage, the valve driving operation including driving a valve to open and driving a valve to close. In this application, through the driving voltage of voltage regulation module 12 adjustment valve drive module 13, make valve drive module 13 can be according to the actual conditions adjustment driving voltage of valve, make the drive valve that valve drive module 13 can be better realize the valve drive operation to improve the reliability of valve, avoid the problem that gas leakage appears in the valve under the ageing condition of rubber spare.
Fig. 7 shows a schematic structural diagram of another valve controller provided in an embodiment of the present application, and based on the valve controller 10 shown in fig. 2 to 6, as shown in fig. 7, the valve controller 10 of this embodiment may further include: the device comprises a clock module 14, a locked-rotor current monitoring module 15, a power supply voltage monitoring module 16, a driving voltage monitoring module 17 and a power supply module 18.
The clock module 14 is installed in the MCU and used for counting the service life of the valve. As shown in fig. 4, the clock module 14 realizes a timing function through a passive crystal oscillator in the MCU circuit.
The control module 11 in the MCU may determine the driving voltage value required by the valve driving module 13 to perform the valve driving operation according to the service time of the valve determined by the clock module 14. The control module 11 determines the output pulse signal according to the driving voltage value. The control module 11 may include a preset mapping table, where the mapping table includes a mapping relationship between a valve service time and a pulse signal. The mapping table can be determined by counting the aging degree and the service life of the rubber ring. The control module 11 in the MCU outputs a control signal to the valve driving module through two I/O ports on the MCU, where the control signal is used to control the valve driving module to execute a driving operation or to end the driving operation.
The locked-rotor current monitoring module 15 is configured to monitor a current value of the valve driving module 13 when performing a valve driving operation. The locked rotor current monitoring module 15 transmits the locked rotor current value to the MCU.
When the valve completes the valve driving operation, the valve is fully opened or fully closed. At this point, if the valve drive module 13 continues to apply voltage to the motor, the motor will still rotate. However, in this process, since the valve is already fully opened or fully closed, the valve is difficult to drive, and the current value becomes large while the electric drive pressure is kept unchanged.
Based on the characteristic of the valve, a first preset value is determined. When the MCU determines that the locked-rotor current value is larger than the first preset value, the MCU determines that the valve has finished the valve driving operation. When the current value is less than the first preset value, the MCU determines that the valve does not complete the valve driving operation. The first preset value is a larger current value. The specific value of the first preset value may be determined empirically.
Therefore, after the locked-rotor current monitoring module 15 sends the locked-rotor current value to the MCU, the MCU can determine whether the valve driving operation is completed according to the first preset value and the locked-rotor current value. That is, the MCU may determine a stop signal of the valve driving operation according to the locked-rotor current value. Meanwhile, by using the locked-rotor current monitoring module 15, the driving time of the valve driving module 13 can be dynamically controlled, the problem that the valve is not completely closed due to insufficient driving time is avoided, or the problem that the energy consumption is increased and the service life of the valve is shortened due to too long driving time is avoided.
The locked-rotor current monitoring circuit can be as shown in fig. 5, and an output port of the locked-rotor current monitoring module 15 is MCU-VAL-AD. The locked-rotor current monitoring module 15 is connected with the MCU through the MCU-VAL-AD interface, and is configured to send the monitored locked-rotor current value to the MCU. The locked-rotor current value is the real-time current of the R3 resistor in the valve driving circuit. The locked-rotor current monitoring module 15 monitors a locked-rotor current value in the valve driving circuit and sends the locked-rotor current value to the MCU.
The power voltage monitoring module 16 is configured to monitor a power voltage value of the power supply module 18, determine whether the power voltage value reaches a preset value, and turn on the control module 11 when the power voltage value is greater than the preset value. Specifically, when the input voltage is smaller than the preset value, the power supply voltage monitoring module 16 starts the valve limiting function, and the power supply voltage monitoring module 16 sends an off or sleep instruction to the control module 11, so that the control module 11 does not execute the valve driving operation. When the input voltage is greater than the preset value, the power supply voltage monitoring module 16 sends an opening instruction to instruct the control module 11 to perform a valve driving operation.
For example, when the preset minimum input voltage of the power supply voltage monitoring module 16 is 3.3V, if the power supply voltage is 3.6V, the power supply voltage monitoring module 16 sends an open instruction to instruct the control module 11 to perform the valve driving operation. If the power voltage is less than 3.3V, the power voltage monitoring module 16 determines that the input voltage is insufficient, and opens the valve limiting function, and the power voltage monitoring module 16 sends an off or sleep instruction to the control module 11, so that the control module 11 does not execute the valve driving operation.
The voltage monitoring circuit of the power supply voltage monitoring module 16 can be as shown in fig. 8. The voltage matching is realized through the resistor R1 and the resistor R2 in the voltage monitoring circuit, and if the voltage matching is successful, a starting instruction is sent to the MCU through the MCU-AD port. Vin is used for obtaining a power supply voltage. Wherein, the MCU-AD-CTL is used for acquiring the control signal. The control signal is used for controlling the N tube Q2 and the P tube Q1, and the voltage monitoring circuit is controlled.
The driving voltage monitoring module 17 is configured to monitor an actual driving voltage value adjusted by the voltage adjusting module 12, send the actual driving voltage value to the control module 11, and the control module 11 adjusts the pulse signal according to the actual driving voltage value and the driving voltage value. The voltage monitoring circuit of the driving voltage monitoring module 17 is shown in fig. 8.
The power supply module 18 is used for supplying power to the control module 11 and the voltage regulation module 12.
In the valve controller 10 provided by the present application, the clock module 14 is installed in the MCU and used for counting the service life of the valve. The control module 11 in the MCU may determine the driving voltage value required by the valve driving module 13 to perform the valve driving operation according to the service time of the valve determined by the clock module 14. The locked-rotor current monitoring module 15 monitors the current value of the valve driving module 13 when performing the valve driving operation, and transmits the locked-rotor current to the MCU. The MCU may determine whether the valve driving operation is completed according to the first preset value and the locked rotor current value, thereby determining a stop signal of the valve driving operation. The power supply voltage monitoring module 16 monitors whether the power supply voltage reaches a preset value. The driving voltage monitoring module 17 monitors the actual driving voltage value adjusted by the voltage adjusting module 12. In this application, through using this locked-rotor current monitoring module 15, it is long when this valve drive module 13's of dynamic control drive, avoid the drive time not enough to lead to the valve not to seal completely, perhaps avoid appearing the drive time and lead to the problem that the energy consumption increases and valve life shortens for a long time.
In the present application, the MCU is used as an execution main body to execute the valve control method of the following embodiments. Specifically, the MCU may include a microelectronic control chip therein. The MCU may include the control module 11 shown in the above embodiments.
Fig. 9 is a flowchart illustrating a valve control method according to an embodiment of the present application. As shown in fig. 9, applied to the MCU, the method of this embodiment may include the following steps:
s101, obtaining the service life of the valve.
In this embodiment, the MCU obtains the service life of the valve from the clock module.
And S102, determining a driving voltage value required by the valve driving module to execute valve driving operation according to the service life.
In this embodiment, the MCU stores a preset mapping table or a preset calculation formula. The preset mapping table or the preset calculation formula is used for determining a driving voltage value required by the valve driving module to execute the valve driving operation under the current service life. The preset mapping table or the preset calculation formula may be determined empirically. The administrator can determine the preset mapping table or the preset calculation formula by adopting and counting the relationship between the service life of the valve, the aging degree of the valve rubber piece and the driving voltage value.
And the MCU calculates a driving voltage value required by the valve driving module to execute the valve driving operation under the current service life according to the preset mapping table or the preset calculation formula.
And S103, determining the output pulse signal according to the driving voltage value.
In this embodiment, the MCU converts the voltage value into a pulse signal in a preset conversion manner according to the driving voltage value required by the valve driving module to perform the valve driving operation.
When the power supply voltage is variable, the MCU can also determine the proportion of the power supply voltage needing to be boosted or reduced according to the power supply voltage value and the driving voltage value of the power supply voltage. And the MCU determines the duty ratio of the pulse signal according to the proportion of the power supply voltage needing to be boosted or reduced. The MCU determines the pulse signal according to the duty ratio.
The voltage adjusting module adjusts the driving voltage according to the pulse signal. And the valve driving module executes valve closing operation by using the driving voltage adjusted by the voltage adjusting module.
In the valve control method provided by the application, the MCU acquires the service life of the valve from the clock module. The MCU stores a preset mapping table or a preset calculation formula. And the MCU calculates a driving voltage value required by the valve driving module to execute the valve driving operation under the current service life according to the preset mapping table or the preset calculation formula. The MCU converts the voltage value into a pulse signal in a preset conversion mode according to the driving voltage value required by the valve driving module when the valve driving module executes the valve driving operation. In this application, through the ageing condition of acquireing the rubber spare, confirm the driving voltage value that valve drive module needs when carrying out valve drive operation, make the valve can use bigger driving voltage to carry out valve drive operation when the rubber spare is ageing to realize the effect that improves the reliability of valve, avoid appearing the condition that valve drive operation carries out incompletely.
Fig. 10 is a flow chart illustrating another valve control method according to an embodiment of the present application. On the basis of the embodiment shown in fig. 9, as shown in fig. 10, when applied to the MCU, the method of this embodiment may include the following steps:
s201, obtaining the service life of the valve.
S202, determining a driving voltage value required by the valve driving module to execute valve driving operation according to the service life.
And S203, determining the output pulse signal according to the driving voltage value.
Steps S201 to S203 are similar to steps S101 to S103 in the embodiment of fig. 2, and are not described again in this embodiment.
And S204, acquiring an actual driving voltage value of the voltage regulation module.
In this embodiment, the MCU obtains the actual driving voltage value adjusted by the voltage adjusting module through the driving voltage monitoring module.
And S205, determining an adjustment value of the pulse signal according to the actual driving voltage value and the driving voltage value.
In this embodiment, the MCU determines the driving voltage value according to S202. The driving voltage value is determined by the MCU according to the service life of the valve. The MCU determines the actual driving voltage value according to S204. The actual driving voltage value is the power voltage adjusted by the voltage adjusting module, namely the actual driving voltage value.
In an optimal case, the actual driving voltage value should coincide with the driving voltage value. At this time, the MCU does not need to adjust the pulse signal.
When the actual driving voltage value is inconsistent with the driving voltage value, the MCU adjusts the pulse signal according to the difference between the actual driving voltage value and the driving voltage value. For example, when the actual driving voltage value is smaller than the driving voltage value, it means that the voltage regulation module does not boost the voltage by a large enough magnitude according to the pulse signal, and at this time, the duty ratio of the pulse signal should be increased appropriately. When the actual driving voltage value is larger than the driving voltage value, it is indicated that the voltage boosting amplitude of the voltage regulating module according to the pulse signal is too large, and at this time, the duty ratio of the pulse signal should be properly reduced.
And S206, adjusting the pulse signal according to the adjustment value.
In this embodiment, since the pulse signal corresponding to the actual driving voltage value acquired by the MCU has been transmitted, the adjustment has a certain hysteresis. In order to describe the time relationship more clearly, the first time is determined as the transmission time of the pulse signal corresponding to the actual driving voltage value, and the second time is determined as the transmission time of the current pulse signal.
After the MCU determines the adjustment value of the pulse signal according to the actual driving voltage value at the first moment and the driving voltage value at the second moment, the MCU adjusts the pulse signal at the second moment according to the adjustment value after determining the pulse signal at the second moment. And the MCU sends the adjusted pulse signal at the second moment to the voltage regulation module, so that the regulation accuracy of the voltage regulation module is improved.
And S207, acquiring a locked rotor current value when the valve driving module executes valve driving operation.
In this embodiment, the controller obtains the locked rotor current value when the valve driving module executes the valve driving operation through the locked rotor current monitoring module.
And S208, determining whether the valve completes valve driving operation according to the locked rotor current value, wherein the valve driving operation comprises driving the valve to open and driving the valve to close.
In this embodiment, the valve performing the valve actuation operation includes fully opening or fully closing the valve. If after the valve finishes the valve driving operation, the valve driving module continues to apply voltage to the motor, at the moment, although the motor still can rotate, the locked-rotor condition can occur, and the driving difficulty is increased. In this case, if the drive voltage is not changed, the current value becomes large.
Based on this characteristic of the valve, the administrator statistically determines the first preset value. When the locked-rotor current value is larger than the first preset value, the valve completes valve driving operation. When the locked-rotor current value is smaller than the first preset value, the valve does not complete the valve driving operation.
The MCU may determine whether the valve driving operation is performed to be completed after acquiring the locked-rotor current value by this characteristic.
And S209, stopping outputting the pulse signal when the valve completes the valve driving operation.
In this embodiment, when the MCU determines that the valve operation is completed, the MCU sends a stop signal to the valve driving operation.
In the valve control method provided by the application, the MCU acquires the service life of the valve from the clock module. The MCU stores a preset mapping table or a preset calculation formula. And the MCU calculates a driving voltage value required by the valve driving module to execute the valve driving operation under the current service life according to the preset mapping table or the preset calculation formula. The MCU converts the voltage value into a pulse signal in a preset conversion mode according to the driving voltage value required by the valve driving module when the valve driving module executes the valve driving operation. The MCU acquires the actual driving voltage value adjusted by the voltage adjusting module through the driving voltage monitoring module. When the actual driving voltage value is inconsistent with the driving voltage value, the MCU adjusts the pulse signal according to the difference between the actual driving voltage value and the driving voltage value. After the MCU determines the adjustment value of the pulse signal according to the actual driving voltage value at the first moment and the driving voltage value at the second moment, the MCU adjusts the pulse signal at the second moment according to the adjustment value after determining the pulse signal at the second moment. And the MCU sends the adjusted pulse signal at the second moment to the voltage regulation module, so that the regulation accuracy of the voltage regulation module is improved. The controller obtains a locked rotor current value when the valve driving module executes the valve driving operation through the locked rotor current monitoring module. And after the MCU acquires the locked rotor current value, determining whether the valve driving operation is finished or not. And when the MCU determines that the valve operation is finished, the MCU sends a stop signal to the valve driving operation. In this application, through obtaining the locked-rotor current value, realize the dynamic drive of this valve, it is long when adjusting the drive according to actual demand, avoid the not enough valve that leads to of actuation time not to seal completely, perhaps avoid appearing the actuation time and lead to the problem that the energy consumption increases and valve life shortens for a long time.
Fig. 11 shows a schematic structural diagram of a valve control apparatus according to an embodiment of the present application, and as shown in fig. 11, the valve control apparatus 20 of the present embodiment is used to implement the operation corresponding to the MCU in any one of the method embodiments, where the valve control apparatus 20 of the present embodiment includes:
an obtaining unit 21 is used for obtaining the service life of the valve.
A first determining unit 22 for determining a driving voltage value required for the valve driving unit to perform the valve driving operation according to the usage period.
And a second determining unit 23 for determining the output pulse signal according to the driving voltage value.
The valve control apparatus 10 provided in the embodiment of the present application can execute the above method embodiment, and specific implementation principles and technical effects thereof can be referred to the above method embodiment, which is not described herein again.
Fig. 12 is a schematic structural diagram of another valve control device according to an embodiment of the present application, and based on the embodiment shown in fig. 11, as shown in fig. 12, the valve control device 20 of this embodiment is used to implement the operation corresponding to the MCU in any of the above method embodiments, and the valve control device 10 of this embodiment further includes:
the obtaining unit 21 is further configured to obtain a locked rotor current value when the valve driving unit performs the valve driving operation.
And the judging unit 24 is used for judging whether the valve completes valve driving operation according to the locked rotor current value, wherein the valve driving operation comprises driving the valve to open and driving the valve to close. And when the valve completes the valve driving operation, stopping outputting the pulse signal.
The obtaining unit 21 is further configured to obtain an actual driving voltage value of the voltage adjusting unit.
A third determining unit 25, configured to determine an adjustment value of the pulse signal according to the actual driving voltage value and the driving voltage value.
And an adjusting unit 26 for adjusting the pulse signal according to the adjustment value.
The valve control apparatus 10 provided in the embodiment of the present application can execute the above method embodiment, and specific implementation principles and technical effects thereof can be referred to the above method embodiment, which is not described herein again.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same. Although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: it is also possible to modify the solutions described in the previous embodiments or to substitute some or all of them with equivalents. And the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A valve controller, comprising: the control module, the voltage regulation module and the valve driving module;
the control module is used for outputting a pulse signal to the voltage regulating module;
the voltage regulating module is used for regulating voltage into driving voltage according to the pulse signal and outputting the driving voltage to the valve driving module;
the valve driving module is used for obtaining the driving voltage output by the voltage regulating module and executing valve driving operation by using the driving voltage, and the valve driving operation comprises driving a valve to open and driving the valve to close.
2. The valve controller of claim 1, wherein the control module comprises: a clock module;
the clock module is used for counting the service life of the valve, the control module determines a driving voltage value required by the valve driving module when the valve driving module executes valve driving operation according to the service life of the valve, and the control module determines the output pulse signal according to the driving voltage value.
3. The valve controller of claim 1, further comprising: a locked rotor current monitoring module;
the locked-rotor current monitoring module is used for monitoring a locked-rotor current value when the valve driving module executes valve driving operation and sending the locked-rotor current value to the control module, and the control module determines whether the valve completes the valve driving operation according to the locked-rotor current value.
4. The valve controller of claim 1, further comprising: a power supply voltage monitoring module;
the power supply voltage monitoring module is used for monitoring a power supply voltage value of the power supply module, judging whether the power supply voltage value reaches a preset value or not, and starting the control module when the power supply voltage value is larger than the preset value.
5. The valve controller of claim 1, further comprising: a driving voltage monitoring module;
the driving voltage monitoring module is used for monitoring an actual driving voltage value adjusted by the voltage adjusting module, the driving voltage monitoring module sends the actual driving voltage value to the control module, and the control module adjusts the pulse signal according to the actual driving voltage value and the driving voltage value.
6. The valve controller according to any one of claims 1 to 5, further comprising: a power supply module;
the power supply module is used for supplying power to the control module, the voltage regulating module and the valve driving module.
7. A valve control method is applied to a control module, and the method comprises the following steps:
acquiring the service life of a valve;
determining a driving voltage value required by the valve driving module to execute valve driving operation according to the service life;
and determining the output pulse signal according to the driving voltage value.
8. The valve control method of claim 7, further comprising:
acquiring a locked rotor current value when a valve driving module executes valve driving operation;
determining whether the valve completes valve driving operation according to the locked rotor current value, wherein the valve driving operation comprises driving of a valve to open and driving of a valve to close;
and when the valve finishes the valve driving operation, stopping outputting the pulse signal.
9. The method of valve control of claim 8, comprising:
acquiring an actual driving voltage value of the voltage regulating module;
determining an adjustment value of the pulse signal according to the actual driving voltage value and the driving voltage value;
and adjusting the pulse signal according to the adjusting value.
10. A gas meter, comprising: the valve controller of any one of claims 1-6.
CN202011530753.5A 2020-12-22 2020-12-22 Valve controller, valve control method and gas meter Active CN112709855B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011530753.5A CN112709855B (en) 2020-12-22 2020-12-22 Valve controller, valve control method and gas meter

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011530753.5A CN112709855B (en) 2020-12-22 2020-12-22 Valve controller, valve control method and gas meter

Publications (2)

Publication Number Publication Date
CN112709855A true CN112709855A (en) 2021-04-27
CN112709855B CN112709855B (en) 2023-01-31

Family

ID=75545306

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011530753.5A Active CN112709855B (en) 2020-12-22 2020-12-22 Valve controller, valve control method and gas meter

Country Status (1)

Country Link
CN (1) CN112709855B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114033884A (en) * 2021-10-29 2022-02-11 重庆前卫表业有限公司 Intelligent gas meter valve driving circuit and valve control method
WO2023060558A1 (en) * 2021-10-15 2023-04-20 施镇乾 Valve torque control system and control method therefor

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01106764A (en) * 1987-10-20 1989-04-24 Akebono Brake Ind Co Ltd Control circuit for valve drive device
CN2746230Y (en) * 2004-10-18 2005-12-14 沈安邦 Special valve for IC card intelligent water meter, telemetering valve controlled water meter
GB0609314D0 (en) * 2006-05-11 2006-06-21 Turpin Mark Valve controller
CN203287992U (en) * 2013-06-09 2013-11-13 深圳市常工电子计算机有限公司 Wireless communication IC card water meter with built-in battery
CN204116946U (en) * 2014-09-24 2015-01-21 济南蓝信电子设备有限公司 Valve control module ageing test apparatus
CN106637277A (en) * 2016-08-29 2017-05-10 江苏师范大学 Photocatalysis application equipment and photocatalyst application equipment comprising electromagnetic valve driving module
CN107289188A (en) * 2017-07-17 2017-10-24 金卡智能集团股份有限公司 Meter valve state detection method and system based on fusion of multi-sensor information
CN107806527A (en) * 2017-10-31 2018-03-16 新智数字科技有限公司 A kind of intelligent valve
CN108869835A (en) * 2018-06-11 2018-11-23 金卡智能集团股份有限公司 The open and close control method and switching control system of gauge table step motor control valve
CN108934095A (en) * 2017-05-22 2018-12-04 佛山市顺德区美的电热电器制造有限公司 Electromagnetic heating system, IGBT drive control circuit and its fault detection method
CN109951908A (en) * 2017-12-21 2019-06-28 佛山市顺德区美的电热电器制造有限公司 The drive control circuit and drive control method of electromagnetic heating system and its IGBT
CN210570872U (en) * 2019-01-21 2020-05-19 廊坊新奥燃气设备有限公司 Gas meter with power-on self-checking function
CN112096513A (en) * 2020-09-02 2020-12-18 中国第一汽车股份有限公司 Electric waste gas bypass valve control method and device, vehicle and storage medium

Patent Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH01106764A (en) * 1987-10-20 1989-04-24 Akebono Brake Ind Co Ltd Control circuit for valve drive device
CN2746230Y (en) * 2004-10-18 2005-12-14 沈安邦 Special valve for IC card intelligent water meter, telemetering valve controlled water meter
GB0609314D0 (en) * 2006-05-11 2006-06-21 Turpin Mark Valve controller
CN203287992U (en) * 2013-06-09 2013-11-13 深圳市常工电子计算机有限公司 Wireless communication IC card water meter with built-in battery
CN204116946U (en) * 2014-09-24 2015-01-21 济南蓝信电子设备有限公司 Valve control module ageing test apparatus
CN106637277A (en) * 2016-08-29 2017-05-10 江苏师范大学 Photocatalysis application equipment and photocatalyst application equipment comprising electromagnetic valve driving module
CN108934095A (en) * 2017-05-22 2018-12-04 佛山市顺德区美的电热电器制造有限公司 Electromagnetic heating system, IGBT drive control circuit and its fault detection method
CN107289188A (en) * 2017-07-17 2017-10-24 金卡智能集团股份有限公司 Meter valve state detection method and system based on fusion of multi-sensor information
CN107806527A (en) * 2017-10-31 2018-03-16 新智数字科技有限公司 A kind of intelligent valve
CN109951908A (en) * 2017-12-21 2019-06-28 佛山市顺德区美的电热电器制造有限公司 The drive control circuit and drive control method of electromagnetic heating system and its IGBT
CN108869835A (en) * 2018-06-11 2018-11-23 金卡智能集团股份有限公司 The open and close control method and switching control system of gauge table step motor control valve
CN210570872U (en) * 2019-01-21 2020-05-19 廊坊新奥燃气设备有限公司 Gas meter with power-on self-checking function
CN112096513A (en) * 2020-09-02 2020-12-18 中国第一汽车股份有限公司 Electric waste gas bypass valve control method and device, vehicle and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023060558A1 (en) * 2021-10-15 2023-04-20 施镇乾 Valve torque control system and control method therefor
CN114033884A (en) * 2021-10-29 2022-02-11 重庆前卫表业有限公司 Intelligent gas meter valve driving circuit and valve control method

Also Published As

Publication number Publication date
CN112709855B (en) 2023-01-31

Similar Documents

Publication Publication Date Title
CN112709855B (en) Valve controller, valve control method and gas meter
CN107612303B (en) System and method for controlling current in a switching regulator
JP2012501156A (en) Switching power supply with self-optimizing efficiency
CN101610033B (en) Dc-dc converter
CN103152906B (en) LED driving equipments
CN105992440A (en) Control circuit and method of LED driver
WO2014114008A1 (en) Current regulation device and regulation method thereof
WO2006016516A1 (en) Power supply
TW200904247A (en) Led drive circuit
US20170156199A1 (en) Pulse width modulation control of gas flow for plasma cutting and marking
WO2017199900A1 (en) Voltage converting device
TWI403874B (en) Current control systems and methods with current feedbacks
US8111013B2 (en) Method and firmware for controlling voltage and current in a fluorescent lamp array
CN206419194U (en) Drive system
WO2013013430A1 (en) Led dimming method and led dimming system
TW201622323A (en) Electronic apparatus and control method of electronic apparatus
CN102761259B (en) Voltage regulator and system and method for controlling turn-on time in fixed-frequency manner
JP4291245B2 (en) Electric actuator drive control circuit
KR20090121378A (en) Controlled power supply and method for pulse load
US11773835B2 (en) Fluid control device and sphygmomanometer
WO2018075687A1 (en) Power supply with low to high power transition mode
CN105119468B (en) The control circuit and its method of power converter
GB2440559A (en) Voltage source inverter output voltage error compensation
US10804817B2 (en) PWM control for electromagnetic valves
CN102480234B (en) Power converter with a controlled current source and connected in single-phase mode

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20221222

Address after: 325600 291 weft seventeen Road, Yueqing Economic Development Zone, Wenzhou, Zhejiang

Applicant after: Goldcard Smart Group Co.,Ltd.

Applicant after: Tancy Instrument Group Co.,Ltd.

Address before: 325600 291 weft seventeen Road, Yueqing Economic Development Zone, Wenzhou, Zhejiang

Applicant before: Goldcard Smart Group Co.,Ltd.

GR01 Patent grant
GR01 Patent grant