CN105425665B - Intelligent environment-friendly barrel control method and device and intelligent environment-friendly barrel - Google Patents
Intelligent environment-friendly barrel control method and device and intelligent environment-friendly barrel Download PDFInfo
- Publication number
- CN105425665B CN105425665B CN201510765468.4A CN201510765468A CN105425665B CN 105425665 B CN105425665 B CN 105425665B CN 201510765468 A CN201510765468 A CN 201510765468A CN 105425665 B CN105425665 B CN 105425665B
- Authority
- CN
- China
- Prior art keywords
- infrared
- waveform
- receiving tube
- infrared receiving
- preset time
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000001514 detection method Methods 0.000 claims description 18
- 210000001367 artery Anatomy 0.000 claims description 3
- 210000003462 vein Anatomy 0.000 claims description 3
- 230000005611 electricity Effects 0.000 claims 1
- 238000005516 engineering process Methods 0.000 description 4
- 238000005265 energy consumption Methods 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 1
- 239000006185 dispersion Substances 0.000 description 1
- 238000002474 experimental method Methods 0.000 description 1
- 230000000977 initiatory effect Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 229920003023 plastic Polymers 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000003860 storage Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B19/00—Programme-control systems
- G05B19/02—Programme-control systems electric
- G05B19/04—Programme control other than numerical control, i.e. in sequence controllers or logic controllers
- G05B19/042—Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
- G05B19/0423—Input/output
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/25—Pc structure of the system
- G05B2219/25192—Infrared
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Electronic Switches (AREA)
- Electric Vacuum Cleaner (AREA)
Abstract
The invention discloses an intelligent environment-friendly barrel control method and device and an intelligent environment-friendly barrel. The method comprises the following steps: controlling an infrared transmitting tube to transmit an infrared signal of a first pulse waveform once every other first preset time; detecting the state of an infrared receiving tube and determining whether the infrared receiving tube acts effectively or not; when the infrared receiving tube effectively acts, controlling the infrared transmitting tube to transmit the infrared signal of the second pulse waveform once every second preset time, and continuously transmitting for a first preset time; and if the infrared receiving tube is detected to be effectively moved for the second preset times, controlling the motor to start moving and opening the upper cover of the environment-friendly barrel. According to the technical scheme provided by the invention, when people carry the garbage to approach the intelligent environment-friendly barrel, the upper cover can be automatically opened, so that people can conveniently throw the garbage into the barrel directly, and the garbage can is very convenient.
Description
Technical field
The present invention relates to control technology field, more particularly to a kind of intelligent environment protection bucket control method, device and intelligent environment protection
Bucket.
Background technology
Refuse receptacle, that is, the dustbin often said, to store rubbish, so that rubbish is effectively stored, it is unlikely
Environment is influenced in arbitrarily being abandoned.In production and living, all kinds of dustbins are using quite varied.At present, most of dustbins
Open design, people directly can throw into rubbish in dustbin, still, open dustbin, what the rubbish of the inside was distributed
Various unpleasant or pungent smell can be directly emitted in the surrounding environment outside dustbin, pollute environment, therefore, also occur setting
The dustbin of upper cover is equipped with, usually the upper cover of dustbin is gone out in closed mode to avoid the odor dispersion of rubbish, and people throw away rubbish
Need again to throw into rubbish in dustbin after opening upper cover during rubbish, the specific mode for opening upper cover, useful foot pushes pedals are opened
, also there is manual unlocking, these generally all employ the mode of Machine Design.
That is, these are provided with dustbins of upper cover at present, it is necessary to the upper cover of dustbin are opened by people, then
Rubbish could be thrown into bucket.But it is understood that people may be inconvenient to open dustbin upper cover sometimes, also just it is not easy
Rubbish is thrown into dustbin, therefore, current dustbin brings inconvenience sometimes.
The content of the invention
In view of this, the present invention provides a kind of intelligent environment protection bucket control method, device and intelligent environment protection bucket, can have
When people's carrying rubbish walks close to intelligent environment protection bucket, upper cover is automatically opened up, is convenient for people to directly throw into rubbish in bucket, it is very convenient.
To achieve the above object, the present invention provides following technical solution:
A kind of intelligent environment protection bucket control method, including:
Every the first preset time control infrared transmitting tube launch first impulse waveform infrared signal, described first
Impulse waveform includes the first predetermined number, the continuous sub-waveform of the first predeterminated frequency;The sub-waveform is the waveform of a cycle;
Detect infrared receiving tube state, determine the infrared receiving tube whether effective action;
When the infrared receiving tube effective action, the infrared transmitting tube transmitting is controlled once every the second preset time
The infrared signal of second impulse waveform, it is continuous to launch the first preset times, second impulse waveform include the second predetermined number,
The continuous sub-waveform of second predeterminated frequency;The sub-waveform is the waveform of a cycle;
If continuous second preset times detect the infrared receiving tube effective action, control motor starts to act, and beats
Open the upper cover of refuse receptacle.
Preferably, before the control infrared transmitting tube launches the infrared signal of first impulse waveform every time, also wrap
Include:
3rd preset time in advance, controls the infrared receiving tube to power on, and maintains the 4th preset time.
Preferably, it is described detection infrared receiving tube state, determine the infrared receiving tube whether effective action, including:
Before and after infrared transmitting tube transmitting once infrared signal of first impulse waveform, detect respectively
The output level of the infrared receiving tube;
It is if described infrared before and after the infrared transmitting tube launches the once infrared signal of first impulse waveform
The output level of reception pipe respectively is high level and low level, it is determined that the infrared receiving tube effective action.
Preferably, it is described detection infrared receiving tube state, determine the infrared receiving tube whether effective action, including:
It is default every the 4th when the infrared transmitting tube starts to launch the once infrared signal of first impulse waveform
Four output levels for detecting the infrared receiving tube of Time Continuous;
If the output level of the infrared receiving tube respectively is high level, low level, low level and high level, really
The fixed infrared receiving tube effective action.
Preferably, further include:
If in the 5th preset time, detect that the number of the infrared receiving tube effective action is not up to described second and presets
Number, into holding state, continues to control the infrared transmitting tube transmitting once described first every first preset time
Impulse waveform.
A kind of intelligent environment protection bucket control device, including:
First control module, for every the first preset time control infrared transmitting tube first impulse waveform of transmitting
Infrared signal, first impulse waveform include the first predetermined number, the continuous sub-waveform of the first predeterminated frequency;The sub-waveform
For the waveform of a cycle;
Detection module, for detecting the state of infrared receiving tube, determine the infrared receiving tube whether effective action;
Second control module, for when the infrared receiving tube effective action, every described in the control of the second preset time
Infrared transmitting tube launches the infrared signal of second impulse waveform, continuous to launch the first preset times, second impulse wave
Shape includes the second predetermined number, the continuous sub-waveform of the second predeterminated frequency;The sub-waveform is the waveform of a cycle;
3rd control module, if detect the infrared receiving tube effective action for continuous second preset times, control
Motor processed starts to act, and opens the upper cover of refuse receptacle.
Preferably, further include:
4th control module, for launching first pulse per secondary control infrared transmitting tube in first control module
The 3rd preset time before the infrared signal of waveform, controls the infrared receiving tube to power on, and maintain the 4th it is default when
Between.
Preferably, the detection module includes:
First detection unit, for the infrared transmitting tube transmitting once first impulse waveform infrared signal it
It is preceding and afterwards, the output level of the infrared receiving tube is detected respectively;
First determination unit, if for the infrared transmitting tube transmitting once first impulse waveform infrared signal it
Preceding and afterwards, the output level of the infrared receiving tube respectively is high level and low level, it is determined that the infrared receiver
Pipe effective action.
Preferably, the detection module includes:
Second detection unit, for starting to launch once the infrared letter of first impulse waveform in the infrared transmitting tube
Number when, every continuous four output levels for detecting the infrared receiving tube of the 4th preset time;
Second determination unit, if the output level for the infrared receiving tube respectively is high level, low level, low
Level and high level, it is determined that the infrared receiving tube effective action.
Preferably, further include:
5th control module, if the number in the 5th preset time, detecting the infrared receiving tube effective action
Not up to described second preset times, into holding state, continue to control the infrared emission every first preset time
Pipe launches once first impulse waveform.
A kind of intelligent environment protection bucket, including:
Microcontroller, the infrared transmitting tube being connected with the microcontroller, the infrared receiving tube being connected with the microcontroller,
The motor being connected with the microcontroller, and carry the refuse receptacle of upper cover;
The operation of the microcontroller includes:
Every the first preset time control infrared transmitting tube launch first impulse waveform infrared signal, described first
Impulse waveform includes the first predetermined number, the continuous sub-waveform of the first predeterminated frequency;The sub-waveform is the waveform of a cycle;
Detect infrared receiving tube state, determine the infrared receiving tube whether effective action;
When the infrared receiving tube effective action, the infrared transmitting tube transmitting is controlled once every the second preset time
The infrared signal of second impulse waveform, it is continuous to launch the first preset times, second impulse waveform include the second predetermined number,
The continuous sub-waveform of second predeterminated frequency;The sub-waveform is the waveform of a cycle;
If continuous second preset times detect the infrared receiving tube effective action, control motor starts to act, and beats
Open the upper cover of refuse receptacle.
It can be seen via above technical scheme that compared with prior art, the present invention provides a kind of control of intelligent environment protection bucket
Method, apparatus and intelligent environment protection bucket.Technical solution provided by the invention, every the control infrared transmitting tube transmitting of the first preset time
The infrared signal of first impulse waveform, if someone or object shelter from infrared signal, infrared signal can launch, this
When, infrared receiving tube just can receive the infrared signal through reflecting, therefore, by detecting the state of infrared receiving tube,
Determine the infrared receiving tube whether effective action, when the infrared receiving tube effective action, can determine someone or object
By intelligent environment protection bucket, at this time, second impulse waveform of the infrared transmitting tube transmitting is controlled every the second preset time
Infrared signal, it is continuous to launch the first preset times, if continuous second preset times detect the infrared receiving tube effective action
When, illustrate that continuous second preset times detect the infrared signal reflected to infrared receiving tube, that is to say, that You Renhuo
Object has persistently sheltered from the infrared signal of infrared transmitting tube transmitting, therefore can determine to be someone close to intelligent environment protection bucket,
At this time, automatic control motor starts to act, and opens the upper cover of refuse receptacle, so as to be convenient for people to rubbish directly throwing into intelligent environment protection
Bucket.Therefore, technical solution provided by the invention, if someone carries rubbish and walks close to intelligent environment protection bucket, intelligent environment protection bucket can be automatic
Upper cover is opened, is convenient for people to directly throw into rubbish in bucket, it is very convenient, avoid in the prior art, during user's throw away rubbish, also
It is inconvenient caused by upper cover to need to open in person, also just user can be avoided to be inconvenient to open upper cover and arbitrarily throw away rubbish in bucket
The problem of near outer, so as to be further ensured that the clean and tidy of dustbin surrounding environment.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
There is attached drawing needed in technology description to be briefly described, it should be apparent that, drawings in the following description are only this
The embodiment of invention, for those of ordinary skill in the art, without creative efforts, can also basis
The attached drawing of offer obtains other attached drawings.
Fig. 1 is a kind of flow chart of intelligent environment protection bucket control method provided in an embodiment of the present invention;
Fig. 2 is a kind of structure chart of intelligent environment protection bucket control device provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the attached drawing in the embodiment of the present invention, the technical solution in the embodiment of the present invention is carried out clear, complete
Site preparation describes, it is clear that described embodiment is only part of the embodiment of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art are obtained every other without making creative work
Embodiment, belongs to the scope of protection of the invention.
In order to make the foregoing objectives, features and advantages of the present invention clearer and more comprehensible, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is described in further detail.
Embodiment
Referring to Fig. 1, Fig. 1 is a kind of flow chart of intelligent environment protection bucket control method provided in an embodiment of the present invention.Such as Fig. 1
Shown, this method includes:
Step S101, launches the infrared letter of first impulse waveform every the first preset time control infrared transmitting tube
Number;
Specifically, first impulse waveform includes the first predetermined number, the continuous sub-waveform of the first predeterminated frequency;It is described
Sub-waveform is the waveform of a cycle.Optionally, first preset time is 200 milliseconds, and first predetermined number is 20
A, first predeterminated frequency is 38KHZ (kHz), duty cycle 1/3, in this way, infrared transmitting tube launches first arteries and veins
The infrared signal required time for rushing waveform is:T=20*1/38=0.526 milliseconds.
Step S102, detects the state of infrared receiving tube, determine the infrared receiving tube whether effective action;
Specifically, the infrared transmitting tube and infrared receiving tube that are arranged on intelligent environment protection bucket are towards identical direction, position
It is closely adjacent, so that after the infrared signal of infrared transmitting tube transmitting is sheltered from by people or object, the infrared signal that reflects
It can be received by infrared receiving tube.If specifically, infrared transmitting tube transmitting to show reference data in the step S101
Infrared signal when, when people or object block infrared light, infrared receiving tube receive a certain amount of 38KHZ wave reflections return it is red
When outer smooth, reception pipe can export a low level pulse (optional, about to maintain the low level of 0.8T-1T times) automatically.It is logical
Cross experiment to find, when infrared transmitting tube launches 10-12 waveform, infrared receiving tube produces low level pulse.
Optionally, the step S102 includes:
Before and after infrared transmitting tube transmitting once infrared signal of first impulse waveform, detect respectively
The output level of the infrared receiving tube;
It is if described infrared before and after the infrared transmitting tube launches the once infrared signal of first impulse waveform
The output level of reception pipe respectively is high level and low level, it is determined that the infrared receiving tube effective action.Namely
Say, if infrared transmitting tube transmitting once before the infrared signal of first impulse waveform, the infrared receiving tube it is defeated
It is high level to go out level, described infrared after the infrared transmitting tube launches the once infrared signal of first impulse waveform
The output level of reception pipe is low level, it is determined that the infrared receiving tube effective action.
Step S103, when the infrared receiving tube effective action, the infrared emission is controlled every the second preset time
Pipe launches the infrared signal of second impulse waveform, continuous to launch the first preset times;
Specifically, second preset time is less than first preset time, optionally, no more than described in 0.2 times
First preset time.That is, when the infrared receiving tube effective action, the frequency of the infrared transmitting tube transmitting infrared signal is controlled
Rate is accelerated.Optionally, second preset time be 25 milliseconds, first preset times be 20 times, i.e. quickly send when
Between be 500 milliseconds.Specifically, when infrared receiving tube effective action, infrared transmitting tubes transmitting one time the is controlled every 25 milliseconds
The infrared signal of two impulse waveforms, transmission frequency is slower, and continuous to launch 20 times, the used time is 500 milliseconds altogether, and the used time is shorter, hair
Send frequency slower so that the accuracy that infrared receiving tube receives is higher, and the used time is shorter and infrared signal emitting times are less, can
Save energy consumption.
Specifically, second impulse waveform includes the second predetermined number, the continuous sub-waveform of the second predeterminated frequency;It is described
Sub-waveform is the waveform of a cycle.Optionally, second predetermined number is 20, and second predeterminated frequency is 38KHZ,
Duty cycle is 1/3, in this way, the infrared signal required time that infrared transmitting tube launches second impulse waveform is:T=
20*1/38=0.526 milliseconds.That is, optional, the second impulse waveform is as the first impulse waveform.
Step S104, if continuous second preset times detect the infrared receiving tube effective action, control motor is opened
Initiating is made, and opens the upper cover of refuse receptacle;
Optionally, second preset times are 5 times.
Technical solution provided in an embodiment of the present invention, launches one time first every the first preset time control infrared transmitting tube
The infrared signal of impulse waveform, if someone or object shelter from infrared signal, infrared signal can launch, at this time, infrared to connect
Closed tube just can receive the infrared signal through reflecting, and therefore, by detecting the state of infrared receiving tube, determine described red
Outer reception pipe whether effective action, when the infrared receiving tube effective action, can determine someone or object by intelligent ring
Bucket is protected, at this time, controls the infrared transmitting tube to launch the infrared signal of second impulse waveform every the second preset time, connects
Supervention penetrates the first preset times, if continuous second preset times detect the infrared receiving tube effective action, illustrates infrared
Continuous second preset times detect the infrared signal reflected to reception pipe, that is to say, that someone or object persistently hide
The infrared signal of infrared transmitting tube transmitting has been blocked, therefore can determine to be someone close to intelligent environment protection bucket, at this time, automatic control
Motor processed starts to act, and opens the upper cover of refuse receptacle, so as to be convenient for people to directly throwing into rubbish into intelligent environment protection bucket.Therefore, originally
The technical solution provided is invented, if someone carries rubbish and walks close to intelligent environment protection bucket, intelligent environment protection bucket can automatically open up upper cover, side
Persons who happens to be on hand for an errand directly throw into rubbish in bucket, very convenient, avoid in the prior art, during user's throw away rubbish, it is also necessary to beat in person
It is inconvenient caused by upper cover to open, and also can just avoid user from being inconvenient to open upper cover and rubbish arbitrarily is thrown away asking near outside bucket
Topic, so as to be further ensured that the clean and tidy of dustbin surrounding environment.
Optionally, the technical solution that another embodiment of the present invention provides, the control is red every time by the step S101
Before outer transmitting tube launches the infrared signal of first impulse waveform, further include:
3rd preset time in advance, controls the infrared receiving tube to power on, and maintains the 4th preset time.
Specifically, controlling the infrared receiving tube time opening, and closed after opening a period of time, rather than one heads straight for
Open, therefore, it is possible to save energy consumption.Optionally, the 3rd preset time is 2T, that is, 1.502 milliseconds, the described 4th is default
Time is 4T, that is, 2.104 milliseconds.
Optionally, the technical solution that another embodiment of the present invention provides, the step S102 include:
It is default every the 4th when the infrared transmitting tube starts to launch the once infrared signal of first impulse waveform
Four output levels for detecting the infrared receiving tube of Time Continuous;
Optionally, the 4th preset time is 0.4T, i.e., 0.2104 millisecond.
If the output level of the infrared receiving tube respectively is high level, low level, low level and high level, really
The fixed infrared receiving tube effective action.
Specifically, under normal circumstances, infrared receiving tube starts to export low level during 0.5T~0.6T, and low level is held time
For 0.8T~1.0T, therefore, if infrared receiving tube exports high level in 0.4T, low level is exported in 0.8T, in 1.2T
When export low level, high level is exported in 1.6T, in other words, it is continuous four times detection infrared receiving tube output levels successively
Respectively high level, low level, low level and high level, it is determined that the infrared receiving tube effective action.
The method that (i.e. continuous four detections) infrared receiving tube output level is surveyed above by four points, can preferably arrange
Except interference, such as the interference of transparent plastic bag, ambient light and distant objects, so as to prevent from malfunctioning.
Optionally, the technical solution that another embodiment of the present invention provides, after the step S104, further includes:
If in the 5th preset time, detect that the number of the infrared receiving tube effective action is not up to described second and presets
Number, into holding state, continues to control the infrared transmitting tube transmitting once described first every first preset time
Impulse waveform.
Optionally, the 5th preset time is 500 milliseconds, i.e. infrared transmitting tube launches once infrared letter every 25 milliseconds
Number, the continuous time launched used in 20 times.Optionally, second preset times are 5 times.That is, detected in 500 milliseconds
Number to the infrared receiving tube effective action is not up to 5 times, just can interpolate that and non-user carrys out still rubbish, determine it is dry
Disturb, at this time, remove interference, into holding state, can effectively prevent motor from malfunctioning (i.e. intelligent environment protection bucket opens by mistake lid), accurately
Degree is higher.
In order to illustrate technical solution provided by the invention more fully hereinafter, corresponding to intelligent ring provided in an embodiment of the present invention
Bucket control method is protected, the present invention discloses a kind of intelligent environment protection bucket control device.
Referring to Fig. 2, Fig. 2 is a kind of structure chart of intelligent environment protection bucket control device provided in an embodiment of the present invention.Such as Fig. 2
Shown, which includes:
First control module 201, for launching first impulse wave every the first preset time control infrared transmitting tube
The infrared signal of shape, first impulse waveform include the first predetermined number, the continuous sub-waveform of the first predeterminated frequency;The son
Waveform is the waveform of a cycle;
Detection module 202, for detecting the state of infrared receiving tube, determine the infrared receiving tube whether effective action;
Optionally, the detection module 202 includes:
First detection unit, for the infrared transmitting tube transmitting once first impulse waveform infrared signal it
It is preceding and afterwards, the output level of the infrared receiving tube is detected respectively;
First determination unit, if for the infrared transmitting tube transmitting once first impulse waveform infrared signal it
Preceding and afterwards, the output level of the infrared receiving tube respectively is high level and low level, it is determined that the infrared receiver
Pipe effective action.
Second control module 203, for when the infrared receiving tube effective action, institute to be controlled every the second preset time
The infrared signal that infrared transmitting tube launches second impulse waveform is stated, it is continuous to launch the first preset times, second pulse
Waveform includes the second predetermined number, the continuous sub-waveform of the second predeterminated frequency;The sub-waveform is the waveform of a cycle;
3rd control module 204, if detect the infrared receiving tube effective action for continuous second preset times,
Control motor starts to act, and opens the upper cover of refuse receptacle.
Optionally, the intelligent environment protection bucket control device that another embodiment of the present invention provides, further includes:
4th control module, for launching first pulse per secondary control infrared transmitting tube in first control module
The 3rd preset time before the infrared signal of waveform, controls the infrared receiving tube to power on, and maintain the 4th it is default when
Between.
Optionally, the intelligent environment protection bucket control device that another embodiment of the present invention provides, the detection module 202 wrap
Include:
Second detection unit, for starting to launch once the infrared letter of first impulse waveform in the infrared transmitting tube
Number when, every continuous four output levels for detecting the infrared receiving tube of the 4th preset time;
Second determination unit, if the output level for the infrared receiving tube respectively is high level, low level, low
Level and high level, it is determined that the infrared receiving tube effective action.
Optionally, the intelligent environment protection bucket control device that another embodiment of the present invention provides, further includes:
5th control module, if the number in the 5th preset time, detecting the infrared receiving tube effective action
Not up to described second preset times, into holding state, continue to control the infrared emission every first preset time
Pipe launches once first impulse waveform.
Intelligent environment protection bucket control device provided in an embodiment of the present invention, if someone carries rubbish and walks close to intelligent environment protection bucket,
Intelligent environment protection bucket can automatically open up upper cover, be convenient for people to directly throw into rubbish in bucket, very convenient, avoid the prior art
In, during user's throw away rubbish, it is also necessary to open inconvenience caused by upper cover in person, also just user can be avoided to be inconvenient to open upper cover
And the problem of arbitrarily throwing away rubbish outside bucket nearby, so as to be further ensured that the clean and tidy of dustbin surrounding environment.
In order to protect technical solution provided by the invention more fully hereinafter, corresponding to intelligent ring provided in an embodiment of the present invention
Bucket control method is protected, the present invention discloses a kind of intelligent environment protection bucket.
Intelligent environment protection bucket provided in an embodiment of the present invention, including:
Microcontroller, the infrared transmitting tube being connected with the microcontroller, the infrared receiving tube being connected with the microcontroller,
The motor being connected with the microcontroller, and carry the refuse receptacle of upper cover;
The operation of the microcontroller includes:
Every the first preset time control infrared transmitting tube launch first impulse waveform infrared signal, described first
Impulse waveform includes the first predetermined number, the continuous sub-waveform of the first predeterminated frequency;The sub-waveform is the waveform of a cycle;
Detect infrared receiving tube state, determine the infrared receiving tube whether effective action;
When the infrared receiving tube effective action, the infrared transmitting tube transmitting is controlled once every the second preset time
The infrared signal of second impulse waveform, it is continuous to launch the first preset times, second impulse waveform include the second predetermined number,
The continuous sub-waveform of second predeterminated frequency;The sub-waveform is the waveform of a cycle;
If continuous second preset times detect the infrared receiving tube effective action, control motor starts to act, and beats
Open the upper cover of refuse receptacle.
Optionally, the intelligent environment protection bucket that another embodiment of the present invention provides, the operation of the microcontroller further include:
Before the control infrared transmitting tube launches the infrared signal of first impulse waveform every time, the 3rd is default in advance
Time, controls the infrared receiving tube to power on, and maintains the 4th preset time.
Specifically, the infrared transmitting tube and infrared receiving tube that are arranged on intelligent environment protection bucket are towards identical direction, position
It is closely adjacent, so that after the infrared signal of infrared transmitting tube transmitting is sheltered from by people or object, the infrared signal that reflects
It can be received by infrared receiving tube.
Optionally, the motor is connected with upper cover by gear, and motor, which rotates forward, opens upper cover, and upper cover is closed in reversion.
Optionally, intelligent environment protection bucket provided in an embodiment of the present invention, the microcontroller are detected the shape of infrared receiving tube
State, determine the infrared receiving tube whether effective action this operation, specifically include:
Before and after infrared transmitting tube transmitting once infrared signal of first impulse waveform, detect respectively
The output level of the infrared receiving tube;
It is if described infrared before and after the infrared transmitting tube launches the once infrared signal of first impulse waveform
The output level of reception pipe respectively is high level and low level, it is determined that the infrared receiving tube effective action.
It should be noted that intelligent environment protection bucket provided in an embodiment of the present invention, the microcontroller are detected infrared receiver
The state of pipe, determine the infrared receiving tube whether effective action this operation, can also be realized by other mode, specifically
Including:
It is default every the 4th when the infrared transmitting tube starts to launch the once infrared signal of first impulse waveform
Four output levels for detecting the infrared receiving tube of Time Continuous;
If the output level of the infrared receiving tube respectively is high level, low level, low level and high level, really
The fixed infrared receiving tube effective action.
Optionally, the intelligent environment protection bucket that another embodiment of the present invention provides, the operation of the microcontroller further include:
If in the 5th preset time, detect that the number of the infrared receiving tube effective action is not up to described second and presets
Number, into holding state, continues to control the infrared transmitting tube transmitting once described first every first preset time
Impulse waveform.
Optionally, the intelligent environment protection bucket that another embodiment of the present invention provides, the microcontroller in infrared transmitting tube and
When infrared receiving tube does not work, automatically into sleep mode, more power saving.
It can be seen via above technical scheme that compared with prior art, the present invention provides a kind of control of intelligent environment protection bucket
Method, apparatus and intelligent environment protection bucket.Technical solution provided by the invention, every the control infrared transmitting tube transmitting of the first preset time
The infrared signal of first impulse waveform, if someone or object shelter from infrared signal, infrared signal can launch, this
When, infrared receiving tube just can receive the infrared signal through reflecting, therefore, by detecting the state of infrared receiving tube,
Determine the infrared receiving tube whether effective action, when the infrared receiving tube effective action, can determine someone or object
By intelligent environment protection bucket, at this time, second impulse waveform of the infrared transmitting tube transmitting is controlled every the second preset time
Infrared signal, it is continuous to launch the first preset times, if continuous second preset times detect the infrared receiving tube effective action
When, illustrate that continuous second preset times detect the infrared signal reflected to infrared receiving tube, that is to say, that You Renhuo
Object has persistently sheltered from the infrared signal of infrared transmitting tube transmitting, therefore can determine to be someone close to intelligent environment protection bucket,
At this time, automatic control motor starts to act, and opens the upper cover of refuse receptacle, so as to be convenient for people to rubbish directly throwing into intelligent environment protection
Bucket.Therefore, technical solution provided by the invention, if someone carries rubbish and walks close to intelligent environment protection bucket, intelligent environment protection bucket can be automatic
Upper cover is opened, is convenient for people to directly throw into rubbish in bucket, it is very convenient, avoid in the prior art, during user's throw away rubbish, also
It is inconvenient caused by upper cover to need to open in person, also just user can be avoided to be inconvenient to open upper cover and arbitrarily throw away rubbish in bucket
The problem of near outer, so as to be further ensured that the clean and tidy of dustbin surrounding environment.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by
One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation
Between there are any actual relationship or order.Moreover, term " comprising ", "comprising" or its any other variant meaning
Covering non-exclusive inclusion, so that process, method, article or equipment including a series of elements not only include that
A little key elements, but also including other elements that are not explicitly listed, or further include for this process, method, article or
The intrinsic key element of equipment.In the absence of more restrictions, the key element limited by sentence "including a ...", is not arranged
Except also there are other identical element in the process, method, article or apparatus that includes the element.
Each embodiment is described by the way of progressive in this specification, what each embodiment stressed be and other
The difference of embodiment, between each embodiment identical similar portion mutually referring to.For device disclosed in embodiment
For intelligent environment protection bucket, due to its with embodiment disclosed in method part it is corresponding, so description is fairly simple, correlation
Place is referring to method part illustration.
Can directly it be held with reference to the step of method or algorithm that the embodiments described herein describes with hardware, processor
Capable software module, or the two combination are implemented.Software module can be placed in random access memory (RAM), memory, read-only deposit
Reservoir (ROM), electrically programmable ROM, electrically erasable ROM, register, hard disk, moveable magnetic disc, CD-ROM or technology
In any other form of storage medium well known in field.
The foregoing description of the disclosed embodiments, enables professional and technical personnel in the field to realize or use the present invention.
A variety of modifications to these embodiments will be apparent for those skilled in the art, as defined herein
General Principle can be realized in other embodiments without departing from the spirit or scope of the present invention.Therefore, it is of the invention
The embodiments shown herein is not intended to be limited to, and is to fit to and the principles and novel features disclosed herein phase one
The most wide scope caused.
Claims (7)
- A kind of 1. intelligent environment protection bucket control method, it is characterised in that including:Launch the infrared signal of first impulse waveform, first pulse every the first preset time control infrared transmitting tube Waveform includes the first predetermined number, the continuous sub-waveform of the first predeterminated frequency;The sub-waveform is the waveform of a cycle;Detect infrared receiving tube state, determine the infrared receiving tube whether effective action;When the infrared receiving tube effective action, the infrared transmitting tube is controlled to launch one time second every the second preset time The infrared signal of impulse waveform, continuous to launch the first preset times, second impulse waveform includes the second predetermined number, second The continuous sub-waveform of predeterminated frequency;The sub-waveform is the waveform of a cycle;If continuous second preset times detect the infrared receiving tube effective action, control motor starts to act, and opens ring Protect the upper cover of bucket;Wherein, it is described detection infrared receiving tube state, determine the infrared receiving tube whether effective action, including:When the infrared transmitting tube starts to launch the once infrared signal of first impulse waveform, every the 4th preset time Continuous four output levels for detecting the infrared receiving tube;If the output level of the infrared receiving tube respectively is high level, low level, low level and high level, it is determined that institute State infrared receiving tube effective action.
- 2. according to the method described in claim 1, it is characterized in that, the control infrared transmitting tube launches first arteries and veins every time Rush before the infrared signal of waveform, further include:3rd preset time in advance, controls the infrared receiving tube to power on, and maintains the 4th preset time.
- 3. according to the method described in claim 1, it is characterized in that, further include:If in the 5th preset time, detect that the number of the infrared receiving tube effective action is not up to described second default time Number, into holding state, continues to control the infrared transmitting tube transmitting once first arteries and veins every first preset time Rush waveform.
- A kind of 4. intelligent environment protection bucket control device, it is characterised in that including:First control module, for every the infrared of the first preset time control infrared transmitting tube first impulse waveform of transmitting Signal, first impulse waveform include the first predetermined number, the continuous sub-waveform of the first predeterminated frequency;The sub-waveform is one The waveform in a cycle;Detection module, for detecting the state of infrared receiving tube, determine the infrared receiving tube whether effective action;Second control module, for when the infrared receiving tube effective action, being controlled every the second preset time described infrared Transmitting tube launches the infrared signal of second impulse waveform, continuous to launch the first preset times, the second impulse waveform bag Include the continuous sub-waveform of the second predetermined number, the second predeterminated frequency;The sub-waveform is the waveform of a cycle;3rd control module, if detect the infrared receiving tube effective action for continuous second preset times, control electricity Machine starts to act, and opens the upper cover of refuse receptacle;Wherein, the detection module is specifically used for:When the infrared transmitting tube starts to launch the once infrared signal of first impulse waveform, every the 4th preset time Continuous four output levels for detecting the infrared receiving tube;If the output level of the infrared receiving tube respectively is high level, low level, low level and high level, it is determined that institute State infrared receiving tube effective action.
- 5. device according to claim 4, it is characterised in that further include:4th control module, for launching first impulse waveform per secondary control infrared transmitting tube in first control module Infrared signal before the 3rd preset time, control the infrared receiving tube to power on, and maintain the 4th preset time.
- 6. device according to claim 4, it is characterised in that further include:5th control module, if in the 5th preset time, detecting that the number of the infrared receiving tube effective action does not reach To second preset times, into holding state, continue to control the infrared transmitting tube hair every first preset time Penetrate once first impulse waveform.
- A kind of 7. intelligent environment protection bucket, it is characterised in that including:Microcontroller, the infrared transmitting tube being connected with the microcontroller, the infrared receiving tube being connected with the microcontroller, with institute The motor that microcontroller is connected is stated, and carries the refuse receptacle of upper cover;The operation of the microcontroller includes:Launch the infrared signal of first impulse waveform, first pulse every the first preset time control infrared transmitting tube Waveform includes the first predetermined number, the continuous sub-waveform of the first predeterminated frequency;The sub-waveform is the waveform of a cycle;Detect infrared receiving tube state, determine the infrared receiving tube whether effective action;When the infrared receiving tube effective action, the infrared transmitting tube is controlled to launch one time second every the second preset time The infrared signal of impulse waveform, continuous to launch the first preset times, second impulse waveform includes the second predetermined number, second The continuous sub-waveform of predeterminated frequency;The sub-waveform is the waveform of a cycle;If continuous second preset times detect the infrared receiving tube effective action, control motor starts to act, and opens ring Protect the upper cover of bucket;Wherein, the microcontroller performs the state of the detection infrared receiving tube, determines whether the infrared receiving tube is effectively dynamic The process of work, specifically includes:When the infrared transmitting tube starts to launch the once infrared signal of first impulse waveform, every the 4th preset time Continuous four output levels for detecting the infrared receiving tube;If the output level of the infrared receiving tube respectively is high level, low level, low level and high level, it is determined that institute State infrared receiving tube effective action.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510765468.4A CN105425665B (en) | 2015-11-10 | 2015-11-10 | Intelligent environment-friendly barrel control method and device and intelligent environment-friendly barrel |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510765468.4A CN105425665B (en) | 2015-11-10 | 2015-11-10 | Intelligent environment-friendly barrel control method and device and intelligent environment-friendly barrel |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105425665A CN105425665A (en) | 2016-03-23 |
CN105425665B true CN105425665B (en) | 2018-04-20 |
Family
ID=55503940
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510765468.4A Active CN105425665B (en) | 2015-11-10 | 2015-11-10 | Intelligent environment-friendly barrel control method and device and intelligent environment-friendly barrel |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105425665B (en) |
Families Citing this family (12)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105819130A (en) * | 2016-05-03 | 2016-08-03 | 珠海格力电器股份有限公司 | Control method of intelligent environment-friendly barrel and intelligent environment-friendly barrel |
CN106249621B (en) * | 2016-07-08 | 2019-03-15 | 珠海格力电器股份有限公司 | Control device and method for container and container |
CN106241129B (en) * | 2016-08-24 | 2019-01-25 | 珠海格力电器股份有限公司 | Garbage can and control method and device thereof |
CN107631802B (en) * | 2017-09-11 | 2020-10-09 | 深圳市沃特沃德股份有限公司 | Control method and device of passive infrared detector |
CN107906680A (en) * | 2017-10-02 | 2018-04-13 | 广东美的制冷设备有限公司 | Infrared sensor control process method, apparatus, air conditioner and readable storage medium storing program for executing |
CN109342099B (en) * | 2018-11-16 | 2022-01-28 | 上海拓牛智能科技有限公司 | Intelligent garbage can testing device, testing device combined structure and testing method |
CN110136358A (en) * | 2019-04-24 | 2019-08-16 | 安克创新科技股份有限公司 | The control method of intelligent express delivery cabinet and intelligent express delivery cabinet |
CN110554444B (en) * | 2019-09-12 | 2020-12-08 | 广州天网安防科技有限公司 | Detection method, device, detection equipment and storage medium |
CN111580175A (en) * | 2020-04-28 | 2020-08-25 | 无锡小天鹅电器有限公司 | Infrared signal processing method and device and household appliance |
CN113311268A (en) * | 2021-05-27 | 2021-08-27 | 浙江华消科技有限公司 | Method, device, equipment and medium for detecting service life of infrared emission tube |
CN113419260A (en) * | 2021-06-17 | 2021-09-21 | 阳光新能源开发有限公司 | Photovoltaic module shaking detection method and device and photovoltaic power station system |
CN113940576B (en) * | 2021-10-14 | 2023-08-15 | 上海利康消毒高科技有限公司 | Liquid outlet method of infrared non-contact liquid outlet device |
Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2509663Y (en) * | 2001-11-27 | 2002-09-04 | 林翠雯 | Infrared induction automatic opening cover control circuit for container |
CN2683598Y (en) * | 2004-01-09 | 2005-03-09 | 林翠雯 | Automatic infrared inductive opening dustbin |
KR20050033384A (en) * | 2003-10-06 | 2005-04-12 | 이상철 | Disposable Sink Filter Compositions |
CN1903681A (en) * | 2005-07-29 | 2007-01-31 | 王土根 | Garbage can having induction type automatic open close cover |
CN2889965Y (en) * | 2005-03-18 | 2007-04-18 | 王昕� | Infrared automatic-opening garbage can |
CN101381026A (en) * | 2008-09-16 | 2009-03-11 | 姜鹏 | Intelligent cover automatic opening sanitary garbage can |
CN201545438U (en) * | 2009-11-03 | 2010-08-11 | 上海第二工业大学 | Domestic intelligent compression type garbage bin |
CN202115943U (en) * | 2011-06-07 | 2012-01-18 | 卢国流 | Trash bin with function of opening cover in sensing manner |
CN202115932U (en) * | 2011-05-17 | 2012-01-18 | 浙江大学城市学院 | Cooperative-communication-based trash bin with functions of opening cover in sensing manner and prompting when being full |
CN102514862A (en) * | 2011-12-08 | 2012-06-27 | 浙江大学 | Safety type automatic garbage bin |
CN202337501U (en) * | 2011-11-14 | 2012-07-18 | 张宗明 | Intelligent garbage can |
CN103274148A (en) * | 2013-06-04 | 2013-09-04 | 宁波大学 | Intelligent trash can and control method thereof |
CN103787011A (en) * | 2014-02-14 | 2014-05-14 | 青岛农业大学 | Community rubbish can intelligent management system and rubbish recycling methods |
CN104692010A (en) * | 2015-01-23 | 2015-06-10 | 顾达容 | Trash can capable of realizing automatic opening of cover |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2432167Y (en) * | 2000-02-26 | 2001-05-30 | 王昕� | Induction opening container |
CN201395380Y (en) * | 2008-10-08 | 2010-02-03 | 王春海 | Intellisense garbage can |
CN201589868U (en) * | 2009-06-18 | 2010-09-22 | 中山市雅科思电子设备有限公司 | Sanitary ware automatic sensor with infrared remote control |
CN201660261U (en) * | 2009-11-16 | 2010-12-01 | 天津市安维康家科技发展有限公司 | Intelligent microwave perceptive garbage can |
US8716969B2 (en) * | 2010-03-13 | 2014-05-06 | Simplehuman, Llc | Trash can with power operated lid |
-
2015
- 2015-11-10 CN CN201510765468.4A patent/CN105425665B/en active Active
Patent Citations (14)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN2509663Y (en) * | 2001-11-27 | 2002-09-04 | 林翠雯 | Infrared induction automatic opening cover control circuit for container |
KR20050033384A (en) * | 2003-10-06 | 2005-04-12 | 이상철 | Disposable Sink Filter Compositions |
CN2683598Y (en) * | 2004-01-09 | 2005-03-09 | 林翠雯 | Automatic infrared inductive opening dustbin |
CN2889965Y (en) * | 2005-03-18 | 2007-04-18 | 王昕� | Infrared automatic-opening garbage can |
CN1903681A (en) * | 2005-07-29 | 2007-01-31 | 王土根 | Garbage can having induction type automatic open close cover |
CN101381026A (en) * | 2008-09-16 | 2009-03-11 | 姜鹏 | Intelligent cover automatic opening sanitary garbage can |
CN201545438U (en) * | 2009-11-03 | 2010-08-11 | 上海第二工业大学 | Domestic intelligent compression type garbage bin |
CN202115932U (en) * | 2011-05-17 | 2012-01-18 | 浙江大学城市学院 | Cooperative-communication-based trash bin with functions of opening cover in sensing manner and prompting when being full |
CN202115943U (en) * | 2011-06-07 | 2012-01-18 | 卢国流 | Trash bin with function of opening cover in sensing manner |
CN202337501U (en) * | 2011-11-14 | 2012-07-18 | 张宗明 | Intelligent garbage can |
CN102514862A (en) * | 2011-12-08 | 2012-06-27 | 浙江大学 | Safety type automatic garbage bin |
CN103274148A (en) * | 2013-06-04 | 2013-09-04 | 宁波大学 | Intelligent trash can and control method thereof |
CN103787011A (en) * | 2014-02-14 | 2014-05-14 | 青岛农业大学 | Community rubbish can intelligent management system and rubbish recycling methods |
CN104692010A (en) * | 2015-01-23 | 2015-06-10 | 顾达容 | Trash can capable of realizing automatic opening of cover |
Non-Patent Citations (3)
Title |
---|
基于ARM的家用智能垃圾桶设计;高同辉,郭 蕊;《电子科技》;20121221;第25卷(第11期);第55-58页 * |
基于红外感应原理的垃圾桶***设计;崔陆军,尚会超,李上;《机械与电子》;20130131(第1期);第43-45页 * |
新型智能垃圾桶的设计方案;周慧琚,许锦标;《广东工业大学学报》;20060930;第23卷(第3期);第85-94页 * |
Also Published As
Publication number | Publication date |
---|---|
CN105425665A (en) | 2016-03-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105425665B (en) | Intelligent environment-friendly barrel control method and device and intelligent environment-friendly barrel | |
CN106241129B (en) | Garbage can and control method and device thereof | |
CN102190144B (en) | There is the sewage disposer of power operation lid | |
CN105083821B (en) | Intelligent garbage can and automatic opening and closing method thereof | |
CN1230691C (en) | Radar device used for small power application and bath equipment | |
CN110371514A (en) | One kind being based on Internet of Things intelligent sound Classification and Identification rubbish control system and method | |
CN203332753U (en) | Intelligent garbage can | |
CN105892361B (en) | Control method and device based on infrared induction and intelligent environment-friendly barrel | |
CN201575653U (en) | Automatic door-openable refrigerator | |
CN105819130A (en) | Control method of intelligent environment-friendly barrel and intelligent environment-friendly barrel | |
CN106315072A (en) | Intelligent household garbage can | |
CN107788817A (en) | Cooking apparatus | |
CN110223499A (en) | A kind of infrared decoding method and device | |
CN102907924A (en) | Cabinet with light-emitting diode (LED) lamps | |
CN109855352A (en) | Refrigerator and its control method | |
CN109855353A (en) | Refrigerator and its enabling control method | |
CN206954974U (en) | Intelligent garbage collection device | |
CN108945880A (en) | Capacity check method, apparatus and system, mobile dustbin | |
CN105416931A (en) | Control method and device for environment-friendly barrel cover | |
CN209956681U (en) | Intelligent garbage bin based on speech recognition | |
CN205972560U (en) | Intelligence garbage bin device | |
CN108955073A (en) | A kind of Non-contact control method, device and refrigerator | |
CN103625810A (en) | Improved infrared automatic inductive garbage can | |
CN109319343B (en) | Flip intelligent garbage can | |
CN106766531A (en) | A kind of refrigerator and its detection method with automatic detection carcass Meat freshness function |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |