CN110442063B - Low-power-consumption intelligent garbage can control system and control method - Google Patents

Low-power-consumption intelligent garbage can control system and control method Download PDF

Info

Publication number
CN110442063B
CN110442063B CN201910747967.9A CN201910747967A CN110442063B CN 110442063 B CN110442063 B CN 110442063B CN 201910747967 A CN201910747967 A CN 201910747967A CN 110442063 B CN110442063 B CN 110442063B
Authority
CN
China
Prior art keywords
module
pin
control module
main control
resistor
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
Application number
CN201910747967.9A
Other languages
Chinese (zh)
Other versions
CN110442063A (en
Inventor
杨学进
杨栋
韩飞飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Jiangsu Tianying Environmental Protection Energy Equipment Co Ltd
Original Assignee
Jiangsu Tianying Environmental Protection Energy Equipment Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Jiangsu Tianying Environmental Protection Energy Equipment Co Ltd filed Critical Jiangsu Tianying Environmental Protection Energy Equipment Co Ltd
Priority to CN201910747967.9A priority Critical patent/CN110442063B/en
Publication of CN110442063A publication Critical patent/CN110442063A/en
Application granted granted Critical
Publication of CN110442063B publication Critical patent/CN110442063B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/25Pc structure of the system
    • G05B2219/25257Microcontroller

Abstract

A low-power consumption intelligent garbage can control system and a control method relate to the technical field of garbage cans. The intelligent barrel cover comprises a sound detection module, a barrel cover key control module, a power supply module, a main control module, an infrared detection module, a barrel cover opening and closing driving module and a state indication module, wherein the power supply module is respectively connected with the sound detection module, the barrel cover key control module, the infrared detection module, the barrel cover opening and closing driving module and the main control module through a power supply interface, the sound detection module, the barrel cover key control module and the infrared detection module are respectively connected at the input end of the main control module, and the barrel cover opening and closing driving module and the state indication module are connected at the output end of the main control module. The invention realizes intelligent control, adjusts the sleep (power-saving) time of the system and the starting frequency of sensors such as an infrared detection module and the like through sound detection, and can achieve a completely sleep power-saving state after long-term unmanned use. Thereby reach the purpose that greatly reduces intelligent garbage bin consumption.

Description

Low-power-consumption intelligent garbage can control system and control method
Technical Field
The invention relates to the technical field of garbage cans, in particular to a low-power-consumption intelligent garbage can control system and a control method.
Background
With the popularization of intelligent environmental sanitation equipment, various intelligent garbage cans come into the market at a time. Most infrared induction garbage bin or function singleness and power consumption on the existing market are big, and the dry battery just will be changed very fast, and rechargeable batteries such as lithium cell also need frequently to charge, very big influence the user and used experience. With some increased functionality, the power consumption of the circuit tends to increase dramatically. The function and the power consumption of the garbage can control circuit are considered as a problem which causes technical staff to feel headache, the use experience of a user is greatly influenced, and the function expansion of the existing garbage can control circuit is also limited.
Disclosure of Invention
One of the purposes of the invention is to provide a low-power-consumption intelligent garbage can control system which is reasonable in design and high in stability and can achieve the purpose of reducing the power consumption of a garbage can on the premise of meeting the requirement of intelligent control.
The technical scheme for realizing the purpose is as follows: the utility model provides a low-power consumption intelligence garbage bin control system which characterized in that: the intelligent barrel cover comprises a sound detection module, a barrel cover key control module, a power supply module, a main control module, an infrared detection module, a barrel cover opening and closing driving module and a state indication module, wherein the power supply module is respectively connected with the sound detection module, the barrel cover key control module, the infrared detection module, the barrel cover opening and closing driving module and the main control module through a power supply interface, the sound detection module, the barrel cover key control module and the infrared detection module are respectively connected at the input end of the main control module, and the barrel cover opening and closing driving module and the state indication module are connected at the output end of the main control module.
Further, the main control module is a PIC16LF single chip microcomputer, a counter with an initial value of 0 is arranged in the main control module, and WDT interruption of an internal watchdog timer is started.
Further, the power module includes a lithium ion battery, a linear voltage regulator U3, a capacitor C3, a capacitor C4, a capacitor C6, and a resistor R4, a negative electrode of the lithium ion battery, one end of the capacitor C3, the other end of the capacitor C4, the other end of the resistor R6, and one end of the resistor R4 are connected in parallel and then grounded, the other end of the capacitor C6 and a positive electrode of the lithium ion battery are both connected to pin 1 of the linear voltage regulator U3, pin 2 of the linear voltage regulator U3 is grounded, the other end of the resistor R4 is connected to pins 1 and 3 of the linear voltage regulator U3, the other end of the capacitor C4 is connected to pin 4 of the linear voltage regulator U3, the other end of the capacitor C4 is connected to pin 5 of the linear voltage regulator U3, and pin 5 of the linear voltage regulator U3 is connected to a power interface of the sound detection module, the barrel cover key control module, the infrared detection module, the barrel cover opening and closing drive module, and the main control module.
Further, the infrared detection module comprises a triode Q1, a triode Q2, an infrared emission tube IR1, an infrared receiving head VS, a capacitor C9 and a resistor R5, the infrared receiving module comprises a resistor R6, a resistor R7, a resistor R11 and a resistor R11, wherein one end of the resistor R11 is connected with a pin 10 of the main control module, one end of the resistor R6 is connected with a pin 9 of the main control module, the other end of the resistor R11 is connected with a pole B of a triode Q1, the other end of the resistor R6 is connected with a pole B of a triode Q2, a pole E of a triode Q1 is connected with a power module, a pole C of the triode Q1 is connected with a pole E of a triode Q2, a pole C of the triode Q2 is sequentially connected with an infrared transmitting tube IR1 and a resistor R5 in series and grounded, one end of the resistor R7 is connected with a pole C of a triode Q1, the other end of the resistor R7 is respectively connected with one end of a capacitor C9 and a pin 3 of an infrared receiving head VS, the other end of a capacitor C9 is connected with a pin 2 of the infrared receiving head VS and grounded, and a pin 1 of the infrared receiving head VS is connected with a pin 8 of the main control module.
Further, the barrel cover opening and closing driving module comprises a resistor R9, a triode Q3, a capacitor C1, a C8 and an H-bridge motor driving chip U5, one end of the resistor R9 is connected with a pin 5 of the main control module, the other end of the resistor R9 is connected with a pin B of the triode Q3, a pin E of the triode Q3 is connected with the power module, a pin C of the triode Q3 is connected with a pin 5 of the H-bridge motor driving chip U5, the pin 5 of the H-bridge motor driving chip U5 is also connected with the capacitor C8 and grounded, a pin 4 of the H-bridge motor driving chip U5 is connected with a pin 6 of the main control module, a pin 3 of the H-bridge motor driving chip U5 is connected with a pin 7 of the main control module, a pin 2 of the H-bridge motor driving chip U5 is connected with the ground, and two ends of the capacitor C1 are connected between a pin 1 and a pin 6 of the H-bridge motor driving chip U5.
Further, the sound detection module includes electret condenser microphone MIC, resistance R1, electric capacity C2, and 2 feet of electret condenser microphone MIC are ground connection, and 1 foot of electret condenser microphone MIC connects resistance R1, the one end of electric capacity C2 respectively, and power module is connected to resistance R1's the other end, and 11 feet of main control module are connected to electric capacity C2's the other end.
Further, the barrel cover KEY control module comprises a normally open KEY1 and a resistor R2, one end of the normally open KEY1 is grounded, the other end of the normally open KEY1 is connected with one end of the resistor R2 and the pin 2 of the main control module, and the other end of the resistor R2 is connected with the power supply module.
Further, the state indicating module comprises a red LED lamp, a green LED lamp and two current-limiting resistors R14 and R15, the negative ends of the red LED lamp and the green LED lamp are connected in parallel and grounded, the anode of the red LED lamp is connected with the resistor R14 in series and then connected with the 4 pins of the main control module, and the anode of the green LED lamp is connected with the resistor R15 in series and then connected with the 3 pins of the main control module.
The invention also aims to provide a control method of the low-power-consumption intelligent garbage can, which comprises the following steps:
s1, initializing the system;
s2, the system enters a sleep mode except for the voice detection module;
s3, the sound detection module continuously detects the sound signal, and if the sound signal is detected, the step goes to S4, and if the sound signal is not detected, the step goes to S2;
s4, waking up the main control module through an INT peripheral interrupt pin of the main control module, starting the watchdog timer to interrupt, resetting a counter in the main control module, and resetting the watchdog timer to an initial value;
s5, the main control module detects whether the watchdog timer is started to interrupt, if yes, the step goes to S6, and if not, the step goes to S2;
s6, waking up the watchdog after one sleep period is finished;
s7, the main control module detects whether the barrel cover key control module is triggered, if so, the step is switched to S8, and if not, the step is switched to the step 12;
s8, a red LED lamp of the state indicating module is turned on, and the dustbin cover opening and closing driving module is controlled to drive the dustbin cover to be opened;
s9, the system enters the sleep mode again except the voice detection module;
s10, waking up the watchdog again after the sleep cycle is finished;
s11, the main control module detects whether the barrel cover key control module is triggered, if so, the step goes to S16, and if not, the step goes to S9;
s12, starting an infrared detection module, and turning to the step S13 if the human body is detected to be close, or turning to the step 18 if the human body is not detected to be close;
s13, a red LED lamp of the state control indication module is turned on, and the dustbin cover is driven to be opened through the dustbin cover opening and closing driving module;
s14, delaying the system for 3 seconds;
s15, the infrared detection module is started, if the human body is detected to approach, the step S14 is carried out, and if the human body is not detected to approach, the step 16 is carried out;
s16, controlling the barrel cover opening and closing driving module to drive the garbage barrel cover to close, and turning on a green LED lamp and turning off a red LED lamp of the state indicating module;
s17, after delaying for 1 second, turning off the green LED lamp and the infrared detection module, and turning to the step S2;
s18, adding 1 to a counter in the main control module;
s19, the main control module detects whether the value of the counter is larger than 1000, if yes, the step goes to S20, and if not, the step goes to S2;
s20, the main control module detects whether the set value of the watchdog timer reaches the maximum value allowed to be set, if yes, the step is switched to S21, and if not, the step is switched to S22;
s21, closing the watchdog interrupt, and controlling the system to enter a sleep mode except the voice detection module;
s22, the watchdog timer setting value is doubled, and the process goes to step S2.
Further, the sleep mode comprises the steps that the main control module enters the sleep mode, the infrared detection module power supply control triode Q1 is turned off, the barrel cover closing and opening driving module power supply control triode Q3 is turned off, and the closing state indicating module outputs.
The invention has the beneficial effects that:
the invention realizes intelligent control, adjusts the sleep (power-saving) time of the system and the starting frequency of sensors such as an infrared detection module and the like through sound detection, and can achieve a completely sleep power-saving state after long-term unmanned use. Thereby reach the purpose that greatly reduces intelligent garbage bin consumption.
The power supplies of an infrared transmitting tube IR1 and an infrared receiving head VS of the infrared detection module are controlled to be switched on and off by the main control module through a triode Q1, the power supplies of an H-bridge motor driving chip U5 of the barrel cover opening and closing driving module are controlled to be switched on and off by the main control module through a triode Q3, and current loss of the infrared receiving head and the H-bridge motor driving chip in standby is effectively reduced.
Drawings
FIG. 1 is a functional block diagram of the present invention;
FIG. 2 is a circuit diagram of the invention;
FIG. 3 is a flow chart of the present invention;
fig. 4 is a schematic structural diagram of the trash can.
Detailed Description
The invention discloses a low-power-consumption intelligent garbage can control system and a control method, which are used for achieving intelligent control and reducing the power consumption of an intelligent garbage can.
Fig. 4 is a brief structure schematic diagram of garbage bin, specifically including staving 1 and the bung 2 of connection on staving 1, install the bung that drives 2 switches of bung in the staving 1 and open and close motor 3, the bung opens and closes motor 3 drive 2 switches of bung and be current maturation technology, specific structure is no longer repeated, still install sound detection module 4 on the staving 1 of 2 peripheries of bung, bung button control module 5, infrared detection module 6, status indication module 7, install power module 8 in the staving 1, host system 9, the bung opens and close drive module 10, can set up the mounting groove on the staving 1, and with power module 8, host system 9, the bung opens and closes in drive module 10's the mounting groove.
As shown in fig. 1, low-power consumption intelligent garbage bin control system includes sound detection module 4, bung button control module 5, power module 8, host system 9, infrared detection module 6, drive module 10 and status indication module 7 are opened and close to the bung, power module 8 respectively with sound detection module 4, bung button control module 5, infrared detection module 6, drive module 10 is opened and close to the bung, host system 9's power source interface connection, sound detection module 4, bung button control module 5, infrared detection module 6 connects the input at host system 9 respectively, drive module 10 is opened and close to the bung, status indication module 7 connects the output at host system 9.
The main control module 9 is a single chip microcomputer with the model number of PIC16LF, a counter with the initial value of 0 is arranged in the main control module 9, and WDT (watchdog timer) interrupt pins and INT peripheral interrupt pins of an internal watchdog timer are started.
The power module 8 comprises a lithium ion battery BAT, a voltage stabilizer U3, a capacitor C3, a capacitor C4, a capacitor C6 and a resistor R4, the negative electrode of the lithium ion battery, one end of the capacitor C3, one end of the capacitor C4, one end of the resistor C6 and one end of the resistor R4 are grounded after being connected in parallel, the other end of the capacitor C6 and the positive electrode of the lithium ion battery are both connected with a pin 1 of the linear voltage stabilizer U3, a pin 2 of the linear voltage stabilizer U3 is grounded, the other end of the resistor R4 is connected with pins 1 and 3 of the linear voltage stabilizer U3 respectively, the other end of the capacitor C4 is connected with a pin 4 of the linear voltage stabilizer U3, the other end of the capacitor C4 is connected with a pin 5 of the linear voltage stabilizer U3, and the pin 5 of the linear voltage stabilizer U3 is connected with a power interface of the sound detection module 4, the barrel cover key control module 5, the infrared detection module 6, the barrel cover opening and closing drive module 10 and the main control module 9 respectively.
The working principle of the power supply module is as follows: u3 is low dropout regulator LDO, turns into standard DC3.3V power with battery BAT power, and electric capacity C4 is used for reference noise reduction, and electric capacity C6 is used for input filtering, and electric capacity C3 is used for output filtering, and R4 resistance is used for enabling signal pull-down.
The infrared detection module 6 comprises a triode Q1, a triode Q2, an infrared emission tube IR1, an infrared receiving head VS, a capacitor C9, a resistor R5, a resistor R6, a resistor R7 and a resistor R11, one end of the resistor R11 is connected with a pin 10 of the main control module 9, one end of the resistor R6 is connected with a pin 9 of the main control module 9, the other end of the resistor R11 is connected with a pin B of the triode Q1, the other end of the resistor R6 is connected with a pin B of the triode Q2, a pin E of the triode Q1 is connected with the power module, a pin C of the triode Q1 is connected with a pin E of the triode Q2, a pin C of the triode Q2 is sequentially connected with the infrared emission tube IR1 and the resistor R5 in series and is grounded, one end of the resistor R7 is connected with a pin C of the triode Q1, the other end of the resistor R7 is respectively connected with one end of the capacitor C9 and a pin 3 of the infrared receiving head VS, the other end of the capacitor C9 is connected with a pin 2 of the infrared receiving head VS and is grounded, and the pin 1 of the infrared receiving head VS is connected with a pin 8 of the main control module.
The working principle of the infrared detection module is as follows: the main control module 9 drives the triode Q1 to be switched on and off through the R11 resistor, and when the triode Q1 is switched on, the infrared detection module 6 is powered on and starts to work; the main control module 9 drives the triode Q2 to be switched on and off through a resistor R6 at the frequency of 38KHz, so that the infrared emission tube IR1 emits infrared waves of 38KHz, and the resistor R5 is a current-limiting resistor of the infrared emission tube IR 1; infrared waves are reflected by a human body and are sensed by the infrared receiving head VS, signals are fed back to the main control module 9 through the pin 1 of the infrared receiving head VS, the capacitor C9 is used for filtering the signals, and the detection is completed at the last time.
The barrel cover opening and closing driving module 10 comprises a resistor R9, a triode Q3, capacitors C1, C8 and an H-bridge motor driving chip U5, one end of the resistor R9 is connected with a pin 5 of the main control module, the other end of the resistor R9 is connected with a pin B of the triode Q3, a pin E of the triode Q3 is connected with the power supply module, a pin C of the triode Q3 is connected with a pin 5 of the H-bridge motor driving chip U5, a pin 5 of the H-bridge motor driving chip U5 is also connected with the capacitor C8 and grounded, a pin 4 of the H-bridge motor driving chip U5 is connected with a pin 6 of the main control module, a pin 3 of the H-bridge motor driving chip U5 is connected with a pin 7 of the main control module, two ends of the capacitor C1 are connected between pins 1 and 6 of the H-bridge motor driving chip U5, and the barrel cover opening and closing motor 3 is connected with two ends of the capacitor C1.
The operating principle of the barrel cover opening and closing module is as follows: when the barrel cover needs to be opened or closed, the main control module 9 drives the triode Q3 through the resistor R9 to control the power supply of the H-bridge motor driving chip U5 to enable the chip to be powered, and the capacitor C8 is used for filtering the power supply of the H-bridge motor driving chip U5; the H-bridge motor driving chip U5 directly drives the barrel cover opening and closing motor 3, the main control module 9 drives the 3 pins and the 4 pins of the H-bridge motor driving chip U5 to realize three actions of forward rotation, reverse rotation and stopping of the barrel cover opening and closing motor 3, and the capacitor C1 is used for driving the barrel cover opening and closing motor 3 to drive and filter.
The sound detection module 4 comprises an electret condenser microphone MIC, a resistor R1 and a capacitor C2, wherein a pin 2 of the electret condenser microphone MIC is grounded, a pin 1 of the electret condenser microphone MIC is respectively connected with one ends of a resistor R1 and a capacitor C2, the other end of the resistor R1 is connected with the power supply module 8, and the other end of the capacitor C2 is connected with a pin 11 of the main control module 9.
The working principle of the sound detection module is as follows: after sound is sensed and when the sound in the environment reaches a threshold value, the electret condenser microphone MIC is triggered, the electret condenser microphone MIC transmits a signal to the main control module 9 through an oscillation loop formed by a resistor R1 and a capacitor C2, and the main control module 9 receives and processes the signal.
The barrel cover KEY control module 5 comprises a normally open KEY1 and a resistor R2, one end of the normally open KEY1 is grounded, the other end of the normally open KEY1 is connected with one end of the resistor R2 and the pin 2 of the main control module 9, and the other end of the resistor R2 is connected with the power supply module.
The status indication module 7 includes a red LED lamp D1, a green LED lamp D2, and two current-limiting resistors R14 and R15, the negative terminals of the red LED lamp D1 and the green LED lamp D2 are connected in parallel and grounded, the positive terminal of the red LED lamp D2 is connected in series with the resistor R14 and then connected to the 4 pins of the main control module, and the positive terminal of the green LED lamp D2 is connected in series with the resistor R15 and then connected to the 3 pins of the main control module 9.
The embodiment also discloses a low-power consumption intelligent garbage can control method, which comprises the following steps:
s1, initializing the system;
s2, except for the sound detection module 4, the system enters a sleep mode;
s3, the sound detection module 4 continues to detect, if the sound signal is detected, the step goes to S4, and if the sound signal is not detected, the step goes to S2;
s4, waking up the main control module 9 through an INT peripheral interrupt pin of the main control module 9, starting the watchdog timer to interrupt, resetting a counter in the main control module 9, and resetting the watchdog timer to an initial value;
s5, the main control module 9 detects whether the watchdog timer is started to interrupt, if yes, the step goes to S6, and if not, the step goes to S2;
s6, waking up the watchdog after one sleep period is finished;
s7, the main control module 9 detects whether the barrel cover key control module 5 is triggered, if so, the step is switched to S8, and if not, the step is switched to the step 12;
s8, a red LED lamp of the state indicating module 7 is turned on, and the cover opening and closing driving module is controlled to drive the garbage cover to open;
s9, the system enters the sleep mode again except the voice detection module;
s10, waking up the watchdog again after the sleep cycle is finished;
s11, the main control module detects whether the barrel cover key control module is triggered, if so, the step goes to S16, and if not, the step goes to S9;
s12, starting the infrared detection module 6, if the human body is detected to approach, turning to the step S13, and if the human body is not detected to approach, turning to the step 18;
s13, controlling a red LED lamp of the state indicating module 7 to light D1, and driving the garbage can cover to open through the can cover opening and closing driving module 10;
s14, delaying the system for 3 seconds;
s15, the infrared detection module 6 is started, if the human body is detected to approach, the step S14 is carried out, and if the human body is not detected to approach, the step 16 is carried out;
s16, controlling the dustbin cover opening and closing driving module 10 to drive the dustbin cover to close, and turning off a green LED lamp D2 and a red LED lamp D1 of the state indicating module;
s17, after delaying for 1 second, turning off the green LED lamp D2 and the infrared detection module 6, and turning to the step S2;
s18, adding 1 to a counter in the main control module 9;
s19, the main control module 9 detects whether the value of the counter is larger than 1000, if yes, the step goes to S20, and if not, the step goes to S2;
s20, the main control module 9 detects whether the set value of the watchdog timer reaches the maximum value allowed to be set, if yes, the step goes to S21, and if not, the step goes to S22;
s21, closing the watchdog interrupt, and controlling the system to enter a sleep mode except the sound detection module 4;
s22, the watchdog timer setting value is doubled, and the process goes to step S2.
The sleep mode refers to the main control module 9 entering the sleep mode, turning off the power control triode Q1 of the infrared detection module 6, turning off the power control triode Q3 of the barrel cover opening and closing driving module 10, and outputting by the closing state indicating module 7.

Claims (7)

1. The utility model provides a low-power consumption intelligence garbage bin control system which characterized in that: the intelligent barrel cover opening and closing device comprises a sound detection module, a barrel cover key control module, a power supply module, a main control module, an infrared detection module, a barrel cover opening and closing driving module and a state indication module, wherein the power supply module is respectively connected with power interfaces of the sound detection module, the barrel cover key control module, the infrared detection module, the barrel cover opening and closing driving module and the main control module;
the main control module is a PIC16LF singlechip, a counter with an initial value of 0 is arranged in the main control module, and WDT (watchdog timer) interrupt and INT (INT peripheral interrupt) pins of an internal watchdog timer are started;
the state indicating module comprises a red LED lamp, a green LED lamp and two current-limiting resistors R14 and R15, the negative ends of the red LED lamp and the green LED lamp are connected in parallel and grounded, the positive electrode of the red LED lamp is connected with a resistor R14 in series and then connected with the 4 pins of the main control module, and the positive electrode of the green LED lamp is connected with a resistor R15 in series and then connected with the 3 pins of the main control module;
the control method of the low-power consumption intelligent garbage can comprises the following steps:
s1, initializing the system;
s2, the system enters a sleep mode except for the voice detection module;
s3, the sound detection module continuously detects the sound signal, and if the sound signal is detected, the step goes to S4, and if the sound signal is not detected, the step goes to S2;
s4, waking up the main control module through an INT peripheral interrupt pin of the main control module, starting the watchdog timer to interrupt, resetting a counter in the main control module, and resetting the watchdog timer to an initial value;
s5, the main control module detects whether the watchdog timer is started to interrupt, if yes, the step goes to S6, and if not, the step goes to S2;
s6, waking up the watchdog after one sleep period is finished;
s7, the main control module detects whether the barrel cover key control module is triggered, if so, the step is switched to S8, and if not, the step is switched to the step 12;
s8, a red LED lamp of the state indicating module is turned on, and the dustbin cover opening and closing driving module is controlled to drive the dustbin cover to be opened;
s9, the system enters the sleep mode again except the voice detection module;
s10, waking up the watchdog again after the sleep cycle is finished;
s11, the main control module detects whether the barrel cover key control module is triggered, if so, the step goes to S16, and if not, the step goes to S9;
s12, starting an infrared detection module, and turning to the step S13 if the human body is detected to be close, or turning to the step 18 if the human body is not detected to be close;
s13, a red LED lamp of the state control indication module is turned on, and the dustbin cover is driven to be opened through the dustbin cover opening and closing driving module;
s14, delaying the system for 3 seconds;
s15, the infrared detection module is started, if the human body is detected to approach, the step S14 is carried out, and if the human body is not detected to approach, the step 16 is carried out;
s16, controlling the barrel cover opening and closing driving module to drive the garbage barrel cover to close, and turning on a green LED lamp and turning off a red LED lamp of the state indicating module;
s17, after delaying for 1 second, turning off the green LED lamp and the infrared detection module, and turning to the step S2;
s18, adding 1 to a counter in the main control module;
s19, the main control module detects whether the value of the counter is larger than 1000, if yes, the step goes to S20, and if not, the step goes to S2;
s20, the main control module detects whether the set value of the watchdog timer reaches the maximum value allowed to be set, if yes, the step is switched to S21, and if not, the step is switched to S22;
s21, closing the watchdog interrupt, and controlling the system to enter a sleep mode except the voice detection module;
s22, the watchdog timer setting value is doubled, and the process goes to step S2.
2. The low-power consumption intelligent garbage can control system according to claim 1, characterized in that: the power module comprises a lithium ion battery, a linear voltage regulator U3, a capacitor C3, a C4, a C6 and a resistor R4, the negative electrode of the lithium ion battery, a capacitor C3, a C4, a C6 and one end of the resistor R4 are grounded after being connected in parallel, the other end of the capacitor C6 and the positive electrode of the lithium ion battery are both connected with a pin 1 of the linear voltage regulator U3, a pin 2 of the linear voltage regulator U3 is grounded, the other end of the resistor R4 is connected with pins 1 and 3 of the linear voltage regulator U3 respectively, the other end of the capacitor C4 is connected with a pin 4 of the linear voltage regulator U3, the other end of the capacitor C4 is connected with a pin 5 of the linear voltage regulator U3, and the pin 5 of the linear voltage regulator U3 is connected with a power interface of a sound detection module, a barrel cover key control module, an infrared detection module, a barrel cover opening and closing drive module and a main control module respectively.
3. The low-power consumption intelligent garbage can control system according to claim 1, characterized in that: the infrared detection module comprises a triode Q1, a triode Q2, an infrared transmitting tube IR1, an infrared receiving head VS, a capacitor C9, a resistor R5, a resistor R6, a resistor R7 and a resistor R11, one end of the resistor R11 is connected with a pin 10 of the main control module, one end of a resistor R6 is connected with a pin 9 of the main control module, the other end of a resistor R11 is connected with a pole B of a triode Q1, the other end of the resistor R6 is connected with a pole B of a triode Q2, a pole E of a triode Q1 is connected with a power supply module, a pole C of a triode Q1 is connected with a pole E of a triode Q2, a pole C of a triode Q2 is sequentially connected with an infrared emission tube IR1 and the resistor R5 in series and is grounded, one end of a resistor R7 is connected with a pole C of the triode Q1, the other end of a resistor R7 is respectively connected with one end of a capacitor C9 and a pin 3 of an infrared receiving head VS, the other end of the capacitor C9 is connected with a pin 2 of the infrared receiving head VS and is grounded, and a pin 1 of the infrared receiving head VS is connected with a pin 8 of the main control module.
4. The low-power consumption intelligent garbage can control system according to claim 1, characterized in that: the barrel cover opening and closing driving module comprises a resistor R9, a triode Q3, capacitors C1, C8 and an H-bridge motor driving chip U5, one end of the resistor R9 is connected with a pin 5 of the main control module, the other end of the resistor R9 is connected with a pin B of the triode Q3, a pin E of the triode Q3 is connected with the power module, a pin C of the triode Q3 is connected with a pin 5 of the H-bridge motor driving chip U5, a pin 5 of the H-bridge motor driving chip U5 is also connected with the capacitor C8 and grounded, a pin 4 of the H-bridge motor driving chip U5 is connected with a pin 6 of the main control module, a pin 3 of the H-bridge motor driving chip U5 is connected with a pin 7 of the main control module, a pin 2 of the H-bridge motor driving chip U5 is connected with the ground, and two ends of the capacitor C1 are connected between a pin 1 and a pin 6 of the H-bridge motor driving chip U5.
5. The low-power consumption intelligent garbage can control system according to claim 1, characterized in that: the sound detection module comprises an electret condenser microphone MIC, a resistor R1 and a capacitor C2, wherein a pin 2 of the electret condenser microphone MIC is grounded, a pin 1 of the electret condenser microphone MIC is respectively connected with one ends of a resistor R1 and a capacitor C2, the other end of the resistor R1 is connected with a power supply module, and the other end of the capacitor C2 is connected with a pin 11 of a main control module.
6. The low-power consumption intelligent garbage can control system according to claim 1, characterized in that: the barrel cover KEY control module comprises a normally open KEY KEY1 and a resistor R2, one end of the normally open KEY KEY1 is grounded, the other end of the normally open KEY KEY1 is connected with one end of the resistor R2 and the pin 2 of the main control module respectively, and the other end of the resistor R2 is connected with the power supply module.
7. The low-power consumption intelligent garbage can control system according to claim 1, characterized in that: the sleep mode comprises the steps that the main control module enters the sleep mode, the infrared detection module power supply control triode Q1 is turned off, the barrel cover closing and opening driving module power supply control triode Q3 is turned off, and the off state indicating module outputs.
CN201910747967.9A 2019-08-14 2019-08-14 Low-power-consumption intelligent garbage can control system and control method Active CN110442063B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910747967.9A CN110442063B (en) 2019-08-14 2019-08-14 Low-power-consumption intelligent garbage can control system and control method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910747967.9A CN110442063B (en) 2019-08-14 2019-08-14 Low-power-consumption intelligent garbage can control system and control method

Publications (2)

Publication Number Publication Date
CN110442063A CN110442063A (en) 2019-11-12
CN110442063B true CN110442063B (en) 2022-03-29

Family

ID=68435314

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910747967.9A Active CN110442063B (en) 2019-08-14 2019-08-14 Low-power-consumption intelligent garbage can control system and control method

Country Status (1)

Country Link
CN (1) CN110442063B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111464992A (en) * 2020-04-01 2020-07-28 蔚蓝计划(北京)科技有限公司 Power-saving control method, device and system based on intelligent garbage can
CN111638668A (en) * 2020-05-25 2020-09-08 蔚蓝计划(北京)科技有限公司 Control system and control method of intelligent voice trash can
CN114229270B (en) * 2021-12-30 2023-04-11 江苏天楹资源回收有限公司 Intelligent deodorization system and deodorization method for garbage classification room
CN114803228A (en) * 2022-06-06 2022-07-29 山东石油化工学院 Intelligent garbage can control method and system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101776872A (en) * 2010-02-04 2010-07-14 沈海桥 Circuit control method of ultra-low power consumption infrared sensor trash bin
CN102034128A (en) * 2009-12-31 2011-04-27 华南理工大学 Active temporary speed-limit tag and signal processing method thereof
CN102745440A (en) * 2012-07-19 2012-10-24 集美大学 Garbage can in shape of toy for children
CN103439899A (en) * 2013-07-29 2013-12-11 余姚市心雨洁具有限公司 Low-power-consumption multifunctional infrared sensing garbage can circuit and control method
CN105094816A (en) * 2015-07-09 2015-11-25 北京君正集成电路股份有限公司 Method for reducing power consumption of intelligent device and intelligent device
CN105501747A (en) * 2016-01-14 2016-04-20 芜湖懒人智能科技有限公司 Control system for outdoor intelligent garbage can and control method thereof
CN106886182A (en) * 2017-04-07 2017-06-23 福建纳仕达电子股份有限公司 A kind of induction dustbin circuit energy saving standby method
CN107380813A (en) * 2017-06-28 2017-11-24 中山职业技术学院 A kind of intelligent garbage recovery early warning system based on wireless network

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2016502964A (en) * 2012-12-19 2016-02-01 ビッグ ベリー ソーラー, インコーポレイテッド Controlling electric garbage compressor and container

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102034128A (en) * 2009-12-31 2011-04-27 华南理工大学 Active temporary speed-limit tag and signal processing method thereof
CN101776872A (en) * 2010-02-04 2010-07-14 沈海桥 Circuit control method of ultra-low power consumption infrared sensor trash bin
CN102745440A (en) * 2012-07-19 2012-10-24 集美大学 Garbage can in shape of toy for children
CN103439899A (en) * 2013-07-29 2013-12-11 余姚市心雨洁具有限公司 Low-power-consumption multifunctional infrared sensing garbage can circuit and control method
CN105094816A (en) * 2015-07-09 2015-11-25 北京君正集成电路股份有限公司 Method for reducing power consumption of intelligent device and intelligent device
CN105501747A (en) * 2016-01-14 2016-04-20 芜湖懒人智能科技有限公司 Control system for outdoor intelligent garbage can and control method thereof
CN106886182A (en) * 2017-04-07 2017-06-23 福建纳仕达电子股份有限公司 A kind of induction dustbin circuit energy saving standby method
CN107380813A (en) * 2017-06-28 2017-11-24 中山职业技术学院 A kind of intelligent garbage recovery early warning system based on wireless network

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
低功耗低频快速起振电路的设计;赵毅强,杨 栋;《北 京 工 业 大 学 学 报》;20120730(第7期);全文 *

Also Published As

Publication number Publication date
CN110442063A (en) 2019-11-12

Similar Documents

Publication Publication Date Title
CN110442063B (en) Low-power-consumption intelligent garbage can control system and control method
CN110797946B (en) Battery pack charge-discharge protection system
WO2018184317A1 (en) Power-saving standby method for waste bin sensing circuit
CN202372938U (en) Telequipment
CN103118456A (en) Acousto-optical double control timed control circuit and floodlight
CN204560754U (en) A kind of Internet of Things bird-scaring unit
WO2021258366A1 (en) Control circuit, battery management system and electrochemical device
CN205051670U (en) Fall electricity from opening control circuit
CN110676892B (en) Mobile robot and power management system thereof
WO2018095228A1 (en) Motion energy harvesting circuit and portable electronic device
CN115498731A (en) BMS state switching system
CN209908371U (en) Modular control system of automatic garage door
CN203339784U (en) Novel automatch-type digital charger
CN208904976U (en) Integrated circuit with pressure stabilizing, buzzer driving and relay driving function
CN203799457U (en) Self-power-generating type doorbell apparatus
CN112491115A (en) Power supply management circuit for standby rechargeable battery
CN206932019U (en) A kind of lithium battery energy storage battery system
CN215477330U (en) Domestic response garbage bin control circuit
CN207039954U (en) A kind of multi-path choice LED illumination driving power
CN204928291U (en) Intelligence power module
CN109814458A (en) Low-power consumption standby control circuit
CN105759684B (en) It is a kind of to prevent opening infrared induction intelligent switch certainly by monolithic processor controlled have a power failure
CN204259217U (en) Multifunctional all LED control module
CN210351299U (en) Call control circuit
CN210780199U (en) Curtain control system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant