CN106323388B - It is a kind of to obtain the method and system that water flow is suddenly delayed based on water level sensor - Google Patents
It is a kind of to obtain the method and system that water flow is suddenly delayed based on water level sensor Download PDFInfo
- Publication number
- CN106323388B CN106323388B CN201510357691.5A CN201510357691A CN106323388B CN 106323388 B CN106323388 B CN 106323388B CN 201510357691 A CN201510357691 A CN 201510357691A CN 106323388 B CN106323388 B CN 106323388B
- Authority
- CN
- China
- Prior art keywords
- level sensor
- water level
- shaking
- water
- 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.)
- Active
Links
Landscapes
- Level Indicators Using A Float (AREA)
- Testing Or Calibration Of Command Recording Devices (AREA)
Abstract
It is the present invention relates to water level sensor field, in particular to a kind of that the method and system that water flow is suddenly delayed are obtained based on water level sensor.The described method includes: obtaining the shaking value that the water level sensor floats on water;If the shaking value of the water level sensor is greater than preset value, judge current water flow for suddenly;If the shaking value of the water level sensor is less than or equal to preset value, judge that current water flow is slow.When water level sensor floats on waterborne, obtain the shaking value that water level sensor floats on water, it is compared according to the shaking value of acquisition with preset value, if shaking value is greater than preset value, then judge current water flow for suddenly, if shaking value is less than or equal to preset value, judge that current water flow is slow, to solve the problems, such as that existing water level sensor cannot detect water flow and suddenly delay.
Description
Technical field
It is the present invention relates to water level sensor field, in particular to a kind of that the method that water flow is suddenly delayed is obtained based on water level sensor
And system.
Background technique
In existing technology, water level sensor is for monitoring water level conditions, as worked as water level in reservoir, fish jar
When increasing to preset position, water level sensor is triggered, so that user is known that water level has increased to predeterminated position, water level sensor is only
Water can be monitored to rise highly.
In smart home field, water level sensor is also used to set up in bathroom, when bathroom water pipe leak or forget
When note is turned off the tap, causes to bathe indoor ground water storage, to trigger water level sensor, to inform the leak of user bathroom, but deposit
In the defect for not knowing that water flow is suddenly delayed.
Summary of the invention
In view of the shortcomings of the prior art, the present invention proposes a kind of to obtain the method suddenly delayed of water flow based on water level sensor and be
System, it is intended to solve the problems, such as that existing water level sensor cannot detect water flow and suddenly delay.
Technical solution proposed by the present invention is:
A method of based on water level sensor obtain water flow suddenly delay, the water level sensor can float on it is waterborne, it is described
Method the following steps are included:
Obtain the shaking value that the water level sensor floats on water;
If the shaking value of the water level sensor is greater than preset value, judge current water flow for suddenly;
If the shaking value of the water level sensor is less than or equal to preset value, judge that current water flow is slow.
Further, it when two electrode probes of the water level sensor conduct and trigger the water level sensor, opens
Open the shaking degree for detecting the water level sensor.
Further, gyroscope is equipped in the water level sensor, the gyroscope is for synchronizing the level sensor
The shaking degree of device.
Further, the shaking value of the water level sensor includes slosh frequency or/and the shaking of the water level sensor
Amplitude.
It is further, described to obtain the step of water level sensor floats on the shaking value of water, comprising:
Prefixed time interval;
The shaking value of the primary water level sensor is obtained every the prefixed time interval.
The present invention also proposes a kind of system suddenly delayed based on water level sensor acquisition water flow, and the water level sensor can float
In waterborne, the system comprises message handler, the message handler includes:
Module is obtained, the shaking value of water is floated on for obtaining the water level sensor;
Judgment module judges current water flow for suddenly if the shaking value for the water level sensor is greater than preset value;With
And
If the shaking value of the water level sensor is less than or waits preset values, judge that current water flow is slow.
Further, the water level sensor includes:
Opening module conducts the triggering water level sensor for two electrode probes in the water level sensor
When, the shaking degree of water level sensor described in open detection.
Further, gyroscope is equipped in the water level sensor, the gyroscope is for synchronizing the level sensor
The shaking degree of device.
Further, the shaking value of the water level sensor includes slosh frequency or/and the shaking of the water level sensor
Amplitude.
Further, obtaining module includes:
Presetting module is used for prefixed time interval;
Sub-acquisition module, for obtaining the shaking value of the primary water level sensor every the prefixed time interval.
Level sensor is obtained the invention has the advantages that: when water level sensor floats on waterborne according to above-mentioned technical solution
Device floats on the shaking value of water, is compared according to the shaking value of acquisition with preset value, if shaking value is greater than preset value, judgement is worked as
Preceding water flow is anxious, if shaking value judges that current water flow is slow less than or equal to preset value, is passed to solve existing water level
Sensor cannot detect the problem that water flow is suddenly delayed.
Detailed description of the invention
Fig. 1 is using a kind of process for obtaining the method that water flow is suddenly delayed based on water level sensor provided in an embodiment of the present invention
Figure;
Fig. 2 is the perspective view using water level sensor provided in an embodiment of the present invention;
Fig. 3 is using a kind of function of obtaining the system that water flow is suddenly delayed based on water level sensor provided in an embodiment of the present invention
Module frame chart.
Specific embodiment
In order to make the objectives, technical solutions, and advantages of the present invention clearer, with reference to the accompanying drawings and embodiments, right
The present invention is further elaborated.It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, and
It is not used in the restriction present invention.
As depicted in figs. 1 and 2, the embodiment of the present invention proposes a kind of method suddenly delayed based on the acquisition of water level sensor 1 water flow,
Water level sensor 1 can float on waterborne, the described method comprises the following steps:
Step S101, the shaking value that water level sensor 1 floats on water is obtained.
In the present embodiment, water level sensor 1 includes shell 15 and the sensor in shell 15, water level sensor 1
Side is set there are four electrode probe (11,12,13,14), four electrode probes (11,12,13,14) pass through the side of shell 15 with
Sensor electrical connection in shell 15.
Shell 15 is a closed shell, and extraneous water not can enter in shell 15, and 15 side of shell is visited for four electrodes
Position after head (11,12,13,14) passes through is sealed processing, and extraneous water is avoided to enter.
Two electrode probes in four electrode probes (11,12,13,14) of water level sensor 1 conduct triggering water
When level sensor 1, the shaking degree of open detection water level sensor 1.While triggering the sensor in water level sensor 1,
The shaking degree of open detection water level sensor 1 detects water level sensor 1.
In the present embodiment, gyroscope is equipped in water level sensor 1, gyroscope is used to synchronize the rolling of water level sensor 1
Traverse degree.By the shaking degree for detecting the available water level sensor 1 of changing value of gyroscope.
In the present embodiment, the shaking value of water level sensor 1 includes the slosh frequency or/and shaking width of water level sensor 1
Degree.
It after the shaking degree of open detection water level sensor 1, can persistently be obtained, it is also possible that step
S101 includes:
Prefixed time interval;
The shaking value of a water level sensor 1 is obtained every prefixed time interval.
Prefixed time interval can be 5 seconds, 10 seconds or 15 seconds.After prefixed time interval, acquisition one is carried out
The shaking value of secondary water level sensor 1.
If step S102, the shaking value of water level sensor 1 is greater than preset value, judge current water flow for suddenly.
In the present embodiment, an also default preset value when shaking value is greater than preset value, is said for being compared with shaking value
Bright water flow is more anxious, then judges current water flow for suddenly.
If step S103, the shaking value of water level sensor 1 is less than or equal to preset value, judge that current water flow is slow.
When shaking value is less than or equal to preset value, illustrates water flow than more gentle, then judge that current water flow is slow.
In conclusion when water level sensor 1 floats on waterborne, the shaking value that water level sensor 1 floats on water is obtained, according to obtaining
The shaking value taken is compared with preset value, if shaking value is greater than preset value, judges current water flow to be anxious, if shaking value is less than
Or be equal to preset value, then judge that current water flow is slow, so that solving existing water level sensor cannot detect what water flow was suddenly delayed
Problem.
A kind of above-mentioned method suddenly delayed based on the acquisition of water level sensor 1 water flow is realized to be upper, as shown in figure 3, of the invention
Embodiment also proposes a kind of system suddenly delayed based on the acquisition of water level sensor 1 water flow, and water level sensor 1 can float on waterborne, institute
The system of stating includes message handler 2, and message handler 2 includes obtaining module 21 and judgment module 22.
Module 21 is obtained for obtaining the shaking value that water level sensor 1 floats on water.
In the present embodiment, water level sensor 1 includes shell 15 and the sensor in shell 15, water level sensor 1
Side is set there are four electrode probe (11,12,13,14), four electrode probes (11,12,13,14) pass through the side of shell 15 with
Sensor electrical connection in shell 15.
Shell 15 is a closed shell, and extraneous water not can enter in shell 15, and 15 side of shell is visited for four electrodes
Position after head (11,12,13,14) passes through is sealed processing, and extraneous water is avoided to enter.
Water level sensor 1 includes:
Opening module, for two electrode probes in four electrode probes (11,12,13,14) of water level sensor 1
When conducting triggering water level sensor 1, the shaking degree of open detection water level sensor 1.Biography in triggering water level sensor 1
While sensor, the shaking degree of open detection water level sensor 1 detects water level sensor 1.
In the present embodiment, gyroscope is equipped in water level sensor 1, gyroscope is used to synchronize the rolling of water level sensor 1
Traverse degree.By the shaking degree for detecting the available water level sensor of changing value of gyroscope.
In the present embodiment, the shaking value of water level sensor 1 includes the slosh frequency or/and shaking width of water level sensor 1
Degree.
It after the shaking degree of open detection water level sensor 1, can persistently be obtained, it is also possible that obtaining mould
Block 21 includes:
Presetting module is used for prefixed time interval;
Sub-acquisition module, for obtaining the shaking value of a water level sensor 1 every prefixed time interval.
Prefixed time interval can be 5 seconds, 10 seconds or 15 seconds.After prefixed time interval, acquisition one is carried out
The shaking value of secondary water level sensor 1.
Judgment module 22 judges current water flow for suddenly if the shaking value for water level sensor 1 is greater than preset value;With
And if the shaking value of water level sensor 1 is less than or equal to preset value, judges that current water flow is slow.
In the present embodiment, an also default preset value when shaking value is greater than preset value, is said for being compared with shaking value
Bright water flow is more anxious, then judges current water flow for suddenly.
When shaking value is less than or equal to preset value, illustrates water flow than more gentle, then judge that current water flow is slow.
In conclusion when water level sensor 1 floats on waterborne, the shaking value that water level sensor 1 floats on water is obtained, according to obtaining
The shaking value taken is compared with preset value, if shaking value is greater than preset value, judges current water flow to be anxious, if shaking value is less than
Or be equal to preset value, then judge that current water flow is slow, so that solving existing water level sensor cannot detect what water flow was suddenly delayed
Problem.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention
Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.
Claims (8)
1. a kind of obtain the method that water flow is suddenly delayed based on water level sensor, which is characterized in that the water level sensor can float on
Waterborne, the water level sensor includes shell and the sensor in shell, and water level sensor side sets that there are four electrodes to visit
Head, the side that four electrode probes pass through shell are electrically connected with the sensor being set in shell, the described method comprises the following steps:
When two electrode probes of the water level sensor conduct and trigger the water level sensor, water level described in open detection
The shaking degree of sensor;
Obtain the shaking value that the water level sensor floats on water;
If the shaking value of the water level sensor is greater than preset value, judge current water flow for suddenly;
If the shaking value of the water level sensor is less than or equal to preset value, judge that current water flow is slow.
2. a kind of method suddenly delayed based on water level sensor acquisition water flow according to claim 1, which is characterized in that in institute
It states and is equipped with gyroscope in water level sensor, the gyroscope is used to synchronize the shaking degree of the water level sensor.
3. a kind of method suddenly delayed based on water level sensor acquisition water flow according to claim 1, which is characterized in that described
The shaking value of water level sensor includes the slosh frequency or/and shaking amplitude of the water level sensor.
4. a kind of method suddenly delayed based on water level sensor acquisition water flow according to claim 1, which is characterized in that described
Obtain the step of water level sensor floats on the shaking value of water, comprising:
Prefixed time interval;
The shaking value of the primary water level sensor is obtained every the prefixed time interval.
5. a kind of obtain the system that water flow is suddenly delayed based on water level sensor, which is characterized in that the water level sensor can float on
Waterborne, the water level sensor includes shell and the sensor in shell, and water level sensor side sets that there are four electrodes to visit
Head, the side that four electrode probes pass through shell are electrically connected with the sensor being set in shell, and the water level sensor includes:
Opening module is opened when conducting the triggering water level sensor for two electrode probes in the water level sensor
Open the shaking degree for detecting the water level sensor;
The system comprises message handler, the message handler includes:
Module is obtained, the shaking value of water is floated on for obtaining the water level sensor;
Judgment module judges current water flow for suddenly if the shaking value for the water level sensor is greater than preset value;And
If the shaking value of the water level sensor is less than or equal to preset value, judge that current water flow is slow.
6. a kind of system suddenly delayed based on water level sensor acquisition water flow according to claim 5, which is characterized in that in institute
It states and is equipped with gyroscope in water level sensor, the gyroscope is used to synchronize the shaking degree of the water level sensor.
7. a kind of system suddenly delayed based on water level sensor acquisition water flow according to claim 5, which is characterized in that described
The shaking value of water level sensor includes the slosh frequency or/and shaking amplitude of the water level sensor.
8. a kind of system suddenly delayed based on water level sensor acquisition water flow according to claim 5, which is characterized in that obtain
Module includes:
Presetting module is used for prefixed time interval;
Sub-acquisition module, for obtaining the shaking value of the primary water level sensor every the prefixed time interval.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510357691.5A CN106323388B (en) | 2015-06-25 | 2015-06-25 | It is a kind of to obtain the method and system that water flow is suddenly delayed based on water level sensor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510357691.5A CN106323388B (en) | 2015-06-25 | 2015-06-25 | It is a kind of to obtain the method and system that water flow is suddenly delayed based on water level sensor |
Publications (2)
Publication Number | Publication Date |
---|---|
CN106323388A CN106323388A (en) | 2017-01-11 |
CN106323388B true CN106323388B (en) | 2019-06-25 |
Family
ID=57729851
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510357691.5A Active CN106323388B (en) | 2015-06-25 | 2015-06-25 | It is a kind of to obtain the method and system that water flow is suddenly delayed based on water level sensor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106323388B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114252577B (en) * | 2022-03-02 | 2022-06-14 | 成都曜菲网络科技有限公司 | Method for detecting white and turbid water quality in fish tank |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPH10197299A (en) * | 1997-01-14 | 1998-07-31 | Taisei Corp | Current and water level measuring apparatus for flow measurement |
CN202486156U (en) * | 2011-10-09 | 2012-10-10 | 唐山现代工控技术有限公司 | Underwater intelligent hydrometric propeller |
CN203949708U (en) * | 2014-06-19 | 2014-11-19 | 北京江河瑞通技术发展有限公司 | A kind of radar type water-level gauge based on acceleration transducer correction water level value |
TWM498355U (en) * | 2014-09-19 | 2015-04-01 | Insyde Software Corp | Integration system of intelligent electronic buoy and mobile personal fishing information |
-
2015
- 2015-06-25 CN CN201510357691.5A patent/CN106323388B/en active Active
Also Published As
Publication number | Publication date |
---|---|
CN106323388A (en) | 2017-01-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
SG11201907355XA (en) | Method and apparatus for detecting object, method and apparatus for training neural network, and electronic device | |
CN103174462B (en) | Permeable water source real-time monitoring recognition device and permeable water source real-time monitoring recognition method | |
JP2018045607A5 (en) | ||
CN106323388B (en) | It is a kind of to obtain the method and system that water flow is suddenly delayed based on water level sensor | |
CN106324043A (en) | Device and method for monitoring wetting depth of landslide mass | |
WO2004112169A3 (en) | System and method for monitoring electrolyte levels in a battery | |
CN107254764B (en) | Washing machine water inflow monitoring system and method | |
CN102716527B (en) | Detection method for liquid drops of transfusion pump | |
CN103543642A (en) | Display equipment control system and method | |
CN106525508A (en) | Monitoring and alarming system for preventing stealing emission of industrial wastewater | |
ATE535104T1 (en) | METHOD FOR USE IN A BATTERY ALARM OF A HEARING AID, CIRCUIT FOR MONITORING AN ELECTRICAL CELL AND HEARING AID HAVING SUCH A CIRCUIT | |
CN107430083A (en) | For measuring the existing method of diesel fuel filter reclaimed water and water sensor for performing methods described | |
CN206378323U (en) | A kind of trade effluent anti-theft row's monitor and alarm system and device | |
CN107864269A (en) | Automatic activation and standby method, terminal and computer-readable recording medium | |
CN107976604A (en) | Detect method, the device and water storage device of detection electric leakage of electric leakage | |
CN203498472U (en) | Magnesium rod consumption detection device and electric water heater | |
CN204154916U (en) | Quantity of precipitation pick-up unit and system | |
CN106455041A (en) | Time synchronization method and system of electric power wireless sensor network based on power transmission line | |
CN108955812A (en) | Commercial steamer alternation pulsation water level detecting system and its detection method | |
CN205066315U (en) | System ice caliper detector | |
CN203744920U (en) | Screw countersink depth detection apparatus | |
CN106990710A (en) | Watch waterproof method and device | |
CN207780571U (en) | The water supply tank of the suspended matter of remote monitoring | |
CN205262546U (en) | Car sewage case water level detection circuit | |
CN205359080U (en) | Temperature monitoring devices suitable for drinking cup |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |