CN107503416A - The detection circuit and its detection method of closestool - Google Patents

The detection circuit and its detection method of closestool Download PDF

Info

Publication number
CN107503416A
CN107503416A CN201710879244.5A CN201710879244A CN107503416A CN 107503416 A CN107503416 A CN 107503416A CN 201710879244 A CN201710879244 A CN 201710879244A CN 107503416 A CN107503416 A CN 107503416A
Authority
CN
China
Prior art keywords
signal
capacitive sensing
module
capacitance
gesture control
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
Application number
CN201710879244.5A
Other languages
Chinese (zh)
Other versions
CN107503416B (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.)
Shenzhen Plinxinchi Technology Co.,Ltd.
Original Assignee
Zhuhai Printronics Core Chi Technology 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 Zhuhai Printronics Core Chi Technology Co Ltd filed Critical Zhuhai Printronics Core Chi Technology Co Ltd
Priority to CN201710879244.5A priority Critical patent/CN107503416B/en
Publication of CN107503416A publication Critical patent/CN107503416A/en
Application granted granted Critical
Publication of CN107503416B publication Critical patent/CN107503416B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • EFIXED CONSTRUCTIONS
    • E03WATER SUPPLY; SEWERAGE
    • E03DWATER-CLOSETS OR URINALS WITH FLUSHING DEVICES; FLUSHING VALVES THEREFOR
    • E03D5/00Special constructions of flushing devices, e.g. closed flushing system
    • E03D5/10Special constructions of flushing devices, e.g. closed flushing system operated electrically, e.g. by a photo-cell; also combined with devices for opening or closing shutters in the bowl outlet and/or with devices for raising/or lowering seat and cover and/or for swiveling the bowl
    • E03D5/105Special constructions of flushing devices, e.g. closed flushing system operated electrically, e.g. by a photo-cell; also combined with devices for opening or closing shutters in the bowl outlet and/or with devices for raising/or lowering seat and cover and/or for swiveling the bowl touchless, e.g. using sensors
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/041Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means
    • G06F3/044Digitisers, e.g. for touch screens or touch pads, characterised by the transducing means by capacitive means
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/94Electronic switching or gating, i.e. not by contact-making and –breaking characterised by the way in which the control signals are generated
    • H03K17/96Touch switches
    • H03K17/962Capacitive touch switches

Abstract

The present invention discloses the detection circuit and its detection method of a kind of closestool.The detection circuit includes at least one first capacitive sensing device, at least one second capacitive sensing device, capacitive sensing module, the first oscillator, data conversion module, gesture control module and bath module, first capacitive sensing device and the second capacitive sensing device send sensed capacitance signal to capacitive sensing module respectively, and the first frequency of oscillation of capacitive sensing module detection capacitance signal, data conversion module output digit signals are to gesture control module, and gesture control module sends a control signal to bath module.The detection method can be washed by water by the size of human body gesture control closestool.The present invention can automatically go to sense the change of external environment, can carry out accurate judgement to actions such as the gestures of human body, realize the operation of human body dynamic gesture control flushing toiler by being provided with multiple capacitive sensing devices on closestool.

Description

