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 PDF

Info

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
Application number
CN201510357691.5A
Other languages
Chinese (zh)
Other versions
CN106323388A (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.)
Fantem Technologies Shenzhen Co Ltd
Original Assignee
Fantem Technologies Shenzhen 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 Fantem Technologies Shenzhen Co Ltd filed Critical Fantem Technologies Shenzhen Co Ltd
Priority to CN201510357691.5A priority Critical patent/CN106323388B/en
Publication of CN106323388A publication Critical patent/CN106323388A/en
Application granted granted Critical
Publication of CN106323388B publication Critical patent/CN106323388B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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

It is a kind of to obtain the method and system that water flow is suddenly delayed based on water level sensor
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.
CN201510357691.5A 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 Active CN106323388B (en)

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)

* Cited by examiner, † Cited by third party
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)

* Cited by examiner, † Cited by third party
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

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
ATE424016T1 (en) AUTONOMOUS MONITORING SYSTEM
EP2819382A3 (en) Water leak sensor management method, water leak sensor performing the same and storage media storing the same
RU2016115731A (en) METHOD AND DEVICE FOR MANAGING INTELLECTUAL DEVICE
CN106323388B (en) It is a kind of to obtain the method and system that water flow is suddenly delayed based on water level sensor
JP2018045607A5 (en)
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
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
EP2840674A3 (en) Systems and methods for power swing angle estimation in an electrical power system
CN107976604A (en) Detect method, the device and water storage device of detection electric leakage of electric leakage
CN111110130B (en) Self-adaptive cleaning method and system for dish washer
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
CN207780571U (en) The water supply tank of the suspended matter of remote monitoring
CN206354881U (en) A kind of Intelligent electric kettle detected with high-low water level
CN105067078B (en) Level testing methods and device for tank

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