CN102392482A - Flushing controller and flushing control method - Google Patents

Flushing controller and flushing control method Download PDF

Info

Publication number
CN102392482A
CN102392482A CN2011101986917A CN201110198691A CN102392482A CN 102392482 A CN102392482 A CN 102392482A CN 2011101986917 A CN2011101986917 A CN 2011101986917A CN 201110198691 A CN201110198691 A CN 201110198691A CN 102392482 A CN102392482 A CN 102392482A
Authority
CN
China
Prior art keywords
interrupt pin
measurement module
flushing
controller
distance
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN2011101986917A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN2011101986917A priority Critical patent/CN102392482A/en
Publication of CN102392482A publication Critical patent/CN102392482A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Geophysics And Detection Of Objects (AREA)

Abstract

The invention provides a flushing control method. The method comprises the following steps of: identifying the far to near and near to far moving processes of a human body by using two distance measuring modules; judging whether the using of current sanitary ware is finished or not; and after judging the using of the current sanitary ware is finished, controlling a water valve to flush. Meanwhile, the invention further provides a flushing controller for using the flushing control method to realize the control over a flushing water valve of the sanitary ware. By adopting the flushing control method and the flushing controller, the water resource can be saved effectively.

Description

Flushing controller and flushing control method
Technical field:
Relate to field of sanitary ware, particularly relate to a kind of flushing controller that is applied to sanitaryware.
Background technology:
Whether the flushing controller that is applied to sanitaryware at present all is that the infrared rays that human body sends is responded to, currently have the people using sanitaryware to discern.When recognizing that sanitaryware are current to be used by the people, flushing controller sends immediately or sends the bath control signal after time of the one section reservation of delaying time.Such flushing controller has following shortcoming: at first, flushing controller is when sending flush signal, and sanitaryware also possibly be in use, and can't accomplish real cleaning flushing; Secondly; Though some flushing controller is after time-delay a period of time, to wash again; But the time span that sanitaryware are in use be not one regular time length, and can not predict in advance, even therefore time-delay a period of time washes by water again; Also might still be in the user mode by sanitaryware, thereby can't accomplish real cleaning flushing; The 3rd, owing to rocking, use up the back, human body reason such as moves, and can cause flushing controller that the user mode of sanitaryware is made mistake identification, cause the mistake bath, repeating bath when perhaps the people leaves.Above-mentioned three shortcomings all can cause the waste of water resource.Therefore, the flushing controller that need provide a kind of people to walk bath is to avoid the waste of water resource.
Summary of the invention:
The present invention provides a kind of flushing controller that is applied to sanitaryware, can accomplish that the people walks bath, to avoid the waste of water resource.This flushing controller comprises, singlechip controller, with door module or door module, first distance-measurement module and second distance measurement module; Wherein, said singlechip controller has bath control signal output, first interrupt pin and second interrupt pin; The output of said first distance-measurement module and said second distance measurement module is connected said respectively and a door module, and said output with the door module is connected with said first interrupt pin of said singlechip controller; The output of said first distance-measurement module and said second distance measurement module is connected said respectively or the door module, and output said or the door module is connected with said second interrupt pin of said singlechip controller.
A kind of method of the control of washing by water comprises the steps: a. judges whether sanitaryware finish using, if then get into step b; Otherwise, proceed to detect; B. export the bath control signal.
The present invention has the following advantages: because the detection range of first distance-measurement module is distal to the detection range of second distance measurement module; When human body uses sanitaryware; Human body is at first detected by first distance-measurement module, and first distance-measurement module will be exported high level signal, along with coming into of human body; The second distance measurement module also detects human body, and the second distance measurement module also will be exported high level signal; Above-mentioned high level signal through with the door module with, import the INT1 pin then, singlechip controller recognized sanitaryware according to the high level signal of importing and was in user mode this moment; When sanitaryware are finished using; Human body will inevitably be gradually away from sanitaryware; The second distance measurement module will at first be surveyed less than human body in this process; The second distance measurement module is with the output low level signal, and first distance-measurement module also will be surveyed less than human body then, and first distance-measurement module is also with the output low level signal; An above-mentioned low level signal process or a door module are carried out the logic OR computing; The output signal is through INT2 pin input singlechip controller; Singlechip controller will recognize sanitaryware and be used and finish according to the low level signal of input this moment; Control bath at once then is perhaps in order to improve accuracy of identification control bath again after time-delay a period of time.So just can avoid sanitaryware in use to wash by water, perhaps effective saving of water resource is accomplished in repeatedly bath.
Description of drawings:
Fig. 1 is the flushing controller structured flowchart that technical scheme of the present invention adopts.
Fig. 2 is that the distance that human body moves when near is surveyed sketch map.
Fig. 3 be human body away from the time distance survey sketch map.
Fig. 4 is a flushing control method flow chart of the present invention.
The specific embodiment:
Referring to Fig. 1, the disclosed flushing controller of the present invention comprises: singlechip controller 1, with door module 2 or door module 3, first distance-measurement module 4 and second distance measurement module 5; Wherein, said singlechip controller 1 has bath control signal output, the first interrupt pin INT1 and the second interrupt pin INT2; The output of said first distance-measurement module 4 and said second distance measurement module 5 is connected said respectively and a door module 2, and said output with door module 2 is connected with the said first interrupt pin INT1 of said singlechip controller 1; The output of said first distance-measurement module 4 and said second distance measurement module 5 is connected said respectively or door module 3, and output said or door module 3 is connected with the said second interrupt pin INT2 of said singlechip controller 1.
Describe in conjunction with Fig. 2 and Fig. 3; First distance-measurement module 4 all can be sent ultrasonic wave or infrared signal with 5 of second distance measurement modes;, signal will be reflected after running into human body; First distance-measurement module 4 just can judge whether that human body is in its investigative range, exports high level signal then respectively after receiving reflected signal with second distance measurement module 5.Referring to Fig. 2, wherein, the detection range of first distance-measurement module 4 is distal to the detection range of second distance measurement module 5, and therefore first distance-measurement module 4 can at first be sensed human body, at this moment, and first distance-measurement module, 4 output high level signals; Further move nearly sanitaryware along with human body; Second distance measurement module 5 also can be sensed human body; At this moment; Second distance measurement module 5 is also exported high level signal, and above-mentioned high level signal is through carrying out logic and operation with door module 2, and the output signal is through INT1 pin input singlechip controller 1.Singlechip controller 1 detects the signal that receives on the INT1 pin, if be high level signal, then identification sanitaryware this moment are in use state.
Referring to Fig. 3, when sanitaryware are finished using, the people knows from experience and leaves sanitaryware from the near to the remote, and second distance measurement module 5 can at first be sensed human body and leave its investigative range in this process, at this moment, and second distance measurement module 5 output low level signals; Along with human body gradually away from, shift out the investigative range of first distance-measurement module 4 when human body after, first distance-measurement module 4 is the output low level signal also, above-mentioned low level signal through or door after a module carries out exclusive disjunction, input INT2 pin.The signal that singlechip controller 1 detects on the INT2 pin is a low level signal; And the signal on the INT1 pin becomes low level by high level; Then identification sanitaryware this moment are finished using, and output bath control signal, output bath control signal after a period of time of perhaps delaying time.Water valve carries out flush operation according to the bath control signal of output.
Referring to Fig. 4, Fig. 4 is the flow chart of flushing control method of the present invention, and this method comprises the steps:
Step 10: flushing controller detects the signal on the first interrupt pin INT1.
Whether first distance-measurement module 4 is surveyed respectively with second distance measurement module 5 has human body to get into its investigative range separately, if having, then exports high level signal respectively.The high level signal of output with door module 2 in carry out and logical operation, then through INT1 pin input singlechip controller 1.The signal that singlechip controller 1 detects on the first interrupt pin INT1.
Step 20: singlechip controller 1 judges whether the signal on the first interrupt pin INT1 is high level signal.
Signal on 1 pair of INT1 pin of singlechip controller judges, if for high level signal then get into step 30, otherwise gets into step 10.
Step 30: judge that sanitaryware are in use, and begin to detect the signal level that the INT2 pin receives.
Singlechip controller 1 judges that according to the high level signal that receives on the INT1 pin sanitaryware are in the use at present, begins to detect the signal level that the INT2 pin receives simultaneously.
Step 40: judge whether the signal level that the INT2 pin receives is low level.
First distance-measurement module 4 detects human body with second distance measurement module 5 and leaves its investigative range, then distinguishes the output low level signal, after a process or a door module 3 are carried out exclusive disjunction, and input INT2 pin.Singlechip controller 1 judges whether the signal level that the INT2 pin receives is low level, if low level then gets into step 50; Otherwise continuation detects the level of signal on the INT2 pin.
Step 50: singlechip controller 1 judgement sanitaryware are finished using, and start back off timer.
Singlechip controller 1 is judged that sanitaryware are current and is finished using, and then starts back off timer and gets into step 60.
Step 60: judge whether then timer.
Whether then singlechip controller 1 judges timer, if then then get into step 70; Otherwise continue to detect in step 60.
Step 70: singlechip controller 1 output bath control signal.
In this step, singlechip controller 1 output bath control signal, method finishes.
The action that human body produced when flushing controller provided by the invention can be discerned the sanitaryware use; Even the time spent people know from experience by as far as closely near sanitaryware, and after finishing using, the people knows from experience and from the close-by examples to those far off leaves sanitaryware; Accurately judge whether sanitaryware finish using; After finishing using, just can control and carry out flush operation, wait maloperation, effective conserve water resource thereby just wash by water or repeatedly wash by water in having avoided using.

