CN112407663B - Garbage can, garbage bag allowance detection method and garbage bag allowance detection device - Google Patents

Garbage can, garbage bag allowance detection method and garbage bag allowance detection device Download PDF

Info

Publication number
CN112407663B
CN112407663B CN202011173440.9A CN202011173440A CN112407663B CN 112407663 B CN112407663 B CN 112407663B CN 202011173440 A CN202011173440 A CN 202011173440A CN 112407663 B CN112407663 B CN 112407663B
Authority
CN
China
Prior art keywords
magnetic field
garbage
bag
garbage bag
determining
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
CN202011173440.9A
Other languages
Chinese (zh)
Other versions
CN112407663A (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.)
Beijing Xiaomi Mobile Software Co Ltd
Original Assignee
Beijing Xiaomi Mobile Software 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 Beijing Xiaomi Mobile Software Co Ltd filed Critical Beijing Xiaomi Mobile Software Co Ltd
Priority to CN202011173440.9A priority Critical patent/CN112407663B/en
Publication of CN112407663A publication Critical patent/CN112407663A/en
Application granted granted Critical
Publication of CN112407663B publication Critical patent/CN112407663B/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/04Refuse receptacles; Accessories therefor with removable inserts
    • B65F1/06Refuse receptacles; Accessories therefor with removable inserts with flexible inserts, e.g. bags or sacks
    • B65F1/062Refuse receptacles; Accessories therefor with removable inserts with flexible inserts, e.g. bags or sacks having means for storing or dispensing spare bags
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B65CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
    • B65FGATHERING OR REMOVAL OF DOMESTIC OR LIKE REFUSE
    • B65F2210/00Equipment of refuse receptacles
    • B65F2210/168Sensing means

Abstract

The present disclosure relates to a trash can, a trash bag remaining amount detection method, a trash bag remaining amount detection device, an electronic apparatus, and a non-transitory computer-readable storage medium. The garbage can comprises a containing box, a magnetic resistance component and a magnetic resistance component, wherein the containing box is provided with a cavity for containing a garbage bag; the magnet is arranged on one side of the cavity and used for providing a magnetic field; and the measurement and control assembly is used for sensing the magnetic field intensity passing through the cavity and determining the allowance of the garbage bag based on the magnetic field intensity. Provide the magnetic field through the magnet, magnetic field intensity can weaken behind the disposal bag that has the magnetic resistance composition, can confirm the surplus of disposal bag according to the magnetic field intensity that senses at opposite side sensing magnetic field to can confirm the surplus of disposal bag in real time, thereby convenient remind or carry out other controls to the garbage bin, made things convenient for the user, improve user experience, avoid rubbish to lose and spill.

Description

Garbage can, garbage bag allowance detection method and garbage bag allowance detection device
Technical Field
The present disclosure relates to the field of smart homes, and in particular, to a trash can, a trash bag remaining amount detection method, a trash bag remaining amount detection apparatus, an electronic device, and a non-transitory computer-readable storage medium.
Background
At present, in order to make the user use more convenient, the garbage bin generally can be provided with the part that is used for holding the disposal bag, and the disposal bag can be placed in this part of garbage bin with the form of coiling or stacking to convenience of customers takes, and perhaps some intelligent garbage bins can take and expand the disposal bag by oneself, and the cover is located in the garbage bin. However, as the garbage bags are extracted, the surplus gradually decreases, so that a user cannot conveniently know the surplus number or length of the garbage bags and cannot pay attention to supplement or replacement in time; to the intelligent garbage bin of automatic cover disposal bag, need the user to observe surplus quantity by oneself, lead to the user to use to experience poorly to can take place not to have the disposal bag to lead to rubbish to lose the condition of scattering.
Disclosure of Invention
To overcome the problems in the related art, the present disclosure provides a trash can, a trash bag remaining amount detecting method, a trash bag remaining amount detecting device, an electronic apparatus, and a non-transitory computer-readable storage medium.
According to a first aspect of the embodiments of the present disclosure, there is provided a trash can comprising a receptacle having a cavity for receiving a trash bag, wherein the trash bag has a magnetic blocking component; the magnet is arranged on one side of the cavity and used for providing a magnetic field; and the measurement and control assembly is used for sensing the magnetic field intensity passing through the cavity and determining the allowance of the garbage bag based on the magnetic field intensity.
In one embodiment, the measurement and control assembly includes: the magnetic field sensor is arranged on one side, opposite to the magnet, of the cavity, so that the garbage bag is accommodated in the cavity and is positioned between the magnet and the magnetic field sensor, and the magnetic field sensor is used for sensing the magnetic field intensity of the magnetic field and outputting an electric signal corresponding to the magnetic field intensity.
In one embodiment, the measurement and control assembly further comprises: the analog-to-digital converter is used for receiving the electric signal output by the magnetic field sensor, converting the electric signal into a digital signal and outputting the digital signal; and the controller is used for receiving the digital signal and determining the residual quantity of the garbage bag based on the digital signal.
In one embodiment, the trash can further comprises: a prompting device; the prompting device is used for sending out prompting information for prompting that the residual quantity of the garbage bag is insufficient when the controller determines that the residual quantity of the garbage bag is insufficient.
In one embodiment, the trash can further comprises: the garbage bag packing device is used for packing used garbage bags; when the residual quantity of the garbage bags is zero, the controller prohibits the garbage bag packaging device from packaging the used garbage bags.
In one embodiment, the trash can further comprises: a trash bag replenishing device comprising: a storage chamber storing a plurality of trash bags; the garbage bag replenishing device is used for replenishing garbage bags to the accommodating box when the controller detects that the allowance of the garbage bags in the accommodating box is zero.
According to a second aspect of the embodiments of the present disclosure, there is provided a garbage bag remaining amount detecting method applied to the garbage can according to the first aspect, the garbage bag remaining amount detecting method including: acquiring magnetic field intensity, wherein the magnetic field intensity is the magnetic field intensity of a magnetic field passing through the cavity; determining the remaining amount of the garbage bag based on the magnetic field strength.
In an embodiment, the determining the remaining amount of the trash bag based on the magnetic field strength includes: determining a voltage value based on the magnetic field strength; if the voltage value is smaller than a first threshold value, determining that the residual quantity of the garbage bag is sufficient; and if the voltage value is larger than or equal to the first threshold value, determining that the garbage bag allowance is insufficient.
In an embodiment, the determining the remaining amount of the trash bag based on the magnetic field strength further comprises: if the voltage value is larger than or equal to the second threshold value, determining that the garbage bag allowance is zero; wherein the second threshold is greater than the first threshold.
In an embodiment, the method further comprises: under the condition that the garbage bag is not placed in the cavity, acquiring the vacant magnetic field intensity of the magnetic field; determining a null voltage value based on the null magnetic field strength; determining the second threshold based on the idle voltage value.
According to a third aspect of the embodiments of the present disclosure, there is provided a garbage bag remaining amount detecting device applied to the garbage can according to the first aspect, the garbage bag remaining amount detecting device including: the acquisition unit is used for acquiring the magnetic field intensity, wherein the magnetic field intensity is the magnetic field intensity of a magnetic field passing through the cavity; a determination unit for determining the remaining amount of the garbage bag based on the magnetic field strength.
In an embodiment, the determining unit is configured to: acquiring an electric signal corresponding to the magnetic field intensity through the magnetic field sensor; acquiring a voltage value of the electric signal; if the voltage value is smaller than a first threshold value, determining that the residual quantity of the garbage bag is sufficient; and if the voltage value is larger than or equal to the first threshold value, determining that the garbage bag allowance is insufficient.
In an embodiment, the determining unit is further configured to: if the voltage value is larger than or equal to the second threshold value, determining that the garbage bag allowance is zero; wherein the second threshold is greater than the first threshold.
In an embodiment, the obtaining unit is further configured to: under the condition that the garbage bag is not placed in the cavity, acquiring the vacant magnetic field intensity of the magnetic field; the determination unit is further configured to: determining a null voltage value based on the null magnetic field strength; determining the second threshold based on the idle voltage value.
According to a fourth aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including: a processor; a memory for storing processor-executable instructions; wherein the processor is configured to: the garbage bag remaining amount detecting method according to the second aspect is performed.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a non-transitory computer-readable storage medium storing instructions which, when executed by a processor, perform the garbage bag remaining amount detecting method according to the second aspect.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects: provide the magnetic field through the magnet, magnetic field intensity can weaken behind the disposal bag that has the magnetic resistance composition, can confirm the surplus of disposal bag according to the magnetic field intensity that senses at opposite side sensing magnetic field to can confirm the surplus of disposal bag in real time, thereby convenient remind or carry out other controls to the garbage bin, made things convenient for the user, improve user experience, avoid rubbish to lose and spill.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a schematic structural view illustrating a trash can according to an exemplary embodiment of the present disclosure.
Fig. 2 is a schematic structural view of another trash can according to an exemplary embodiment of the present disclosure.
Fig. 3 is a schematic diagram illustrating a principle of detecting a remaining amount of a trash bag of a trash can according to an exemplary embodiment of the present disclosure.
FIG. 4 is a partial schematic view of a receptacle of a trash can according to an exemplary embodiment of the present disclosure.
Fig. 5A and 5B are schematic diagrams illustrating output voltage versus magnetic field strength for different linear hall sensors according to an exemplary embodiment of the present disclosure.
Fig. 6A and 6B are schematic structural diagrams illustrating the garbage bag 20 being accommodated in the cavity 111 by way of rolling according to an exemplary embodiment of the disclosure.
Fig. 7A and 7B are schematic structural diagrams illustrating garbage bags 20 being received in the cavity 111 in a stacked manner according to an exemplary embodiment of the disclosure.
Fig. 8 is a flowchart illustrating a garbage bag remaining amount detecting method according to an exemplary embodiment of the present disclosure.
Fig. 9 is a schematic block diagram illustrating a garbage bag remaining amount detecting apparatus according to another exemplary embodiment of the present disclosure.
FIG. 10 is a block diagram illustrating an apparatus in accordance with an example embodiment.
FIG. 11 is a block diagram illustrating an apparatus in accordance with an example embodiment.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
At present, the amount of garbage bags stored in a garbage can is generally checked by a user, and the stored boxes need to be opened to check the remaining length or number, so that the garbage can is very inconvenient; in some related arts, the components for housing are provided to be transparent for easy observation, but still require user inspection. Some intelligent garbage bins can pack used disposal bags and automatically replace the disposal bags, and the phenomenon of scattering can occur under the condition that no disposal bag exists, so that inconvenience can not be brought to users due to the fact that the disposal bags cannot be supplemented in time.
In order to solve the technical problem, the present disclosure provides a garbage bin, can detect the surplus of disposal bag to can indicate or carry out corresponding control, can in advance or in time supplement the disposal bag, avoid rubbish to spill or the garbage bin because do not have the unable condition of using of disposal bag, improve user experience.
Fig. 1 and 2 are schematic structural diagrams respectively showing a garbage bin 10 of different embodiments, fig. 3 is a schematic diagram showing a principle of detecting the residual quantity of garbage bags, and fig. 4 is a partial schematic diagram showing a garbage bin accommodating box. As shown in fig. 1 to 4, the trash can 10 may include: a containment box 11, a magnet 12 and a measurement and control assembly 13.
Wherein the receptacle 11 may have a cavity 111 for receiving the garbage bag 20, wherein the garbage bag 20 has a magnetic blocking component. The trash bag 20 of the present disclosure may be received in the cavity 111 in a stacked manner or in a rolled manner. The trash bags 20 may be formed into a bag shape, and the bag shape is a ribbon-like set with a certain length formed by connecting the ends of the bag shape, and when the bag shape needs to be taken out, one of the trash bags 20 which is stacked or wound at the outermost end is taken down. The garbage bag 20 stored in the cavity 111 can also be a tube body without closing up, when the previous bag is packed, the bag opening is closed up in a sealing mode through hot melting and the like, the sealing part is the bag opening of the used previous bag on the one hand and the bag bottom of the next bag on the other hand, the bag bottom is formed through sealing, and the continuous tube body is taken out to form a new bag body for containing garbage.
The receiving box 11 may be disposed at an upper portion of the garbage can 10 above the can body 14, and the garbage bag 20 drawn out of the cavity 111 of the receiving box 11 may be conveniently placed in the can body 14 to receive garbage in normal use.
In one embodiment, as shown in fig. 2, the accommodating box 11 may be disposed at one side of the barrel 14 for accommodating the garbage bag 20, an opening 112 is disposed below or at one side of the accommodating box 11, and the garbage bag 20 accommodated in the cavity 111 may extend from the opening 112, be extracted when needed, and be sleeved on the barrel 14. In this embodiment, the trash bag 20 may be a formed bag body, which is formed into a belt shape by being connected end to end, and is accommodated in the cavity 111 inside the accommodating box 11 in a winding or stacking manner.
In another embodiment, as shown in FIG. 1, the accommodating case 11 may have a ring shape, and is circumferentially disposed above the tub 14, and the center of the ring shape of the accommodating case 11 corresponds to the opening of the tub 14. In this embodiment, the cavity 111 for accommodating the box 11 may also be in a ring shape, the garbage bag 20 may be a tubular belt material, which is accommodated in the cavity 111 in a stacking or winding manner, and may extend out through the opening 112 disposed below or on the side of the accommodating box 11, the extended tubular belt material may be closed up by heat melting or other manners, a bottom for accommodating garbage is formed after closing up, the tubular belt material is used as a bag body, when the garbage bag is filled or needs to be discarded, the bag body may be sealed by heat melting, the closed-up portion is separated, a sealed bag body for accommodating garbage is formed below, and the top closed-up portion is used as the bottom of a new bag. Therefore, the garbage bag 20 can be conveniently and automatically taken and placed, and a user does not need to seal the garbage bag by himself or manually place a new garbage bag.
As shown in fig. 3 and 4, the magnet 12 is disposed at one side of the cavity 111 for providing a magnetic field. The magnet 12 may be a permanent magnet or an electromagnet for providing a stable, constant magnetic field strength. Since the remaining amount of the dust bag 20 needs to be determined according to the strength of the magnetic field, providing a stable magnetic field can improve the accuracy of the determination. In some embodiments, calibration may also be performed without placing a garbage bag 20 in the cavity 111, so as to ensure the accuracy of the determination, which is specifically described in the following embodiments. In the case that the garbage bag 20 is placed in the cavity 111, the magnetic field provided by the magnet 12 and capable of passing through the cavity 111 has a certain reduction in the magnetic field strength due to the magnetic blocking component of the garbage bag 20. The more the garbage bags 20 are, the more the magnetic field intensity is reduced, on the contrary, when the garbage bags 20 are reduced, the blocking effect on the magnetic field is gradually reduced, and the magnetic field intensity passing through the cavity 111 is also increased. The measurement and control assembly 13 may be configured to sense the magnetic field strength across the cavity 111 and determine the remaining volume of the trash bag 20 based on the magnetic field strength in accordance with the principles described above. Through the mode of the embodiment of the disclosure, the allowance of the garbage bag can be determined in real time, so that a user can be reminded in time when the garbage bag is insufficient, and the garbage bag can be supplemented in time under the condition that the allowance of the garbage bag is zero.
In some embodiments, as shown in fig. 3 and 4, the measurement and control assembly 13 may include: the magnetic field sensor 131 is disposed on the opposite side of the cavity 111 from the magnet 12, so that the garbage bag 20 is located between the magnet 12 and the magnetic field sensor 131 when being accommodated in the cavity 111, and the magnetic field sensor 131 is configured to sense a magnetic field strength of the magnetic field and output an electrical signal corresponding to the magnetic field strength. The magnetic field sensor 131 may be a hall sensor, or other sensor that will receive magnetic field strength and output an electrical signal in response. Taking the hall sensor as an example, a linear hall sensor can be adopted, and after sensing the magnetic field, the magnetic field intensity of the magnetic field can be converted into a voltage signal. Fig. 5A and 5B schematically show the output voltage of different linear hall sensors in relation to the magnetic field strength, wherein the horizontal axis represents the magnetic field strength and the vertical axis represents the input voltage, as shown in fig. 5A, the output voltage of the linear hall sensor increases with increasing magnetic field strength, and as shown in fig. 5B, the output voltage of the linear hall sensor decreases with increasing magnetic field strength. The output voltage of the two linear Hall sensors can reflect the change of the magnetic field intensity. As mentioned above, the magnet 12 provides a stable magnetic field, and the magnetic field intensity is reduced by the obstruction of the garbage bag 20 with the magnetic resisting material, and the margin is gradually reduced along with the use of the garbage bag 20, the obstruction to the magnetic field is less and less, the magnetic field intensity sensed by the magnetic field sensor 131 is larger, and the corresponding output voltage is larger or smaller, so that the magnitude of the magnetic field intensity can be determined according to the magnitude of the output voltage, and then the margin of the garbage bag 20 is determined.
In an embodiment, as shown in fig. 3, the measurement and control assembly 13 may further include: an analog-to-digital converter 132 for receiving the electrical signal output by the magnetic field sensor 131, converting the electrical signal into a digital signal and outputting the digital signal; a controller 133 for receiving the digital signal and determining the remaining amount of the trash bag 20 based on the digital signal. In this embodiment, the controller 133 may be a Micro Controller Unit (MCU) and is responsible for overall control, the Analog-to-Digital Converter (ADC) 132 may be configured to receive an Analog voltage signal output from the magnetic field sensor 131 (e.g., a linear hall sensor) and convert an Analog quantity into a Digital voltage recognizable by the controller 133, the magnetic field strength detected by the magnetic field sensor 131 is finally reflected in the output voltage value and input to the controller 133, the controller 133 determines the remaining quantity of the trash bag 20, the acquired voltage value may be compared with a preset voltage threshold, if the voltage value is greater than or equal to the voltage threshold, the magnetic field strength is relatively strong, which indicates that the remaining quantity of the trash bag is insufficient, and corresponding processing may be performed according to the current remaining quantity, such as timely reminding a user to replenish the trash bag, if the voltage value is less than the voltage threshold, the magnetic field strength is relatively weak, which indicates that the garbage bag has sufficient margin and does not need to be replaced.
In the embodiment of the present disclosure, the garbage bag 20 contains a magnetic resistance material, which may be made of plastic containing metal components, for example, plastic bags containing ferrite components are mixed during the manufacturing process; alternatively, the garbage bag 20 with the magnetic resistance effect may be formed by attaching a film containing a barrier material to the surface of the bag body.
Fig. 6A and 6B schematically show the garbage bag 20 being accommodated in the cavity 111 by winding, and the garbage bag 20 being accommodated in the cavity, protruding from the opening 112, and being located between the magnet 12 and the magnetic field sensor 131. As shown in fig. 6A, since the garbage bags 20 are initially stored in a large number and long in length, and the diameter of the formed garbage bag roll is larger, the blocking of the magnetic field is also larger, and the garbage bag roll is gradually reduced and thinned in the using process, as shown in fig. 6B, the magnetic shielding performance of the garbage bag roll is also reduced, the magnetic field intensity of the magnetic field generated by the magnet 12 and detected by the magnetic field sensor 131 after passing through the cavity 111 is stronger and stronger, and then the change of the voltage is reflected, and the controller 133 can determine the current remaining amount of the garbage bag 20 and perform corresponding processing.
Fig. 7A and 7B schematically show the garbage bags 20 being accommodated in the cavity 111 in a stacked manner, the garbage bags 20 being accommodated in the cavity, protruding from the opening 112, and being located between the magnet 12 and the magnetic field sensor 131. Unlike the former winding type of storage, the stacked and stored dust bags 20 become thinner only in the thickness direction of the stack (vertical direction in fig. 7A and 7B) and hardly change in the width direction (horizontal direction in fig. 7A and 7B) as they are used, and therefore, in the present embodiment, the magnet 12 and the magnetic field sensor 131 need to be provided on opposite sides of the stack of dust bags 20 in the thickness direction so as to be able to reflect the change in the magnetic field strength when the remaining amount of the dust bags 20 changes. In some embodiments, when the stacked trash bags 20 are placed, the magnet 12 and the magnetic field sensor 131 of the trash can 10 may be placed correspondingly. In other embodiments, the positions of the magnet 12 and the magnetic field sensor 131 may be adjusted, and the positions of the magnet 12 and the magnetic field sensor 131 may be adjusted according to the thickness direction of the stacked trash bags 20, so that the magnet 12 and the magnetic field sensor 131 are disposed on two opposite sides of the stacked trash bags 20 in the thickness direction. As shown in fig. 7A, since the garbage bags 20 are initially stored in a large number and long in length, and the formed garbage bag stacking height is larger, the blocking of the magnetic field is also larger, the garbage bags are gradually reduced and the thickness of the garbage bags is reduced in the using process, as shown in fig. 7B, the magnetic blocking performance of the garbage bags is also reduced, the magnetic field intensity of the magnetic field generated by the magnet 12 and detected by the magnetic field sensor 131 after passing through the cavity 111 is stronger and stronger, and then the change of the voltage is reflected, and the controller 133 can determine the current remaining amount of the garbage bag 20 and perform corresponding processing.
In one embodiment, the trash can 10 may further include: and a prompting device (not shown) for sending a prompting message for prompting the shortage of the remaining amount of the garbage bag 20 when the controller 133 determines that the remaining amount of the garbage bag 20 is insufficient. When the remaining amount of the dust bag 20 is insufficient, the controller 133 causes the presentation device to present the remaining amount. For example, when the controller 133 determines that the remaining number of trash bags 20 is less than 5 bags or other value, a reminder may be issued to the user via the prompting device. The prompting device may be of various types, for example, it may be a speaker mounted on the trash can 10 for providing an audible prompt; or a lamp arranged on the garbage can 10 for prompting by lighting; or a display screen installed on the trash can 10, and prompts are given by displaying corresponding contents; the device can also be a device capable of sending signals, prompt information is sent to other terminals such as mobile phones and wearable equipment of users in a WiFi mode, a Bluetooth mode and the like, and the users can receive the prompt information at the first time.
In one embodiment, the trash can 10 may further include: a garbage bag packing device (not shown) for packing the used garbage bag 20; wherein, when the remaining amount of the garbage bags 20 is zero, the controller 133 prohibits the garbage bag packing device from packing the used garbage bags. In this embodiment, the trash can 10 can seal the used trash bag through the trash bag packaging device, and the seal can also be used as the back cover of the next trash bag. In the case that the controller 133 determines that there are no garbage bags left in the cavity 111, the garbage bag packing device may be prohibited from packing the currently used garbage bag, so as to avoid that the garbage can 10 is not available for use after packing.
In one embodiment, the trash can 10 may further include: a waste bag replenishing device (not shown) comprising: a storage chamber storing a plurality of trash bags; the disposal bag replenishing means is for replenishing the disposal bag to the housing box 11 when the controller 133 detects that the remaining amount of the disposal bag 20 in the housing box 11 is zero. In this embodiment, the trash can 10 may be provided with a trash bag replenishing device, wherein the trash bag replenishing device may store a plurality of trash bags 20 stored in a winding or stacking manner in a storage cavity, and the storage cavity may be located directly above or obliquely above the cavity containing the box 11, and an openable opening may be provided directly below or laterally below the storage cavity, and when the trash bag 20 in the cavity containing the box 11 is zero, the opening of the storage cavity may be opened, so that the lowermost trash bag may enter the cavity containing the box 11 in a manner of falling or sliding in, and the replenishment of the trash bags is completed. In other embodiments, the disposal bag refilling apparatus may also store a plurality of cavities for accommodating the disposal bags 20, and the disposal bag refilling apparatus is adapted to a trash can with replaceable cavities, i.e. the cavities in the accommodating box 11 are independent of the accommodating box 11, and can be detached and replaced. After no disposal bag in the current cavity, can be through changing the cavity that has the disposal bag, the cavity that gets off changed can mend the disposal bag in disposal bag filling device again to change next time. Under the condition that the controller 133 judges that the residual quantity of the garbage bags in the current cavity 111 is zero, a new roll or a stack of garbage bags can be automatically replenished from the garbage bag replenishing device and enter the accommodating box, so that the garbage can be automatically replenished after the previous roll or stack of garbage bags are used up, and the situation that no garbage bag exists in the garbage can is avoided.
Based on the same concept, the embodiment of the present disclosure further provides a garbage bag remaining amount detection method 30, which is applied to the garbage can 10 of any of the foregoing embodiments. As shown in fig. 8, the garbage bag remaining amount detecting method 30 may include: step S31, obtaining the magnetic field intensity, wherein the magnetic field intensity is the magnetic field intensity of the magnetic field passing through the cavity; in step S32, the remaining amount of the dust bag is determined based on the magnetic field intensity. Through magnetic field intensity, confirm the surplus of disposal bag, can confirm the surplus of disposal bag in real time, convenient remind or carry out other controls to the garbage bin, made things convenient for the user, improve user experience, avoid rubbish to lose and spill.
In one embodiment, step S32 may include: acquiring an electric signal corresponding to the magnetic field intensity through a magnetic field sensor; acquiring a voltage value of the electric signal; if the voltage value is smaller than the first threshold value, determining that the margin of the garbage bag is sufficient; and if the voltage value is larger than or equal to the first threshold value, determining that the garbage bag is insufficient in allowance. In the trash can 10, the trash bag 20 has an effect of blocking a magnetic field, when the remaining amount of the trash bag 20 is sufficient, the magnetic field strength sensed at the other end of the cavity 111 is low, as described above, the magnetic field strength is detected by the magnetic field sensor such as the hall sensor, and the magnetic field strength is further converted into a voltage value of a voltage signal by the elements such as the analog-to-digital converter, so that the controller judges according to the voltage value that the voltage value is relatively low when the magnetic field strength is low, and therefore, when the voltage value is smaller than the first threshold value, it can be determined that the remaining amount of the trash bag is sufficient; correspondingly, when the remaining amount of the garbage bag 20 is insufficient, the blocking effect on the magnetic field is also reduced, the sensed magnetic field intensity at the other end of the cavity 111 is increased, the voltage value is also increased, and therefore, the voltage value is greater than or equal to the first threshold value, and it can be determined that the remaining amount of the garbage bag is insufficient.
In an embodiment, step S32 may further include: if the voltage value is larger than or equal to the second threshold value, determining that the garbage bag allowance is zero; wherein the second threshold is greater than the first threshold. On the basis of the previous embodiment, a second threshold higher than the first threshold may be determined, and when the voltage value is greater than or equal to the second threshold, that is, the magnetic field strength is stronger, it may be determined that the remaining quantity of the garbage bag is zero. Through the second threshold value, whether the garbage bag surplus is zero can be judged automatically in real time, corresponding prompt can be carried out under the condition that the garbage bag surplus is zero, operations such as automatic garbage bag supplement can also be carried out, the situation that the garbage bag is left to scatter and the like caused by the fact that no garbage bag is arranged in the garbage can is avoided, convenience is brought to a user, and therefore user experience is improved.
In an embodiment, the method 30 for detecting the remaining amount of the garbage bag further includes: under the condition that a garbage bag is not placed in the cavity, acquiring the vacant magnetic field intensity of the magnetic field; determining a null voltage value based on the null magnetic field strength; based on the idle voltage value, a second threshold is determined. In this embodiment, under the condition that no disposal bag is placed in the cavity, the intensity of the magnetic field, that is, the vacant magnetic field intensity is obtained, the magnetic field intensity during the vacant state is converted into a vacant voltage value through the hall sensor, and the vacant voltage value can be directly used as the second threshold value. The second threshold may be conveniently set in this embodiment, and on this basis, the first threshold may be further set, for example, the idle voltage value is used as the second threshold, and then the intensity value of 90% of the idle voltage value is used as the first threshold. Through the embodiment, the magnetic field can be calibrated, and the problem of inaccurate judgment caused by unstable magnetic field of the magnet 12 is avoided. The user may perform the calibration operation when there is no garbage bag 20 in the cavity 111, or perform the calibration each time when it is detected that the remaining amount of the garbage bag 20 in the cavity 111 is zero, and use the sensed idle voltage value when the remaining amount is zero as a new second threshold.
Based on the same concept, the embodiment of the present disclosure further provides a garbage bag remaining amount detecting device 300, and fig. 9 is a block diagram of the garbage bag remaining amount detecting device 300 according to an exemplary embodiment. The garbage bag remaining amount detecting device 300 can be applied to the garbage can 10 of any of the foregoing embodiments. As shown in fig. 9, the garbage bag remaining amount detecting apparatus 300 may include: the acquiring unit 310 is configured to acquire a magnetic field strength, where the magnetic field strength is a magnetic field strength of a magnetic field passing through the cavity; a determining unit 320 for determining the remaining amount of the garbage bag based on the magnetic field strength.
In an embodiment, the determining unit 320 is configured to: determining a voltage value based on the magnetic field strength; if the voltage value is smaller than the first threshold value, determining that the margin of the garbage bag is sufficient; and if the voltage value is larger than or equal to the first threshold value, determining that the garbage bag is insufficient in allowance.
In an embodiment, the determining unit 320 is further configured to: if the voltage value is larger than or equal to the second threshold value, determining that the garbage bag allowance is zero; wherein the second threshold is greater than the first threshold.
In an embodiment, the obtaining unit 310 is further configured to: under the condition that a garbage bag is not placed in the cavity, acquiring the vacant magnetic field intensity of the magnetic field; the determining unit 320 is further configured to: determining a null voltage value based on the null magnetic field strength; based on the idle voltage value, a second threshold is determined.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
Fig. 10 is a block diagram illustrating an apparatus 800 for trash bag residue detection according to an exemplary embodiment. For example, the apparatus 800 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, an exercise device, a personal digital assistant, and the like.
Referring to fig. 10, the apparatus 800 may include one or more of the following components: a processing component 802, a memory 804, a power component 806, a multimedia component 808, an audio component 810, an input/output (I/O) interface 812, a sensor component 814, and a communications component 816.
The processing component 802 generally controls overall operation of the device 800, such as operations associated with display, telephone calls, data communications, camera operations, and recording operations. The processing components 802 may include one or more processors 820 to execute instructions to perform all or a portion of the steps of the methods described above. Further, the processing component 802 can include one or more modules that facilitate interaction between the processing component 802 and other components. For example, the processing component 802 can include a multimedia module to facilitate interaction between the multimedia component 808 and the processing component 802.
The memory 804 is configured to store various types of data to support operations at the apparatus 800. Examples of such data include instructions for any application or method operating on device 800, contact data, phonebook data, messages, pictures, videos, and so forth. The memory 804 may be implemented by any type or combination of volatile or non-volatile memory devices such as Static Random Access Memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disks.
Power component 806 provides power to the various components of device 800. The power components 806 may include a power management system, one or more power sources, and other components associated with generating, managing, and distributing power for the device 800.
The multimedia component 808 includes a screen that provides an output interface between the device 800 and a user. In some embodiments, the screen may include a Liquid Crystal Display (LCD) and a Touch Panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive an input signal from a user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 808 includes a front facing camera and/or a rear facing camera. The front camera and/or the rear camera may receive external multimedia data when the device 800 is in an operating mode, such as a shooting mode or a video mode. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
The audio component 810 is configured to output and/or input audio signals. For example, the audio component 810 includes a Microphone (MIC) configured to receive external audio signals when the apparatus 800 is in an operational mode, such as a call mode, a recording mode, and a voice recognition mode. The received audio signals may further be stored in the memory 804 or transmitted via the communication component 816. In some embodiments, audio component 810 also includes a speaker for outputting audio signals.
The I/O interface 812 provides an interface between the processing component 802 and peripheral interface modules, which may be keyboards, click wheels, buttons, etc. These buttons may include, but are not limited to: a home button, a volume button, a start button, and a lock button.
The sensor assembly 814 includes one or more sensors for providing various aspects of state assessment for the device 800. For example, the sensor assembly 814 may detect the open/closed status of the device 800, the relative positioning of components, such as a display and keypad of the device 800, the sensor assembly 814 may also detect a change in the position of the device 800 or a component of the device 800, the presence or absence of user contact with the device 800, the orientation or acceleration/deceleration of the device 800, and a change in the temperature of the device 800. Sensor assembly 814 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 814 may also include a light sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 814 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
The communication component 816 is configured to facilitate communications between the apparatus 800 and other devices in a wired or wireless manner. The device 800 may access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 816 receives a broadcast signal or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 816 further includes a Near Field Communication (NFC) module to facilitate short-range communications. For example, the NFC module may be implemented based on Radio Frequency Identification (RFID) technology, infrared data association (IrDA) technology, Ultra Wideband (UWB) technology, Bluetooth (BT) technology, and other technologies.
In an exemplary embodiment, the apparatus 800 may be implemented by one or more Application Specific Integrated Circuits (ASICs), Digital Signal Processors (DSPs), Digital Signal Processing Devices (DSPDs), Programmable Logic Devices (PLDs), Field Programmable Gate Arrays (FPGAs), controllers, micro-controllers, microprocessors or other electronic components for performing the above-described methods.
In an exemplary embodiment, a non-transitory computer-readable storage medium comprising instructions, such as the memory 804 comprising instructions, executable by the processor 820 of the device 800 to perform the above-described method is also provided. For example, the non-transitory computer readable storage medium may be a ROM, a Random Access Memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
Fig. 11 is a block diagram illustrating an apparatus 1100 for trash bag residue detection according to an exemplary embodiment. For example, the apparatus 1100 may be provided as a server. Referring to fig. 11, the apparatus 1100 includes a processing component 1122 that further includes one or more processors and memory resources, represented by memory 1132, for storing instructions, such as application programs, executable by the processing component 1122. The application programs stored in memory 1132 may include one or more modules that each correspond to a set of instructions. In addition, the processing component 1122 is configured to execute instructions to perform the garbage bag remaining amount detection method described above
The apparatus 1100 may also include a power component 1126 configured to perform power management of the apparatus 1100, a wired or wireless network interface 1150 configured to connect the apparatus 1100 to a network, and an input/output (I/O) interface 1158. The apparatus 1100 may operate based on an operating system stored in the memory 1132, such as Windows Server, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, or the like.
It is understood that "a plurality" in this disclosure means two or more, and other words are analogous. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. The singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
It will be further understood that the terms "first," "second," and the like are used to describe various information and that such information should not be limited by these terms. These terms are only used to distinguish one type of information from another and do not denote a particular order or importance. Indeed, the terms "first," "second," and the like are fully interchangeable. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present disclosure.
It will be further understood that the terms "central," "longitudinal," "lateral," "front," "rear," "upper," "lower," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," "outer," and the like are used in an orientation or positional relationship indicated in the drawings for convenience in describing the present embodiment and to simplify the description, but do not indicate or imply that the referenced device or element must have a particular orientation, be constructed and operated in a particular orientation.
It will be further understood that, unless otherwise specified, "connected" includes direct connections between the two without the presence of other elements, as well as indirect connections between the two with the presence of other elements.
It is further to be understood that while operations are depicted in the drawings in a particular order, this is not to be understood as requiring that such operations be performed in the particular order shown or in serial order, or that all illustrated operations be performed, to achieve desirable results. In certain environments, multitasking and parallel processing may be advantageous.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present disclosure is limited only by the appended claims.

Claims (15)

1. A trash can, comprising:
a receptacle having a cavity for receiving a trash bag, wherein the trash bag has a magnetic blocking component;
the magnet is arranged on one side of the cavity and used for providing a magnetic field;
the measurement and control assembly is used for sensing the magnetic field intensity passing through the cavity and determining the allowance of the garbage bag based on the magnetic field intensity;
the measurement and control assembly comprises:
the magnetic field sensor is arranged on one side, opposite to the magnet, of the cavity, so that the garbage bag is accommodated in the cavity and is positioned between the magnet and the magnetic field sensor, and the magnetic field sensor is used for sensing the magnetic field intensity of the magnetic field and outputting an electric signal corresponding to the magnetic field intensity.
2. A trashcan as claimed in claim 1, wherein the measurement and control assembly further comprises:
the analog-to-digital converter is used for receiving the electric signal output by the magnetic field sensor, converting the electric signal into a digital signal and outputting the digital signal;
and the controller is used for receiving the digital signal and determining the residual quantity of the garbage bag based on the digital signal.
3. A trashcan as claimed in claim 2, further comprising: a prompting device;
the prompting device is used for sending out prompting information for prompting that the residual quantity of the garbage bag is insufficient when the controller determines that the residual quantity of the garbage bag is insufficient.
4. A trashcan as claimed in claim 2 or 3, further comprising: the garbage bag packing device is used for packing used garbage bags; wherein the content of the first and second substances,
when the allowance of the garbage bags is zero, the controller prohibits the garbage bag packaging device from packaging the used garbage bags.
5. A trashcan as claimed in claim 2 or 3, further comprising: a trash bag replenishing device comprising: a storage chamber storing a plurality of trash bags; the garbage bag replenishing device is used for replenishing garbage bags to the accommodating box when the controller detects that the allowance of the garbage bags in the accommodating box is zero.
6. A garbage bag remaining amount detecting method applied to the garbage can according to any one of claims 1-5, the method comprising:
acquiring magnetic field intensity, wherein the magnetic field intensity is the magnetic field intensity of a magnetic field passing through the cavity;
determining the remaining amount of the garbage bag based on the magnetic field strength.
7. The method of claim 6, wherein the determining the remaining amount of the garbage bag based on the magnetic field strength comprises:
acquiring an electric signal corresponding to the magnetic field intensity through a magnetic field sensor;
acquiring a voltage value of the electric signal;
if the voltage value is smaller than a first threshold value, determining that the residual quantity of the garbage bag is sufficient;
and if the voltage value is larger than or equal to the first threshold value, determining that the garbage bag allowance is insufficient.
8. The method of claim 7, wherein the determining the remaining amount of the garbage bag based on the magnetic field strength further comprises:
if the voltage value is larger than or equal to a second threshold value, determining that the garbage bag allowance is zero; wherein the second threshold is greater than the first threshold.
9. The garbage bag remaining amount detecting method according to claim 8, further comprising:
under the condition that the garbage bag is not placed in the cavity, acquiring the vacant magnetic field intensity of the magnetic field;
determining a null voltage value based on the null magnetic field strength;
determining the second threshold based on the idle voltage value.
10. A garbage bag remaining amount detecting apparatus applied to the garbage can according to any one of claims 1 to 5, comprising:
the acquisition unit is used for acquiring the magnetic field intensity, wherein the magnetic field intensity is the magnetic field intensity of a magnetic field passing through the cavity;
a determination unit for determining the remaining amount of the garbage bag based on the magnetic field strength.
11. The trash bag remaining amount detecting device of claim 10, wherein the determining unit is configured to:
determining a voltage value based on the magnetic field strength;
if the voltage value is smaller than a first threshold value, determining that the residual quantity of the garbage bag is sufficient;
and if the voltage value is larger than or equal to the first threshold value, determining that the garbage bag allowance is insufficient.
12. The trash bag remaining amount detecting device of claim 11, wherein the determining unit is further configured to:
if the voltage value is larger than or equal to a second threshold value, determining that the garbage bag allowance is zero; wherein the second threshold is greater than the first threshold.
13. The waste bag remaining amount detecting device according to claim 12,
the acquisition unit is further configured to: under the condition that the garbage bag is not placed in the cavity, acquiring the vacant magnetic field intensity of the magnetic field;
the determination unit is further configured to: determining a null voltage value based on the null magnetic field strength; determining the second threshold based on the idle voltage value.
14. An electronic device, comprising:
a processor;
a memory for storing processor-executable instructions;
wherein the processor is configured to: -performing the garbage bag remaining amount detecting method according to any one of claims 6-9.
15. A non-transitory computer readable storage medium storing instructions which, when executed by a processor, perform the trash bag remaining amount detecting method of any one of claims 6-9.
CN202011173440.9A 2020-10-28 2020-10-28 Garbage can, garbage bag allowance detection method and garbage bag allowance detection device Active CN112407663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011173440.9A CN112407663B (en) 2020-10-28 2020-10-28 Garbage can, garbage bag allowance detection method and garbage bag allowance detection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011173440.9A CN112407663B (en) 2020-10-28 2020-10-28 Garbage can, garbage bag allowance detection method and garbage bag allowance detection device

Publications (2)

Publication Number Publication Date
CN112407663A CN112407663A (en) 2021-02-26
CN112407663B true CN112407663B (en) 2022-04-01

Family

ID=74840287

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011173440.9A Active CN112407663B (en) 2020-10-28 2020-10-28 Garbage can, garbage bag allowance detection method and garbage bag allowance detection device

Country Status (1)

Country Link
CN (1) CN112407663B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10279997B2 (en) 2014-03-14 2019-05-07 Simplehuman, Llc Trash can assembly
WO2023064221A1 (en) * 2021-10-12 2023-04-20 Simplehuman, Llc Receptacle with bag liner dispenser
CN115069822B (en) * 2022-08-22 2022-11-22 泉州市以色工业设计有限公司 Coiled material allowance detection device based on magnetic induction and steel belt processing equipment

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
TWM329624U (en) * 2007-08-15 2008-04-01 Wen Ben Ind Co Ltd Improved lid-lift garbage can
CN104503296B (en) * 2014-11-24 2018-03-27 上海斐讯数据通信技术有限公司 A kind of curl-paper box
CN105374176B (en) * 2015-10-29 2019-02-12 小米科技有限责任公司 Reminding method and device
CN105564866B (en) * 2015-12-17 2018-11-30 小米科技有限责任公司 Reminding method and device
CN108163409B (en) * 2017-12-12 2020-06-02 北京小米移动软件有限公司 Garbage can
CN209853047U (en) * 2019-04-17 2019-12-27 四川省肿瘤医院 Novel medical garbage bin that can automatic segmentation ligature
CN210883702U (en) * 2019-09-11 2020-06-30 追觅科技(天津)有限公司 Intelligent garbage can capable of automatically identifying garbage bag box

Also Published As

Publication number Publication date
CN112407663A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN112407663B (en) Garbage can, garbage bag allowance detection method and garbage bag allowance detection device
CN109250342B (en) Garbage collection method and device
CN107134823B (en) Charging prompting method and device
EP3109185B1 (en) Method and device for prompting change of garbage bag
CN112208966B (en) Garbage can, garbage bag allowance detection method and garbage bag allowance detection device
CN104700816B (en) Method and device for setting screen brightness
EP3301557A1 (en) Method, apparatus and computer program product for sharing content
EP3035738A1 (en) Method for connecting appliance to network and device for the same
CN108962191A (en) Screen intensity regulates and controls method, apparatus, electronic equipment and storage medium
US10598707B2 (en) Method, apparatus, and system for counting electricity consumption
CN106774774A (en) The electric quantity display method and device of end cell
CN109361593A (en) A kind of method, apparatus of prompting message, mobile terminal and storage medium
CN106548605A (en) Refuse receptacle monitoring method and device
CN105374176B (en) Reminding method and device
CN108121631B (en) Screen abnormal state reminding method and device
WO2016065750A1 (en) Item content display method and device
CN106227645A (en) electric quantity display method and device
KR101676216B1 (en) Message sending method, device, program, and recording medium
CN106095636A (en) A kind of method, device and mobile device reminding continuation charging
CN106767996A (en) Mouth mask wears detection method, device and mouth mask
CN106791083A (en) Notification message display methods and device
CN110602324B (en) Reminding method and device of wearable equipment
CN106155703A (en) The display packing of emotional state and device
EP3099023A1 (en) Method and device for sending message
CN106502370A (en) The method of control intelligent terminal and intelligent terminal

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