The detection circuit and its detection method of closestool
Technical field
The present invention relates to closestool field of intelligent control technology, specifically, being related to a kind of closestool based on capacitive sensing Detection circuit and the circuit detection method.
Background technology
In the prior art, in order that the working automation of the closestool body to go to toilet, traditional technology are on closestool Magnetic valve is connected come what is realized by infrared sensing switch, infrared sensing switch is mainly human body pyroelectricity infrared sensor and electricity Source IC management and control.Human body is because there is constant body temperature, so the infrared ray of specific wavelength can be sent, passive type infrared probe is exactly to detect The infrared ray of human-body emitting and be operated, the infrared ray of human-body emitting is gathered in infrared induction source.Infrared induction source is led to Frequently with pyroelectricity element, this element will lose charge balance when receiving human infrared radiation temperature and changing, Outwards release electric charge, subsequent conditioning circuit just can trigger switch actions after handling after testing.
When human body enters in the infrared spectral range of closestool, infrared sensor detects the change of human body infrared spectrum, leads to Signal after the micro computer processing crossed in integrated circuit is sent to impulse electromagnetic valve, and magnetic valve receives after signal by specified instruction Valve element is opened to control closestool, if human body is constantly in induction range, will be continuously turned on;Human body once leaves induction range Afterwards, automatic delay function loads.
However, existing infrared sensing switch launches the directional signal that infrared signal is specific direction, closestool can only be detected Whether there is the information of human body before device, and need exposed infrared induction head, and cannot be distinguished by size bath, distance of reaction deficiency, Poor user experience.In addition, infrared signal can not penetrate ceramics, it is therefore desirable to set perforate on the ceramic structure or be arranged in Ability normal work beyond ceramic structure, adds and manufactures and designs complexity and cost.
The content of the invention
The main object of the present invention be to provide it is a kind of can not only be by the bath size and energy of gesture control closestool Enough detection circuits for reducing the closestool using power consumption.
It can not only pass through the bath size and energy of gesture control closestool it is a further object of the present invention to provide a kind of Enough detection methods for reducing the detection circuit using the closestool of power consumption.
In order to realize above-mentioned main purpose, the detection circuit of closestool provided by the invention includes induction module and electricity Source module, power module export electric energy to induction module, and induction module and power module are arranged at the waterproof case of closestool Inside, induction module include at least one first capacitive sensing device, at least one second capacitive sensing device, capacitive sensing module, First oscillator, data conversion module and gesture control module, the first capacitive sensing device and the second capacitive sensing device are sent out respectively Sensed capacitance signal is sent to capacitive sensing module, and capacitive sensing module detects the first frequency of oscillation of capacitance signal;Number Obtain the first frequency of oscillation that capacitive sensing module exported respectively according to modular converter and second that the first oscillator is exported is shaken Swing frequency, and data conversion module output digit signals are to gesture control module;Detection circuit also includes bath module, and gesture Control module sends a control signal to bath module.
From such scheme, by being provided with multiple capacitive sensing devices on closestool, and these capacitive sensing devices are distributed Inside the waterproof case of closestool, capacitive sensing device is used to perceive the capacitance in itself present position effective range, and will The capacitance signal sensed, which is sent to capacitive sensing module, capacitive sensing module, can gather quantization capacitance data, gesture control Module carries out judgement processing to accessed detection data, so as to carry out accurate judgement to actions such as the gestures of human body, including Wave or left and right is waved human body dynamic action of etc.ing up and down, at this moment, gesture control module can control electromagnetic water valve work operation, realization Human body dynamic gesture controls the operation of flushing toiler.Meanwhile by using the electric field characteristic that wide area is distributed in space, avoid Failure is sensed caused by variance factor.
In addition, penetrating the characteristic of ceramics by using electric field energy, it is positive, which to realize closestool ceramic structure, to be sensing Induction module is arranged on outside ceramic structure by function setting perforate, saves cost of labor.
One preferable scheme is that capacitive sensing module includes capacitance sensor and the second oscillator, capacitance sensor point The first capacitive sensing device and the capacitance signal transmitted by the second capacitive sensing device, the second oscillator detection capacitance sensor are not received On capacitance signal the first frequency of oscillation, and export the first frequency of oscillation to data conversion module.
As can be seen here, capacitive sensing device can strengthen capacitance sensor and receive capacitance signal in the effective range of electrode present position Ability, capacitance sensor can measure quantization capacitance in real time, and capacitance signal changes with the change of surrounding enviroment, and The frequency of oscillation of two oscillators output changes with the change of electric capacity, thus can obtain the surrounding enviroment change of closestool.Wherein, First oscillator is reference oscillator, and the second oscillator and reference oscillator can be LC oscillators or RC oscillators.
Further scheme is that data conversion module includes freq converting circuit and digital conversion circuit, frequency conversion electricity Road obtains the first frequency of oscillation and the second frequency of oscillation respectively, and freq converting circuit exports difference frequency signal to numeral conversion electricity Road, difference frequency signal is converted into data signal by digital conversion circuit, and digital conversion circuit sends data signal to gesture control Module.
Specifically, freq converting circuit includes frequency mixer, and frequency mixer exports the first frequency of oscillation and the second frequency of oscillation Difference, that is, the signal of high frequency is converted into the signal of low frequency, digital conversion circuit includes counter, and counter is used to count The output frequency of frequency mixer, and the output frequency is converted into data signal, gesture control module is believed accessed numeral Number data carry out judgement processing, so as to realize human body dynamic gesture control flushing toiler operation.
One preferable scheme is that bath module includes motor linkage device, motor and valve push-button for flushing water, gesture control Module sends a control signal to motor, and motor sends enabling signal to motor linkage device, and motor linkage device is sent Switching signal is to valve push-button for flushing water.
It can be seen that after gesture control module identifies the gesture of human body by internal algorithm, gesture control module can export One drive signal motor, and then cause motor motor linkage, flashing valve is pressed by motor linkage device Closestool flush operation can be achieved in button.Wherein, valve push-button for flushing water rushes button and favourable opposition button including small, passes through motor linkage The operation such as small bath or big bath can be achieved in small button or the favourable opposition button of rushing of device pressing.
In order to realize above-mentioned another object, the detection method of the detection circuit for the closestool that the present invention also provides, closestool The detection circuit of device includes at least one first capacitive sensing device, at least one second capacitive sensing device, capacitance sensor, second Oscillator, the first oscillator, data conversion module, gesture control module and bath module;Detection method includes gesture control Module judges whether capacitance sensor is in semidormancy state, and in this way, then the first capacitive sensing device, the second capacitive sensing device are distinguished The capacitance signal sensed is sent to capacitance sensor, and the of the capacitance signal on the second oscillator detection capacitance sensor One frequency of oscillation;Data conversion module obtains the first frequency of oscillation that the second oscillator exported respectively and the first oscillator institute is defeated The second frequency of oscillation gone out, and data conversion module output digit signals are to gesture control module, wherein, the first oscillator is ginseng Examine oscillator;Gesture control module obtains the detection numerical value of data signal, and whether gesture control module judges capacitance sensor Meet the condition into working condition, in this way, then capacitance sensor enters working condition, and gesture control module sends control Signal is to bath module.
From such scheme, there are two default working conditions in capacitance sensor, be semidormancy state and work respectively Make state, when capacitance sensor is in semidormancy state, by being provided with multiple capacitive sensing devices, and these electricity on closestool Hold inductor to be distributed in inside the waterproof case of closestool, capacitive sensing device is used to perceive in itself present position effective range Capacitance, and the capacitance signal sensed is sent to capacitive sensing module, capacitive sensing module, which can gather, quantifies electric capacity number According to gesture control module carries out judgement processing to accessed detection data, accurate so as to be carried out to actions such as the gestures of human body Really judge, including wave or left and right is waved human body dynamic action of etc.ing up and down, at this moment, the controllable electromagnetic water valve work of gesture control module Run, realize the operation of gesture control flushing toiler.Meanwhile by using the electric field characteristic that wide area is distributed in space, keep away Exempt to sense failure caused by variance factor.
Further scheme is that the first capacitive sensing device sends the first capacitance signal to capacitance sensor, the second electric capacity sense Device is answered to send the second capacitance signal to capacitance sensor;Gesture control module obtains the of data signal according to the first capacitance signal One detection numerical value, gesture control module obtain the second detection numerical value of data signal according to the second capacitance signal.
It can be seen that capacitance sensor is in semidormancy state after initialization, and the number of data is obtained at per moment Much smaller than working condition, and capacitance sensor is mostly in semidormancy state, so, power consumption is create a further reduction, at this moment, Capacitance sensor will obtain the capacitance signal transmitted by capacitive sensing device in real time, judge capacitance sensing by gesture control module Whether device meets the condition into working condition.
Further scheme is that gesture control module judges whether the first detection numerical value or the second detection numerical value are more than initially Reference value, in this way, it is determined that capacitance sensor meets the condition into working condition.
Further scheme is after determining that capacitance sensor is in semidormancy state, and gesture control module obtains numeral letter Number detection numerical value produce initial reference value;First detection numerical value or second are detected numerical value and initial reference by gesture control module Value produces the first comparative result after being compared, and judges the first detection numerical value or the second detection numerical value according to the first comparative result Whether initial reference value is more than;If judged result is no, it is determined that capacitance sensor is unsatisfactory for the condition into working condition.
It can be seen that because capacitance sensor is entering before semidormancy state the process for having an initialization, capacitance sensor Enter semidormancy state after initialization, will be set, at this moment, gesture control module will get a data signal Detection numerical value, and the detection numerical value is predefined for initial reference value, then, gesture control module can obtain the inspection at newest moment Numerical value is surveyed, and the detection numerical value that the newest moment is got is compared with initial reference value, so as to judge that capacitance sensor is The no condition met into working condition.
Further scheme is, when gesture control module determines that capacitance sensor is unsatisfactory for into the condition of working condition, Gesture control module obtains the detection numerical value of new data signal, and the detection numerical value of the data signal newly obtained is joined with initial Examine and the second comparative result is produced after value is compared, and judge whether capacitance sensor meets again according to the second comparative result Into the condition of working condition.
It can be seen that as gesture control module determine that capacitance sensor is unsatisfactory for the condition into working condition when, will start new One wheel detection work, gesture control module reacquire a newest moment detection numerical value, and by the detection numerical value again with Initial reference value is compared, and goes to judge whether capacitance sensor meets to enter working condition again according to result of the comparison Condition.
Further scheme is, when it is determined that capacitance sensor is in running order, if the first capacitive sensing device is sensed To capacitance signal gradually die down, and the capacitance signal that is sensed of the second capacitive sensing device gradually becomes strong, then capacitance sensor The first control signal is sent to bath module;If the capacitance signal that the second capacitive sensing device is sensed gradually dies down, and first The capacitance signal that capacitive sensing device is sensed gradually becomes strong, then capacitance sensor sends the second control signal to bath module.
Specifically, the first capacitive sensing device can be attached to the capacitance electrode on the left of closestool tank inner wall, the second electric capacity Inductor can be attached to the capacitance electrode on the right side of closestool tank inner wall, when the hand of user is close to capacitive sensing device, Capacitance signal on capacitive sensing device can change, and the detection numerical value that gesture control module is got in real time can also change therewith Become.
It can be seen that when capacitance sensor is in running order, it can realize that closestool is washed by water by human body gesture dynamic, example Such as, when the hand of user slides from left to right, the capacitance signal on the first capacitive sensing device can gradually die down, and the second electricity The capacitance signal held on inductor can gradually strengthen, and at this moment, gesture control module is judged accessed detection data Processing, then, accurate judgement is carried out to actions such as the gestures of human body, so as to controllable electromagnetic water valve work operation, realize gesture Control the operation of flushing toiler.
Brief description of the drawings
Fig. 1 is the schematic block circuit diagram of the detection circuit embodiments of closestool of the present invention.
Fig. 2 is the FB(flow block) of the detection method embodiment of the detection circuit of closestool of the present invention.
Below in conjunction with drawings and Examples, the invention will be further described.
Embodiment
The detection circuit embodiments of closestool:
Referring to Fig. 1, the detection circuit of closestool of the invention includes induction module and power module, and power module is to sensing mould Block exports electric energy, and induction module and power module are arranged inside the waterproof case of closestool, and induction module includes at least one Individual first capacitive sensing device 10, at least one second capacitive sensing device 11, capacitive sensing module, the first oscillator 50, data turn Change the mold block and gesture control module 70.Wherein, capacitive sensing module includes the oscillator 30 of capacitance sensor 20 and second, and first The capacitive sensing device 11 of capacitive sensing device 10 and second sends sensed capacitance signal to capacitance sensor 20, capacitance sensing respectively Device 20 receives the capacitance signal transmitted by capacitive sensing device, and the second oscillator 30 detects the capacitance signal on capacitance sensor 20 First frequency of oscillation, and the first frequency of oscillation is exported to freq converting circuit 40.As can be seen here, capacitive sensing device is capacitance sensing The external antenna unit of device 20, the energy that capacitance sensor 20 receives capacitance signal in the effective range of electrode present position can be strengthened Power, capacitance sensor 20 is used to receive the capacitance signal transmitted by capacitive sensing device, and can measure quantization capacitance in real time, Capacitance signal changes with the change of surrounding enviroment, and the second oscillator 30 output frequency of oscillation with the change of capacitance and Change, that is, when capacitance changes, the output frequency of the second oscillator 30 can also occur to change accordingly, so as to The change of closestool surrounding enviroment is got, for example, the close of human hands can be sensed, and passes through gesture control module 70 The dynamic gesture of human body can be identified.
Then, data conversion module includes freq converting circuit 40 and digital conversion circuit 60, and freq converting circuit 40 divides The first frequency of oscillation that the second oscillator 30 exported and the second frequency of oscillation that the first oscillator 50 is exported, and frequency are not obtained Rate change-over circuit 40 exports difference frequency signal to digital conversion circuit 60, digital conversion circuit 60 and is converted into counting by difference frequency output signal Word signal, and digital conversion circuit 60 sends data signal to gesture control module 70, and gesture control module 70 sends control Signal processed is to bath module.Wherein, the first oscillator 50 is reference oscillator, and the second oscillator 30 and reference oscillator can be LC oscillators or RC oscillators.
In the present embodiment, by being provided with multiple capacitive sensing devices on closestool, and these capacitive sensing devices are distributed in The both sides of closestool tank inner wall, capacitive sensing device are used to perceiving capacitance in itself present position effective range, and by institute The capacitance signal of sensing is sent to capacitance sensor 20, and capacitance sensor 20 can gather quantization capacitance data, and pass through second Oscillator 30 detects the first frequency of oscillation of capacitance signal.Wherein, freq converting circuit 40 includes frequency mixer, frequency mixer output the The difference of one frequency of oscillation and the second frequency of oscillation, that is, the signal of high frequency is converted into the signal of low frequency;Numeral conversion electricity Road 60 includes counter, and counter is used for the output frequency for counting frequency mixer, and the output frequency is converted into data signal, hand Gesture control module 70 carries out judgement processing to the data of accessed data signal, so as to be acted to dynamic gesture of human body etc. Accurate judgement is carried out, realizes the operation of human body dynamic gesture control flushing toiler.At this moment, the controllable punching of gesture control module 70 The work operation of water module.Meanwhile by using the electric field characteristic that wide area is distributed in space, avoid caused by variance factor Sense failure.
In the present embodiment, the detection circuit also includes bath module, and gesture control module 70 sends a control signal to punching Water module, wherein, bath module includes motor linkage device 81, motor 80 and valve push-button for flushing water 82, gesture control module 70 Send a control signal to motor 80, and motor 80 sends enabling signal to motor linkage device 81, and motor linkage device 81 Switching signal is sent to valve push-button for flushing water 82.
Specifically, after gesture control module 70 identifies the gesture of human body, gesture control module 70 can export a drive Dynamic signal drive motor 80, and then cause the motor linkage 81 of motor 80, pressed and washed by water by motor linkage device 81 Closestool flush operation can be achieved in valve button 82.Wherein, valve push-button for flushing water 82 rushes button and favourable opposition button including small, passes through electricity Machine linkage 81 presses small button or the favourable opposition button of rushing and the operation such as small bath or big bath can be achieved.
Certainly, motor 80 can be traditional reducing motor, and at this moment, motor linkage device 81 can be eccentric wheel and reset Magnetic inductor, reset magnetic inductor and be used to reset, eccentric wheel drives two vertical links, for driving valve push-button for flushing water 82.This Outside, motor linkage device 81 can also be gear, and motor 80 drives the pillar that the gear of the left and right sides blocks, and is washed by water for driving Valve button 82.
Due to the fraction surface area of 81 covering valve push-button for flushing water 82 of motor linkage device, therefore original hand is not influenceed Dynamic flushing function, so, the detection circuit can realize that the operation of human body dynamic gesture control flushing toiler can retain horse again Original manual flush function on bucket device.
Specifically, the first capacitive sensing device 10 can be attached to the capacitance electrode on the left of closestool tank inner wall, the second electricity It can be attached to the capacitance electrode on the right side of closestool tank inner wall to hold inductor 11, when the hand of user is close to capacitive sensing device When, the capacitance signal on capacitive sensing device can change, and the detection numerical value that gesture control module 70 is got in real time also can be with Change.
Certainly, induction module also includes referring to induction electrode, can be used for excluding humidity, temperature etc. to sense with reference to induction electrode The influence answered, when temperature or humidity change, the frequency of oscillator can change therewith, due to capacitive sensing device and reference electrode An oscillator is shared, when capacitance sensor 20 senses to the external world, the first oscillator 50 can be in reference electrode and electric capacity Switch between inductor, and measure the numerical value of the two electrodes.As can be seen here, based on capacitance sensor 20 and multiple distributions Setting of the capacitive sensing device on closestool, it is possible to achieve human body dynamic gesture controls the operation of flushing toiler, capacitance sensor 20 can gather the capacitance values of quantization, such as the numerical value of human body dynamic gesture, the actions such as the dynamic gesture of human body be carried out accurate Really judge, meanwhile, it can reduce the influence that outside environmental elements bring with reference to induction electrode.
In addition, the ground wire of induction module is connected with the water in closestool water tank or the metal of electromagnetic water valve, can increase The area of ground wire, so as to increase the distance of sensing, and a buffer can be driven by using the signal on capacitive sensing device, Buffer is used for driving the ground wire of capacitive sensing module, and capacitive sensing module is added and believed with capacitive sensing device identical electricity Number, to reduce influence of the neighbouring ground wire to capacitive sensing device, so as to further increase distance of reaction.
The detection method embodiment of the detection circuit of closestool:
Referring to Fig. 2, Fig. 2 is the FB(flow block) of the detection method, first, performs step S1, gesture control module 70 judges electric capacity Whether sensor 20 is in semidormancy state, if judged result is no, then continues executing with step S1.
In the present embodiment, there are two default working conditions in capacitance sensor 20, be semidormancy state and work respectively State, and capacitance sensor 20 determines that it is in the state of one of them in different situations, for example, working as capacitance sensor 20 After initialization, it will be set and enter semidormancy state, will be by gesture when capacitance sensor 20 is in semidormancy state Control module 70 judges whether capacitance sensor 20 meets the condition into working condition.Specifically, at capacitance sensor 20 In semidormancy state, the use state in real-time detection closestool effective range has to the dynamic gesture signal of human body Effect perceives, because capacitance sensor 20 is mostly in semidormancy state, and in semidormancy state capacitance sensor 20 every The number that one moment obtained data is much smaller than working condition, therefore can greatly reduce using power consumption.
Such as determine that capacitance sensor 20 is in semidormancy state, then perform step S2, the first capacitive sensing device 10 and second Capacitive sensing device 11 respectively sends the capacitance signal sensed to capacitance sensor 20, and the second oscillator 30 detection electric capacity passes First frequency of oscillation of the capacitance signal on sensor 20, wherein, when capacitance sensor 20 is in semidormancy state, by horse Multiple capacitive sensing devices are installed on bucket device, and these capacitive sensing devices are distributed in the both sides of closestool tank inner wall, capacitive sensing Device is used to perceive the capacitance in itself present position effective range, and the capacitance signal sensed is sent to capacitance sensor 20, capacitance sensor 20 can gather quantization capacitance data, and the first vibration of capacitance signal is detected by the second oscillator 30 Frequency.
Specifically, the first capacitive sensing device 10 can be attached to the capacitance electrode on the left of closestool tank inner wall, the second electricity It can be attached to the capacitance electrode on the right side of closestool tank inner wall to hold inductor 11, and the first capacitive sensing device 10 sends the first electric capacity For signal to capacitance sensor 20, the second capacitive sensing device 11 sends the second capacitance signal to capacitance sensor 20;Gesture control mould Block 70 obtains the first detection numerical value of data signal according to the first capacitance signal, and gesture control module 70 is according to the second capacitance signal Obtain the second detection numerical value of data signal.Wherein, the quantity of the first capacitive sensing device 10 or the second capacitive sensing device 11 can be with It can also be two to be one, can be set according to closestool shape, inductor shape, sensor shape.It can be seen that electric capacity Sensor 20 is in semidormancy state after initialization, when capacitance sensor 20 is in semidormancy state, will obtain in real time Capacitance signal transmitted by capacitive sensing device, but the number that data are obtained at per moment is much smaller than working condition, due to electric capacity Sensor 20 is mostly in semidormancy state, therefore can greatly reduce using power consumption.
In step s 2, when the hand of user is close to capacitive sensing device, the capacitance signal on capacitive sensing device can be sent out It is raw to change, so as to which the capacitance signal sensed to be sent to the inspection got in real time to capacitance sensor 20, gesture control module 70 Surveying numerical value can also change therewith, and gesture control module 70 carries out judgement processing to accessed detection data, so as to human body The action such as gesture carry out whether accurate judgement capacitance sensor 20 meets condition into working condition.
In addition, induction module also includes referring to induction electrode, it can be used for excluding humidity, temperature etc. to sense with reference to induction electrode The influence answered.So, when the temperature or humidity of closestool surrounding enviroment change, the frequency of oscillator can be with temperature or wet The change of degree and change, because capacitive sensing device and reference electrode share same oscillator, when capacitance sensor 20 is to the external world When being sensed, the first oscillator 50 can switch between capacitive sensing device and induction electrode and detect the number of above-mentioned two electrode Value.As can be seen here, the setting based on capacitance sensor 20 and multiple distributed capacitor inductors on closestool, it is possible to achieve people Body dynamic gesture controls the operation of flushing toiler, and capacitance sensor 20 can gather the capacitance data of quantization, such as human body dynamic The numerical value of gesture, accurate judgement is carried out to actions such as the dynamic gestures of human body, in addition, external environment can be reduced with reference to induction electrode The influence that factor is brought, it can be made up of with reference to induction electrode good conductor material, such as copper cash, covering the printed circuit board (PCB) of copper, covering ITO Glass or plastic plate etc..
Then, step S3 is performed, freq converting circuit 40 obtains the first oscillation frequency that the second oscillator 30 is exported respectively The second frequency of oscillation that rate and the first oscillator 50 are exported, and produced according to the difference of the first frequency of oscillation and the second frequency of oscillation Raw difference frequency signal, wherein, freq converting circuit 40 includes frequency mixer, and frequency mixer exports the first frequency of oscillation and the second frequency of oscillation Difference, that is, the signal of high frequency is converted into the signal of low frequency.First oscillator 50 is reference oscillator, the second oscillator 30 and reference oscillator can be LC oscillators or RC oscillators.
Then, step S4 is performed, freq converting circuit 40 exports difference frequency signal to digital conversion circuit 60, numeral conversion electricity Difference frequency signal is converted into data signal by road 60, and digital conversion circuit 60 sends data signal to gesture control module 70, its In, freq converting circuit 40 includes counter, and counter is used for the output frequency for counting frequency mixer, and the output frequency is changed Into data signal.
Then, step S5 is performed, gesture control module 70 obtains the detection numerical value of data signal, and gesture control module 70 Judge whether capacitance sensor 20 meets the condition into working condition, gesture control module 70 is to accessed data signal Data handled, and judge whether capacitance sensor 20 meets the condition into working condition, so as to obtain closestool week The change of surrounding environment, and then the action such as dynamic gesture to human body carries out accurate judgement.
So, gesture control module 70 judges whether the first detection numerical value or the second detection numerical value are more than initial reference value, In this way, it is determined that capacitance sensor 20 meets the condition into working condition.It can be seen that capacitance sensor 20 is after initialization, It will be set into semidormancy state, after it is determined that capacitance sensor 20 is in semidormancy state, gesture control module 70 obtains The detection numerical value of data signal produces initial reference value, gesture control module 70 by the first detection numerical value or the second detection numerical value with Initial reference value produces the first comparative result after being compared, and judges the first detection numerical value or second according to the first comparative result Whether detection numerical value is more than initial reference value, that is, any one capacitive sensing device detects that capacitance increases, as human body The close state of hand, at this moment, the detection numerical value that gesture control module 70 is got in real time then may be used if greater than initial reference value Judge that capacitance sensor 20 meets the condition into working condition, i.e. capacitance sensor 20 enters working condition.Such as judged result It is no, it is determined that capacitance sensor 20 is unsatisfactory for the condition into working condition, then returns and perform step S2.
It can be seen that because capacitance sensor 20 is entering before semidormancy state the process for having an initialization, capacitance sensing Device 20 enters semidormancy state after initialization, being set, and at this moment, gesture control module 70 will get a number The detection numerical value of word signal, and the detection numerical value is predefined for initial reference value, then, gesture control module 70 can obtain newest The detection numerical value at moment, and the detection numerical value that the newest moment is got is compared with initial reference value, so as to judge electric capacity Whether sensor 20 meets the condition into working condition.
When it is determined that capacitance sensor 20 is unsatisfactory for into the condition of working condition, gesture control module 70 reacquires newly Data signal detection numerical value, and by the detection numerical value of the data signal newly obtained compared with initial reference value after produce Second comparative result, and judge whether capacitance sensor 20 meets the bar into working condition again according to the second comparative result Part.Wherein, when determining that capacitance sensor 20 is unsatisfactory for into the condition of working condition such as gesture control module 70, new one will be started The detection work of wheel, for example, gesture control module 70 reacquires the detection numerical value at a newest moment, and by the detection numerical value Again compared with initial reference value, and go to judge whether capacitance sensor 20 meets to enter work again according to result of the comparison Make the condition of state.
When such as determining that capacitance sensor 20 is met into the condition of working condition, step S6 is performed, then capacitance sensor 20 Into working condition, and capacitance sensor 20 sends a control signal to bath module.Simultaneously as electric field has in space The characteristic of wide area distribution, therefore can avoid sensing failure caused by variance factor, there is higher stability and reaction speed.
When capacitance sensor 20 is in running order, if the capacitance signal that the first capacitive sensing device 10 is sensed is gradual Die down, and the capacitance signal that the second capacitive sensing device 11 is sensed gradually becomes strong, then capacitance sensor 20 sends the first control Signal is to bath module;If the capacitance signal that the second capacitive sensing device 11 is sensed gradually dies down, and the first capacitive sensing device 10 capacitance signals sensed gradually become strong, then capacitance sensor 20 sends the second control signal to bath module.
Specifically, the first capacitive sensing device 10 can be attached to the capacitance electrode on the left of closestool tank inner wall, the second electricity It can be attached to the capacitance electrode on the right side of closestool tank inner wall to hold inductor 11, when the hand of user is close to capacitive sensing device When, the capacitance signal on capacitive sensing device can change, and the detection numerical value that gesture control module 70 is got in real time also can be with Change.
For example, when the hand of user slides from left to right, the capacitance signal on the first capacitive sensing device 10 can be gradual Die down, and the capacitance signal on the second capacitive sensing device 11 can gradually strengthen, at this moment, gesture control module 70 is to accessed Detection data carry out judgement processing, then, carry out accurate judgement to actions such as the gestures of human body, then, can draw now human body The dynamic action of gesture is to slide from left to right, left to slide control so as to send a left control signal of sliding to bath module Signal can be the small small punching operation rushed signal, realize gesture control flushing toiler;When the hand of user slides from right to left When, the capacitance signal on the first capacitive sensing device 10 can gradually strengthen, and the capacitance signal on the second capacitive sensing device 11 can be by Gradual change is weak, may recognize that the dynamic action of now human body gesture is sliding from right to left by the internal algorithm of gesture control module 70 Dynamic, so as to send a right control signal of sliding to bath module, right slip control signal can be favourable opposition signal, realize gesture Control the favourable opposition operation of flushing toiler.
Specifically, after gesture control module 70 identifies the gesture of human body by internal algorithm, gesture control module 70 A drive signal motor 80 can be exported, and then causes the motor linkage 81 of motor 80, is filled by motor linkage Put 81 pressing valve push-button for flushing water 82 and closestool flush operation can be achieved.Wherein, valve push-button for flushing water 82 includes the small button and big of rushing Button is rushed, pressing small button or the favourable opposition button of rushing by motor linkage device 81 can be achieved the operation such as small bath or big bath.
When capacitance sensor 20 is in running order, gesture control module 70 is according to the detection of the data signal newly obtained Numerical value judges whether capacitance sensor 20 meets the condition into semidormancy state, and in this way, then capacitance sensor 20 enters half-day rest Dormancy state.
At this moment, capacitance sensor 20 will continuously acquire the electric capacity letter to come transmitted by capacitive sensing device within the regular hour Number, and multiple capacitance signals are converted into multiple data signals by data conversion module, gesture control module 70 will obtain more The detection numerical value of individual data signal, and whether the size for comparing these detection numerical value is equal or be close, in this way, it is determined that electricity Hold the condition that sensor 20 meets to enter semidormancy state.It can be seen that as determined, capacitance sensor 20 is in running order, then basis The detection numerical value got within a certain period of time judges whether capacitance sensor 20 meets the condition into semidormancy state, specifically Ground, judge whether the size of these detection numerical value is equal or be close, if judged result is yes, can determine whether that closestool is not felt Know the information of human hands, then capacitance sensor 20 enters semidormancy state.Because capacitance sensor 20 is mostly in half Resting state, and capacitance sensor 20 is much smaller than working condition in the number of acquisition of each moment data in semidormancy state, Therefore can greatly reduce using power consumption.
It should be noted that the preferred embodiments of the present invention are these are only, but the design concept invented is not limited thereto, All insubstantial modifications made using this design to the present invention, are also each fallen within protection scope of the present invention.

Claims (10)

1. the detection circuit of closestool, including induction module and power module, the power module are defeated to the induction module Go out electric energy, the induction module and the power module are arranged inside the waterproof case of closestool, it is characterised in that:
The induction module includes at least one first capacitive sensing device, at least one second capacitive sensing device, capacitive sensing mould Block, the first oscillator, data conversion module and gesture control module, the first capacitive sensing device and the second electric capacity sense Device is answered to send sensed capacitance signal respectively to the capacitive sensing module, and the capacitive sensing module detects the electric capacity First frequency of oscillation of signal;
The data conversion module obtains first frequency of oscillation and described that the capacitive sensing module is exported respectively The second frequency of oscillation that one oscillator is exported, and the data conversion module output digit signals are to the gesture control mould Block;
The detection circuit also includes bath module, and the gesture control module sends a control signal to bath module.
2. the detection circuit of closestool according to claim 1, it is characterised in that:
The capacitive sensing module includes capacitance sensor and the second oscillator, and the capacitance sensor receives described first respectively The capacitance signal transmitted by capacitive sensing device and the second capacitive sensing device, second oscillator detect the capacitance sensing First frequency of oscillation of the capacitance signal on device, and first frequency of oscillation is exported to the data conversion mould Block.
3. the detection circuit of closestool according to claim 1, it is characterised in that:
The data conversion module includes freq converting circuit and digital conversion circuit, and the freq converting circuit obtains institute respectively The first frequency of oscillation and second frequency of oscillation are stated, and the freq converting circuit exports difference frequency signal to the numeral conversion Circuit;
The difference frequency signal is converted into data signal by the digital conversion circuit, and the digital conversion circuit sends the number Word signal is to the gesture control module.
4. the detection circuit of closestool according to claim 1, it is characterised in that:
The bath module includes motor linkage device, motor and valve push-button for flushing water, described in the gesture control module is sent Control signal is to the motor, and the motor sends enabling signal to the motor linkage device, and the motor linkage Device sends switching signal to the valve push-button for flushing water.
5. the detection method of the detection circuit of closestool, the detection circuit of the closestool include at least one first capacitive sensing Device, at least one second capacitive sensing device, capacitance sensor, the second oscillator, the first oscillator, data conversion module, gesture Control module and bath module;
It is characterized in that:The detection method includes:
The gesture control module judges whether the capacitance sensor is in semidormancy state, in this way, then first electric capacity Inductor, the second capacitive sensing device respectively send the capacitance signal sensed to the capacitance sensor, and described Two oscillators detect the first frequency of oscillation of the capacitance signal on the capacitance sensor;
The data conversion module obtains first frequency of oscillation and described first that second oscillator is exported respectively The second frequency of oscillation that oscillator is exported, and the data conversion module exports the data signal to the gesture control mould Block, wherein, first oscillator is reference oscillator;
The gesture control module obtains the detection numerical value of the data signal, and the gesture control module judges the electric capacity Whether sensor meets the condition into working condition, and in this way, then the capacitance sensor enters working condition, and the hand Gesture control module sends a control signal to the bath module.
6. detection method according to claim 5, it is characterised in that the then described first capacitive sensing device, described Two capacitive sensing devices respectively send the capacitance signal sensed to the capacitance sensor, including:
The first capacitive sensing device sends the first capacitance signal to the capacitance sensor, the second capacitive sensing device and sent Second capacitance signal is to the capacitance sensor;
The gesture control module obtains the first detection numerical value of the data signal, the hand according to first capacitance signal Gesture control module obtains the second detection numerical value of the data signal according to second capacitance signal.
7. detection method according to claim 5, it is characterised in that determine that the capacitance sensor meets to enter work shape The condition of state includes:
The gesture control module judges whether the first detection numerical value or the second detection numerical value are more than initial reference value, In this way, it is determined that the capacitance sensor meets the condition into working condition.
8. detection method according to claim 7, it is characterised in that the gesture control module judges first detection Whether numerical value or the second detection numerical value are more than initial reference value, including:
If it is determined that after the capacitance sensor is in semidormancy state, the gesture control module obtains the testing number of data signal Value produces the initial reference value;
The gesture control module carries out the described first detection numerical value or the second detection numerical value with the initial reference value After produce the first comparative result, and the first detection numerical value or second testing number are judged according to the first comparative result Whether value is more than the initial reference value;
If judged result is no, it is determined that the capacitance sensor is unsatisfactory for the condition into working condition.
9. detection method according to claim 8, it is characterised in that described to determine that the capacitance sensor is unsatisfactory for entering The condition of working condition, including:
When the gesture control module determines that the capacitance sensor is unsatisfactory for into the condition of working condition, the gesture control Module obtains the detection numerical value of new data signal, and by the detection numerical value of the data signal newly obtained and the initial reference value The second comparative result is produced after being compared, and judges the capacitance sensor whether again according to second comparative result Meet the condition into working condition.
10. detection method according to claim 5, it is characterised in that the then described capacitance sensor enters work shape State, including:
When it is determined that the capacitance sensor is in running order, if the capacitance signal that the first capacitive sensing device is sensed Gradually die down, and the capacitance signal that the second capacitive sensing device is sensed gradually becomes strong, then the capacitance sensor is sent First control signal is to the bath module;
If the capacitance signal that the second capacitive sensing device is sensed gradually dies down, and the first capacitive sensing device is sensed The capacitance signal arrived gradually becomes strong, then the capacitance sensor sends the second control signal to the bath module.
CN201710879244.5A 2017-09-26 2017-09-26 Detection circuit of closestool and detection method thereof Active CN107503416B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710879244.5A CN107503416B (en) 2017-09-26 2017-09-26 Detection circuit of closestool and detection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710879244.5A CN107503416B (en) 2017-09-26 2017-09-26 Detection circuit of closestool and detection method thereof

