WO2018184318A1 - 一种感应翻盖垃圾桶单按键控制方法 - Google Patents

一种感应翻盖垃圾桶单按键控制方法 Download PDF

Info

Publication number
WO2018184318A1
WO2018184318A1 PCT/CN2017/093120 CN2017093120W WO2018184318A1 WO 2018184318 A1 WO2018184318 A1 WO 2018184318A1 CN 2017093120 W CN2017093120 W CN 2017093120W WO 2018184318 A1 WO2018184318 A1 WO 2018184318A1
Authority
WO
WIPO (PCT)
Prior art keywords
lid
state
infrared sensor
button switch
trash
Prior art date
Application number
PCT/CN2017/093120
Other languages
English (en)
French (fr)
Inventor
王昕�
陈江群
林洲
Original Assignee
福建纳仕达电子股份有限公司
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 福建纳仕达电子股份有限公司 filed Critical 福建纳仕达电子股份有限公司
Priority to US16/318,364 priority Critical patent/US10661985B2/en
Publication of WO2018184318A1 publication Critical patent/WO2018184318A1/zh

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65FGATHERING OR REMOVAL OF DOMESTIC OR LIKE REFUSE
    • B65F1/00Refuse receptacles; Accessories therefor
    • B65F1/14Other constructional features; Accessories
    • B65F1/16Lids or covers
    • B65F1/1623Lids or covers with means for assisting the opening or closing thereof, e.g. springs
    • B65F1/1638Electromechanically operated lids
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors
    • H02P7/03Arrangements for regulating or controlling the speed or torque of electric DC motors for controlling the direction of rotation of DC motors
    • H02P7/04Arrangements for regulating or controlling the speed or torque of electric DC motors for controlling the direction of rotation of DC motors by means of a H-bridge circuit
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02PCONTROL OR REGULATION OF ELECTRIC MOTORS, ELECTRIC GENERATORS OR DYNAMO-ELECTRIC CONVERTERS; CONTROLLING TRANSFORMERS, REACTORS OR CHOKE COILS
    • H02P7/00Arrangements for regulating or controlling the speed or torque of electric DC motors
    • H02P7/06Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current
    • H02P7/18Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power
    • H02P7/20Arrangements for regulating or controlling the speed or torque of electric DC motors for regulating or controlling an individual dc dynamo-electric motor by varying field or armature current by master control with auxiliary power using multi-position switch, e.g. drum, controlling motor circuit by means of relays
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65FGATHERING OR REMOVAL OF DOMESTIC OR LIKE REFUSE
    • B65F2210/00Equipment of refuse receptacles
    • B65F2210/168Sensing means

