CN206056742U - A kind of test system for detecting water flow sensor parameter - Google Patents
A kind of test system for detecting water flow sensor parameter Download PDFInfo
- Publication number
- CN206056742U CN206056742U CN201621121657.4U CN201621121657U CN206056742U CN 206056742 U CN206056742 U CN 206056742U CN 201621121657 U CN201621121657 U CN 201621121657U CN 206056742 U CN206056742 U CN 206056742U
- Authority
- CN
- China
- Prior art keywords
- discharge
- water flow
- chip microcomputer
- flow sensor
- signal
- 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.)
- Expired - Fee Related
Links
Landscapes
- Measuring Volume Flow (AREA)
Abstract
A kind of test system for detecting water flow sensor parameter, this utility model is related to discharge sensing detection technical field, there is noise, shake in the detection output wave for solving prior art discharge, and can not detect the technical problems such as the low and high level and frequency of output wave.This utility model mainly includes power supply;The single-chip microcomputer that is powered by a power supply, touch key-press controller;Detection circuit, gathers flow information and exports water flow signal to single-chip microcomputer;Display screen, shows discharge by Micro Controller Unit (MCU) driving.This utility model is detected for discharge.
Description
Technical field
The present invention relates to discharge sensing detection technical field, and in particular to a kind of to be used to detect water flow sensor parameter
Test system.
Background technology
Single-chip microcomputer or cymometer are used when water flow sensor is detected, generally by inspection water flow sensor output in the country
Pulse number (frequency) being converted into discharge size.As water flow sensor circuit is damaged or structural deflection, may
Cause wave level abnormal or waveform disappearance, that is to say, that the waveform of water flow sensor output is abnormal.Use single-chip microcomputer
Or cymometer is commonplace practical method, but can not detect whether the waveform of water flow sensor output is normal.Therefore
The main purpose of the system is the output waveform for figuring out how to detect water flow sensor.
Domestic existing water flow sensor, when discharge is tested, it exports different frequencies with the size of discharge
Rate, is converted into discharge size by the arteries and veins frequency of inspection water flow sensor output.If being detected with oscillograph, high cost,
And need to be stared at eyes always, it is cumbersome, do not apply to.If being detected with single-chip microcomputer or cymometer, typically with software or hard
The method of part filtering can just obtain a stable pulse number (frequency), although pulse number (frequency) comparison of calculating is smart
Really, but it is this detection pulse (frequency) method, it is impossible to detect water flow sensor output waveform it is whether normal.
Existing testing equipment mainly has two shortcomings.One is whether the low and high level that can not detect pulse (frequency) closes
Lattice, because general cymometer input sensitivity is higher, very wide to incoming level requirement, it is defeated that this results in water flow sensor
Go out pulse (frequency) level it is abnormal when, cymometer thinks normal on the contrary;Two is to detect whether pulse (frequency) has lacked ripple,
Because single-chip microcomputer or cymometer typically obtain a stable pulse number (frequency) with the method for software or hardware filtering, this
Result in and can not detect whether to lack waveform.The two problems cause to judge whether water flow sensor is problematic.
For disadvantage mentioned above, the system is mainly with a hardware circuit and software realizing detecting pulse number (frequency)
Low and high level and waveform it is whether normal.Low cost, it is practical, can the high level of effective detection each waveform, low level, also can
Detect whether to lack waveform.
The system main purpose be with an equipment can just detect the frequency of water flow sensor, the low and high level of waveform and
Whether waveform lacks.
The content of the invention
For above-mentioned prior art, present invention aim at providing a kind of test for detecting water flow sensor parameter
System, solves prior art discharge detection output wave and there is noise, shake, and can not detect the low and high level of output wave
With the technical problem such as frequency.
To reach above-mentioned purpose, the technical solution used in the present invention is as follows:
A kind of test system for detecting water flow sensor parameter, including power supply;The single-chip microcomputer that is powered by a power supply, touch
Touch button controller;Detection circuit, gathers flow information and exports water flow signal to single-chip microcomputer;Display screen, by single-chip microcomputer
Drive and show discharge, described single-chip microcomputer model M0516, described display screen model SM020561;Described touch
Button controller is input into external control signal to single-chip microcomputer.
In such scheme, described detection circuit, including
Water flow sensor X2, its connection power supply and collection flow information;First diode V6, its low electrode connection electricity
Source and high electrode are received by the noisy discharge transducing signal of water flow sensor X2 output tools;Second diode V8, which is low
Electrode receives the noisy discharge transducing signal of tool and high electrode ground connection;Filter regulator circuit, receives the noisy current of tool
Amount transducing signal;Input resistance, receives the discharge transducing signal and output discharge sensing letter exported by filter regulator circuit
Number three component signals to single-chip microcomputer.
In such scheme, described filter regulator circuit, including divider resistance, receive the noisy discharge sensing letter of tool
Number and its ground connection;Filter capacitor C5, connects divider resistance and ground connection;Zener diode V7, its low electrode connect filter capacitor C5
Hot end and high electrode ground connection, export discharge transducing signal.
In such scheme, described input resistance, including first resistor R16, its one end receive discharge transducing signal and
The other end connects the timing terminal T2 of single-chip microcomputer;Second resistance R17, its one end receive discharge transducing signal and other end connection
The analog digital conversion terminal AD of single-chip microcomputer;3rd resistor R20, its one end receive discharge transducing signal and other end connection single-chip microcomputer
Frequency detecting terminal T0EX.
Compared with prior art, beneficial effects of the present invention:
Circuit is simple, low cost;
Whether detectable frequency size, the low and high level of waveform and waveform lack;
The qualified point of frequency can be set, the qualified point of low and high level of waveform can be set, waveform disappearance can be set and ignore number.
Description of the drawings
Fig. 1 is the module diagram of the present invention;
Fig. 2 is the circuit theory schematic diagram of the present invention;
Fig. 3 is the operation interface schematic diagram of the integrated shell of the present invention.
Specific embodiment
All features disclosed in this specification, or disclosed all methods or during the step of, except mutually exclusive
Feature and/or step beyond, can combine by any way.
The present invention will be further described below in conjunction with the accompanying drawings:
Embodiment 1
A, hardware description:
The theory diagram of system is as shown in figure 1, circuit diagram is as shown in Fig. 2 display floater is as shown in Figure 3.
Mainly point 5 parts, as follows:
1 is power pack, and this is general circuit design, is mainly made up of N1 three-terminal voltage-stabilizing circuits.Input can be DC8-
24V, typically takes 12V;It is output as DC5V.
2 is display part, for display frequency, low and high level, lacks ripple number and working condition.
3 is single chip part, is the core control centre of whole circuit board, by calculate frequency, detection low and high level, based on
Calculate and lack ripple number and control display.
4 is detection part, for detecting the waveform of water flow sensor output, filters and tri- road of anti-interference process Hou Fen is defeated
To single-chip microcomputer.V6, V7 and V8 are that R15, R18 and C5 are for filtering interference signal to prevent overvoltage or negative voltage from producing.Current
Quantity sensor signal is input into by X2 sockets, through R15, then through R16, R17 and R20 point of three roads to single-chip microcomputer.
5 is touch key-press part, for receiving key information, key information is sent to single-chip microcomputer process.
B, software manual:
Single-chip microcomputer is defeated by three tunnels of the signal of water flow sensor point, and single-chip microcomputer has different processing methods and calculation all the way to every
Method, it is specific as follows:
One is AD parts, mainly for detection of level.When waveform, from low level to high level, (or high level is to low electricity
It is flat) when, single-chip microcomputer can produce a rising edge (or trailing edge) to interrupt.Have no progeny in rising edge (or trailing edge), in order to examine
The accuracy of level is surveyed, single-chip microcomputer AD conversion just can stop to trailing edge (or rising edge) always, it is during conversion, single
Piece chance retains mid portion, then the data of mid portion is asked losing from the closer data of rising edge and trailing edge
Meansigma methodss, the meansigma methodss of gained are exactly high level (low level) voltage.Due to input voltage be 5V, therefore the conjunction of high level
Lattice point is that, more than or equal to 4V (5V x 0.8=4V), low level qualified point is less than or equal to 0.5V (5V x 0.1=0.5V).
When detecting level and being unqualified, display can show level voltage and use red display, and can be locked in high level or low electricity
Level state, can press setting key and remove locking, or close water, and then boiled water removes locking automatically again.
Two is T2 parts, mainly for detection of scarce ripple.The effect on this road mainly ceaselessly detects high level width and low
Level width, and by rising edge and trailing edge come accurate measurement width.In order to not cause false judgment and test leakage, single-chip microcomputer
Each high level or low level width value can be placed in the buffer register of a first in first out, according to actual needs, can be with
The size of buffer register is set meeting requirement.Just can ceaselessly decision level width after for the first time buffer register is filled
Degree, sees that the value of which buffer register is undesirable, all bigger than the value of its front and back and front than if any a value
Face is identical with value below, and this illustrates that this width value is abnormal, has scarce ripple.When detecting level width and being unqualified, show
Device can show scarce ripple number and use red display, and can be locked in scarce wavy state, can press setting key and remove locking, or close
Water, then boiled water removes locking automatically again.
Three is T0EX parts, mainly for detection of frequency.For the accuracy of detection, one is opened in first rising edge
How long and pulse number individual intervalometer is simultaneously started counting up, then judge to have used after 500ms altogether, by particular algorithm meter
Calculate frequency.
The above, the only specific embodiment of the present invention, but protection scope of the present invention is not limited thereto, any
Belong to those skilled in the art the invention discloses technical scope in, the change or replacement that can be readily occurred in all are answered
It is included within the scope of the present invention.
Claims (4)
1. a kind of test system for detecting water flow sensor parameter, it is characterised in that include
Power supply;
The single-chip microcomputer that is powered by a power supply, touch key-press controller;
Detection circuit, gathers flow information and exports water flow signal to single-chip microcomputer;
Display screen, shows discharge by Micro Controller Unit (MCU) driving;
Described touch key-press controller is input into external control signal to single-chip microcomputer.
2. a kind of test system for detecting water flow sensor parameter according to claim 1, it is characterised in that institute
The detection circuit stated, including
Water flow sensor X2, its connection power supply and collection flow information;
First diode V6, its low electrode connects power supply and high electrode is received by the noisy water of water flow sensor X2 output tools
Signal sensed from flux;
Second diode V8, its low electrode receive the noisy discharge transducing signal of tool and high electrode ground connection;
Filter regulator circuit, receives the noisy discharge transducing signal of tool;
Input resistance, receives three of the discharge transducing signal and output discharge transducing signal exported by filter regulator circuit
Component signal is to single-chip microcomputer.
3. a kind of test system for detecting water flow sensor parameter according to claim 2, it is characterised in that institute
The filter regulator circuit stated, including
Divider resistance, receives the noisy discharge transducing signal of tool and its ground connection;
Filter capacitor C5, connects divider resistance and ground connection;
Zener diode V7, the hot end of its low electrode connection filter capacitor C5 and high electrode ground connection, output discharge sensing
Signal.
4. a kind of test system for detecting water flow sensor parameter according to claim 2, it is characterised in that institute
The input resistance stated, including
First resistor R16, its one end receives discharge transducing signal and the other end connects the timing terminal T2 of single-chip microcomputer;
Second resistance R17, its one end receives discharge transducing signal and the other end connects the level detection terminal AD of single-chip microcomputer;
3rd resistor R20, its one end receives discharge transducing signal and the other end connects the frequency detecting terminal T0EX of single-chip microcomputer.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621121657.4U CN206056742U (en) | 2016-10-14 | 2016-10-14 | A kind of test system for detecting water flow sensor parameter |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201621121657.4U CN206056742U (en) | 2016-10-14 | 2016-10-14 | A kind of test system for detecting water flow sensor parameter |
Publications (1)
Publication Number | Publication Date |
---|---|
CN206056742U true CN206056742U (en) | 2017-03-29 |
Family
ID=58363740
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201621121657.4U Expired - Fee Related CN206056742U (en) | 2016-10-14 | 2016-10-14 | A kind of test system for detecting water flow sensor parameter |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN206056742U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109141865A (en) * | 2018-06-20 | 2019-01-04 | 广东万家乐燃气具有限公司 | A kind of water valve water frequency relation detection device and method |
-
2016
- 2016-10-14 CN CN201621121657.4U patent/CN206056742U/en not_active Expired - Fee Related
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109141865A (en) * | 2018-06-20 | 2019-01-04 | 广东万家乐燃气具有限公司 | A kind of water valve water frequency relation detection device and method |
CN109141865B (en) * | 2018-06-20 | 2024-05-03 | 广东万家乐燃气具有限公司 | Water valve water quantity frequency relation detection equipment and method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103743944B (en) | A kind of real effective combined-voltage measuring method of automatic identification signal type | |
CN202421479U (en) | Multi-parameter test device | |
CN206209447U (en) | Remote signals Acquisition Circuit and the distribution terminal being made of the circuit | |
TW201523006A (en) | On-line battery internal resistance measuring apparatus and measuring method thereof | |
CN108120919A (en) | A kind of integrated circuit time parameter test circuit and method | |
CN105067022B (en) | Detection method and device of capacitive sensor, touch chip and air conditioner | |
CN112067912A (en) | Method for detecting phase loss, electronic device and storage medium | |
CN102147426A (en) | Broadband triggering circuit of digital oscilloscope | |
CN110456138A (en) | A kind of electric current detecting method, device and housed device | |
CN206056742U (en) | A kind of test system for detecting water flow sensor parameter | |
CN201796119U (en) | Programmable digital integrated circuit alternating-current parameter testing system | |
CN103728510B (en) | Excitation unit on-site test system and method | |
CN213600855U (en) | Intelligent electric energy meter metering pulse lamp detection circuit | |
CN203587684U (en) | Single-phase electricity meter metering protection circuit | |
CN108089053A (en) | A kind of excitation self testing circuit | |
CN206147064U (en) | Hall assembly detection device | |
CN108490817B (en) | Signal sampling processing circuit | |
CN203788304U (en) | Device for testing function of hardware interface | |
CN107240426B (en) | A kind of device for the processing of nuclear power plant's reactor coolant pump revolving speed | |
CN206818857U (en) | A kind of voltage sensor detection means in safety chip | |
CN114217125A (en) | Intelligent ammeter capable of preventing electricity theft, electricity theft prevention system and electricity theft prevention detection method thereof | |
CN205901261U (en) | Circuit breaker control device | |
CN109001578A (en) | A kind of test device and method detecting CELL panel signal generator | |
CN209432928U (en) | For testing the detection device of high frequency modular electrophoresis rectifier | |
CN208506587U (en) | A kind of safe instrument control system cabinet capacitance detecting device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20170329 Termination date: 20201014 |