CN107092241A - A kind of device and its application method for judging user using toilet duration - Google Patents

A kind of device and its application method for judging user using toilet duration Download PDF

Info

Publication number
CN107092241A
CN107092241A CN201710398349.9A CN201710398349A CN107092241A CN 107092241 A CN107092241 A CN 107092241A CN 201710398349 A CN201710398349 A CN 201710398349A CN 107092241 A CN107092241 A CN 107092241A
Authority
CN
China
Prior art keywords
user
module
door
data
toilet
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
CN201710398349.9A
Other languages
Chinese (zh)
Other versions
CN107092241B (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.)
South China University of Technology SCUT
Original Assignee
South China University of Technology SCUT
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 South China University of Technology SCUT filed Critical South China University of Technology SCUT
Priority to CN201710398349.9A priority Critical patent/CN107092241B/en
Publication of CN107092241A publication Critical patent/CN107092241A/en
Application granted granted Critical
Publication of CN107092241B publication Critical patent/CN107092241B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/418Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM]
    • G05B19/4183Total factory control, i.e. centrally controlling a plurality of machines, e.g. direct or distributed numerical control [DNC], flexible manufacturing systems [FMS], integrated manufacturing systems [IMS], computer integrated manufacturing [CIM] characterised by data acquisition, e.g. workpiece identification
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B15/00Systems controlled by a computer
    • G05B15/02Systems controlled by a computer electric
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/26Pc applications
    • G05B2219/2642Domotique, domestic, home control, automation, smart house

Abstract

The invention discloses a kind of device and its application method for judging user using toilet duration, device includes control chip, data acquisition module, memory module, real-time clock module and wireless communication module, and data acquisition module is connected by wireless communication module with control chip;The function that control chip is used for control data acquisition module, memory module and real-time clock module is realized;Data acquisition module is used to gather the user acceleration information of door and the vibration data closed the door when acting generation at closing time;Memory module is used for the related data of data storage acquisition module and real-time clock module;Real-time clock module is used to provide real-time time and record user uses toilet duration data.The present invention closes the action of bathroom door by gathering user, judge user behavior with reference to the time and historical data acted, and then intelligent home control system is carried out automatic power save control to each electric appliances in family, reach energy-saving and emission-reduction, save the effect of user time.

Description

A kind of device and its application method for judging user using toilet duration
Technical field
The present invention relates to Smart Home technical field, more particularly to it is a kind of judge user using the device of toilet duration and Its application method.
Background technology
The period developed rapidly when global science and technology is in now, and the living standard of the mankind has been obtained significantly Improve, clothing, food, lodging and transportion -- basic necessities of life also become more convenient, while the requirement to the convenient degree of behavior in daily life is also increasingly lifted, this is very big Various electronic equipments easily and effectively are given the credit in degree.As the influence of internet thinking is increasing, " smart home " this One concept is gradually rooted in the hearts of the people, and has obtained certain application in each urban family, as following home decoration trend hair The newest direction of exhibition.But smart home is in developing stage, it is to be solved to there is a series of problems etc. in home intelligence, while Technical field obtains us there is also very big spatial value and excavated.For example, in terms of intellectuality, it should make the control of each electrical equipment System is more convenient, so as to further reduce the degree manually controlled.If the behavioural information that people makes in family can be obtained, then Intelligence system just can make a policy, and the use of each electrical equipment, makes home intelligence in control room., can be with recognition methods The distance between people and various objects is judged by various sensors, or perceives the motion state of certain object (people), therefore, The application of sensor is particularly important.
The behavior of people depends on different scenes at home.From the point of view of the use of toilet, make when system can perceive user With the behavior of toilet, just a series of power-save operation can be carried out to each electric appliances beyond toilet.Meanwhile, according to user Using the custom of toilet, system can provide the user power supply service.It is the benefit that smart home can be brought above, symbol Close the strategy of sustainable development.
The content of the invention
In order to overcome the shortcoming and deficiency that prior art is present, the present invention provides one kind and judges that user uses toilet duration Device and its application method, by gather user close bathroom door action, with reference to the time and history number acted According to judging user behavior, and then the intelligent home control system is carried out automatic power save control to each electric appliances in family, reach section Energy emission reduction, saves user time and the effect of energy.
In order to solve the above technical problems, the present invention provides following technical scheme:One kind judges that user uses toilet duration Device, including control chip, data acquisition module, memory module, real-time clock module and wireless communication module, the number It is connected according to acquisition module, memory module, real-time clock module with the control chip, the data acquisition module passes through described Wireless communication module is connected with the control chip;Wherein
The function that the control chip is used for control data acquisition module, memory module and real-time clock module is realized;
The data acquisition module be used for gather user at closing time the acceleration information of door and close the door action produce when Vibration data;
The memory module is used for the related data of data storage acquisition module and real-time clock module;
The real-time clock module is used to provide real-time time and record user uses toilet duration data.
Further, the control chip uses μ C/OS operating systems, for complete data analysis to collecting and Provide control program.
Further, the data acquisition module includes acceleration transducer and shock sensor, the acceleration sensing Device is used for the acceleration information for gathering user's door at closing time, and the shock sensor is used to gathering user and closes the door action when producing Vibration data.
Further, the acceleration transducer uses acceleration transducer GY-45-MMA8452, the shock sensor Using shock sensor YL-38.
Further, the wireless communication module uses ZigBee wireless communication modules or WiFi module or bluetooth mould Block.
Another object of the present invention be to provide it is a kind of judge user using toilet duration device application method, including under State step:
S1, judge user whether enter toilet:Data collecting module collected the user acceleration of door and pass at closing time The vibrations that door action is produced;
If S2, data acquisition module are first it is detected that door generation negativeacceleration, then detects door lock and produce vibration feelings Condition, then judge that user is using toilet;
S3, when it is determined that user use toilet in the case of, real-time clock module starts and starts timing;
S4, when user terminate use toilet when, if data acquisition module detect first door lock produce Vibration Condition, then Detect door and produce positive acceleration, then judge that user terminates to use toilet;
S5, judge that user terminates to use toilet, real-time clock module stops timing, and the time of record is sent to control The time of record is sent to memory module and stored by coremaking piece, control chip.
Further, the negativeacceleration and positive acceleration, using direction of closing the door as negativeacceleration direction, to open the door Direction is positive acceleration direction.
After adopting the above technical scheme, the present invention at least has the advantages that:
(1) by the present invention, house system can perform the switch control of electrical appliance more in an orderly manner, and then reach electricity consumption The reasonable employment of device;
(2) by the present invention, user controls idle electrical appliance manually too much, saves manpower;
(3) by the present invention, control system can effectively turn off all kinds of standby powers and reduce idle electrical appliance work( Rate, energy-saving and emission-reduction.
Brief description of the drawings
Fig. 1 is a kind of structural scheme of mechanism for judging user using the device of toilet duration of the present invention;
Fig. 2 is a kind of application method flow chart for judging user using the device of toilet duration of the present invention.
Embodiment
It should be noted that in the case where not conflicting, the feature in embodiment and embodiment in the application can phase Mutually combine, the application is described in further detail with specific embodiment below in conjunction with the accompanying drawings.
As described in Figure 1, the present invention provides a kind of device for judging user using toilet duration, and it mainly includes control core Piece, data acquisition module, memory module, real-time clock module and wireless communication module.
Data acquisition module is made up of acceleration transducer GY-45-MMA8452 and shock sensor YL-38, main to make With being to judge door open and-shut mode.
Real-time clock RTC in the embedded system that real-time clock module is built by STM32F429 provide real-time time with And user uses the data such as toilet duration.
Memory module is memory in hardware STM32F429, for storing user's corelation behaviour data.
The control system of control chip is μ C/OS operating systems, completes the data analysis to collecting and provides control Scheme.
Wireless communication module is ZigBee wireless communication modules, transmits the data collected in real time and control system is assigned Control command.
Each functions of modules is specially:Real-time data acquisition module will gather user and the acceleration of door and close the door dynamic at closing time Make the vibrations produced, and then judge the on off state of door, finally obtain the conclusion that user uses toilet;Used obtaining user After toilet conclusion, real-time clock module records the real-time time used, while timer starts timing.Used in user Behind toilet, the behavior of user is judged according to the real-time time used, stores using duration to record user under the behavior Custom, to judge after user behavior, intelligent home control system carries out battery saving mode control to each electric appliances in family.Therefore, control System processed also can more accurately each electric appliances of decision-making family switch, and then reach liberation manpower, the effect of energy-saving and emission-reduction.
Embodiment
As shown in Fig. 2 below will be to user using a toilet, and the present invention is described in detail with reference to accompanying drawing.
1st, data acquisition
Data acquisition module is affixed at the door angle above door handle side, when user toilet to be used, generation is closed the door Behavior, this module will gather user from starting to close the door to the acceleration produced by release of closing the door and vibrations, pass through simultaneously ZigBee wireless communication modules send fluctuating signal to real-time clock.
Real-time clock is received after pulse signal, records current time, while enablement count device starts timing.When user makes Switch gate behind toilet is finished, backward acceleration is produced, and then stop timing.Finally collect user and use the toilet time With duration.
2nd, analyze data and decision-making
Obtain user into toilet time after, control system judges user in health by the data stored before this Between behavior and correspondence behavior use duration, and then control free time electrical appliance to be power save mode the toilet outside.
3rd, data are stored
After user has used toilet, door opening action is carried out.At this moment terminated using toilet, criterion is to close the door under state Produce the acceleration of an opposite direction.Now, system will store time and duration of this user using toilet, so as to be control Network analysis user custom processed, makes more accurate decision-making and provides data basis.
Although an embodiment of the present invention has been shown and described, for the ordinary skill in the art, can be with Understand, can carry out a variety of equivalent changes to these embodiments without departing from the principles and spirit of the present invention Change, change, replace and modification, the scope of the present invention is limited by appended claims and its equivalency range.

Claims (7)

1. it is a kind of judge user use toilet duration device, it is characterised in that including control chip, data acquisition module, Memory module, real-time clock module and wireless communication module, the data acquisition module, memory module, real-time clock module It is connected with the control chip, the data acquisition module is connected by the wireless communication module with the control chip; Wherein
The function that the control chip is used for control data acquisition module, memory module and real-time clock module is realized;
The data acquisition module is used to gather the user acceleration information of door and the vibrations closed the door when acting generation at closing time Data;
The memory module is used for the related data of data storage acquisition module and real-time clock module;
The real-time clock module is used to provide real-time time and record user uses toilet duration data.
2. a kind of device for judging user using toilet duration as claimed in claim 1, it is characterised in that the control core Piece uses μ C/OS operating systems, for completing the data analysis to collecting and providing control program.
3. a kind of device for judging user using toilet duration as claimed in claim 1, it is characterised in that the data are adopted Collecting module includes acceleration transducer and shock sensor, and the acceleration transducer is used for the acceleration for gathering user's door at closing time Degrees of data, the shock sensor is used to gather the vibration data that user closes the door when acting generation.
4. a kind of device for judging user using toilet duration as claimed in claim 3, it is characterised in that the acceleration Sensor uses acceleration transducer GY-45-MMA8452, and the shock sensor uses shock sensor YL-38.
5. a kind of device for judging user using toilet duration as claimed in claim 1, it is characterised in that the channel radio Believe that module uses ZigBee wireless communication modules or WiFi module or bluetooth module.
6. a kind of judgement user as any one of claim 1-5 uses the application method of the device of toilet duration, It is characterised in that it includes following step:
S1, judge user whether enter toilet:Data collecting module collected user the acceleration of door and closes the door dynamic at closing time Make the vibrations produced;
If S2, data acquisition module are first it is detected that door generation negativeacceleration, then detects door lock and produce Vibration Condition, then Judge that user is using toilet;
S3, when it is determined that user use toilet in the case of, real-time clock module starts and starts timing;
S4, when user terminate use toilet when, if data acquisition module detect first door lock produce Vibration Condition, then detect Positive acceleration is produced to door, then judges that user terminates to use toilet;
S5, judge that user terminates to use toilet, real-time clock module stops timing, and the time of record is sent to control core The time of record is sent to memory module and stored by piece, control chip.
7. a kind of as claimed in claim 6 judge that user uses the application method of the device of toilet duration, it is characterised in that institute Negativeacceleration and positive acceleration are stated, using direction of closing the door as negativeacceleration direction, using direction of opening the door as positive acceleration side To.
CN201710398349.9A 2017-05-31 2017-05-31 A kind of judgement user uses the device and its application method of toilet duration Expired - Fee Related CN107092241B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710398349.9A CN107092241B (en) 2017-05-31 2017-05-31 A kind of judgement user uses the device and its application method of toilet duration

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710398349.9A CN107092241B (en) 2017-05-31 2017-05-31 A kind of judgement user uses the device and its application method of toilet duration

Publications (2)

Publication Number Publication Date
CN107092241A true CN107092241A (en) 2017-08-25
CN107092241B CN107092241B (en) 2019-05-14

Family

ID=59639733

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710398349.9A Expired - Fee Related CN107092241B (en) 2017-05-31 2017-05-31 A kind of judgement user uses the device and its application method of toilet duration

Country Status (1)

Country Link
CN (1) CN107092241B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109991868A (en) * 2019-04-18 2019-07-09 珠海格力电器股份有限公司 Household electric appliance control method and device
FR3080212A1 (en) * 2018-04-17 2019-10-18 M.F.I. ELECTRONIC HOUSING FOR RETRACTING THE HISTORY OF A BARRIER

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102132223A (en) * 2008-07-31 2011-07-20 罗伯特·博世有限公司 Sensor-based occupancy and behavior prediction method for intelligently controlling energy consumption within a building
CN103885419A (en) * 2014-03-24 2014-06-25 东华大学 Intelligent toilet information collection system
US20150088272A1 (en) * 2013-09-23 2015-03-26 Emerson Electric Co. Energy Management Based on Occupancy and Occupant Activity Level
CN204557129U (en) * 2015-04-14 2015-08-12 上海为彪汽配制造有限公司 For the time controlled system of communal bathroom
CN204883200U (en) * 2015-08-10 2015-12-16 刘继超 Synthesize smart home systems
CN106338928A (en) * 2016-11-14 2017-01-18 深圳市欧瑞博电子有限公司 Detection method and apparatus for entrance or exit state
CN106383450A (en) * 2016-11-10 2017-02-08 北京工商大学 Smart home user behavior analyzing system and smart home user behavior analyzing method based on big data
CN106707943A (en) * 2017-03-13 2017-05-24 胡渐佳 Household appliance control system based on monitoring of electronic device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102132223A (en) * 2008-07-31 2011-07-20 罗伯特·博世有限公司 Sensor-based occupancy and behavior prediction method for intelligently controlling energy consumption within a building
CN105137769A (en) * 2008-07-31 2015-12-09 罗伯特·博世有限公司 Sensor-Based Occupancy and Behavior Prediction Method for Intelligently Controlling Energy Consumption Within a Building
US20150088272A1 (en) * 2013-09-23 2015-03-26 Emerson Electric Co. Energy Management Based on Occupancy and Occupant Activity Level
CN103885419A (en) * 2014-03-24 2014-06-25 东华大学 Intelligent toilet information collection system
CN204557129U (en) * 2015-04-14 2015-08-12 上海为彪汽配制造有限公司 For the time controlled system of communal bathroom
CN204883200U (en) * 2015-08-10 2015-12-16 刘继超 Synthesize smart home systems
CN106383450A (en) * 2016-11-10 2017-02-08 北京工商大学 Smart home user behavior analyzing system and smart home user behavior analyzing method based on big data
CN106338928A (en) * 2016-11-14 2017-01-18 深圳市欧瑞博电子有限公司 Detection method and apparatus for entrance or exit state
CN106707943A (en) * 2017-03-13 2017-05-24 胡渐佳 Household appliance control system based on monitoring of electronic device

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR3080212A1 (en) * 2018-04-17 2019-10-18 M.F.I. ELECTRONIC HOUSING FOR RETRACTING THE HISTORY OF A BARRIER
EP3556637A1 (en) * 2018-04-17 2019-10-23 M.F.I. Electronic unit intended for tracing the history of a barrier
CN109991868A (en) * 2019-04-18 2019-07-09 珠海格力电器股份有限公司 Household electric appliance control method and device
CN109991868B (en) * 2019-04-18 2020-11-20 珠海格力电器股份有限公司 Household appliance control method and device

Also Published As

Publication number Publication date
CN107092241B (en) 2019-05-14

Similar Documents

Publication Publication Date Title
CN103455006B (en) Household electricity intelligent management system
CN203925102U (en) A kind of intelligent door and window control system with self-learning function
CN104166396B (en) A kind of intelligent home furnishing control method and system
CN204515369U (en) A kind of can the room air monitoring device of intelligent control of household electrical appliance
CN103399483B (en) The method and apparatus of wearable device power management
CN104641245B (en) The method, apparatus and system of detection device electricity
CN106383450A (en) Smart home user behavior analyzing system and smart home user behavior analyzing method based on big data
CN103890674A (en) Smart-home device that self-qualifies for away-state functionality
CN108401013A (en) A kind of smart home Internet of Things communication device
CN104122819A (en) User habit based intelligent household electricity utilization method and system thereof
CN105446332B (en) Automatic cleaning control method and device and electronic equipment
CN106909078A (en) Home gateway and intelligent domestic system, the control method of household electrical appliance
Majid et al. Continuous sensing on intermittent power
CN106654739B (en) A kind of socket and housed device intelligence power-off implementation method of band intelligence power down function
CN107092241A (en) A kind of device and its application method for judging user using toilet duration
CN107315352A (en) It is a kind of to judge device and its application method that whether people produces sleep behavior
CN111308531B (en) Low-power-consumption indoor and outdoor automatic switching and positioning system
CN109976184A (en) A kind of smart home system based on wireless sensor network
CN108678564B (en) Awakening method and device of intelligent lock
CN104898495A (en) Intelligent switching control method and intelligent switching control device
CN107942713A (en) A kind of intelligent domestic system
CN107239042A (en) The device and its application method of a kind of open and close status for judging door
CN110195916A (en) A kind of building air-conditioner energy-saving control system
CN110044073A (en) A kind of control method and system of water heater
CN206431768U (en) Intelligent household central control equipment and system with human body sensing

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
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20190514