CN113671874A - Intelligent water meter valve control method - Google Patents

Intelligent water meter valve control method Download PDF

Info

Publication number
CN113671874A
CN113671874A CN202110961890.2A CN202110961890A CN113671874A CN 113671874 A CN113671874 A CN 113671874A CN 202110961890 A CN202110961890 A CN 202110961890A CN 113671874 A CN113671874 A CN 113671874A
Authority
CN
China
Prior art keywords
valve
state
current
action
storing
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
CN202110961890.2A
Other languages
Chinese (zh)
Other versions
CN113671874B (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.)
Qingdao Topscomm Communication Co Ltd
Original Assignee
Qingdao Topscomm Communication 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 Qingdao Topscomm Communication Co Ltd filed Critical Qingdao Topscomm Communication Co Ltd
Priority to CN202110961890.2A priority Critical patent/CN113671874B/en
Publication of CN113671874A publication Critical patent/CN113671874A/en
Application granted granted Critical
Publication of CN113671874B publication Critical patent/CN113671874B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A20/00Water conservation; Efficient water supply; Efficient water use

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Measuring Volume Flow (AREA)
  • Indication Of The Valve Opening Or Closing Status (AREA)

Abstract

The invention relates to the field of intelligent water meters, and particularly discloses a valve control method for an intelligent water meter. The intelligent water meter can accurately predict the state of the valve when the control electric quantity is insufficient, solve the control problems of insufficient battery electric quantity and locked-rotor of the valve in the later period, ensure the safety of valve control under other abnormal conditions, and simultaneously reduce the power consumption of valve control, thereby reducing the overall power consumption of the intelligent water meter and prolonging the service life of the battery.

Description