Publications (2)

Publication Number Publication Date
CN107503416A true CN107503416A (en) 2017-12-22
CN107503416B CN107503416B (en) 2023-02-28

Family

ID=60698830

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710879244.5A Active CN107503416B (en) 2017-09-26 2017-09-26 Detection circuit of closestool and detection method thereof

Country Status (1)

Country Link
CN (1) CN107503416B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107975119A (en) * 2017-12-27 2018-05-01 佛山市恒洁卫浴有限公司 A kind of dual control cistern and toilet seat and flushing method
WO2020186629A1 (en) * 2019-03-18 2020-09-24 九牧厨卫股份有限公司 Child seat ring, intelligent toilet cover and intelligent toilet
CN114033003A (en) * 2021-12-02 2022-02-11 中山东菱威力洁净科技有限公司 Automatic induction flushing device and control method thereof

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001025553A1 (en) * 1999-10-06 2001-04-12 Geberit Technik Ag Contactless flushing device for a toilet arrangement
JP2002115300A (en) * 2000-10-06 2002-04-19 Toto Ltd Toilet-bowl cleaning device
CN2651312Y (en) * 2003-06-08 2004-10-27 陈江群 Hand controller of toilet
CN101213461A (en) * 2005-06-03 2008-07-02 辛纳普蒂克斯公司 Methods and systems for detecting a capacitance using SIGMA-DELTA measurement techniques
WO2012114008A1 (en) * 2011-02-21 2012-08-30 Nanotec Solution Capacitive gestural interface with measurement mode switching
CN203174729U (en) * 2013-04-08 2013-09-04 上海科勒电子科技有限公司 Automatic waving flushing device for toilet and toilet comprising same
CN207277468U (en) * 2017-09-26 2018-04-27 珠海普林芯驰科技有限公司 The detection circuit of closestool

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2001025553A1 (en) * 1999-10-06 2001-04-12 Geberit Technik Ag Contactless flushing device for a toilet arrangement
JP2002115300A (en) * 2000-10-06 2002-04-19 Toto Ltd Toilet-bowl cleaning device
CN2651312Y (en) * 2003-06-08 2004-10-27 陈江群 Hand controller of toilet
CN101213461A (en) * 2005-06-03 2008-07-02 辛纳普蒂克斯公司 Methods and systems for detecting a capacitance using SIGMA-DELTA measurement techniques
WO2012114008A1 (en) * 2011-02-21 2012-08-30 Nanotec Solution Capacitive gestural interface with measurement mode switching
CN203174729U (en) * 2013-04-08 2013-09-04 上海科勒电子科技有限公司 Automatic waving flushing device for toilet and toilet comprising same
CN207277468U (en) * 2017-09-26 2018-04-27 珠海普林芯驰科技有限公司 The detection circuit of closestool

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107975119A (en) * 2017-12-27 2018-05-01 佛山市恒洁卫浴有限公司 A kind of dual control cistern and toilet seat and flushing method
WO2020186629A1 (en) * 2019-03-18 2020-09-24 九牧厨卫股份有限公司 Child seat ring, intelligent toilet cover and intelligent toilet
CN114033003A (en) * 2021-12-02 2022-02-11 中山东菱威力洁净科技有限公司 Automatic induction flushing device and control method thereof

