CN108181056A - Indoor water-leakage detection method, system, storage medium and electronic equipment - Google Patents
Indoor water-leakage detection method, system, storage medium and electronic equipment Download PDFInfo
- Publication number
- CN108181056A CN108181056A CN201711394967.2A CN201711394967A CN108181056A CN 108181056 A CN108181056 A CN 108181056A CN 201711394967 A CN201711394967 A CN 201711394967A CN 108181056 A CN108181056 A CN 108181056A
- Authority
- CN
- China
- Prior art keywords
- water
- indoor
- leak
- capacitance
- capacitance array
- 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
Links
Classifications
-
- G—PHYSICS
- G01—MEASURING; TESTING
- G01M—TESTING STATIC OR DYNAMIC BALANCE OF MACHINES OR STRUCTURES; TESTING OF STRUCTURES OR APPARATUS, NOT OTHERWISE PROVIDED FOR
- G01M3/00—Investigating fluid-tightness of structures
- G01M3/02—Investigating fluid-tightness of structures by using fluid or vacuum
- G01M3/04—Investigating fluid-tightness of structures by using fluid or vacuum by detecting the presence of fluid at the leakage point
- G01M3/16—Investigating fluid-tightness of structures by using fluid or vacuum by detecting the presence of fluid at the leakage point using electric detection means
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Examining Or Testing Airtightness (AREA)
Abstract
The invention discloses a kind of indoor water-leakage detection method, system, storage medium and electronic equipment, this method to include:When detecting the short circuited inductance electric pole short circuit that at least one of the water detection device of setting on the ground is electrically connected with the first general input/output port of controller, the capacitance of capacitive sensing electrode being electrically connected with the second general input/output port of controller in water detection device is acquired according to pre-set number of activities, capacitance array is generated, number of activities represent the number of acquisition capacitive sensing electrode;According to capacitance array judge it is indoor whether leak.Implement the present invention, by the way that short circuited inductance electrode and capacitive sensing electrode is set to be electrically connected respectively with the first general input/output port of controller, when short circuit occurs for short circuited inductance electrode, the capacitance of controller multi collect capacitive sensing electrode, generate capacitance array, according to capacitance array judge it is indoor whether leak, so as to fulfill precisely leak is judged whether, prevent erroneous judgement.
Description
Technical field
The present invention relates to leak water detdction technical field more particularly to a kind of indoor water-leakage detection method, system, storage mediums
And electronic equipment.
Background technology
With the continuous improvement of living standards, water has become a kind of essential substance of human lives, daily life
In, domestic water is mainly transported to indoor for people to use by water pipe.However, due to by factors such as service life, environment
Influence, water pipe easily ruptures or people forget when in use close tap, cause indoor water-leakage phenomenon, so as to
Indoor home equipment is destroyed, serious economic loss is brought to user.
Existing indoor water-leakage detection method is predominantly following several:
1) flow sensor on water inlet pipe is set, the flow of inlet water of water inlet pipe is detected by flow sensor, according to warp
It tests value and judges whether leak;
2) by detecting the potential difference of the induction electrode in indoor ponding sensing unit, when the potential difference of induction electrode disappears
During mistake, it is judged as leak;
3) first method and second method are combined and judges whether leak, such as application No. is 201620074666.6,
A kind of Chinese utility model patent of entitled smart home water-leakage preventing system based on Internet of Things.
Existing indoor water-leakage detecting system, there are following defects:
1) the first detection method needs to set a bigger flow threshold, only when leak reaches flow threshold
Shi Caineng detected, and indoor furniture may be subjected to destroying at this time, can not accurately detect it is indoor whether leak.
2) second of detection method, when ground makes moist, when condensation, the potential difference of induction electrode can also disappear
Lose, leak erroneous judgement thus can easily occur, can not accurately detect it is indoor whether leak, make troubles to user;
3) the first detection method and the second detection method are only simply superimposed by the third detection method, however it remains
The defects of both above method, can not realize precisely judge interior whether leak.
Invention content
It is an object of the invention to which the prior art is overcome easily to generate leak erroneous judgement, indoor whether leak can not be accurately detected
The deficiency of water provides a kind of indoor water-leakage detection method, system, storage medium and electronic equipment.
Technical scheme of the present invention provides a kind of indoor water-leakage detection method, including:
When detecting first universal input of at least one of the setting water detection device on the ground with controller
During the short circuited inductance electric pole short circuit of delivery outlet electrical connection, acquired in the water detection device according to pre-set number of activities
The capacitance of capacitive sensing electrode being electrically connected with the second general input/output port of the controller, generate capacitance number
Group, the number of activities represent to acquire the number of the capacitive sensing electrode;
According to the capacitance array judge it is indoor whether leak, generate judging result information, the judging result information
Including leak and water-tight.
Further, it is described that leak is judged whether according to the capacitance array, it specifically includes:
Standard deviation is calculated according to the capacitance array, generates variance yields;
When the variance yields is more than or equal to pre-set variance threshold values, judge the interior for leak.
Further, it is described that standard deviation is calculated according to the capacitance array, specially:
The standard deviation is calculated using following formula:
In formula, S is standard deviation, and n is number of samples, XiFor i-th of sample data, X is being averaged for n sample data
Value.
Further, it is described according to the capacitance array judge it is indoor whether leak, generate judging result information, later
It further includes:
When the judging result information is leak, water leakage alarm signal is sent, and to controlling the indoor water-main
The solenoid valve being turned on and off sends closing control signal.
Technical scheme of the present invention provides a kind of indoor water-leakage detecting system, including:Controller and setting are on the ground
Water detection device, the water detection device are electrically connected including at least one the first general input/output port with the controller
The short circuited inductance electrode connect and the capacitive sensing electrode being electrically connected with the second general input/output port of the controller, institute
Controller is stated to further include:
Acquisition module, for when detecting the short circuited inductance electric pole short circuit, being adopted according to pre-set number of activities
Collect the capacitance of the capacitive sensing electrode, generate capacitance array, the number of activities represent to acquire the capacitive sensing electricity
The number of pole;
Judgment module, for according to the capacitance array judge it is indoor whether leak, generate judging result information, it is described
Judging result information includes leak and water-tight.
Further, the judgment module includes:
Computing module for calculating standard deviation according to the capacitance array, generates variance yields;
Judging submodule, for when the variance yields is more than or equal to pre-set variance threshold values, judging the interior
For leak.
Further, the computing module is additionally operable to:
The standard deviation is calculated using following formula:
In formula, S is standard deviation, and n is number of samples, XiFor i-th of sample data, X is being averaged for n sample data
Value.
Further, the controller further includes:
Alarm module, for when the judging result information is leak, sending water leakage alarm signal, and to described in control
The solenoid valve that indoor water-main is turned on and off sends closing control signal.
Technical scheme of the present invention provides a kind of storage medium, and the storage medium stores computer instruction, works as computer
When performing the computer instruction, for performing all steps of foregoing indoor water-leakage detection method.
Technical scheme of the present invention provides a kind of electronic equipment, including:
At least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be performed by one processor, and described instruction is by least one place
It manages device to perform, so that at least one processor can:
When detecting first universal input of at least one of the setting water detection device on the ground with controller
During the short circuited inductance electric pole short circuit of delivery outlet electrical connection, acquired in the water detection device according to pre-set number of activities
The capacitance of capacitive sensing electrode being electrically connected with the second general input/output port of the controller, generate capacitance number
Group, the number of activities represent to acquire the number of the capacitive sensing electrode;
According to the capacitance array judge it is indoor whether leak, generate judging result information, the judging result information
Including leak and water-tight.
Further, it is described that leak is judged whether according to the capacitance array, it specifically includes:
Standard deviation is calculated according to the capacitance array, generates variance yields;
When the variance yields is more than or equal to pre-set variance threshold values, judge the interior for leak.
Further, it is described that standard deviation is calculated according to the capacitance array, specially:
The standard deviation is calculated using following formula:
In formula, S is standard deviation, and n is number of samples, XiFor i-th of sample data, X is being averaged for n sample data
Value.
Further, it is described according to the capacitance array judge it is indoor whether leak, generate judging result information, later
It further includes:
When the judging result information is leak, water leakage alarm signal is sent, and to controlling the indoor water-main
The solenoid valve being turned on and off sends closing control signal.
After adopting the above technical scheme, it has the advantages that:By setting short circuited inductance electrode and capacitive sensing electricity
Pole is electrically connected respectively with the first general input/output port of controller, and when short circuit occurs for short circuited inductance electrode, controller is multiple
Acquire the capacitance of capacitive sensing electrode, generate capacitance array, according to capacitance array judge it is indoor whether leak, so as in fact
Now precisely judge whether leak, prevent erroneous judgement.
Description of the drawings
Referring to attached drawing, the disclosure will be easier to understand.It should be understood that:These attached drawings are merely illustrative
Purpose, and be not intended to and protection scope of the present invention be construed as limiting.In figure:
Fig. 1 is a kind of workflow schematic diagram for indoor water-leakage detection method that one embodiment of the invention provides;
Fig. 2 is a kind of workflow schematic diagram for indoor water-leakage detection method that alternative embodiment of the present invention provides;
Fig. 3 is a kind of structure diagram for indoor water-leakage detecting system that one embodiment of the invention provides;
Fig. 4 is a kind of structure diagram for indoor water-leakage detecting system that alternative embodiment of the present invention provides;
Fig. 5 is that the hardware configuration of the electronic equipment for the execution indoor water-leakage detection method that sixth embodiment of the invention provides shows
It is intended to.
Specific embodiment
Specific embodiment to further illustrate the present invention below in conjunction with the accompanying drawings.
It is readily appreciated that, according to the technique and scheme of the present invention, in the case where not changing true spirit, the general skill of this field
The various structures mode and realization method that art personnel can be replaced mutually.Therefore, detailed description below and attached drawing are only
To the exemplary illustration of technical scheme of the present invention, and it is not to be construed as the whole of the present invention or is considered as to inventive technique scheme
It defines or limits.
It mentions in the present specification or up, down, left, right, before and after, front, the back side, top, the bottom that may mention etc.
Orientation term is defined relative to each attached construction shown in figure, they are opposite concepts, and it is therefore possible to can root
Correspondingly changed according to its residing different location, different use states.It so also should not be by these or others side
Position term is construed to restricted term.
Embodiment one
As shown in Figure 1, Fig. 1 is a kind of workflow signal for indoor water-leakage detection method that one embodiment of the invention provides
Figure.The method of Fig. 1 can be performed by microcontroller (Micro Controller Unit, MCU), products of the MCU with setting on the ground
Water detection device is connected by wired or wireless mode, for saving electric resources, reduces power consumption, after MCU initialization automatically into
Enter sleep pattern, every some cycles (such as 60 seconds) equipment self-inspection, sleep pattern is gone successively to if all gone well, if not just
It is normally opened to begin to perform following methods step:
Step S11:When detecting first of at least one of setting water detection device on the ground with controller
During the short circuited inductance electric pole short circuit of general input/output port electrical connection, water detection dress is acquired according to pre-set number of activities
The capacitance of capacitive sensing electrode being electrically connected with the second general input/output port of controller in putting generates capacitance number
Group, number of activities represent the number of acquisition capacitive sensing electrode;
Step S12:According to capacitance array judge it is indoor whether leak, generate judging result information, judging result information
Including leak and water-tight.
Specifically, multiple metal contacts and a capacitive sensing electrode are set on water detection device, it is at least one
Output (General Purpose Input Output, GPIO) mouth electrical connection of the first universal input of metal contact and MCU,
Remaining metal contact is grounded, and makes to form short circuited inductance electrode, capacitance with the first GPIO mouthfuls of metal contacts being electrically connected of MCU
Induction electrode and MCU the 2nd GPIO mouthfuls be electrically connected, the first and the 2nd is not connected between GPIO mouthfuls by GPIO mouthfuls, is independently arranged.It needs
It is noted that in order to which water detection device is made to be able to detect that ponding in larger scope, the spirit of water detection device is improved
Sensitivity, can by the multiple metal contacts for being arranged on different direction simultaneously with MCU the first GPIO mouthful be electrically connected, formation is short-circuit
Induction electrode.
When excess surface water, short circuit occurs for short circuited inductance electrode, is equivalent between short circuited inductance electrode and ground and connects one
Resistance causes the first GPIO mouthfuls of level of MCU to be lower, so as to trigger external interrupt wakeup MCU, MCU abnormal state.MCU according to
The capacitance of pre-set number of activities acquisition capacitive sensing electrode, generates capacitance array, realizes capacitive sensing electrode not
Disconnected academic environment.When the capacitance in capacitance array do not occur big variation for constant value when, be judged as it is water-tight,
MCU goes successively to sleep pattern.When big variation occurs for the capacitance in capacitance array, it is judged as leak.
Pre-set number of activities can be the capacitance that multiple capacitive sensing electrode is acquired in some cycles, such as
The acquisition of 100 milliseconds of interval is primary, connection acquisition 22 times.
Indoor water-leakage detection method provided by the invention, by set short circuited inductance electrode and capacitive sensing electrode respectively with
The first general input/output port electrical connection of controller, when short circuit occurs for short circuited inductance electrode, controller multi collect capacitance
The capacitance of induction electrode, generate capacitance array, according to capacitance array judge interior whether leak, so as to fulfill precisely sentencing
It is disconnected whether leak, prevent erroneous judgement.
Embodiment two
As shown in Fig. 2, the workflow that Fig. 2 is a kind of indoor water-leakage detection method that alternative embodiment of the present invention provides is shown
It is intended to, the method for Fig. 2 further increases the specific judgment method of leak and alarm processing method on the basis of embodiment one, therefore
The part identical with embodiment one repeats no more.This method includes:
Step S21:When detecting first of at least one of setting water detection device on the ground with controller
During the short circuited inductance electric pole short circuit of general input/output port electrical connection, water detection dress is acquired according to pre-set number of activities
The capacitance of capacitive sensing electrode being electrically connected with the second general input/output port of controller in putting generates capacitance number
Group, number of activities represent the number of acquisition capacitive sensing electrode;
Step S22:Standard deviation is calculated according to capacitance array, generates variance yields;
Step S23:When variance yields is more than or equal to pre-set variance threshold values, judge interior for leak;
Step S24:When judging result information is leak, water leakage alarm signal is sent, and to controlling indoor water-main
The solenoid valve being turned on and off sends closing control signal.
Specifically, when the capacitance for collecting capacitive sensing electrode, remove maximum value and minimum value, generate capacitance number
Then group calculates standard deviation using following formula:
In formula, S is standard deviation, and n is number of samples, XiFor i-th of sample data, X is being averaged for n sample data
Value.
Collected capacitance array is calculated into standard deviation by above-mentioned formula, after generating variance yields, by generation
Variance yields is compared with pre-set variance threshold values, is illustrated so that pre-set variance threshold values are 10 as an example here.
When variance yields is less than 10, represent to be the environmental abnormalities situation such as the occurrence of wetness, be judged as water-tight, it is different to send environment to user
Often order.When variance yields is more than or equal to 10, be judged as leak, water leakage alarm signal sent to user, such as by buzzer or
Person sends water leakage alarm signal to customer mobile terminal and carries out prompting user, while is sent to the solenoid valve being arranged on water-main
Closing control signal so as to which solenoid valve be controlled to close, avoids causing water resource waste.
Indoor water-leakage detection method provided by the invention, by set short circuited inductance electrode and capacitive sensing electrode respectively with
The first general input/output port electrical connection of controller, when short circuit occurs for short circuited inductance electrode, controller multi collect capacitance
The capacitance of induction electrode, generate capacitance array, according to capacitance array judge interior whether leak, so as to fulfill precisely sentencing
It is disconnected whether leak, prevent erroneous judgement.Meanwhile user is prompted, and to being arranged on water-main by sending alarm signal to user
On solenoid valve send closing control signal, control solenoid valve close, avoid causing water resource waste.
Embodiment three
As shown in figure 3, Fig. 3 is a kind of structure diagram for indoor water-leakage detecting system that one embodiment of the invention provides,
The system of embodiment three is corresponding with the method for embodiment one, therefore the part identical with embodiment one repeats no more.The system
Including:The water detection device 32 of controller 31 and setting on the ground, water detection device 32 include at least one with controlling
The short circuited inductance electrode 321 and general defeated with the second of controller 31 of the first general input/output port 311 electrical connection of device 31
Enter the capacitive sensing electrode 322 of the electrical connection of delivery outlet 312, controller 31 further includes:
Acquisition module 313, for when detecting short circuited inductance electric pole short circuit 321, according to pre-set number of activities
The capacitance of capacitive sensing electrode 322 is acquired, generates capacitance array, number of activities represent acquisition capacitive sensing electrode 322
Number;
Judgment module 314, for according to capacitance array judge it is indoor whether leak, generate judging result information, judge
Result information includes leak and water-tight.
Indoor water-leakage detecting system provided by the invention, by set short circuited inductance electrode and capacitive sensing electrode respectively with
The first general input/output port electrical connection of controller, when short circuit occurs for short circuited inductance electrode, controller multi collect capacitance
The capacitance of induction electrode, generate capacitance array, according to capacitance array judge interior whether leak, so as to fulfill precisely sentencing
It is disconnected whether leak, prevent erroneous judgement.
Example IV
As shown in figure 4, Fig. 4 is a kind of structural representation for indoor water-leakage detecting system that alternative embodiment of the present invention provides
Figure, the system of example IV is corresponding with the method for embodiment two, therefore the part identical with embodiment two repeats no more.This is
System includes:The water detection device 42 of controller 41 and setting on the ground, water detection device 42 include at least one with controlling
The short circuited inductance electrode 421 and general with the second of controller 41 of the first general input/output port 411 electrical connection of device 41 processed
The capacitive sensing electrode 422 that input/output port 412 is electrically connected, controller 41 further include:
Acquisition module 413, for when detecting the short circuit of short circuited inductance electrode 421, according to pre-set number of activities
The capacitance of capacitive sensing electrode 422 is acquired, generates capacitance array, number of activities represent acquisition capacitive sensing electrode 422
Number;
Computing module 414 for calculating standard deviation according to capacitance array, generates variance yields;
Judging submodule 415, it is indoor for leakage for when variance yields is more than or equal to pre-set variance threshold values, judging
Water.
Alarm module 416, for when judging result information is leak, sending water leakage alarm signal, and into control room
The solenoid valve that is turned on and off of water-main send closing control signal.
Indoor water-leakage detecting system provided by the invention, by set short circuited inductance electrode and capacitive sensing electrode respectively with
The first general input/output port electrical connection of controller, when short circuit occurs for short circuited inductance electrode, controller multi collect capacitance
The capacitance of induction electrode, generate capacitance array, according to capacitance array judge interior whether leak, so as to fulfill precisely sentencing
It is disconnected whether leak, prevent erroneous judgement.Meanwhile alarm signal is sent to user by alarm module and prompts user, and to setting
Solenoid valve on water-main sends closing control signal, and control solenoid valve closes, avoids causing water resource waste.
Embodiment five
Fifth embodiment of the invention provides a kind of nonvolatile computer storage media, and the computer storage media is deposited
Computer executable instructions are contained, which can perform the indoor water-leakage in above-mentioned any means embodiment
Detection method.
Embodiment six
As shown in figure 5, the electronic equipment of execution indoor water-leakage detection method that Fig. 5, which is sixth embodiment of the invention, to be provided
Hardware architecture diagram mainly includes:At least one processor 51;And communicated to connect at least one processor 51
Memory 52;Wherein, the memory 52 is stored with the instruction that can be performed by a processor 51, instructs by least one processing
Device 51 performs, so that at least one processor 51 is able to carry out method flow as Figure 1-Figure 4.
Performing the electronic equipment of indoor water-leakage detection can also include:Input unit 53 and output device 54.
Processor 51, memory 52, input unit 53 and output device 54 can be connected by bus or other modes,
In Fig. 5 for being connected by bus.
Memory 52 is used as a kind of non-volatile computer readable storage medium storing program for executing, available for storing non-volatile software journey
Sequence, non-volatile computer executable program and module, as the indoor water-leakage detection method in the embodiment of the present application is corresponding
Program instruction/module, for example, controller 31, the first general input/output port shown in Fig. 1-method flow shown in Fig. 4, Fig. 3
311st, the second general input/output port 312, acquisition module 313, judgment module 314, water detection device 32, short circuited inductance electrode
321 and capacitive sensing electrode 322.Processor 51 is by running the non-volatile software program being stored in memory 52, instruction
And module, so as to perform various functions application and data processing, that is, realize the indoor water-leakage detection side in above-described embodiment
Method.
Memory 52 can include storing program area and storage data field, wherein, storing program area can storage program area,
At least one required application program of function;Storage data field can store the number for performing and being created during indoor water-leakage detection method
According to etc..In addition, memory 52 can include high-speed random access memory, nonvolatile memory can also be included, such as extremely
A few disk memory, flush memory device or other non-volatile solid state memory parts.In some embodiments, memory
52 is optional including relative to the remotely located memory of processor 51, these remote memories can pass through network connection to interior
Water-leakage detecting system.The example of above-mentioned network include but not limited to internet, intranet, LAN, mobile radio communication and
A combination thereof.
Input unit 53 can receive input user click and generate with the user setting of indoor water-leakage detecting system with
And the signal input that function control is related.Output device 54 may include that display screen etc. shows equipment.
It is stored in memory 52 in one or more of modules, is run when by one or more processor 51
When, perform the indoor water-leakage detection method in above-mentioned any means embodiment.
The said goods can perform the method that the embodiment of the present application is provided, and has the corresponding function module of execution method and has
Beneficial effect.The not technical detail of detailed description in the present embodiment, reference can be made to the method that the embodiment of the present application is provided.
The electronic equipment of the embodiment of the present invention exists in a variety of forms, including but not limited to:
(1) mobile communication equipment:The characteristics of this kind equipment is that have mobile communication function, and to provide speech, data
It communicates as main target.This Terminal Type includes:Smart mobile phone (such as iPhone), multimedia handset, functional mobile phone and low
Hold mobile phone etc..
(2) super mobile personal computer equipment:This kind equipment belongs to the scope of personal computer, there is calculating and processing work(
Can, generally also have mobile Internet access characteristic.This Terminal Type includes:PDA, MID and UMPC equipment etc..
(3) portable entertainment device:This kind equipment can show and play multimedia content.The kind equipment includes:Audio,
Video player (such as iPod), handheld device, e-book and intelligent toy and portable car-mounted navigation equipment.
(4) server:The equipment for providing the service of calculating, the composition of server are total including processor, hard disk, memory, system
Line etc., server is similar with general computer architecture, but due to needing to provide highly reliable service, in processing energy
Power, stability, reliability, safety, scalability, manageability etc. are more demanding.
(5) other have the function of the electronic device of data interaction.
In addition, the logical order in above-mentioned memory 52 can be realized by the form of SFU software functional unit and is used as solely
Vertical product is sold or in use, can be stored in a computer read/write memory medium.Based on such understanding, this hair
The part or the part of the technical solution that bright technical solution substantially in other words contributes to the prior art can be with soft
The form of part product embodies, which is stored in a storage medium, including some instructions making
Mobile terminal (can be personal computer, server or the network equipment etc.) performs each embodiment institute of the present invention
State all or part of step of method.And aforementioned storage medium includes:USB flash disk, mobile hard disk, read-only memory (ROM, Read-
Only Memory), random access memory (RAM, Random Access Memory), magnetic disc or CD etc. are various can be with
Store the medium of program code.
The apparatus embodiments described above are merely exemplary, wherein the unit illustrated as separating component can
To be or may not be physically separate, the component shown as unit may or may not be physics list
Member, you can be located at a place or can also be distributed in multiple network element.It can be selected according to the actual needs
In some or all of module realize the purpose of the embodiment of the present invention.Those of ordinary skill in the art are not paying wound
In the case of the labour for the property made, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can
It is realized by the mode of software plus required common hardware server, naturally it is also possible to pass through hardware.Based on such understanding,
Above-mentioned technical proposal substantially in other words can be embodied the part that the prior art contributes in the form of software product,
The computer software product can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including several
Instruction, which is used, so that computer equipment (can be personal computer, server or the network equipment etc.) performs each reality
Apply the method described in certain parts of example or embodiment.
Finally it should be noted that:Above example is only to illustrate the technical solution of the embodiment of the present invention rather than it is limited
System;Although the embodiment of the present invention is described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should
Understand:It can still modify to the technical solution recorded in foregoing embodiments or to which part technical characteristic
Carry out equivalent replacement;And these modifications or replacement, various embodiments of the present invention skill that it does not separate the essence of the corresponding technical solution
The spirit and scope of art scheme.
Claims (13)
1. a kind of indoor water-leakage detection method, which is characterized in that including:
When the first universal input output for detecting at least one of the water detection device of setting on the ground and controller
During the short circuited inductance electric pole short circuit of mouthful electrical connection, according to pre-set number of activities acquire in the water detection device with
The capacitance of the capacitive sensing electrode of the second general input/output port electrical connection of the controller, generates capacitance array, institute
Number of activities are stated to represent to acquire the number of the capacitive sensing electrode;
According to the capacitance array judge it is indoor whether leak, generate judging result information, the judging result information includes
Leak and water-tight.
2. indoor water-leakage detection method as described in claim 1, which is characterized in that described to be judged according to the capacitance array
Whether leak, specifically include:
Standard deviation is calculated according to the capacitance array, generates variance yields;
When the variance yields is more than or equal to pre-set variance threshold values, judge the interior for leak.
3. indoor water-leakage detection method as claimed in claim 2, which is characterized in that described to be calculated according to the capacitance array
Standard deviation, specially:
The standard deviation is calculated using following formula:
In formula, S is standard deviation, and n is number of samples, XiFor i-th of sample data, X is the average value of n sample data.
4. such as claim 1-3 any one of them indoor water-leakage detection methods, which is characterized in that described according to the capacitance
Array judge it is indoor whether leak, generate judging result information, further include later:
When the judging result information is leak, water leakage alarm signal is sent, and open to the control indoor water-main
Or the solenoid valve closed sends closing control signal.
5. a kind of indoor water-leakage detecting system, which is characterized in that including:The water detection dress of controller and setting on the ground
It puts, the water detection device includes at least one short circuit sense being electrically connected with the first general input/output port of the controller
Electrode and the capacitive sensing electrode being electrically connected with the second general input/output port of the controller are answered, the controller is also
Including:
Acquisition module, for when detecting the short circuited inductance electric pole short circuit, institute to be acquired according to pre-set number of activities
The capacitance of capacitive sensing electrode is stated, generates capacitance array, the number of activities represent to acquire the capacitive sensing electrode
Number;
Judgment module, for according to the capacitance array judge it is indoor whether leak, generate judging result information, the judgement
Result information includes leak and water-tight.
6. indoor water-leakage detecting system as claimed in claim 5, which is characterized in that the judgment module includes:
Computing module for calculating standard deviation according to the capacitance array, generates variance yields;
Judging submodule, it is described indoor for leakage for when the variance yields is more than or equal to pre-set variance threshold values, judging
Water.
7. indoor water-leakage detecting system as claimed in claim 6, which is characterized in that the computing module is additionally operable to:
The standard deviation is calculated using following formula:
In formula, S is standard deviation, and n is number of samples, XiFor i-th of sample data, X is the average value of n sample data.
8. such as claim 5-7 any one of them indoor water-leakage detecting systems, which is characterized in that the controller further includes:
Alarm module, for when the judging result information is leak, sending water leakage alarm signal, and to controlling the interior
The solenoid valve that is turned on and off of water-main send closing control signal.
9. a kind of storage medium, which is characterized in that the storage medium stores computer instruction, when computer performs the calculating
When machine instructs, for performing all steps such as Claims 1 to 4 any one of them indoor water-leakage detection method.
10. a kind of electronic equipment, which is characterized in that including:
At least one processor;And
The memory being connect at least one processor communication;Wherein,
The memory is stored with the instruction that can be performed by one processor, and described instruction is by least one processor
It performs, so that at least one processor can:
When the first universal input output for detecting at least one of the water detection device of setting on the ground and controller
During the short circuited inductance electric pole short circuit of mouthful electrical connection, according to pre-set number of activities acquire in the water detection device with
The capacitance of the capacitive sensing electrode of the second general input/output port electrical connection of the controller, generates capacitance array, institute
Number of activities are stated to represent to acquire the number of the capacitive sensing electrode;
According to the capacitance array judge it is indoor whether leak, generate judging result information, the judging result information includes
Leak and water-tight.
11. electronic equipment as claimed in claim 10, which is characterized in that described to judge whether to leak according to the capacitance array
Water specifically includes:
Standard deviation is calculated according to the capacitance array, generates variance yields;
When the variance yields is more than or equal to pre-set variance threshold values, judge the interior for leak.
12. electronic equipment as claimed in claim 11, which is characterized in that described that standard deviation is calculated according to the capacitance array
Difference, specially:
The standard deviation is calculated using following formula:
In formula, S is standard deviation, and n is number of samples, XiFor i-th of sample data, X is the average value of n sample data.
13. such as claim 10-12 any one of them electronic equipments, which is characterized in that described according to the capacitance array
Judge it is indoor whether leak, generate judging result information, further include later:
When the judging result information is leak, water leakage alarm signal is sent, and open to the control indoor water-main
Or the solenoid valve closed sends closing control signal.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711394967.2A CN108181056B (en) | 2017-12-21 | 2017-12-21 | Indoor water leakage detection method and system, storage medium and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201711394967.2A CN108181056B (en) | 2017-12-21 | 2017-12-21 | Indoor water leakage detection method and system, storage medium and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN108181056A true CN108181056A (en) | 2018-06-19 |
CN108181056B CN108181056B (en) | 2020-10-27 |
Family
ID=62546890
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201711394967.2A Active CN108181056B (en) | 2017-12-21 | 2017-12-21 | Indoor water leakage detection method and system, storage medium and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN108181056B (en) |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN109597058A (en) * | 2018-12-21 | 2019-04-09 | 上海科勒电子科技有限公司 | Method for microwave measurement, electronic equipment and the storage medium of induction tap |
CN110940464A (en) * | 2018-09-25 | 2020-03-31 | 宁波方太厨具有限公司 | Water leakage detection method and water leakage detection device |
CN111724575A (en) * | 2020-07-27 | 2020-09-29 | 九牧厨卫股份有限公司 | Capacitive overflow detection alarm method |
Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6639517B1 (en) * | 2002-09-30 | 2003-10-28 | James Chapman | Leak detection mat and system |
CN201820110U (en) * | 2010-10-25 | 2011-05-04 | 张浩达 | Intelligent water leakage prevention controller |
CN102840883A (en) * | 2012-09-19 | 2012-12-26 | 南京大学 | Intelligent sensor network-based emergency tunnel defect monitoring method and intelligent sensor network-based emergency tunnel defect monitoring system |
JP2015099125A (en) * | 2013-11-20 | 2015-05-28 | 大和ハウス工業株式会社 | Water leakage determination device and water leakage determination method |
CN205263533U (en) * | 2015-11-04 | 2016-05-25 | 周口师范学院 | Intellectuality processing system that leaks |
CN205540159U (en) * | 2016-01-25 | 2016-08-31 | 胡宇祥 | Intelligence house leak protection water system based on thing networking |
CN106125606A (en) * | 2016-07-14 | 2016-11-16 | 宁波顺源电子科技有限公司 | A kind of preventing water leakage protection system |
CN107314250A (en) * | 2017-08-21 | 2017-11-03 | 张嘉睿 | A kind of indoor water-leakage monitoring, alarming and control device and method |
-
2017
- 2017-12-21 CN CN201711394967.2A patent/CN108181056B/en active Active
Patent Citations (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6639517B1 (en) * | 2002-09-30 | 2003-10-28 | James Chapman | Leak detection mat and system |
CN201820110U (en) * | 2010-10-25 | 2011-05-04 | 张浩达 | Intelligent water leakage prevention controller |
CN102840883A (en) * | 2012-09-19 | 2012-12-26 | 南京大学 | Intelligent sensor network-based emergency tunnel defect monitoring method and intelligent sensor network-based emergency tunnel defect monitoring system |
JP2015099125A (en) * | 2013-11-20 | 2015-05-28 | 大和ハウス工業株式会社 | Water leakage determination device and water leakage determination method |
CN205263533U (en) * | 2015-11-04 | 2016-05-25 | 周口师范学院 | Intellectuality processing system that leaks |
CN205540159U (en) * | 2016-01-25 | 2016-08-31 | 胡宇祥 | Intelligence house leak protection water system based on thing networking |
CN106125606A (en) * | 2016-07-14 | 2016-11-16 | 宁波顺源电子科技有限公司 | A kind of preventing water leakage protection system |
CN107314250A (en) * | 2017-08-21 | 2017-11-03 | 张嘉睿 | A kind of indoor water-leakage monitoring, alarming and control device and method |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110940464A (en) * | 2018-09-25 | 2020-03-31 | 宁波方太厨具有限公司 | Water leakage detection method and water leakage detection device |
CN109597058A (en) * | 2018-12-21 | 2019-04-09 | 上海科勒电子科技有限公司 | Method for microwave measurement, electronic equipment and the storage medium of induction tap |
CN109597058B (en) * | 2018-12-21 | 2021-06-22 | 上海科勒电子科技有限公司 | Microwave measuring method for induction tap, electronic equipment and storage medium |
CN111724575A (en) * | 2020-07-27 | 2020-09-29 | 九牧厨卫股份有限公司 | Capacitive overflow detection alarm method |
CN111724575B (en) * | 2020-07-27 | 2022-07-19 | 九牧厨卫股份有限公司 | Capacitive overflow detection alarm method |
Also Published As
Publication number | Publication date |
---|---|
CN108181056B (en) | 2020-10-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106527664B (en) | Self-service terminal energy-saving control method and device | |
CN108181056A (en) | Indoor water-leakage detection method, system, storage medium and electronic equipment | |
CN109976506A (en) | Awakening method, storage medium and the robot of a kind of electronic equipment | |
CN104035321B (en) | The screen control method of intelligent watch and intelligent watch | |
CN107366834A (en) | Water pipe leakage detection method, storage medium and electronic equipment | |
CN105635490A (en) | Mobile terminal-based proximity detection control method and system | |
CN208093873U (en) | A kind of intelligent socket, the terminal device and control system for controlling intelligent socket | |
CN110366721A (en) | A kind of electronic equipment, control method and the storage medium of TypeCUSB interface | |
CN108107401B (en) | Cover opening detection method based on smart meter and smart meter | |
CN106814908A (en) | Instruction acquisition method and device for touch screen | |
CN104166510B (en) | A kind of method utilizing upset terminal to control to realize terminal device | |
CN105559144A (en) | Electronic cigarette and display assembly used for same | |
CN203413767U (en) | Air conditioner and control device and system thereof | |
CN105892609B (en) | A kind of method and intelligent terminal of terminal booting and identification memory card synchronous operation | |
CN102869078A (en) | Transparent screen simulating method and mobile terminal | |
CN205027743U (en) | Running water detection device | |
CN103544809A (en) | Method for detecting fatigue state of user | |
CN105628058B (en) | Capacitance type detector, method and system | |
CN107042166A (en) | Method and device for controlling shower head and shower head | |
US20140337656A1 (en) | Energy management system | |
CN205608109U (en) | Power consumption on -site terminal intelligent test appearance | |
CN207302157U (en) | A kind of fingerprint with access control device is checked card attendance recorder | |
CN107040955A (en) | Power consumption state identification method, device and the electronic equipment of terminal | |
CN204283175U (en) | A kind of intelligent anti-theft door system based on Internet of Things | |
CN106304296A (en) | Power saving control method and device for wearable equipment and wearable equipment |
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 |