Intelligent water meter valve control method
Technical Field
The invention relates to the field of instruments and meters, in particular to a control method for an intelligent water meter valve.
Background
An intelligent water meter is a water meter which is added with an electronic device on the basis of a mechanical water meter to realize remote meter reading and valve control, and a lithium thionyl chloride battery is usually adopted, so that when the battery is used in the early period, the voltage is basically kept unchanged, and when the voltage is reduced, the residual electric quantity of the battery cannot easily meet the function of larger power consumption of the intelligent water meter, such as valve control. At present, the mainstream method for predicting the electric quantity of the battery is to collect the voltage of the battery, however, for the lithium thionyl chloride battery, the voltage of the battery in a stable state is not changed, and the reference meaning for predicting the electric quantity of the battery by the method is not large. In another method, after the valve control is started, the voltage drop of the battery voltage is detected to judge the battery electric quantity, however, when the valve is started, the starting current is large, the voltage drop is also the largest, the duration is short, the voltage sampling is difficult to ensure that a correct point can be acquired, if the voltage when the valve is acting is taken as a reference, if the valve is driven by PWM modulation, the battery voltage has certain fluctuation, a large error also exists in the later period of the battery, and it is difficult to obtain real data.
In the actual operation process of the water meter, because the water quality is different and the valve use frequency is different, the situation that the valve rusts or blocks the commentaries on classics can exist, the current of valve action is gathered in the modes such as increasing sampling resistance in the valve accuse power supply circuit at present by commonly used method, however this kind of mode can reduce valve supply voltage, because the current of valve action is great, the consumption of this sampling circuit can not neglect yet. Some methods use dual power supplies to solve this problem, i.e. dual power supplies for the valve control and electronics, but this adds additional hardware cost.
Disclosure of Invention
Aiming at the defects and shortcomings of the prior art, the invention provides the valve control method of the intelligent water meter, which can solve the problems of insufficient battery power and valve control during rotation blockage in the later period of the intelligent water meter, reduce the battery consumption of valve control, ensure the safety of valve control during abnormal procedures, realize the safety control of the valve in the whole life cycle of the intelligent water meter and prolong the service life of the battery of the intelligent water meter.
In order to achieve the purpose, the invention provides an intelligent water meter valve control method, which specifically comprises the following steps:
s1: electrifying and reading a reset source, storing a valve state, a current valve state, storing a PWM parameter sequence and warning information;
s2: step S3 is entered when the stored valve status is open or closed, otherwise step S4 is entered;
s3: judging whether the reset source is low-voltage reset or not, if so, setting a valve control electricity shortage alarm, closing the low-voltage reset, executing a valve opening action process, and entering a step S5, otherwise, directly executing the valve opening action process, and entering a step S5;
s4: judging whether the current valve state is the same as the stored valve state, if so, finishing the initialization of the valve, and otherwise, storing the current valve state;
s5: waiting and executing the valve control command of the acquisition system: waiting and acquiring a current valve state, judging whether the current valve state is the same as the valve control command state or an abnormal warning exists, if so, replying an execution result, otherwise, replying the current valve state, executing a valve action flow corresponding to the valve control command, and replying the execution result;
further, the method for controlling the valve of the intelligent water meter is characterized in that the executing of the valve action process comprises the following steps:
s11: storing the action state to be executed by the valve;
s12: enabling a PWM output corresponding to the valve action;
s13: judging whether the valve action is overtime, if so, entering the step S14, otherwise, storing the current valve state and closing the PWM output;
s14: and judging whether the current PWM parameter is the maximum sequence parameter, if so, recording the abnormal warning of the valve, otherwise, storing and updating the next sequence PWM parameter, delaying for a certain time, and returning to the step S12 for repeated operation.
Further, the intelligent water meter valve control method is characterized in that the PWM parameter sequence is three groups of data obtained according to water meter valve motor characteristic parameters and actual tests, and the output power of the corresponding motor is increased along with the increase of the sequence.
The invention has the beneficial technical effects that: through the characteristics of rational utilization valve control current characteristic and singlechip to and the low-voltage threshold value that resets through actual test matching, each module execution order of rational arrangement intelligent water gauge when intelligent water gauge electric quantity is not enough, can handle the valve control abnormal conditions safely. According to the motor characteristics and the actual valve characteristics after the table is assembled, the current consumption of valve control can be effectively reduced through the preset PWM parameter sequence, under the normal condition, the parameters of a lower sequence are used, and when the locked rotor condition or resistance is increased, the parameters of a higher sequence are adopted to output larger power, so that the power consumption of valve control is integrally reduced. When a valve control command is received, the current state is replied firstly, the current state is informed to the acquisition system, the confirmation of the execution command is received, after the valve control command is executed, an execution completion event is reported, the valve execution result is informed to the acquisition system, the waiting for a long time is avoided, or the wireless meter is awakened again to obtain the execution result, and the battery consumption is also reduced. By the technical scheme, the control safety of the intelligent water meter valve can be effectively improved, and the control power consumption of the valve can be effectively reduced.
Drawings
Fig. 1 is a flow chart of a valve control method of the intelligent water meter valve control method of the invention.
Fig. 2 is a valve action flow chart of the intelligent water meter valve control method of the invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the present invention is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of the invention and do not limit the invention.
Examples are given.
As shown in fig. 1, a method for controlling a valve of an intelligent water meter includes the following steps:
s1: electrifying and reading a reset source, storing a valve state, a current valve state, storing a PWM parameter sequence and warning information;
s2: step S3 is entered when the stored valve status is open or closed, otherwise step S4 is entered; this state is the stored valve action prior to the valve action. If the valve is opened, the state of the valve is stored as being opened, and whether the action which is not executed is performed is judged firstly.
S3: judging whether the reset source is low-voltage reset or not, if so, setting a valve control electricity shortage alarm, closing the low-voltage reset, executing a valve opening action process, and entering a step S5, otherwise, directly executing the valve opening action process, and entering a step S5; if there is an unexecuted valve action and the reason for the system reset is a low voltage reset, and in conjunction with the communication flow, when the valve is executed, the communication task has ended, and only the valve action is consuming current, so it can be considered that the valve action causes a voltage drop, thereby triggering a low voltage reset. It is considered that the battery power at this time is not sufficient to drive the valve. Because the intelligent water meter has complete mechanical counting, in order to ensure normal water use of a user and prevent the phenomenon that the valve cannot be opened, after the program is reset, if the valve fails to be executed, the valve should be opened as far as possible. If the valve is reset due to failure in closing, the situation that the valve cannot be opened after being closed should be prevented, and the valve should be opened by a maintenance worker.
S4: judging whether the current valve state is the same as the stored valve state, if so, finishing the initialization of the valve, and otherwise, storing the current valve state; if the stored valve state does not correspond to the actual valve, a new valve state should be stored, which is mainly used for state initialization when the valve is newly installed.
S5: waiting and executing the valve control command of the acquisition system: waiting and acquiring the current valve state, judging whether the current valve state is the same as the valve control command state or an abnormal warning exists, if so, replying an execution result and informing a main station that the valve does not need to be opened or abnormal information is displayed, otherwise, replying the current valve state and executing a valve action flow corresponding to the valve control command, on one hand, informing an acquisition system that the command is received, on the other hand, informing the acquisition system of the current state, displaying that the valve is opened or closed, and replying the execution result after the execution is finished; the valve action duration is longer, and collection system need not to wait for always to reply, and intelligent water gauge end also need not to wait for always that the valve action execution finishes equally, only need after the valve action finishes report the valve execution result can, this kind of mode has avoided collection system secondary inquiry valve execution result, to wireless meter such as loRa water gauge, need not the secondary and awaken up, just so can save battery consumption, reach the reduction consumption purpose.
As shown in fig. 2, a method for controlling a valve of an intelligent water meter, wherein the executing of the valve action process includes the following steps:
s11: storing the action state to be executed by the valve; the system is used for recording the valve action to be executed and updating the state after the valve is executed. If a program error is encountered midway or the battery power is insufficient to cause resetting, the state of the valve before resetting can be known after resetting.
S12: enabling a PWM output corresponding to the valve action;
s13: judging whether the valve action is overtime, if so, entering the step S14, otherwise, storing the current valve state and closing the PWM output;
s14: and judging whether the current PWM parameter is the maximum sequence parameter, if so, recording the abnormal warning of the valve, otherwise, storing and updating the next sequence PWM parameter, delaying for a certain time, and returning to the step S12 for repeated operation. After a valve actuation is performed, the battery needs time to recover the electric quantity, and if the valve actuation is performed immediately, the discharge current may not reach the starting current of the valve, so that the valve actuation fails.
A PWM parameter sequence is three groups of data obtained according to characteristic parameters of a water meter valve motor and actual tests, and the output power of the corresponding motor is increased along with the increase of the sequence. And randomly extracting 100 tests to obtain the maximum PWM duty ratio, gradually reducing the duty ratio, stopping when the execution time is reduced, wherein the PWM parameter is the first sequence parameter, the middle value is the second sequence parameter, and the maximum PWM parameter is the maximum sequence parameter. According to the scheme, when the valve has no problem, the valve is driven by adopting lower battery consumption, the maximum output is only started when necessary, the problem of valve stalling is solved, and if the maximum power cannot enable the valve to act, a corresponding alarm is set to inform an acquisition system.
The MCU is connected with the valve through the valve control chip, an input pin of the valve control chip is connected with a pin with a PWM output function of the MCU, and an in-place pin of the valve is connected with a pin with an external interrupt function of the MCU. The reset voltage of the low-voltage reset is obtained by actually testing the battery-driven valves with different discharging degrees, professional equipment is used for counting the discharging electric quantity of the battery to obtain batteries with different discharging degrees, such as 70%, 80%, 90% and the like, the reset voltage of the batteries is tested by using the battery-driven valves, and therefore the low-voltage reset voltage corresponding to the valve control is determined.
The above-mentioned embodiments are illustrative of the specific embodiments of the present invention, and are not restrictive, and those skilled in the relevant art can make various changes and modifications to obtain corresponding equivalent technical solutions without departing from the spirit and scope of the present invention, so that all equivalent technical solutions should be included in the scope of the present invention.

