CN113218462A - Method for realizing low power consumption of ultrasonic water meter key based on photosensitive element - Google Patents
Method for realizing low power consumption of ultrasonic water meter key based on photosensitive element Download PDFInfo
- Publication number
- CN113218462A CN113218462A CN202110354947.2A CN202110354947A CN113218462A CN 113218462 A CN113218462 A CN 113218462A CN 202110354947 A CN202110354947 A CN 202110354947A CN 113218462 A CN113218462 A CN 113218462A
- Authority
- CN
- China
- Prior art keywords
- power consumption
- photosensitive element
- water meter
- low power
- ultrasonic
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Images
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F1/00—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow
- G01F1/66—Measuring the volume flow or mass flow of fluid or fluent solid material wherein the fluid passes through a meter in a continuous flow by measuring frequency, phase shift or propagation time of electromagnetic or other waves, e.g. using ultrasonic flowmeters
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01F—MEASURING VOLUME, VOLUME FLOW, MASS FLOW OR LIQUID LEVEL; METERING BY VOLUME
- G01F15/00—Details 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
Landscapes
- Physics & Mathematics (AREA)
- Fluid Mechanics (AREA)
- General Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Measuring Volume Flow (AREA)
Abstract
The invention relates to a method for realizing low power consumption of a button of an ultrasonic water meter based on a photosensitive element, which comprises the following steps: s1, an AD module of hardware inside the single chip microcomputer is used for carrying out AD sampling on the level state of the single chip microcomputer, and then whether an object is close to or far away is judged by combining the sampled data, so that the purpose of pressing or releasing a key is achieved; s2, connecting the VDD to the control port of the single chip microcomputer, combining the low power consumption method, reasonably making the power consumption of the photosensitive element to be the last when the photosensitive element has the key function, and ensuring the long service life.
Description
Technical Field
The invention relates to the technical field of electronic components, in particular to a method for realizing low power consumption of keys of an ultrasonic water meter based on a photosensitive element.
Background
The ultrasonic water meter is a novel water meter which further calculates the flow of the outlet water by detecting the time difference generated by the change of the speed when the ultrasonic sound beam propagates in the downstream and the upstream in the water and analyzing and processing the flow to obtain the flow rate of the outlet water.
The ultrasonic water meter is usually provided with a key, the traditional mechanical key is simple in structure, but is easy to wear and tear, and low in service life, and the waterproof performance is poor due to the structure, so that the waterproof use requirement of IP68 cannot be met. Meanwhile, the capacitance type touch key technology has the advantages of simple circuit, convenience in operation, sensitivity and accuracy, the touch input mode adopts a non-contact key technology, the service life of the touch key technology is far longer than that of a mechanical key, the reliability of the touch key technology is not reduced along with the time extension, and the defects of the mechanical key technology are well overcome.
The above prior art solutions have the following drawbacks: however, after the capacitive touch key is turned on, the power port can be automatically switched on, if the key cannot be turned off in time due to carelessness of a worker, the power supply can continuously supply power to the photosensitive key, the power consumption of the whole ultrasonic water meter is improved, and the service life of the ultrasonic water meter is shortened.
Disclosure of Invention
Aiming at the defects in the prior art, the invention aims to provide a method for realizing low power consumption of a button of an ultrasonic water meter based on a photosensitive element, which can reduce the power consumption of the button of the ultrasonic water meter and ensure long-term service life.
The above object of the present invention is achieved by the following technical solutions:
a method for realizing low power consumption of a button of an ultrasonic water meter based on a photosensitive element comprises the following steps:
s1, an AD module of hardware inside the single chip microcomputer is used for carrying out AD sampling on the level state of the single chip microcomputer, and then whether an object is close to or far away is judged by combining the sampled data, so that the purpose of pressing or releasing a key is achieved;
s2, connecting the VDD to the control port of the single chip microcomputer, combining the low power consumption method, reasonably making the power consumption of the photosensitive element to be the last when the photosensitive element has the key function, and ensuring the long service life.
The present invention in a preferred example may be further configured to: in step S2, the method for reducing power consumption is: opening a power port of the photosensitive key at regular time, then delaying by a timer for waiting for stabilization time, and carrying out AD sampling;
and then the power supply port is closed, the combined application of short-time pressing and long-time pressing is achieved by combining subsequent multiple measurements, and if the power supply port is judged to be in one state for a long time, the frequency can be intelligently reduced, so that the application of long-time low power consumption is realized.
The present invention in a preferred example may be further configured to: the single chip microcomputer is connected with a power supply module, a key module, a liquid crystal display module and a flow measurement module;
entire system passes through power module's lithium cell power supply, flow measurement module with the data transmission who gathers extremely the singlechip is handled, then passes through the data that will handle the output of liquid crystal display module, the user can pass through the button module is operated, and the data of ultrasonic water meter can pass through Modbus agreement and host computer communication.
The present invention in a preferred example may be further configured to: the flow measurement module comprises an ultrasonic transducer, an ultrasonic receiving and transmitting controller and a timing chip, wherein the timing chip is respectively connected with the single chip microcomputer and the ultrasonic receiving and transmitting controller, and the ultrasonic transducer is connected with the ultrasonic receiving and transmitting controller.
The present invention in a preferred example may be further configured to: the single chip microcomputer is configured as an R7F0C004M2DFB single chip microcomputer.
In summary, the invention includes at least one of the following beneficial technical effects:
1. the method comprises the steps of utilizing an AD module of hardware in a singlechip to carry out AD sampling on the level state of the singlechip, and then judging whether an object is close to or far away by combining sampled data so as to achieve the purpose of pressing or releasing a key
2. The VDD is connected to a control port of the single chip microcomputer through a low power consumption method, the power consumption of the photosensitive element is minimized when the photosensitive element has a key function, and the long service life can be guaranteed.
Drawings
Fig. 1 is a circuit diagram showing an ultrasonic water meter according to the present invention.
Fig. 2 is a block diagram showing the structure of the ultrasonic water meter according to the present invention.
Fig. 3 is a schematic diagram of time-difference ultrasonic flow measurement.
Reference numerals: 1. a single chip microcomputer; 2. a power supply module; 3. a key module; 4. a liquid crystal display module; 51. an ultrasonic transducer; 52. an ultrasonic wave transceiver controller; 53. and a timing chip.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings.
Referring to fig. 1, the method for realizing low power consumption at the ultrasonic water meter key based on the photosensitive element disclosed by the invention comprises the following steps:
s1, an internal hardware AD module of the singlechip 1 is utilized to carry out AD sampling on the level state of the singlechip, and then the judgment of whether an object is close to or far away is carried out by combining the sampled data so as to achieve the purpose of pressing or releasing the key;
s2, connecting the VDD to the control port of the single chip microcomputer 1, combining the low power consumption method, reasonably making the power consumption of the photosensitive element last when the photosensitive element has the key function, and ensuring the long service life.
In step S2, the method of reducing power consumption is: and opening a power supply port of the photosensitive key at regular time, and then delaying by a timer for waiting for stabilization time to carry out AD sampling. And then the power supply port is closed, the combined application of short-time pressing and long-time pressing is achieved by combining subsequent multiple measurements, and if the power supply port is judged to be in one state for a long time, the frequency can be intelligently reduced, so that the application of long-time low power consumption is realized.
Referring to fig. 2, the single chip microcomputer 1 is connected with a power module 2, a key module 3, a liquid crystal display module 4 and a flow measurement module. Entire system passes through power module 2's lithium cell power supply, and flow measurement module handles data transmission to singlechip 1 with gathering, then passes through liquid crystal display module 4 output with the data that handle, and the user can operate through button module 3, and ultrasonic water meter's data can be through Modbus agreement and host computer communication.
Referring to fig. 2, the flow rate measurement module includes an ultrasonic transducer 51, an ultrasonic transceiver controller 52, and a timing chip 53, where the timing chip 53 is connected to the single chip microcomputer 1 and the ultrasonic transceiver controller 52, respectively, and the ultrasonic transducer 51 is connected to the ultrasonic transceiver controller 52. In this embodiment, the single chip microcomputer 1 is configured as an R7F0C004M2DFB single chip microcomputer, and the timing chip 53 is configured as a TCP-GP22 chip.
Referring to fig. 3, the flow measurement section of the ultrasonic water meter uses a pair of narrow-band ultrasonic transducers to transmit and receive ultrasonic waves, that is, one ultrasonic transducer transmits ultrasonic waves and the other ultrasonic transducer receives ultrasonic waves. The ultrasonic water meter pipeline adopts a Z-shaped pipeline.
Wherein, the propagation distance of the ultrasonic wave between the two metal columns is L, the diameter of the pipeline is D, the sound velocity of the ultrasonic wave in the fluid in the pipe is C, the included angle between the pipeline and the propagation direction is e, and assuming that the linear flow velocity of the fluid in the pipeline is v, the two upstream and downstream ultrasonic transducers 51 respectively send and receive ultrasonic signals in turn.
The key point of flow measurement is the measurement of forward flow time and reverse flow time, and the intelligent ultrasonic water meter in the embodiment adopts a high-precision time measurement chip 53TCP-GP22 to measure forward flow time and reverse flow time. The method has the advantages that the variable sound speed C related to the temperature is eliminated, and the nonlinear correction can be carried out by multiplying the variable sound speed C by a coefficient k although certain nonlinearity exists, so that the influence caused by the nonlinearity is reduced.
The embodiments of the present invention are preferred embodiments of the present invention, and the scope of the present invention is not limited by these embodiments, so: all equivalent changes made according to the structure, shape and principle of the invention are covered by the protection scope of the invention.
Claims (5)
1. A method for realizing low power consumption of a button of an ultrasonic water meter based on a photosensitive element is characterized by comprising the following steps: the method comprises the following steps:
s1, an internal hardware AD module of the singlechip (1) is utilized to carry out AD sampling on the level state of the singlechip, and then the sampled data is combined to judge whether an object is close to or far away so as to achieve the purpose of pressing or releasing a key;
s2, connecting the VDD to the control port of the single chip microcomputer (1), combining the low power consumption method, reasonably making the power consumption of the photosensitive element to be the last when the photosensitive element has the key function, and ensuring the long service life.
2. The method for realizing low power consumption of the ultrasonic water meter key based on the photosensitive element according to claim 1, is characterized in that: in step S2, the method for reducing power consumption is: opening a power port of the photosensitive key at regular time, then delaying by a timer for waiting for stabilization time, and carrying out AD sampling;
and then the power supply port is closed, the combined application of short-time pressing and long-time pressing is achieved by combining subsequent multiple measurements, and if the power supply port is judged to be in one state for a long time, the frequency can be intelligently reduced, so that the application of long-time low power consumption is realized.
3. The method for realizing low power consumption of the ultrasonic water meter key based on the photosensitive element according to claim 1, is characterized in that: the single chip microcomputer (1) is connected with a power supply module (2), a key module (3), a liquid crystal display module (4) and a flow measurement module;
entire system passes through the lithium cell power supply of power module (2), flow measurement module with the data transmission who gathers extremely singlechip (1) is handled, then passes through the data of handling liquid crystal display module (4) output, the user can pass through button module (3) are operated, and ultrasonic water meter's data can pass through Modbus agreement and host computer communication.
4. The method for realizing low power consumption of the ultrasonic water meter key based on the photosensitive element as claimed in claim 3, is characterized in that: the flow measurement module comprises an ultrasonic transducer (51), an ultrasonic transceiving controller (52) and a timing chip (53), wherein the timing chip (53) is respectively connected with the single chip microcomputer (1) and the ultrasonic transceiving controller (52), and the ultrasonic transducer (51) is connected with the ultrasonic transceiving controller (52).
5. The method for realizing low power consumption of the ultrasonic water meter key based on the photosensitive element according to claim 1, is characterized in that: the single chip microcomputer (1) is configured to be an R7F0C004M2DFB single chip microcomputer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110354947.2A CN113218462A (en) | 2021-04-01 | 2021-04-01 | Method for realizing low power consumption of ultrasonic water meter key based on photosensitive element |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110354947.2A CN113218462A (en) | 2021-04-01 | 2021-04-01 | Method for realizing low power consumption of ultrasonic water meter key based on photosensitive element |
Publications (1)
Publication Number | Publication Date |
---|---|
CN113218462A true CN113218462A (en) | 2021-08-06 |
Family
ID=77086266
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110354947.2A Pending CN113218462A (en) | 2021-04-01 | 2021-04-01 | Method for realizing low power consumption of ultrasonic water meter key based on photosensitive element |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113218462A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115824331A (en) * | 2023-02-22 | 2023-03-21 | 青岛鼎信通讯科技有限公司 | Low-power consumption measuring method suitable for ultrasonic water meter |
-
2021
- 2021-04-01 CN CN202110354947.2A patent/CN113218462A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115824331A (en) * | 2023-02-22 | 2023-03-21 | 青岛鼎信通讯科技有限公司 | Low-power consumption measuring method suitable for ultrasonic water meter |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104697593A (en) | Ultrasonic gas flowmeter on basis of FPGA (field programmable gate array) and DSP (digital signal processor) | |
CN203069237U (en) | Wireless ultrasonic level gauge | |
US8590395B2 (en) | Flow meter with sensor element having a magnetic element coupled to an inductor element | |
CN105758478A (en) | Stainless-steel ultrasonic water meter | |
CN110646042A (en) | Cross-correlation interpolation method for calculating flight time difference of low-power-consumption ultrasonic flowmeter | |
CN113218462A (en) | Method for realizing low power consumption of ultrasonic water meter key based on photosensitive element | |
CN107024251A (en) | It is a kind of to be used to reduce the device and method of measuring ultrasonic wave flow power consumption | |
CN108955788A (en) | A kind of contactless time difference method high-precision ultrasonic gas flowmeter | |
CN103870872B (en) | Acoustic surface wave pressure sensing label for underground pipes | |
CN202916027U (en) | Supersonic wave calorimeter | |
CN116735072A (en) | Temperature flow measurement compensation method and system for ultrasonic measurement pipeline liquid pressure | |
CN104897219A (en) | High-accuracy low-power consumption ultrasonic flowmeter | |
CN201607257U (en) | Ultrasonic open-channel flow meter | |
Joshi | Ultrasonic flow meter using mode coupling transducers | |
CN201527287U (en) | Ultrasonic open channel flowmeter | |
CN105758477A (en) | Wireless valve control ultrasonic water meter | |
CN106643930B (en) | A kind of improved ultrasonic flowmeter | |
CN203732109U (en) | Cortex M3 core processor based air flow measuring circuit | |
CN102589626B (en) | High-resolution time measurement and processing device and measurement method thereof | |
JP3620522B2 (en) | Measuring device | |
CN104568036A (en) | High-precision low-power-consumption ultrasonic flowmeter | |
CN203595540U (en) | Control circuit for controlling receiving and transmitting state of receiving and transmitting integrated ultrasonic sensors | |
JP4266117B2 (en) | Ultrasonic flow meter | |
Fu et al. | Study for the method of automobile oil consumption measuring based on ultrasonic wave | |
KR20200113377A (en) | Method and System for measuring ultrasonic smart gas 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 |