Also Published As

Publication number Publication date
CN107503416B (en) 2023-02-28

Similar Documents

Publication Publication Date Title
CN107503416A (en) The detection circuit and its detection method of closestool
EP2680018B1 (en) Method and apparatus for detecting key
CN103472752B (en) A kind of infrared many gears gesture identification switch and gesture identification method
CN205486369U (en) Electronic lock that awakens up through handle and corresponding control circuit
CN105302308A (en) Intelligent wrist wearing device and automatic screen turn-on method and system therefor
CN204808288U (en) Forced induction touch -sensitive screen and display device
CN207277468U (en) The detection circuit of closestool
CN103227869A (en) Mobile terminal and method for opening camera of mobile terminal
CN104503575B (en) A kind of method for designing of low-power consumption gesture identification circuit arrangement
CN207278992U (en) The detection circuit of urinal
CN107327229A (en) A kind of intelligent door lock of low-power consumption
CN107524843A (en) The detection circuit and its detection method of urinal
CN204069011U (en) Based on the ZigBee intelligent domestic system of intelligent sensor and Voice command terminal
CN106406496A (en) Low power consumption control method for pressure-sensitive key identification device
WO2022111179A1 (en) Wireless sensing units, systems, methods, and media
CN105302376A (en) Tire pressure display device and control method thereof
CN204580009U (en) A kind of intelligent waistband
CN109917664B (en) Household management system based on wireless sensor network
CN205750330U (en) A kind of touch switch of Smart Home
CN212435669U (en) Low-power-consumption integrated circuit applied to touch key
CN205721412U (en) Intelligent distant control weak current box
CN205301900U (en) Switch
RU183103U1 (en) Wireless motion sensor
CN101995550B (en) Triggering method and device of key detection and key detection method
CN206773430U (en) A kind of built-in induction controller

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
TR01 Transfer of patent right

Effective date of registration: 20231109

Address after: B2403, Building 10, Shenzhen Bay Science and Technology Ecological Park, No. 10 Gaoxin South 9th Road, Gaoxin Community, Yuehai Street, Nanshan District, Shenzhen City, Guangdong Province, 518000

Patentee after: Shenzhen Plinxinchi Technology Co.,Ltd.

Address before: 519060 Unit A0241, Building A, Pioneer Building, Tsinghua Science Park, No. 101, Daxue Road, Tangjiawan Town, High-tech Zone, Zhuhai City, Guangdong Province

Patentee before: ZHUHAI SPACETOUCH Ltd.

TR01 Transfer of patent right