Claims (7)

1. flushing controller is characterized in that: comprise singlechip controller, with door module or door module, first distance-measurement module and second distance measurement module; Wherein,
Said singlechip controller has bath control signal output, first interrupt pin and second interrupt pin;
The output of said first distance-measurement module and said second distance measurement module is connected said respectively and a door module, and said output with the door module is connected with said first interrupt pin of said singlechip controller;
The output of said first distance-measurement module and said second distance measurement module is connected said respectively or the door module, and output said or the door module is connected with said second interrupt pin of said singlechip controller;
Wherein, when the signal level of said singlechip controller on detecting first interrupt pin is high level, the signal level on second interrupt pin is detected, and when the signal level on second interrupt pin is low level, output bath control signal.
2. flushing controller according to claim 1, it is characterized in that: said singlechip controller also comprises timer, when the signal level on second interrupt pin is low level, starts timer, and when timer to the control signal of output bath constantly.
3. according to claim 1 or claim 2 flushing controller, it is characterized in that: said first distance-measurement module and second distance measurement module use ultrasonic signal or infrared signal to carry out distance measurement.
4. a method of using the described flushing controller of claim 1 to wash by water and control is characterized in that comprising the steps:
A. judge whether sanitaryware finish using, if then get into step b; Otherwise, proceed to detect;
B. export the bath control signal.
5. like the said method of claim 4, it is characterized in that: said step a is specially, and according to first interrupt pin of said singlechip controller and the signal level on second interrupt pin, judges whether sanitaryware finish using.
6. method as claimed in claim 5; It is characterized in that: said according to first interrupt pin of said singlechip controller and the signal level on second interrupt pin; Judging whether sanitaryware finish using is specially, and when the signal level of said singlechip controller on detecting first interrupt pin is high level, starts the detection to signal level on second interrupt pin; And when the signal level on second interrupt pin was low level, the judgement sanitaryware were finished using.
7. like any described method of claim 4 to 6, it is characterized in that: said step b is specially, and starts a timer, when said timer arrives constantly, exports the bath control signal.
CN2011101986917A 2011-06-14 2011-07-08 Flushing controller and flushing control method Pending CN102392482A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2011101986917A CN102392482A (en) 2011-06-14 2011-07-08 Flushing controller and flushing control method