Definitions

  • the invention relates to a single button control method for an induction flip trash can.
  • induction flip trash can there is a part that does not have a normally open cover function, but in the real life process, frequent dumping of garbage often occurs, such as when cooking vegetables, such as simmering melon seeds, peeling peels, etc.
  • the lid of the trash can is always kept open (normally open lid state), and the inductive flip trash can without the function of opening the lid is very inconvenient when throwing garbage frequently.
  • induction flip trash cans with a normally open cover but all are realized by two push button switches.
  • the two push button switches are symmetrically distributed on both sides of the product control panel, one side is a manual open cover button, and the other side is By manually closing the button, the user can easily cause a malfunction by pressing the wrong button.
  • the induction flip trash cans on the market are equipped with a mechanical power switch, most of which are installed on the back side of the induction flip trash can, the operation is inconvenient, the mechanical power switch is connected by metal contacts, the trash can The use environment is harsh, and it takes a long time to cause oxidation of the metal contacts, resulting in poor contact of the mechanical power switch.
  • the object of the present invention is to provide a single button control method for the induction flip trash can, which makes the manual opening and closing of the same button use, and the method can not cause erroneous operation, further considering the power consumption problem in the state of the normally open cover.
  • the microcomputer controller When entering the state of the normally open cover, the microcomputer controller turns off the power of the infrared sensor, and the microcomputer controller enters the sleep power saving mode; further, the function of the power switch is also realized by the button switch, and the button switch is determined.
  • the length of time pressed to control whether to enter the shutdown state while improving the reliability and convenience of operation, reducing the number of electronic components, simplifying the circuit, improving reliability, reducing manufacturing costs, and inverting flipping garbage
  • the mechanical power switch on the barrel is upgraded to an electronic switch, which overcomes the problem of poor contact of the mechanical power switch due to oxidation of the metal contacts.
  • the technical solution of the present invention is: a single button control method for an inductive flip trash can, providing an inductive flip trash can control system, the system comprising a button switch, an infrared sensor, a microcontroller, a driving circuit, a motor for controlling a lid switch, the control method being implemented as follows
  • the induction flip-top trash can control system is activated, so that the induction flip-top trash can control system is turned on, and the microcontroller controls the infrared sensor to operate in a normal sensing state;
  • the infrared sensor works in the normal sensing state: the infrared sensor detects whether there is something in the sensing area. Body, if any, the microcontroller controls the barrel cover through the drive circuit and the motor; if not, the infrared sensor continues to detect;
  • the microcontroller controls the lid of the motor through the driving circuit and the motor, and keeps the lid open; if the lid is open, and the opening is The state is realized by the infrared sensor sensing. Pressing the button switch keeps the lid open; if the lid is in the open state, press the button switch to close the lid.
  • the lid is closed.
  • the input port of the microcontroller connected to the button switch has a port wake-up function, and if the lid is in the state of keeping the lid open, the microcontroller disconnects the power supply of the infrared sensor, and the infrared sensor The device exits the normal sensing state, and the microcontroller enters the sleep power saving mode until the button switch is pressed, the microcontroller is woken up from the sleep power saving mode, and then the microcontroller controls the lid to close and controls the infrared sensor to work. In the normal sensing state.
  • the inductive flip trash can control system when the inductive flip trash can control system is in a power-on state, if the lid is in a closed state, the button flip switch is continuously pressed for t seconds, and the inverting flip trash control system enters a shutdown state; When the lid is in the open state, the button switch is continuously pressed for t seconds, the lid is closed first, and then the flip-top trash can control system enters a shutdown state; when the induction flip trash can control system is in a shutdown state, press the Push the button switch to restart the induction flip trash can control system.
  • the input port of the microcontroller connected to the button switch has a timing function and a port change wake-up function.
  • the button switch is continuously pressed.
  • the input port of the microcontroller electrically connected to the button switch detects that the level change time is greater than t seconds, and the induction flip trash can control system enters a shutdown state.
  • the microcontroller disconnects the infrared sensor.
  • the power supply, the infrared sensor exits the normal sensing state, and the microcontroller enters the sleep power saving mode.
  • the microcontroller is awakened from the sleep power saving mode.
  • the induction flip trash can control system re-enters the power on state.
  • the value of t ranges from 2 to 4 seconds.
  • the button switch is a touch type electronic switch.
  • the sensing area is located above the sensing window of the front bucket edge of the trash can.
  • the present invention has the following beneficial effects: the invention makes the manual normally open cover button and the manual cover button use the same button, and the method brings convenience to the user (don't consider whether to press the left side or the Press the right side), no misoperation can be caused, and the function of the power switch can be further realized by the button switch, which can save the mechanical power switch, so that the button switch has a manual normally open cover, a manual closed cover, a shutdown and a boot.
  • One-button operation is simple and easy to understand; at the same time, the number of electronic components is reduced, the circuit is simplified, the reliability is improved, the manufacturing cost is reduced, and the mechanical power switch on the induction flip trash can is upgraded to an electronic switch.
  • FIG. 1 is a circuit block diagram of a single button control method for an inductive flip trash can.
  • FIG. 2 is a block diagram of a single button control method for an inductive flip trash can.
  • FIG. 3 is a circuit diagram of a single button control method for an inductive flip trash can.
  • 1-Infrared sensor 11-infrared sensor power terminal, 12-induction window, 1A-infrared sensor and microcomputer controller signal connection port group, 2-microcomputer controller, 21-microcomputer controller to control infrared sensor power supply Output port, 2A-microcomputer controller and infrared sensor signal connection port group, 22-microcomputer controller and push button switch electrical connection input port, 2B-microcomputer controller control drive circuit output port group, 3-drive circuit, 3A-drive circuit control port group, 3B-drive circuit output port group, 4-motor, 5-PNP type three-stage tube, 6-current limiting resistor, 7-sensing area, 8 barrel cover, 9-button switch.
  • the invention discloses an inductive flip trash can single button control method, and provides an inductive flip trash can control system, the system comprising a push button switch, an infrared sensor, a microcontroller, a driving circuit, and a motor for controlling the lid switch.
  • the control method is implemented as follows,
  • the induction flip-top trash can control system is activated, so that the induction flip-top trash can control system is turned on, and the microcontroller controls the infrared sensor to operate in a normal sensing state;
  • the infrared sensor works in the normal sensing state: the infrared sensor detects whether there is something in the sensing area. Body, if any, the microcontroller controls the barrel cover through the drive circuit and the motor; if not, the infrared sensor continues to detect;
  • the microcontroller controls the lid of the motor through the driving circuit and the motor, and keeps the lid open; if the lid is open, and the opening is The state is realized by the infrared sensor sensing. Pressing the button switch keeps the lid open; if the lid is in the open state, press the button switch to close the lid.
  • the lid open state is realized by the infrared sensor, and the button switch is not pressed within the preset time t, the lid is closed.
  • the input port of the microcontroller connected to the button switch has a port wake-up function. If the lid is in the state of keeping the lid open, the microcontroller disconnects the power supply of the infrared sensor, and the infrared sensor exits the normal sensing state, and simultaneously The controller enters the sleep power saving mode until the push button switch is pressed, the microcontroller is woken up from the sleep power saving mode, and then the microcontroller controls the lid to close and controls the infrared sensor to operate in a normal sensing state.
  • the inversion flip-top trash can control system When the inversion flip-top trash can control system is turned on, if the lid is closed, the button is continuously pressed for t seconds, and the flip-top trash can control system enters a shutdown state; if the lid is open, it continues After pressing the button switch for t seconds, the lid is closed first, and then the flip-top trash can control system enters a shutdown state; when the induction flip trash can control system is turned off, the button switch is pressed to restart the induction flip garbage Barrel control system.
  • the input port of the microcontroller connected to the button switch has a timing function and a port change wake-up function.
  • the button switch is continuously pressed for t seconds, and the button switch
  • the input port of the electrically connected microcontroller detects that the level change time is greater than t seconds, and the induction flip trash can control system enters the shutdown state. In the shutdown state, the microcontroller disconnects the power supply of the infrared sensor, and the infrared sensor exits normally.
  • Inductive state while the microcontroller enters the sleep power saving mode, when the induction flip trash can control system enters the shutdown state, press the button switch, the microcontroller is awakened from the sleep power saving mode, and the induction flip trash control system is restarted. Enter the power on state.
  • the value of t ranges from 2 to 4 seconds.
  • the button switch is a touch type electronic switch.
  • the sensing area is located above the sensing window of the front bucket edge of the trash can.
  • the present embodiment includes a push button switch 9, an infrared sensor 1, a microcomputer controller (ie, a microcontroller) 2, a driving circuit 3, a motor 4, a barrel cover 8, a PNP three-stage tube 5, and a limit.
  • the flow resistor 6, the one button switch 9 and the input port 22 of the microcomputer controller 2 are electrically connected.
  • the button switch 9 is pressed, the microcomputer controller
  • the input port 22 of 2 changes from a high level to a low level. If the pressed time is less than 3 seconds, the lid 8 is opened, and then the lid 8 is always kept open; for example, the lid 8 is opened after induction.
  • the lid 8 When the button switch 9 is pressed, the lid 8 is always kept open. When the lid 8 is always kept open, the button switch 9 is pressed, and the lid 8 is automatically closed, and then enters the normal sensing program.
  • the so-called normal sensing program that is, in the induction standby state, the infrared sensor 1 continuously tests whether the sensing area 7 has an object, such as no object in the sensing area 7, and the lid 8 remains closed; if there is an object in the sensing area 7, The infrared sensor 1 detects that there is an object in the sensing area 7, and the microcomputer controller 2 controls the driving circuit 3 to rotate the motor 4 to drive the lid 8 to open, and the lid is opened for 3 to 5 seconds (the time for throwing garbage). The microcomputer controller 2 then controls the driving circuit 3 to cause the motor 4 to rotate in the reverse direction to drive the lid 8 to close, and the circuit enters the induction standby state again.
  • the input port 22 of the microcomputer controller 2 changes from a high level to a low level, and a low level time is greater than 3 seconds.
  • the flip-top trash can enter the shutdown state; if the lid 8 is in the open state, after pressing the button for 3 seconds, the circuit first closes the lid 8 and then enters the shutdown state. In the off state, the button switch 9 is pressed.
  • the inductive flip trash can circuit is re-entered.
  • the function of the power switch is also realized by the button switch 9, so that the mechanical power switch can be saved, and the button switch 9 has four functions of a manual normally open cover, a manual closed cover, a shutdown and a power on.
  • the input port 22 of the microcomputer controller 2 electrically connected to the push button switch 9 has a port wake-up function, and when the lid 8 is always kept open, the microcomputer controller 2
  • the output port 21 will be set to a high level, and the power terminal 11 of the infrared sensor 1 is turned off by the current limiting resistor 6 and the PNP transistor 5, while the microcomputer controller 2 enters the sleep power saving mode, and the cover is normally opened in the sleep power saving mode.
  • the level change of the input port 22 of the microcomputer controller 2 causes the microcomputer controller 2 to be woken up from the sleep power saving mode (the port change wake-up technique), and the bucket cover 8 is first executed to close the program and then enter the normal state.
  • the sensing program is running.
  • the input port 22 of the microcomputer controller 2 electrically connected to the push button switch 9 has a timing function and a port wake-up function, and the button switch 9 is continuously pressed during the startup process.
  • the input terminal 22 of the microcomputer controller 2 electrically connected to the button switch 9 tests the level change time for more than 3 seconds, and the boot program is transferred to the shutdown program, and the bucket cover 8 is opened before the shutdown.
  • the circuit first closes the lid 8 and then enters the shutdown state; before the shutdown, if the lid 8 is in the closed state, the circuit directly enters the shutdown process.
  • the output port 21 of the microcomputer controller 2 will be set to a high level, the power terminal 11 of the infrared sensor 1 is turned off by the resistor 6 and the PNP transistor 5, and the microcomputer controller 2 enters the sleep power saving mode, and is turned off.
  • the program mode press the button switch 9, the microcomputer control device 2 is awakened from the sleep power saving mode, and the induction flip trash can circuit is re-entered.
  • the input terminal 22 of the microcomputer controller 2 electrically connected to the button switch is tested to a level change time of more than 3 seconds, and the boot program is transferred to the shutdown program. .
  • the 3 second time is ergonomically designed.
  • a push button switch 9 in the single button control method of the inductive flip trash can of the present example can adopt a touch type electronic switch.
  • the touch type electronic switch is prior art and will not be described in this patent.
  • a single flip button control method for the inverting flip trash can and the block diagram of the microcomputer controller 2 is shown in FIG. 2 .
  • the application program embedded in the microcomputer controller 2 is executed from step S01, and the contents of each step of executing the program are as follows:
  • Step S01 Perform this step after power-on or after executing steps S05, S08, and S18. If it is powered on, execute S02 to initialize the program; if it is another step, execute S03.
  • Step S02 program initialization, set port 21 as an output port, and set it to 1 (high level); set port 22 as an input port; set port group 2B as an output port, and control the drive circuit does not work, the motor does not Turn.
  • Step S03 setting port 21 to 0 (low level), causing infrared sensor 1 to turn on power supply Vcc, and microcomputer controller 2 controls infrared sensor 1 to transmit infrared signal to sensing area 7 through 2A port group, if no return signal is executed Step S04; if there is a return signal, perform step S06.
  • Step S04 judging whether the button switch 9 is pressed, if not pressed, the step S05 is performed; if there is a press, the step S15 is performed.
  • Step S05 The microcomputer controller 2 performs the S01 step after sleeping 300 mS.
  • Step S06 The microcomputer controller 2 controls the driving circuit through the output port group 2B to rotate the motor in the forward direction, and drives the barrel cover to open and then proceeds to step S07.
  • Step S07 Determine whether the lid is kept for 3 seconds after the lid is opened. If the step of S09 is less than 3 seconds, the scan button is pressed; if the time is 3 seconds, the step S08 is performed.
  • Step S08 The microcomputer controller 2 controls the driving circuit through the output port group 2B to rotate the motor in the reverse direction, and drives the lid to close and then proceeds to step S01.
  • Step S09 It is judged whether the button switch 9 is pressed, if the step S07 is not pressed, if it is pressed, the step S10 is performed.
  • Step S10 judging whether the button switch 9 is pressed for more than 3 seconds, if it is less than 3 seconds, the step S12 is performed; if it is greater than 3 seconds, the step S16 is performed.
  • Step S11 The microcomputer controller 2 controls the driving circuit through the output port group 2B, so that the motor rotates in the forward direction, and the step S12 is performed after the barrel cover is opened.
  • Step S12 The lid 8 is always kept open, the power terminal of the infrared sensor 1 is turned off, and the microcomputer controller 2 enters the sleep power saving mode.
  • Step S13 If the button is not pressed, the above step S12 is always maintained; if the button is pressed, the step S14 is performed.
  • Step S14 determining whether the button switch 9 is pressed for more than 3 seconds, if it is less than 3 seconds, the step S08 is performed; if it is greater than 3 seconds, the step S16 is performed.
  • Step S15 judging whether the button switch 9 is pressed for more than 3 seconds, if it is less than 3 seconds, the step S11 is performed; if it is greater than 3 seconds, the step S17 is performed.
  • Step S16 The microcomputer controller 2 controls the driving circuit through the output port group 2B to rotate the motor in the reverse direction, and drives the lid to close, and then proceeds to step S17.
  • Step S17 The shutdown process, the lid 8 is always kept closed, the power terminal of the infrared sensor 1 is turned off, and the microcomputer controller 2 enters the sleep power saving mode.
  • Step S18 If the button switch 9 is not pressed, the above step S17 is always maintained; if the button is pressed, the step S01 is performed.
  • FIG. 3 The specific circuit diagram of this embodiment is shown in FIG. 3.
  • One end of the push button switch 9 is connected to the port 22 of the microcomputer controller 2 (the 10th pin), and the other end is grounded.
  • Active infrared sensor 1 consisting of dual operational amplifier IC1 (model LM358), infrared emission tube D1, infrared receiver tube D2, transistor Q1, capacitor C0, C1, C2, C5, C6 and C13 are composed of resistors R1, R2, R3, R4, R6, R7, R9, R10, W1, W2, R11, R16 and R30.
  • the microcomputer controller 2 is of the model EM78P173.
  • the drive circuit 3 is composed of PNP transistors Q2 and Q4 (model SS8550D), NPN transistors Q3 and Q5 (model SS8050D), diodes D10 and D11, and resistors R18, R19, R20 and R21.
  • Motor 4 uses permanent magnet DC motor type RF-500TB.
  • R38 and C9 are used for power supply filtering of the active infrared sensor 1.
  • the working principle is as follows: when the microcomputer controller 2 is powered on, the S01 step is performed, and then the process proceeds to step S02 to initialize the program, and the microcomputer controller 2 port 21 (the second leg) is set as the output port, and Set to a high level, the PNP transistor 5 is turned off, the power of the active infrared sensor 1 is cut off by the PNP transistor 5; the fifth pin of the microcomputer controller 2 is set as an output port, and is set to a high level, and the transistor Q1 is turned off.
  • the infrared transmitting tube D1 does not transmit a signal; the microcomputer controller 2 port 22 (pin 10) is set as an input port, and is set to be pulled up, and the port wake-up function is set, and the eighth pin of the microcomputer controller 2 is set as an input. Port; set port group 2B (pins 1, 12, 13, and 14) of microcomputer controller 2 as an output port, and set pin 1 and pin 12 to low level, pin 13 and pin 14 to high level, three The stage tubes Q2 to Q5 are turned off, the drive circuit 3 does not operate, and the motor does not rotate.
  • step S03 the second pin of the microcomputer controller 2 is set to a low level, the PNP transistor 5 is turned on, the power of the active infrared sensor 1 is filtered by R38 and C9, and the active infrared is delayed by 8 mS.
  • the fifth pin of the microcomputer controller 2 outputs a negative pulse signal, and the infrared transmitting tube D1 emits an infrared pulse signal to the sensing area 7, and determines whether the eighth leg of the microcomputer controller 2 receives the infrared pulse reflected back.
  • the signal if there is no reflected signal, performs step S04; if there is a reflected signal, step S06 is performed.
  • step S04 it is judged whether the button switch 9 is pressed. If the pin 10 of the microcomputer controller is not pressed because the internal pull-up resistor is high, the program executes the step S05, and the microcomputer controller 2 is set in the step S05.
  • the port 21 (the second leg) is at a high level, the power of the active infrared sensor 1 is turned off, and then the sleep program runs 300 mS, and the step S01 is performed after the wake-up; if it is judged in the step S04 that the button switch 9 is pressed, the S15 is executed.
  • the step of determining whether the button switch 9 is pressed is greater than 3 seconds. If the program is less than 3 seconds, the program executes the step S11.
  • step S11 the microcomputer controller 2 sets the first pin and the 14th pin of the port group 2B to a high level. Pins 12 and 13 are low, causing Q2 and Q5 to turn on, Q3 and Q4 are turned off, motor 4 is rotated for 1 second to open the lid, and then step S12 is performed, the lid is in the normally open state; if it is greater than 3
  • the second program executes the step S17, enters the shutdown state, the lid 8 is always kept closed, the microcomputer controller 2 port 21 (the second leg) is set to the high level, and the PNP transistor 5 is turned off, the main The power supply of the moving infrared sensor 1 is cut off by the PNP transistor 5, and the port group 2B (the first, the 12th, the 13th, and the 14th legs) of the microcomputer controller 2 is set to the 1st pin and the 12th pin to the low level, 13 feet and 14 The foot is high level, the three-stage tube Q2 ⁇ Q5 is cut off, the drive circuit 3 does not work, the motor
  • step S03 if there is a reflected signal, the step S06 is executed, and the microcomputer controller 2 sets the first pin and the 14th pin in the port group 2B to a high level, and sets the 12th pin and the 13 pin to a low level, causing Q2 and Q5 is turned on, Q3 and Q4 are turned off, and the motor 4 is rotated forward for 1 second to open the lid.
  • step S07 The microcomputer controller 2 sets the 13th pin, the 14th pin, the 1st pin and the 12th pin in the port group 2B to be high level, so that Q3 and Q5 are turned on, and Q2 and Q4 are turned off, and the motor is not powered at this time.
  • step S07 if the scan button switch 9 is pressed (S09 step), if not pressed, the microcomputer controller 2 is at the high level of the 10th pin, and after the 3 second opening time is reached, the S08 step is executed to close the lid, and the microcomputer controller 2 Set the first pin and the 14th pin of the port group 2B to be low level, the 12th pin and the 13th pin are high level, causing Q4 and Q3 to be turned on, Q2 and Q5 to be turned off, and the motor 4 to rotate in the reverse direction for 1 second.
  • the lid is closed, then the program goes to step S01 to return to the standby state; if the button is down, the program goes to step S10.
  • step S10 it is judged whether the button pressing time is greater than 3 seconds, if less than 3 seconds, the program is transferred to the S12 step, the lid is normally open, and at this time, the microcomputer controller 2 sets the second foot to the high level, the active infrared sensor
  • the power supply of 1 is cut off by the PNP transistor 5, and the port group 2B of the microcomputer controller 2 is set to 1 pin and 12 pin is low level, 13 pin and 14 pin are high level, and the tertiary tube Q2 to Q5 are cut off, and the driving circuit 3 does not work, the motor does not rotate, and the microcomputer controller enters the port to wake up sleep mode; if it is greater than 3 seconds, the program goes to step S16, and the microcomputer controller 2 sets the first pin and the 14th pin of the port group 2B to be low.
  • the 12th and 13th feet are high, causing Q4 and Q3 to be turned on, Q2 and Q5 are turned off, the motor 4 is rotated in reverse for 1 second to close the lid, and the program is transferred to the S17 step to enter the shutdown program.
  • the cover remains closed, and the microcomputer controller 2 sets the second pin to a high level, and the power of the active infrared sensor 1 is cut off by the PNP transistor 5, and the port group 2B of the microcomputer controller 2 is set to be 1 pin and 12 pin for low power.
  • Flat, 13 feet and 14 feet are high level, three-stage tube Q2 ⁇ Q5 is cut off, drive circuit 2 is not Working, the motor does not rotate, and the microcomputer controller enters the port to wake up the sleep mode of operation.
  • step S12 if the button switch 9 is not pressed, the lid of the bucket is always kept open, such as the button being Press the program to execute step S14 to determine whether the button switch 9 is pressed for more than 3 seconds. If it is less than 3 seconds, the program executes step S08. After the lid is closed, the program returns to step S01. If it is greater than 3 seconds, the program executes step S16. After the lid is closed, the program proceeds to step S17 to enter the shutdown procedure. In the shutdown procedure of step S17, if the button switch 9 is not pressed, the lid is kept closed, and the sensor opening function is turned off; if the button switch 9 is pressed, the program proceeds to step S01, and the sensing function is restored.

Landscapes

  • Engineering & Computer Science (AREA)
  • Mechanical Engineering (AREA)
  • Power Engineering (AREA)
  • Food-Manufacturing Devices (AREA)
  • Electric Vacuum Cleaner (AREA)
  • Refuse Receptacles (AREA)

Abstract

一种感应翻盖垃圾桶单按键控制方法。启动感应翻盖垃圾桶控制系统,使得微控制器(2)控制红外线感应器(1)工作于正常感应状态;红外线感应器(1)工作于正常感应状态:红外线感应器(1)检测感应区(7)内是否有物体,若有,则微控制器(2)通过驱动电路(3)、电机(4)控制桶盖(8)开启;若无,则红外线感应器(1)继续检测;在开机状态下,若桶盖(8)处于关闭状态,按一下按钮开关(9),则微控制器(2)通过驱动电路(3)、电机(4)控制桶盖(8)开启,并保持桶盖(8)开启状态;若桶盖(8)处于开启状态,且该开启状态是由于红外线感应器(1)感应后实现的,按一下按钮开关(9),则保持桶盖(8)开启状态;若桶盖(8)处于保持桶盖(8)开启状态,按一下按钮开关(9),则桶盖(8)关闭。该方法可提高操作的可靠性和方便性,同时减少了电子元器件的数量,简化了电路、降低了电路的故障率、降低了制造成本。

Description

一种感应翻盖垃圾桶单按键控制方法 技术领域
本发明涉及一种感应翻盖垃圾桶单按键控制方法。
背景技术
现有技术的感应翻盖垃圾桶,有一部分没有常开盖功能,但在现实生活过程中,频繁扔垃圾的时候经常发生,如洗菜做饭时,如嗑瓜子、削果皮时等,都需要垃圾桶的桶盖始终保持打开(常开盖状态),没有常开盖功能的感应翻盖垃圾桶,在频繁扔垃圾时,感觉很不方便。目前市场上也有带常开盖的感应翻盖垃圾桶,但全部是通过两个按钮开关来实现的,两个按钮开关对称分布在产品控制面板的两侧,一边是手动开盖按键,另一边是手动关盖按键,使用者容易按错造成误动作。还有目前市场上的感应翻盖垃圾桶都配有一个机械式电源开关,绝大部分安装在感应翻盖垃圾桶的后侧,操作不便,机械式电源开关是靠金属触点接触导通,垃圾桶使用环境恶劣,时间久了容易造成金属触点氧化致使机械式电源开关接触不良。
发明内容
本发明的目的在于提供一种感应翻盖垃圾桶单按键控制方法,该方法使得手动开盖、关盖使用同一个按键,该方法不容产生误操作,进一步考虑到常开盖的状态下耗电问题,在进入到常开盖的状态时,微电脑控制器将红外线感应器的电源关闭,微电脑控制器进入睡眠省电模式;进一步将电源开关的功能也由该按钮开关来实现,依靠判断该按钮开关按下的时间长短,来控制是否进入关机状态,同时可提高操作的可靠性和方便性,减少了电子元器件的数量,简化了电路、提高了可靠性、降低了制造成本,将感应翻盖垃圾桶上的机械式电源开关升级为电子开关,克服了金属触点氧化致使机械式电源开关接触不良的问题。
为实现上述目的,本发明的技术方案是:一种感应翻盖垃圾桶单按键控制方法,提供一感应翻盖垃圾桶控制系统,该系统包括一按钮开关、红外线感应器、微控制器、驱动电路、用于控制桶盖开关的电机,所述控制方法实现如下,
启动感应翻盖垃圾桶控制系统,使得感应翻盖垃圾桶控制系统处于开机状态,此时微控制器控制红外线感应器工作于正常感应状态;
红外线感应器工作于正常感应状态:红外线感应器检测感应区内是否有物 体,若有,则微控制器通过驱动电路、电机控制桶盖开启;若无,则红外线感应器继续检测;
在开机状态下,若桶盖处于关闭状态,按一下所述按钮开关,则微控制器通过驱动电路、电机控制桶盖开启,并保持桶盖开启状态;若桶盖处于开启状态,且该开启状态是由于红外线感应器感应后实现的,按一下所述按钮开关,则保持桶盖开启状态;若桶盖处于保持桶盖开启状态,按一下所述按钮开关,则桶盖关闭。
在本发明一实施例中,若桶盖开启状态是由于红外线感应器感应后实现的,且在预设时间t内未按下所述按钮开关,则桶盖关闭。
在本发明一实施例中,与所述按钮开关连接的微控制器的输入端口具有端口唤醒功能,若桶盖处于保持桶盖开启状态,则微控制器断开红外线感应器的供电,红外线感应器退出正常感应状态,同时微控制器进入睡眠省电模式,直到按下所述按钮开关,微控制器从睡眠省电模式被唤醒,而后微控制器控制桶盖关闭,并控制红外线感应器工作于正常感应状态。
在本发明一实施例中,在感应翻盖垃圾桶控制系统处于开机状态下,若桶盖处于关闭状态,则持续按下所述按钮开关t秒后,感应翻盖垃圾桶控制系统进入关机状态;若桶盖处于开启状态,则持续按下所述按钮开关t秒后,先关闭桶盖,而后感应翻盖垃圾桶控制系统进入关机状态;在感应翻盖垃圾桶控制系统处于关机状态下,按下所述按钮开关,重新启动感应翻盖垃圾桶控制系统。
在本发明一实施例中,与所述按钮开关连接的微控制器的输入端口具有计时功能和端口变化唤醒功能,在感应翻盖垃圾桶控制系统处于开机状态下,持续按下所述按钮开关t秒后,与所述按钮开关电连接的微控制器的输入端口检测到电平变化时间大于t秒,感应翻盖垃圾桶控制系统进入关机状态,在关机状态中,微控制器断开红外线感应器的供电,红外线感应器退出正常感应状态,同时微控制器进入睡眠省电模式,在感应翻盖垃圾桶控制系统进入关机状态下,按一下所述按钮开关,微控制器从睡眠省电模式被唤醒,感应翻盖垃圾桶控制系统重新进入开机状态。
在本发明一实施例中,所述t取值范围为2~4秒。
在本发明一实施例中,所述按钮开关为触摸型电子开关。
在本发明一实施例中,所述感应区位于垃圾桶前桶沿的感应窗口上方。
相较于现有技术,本发明具有以下有益效果:本发明使手动常开盖按键、手动关盖按键使用同一个按键,该方法给使用者带来了便利(不用考虑是要按左边还是要按右边),不容产生误操作,进一步将电源开关的功能也由该按钮开关来实现,就可以节省机械式电源开关,使该按钮开关具备有手动常开盖、手动关盖、关机和开机四种功能,一键式操作简单易懂;同时减少了电子元器件的数量,简化了电路、提高了可靠性、降低了制造成本,将感应翻盖垃圾桶上的机械式电源开关升级为电子开关,克服了金属触点氧化致使机械式电源开关接触不良的问题;进一步考虑到常开盖状态和关机状态的耗电问题,在进入上述两种状态时,将红外线感应器的电路电源关闭,同时也将微电脑控制器置于睡眠省电模式。
附图说明
图1是一种感应翻盖垃圾桶单按键控制方法的电路框图。
图2是一种感应翻盖垃圾桶单按键控制方法的程序框图。
图3是一种感应翻盖垃圾桶单按键控制方法的电路图。
图中:
1-红外线感应器、11-红外线感应器的电源端、12-感应窗口、1A-红外线感应器与微电脑控制器信号连接端口组、2-微电脑控制器、21-微电脑控制器控制红外线感应器电源的输出端口、2A-微电脑控制器与红外线感应器信号连接端口组、22-微电脑控制器与按钮开关电连接的输入端口、2B-微电脑控制器控制驱动电路的输出端口组、3-驱动电路、3A-驱动电路控制端口组、3B-驱动电路输出端口组、4-电机、5-PNP型三级管、6-限流电阻、7-感应区、8桶盖、9-按钮开关。
具体实施方式
下面结合附图,对本发明的技术方案进行具体说明。
本发明的一种感应翻盖垃圾桶单按键控制方法,提供一感应翻盖垃圾桶控制系统,该系统包括一按钮开关、红外线感应器、微控制器、驱动电路、用于控制桶盖开关的电机,所述控制方法实现如下,
启动感应翻盖垃圾桶控制系统,使得感应翻盖垃圾桶控制系统处于开机状态,此时微控制器控制红外线感应器工作于正常感应状态;
红外线感应器工作于正常感应状态:红外线感应器检测感应区内是否有物 体,若有,则微控制器通过驱动电路、电机控制桶盖开启;若无,则红外线感应器继续检测;
在开机状态下,若桶盖处于关闭状态,按一下所述按钮开关,则微控制器通过驱动电路、电机控制桶盖开启,并保持桶盖开启状态;若桶盖处于开启状态,且该开启状态是由于红外线感应器感应后实现的,按一下所述按钮开关,则保持桶盖开启状态;若桶盖处于保持桶盖开启状态,按一下所述按钮开关,则桶盖关闭。
若桶盖开启状态是由于红外线感应器感应后实现的,且在预设时间t内未按下所述按钮开关,则桶盖关闭。
与所述按钮开关连接的微控制器的输入端口具有端口唤醒功能,若桶盖处于保持桶盖开启状态,则微控制器断开红外线感应器的供电,红外线感应器退出正常感应状态,同时微控制器进入睡眠省电模式,直到按下所述按钮开关,微控制器从睡眠省电模式被唤醒,而后微控制器控制桶盖关闭,并控制红外线感应器工作于正常感应状态。
在感应翻盖垃圾桶控制系统处于开机状态下,若桶盖处于关闭状态,则持续按下所述按钮开关t秒后,感应翻盖垃圾桶控制系统进入关机状态;若桶盖处于开启状态,则持续按下所述按钮开关t秒后,先关闭桶盖,而后感应翻盖垃圾桶控制系统进入关机状态;在感应翻盖垃圾桶控制系统处于关机状态下,按下所述按钮开关,重新启动感应翻盖垃圾桶控制系统。
与所述按钮开关连接的微控制器的输入端口具有计时功能和端口变化唤醒功能,在感应翻盖垃圾桶控制系统处于开机状态下,持续按下所述按钮开关t秒后,与所述按钮开关电连接的微控制器的输入端口检测到电平变化时间大于t秒,感应翻盖垃圾桶控制系统进入关机状态,在关机状态中,微控制器断开红外线感应器的供电,红外线感应器退出正常感应状态,同时微控制器进入睡眠省电模式,在感应翻盖垃圾桶控制系统进入关机状态下,按一下所述按钮开关,微控制器从睡眠省电模式被唤醒,感应翻盖垃圾桶控制系统重新进入开机状态。
所述t取值范围为2~4秒。
所述按钮开关为触摸型电子开关。
所述感应区位于垃圾桶前桶沿的感应窗口上方。
以下为本发明的具体实施过程。
本实施例参见图1和图2,包括一个按钮开关9、红外线感应器1、微电脑控制器(即微控制器)2、驱动电路3、电机4、桶盖8、PNP三级管5和限流电阻6,所述的一个按钮开关9和微电脑控制器2的输入端口22电连接,在正常感应程序运行过程中,如桶盖8是在关闭状态,按一下该按钮开关9,微电脑控制器2的输入端口22由高电平变为低电平,如按下的时间小于3秒,桶盖8开启,然后桶盖8会始终保持打开状态;如桶盖8是在感应后打开状态,按一下该按钮开关9,桶盖8就始终保持打开状态,在桶盖8始终保持打开状态时,按一下该按钮开关9,桶盖8会自动关闭,然后进入正常感应程序运行中。所谓正常感应程序,也就是在感应待机状态下,红外线感应器1不断的测试感应区7是否有物体,如感应区7内没有物体,桶盖8保持关闭状态;如感应区7内有物体,红外线感应器1测试到感应区7内有物体,微电脑控制器2就控制驱动电路3使电机4正向转动带动桶盖8开启,桶盖打开保持3~5秒(扔垃圾的时间)后,微电脑控制器2再控制驱动电路3使电机4反向转动带动桶盖8关闭,电路又进入感应待机状态。
在开机过程中,如桶盖8处于关闭状态,持续按下该按钮3秒后,微电脑控制器2的输入端口22由高电平变为低电平,低电平的时间大于3秒,感应翻盖垃圾桶电路进入关机状态;如桶盖8处于打开状态,持续按下该按钮3秒后,电路首先关闭桶盖8,然后再进入关机状态,在关机状态下,按下该按钮开关9后,感应翻盖垃圾桶电路重新进入开机状态。将电源开关的功能也由该按钮开关9来实现,就可以节省机械式电源开关,使该按钮开关9具备有手动常开盖、手动关盖、关机和开机四种功能。
为了在常开盖的状态下达到省电的目的,与该按钮开关9电连接的微电脑控制器2的输入端口22具有端口唤醒功能,当桶盖8始终保持打开状态时,微电脑控制器2的输出端口21将置为高电平,通过限流电阻6和PNP三极管5将红外线感应器1的电源端11关闭,同时微电脑控制器2进入睡眠省电模式,在睡眠省电模式常开盖的状态下,按一下该按钮开关9,微电脑控制器2的输入端口22电平变化致使微电脑控制器2从睡眠省电模式被唤醒(端口变化唤醒技术),先执行桶盖8关闭程序后进入正常感应程序运行中。
为了在关机状态下达到省电的目的,与该按钮开关9电连接的微电脑控制器2的输入端口22具有计时功能和端口唤醒功能,在开机程序运行过程中如持续按下该按钮开关9的时间大于3秒后,与该按钮开关9电连接的微电脑控制器2的输入端22测试到电平变化时间大于3秒,开机程序就转入关机程序,在关机前如桶盖8处于打开状态,电路首先关闭桶盖8,然后再进入到关机状态;在关机前如桶盖8处于关盖状态,电路直接进入关机程序。在关机程序中,微电脑控制器2的输出端口21将置为高电平,通过电阻6和PNP三极管5将红外线感应器1的电源端11关闭,微电脑控制器2进入睡眠省电模式,在关机程序模式下,按一下该按钮开关9,微电脑控制2器从睡眠省电模式被唤醒,感应翻盖垃圾桶电路重新进入开机状态。
本实例在开机程序运行过程中如持续按下该按钮3秒后,与该按钮开关电连接的微电脑控制器2的输入端22测试到电平变化时间大于3秒,开机程序就转入关机程序。3秒的时间比较符合人体工程学设计。
本实例的一种感应翻盖垃圾桶单按键控制方法中的一个按钮开关9可以采用触摸型的电子开关。关于触摸型的电子开关为现有技术,本专利不再叙述。
本实施例的一种感应翻盖垃圾桶单按键控制方法,其微电脑控制器2的程序框图见图2。电路上电后,植入在微电脑控制器2内的应用程序从步骤S01开始执行,执行程序的各步骤内容如下所述:
S01步骤:上电或执行S05、S08、S18步骤后都执行该步骤,如果是上电就执行S02进行程序初始化;如果是其它步骤就执行S03。
S02步骤:程序初始化,将端口21设置为输出口,且置为1(高电平);将端口22设置为输入口;将端口组2B设置为输出口,且控制驱动电路不工作,电机不转动。
S03步骤:置端口21为0(低电平),使红外线感应器1接通电源Vcc,微电脑控制器2通过2A端口组控制红外线感应器1向感应区7发射红外线信号,如没有返回信号执行S04步骤;如有返回信号执行S06步骤。
S04步骤:判断按钮开关9是否按下,如没有按下执行S05步骤;如有按下执行S15步骤。
S05步骤:微电脑控制器2睡眠300mS后执行S01步骤。
S06步骤:微电脑控制器2通过输出端口组2B控制驱动电路,使电机正向转动,带动桶盖开启后转入S07步骤。
S07步骤:判断桶盖开启后是否保持3秒,如果3秒时间不到执行S09步骤,扫描按钮是否按下;如果3秒时间到执行S08步骤。
S08步骤:微电脑控制器2通过输出端口组2B控制驱动电路,使电机反向转动,带动桶盖关闭后转入S01步骤。
S09步骤:判断按钮开关9是否按下,如没有按下执行S07步骤;如有按下执行S10步骤。
S10步骤:判断按钮开关9是否按下时间大于3秒,如果小于3秒执行S12步骤;如果大于3秒执行S16步骤。
S11步骤:微电脑控制器2通过输出端口组2B控制驱动电路,使电机正向转动,带动桶盖开启后执行S12步骤。
S12步骤:桶盖8就始终保持打开状态,关闭红外线感应器1的电源端,微电脑控制器2进入睡眠省电模式。
S13步骤:如按钮没有按下始终保持上述S12步骤;如按钮有按下执行S14步骤。
S14步骤:判断按钮开关9是否按下时间大于3秒,如果小于3秒执行S08步骤;如果大于3秒执行S16步骤。
S15步骤:判断按钮开关9是否按下时间大于3秒,如果小于3秒执行S11步骤;如果大于3秒执行S17步骤。
S16步骤:微电脑控制器2通过输出端口组2B控制驱动电路,使电机反向转动,带动桶盖关闭后转入S17步骤。
S17步骤:关机程序,桶盖8始终保持关闭状态,关闭红外线感应器1的电源端,微电脑控制器2进入睡眠省电模式。
S18步骤:如按钮开关9没有按下始终保持上述S17步骤;如按钮有按下执行S01步骤。
本实施例的具体电路图见图3,按钮开关9一端连接微电脑控制器2端口22(第10脚),另一端接地。主动式红外线感应器1,由双运算放大器IC1(型号为LM358)、红外发射管D1,红外接收管D2,三极管Q1,电容C0、C1、C2、C5、 C6、C13,电阻R1、R2、R3、R4、R6、R7、R9、R10、W1、W2、R11、R16、R30构成。微电脑控制器2采用型号EM78P173。驱动电路3,由PNP三极管Q2和Q4(型号为SS8550D),NPN三极管Q3和Q5(型号为SS8050D),二极管D10和D11,电阻R18、R19、R20和R21构成。电机4选用永磁直流电机型号RF-500TB。R38和C9为主动式红外线感应器1的电源滤波用。
参见图2和图3,工作原理叙述如下:微电脑控制器2上电时执行S01步骤,然后转入S02步骤进行程序初始化,将微电脑控制器2端口21(第2脚)设置为输出口,且置为高电平,使PNP三极管5截止,主动式红外线感应器1的电源被PNP三极管5切断;将微电脑控制器2第5脚设置为输出口,且置为高电平,三极管Q1截止,红外发射管D1不发射信号;将微电脑控制器2端口22(第10脚)设置为输入口,并设置为上拉,并设置具有端口唤醒功能,将微电脑控制器2的第8脚设置为输入口;将微电脑控制器2的端口组2B(第1、12、13、14脚)设置为输出口,且置1脚和12脚为低电平,13脚和14脚为高电平,三级管Q2~Q5截止,驱动电路3不工作,电机不转动。然后程序执行S03步骤,将微电脑控制器2第2脚置为低电平,PNP三极管5导通,主动式红外线感应器1的电源通过R38和C9滤波后得电,延时8mS使主动式红外线感应器1的电路稳定后,微电脑控制器2第5脚输出一负脉冲信号,红外发射管D1向感应区7发射红外线脉冲信号,判断微电脑控制器2第8脚是否接收到红外线脉冲反射回来的信号,如果无反射信号就执行S04步骤;如果有反射信号就执行S06步骤。在S04步骤中判断按钮开关9是否被按下,如果没有按下微电脑控制器第10脚由于内部上拉电阻的作用为高电平,程序就执行S05步骤,在S05步骤里置微电脑控制器2的端口21(第2脚)为高电平,切断主动式红外线感应器1的电源,然后睡眠程序运行300mS,唤醒后执行S01步骤;如在S04步骤中判断按钮开关9被按下,执行S15步骤判断按钮开关9按下的时间是否大于3秒,如果小于3秒程序执行S11步骤,在S11步骤中微电脑控制器2置端口组2B中的第1脚和第14脚为高电平,置第12脚和13脚为低电平,致使Q2和Q5导通,Q3和Q4截止,电机4正向转动1秒将桶盖打开,然后执行S12步骤,桶盖处于常开状态;如果大于3秒程序执行S17步骤,进入关机状态,桶盖8始终保持关闭状态,微电脑控制器2端口21(第2脚)置为高电平,PNP三极管5截止,主 动式红外线感应器1的电源被PNP三极管5切断,将微电脑控制器2的端口组2B(第1、12、13、14脚)置为1脚和12脚为低电平,13脚和14脚为高电平,三级管Q2~Q5截止,驱动电路3不工作,电机不转动,微电脑控制器2进入睡眠省电模式。
在S03步骤中如有反射信号时执行S06步骤,微电脑控制器2置端口组2B中的第1脚和第14脚为高电平,置第12脚和13脚为低电平,致使Q2和Q5导通,Q3和Q4截止,电机4正向转动1秒将桶盖打开。然后执行S07步骤微电脑控制器2置端口组2B中的第13脚、第14脚、第1脚和12脚为高电平,致使Q3和Q5导通,Q2和Q4截止,此时电机不得电,但处于制动状态(由于Q3和Q5导通和二级管D10和D11构成电机两端正反向通路,桶盖不容易因重力掉落下来),开盖状态保持3秒,在开盖状态S07步骤中扫描按钮开关9是否有按下(S09步骤),如果没有按下,微电脑控制器2第10脚为高电平,3秒开盖时间到后执行S08步骤关闭桶盖,微电脑控制器2置端口组2B中的第1脚和第14脚为低电平,第12脚和13脚为高电平,致使Q4和Q3导通,Q2和Q5截止,电机4反向转动1秒将桶盖关闭,然后程序转入S01步骤回到待机状态;如果按扭有下,程序转到S10步骤。
在S10步骤中判断按钮按下的时间是否大于3秒,如果小于3秒,程序转入S12步骤桶盖常开,此时微电脑控制器2置第2脚为高电平,主动式红外线感应器1的电源被PNP三极管5切断,将微电脑控制器2的端口组2B置为1脚和12脚为低电平,13脚和14脚为高电平,三级管Q2~Q5截止,驱动电路3不工作,电机不转动,同时微电脑控制器进入端口唤醒睡眠模式;如果大于3秒,程序转入S16步骤,微电脑控制器2置端口组2B中的第1脚和第14脚为低电平,第12脚和13脚为高电平,致使Q4和Q3导通,Q2和Q5截止,电机4反向转动1秒将桶盖关闭,程序转入S17步骤进入关机程序,在关机程序中桶盖保持关闭,微电脑控制器2置第2脚为高电平,主动式红外线感应器1的电源被PNP三极管5切断,将微电脑控制器2的端口组2B置为1脚和12脚为低电平,13脚和14脚为高电平,三级管Q2~Q5截止,驱动电路2不工作,电机不转动,微电脑控制器进入端口唤醒睡眠工作模式。
在S12步骤中如按钮开关9没有被按下,桶盖始终保持开启状态,如按钮被 按下程序执行S14步骤,判断按钮开关9按下的时间是否大于3秒,如果小于3秒,程序执行S08步骤,桶盖关闭后程序返回到S01步骤;如果大于3秒,程序执行S16步骤,桶盖关闭后程序进入S17步骤进入关机程序。在S17步骤关机程序中,如果按钮开关9没有按下,桶盖保持关闭状态,感应开盖功能关闭;如果按钮开关9被按下,程序转入S01步骤,感应功能恢复。
本实例未描述部分与现有技术相同。
以上是本发明的较佳实施例,凡依本发明技术方案所作的改变,所产生的功能作用未超出本发明技术方案的范围时,均属于本发明的保护范围。

Claims (8)

  1. 一种感应翻盖垃圾桶单按键控制方法,提供一感应翻盖垃圾桶控制系统,该系统包括一按钮开关、红外线感应器、微控制器、驱动电路、用于控制桶盖开关的电机,其特征在于:所述控制方法实现如下,
    启动感应翻盖垃圾桶控制系统,使得感应翻盖垃圾桶控制系统处于开机状态,此时微控制器控制红外线感应器工作于正常感应状态;
    红外线感应器工作于正常感应状态:红外线感应器检测感应区内是否有物体,若有,则微控制器通过驱动电路、电机控制桶盖开启;若无,则红外线感应器继续检测;
    在开机状态下,若桶盖处于关闭状态,按一下所述按钮开关,则微控制器通过驱动电路、电机控制桶盖开启,并保持桶盖开启状态;若桶盖处于开启状态,且该开启状态是由于红外线感应器感应后实现的,按一下所述按钮开关,则保持桶盖开启状态;若桶盖处于保持桶盖开启状态,按一下所述按钮开关,则桶盖关闭。
  2. 根据权利要求1所述的一种感应翻盖垃圾桶单按键控制方法,其特征在于:若桶盖开启状态是由于红外线感应器感应后实现的,且在预设时间t内未按下所述按钮开关,则桶盖关闭。
  3. 根据权利要求1所述的一种感应翻盖垃圾桶单按键控制方法,其特征在于:与所述按钮开关连接的微控制器的输入端口具有端口唤醒功能,若桶盖处于保持桶盖开启状态,则微控制器断开红外线感应器的供电,红外线感应器退出正常感应状态,同时微控制器进入睡眠省电模式,直到按下所述按钮开关,微控制器从睡眠省电模式被唤醒,而后微控制器控制桶盖关闭,并控制红外线感应器工作于正常感应状态。
  4. 根据权利要求1所述的一种感应翻盖垃圾桶单按键控制方法,其特征在于:在感应翻盖垃圾桶控制系统处于开机状态下,若桶盖处于关闭状态,则持续按下所述按钮开关t秒后,感应翻盖垃圾桶控制系统进入关机状态;若桶盖处于开启状态,则持续按下所述按钮开关t秒后,先关闭桶盖,而后感应翻盖垃圾桶控制系统进入关机状态;在感应翻盖垃圾桶控制系统处于关机状态下,按下所述按钮开关,重新启动感应翻盖垃圾桶控制系统。
  5. 根据权利要求4所述的一种感应翻盖垃圾桶单按键控制方法,其特征在于:与所述按钮开关连接的微控制器的输入端口具有计时功能和端口变化唤醒功能,在感应翻盖垃圾桶控制系统处于开机状态下,持续按下所述按钮开关t秒后,与所述按钮开关电连接的微控制器的输入端口检测到电平变化时间大于t秒,感应翻盖垃圾桶控制系统进入关机状态,在关机状态中,微控制器断开红外线感应器的供电,红外线感应器退出正常感应状态,同时微控制器进入睡眠省电模式,在感应翻盖垃圾桶控制系统进入关机状态下,按一下所述按钮开关,微控制器从睡眠省电模式被唤醒,感应翻盖垃圾桶控制系统重新进入开机状态。
  6. 根据权利要求4或5所述的一种感应翻盖垃圾桶单按键控制方法,其特征在于:所述t取值范围为2~4秒。
  7. 根据权利要求1所述的一种感应翻盖垃圾桶单按键控制方法,其特征在于:所述按钮开关为触摸型电子开关。
  8. 根据权利要求1所述的一种感应翻盖垃圾桶单按键控制方法,其特征在于:所述感应区位于垃圾桶前桶沿的感应窗口上方。
PCT/CN2017/093120 2017-04-07 2017-07-17 一种感应翻盖垃圾桶单按键控制方法 WO2018184318A1 (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
US16/318,364 US10661985B2 (en) 2017-04-07 2017-07-17 Single-button control method of an induction actuated container

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201710224034.2 2017-04-07
CN201710224034.2A CN106882512A (zh) 2017-04-07 2017-04-07 一种感应翻盖垃圾桶单按键控制方法

Publications (1)

Publication Number Publication Date
WO2018184318A1 true WO2018184318A1 (zh) 2018-10-11

Family

ID=59182750

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/093120 WO2018184318A1 (zh) 2017-04-07 2017-07-17 一种感应翻盖垃圾桶单按键控制方法

Country Status (3)

Country Link
US (1) US10661985B2 (zh)
CN (1) CN106882512A (zh)
WO (1) WO2018184318A1 (zh)

Families Citing this family (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106882512A (zh) * 2017-04-07 2017-06-23 福建纳仕达电子股份有限公司 一种感应翻盖垃圾桶单按键控制方法
CN107032021B (zh) * 2017-05-04 2020-04-21 福建纳仕达电子股份有限公司 一种可设定感应距离的感应翻盖垃圾桶及其控制方法
CN107600837B (zh) * 2017-09-04 2020-05-08 福建纳仕达电子股份有限公司 一种电子垃圾桶动作省电控制装置
CN207943440U (zh) * 2018-03-16 2018-10-09 广州亿科智能家居科技有限公司 一种感应开盖垃圾桶的切换控制电路及其垃圾桶
CN108557347A (zh) * 2018-06-16 2018-09-21 上海拓牛智能科技有限公司 垃圾桶桶盖的缓降装置、智能垃圾桶及其控制方法
US11702282B2 (en) * 2019-10-31 2023-07-18 Nine Stars Group (U.S.A.) Inc. Trash container with induction actuated cover and adjustable detection distance arrangement and its controlling method
CN211653439U (zh) * 2020-01-17 2020-10-09 深圳市道通智能航空技术有限公司 一种按键唤醒电路及电子设备

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004231237A (ja) * 2003-01-30 2004-08-19 Cleanup Corp センサ付き収容箱
CN2825532Y (zh) * 2005-06-13 2006-10-11 郑顺治 感应式垃圾桶
CN203033276U (zh) * 2012-11-21 2013-07-03 王昕� 带有触摸按键的红外感应垃圾桶
CN203094879U (zh) * 2013-01-30 2013-07-31 深圳市格林赛特环保能源科技有限公司 一种智能垃圾桶
CN203909319U (zh) * 2014-06-16 2014-10-29 重庆地矿科技有限公司 一种红外感应自动翻盖的垃圾桶控制电路
CN106882512A (zh) * 2017-04-07 2017-06-23 福建纳仕达电子股份有限公司 一种感应翻盖垃圾桶单按键控制方法

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8396592B2 (en) * 2001-06-12 2013-03-12 Irobot Corporation Method and system for multi-mode coverage for an autonomous robot

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004231237A (ja) * 2003-01-30 2004-08-19 Cleanup Corp センサ付き収容箱
CN2825532Y (zh) * 2005-06-13 2006-10-11 郑顺治 感应式垃圾桶
CN203033276U (zh) * 2012-11-21 2013-07-03 王昕� 带有触摸按键的红外感应垃圾桶
CN203094879U (zh) * 2013-01-30 2013-07-31 深圳市格林赛特环保能源科技有限公司 一种智能垃圾桶
CN203909319U (zh) * 2014-06-16 2014-10-29 重庆地矿科技有限公司 一种红外感应自动翻盖的垃圾桶控制电路
CN106882512A (zh) * 2017-04-07 2017-06-23 福建纳仕达电子股份有限公司 一种感应翻盖垃圾桶单按键控制方法

Also Published As

Publication number Publication date
US20190283964A1 (en) 2019-09-19
US10661985B2 (en) 2020-05-26
CN106882512A (zh) 2017-06-23

Similar Documents

Publication Publication Date Title
WO2018184318A1 (zh) 一种感应翻盖垃圾桶单按键控制方法
EP3398882A1 (en) Control method for tap-type electric trash bin having lid normally opened function
CN103542438B (zh) 油烟机及其控制方法
US6666219B2 (en) Fast interrupt of dishwasher hand sensor
CN103061639A (zh) 打开和/或关闭门的装置
WO2018184317A1 (zh) 一种感应垃圾桶电路待机省电方法
WO2018133184A1 (zh) 触控式电子垃圾桶
CN203878695U (zh) 一种马桶自动冲洗控制装置
EP1635248A2 (en) Multiple functionality associated with a computer on/off pushbutton switch
JP2524380Y2 (ja) ラジコン送信機の電源制御回路
EP3207421A1 (en) Wearable device without a power button
CN210323839U (zh) 一种低功耗门状态检测结构
CN109316153B (zh) 洗碗机的控制方法和装置
WO2014190569A1 (zh) 一种具有触摸开关的设备的自校准方法、装置
CN112947140A (zh) 一种低功耗数码相框系统
CN213371549U (zh) 一种食品加工机
CN210225378U (zh) 一种防止电子产品误触发电路
EP2718772A1 (en) Household appliance with stand-by wake-up system
KR0152249B1 (ko) 전자감응식 자동급수밸브 모터제어장치
CN213371286U (zh) 一种食品加工机
CN209789524U (zh) 显示装置的控制系统、烹饪器具
CN221180115U (zh) 一种简易控制的电饭锅
CN218675974U (zh) 一种开关机电路和电子设备
CN110185107B (zh) 光电传感的智能坐便器
CN214375904U (zh) 一种用于红外感应洁具的节能电路

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17904393

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17904393

Country of ref document: EP

Kind code of ref document: A1