CN111123799A - Voice garbage can and power-saving control method, device and system thereof - Google Patents

Voice garbage can and power-saving control method, device and system thereof Download PDF

Info

Publication number
CN111123799A
CN111123799A CN201911413694.0A CN201911413694A CN111123799A CN 111123799 A CN111123799 A CN 111123799A CN 201911413694 A CN201911413694 A CN 201911413694A CN 111123799 A CN111123799 A CN 111123799A
Authority
CN
China
Prior art keywords
voice
instruction
garbage
duration
mode
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.)
Pending
Application number
CN201911413694.0A
Other languages
Chinese (zh)
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.)
Blue Plan Beijing Technology Co Ltd
Original Assignee
Blue Plan Beijing Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Blue Plan Beijing Technology Co Ltd filed Critical Blue Plan Beijing Technology Co Ltd
Priority to CN201911413694.0A priority Critical patent/CN111123799A/en
Publication of CN111123799A publication Critical patent/CN111123799A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/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
    • 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
    • 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/24Pc safety
    • G05B2219/24215Scada supervisory control and data acquisition

Landscapes

  • Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Mechanical Engineering (AREA)
  • Control Of Washing Machine And Dryer (AREA)

Abstract

The embodiment of the invention discloses a power saving control method, a device and a system for a voice garbage can, wherein the method comprises the following steps: acquiring interval time between the current time and the end time of the last effective voice instruction, and sending a standby instruction if the interval time exceeds a first time threshold value so that the voice garbage can enters a standby mode according to the standby instruction; when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction; and acquiring the duration of the start of the voice processing module, judging that the duration is less than the second duration threshold and acquiring preset awakening information, sending an awakening instruction, judging that the duration is greater than or equal to the second duration threshold, and returning to the standby mode. The technical problem of among the prior art voice trash can continuous operation lead to power consumption big is solved.

Description

Voice garbage can and power-saving control method, device and system thereof
Technical Field
The embodiment of the invention relates to the technical field of garbage recovery, in particular to a voice garbage can and a power saving control method, device and system thereof.
Background
Along with the continuous development of the application of the artificial intelligence technology, the intelligent garbage can also continuously become an unavailable part in the life of people, and the intelligent intellectualization of the home life is an inevitable trend of future development. Present intelligent response garbage bin mainly has three kinds of response modes: pyroelectric infrared induction, voice induction, ultrasonic induction, face recognition induction and the like. With the continuous improvement and perfection of voice recognition technology, the use of voice trash cans is becoming more and more extensive.
The electric energy consumption of the traditional voice garbage can is mainly divided into three parts: the first part is a sensing part, which mainly serves to pick up sound for detecting whether "rubbish" is coming; the second part is a control part, which is the brain of the whole garbage can and is mainly used for receiving the instruction of the induction part and then sending out the instruction to control other parts to make corresponding reactions; the third part is an action part which is mainly used for executing instructions sent by the second part, and the instructions comprise opening a cover, removing peculiar smell, packaging and the like. At present, in these three major parts of most pronunciation garbage bins on the market, when not having "rubbish" to arrive, the sound pick-up part in the first part can be in operating condition always, because speech recognition is for pursuing the accuracy, corresponding algorithm module and communication module need be in full speed running state for a long time just can guarantee sensitivity and rate of identification, this has just caused the waste of electric energy when not having "rubbish" to be close to, can not accomplish to open when really accomplishing to need, the power saving mode of closing when not. Based on this, most pronunciation garbage bins all have the big problem of electric quantity consumption at present, though more intelligent receipts have paid rubbish, but have sacrificed a large amount of electric energy, to pronunciation garbage bin, the garbage bin is all in operating condition all the weather, and this has just caused the waste of some unnecessary electric energy.
Disclosure of Invention
Therefore, the embodiment of the invention provides a voice trash can and a power saving control method, device and system thereof, so as to solve the technical problem of high power consumption caused by continuous operation of the voice trash can in the prior art.
In order to achieve the above object, the embodiments of the present invention provide the following technical solutions:
a power saving control method for a voice trash can, the method comprising:
acquiring the interval duration between the current moment and the end moment of the last effective voice instruction;
if the interval duration exceeds a first duration threshold, sending a standby instruction so that the voice garbage can enters a standby mode according to the standby instruction;
when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction;
acquiring the starting duration of the voice processing module;
if the duration is smaller than the second duration threshold and preset awakening information is obtained, sending an awakening instruction so that the voice garbage can enters a working mode according to the awakening instruction;
and if the duration is judged to be greater than or equal to the second duration threshold, returning to the standby mode.
Further, the method further comprises:
acquiring a starting-up instruction;
sending a self-checking instruction according to the starting instruction so that the voice garbage can enters a self-checking mode according to the self-checking instruction;
if the equipment is judged to be normal after self-checking, playing normal working information through a power amplifier module, and entering a standby mode;
and if the equipment is abnormal after the self-inspection is judged, outputting alarm information through an alarm module.
Further, the working mode comprises an induction mode and a holding mode;
after the voice garbage can enters the induction mode, voice action instructions are obtained and recognized through the voice processing module, the control module controls the voice garbage can to execute corresponding actions according to the voice action instructions, and after the execution of each voice action instruction is finished, the voice garbage can enters the holding mode;
after the voice garbage can enters a holding mode, acquiring the interval duration between the current moment and the ending moment of the last effective voice instruction; and if the interval duration exceeds a first duration threshold, sending a standby instruction so that the voice garbage can enters a standby mode according to the standby instruction.
Further, the acquiring the preset wake-up information specifically includes:
acquiring a preset awakening word; or the like, or, alternatively,
and acquiring an infrared hand scanning instruction.
The invention also provides a power saving control device for the voice trash can, which is used for implementing the method, and the device comprises:
the time acquisition unit is used for acquiring the interval duration between the current moment and the last effective voice instruction ending moment;
the control unit is used for sending a standby instruction when the interval duration exceeds a first duration threshold so that the voice garbage can enter a standby mode according to the standby instruction; when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction;
the time acquisition module is also used for acquiring the duration of the starting of the voice processing module;
the control unit is further used for judging that the duration is smaller than the second duration threshold and acquiring preset awakening information, and then sending an awakening instruction so that the voice garbage can enter a working mode according to the awakening instruction; and if the duration is judged to be greater than or equal to the second duration threshold, returning to the standby mode.
Further, the apparatus further comprises a self-test unit, wherein the self-test unit is configured to:
acquiring a starting-up instruction;
sending a self-checking instruction according to the starting instruction so that the voice garbage can enters a self-checking mode according to the self-checking instruction;
if the equipment is judged to be normal after self-checking, playing normal working information through a power amplifier module, and entering a standby mode;
and if the equipment is abnormal after the self-inspection is judged, outputting alarm information through an alarm module.
Further, the control unit is an STM32 microcontroller, and the voice processing module is an R328 voice processing module.
The invention also provides a voice trash can which comprises the power saving control device.
The invention also provides a power saving control system for the voice trash can, which comprises: a processor and a memory;
the memory is to store one or more program instructions;
the processor is configured to execute one or more program instructions to perform the method as described above.
The present invention also provides a computer storage medium having one or more program instructions embodied therein for execution by a power saving control system to perform a method as described above.
According to the power saving control method, the device, the system and the storage medium for the voice garbage can, the interval duration between the current time and the last effective voice instruction ending time is obtained, the interval duration is judged to exceed the first duration threshold, and then a standby instruction is sent out, so that the voice garbage can enter a standby mode according to the standby instruction; when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction; and acquiring the duration of the start of the voice processing module, judging that the duration is less than the second duration threshold and acquiring preset awakening information, sending an awakening instruction so that the voice garbage can enters a working mode according to the awakening instruction, judging that the duration is greater than or equal to the second duration threshold, and returning to the standby mode. Therefore, the power-saving control method of the voice garbage can solves the energy consumption problem of the voice recognition module in the hardware circuit of the voice garbage can by controlling the starting and closing states of the voice recognition part, and achieves the effects of saving energy and power at any time without closing; thereby solved among the prior art voice garbage bin and continued the operation and lead to the technical problem that power consumption is big.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below. It should be apparent that the drawings in the following description are merely exemplary, and that other embodiments can be derived from the drawings provided by those of ordinary skill in the art without inventive effort.
The structures, ratios, sizes, and the like shown in the present specification are only used for matching with the contents disclosed in the specification, so as to be understood and read by those skilled in the art, and are not used to limit the conditions that the present invention can be implemented, so that the present invention has no technical significance, and any structural modifications, changes in the ratio relationship, or adjustments of the sizes, without affecting the effects and the achievable by the present invention, should still fall within the range that the technical contents disclosed in the present invention can cover.
Fig. 1 is a flowchart of a power saving control method according to an embodiment of the present invention;
FIG. 2 is a block diagram of a power saving control apparatus according to an embodiment of the present invention;
fig. 3 is a block diagram of an embodiment of a power saving control system according to the present invention.
Description of reference numerals:
100-time acquisition unit 200-control unit 300-self-test unit
Detailed Description
The present invention is described in terms of particular embodiments, other advantages and features of the invention will become apparent to those skilled in the art from the following disclosure, and it is to be understood that the described embodiments are merely exemplary of the invention and that it is not intended to limit the invention to the particular embodiments disclosed. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In a specific implementation mode, the power saving control method provided by the invention is used for the voice trash can, and can control other parts of the trash can except the control module to enter a standby dormant state when an effective operation instruction cannot be obtained for a long time, and the trash can is started after being waited for awakening, so that the trash can is not required to be started all the day long, and the power consumption is obviously reduced. As shown in fig. 1, the method includes:
s1: acquiring the interval duration between the current moment and the end moment of the last effective voice instruction; the last valid voice command is a command for obtaining garbage disposal at the last time, for example, the last command is "garbage dumping", after the last command is finished, if no voice signal related to the garbage can is received in 30 minutes, the voice command for "garbage dumping" sent before 30 minutes is the last valid voice command with the current time as a reference, and the interval duration is 30 minutes.
S2: if the interval duration exceeds a first duration threshold, sending a standby instruction so that the voice garbage can enters a standby mode according to the standby instruction; that is, if the first time threshold is 20 minutes, and the interval time is 30 minutes, the standby state is entered when the threshold is exceeded. In the actual use process, a microprocessor STM32 of the voice garbage can is always in a starting state, is connected with a pickup MIC through an I/O port to monitor whether a voice signal exists or not, waits for voice transmission of a voice control MIC, and controls a relay switch to be closed if the voice transmission exists so as to start an R328 voice processing module; if not, the mobile phone is continuously in the standby mode and waits for the incoming sound.
S3: when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction;
s4: acquiring the starting duration of the voice processing module;
s5: if the duration is smaller than the second duration threshold and preset awakening information is obtained, sending an awakening instruction so that the voice garbage can enters a working mode according to the awakening instruction;
s6: and if the duration is judged to be greater than or equal to the second duration threshold, returning to the standby mode.
In the above steps S3-S6, that is, after the system starts the R328 voice processing module, the R328 voice processing module formally enters a normal working state, waits for the wake-up word "watt force", and when the wake-up word determines that the wake-up word arrives, the system enters a sensing mode of voice recognition and sends information to the STM32 through a serial port (UART); if no 'watt force or watt force' comes, the R328 sends information through a serial port (UART) to inform the STM32 that the standby mode needs to be entered, and then the STM32 controls the switch to be disconnected through the I/O port.
Specifically, the working mode includes an induction mode and a holding mode; after the voice garbage can enters the induction mode, voice action instructions are obtained and recognized through the voice processing module, the control module controls the voice garbage can to execute corresponding actions according to the voice action instructions, and after the execution of each voice action instruction is finished, the voice garbage can enters the holding mode; after the system enters the induction mode, the R328 voice processing module recognizes the voice command and informs the STM32 through a serial port (UART), then the voice garbage can starts to execute the action corresponding to the voice command, and after each action command is executed, the R328 voice processing module is informed through the serial port (UART), and the system is in a keeping mode.
After the voice garbage can enters a holding mode, acquiring the interval duration between the current moment and the ending moment of the last effective voice instruction; and if the interval duration exceeds a first duration threshold, sending a standby instruction so that the voice garbage can enters a standby mode according to the standby instruction. In the holding mode, when the voice command recognized by the R328 in a period of time has no correlation with the command of the voice garbage can, the voice garbage can is judged to be in an unnecessary working state, at the moment, a message is sent to the STM32 through a serial port (UART) to request to enter a power-saving long-term standby mode, then the STM32 microcontroller controls a switch to disconnect the power supply of the R328 voice processing module, and the system automatically enters the long-term standby mode.
Further, in order to improve the service performance of the device, the method further includes a control strategy capable of implementing power-on self-test, specifically including:
acquiring a starting-up instruction;
sending a self-checking instruction according to the starting instruction so that the voice garbage can enters a self-checking mode according to the self-checking instruction;
if the equipment is judged to be normal after self-checking, playing normal working information through a power amplifier module, and entering a standby mode;
and if the equipment is abnormal after the self-inspection is judged, outputting alarm information through an alarm module.
After the system opened, the whole power supplies of each hardware functional unit begin the self-checking, the self-checking is accomplished that each functional module is normal then STM32 microcontroller unit sends the instruction through the serial ports and gives R328 reminder system normal, later R328 voice processing module output sound signal, it is normal to report the system through power amplifier system, later STM32 microcontroller send instruction control power supply system cut off the power entering long term standby mode of R328, if there is the red light of problem reddish yellow blue pilot lamp lighting, loudspeaker report problem out of office and warning.
Specifically, the system can be implemented by acquiring the preset wake-up word or acquiring the infrared finger scanning command by acquiring the preset wake-up information.
For example, when sound of pickup MIC is transmitted, the STM32 microcontroller controls the relay switch in the control diagram to be closed to start the R328 voice processing module, and waits for a user to voice out a wake-up word; after the system starts the R328 voice processing module, the R328 voice processing module formally enters a normal working state to wait for the arrival of the awakening word 'Wai power', and the R328 voice processing module sends out a question through a power amplifier loudspeaker: "what need to help the host do? After 2 microphones start to pick up sound, the sound pickup is completed and translated into an instruction, and the information is sent to an STM32 microcontroller through a serial port (UART), meanwhile, a power amplification system starts to talk with a user normally, and the STM32 microcontroller controls to start controlling a flip motor to drive to open or close a cover and the like; if no 'watt force and watt force' comes, the R328 sends information through a serial port (UART) to inform an STM32 microcontroller that the long-term standby mode needs to be entered, then the STM32 is disconnected through an I/O port control switch, and a voice instruction has simple functions of opening and closing a cover and other voice dialogues.
For another example, when a command is input by the touch key, the STM32 microcontroller of the STM32 microcontroller receives system setting which mainly comprises action setting, sound setting, time setting, mode setting and the like, at the moment, the R328 voice processing module is started, the red, yellow and blue indicator lamps flicker corresponding to the action rule of the voice garbage can, and different breathing frequencies display different working states; when the instruction comes is swept to the infrared hand, the action that the STM32 microcontroller control flip motor drive of pronunciation garbage bin corresponds is executed, does not open R328 voice processing module, and yellow light is lighted to red yellow blue pilot lamp, and the closing lid is swept to the hand, and the lid is opened to the hand of once more sweeping.
It should be noted that the system can selectively enter into the standby mode, the sensing mode and the holding mode by the above method, and the operation of the device in each mode is briefly described as follows:
standby mode: under the condition of no sound for a long time after electrification and when the sound pickup MIC cannot detect the sound, the microprocessor STM32 controls the system to start a long standby mode, the R328 voice processing module is powered off, only the microprocessor of the whole system is in a working state and waits to be triggered, and the power off controls the relay to cut off the power supply through the I/O interface of the microprocessor;
induction mode: when sound enters a sensing area, the pickup MIC receives the sound and transmits the sound to the microprocessor STM32 for control, the R328 voice processing module is started, after a wake-up word is received, the garbage can starts a sensing mode and enters a voice recognition waiting state, otherwise, the garbage can enters a long-term standby mode and informs the STM32 of entering the sensing mode through a serial port;
a holding mode: when the system receives the awakening words through the R328 voice processing module and enters the induction mode, the voice garbage can starts to execute voice instructions, the system enters the holding mode, voice semantics are prepared to be analyzed at all times, and the STM32 is informed to enter the holding mode through the serial port; judging that no instruction needs to be executed during the speech dialogue and the garbage bin work in a period of time, the R328 speech processing module sends an instruction to the STM32 microcontroller through the serial port, and the request enters the long standby mode and saves power, and then the STM32 microcontroller controls the switch to disconnect the power supply of the R328 speech processing module, and the system automatically enters the long standby mode.
In the foregoing specific embodiment, according to the power saving control method for a voice trash can provided by the present invention, by obtaining an interval duration between a current time and an end time of a last valid voice instruction, and determining that the interval duration exceeds a first duration threshold, a standby instruction is issued, so that the voice trash can enters a standby mode according to the standby instruction; when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction; and acquiring the duration of the start of the voice processing module, judging that the duration is less than the second duration threshold and acquiring preset awakening information, sending an awakening instruction so that the voice garbage can enters a working mode according to the awakening instruction, judging that the duration is greater than or equal to the second duration threshold, and returning to the standby mode. Therefore, the power-saving control method of the voice garbage can solves the energy consumption problem of the voice recognition module in the hardware circuit of the voice garbage can by controlling the starting and closing states of the voice recognition part, and achieves the effects of saving energy and power at any time without closing; thereby solved among the prior art voice garbage bin and continued the operation and lead to the technical problem that power consumption is big.
In addition to the above method, the present invention also provides a power saving control apparatus for a voice trash can, for implementing the method as described above, as shown in fig. 2, the apparatus comprising:
a time obtaining unit 100, configured to obtain an interval duration between a current time and an end time of a previous valid voice instruction; the voice processing module is specifically an R328 voice processing module. The last valid voice command is a command for obtaining garbage disposal at the last time, for example, the last command is "garbage dumping", after the last command is finished, if no voice signal related to the garbage can is received in 30 minutes, the voice command for "garbage dumping" sent before 30 minutes is the last valid voice command with the current time as a reference, and the interval duration is 30 minutes.
The control unit 200 is specifically an STM32 microcontroller, and is configured to determine that the interval duration exceeds a first duration threshold, and send a standby instruction so that the voice trash can enters a standby mode according to the standby instruction; when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction; that is, if the first time threshold is 20 minutes, and the interval time is 30 minutes, the standby state is entered when the threshold is exceeded. In the actual use process, a microprocessor STM32 of the voice garbage can is always in a starting state, is connected with a pickup MIC through an I/O port to monitor whether a voice signal exists or not, waits for voice transmission of a voice control MIC, and controls a relay switch to be closed if the voice transmission exists so as to start an R328 voice processing module; if not, the mobile phone is continuously in the standby mode and waits for the incoming sound.
The time acquisition module is also used for acquiring the duration of the starting of the voice processing module;
the control unit is further used for judging that the duration is smaller than the second duration threshold and acquiring preset awakening information, and then sending an awakening instruction so that the voice garbage can enter a working mode according to the awakening instruction; and if the duration is judged to be greater than or equal to the second duration threshold, returning to the standby mode.
After the system starts the R328 voice processing module, the R328 voice processing module formally enters a normal working state, waits for the arrival of a wake-up word 'Warwarforce', and when the wake-up word is determined to arrive, the system enters a voice recognition induction mode and sends information to the STM32 through a serial port (UART); if no 'watt force or watt force' comes, the R328 sends information through a serial port (UART) to inform the STM32 that the standby mode needs to be entered, and then the STM32 controls the switch to be disconnected through the I/O port.
Specifically, the working mode includes an induction mode and a holding mode; after the voice garbage can enters the induction mode, voice action instructions are obtained and recognized through the voice processing module, the control module controls the voice garbage can to execute corresponding actions according to the voice action instructions, and after the execution of each voice action instruction is finished, the voice garbage can enters the holding mode; after the system enters the induction mode, the R328 voice processing module recognizes the voice command and informs the STM32 through a serial port (UART), then the voice garbage can starts to execute the action corresponding to the voice command, and after each action command is executed, the R328 voice processing module is informed through the serial port (UART), and the system is in a keeping mode.
After the voice garbage can enters a holding mode, acquiring the interval duration between the current moment and the ending moment of the last effective voice instruction; and if the interval duration exceeds a first duration threshold, sending a standby instruction so that the voice garbage can enters a standby mode according to the standby instruction. In the holding mode, when the voice command recognized by the R328 in a period of time has no correlation with the command of the voice garbage can, the voice garbage can is judged to be in an unnecessary working state, at the moment, a message is sent to the STM32 through a serial port (UART) to request to enter a power-saving long-term standby mode, then the STM32 microcontroller controls a switch to disconnect the power supply of the R328 voice processing module, and the system automatically enters the long-term standby mode.
Further, the apparatus further comprises a self-test unit 300 configured to:
acquiring a starting-up instruction;
sending a self-checking instruction according to the starting instruction so that the voice garbage can enters a self-checking mode according to the self-checking instruction;
if the equipment is judged to be normal after self-checking, playing normal working information through a power amplifier module, and entering a standby mode;
and if the equipment is abnormal after the self-inspection is judged, outputting alarm information through an alarm module.
After the system opened, the whole power supplies of each hardware functional unit begin the self-checking, the self-checking is accomplished that each functional module is normal then STM32 microcontroller unit sends the instruction through the serial ports and gives R328 reminder system normal, later R328 voice processing module output sound signal, it is normal to report the system through power amplifier system, later STM32 microcontroller send instruction control power supply system cut off the power entering long term standby mode of R328, if there is the red light of problem reddish yellow blue pilot lamp lighting, loudspeaker report problem out of office and warning.
Specifically, the system can be implemented by acquiring the preset wake-up word or acquiring the infrared finger scanning command by acquiring the preset wake-up information.
For example, when sound of pickup MIC is transmitted, the STM32 microcontroller controls the relay switch in the control diagram to be closed to start the R328 voice processing module, and waits for a user to voice out a wake-up word; after the system starts the R328 voice processing module, the R328 voice processing module formally enters a normal working state to wait for the arrival of the awakening word 'Wai power', and the R328 voice processing module sends out a question through a power amplifier loudspeaker: "what need to help the host do? After 2 microphones start to pick up sound, the sound pickup is completed and translated into an instruction, and the information is sent to an STM32 microcontroller through a serial port (UART), meanwhile, a power amplification system starts to talk with a user normally, and the STM32 microcontroller controls to start controlling a flip motor to drive to open or close a cover and the like; if no 'watt force and watt force' comes, the R328 sends information through a serial port (UART) to inform an STM32 microcontroller that the long-term standby mode needs to be entered, then the STM32 is disconnected through an I/O port control switch, and a voice instruction has simple functions of opening and closing a cover and other voice dialogues.
For another example, when a command is input by the touch key, the STM32 microcontroller of the STM32 microcontroller receives system setting which mainly comprises action setting, sound setting, time setting, mode setting and the like, at the moment, the R328 voice processing module is started, the red, yellow and blue indicator lamps flicker corresponding to the action rule of the voice garbage can, and different breathing frequencies display different working states; when the instruction comes is swept to the infrared hand, the action that the STM32 microcontroller control flip motor drive of pronunciation garbage bin corresponds is executed, does not open R328 voice processing module, and yellow light is lighted to red yellow blue pilot lamp, and the closing lid is swept to the hand, and the lid is opened to the hand of once more sweeping.
It should be noted that the system can selectively enter into the standby mode, the sensing mode and the holding mode by the above method, and the operation of the device in each mode is briefly described as follows:
standby mode: under the condition of no sound for a long time after electrification and when the sound pickup MIC cannot detect the sound, the microprocessor STM32 controls the system to start a long standby mode, the R328 voice processing module is powered off, only the microprocessor of the whole system is in a working state and waits to be triggered, and the power off controls the relay to cut off the power supply through the I/O interface of the microprocessor;
induction mode: when sound enters a sensing area, the pickup MIC receives the sound and transmits the sound to the microprocessor STM32 for control, the R328 voice processing module is started, after a wake-up word is received, the garbage can starts a sensing mode and enters a voice recognition waiting state, otherwise, the garbage can enters a long-term standby mode and informs the STM32 of entering the sensing mode through a serial port;
a holding mode: when the system receives the awakening words through the R328 voice processing module and enters the induction mode, the voice garbage can starts to execute voice instructions, the system enters the holding mode, voice semantics are prepared to be analyzed at all times, and the STM32 is informed to enter the holding mode through the serial port; judging that no instruction needs to be executed during the speech dialogue and the garbage bin work in a period of time, the R328 speech processing module sends an instruction to the STM32 microcontroller through the serial port, and the request enters the long standby mode and saves power, and then the STM32 microcontroller controls the switch to disconnect the power supply of the R328 speech processing module, and the system automatically enters the long standby mode.
The invention also provides a voice trash can, which comprises the power saving control device, and based on the specific implementation mode, the working process of the voice trash can in the actual use process is as follows:
the system is started after a menu key is pressed for more than 3 seconds, then all hardware functional units start self-checking after power supply is carried out, after the self-checking is finished, an STM32 microcontroller sends an instruction to control a power supply system to cut off a power supply of R328, the power supply system enters a long-time standby mode, and a blue indicator lamp is normally on; if the red, yellow and blue indicator lights up the red light, the horn broadcasts the problem and warns;
the system is in a long standby mode, namely a 2-mode wake-up mode, wherein an STM32 microcontroller waits for sound input of a pickup MIC; the second is the input of a touch key, the arrival of an infrared hand-scanning instruction, and red, yellow and blue indicator lamps flash alternately;
when the sound of the pickup MIC is transmitted, the STM32 microcontroller controls a relay switch in the control diagram to be closed to start an R328 voice processing module, and waits for a user to report a wake-up word by voice;
after the system starts the R328 voice processing module, the R328 voice processing module formally enters a normal working state to wait for the arrival of the awakening word 'Wai power', and the R328 voice processing module sends out a question through a power amplifier loudspeaker: "what need to help the host do? After 2 microphones start to pick up sound, the sound pickup is completed and translated into an instruction, and the information is sent to an STM32 microcontroller through a serial port (UART), meanwhile, a power amplification system starts to talk with a user normally, and the STM32 microcontroller controls to start controlling a flip motor to drive to open or close a cover and the like; if no 'watt force and watt force' comes, the R328 sends information through a serial port (UART) to inform an STM32 microcontroller that the long-term standby mode needs to be entered, then the STM32 is disconnected through an I/O port control switch, and a voice instruction has simple functions of opening and closing a cover and other voice dialogues;
when a command is input into the touch key, an STM32 microcontroller of an STM32 microcontroller receives system setting which mainly comprises action setting, sound setting, time setting, mode setting and the like, at the moment, an R328 voice processing module is started, the red, yellow and blue indicator lamps flicker corresponding to the action rule of the voice garbage can, and different working states are displayed at different breathing frequencies;
when an infrared hand-scanning instruction comes, the STM32 microcontroller of the voice trash can controls the flip motor to drive and execute corresponding actions, the R328 voice processing module is not started, the red, yellow and blue indicator lamps light the yellow lamps, the hand-scanning closing cover is carried out, and the cover is opened by hand-scanning again;
after entering the induction mode, the R328 voice processing module discerns voice command to inform STM32 microcontroller through serial ports (UART), the corresponding action of voice command is started to carry out to the pronunciation garbage bin afterwards, mainly includes the drive of motor and the scintillation of red yellow blue pilot lamp. After each action instruction is executed, informing the R328 of the voice processing module through a serial port (UART), enabling the system to be in a holding mode, and enabling a yellow light to be turned on;
under a holding mode, when a voice instruction recognized by the R328 voice processing module and an instruction of the voice garbage can are not related within a period of time, judging that the voice instruction is in an unnecessary working state at the moment, sending information to the STM32 microcontroller through a serial port (UART) at the moment to request to enter a long-term standby mode with electricity saving, controlling a switch to disconnect the power supply of the R328 voice processing module by the STM32 microcontroller, enabling a red-yellow-blue indicating lamp to enter a low-frequency flickering state, automatically closing the voice garbage can cover, and automatically entering the long-term standby mode by the system;
when the system electric quantity is not enough, the STM32 microcontroller tells the R328 voice processing module through the serial ports, and the power amplifier reports the warning of electric quantity not enough, red light high frequency scintillation simultaneously.
In the foregoing embodiment, the power saving control apparatus for a voice trash can provided by the present invention, by obtaining an interval duration between a current time and an end time of a last valid voice instruction, and determining that the interval duration exceeds a first duration threshold, a standby instruction is issued, so that the voice trash can enters a standby mode according to the standby instruction; when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction; and acquiring the duration of the start of the voice processing module, judging that the duration is less than the second duration threshold and acquiring preset awakening information, sending an awakening instruction so that the voice garbage can enters a working mode according to the awakening instruction, judging that the duration is greater than or equal to the second duration threshold, and returning to the standby mode. Therefore, the power-saving control method of the voice garbage can solves the energy consumption problem of the voice recognition module in the hardware circuit of the voice garbage can by controlling the starting and closing states of the voice recognition part, and achieves the effects of saving energy and power at any time without closing; thereby solved among the prior art voice garbage bin and continued the operation and lead to the technical problem that power consumption is big.
According to a third aspect of the embodiments of the present invention, the present invention further provides a power saving control for a voice trash can, as shown in fig. 3, the system includes: a processor 201 and a memory 202;
the memory is to store one or more program instructions;
the processor is configured to execute one or more program instructions to perform the method as described above.
In correspondence with the above embodiments, embodiments of the present invention also provide a computer storage medium containing one or more program instructions therein. Wherein the one or more program instructions are for executing the method as described above by a power saving control for a voice trash can.
In an embodiment of the invention, the processor may be an integrated circuit chip having signal processing capability. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete Gate or transistor logic device, discrete hardware component.
The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The processor reads the information in the storage medium and completes the steps of the method in combination with the hardware.
The storage medium may be a memory, for example, which may be volatile memory or nonvolatile memory, or which may include both volatile and nonvolatile memory.
The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory.
The volatile Memory may be a Random Access Memory (RAM) which serves as an external cache. By way of example, and not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), SLDRAM (SLDRAM), and Direct Rambus RAM (DRRAM).
The storage media described in connection with the embodiments of the invention are intended to comprise, without being limited to, these and any other suitable types of memory.
Those skilled in the art will appreciate that the functionality described in the present invention may be implemented in a combination of hardware and software in one or more of the examples described above. When software is applied, the corresponding functionality may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above embodiments are only for illustrating the embodiments of the present invention and are not to be construed as limiting the scope of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the embodiments of the present invention shall be included in the scope of the present invention.

Claims (10)

1. A power saving control method for a voice trash can, the method comprising:
acquiring the interval duration between the current moment and the end moment of the last effective voice instruction;
if the interval duration exceeds a first duration threshold, sending a standby instruction so that the voice garbage can enters a standby mode according to the standby instruction;
when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction;
acquiring the starting duration of the voice processing module;
if the duration is smaller than the second duration threshold and preset awakening information is obtained, sending an awakening instruction so that the voice garbage can enters a working mode according to the awakening instruction;
and if the duration is judged to be greater than or equal to the second duration threshold, returning to the standby mode.
2. The power saving control method according to claim 1, further comprising:
acquiring a starting-up instruction;
sending a self-checking instruction according to the starting instruction so that the voice garbage can enters a self-checking mode according to the self-checking instruction;
if the equipment is judged to be normal after self-checking, playing normal working information through a power amplifier module, and entering a standby mode;
and if the equipment is abnormal after the self-inspection is judged, outputting alarm information through an alarm module.
3. The power saving control method according to claim 1, wherein the operation mode includes an induction mode and a hold mode;
after the voice garbage can enters the induction mode, voice action instructions are obtained and recognized through the voice processing module, the control module controls the voice garbage can to execute corresponding actions according to the voice action instructions, and after the execution of each voice action instruction is finished, the voice garbage can enters the holding mode;
after the voice garbage can enters a holding mode, acquiring the interval duration between the current moment and the ending moment of the last effective voice instruction; and if the interval duration exceeds a first duration threshold, sending a standby instruction so that the voice garbage can enters a standby mode according to the standby instruction.
4. The method for setting the air supply temperature according to claim 1, wherein the acquiring of the preset wake-up information specifically includes:
acquiring a preset awakening word; or the like, or, alternatively,
and acquiring an infrared hand scanning instruction.
5. A power saving control apparatus for a voice trash can, for implementing the method of any one of claims 1-4, the apparatus comprising:
the time acquisition unit is used for acquiring the interval duration between the current moment and the last effective voice instruction ending moment;
the control unit is used for sending a standby instruction when the interval duration exceeds a first duration threshold so that the voice garbage can enter a standby mode according to the standby instruction; when the voice garbage can is in a standby mode, if a voice instruction is acquired, a starting instruction is sent out so that the voice garbage can start the voice processing module according to the voice instruction;
the time acquisition module is also used for acquiring the duration of the starting of the voice processing module;
the control unit is further used for judging that the duration is smaller than the second duration threshold and acquiring preset awakening information, and then sending an awakening instruction so that the voice garbage can enter a working mode according to the awakening instruction; and if the duration is judged to be greater than or equal to the second duration threshold, returning to the standby mode.
6. The power saving control device according to claim 5, further comprising a self-test unit configured to:
acquiring a starting-up instruction;
sending a self-checking instruction according to the starting instruction so that the voice garbage can enters a self-checking mode according to the self-checking instruction;
if the equipment is judged to be normal after self-checking, playing normal working information through a power amplifier module, and entering a standby mode;
and if the equipment is abnormal after the self-inspection is judged, outputting alarm information through an alarm module.
7. The power saving control apparatus according to claim 5, wherein the control unit is an STM32 microcontroller, and the speech processing module is an R328 speech processing module.
8. A speech dustbin, comprising a power saving control arrangement as claimed in any one of claims 5 to 7.
9. A power saving control system for a voice trash can, the system comprising: a processor and a memory;
the memory is to store one or more program instructions;
the processor, configured to execute one or more program instructions to perform the method of any of claims 1-4.
10. A computer storage medium containing one or more program instructions for execution by a power saving control system of the method of any one of claims 1 to 4.
CN201911413694.0A 2019-12-31 2019-12-31 Voice garbage can and power-saving control method, device and system thereof Pending CN111123799A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911413694.0A CN111123799A (en) 2019-12-31 2019-12-31 Voice garbage can and power-saving control method, device and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911413694.0A CN111123799A (en) 2019-12-31 2019-12-31 Voice garbage can and power-saving control method, device and system thereof

Publications (1)

Publication Number Publication Date
CN111123799A true CN111123799A (en) 2020-05-08

Family

ID=70506591

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911413694.0A Pending CN111123799A (en) 2019-12-31 2019-12-31 Voice garbage can and power-saving control method, device and system thereof

Country Status (1)

Country Link
CN (1) CN111123799A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638668A (en) * 2020-05-25 2020-09-08 蔚蓝计划(北京)科技有限公司 Control system and control method of intelligent voice trash can
CN112265754A (en) * 2020-10-15 2021-01-26 张良虎 Garbage cleaning method and system for building
CN113094197A (en) * 2021-04-09 2021-07-09 中国工商银行股份有限公司 Method, device, equipment and storage medium for judging instruction submission abnormity
CN113816038A (en) * 2021-09-29 2021-12-21 夏日阳光智能科技(苏州)有限公司 Intelligent voice garbage can sound pickup and low-power-consumption control method
CN115489907A (en) * 2022-09-28 2022-12-20 郑州森鹏电子技术股份有限公司 Low-power-consumption wireless weighing system and garbage truck

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120109551A1 (en) * 2010-10-27 2012-05-03 Jtekt Corporation Power consumption display unit for machine tool
CN103310785A (en) * 2012-03-15 2013-09-18 三星电子株式会社 Electronic device and method for controlling power using voice recognition
CN204368812U (en) * 2014-12-31 2015-06-03 中国人民解放军第四军医大学 A kind of medical garbage sorting gathering-device be arranged on trolley for hospital use
CN204660556U (en) * 2014-12-26 2015-09-23 张晓青 A kind of there is voice control function energy-saving garbage car
US20150378414A1 (en) * 2008-04-09 2015-12-31 Hitachi, Ltd. Operations management methods and devices thereof in information-processing systems
CN205060553U (en) * 2015-08-13 2016-03-02 深圳承轩浩业科技发展有限公司 Intelligence garbage bin with disposal bag memory function
CN205132199U (en) * 2015-11-05 2016-04-06 李锦超 Garbage bin with categorised suggestion effect
CN106612367A (en) * 2015-10-23 2017-05-03 钰太芯微电子科技(上海)有限公司 Speech wake method based on microphone and mobile terminal
CN106875945A (en) * 2017-03-09 2017-06-20 广东美的制冷设备有限公司 Sound control method, device and air-conditioner
CN108024239A (en) * 2017-11-29 2018-05-11 深圳创维数字技术有限公司 Remote terminal and its control method, computer-readable recording medium
CN108198554A (en) * 2018-01-29 2018-06-22 深圳市共进电子股份有限公司 The control method of domestic robot work system based on interactive voice
CN108762176A (en) * 2018-06-11 2018-11-06 深圳市百创网络科技有限公司 The intelligent energy saving regulation and control method and system of house ornamentation crusing robot
CN108990531A (en) * 2018-08-13 2018-12-14 刘荷花 A kind of booth vegetable harvesting robotic
CN110113652A (en) * 2019-04-18 2019-08-09 晶晨半导体(上海)股份有限公司 One kind powering on managing device and method
CN110310640A (en) * 2019-07-26 2019-10-08 上海头趣科技有限公司 A kind of Intelligent refuse classification system based on voice system

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150378414A1 (en) * 2008-04-09 2015-12-31 Hitachi, Ltd. Operations management methods and devices thereof in information-processing systems
US20120109551A1 (en) * 2010-10-27 2012-05-03 Jtekt Corporation Power consumption display unit for machine tool
CN103310785A (en) * 2012-03-15 2013-09-18 三星电子株式会社 Electronic device and method for controlling power using voice recognition
CN204660556U (en) * 2014-12-26 2015-09-23 张晓青 A kind of there is voice control function energy-saving garbage car
CN204368812U (en) * 2014-12-31 2015-06-03 中国人民解放军第四军医大学 A kind of medical garbage sorting gathering-device be arranged on trolley for hospital use
CN205060553U (en) * 2015-08-13 2016-03-02 深圳承轩浩业科技发展有限公司 Intelligence garbage bin with disposal bag memory function
CN106612367A (en) * 2015-10-23 2017-05-03 钰太芯微电子科技(上海)有限公司 Speech wake method based on microphone and mobile terminal
CN205132199U (en) * 2015-11-05 2016-04-06 李锦超 Garbage bin with categorised suggestion effect
CN106875945A (en) * 2017-03-09 2017-06-20 广东美的制冷设备有限公司 Sound control method, device and air-conditioner
CN108024239A (en) * 2017-11-29 2018-05-11 深圳创维数字技术有限公司 Remote terminal and its control method, computer-readable recording medium
CN108198554A (en) * 2018-01-29 2018-06-22 深圳市共进电子股份有限公司 The control method of domestic robot work system based on interactive voice
CN108762176A (en) * 2018-06-11 2018-11-06 深圳市百创网络科技有限公司 The intelligent energy saving regulation and control method and system of house ornamentation crusing robot
CN108990531A (en) * 2018-08-13 2018-12-14 刘荷花 A kind of booth vegetable harvesting robotic
CN110113652A (en) * 2019-04-18 2019-08-09 晶晨半导体(上海)股份有限公司 One kind powering on managing device and method
CN110310640A (en) * 2019-07-26 2019-10-08 上海头趣科技有限公司 A kind of Intelligent refuse classification system based on voice system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张庆芳: "基于语音识别的垃圾桶设计", 《电脑知识与技术》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111638668A (en) * 2020-05-25 2020-09-08 蔚蓝计划(北京)科技有限公司 Control system and control method of intelligent voice trash can
CN112265754A (en) * 2020-10-15 2021-01-26 张良虎 Garbage cleaning method and system for building
CN113094197A (en) * 2021-04-09 2021-07-09 中国工商银行股份有限公司 Method, device, equipment and storage medium for judging instruction submission abnormity
CN113816038A (en) * 2021-09-29 2021-12-21 夏日阳光智能科技(苏州)有限公司 Intelligent voice garbage can sound pickup and low-power-consumption control method
CN115489907A (en) * 2022-09-28 2022-12-20 郑州森鹏电子技术股份有限公司 Low-power-consumption wireless weighing system and garbage truck
CN115489907B (en) * 2022-09-28 2024-05-03 郑州森鹏电子技术股份有限公司 Low-power consumption wireless weighing system and garbage truck