Claims (3)

1. A valve control method for an intelligent water meter is characterized by comprising the following steps:
s1: electrifying and reading a reset source, storing a valve state, a current valve state, storing a PWM parameter sequence and warning information;
s2: step S3 is entered when the stored valve status is open or closed, otherwise step S4 is entered;
s3: judging whether the reset source is low-voltage reset or not, if so, setting a valve control electricity shortage alarm, closing the low-voltage reset, executing a valve opening action, and entering step S5, otherwise, directly executing the valve opening action, and entering step S5;
s4: judging whether the current valve state is the same as the stored valve state, if so, finishing the initialization of the valve, and otherwise, storing the current valve state;
s5: waiting and executing the valve control command of the acquisition system: waiting and acquiring the current valve state, judging whether the current valve state is the same as the valve control command state or an abnormal warning exists, if so, replying an execution result, otherwise, replying the current valve state, executing a valve action flow corresponding to the valve control command, and replying the execution result.
2. The method of claim 1, wherein the executing of the valve action process comprises the steps of:
s11: storing the action state to be executed by the valve;
s12: enabling a PWM output corresponding to the valve action;
s13: judging whether the valve action is overtime, if so, entering the step S14, otherwise, storing the current valve state and closing the PWM output;
s14: and judging whether the current PWM parameter is the maximum sequence parameter, if so, recording the abnormal warning of the valve, otherwise, storing and updating the next sequence PWM parameter, delaying for a certain time, and returning to the step S12 for repeated operation.
3. The method as claimed in claim 1, wherein the PWM parameter sequence is three sets of data obtained from the characteristic parameters of the water meter valve motor and actual tests, and the output power of the corresponding motor increases as the sequence increases.
CN202110961890.2A 2021-08-20 2021-08-20 Intelligent water meter valve control method Active CN113671874B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110961890.2A CN113671874B (en) 2021-08-20 2021-08-20 Intelligent water meter valve control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110961890.2A CN113671874B (en) 2021-08-20 2021-08-20 Intelligent water meter valve control method