Applications Claiming Priority (3)

Application Number Priority Date Filing Date Title
CN201110173630 2011-06-14
CN201110173630.5 2011-06-14
CN2011101986917A CN102392482A (en) 2011-06-14 2011-07-08 Flushing controller and flushing control method

Publications (1)

Publication Number Publication Date
CN102392482A true CN102392482A (en) 2012-03-28

Family

ID=45859854

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2011101986917A Pending CN102392482A (en) 2011-06-14 2011-07-08 Flushing controller and flushing control method

Country Status (1)

Country Link
CN (1) CN102392482A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104746616A (en) * 2013-12-27 2015-07-01 上海科勒电子科技有限公司 Automatic sensing device, automatic sensing flushing system and control method thereof
CN107326984A (en) * 2017-07-09 2017-11-07 何钊荣 A kind of public lavatory automatic flushing control system based on Multi-sensor Fusion
CN108345045A (en) * 2018-05-02 2018-07-31 曲阜市郭氏感应用品有限公司 It is a kind of applied to the high-precision inductive probe and working method of water saving ware and application
CN109577447A (en) * 2018-11-07 2019-04-05 深圳市博电电子技术有限公司 A kind of toilet seat control method, device, toilet seat and storage medium

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104746616A (en) * 2013-12-27 2015-07-01 上海科勒电子科技有限公司 Automatic sensing device, automatic sensing flushing system and control method thereof
CN107326984A (en) * 2017-07-09 2017-11-07 何钊荣 A kind of public lavatory automatic flushing control system based on Multi-sensor Fusion
CN108345045A (en) * 2018-05-02 2018-07-31 曲阜市郭氏感应用品有限公司 It is a kind of applied to the high-precision inductive probe and working method of water saving ware and application
CN109577447A (en) * 2018-11-07 2019-04-05 深圳市博电电子技术有限公司 A kind of toilet seat control method, device, toilet seat and storage medium

Similar Documents

Publication Publication Date Title
CN102392482A (en) Flushing controller and flushing control method
CN108720772A (en) Automatic washing control method and device of dish washing machine
CN103543834A (en) Gesture recognition device and method
CN101899763A (en) Method for washing clothes by using dirtiness sensor
CN101230592A (en) Auto-induction urinating bucket
US9322151B2 (en) Shower head controller
CN104563242A (en) Toilet bowl control system and method
CN104871034A (en) Motion detection sensor and automatic faucet
JP2012002033A (en) Automatic water supply device
CN108071153A (en) A kind of intellectual water closet and auto-flushing control method
CN213268193U (en) Intelligent closestool
CN102373739A (en) Automatic drainage valve of pedestal pan and working method thereof
CN110226906A (en) Turbidity detection method and detection system for dish washing machine
JP2011102783A (en) Human body detector
JP2004125399A (en) Object detector
CN103235673A (en) Touch screen detection method and touch screen
CN203905128U (en) Infrared induction double-valve water-saving device
JP5327699B2 (en) Human body detection device and urinal equipped with the same
CN101575792A (en) Intelligent-rinsing washing machine and washing method
JP5267184B2 (en) Human body detection device and urinal equipped with the same
JP2011245111A (en) Bathroom monitoring device
CN108331113A (en) A kind of seat formula closestool intelligent flushing system and its control method
CN102979157A (en) Male urinal and flushing method thereof
CN201176632Y (en) Microwave induced auto urinal
CN103866840B (en) The automatic flushing device of urinal for male, urinal for male and flushing method

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C02 Deemed withdrawal of patent application after publication (patent law 2001)
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20120328