Similar Documents

Publication Publication Date Title
CN111123799A (en) Voice garbage can and power-saving control method, device and system thereof
CN111464992A (en) Power-saving control method, device and system based on intelligent garbage can
CN102905029A (en) Mobile phone and method for looking for mobile phone through intelligent voice
CN102137193A (en) Mobile communication terminal and communication control method thereof
CN107477793A (en) A kind of air purifier, control system of air purifier and method
CN204453489U (en) A kind of intelligent garbage bin
CN110830644B (en) Display screen control method and device, electronic equipment and storage medium
CN103347136B (en) Method and device for mobile phone energy saving processing
CN105282832A (en) Terminal power saving method and apparatus
CN110727821A (en) Method, apparatus, system and computer storage medium for preventing device from being awoken by mistake
CN110442063A (en) A kind of low power-consumption intelligent dustbin control system and control method
CN102075603A (en) Mobile communication terminal and incoming call prompting method thereof
CN109995119B (en) Mobile power supply with wireless charging function, control method and storage medium
CN101303831A (en) Method for controlling backlight of electric display apparatus
CN112389897A (en) Intelligent garbage can based on voice garbage classification and working method thereof
CN206259172U (en) Voice control system
CN101446812A (en) Control method and control device of state of equipment and equipment
CN110320840A (en) A kind of method and system reducing internet of things product battery power consumption
CN110136716A (en) A kind of voice interaction processing method and interactive voice equipment
WO2023232093A1 (en) Intelligent control method and apparatus for starting washing machine, and washing machine
CN106101406B (en) Shutdown alarm triggering processing method based on mobile terminal and mobile terminal
CN108662724A (en) Light control method and device of air conditioner, storage medium and air conditioner
CN205693838U (en) One has low electricity warning function mike
CN112822634A (en) Remote interaction method and system
CN213833073U (en) Multifunctional household garbage classification device based on 4G communication

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
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20200508