Publications (2)

Publication Number Publication Date
CN113671874A true CN113671874A (en) 2021-11-19
CN113671874B CN113671874B (en) 2023-08-15

Family

ID=78544597

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110961890.2A Active CN113671874B (en) 2021-08-20 2021-08-20 Intelligent water meter valve control method

Country Status (1)

Country Link
CN (1) CN113671874B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1670489A (en) * 2005-04-11 2005-09-21 西安华丰投资发展有限公司 IC card intelligent gas meter
JP2006017514A (en) * 2004-06-30 2006-01-19 Ricoh Elemex Corp Gas meter
CN102663857A (en) * 2012-05-14 2012-09-12 北京工商大学 Non-contact IC card mechanical film type gas meter and control system thereof
CN102889421A (en) * 2012-10-18 2013-01-23 天津市金凤科技发展有限公司 Water meter valve detection circuit
CN103234070A (en) * 2013-05-13 2013-08-07 湖南工业大学 Tap water supply failure delayed self-closing valve device
CN205080659U (en) * 2015-10-30 2016-03-09 重庆通耐仪表科技有限公司 Intelligent water meter
CN105696649A (en) * 2016-03-30 2016-06-22 唐若权 Intelligent water supply system
CN106875577A (en) * 2015-12-12 2017-06-20 郑涛 A kind of intellectual water meter with leakage proof function
CN112332721A (en) * 2020-10-29 2021-02-05 珠海优特智厨科技有限公司 Control method, control device and control circuit of direct current motor

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006017514A (en) * 2004-06-30 2006-01-19 Ricoh Elemex Corp Gas meter
CN1670489A (en) * 2005-04-11 2005-09-21 西安华丰投资发展有限公司 IC card intelligent gas meter
CN102663857A (en) * 2012-05-14 2012-09-12 北京工商大学 Non-contact IC card mechanical film type gas meter and control system thereof
CN102889421A (en) * 2012-10-18 2013-01-23 天津市金凤科技发展有限公司 Water meter valve detection circuit
CN103234070A (en) * 2013-05-13 2013-08-07 湖南工业大学 Tap water supply failure delayed self-closing valve device
CN205080659U (en) * 2015-10-30 2016-03-09 重庆通耐仪表科技有限公司 Intelligent water meter
CN106875577A (en) * 2015-12-12 2017-06-20 郑涛 A kind of intellectual water meter with leakage proof function
CN105696649A (en) * 2016-03-30 2016-06-22 唐若权 Intelligent water supply system
CN112332721A (en) * 2020-10-29 2021-02-05 珠海优特智厨科技有限公司 Control method, control device and control circuit of direct current motor

Also Published As

Publication number Publication date
CN113671874B (en) 2023-08-15

Similar Documents

Publication Publication Date Title
CN106338690B (en) A kind of reserve battery detection method, device, system and method for supplying power to
CN116011993B (en) Storage battery health management system based on CPS architecture
CN103645732B (en) A kind of reliability test system of automobile remote-control key and method
CN106877442B (en) Battery management method
CN114444370B (en) Method and device for predicting accumulated loss life of rechargeable battery by considering operation conditions, electronic equipment and readable storage medium
EP2887085A1 (en) Method and apparatus for indicating a low battery level
CN112909367B (en) Storage battery activation nuclear capacity and repairing method
CN114750644A (en) Vehicle remote discharge control method, device and system
CN110391685B (en) Charging control method and device for intelligent door lock and intelligent door lock
CN110112794B (en) Battery monitoring method and device, elevator remote monitoring terminal, system and storage medium
CN116865447A (en) Distributed photovoltaic power generation control management method and system
CN113671874A (en) Intelligent water meter valve control method
CN111257000B (en) Intelligent engine starting endurance test control system and control method
CN111211596B (en) Method and device for monitoring power utilization state of charging cabinet
CN116973757A (en) Battery capacity calibration method based on battery calibrator and related equipment
CN114460484B (en) Rechargeable battery life prediction method and device based on accumulated wear quantity
CN111403830B (en) Lithium battery safety monitoring system
CN114361621A (en) Battery management module of storage battery, method and device thereof, and storage medium
CN114167781A (en) Early warning system and method for abnormal conditions of kitchen appliances
CN102207517B (en) Method for testing mean current of circuits by Farad capacitor
CN112147523B (en) Button cell allowance measuring method and measuring device
CN114301140A (en) POS-based battery charging management method
CN113733982B (en) Charging control method and device and working machine
CN216310219U (en) BMS test system
CN110556897B (en) Charging control method and device for intelligent door lock and intelligent door lock

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant