Device and method for intelligently classifying and recycling garbage
Through the camera, pressure sensor and neural network identification model of the intelligent garbage sorting device, combined with the drive device, the automatic classification and recycling of garbage is achieved, solving the problem of cumbersome operation of existing equipment and achieving efficient and convenient recycling and classification of garbage.
Patent Information
- Application Number
- CN202010122464.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-02-27
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2040-02-27
AI Technical Summary
The existing intelligent garbage sorting equipment relies on manual operations, and the classification process is cumbersome and inconvenient, and it is impossible to actively recycle garbage, which is a waste of time.
An intelligent garbage sorting and recycling device was designed, using a camera, pressure sensor and a central processing unit combined with a neural network identification model to realize automatic sorting and recycling of garbage, and the active transfer of garbage to the corresponding recycling bin through the drive device.
It realizes efficient and convenient classification and recycling of garbage, saves time, has a beautiful appearance, is simple to operate, and is suitable for use in various scenarios.
Smart Images

Figure CN111169848B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of garbage classification and recycling equipment, and in particular to a device and method for intelligently classifying and recycling garbage. Background Art
[0002] There is a huge "wealth" hidden in garbage. According to the circular economy theory of "resources-products-renewable resources", implementing garbage classification and recycling to turn waste into treasure will not only greatly promote the resource utilization process, but the value of garbage is largely determined by the degree of garbage mixing or classification.
[0003] The existing garbage classification mainly relies on manual sorting and people's conscious classification when throwing garbage. The existing garbage classification equipment is only used to hold different garbage barrels. Driven by advanced technologies such as artificial intelligence, the scene of garbage classification has gradually become intelligent, but the current intelligent garbage classification equipment is also passive classification. You select the garbage to be thrown on the device, and the device prompts what category the garbage belongs to. Then throw the garbage into the corresponding garbage bin, which takes up a lot of time and is not convenient. Summary of the invention
[0004] The technical problem to be solved by the present invention is to provide a device and method for intelligently sorting and recycling garbage in view of the deficiencies of the above-mentioned prior art. The device "actively" recycles the garbage put in, which saves time and is highly efficient. Moreover, the device has beautiful appearance, simple operation, and is suitable for various scenarios.
[0005] In order to solve the above technical problems, the technical solution adopted by the present invention is:
[0006] On the one hand, the present invention provides a device for intelligently classifying and recycling garbage, including a camera, a pressure sensor, a central processing unit, a recycling device body, and an equipment terminal;
[0007] The recycling transposition body includes an upper box body and a lower box body, wherein the upper box body includes an upper cover with a drop-in port, a baffle, an upper cover partition, a first driving device, and a fastening ring; the lower box body includes a recycling bucket partition baffle, four recycling buckets with handles, a second driving device, a base, and a base partition;
[0008] The upper cover with the loading port is connected to the fastening ring, the baffle is placed above the upper cover partition, and the upper cover partition is placed in the fastening ring; the first driving device is arranged below the upper cover partition, one end of the first driving device is connected to the baffle through the upper cover partition, and the other end is connected to the central processing unit;
[0009] The four recycling bins with handles are respectively placed at four gaps of the recycling bin partition baffle and embedded in the base; the recycling bin partition baffle is respectively connected to the first drive device and the second drive device, the second drive device is embedded in the base, one end of the second drive device is connected to the recycling bin partition baffle through the base partition, and the other end of the second drive device is connected to the central processor;
[0010] The camera is arranged beside the delivery port of the upper cover, and the shooting range of the camera needs to cover the gap of the baffle plate just below the delivery port, and the output end of the camera is connected to the central processing unit;
[0011] The pressure sensor is arranged below the upper cover partition just below the loading port, and its output end is connected to the central processing unit;
[0012] The central processing unit is arranged below the upper cover partition, and includes a recognition module, a control module, and an output module; the output module is used to receive the image to be recognized taken by the camera and the information output by the pressure sensor, and output the image and its recognition result to the device terminal, and the output module is respectively connected to the recognition module, the control module, and the device terminal; the recognition module is used to recognize the image to be recognized, and the output end of the recognition module is connected to the control module, and the control module is used to control the camera, the first drive device, and the second drive device, and the output end of the control module is respectively connected to the camera, the first drive device, and the second drive device.
[0013] The upper cover partition is an upper cover partition with a fan-shaped opening.
[0014] The fan-shaped opening of the fan-shaped opening portion is set to be a 90-degree opening.
[0015] The fan-shaped opening is arranged at the baffle gap below the loading port where the baffle is rotated 90 degrees in the opposite direction.
[0016] On the other hand, the present invention provides a method for intelligently classifying and recycling garbage, which is implemented by the device for intelligently classifying and recycling garbage, and comprises the following steps:
[0017] Step 1: After the garbage is put in, the value output by the pressure sensor to the output module changes, and the control module controls the camera to obtain the image of the garbage put into the garbage classification and recycling device. After collecting the image of the garbage to be identified, the control module controls the first driving device to rotate the baffle 90 degrees in the positive direction;
[0018] Step 2: Classify and identify the junk images to be identified according to the neural network recognition model to obtain the classification results; the specific steps are as follows:
[0019] Step 2.1: Obtain a training data set, wherein the data set includes labeled hazardous waste images, recyclable waste images, other waste images, and kitchen waste images;
[0020] Step 2.2: Input the data in the training set into the pre-trained resnet50 to obtain the corresponding feature vector, input the feature vector into the fully connected layer of the neural network, train the neural network according to the forward propagation method, obtain the initial neural network recognition model, and obtain the prediction results of the data in the training set;
[0021] Step 2.3: Calculate the loss function of the prediction results and image labels, and use the back-propagation method to obtain the gradient of the loss function for different parameters. Use the stochastic gradient descent method to update the parameters and obtain the updated neural network recognition model.
[0022] Step 2.4: Calculate the accuracy of the prediction results, save the updated neural network recognition model with high accuracy, input the data in the training set into the updated neural network recognition model, repeat steps 2.2-2.3 until the accuracy of the model remains unchanged for 5 times, and then output the last updated neural network recognition model as the neural network recognition model;
[0023] Step 2.5: Input the junk images to be identified into the neural network recognition model to obtain the classification results;
[0024] Step 3: According to the recognition result of step 2, the control module controls the second driving device to rotate the recycling bin corresponding to the classification result to a fixed position, wherein the fixed position is the fan-shaped opening of the bottom plate;
[0025] Step 4: After the recycling bin is rotated to the fixed position, the first driving device rotates the baffle to rotate the garbage to the fixed position;
[0026] Step 5: Determine whether there is a junk image to be identified. If so, execute step 2; if not, execute step 6;
[0027] Step 6: The central processing unit transmits the junk images to be classified and their classification results to the device terminal.
[0028] The beneficial effect of adopting the above technical solution is that the device and method for intelligent classification and recycling of garbage provided by the present invention has the advantages of convenience, practicality, and high efficiency. Compared with the existing intelligent garbage classification and recycling devices, the biggest advantage is "active recycling". The existing garbage classification and recycling devices first "tell" it what kind of garbage to throw away, and then classify and recycle it, while this device "actively" recycles the garbage thrown in, which saves time and is efficient. In addition, the device has a beautiful appearance and is easy to operate. It is suitable for various scenes. It can be both a public environmental guardian and a good helper at home. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 A three-dimensional diagram of an intelligent garbage classification and recycling device provided in an embodiment of the present invention;
[0030] Figure 2 A front view of an intelligent garbage classification and recycling device provided by an embodiment of the present invention;
[0031] Figure 3 A cross-sectional view of an intelligent garbage classification and recycling device provided in an embodiment of the present invention;
[0032] Figure 4 An exploded diagram of an intelligent garbage classification and recycling device provided in an embodiment of the present invention;
[0033] Figure 5 A partial view of the upper box of the intelligent garbage classification and recycling device provided in an embodiment of the present invention;
[0034] Figure 6 A partial view of the lower box of the intelligent garbage classification and recycling device provided in an embodiment of the present invention;
[0035] Figure 7 A flow chart of a method provided by an embodiment of the present invention;
[0036] Among them, 1-upper cover with a delivery port, 2-camera, 3-baffle, 4-upper cover partition, 5-first driving device, 6-pressure sensor, 7-central processing unit, 8-fastening ring, 9-recycling bin partition baffle, 10-recycling bin, 11-second driving device, 12-base, 13-trash can handle, 14-fan-shaped opening, 15-delivery port, 16-base partition. DETAILED DESCRIPTION
[0037] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.
[0038] The method of this embodiment is as follows.
[0039] On the one hand, the present invention provides a device for intelligently sorting and recycling garbage, such as Figure 1-Figure 6 As shown, it includes a camera 2, a pressure sensor 6, a central processor 7, a recovery device body, and a device terminal;
[0040] The recycling transposition body includes an upper box body and a lower box body, wherein the upper box body includes an upper cover 1 with a loading port 15, a baffle 3, an upper cover partition 4, a first driving device 5, and a fastening ring 8; the lower box body includes a recycling bucket partition baffle 9, four recycling buckets 10 with handles 13, a second driving device 11, a base 12, and a base partition 16;
[0041] The upper cover 1 with the loading port 15 is connected to the fastening ring 8, the baffle is placed above the upper cover partition, and the upper cover partition 4 is placed in the fastening ring 8; the first driving device 5 is arranged below the upper cover partition 4, one end of the first driving device 5 is connected to the baffle 3 through the upper cover partition 4, and the other end is connected to the central processing unit 7;
[0042] The four recycling bins 10 with handles 13 are respectively placed at the four gaps of the recycling bin partition baffle 9 and embedded in the base 12; when the recycling bin needs to be cleaned, it is only necessary to grab the handle 13 to lift the recycling bin upwards, and then pull the recycling bin out horizontally; the recycling bin partition baffle 9 is respectively connected to the first drive device 5 and the second drive device 11, the second drive device 11 is embedded in the base, one end of the second drive device 11 is connected to the recycling bin partition baffle 9 through the base partition 16, and the other end of the second drive device 11 is connected to the central processor 7;
[0043] The camera 2 is arranged beside the delivery port 15 of the upper cover 1, and the shooting range of the camera needs to cover the gap of the baffle 3 just below the delivery port 15, and the output end of the camera is connected to the central processor 7;
[0044] The pressure sensor 6 is arranged below the upper cover partition 4 just below the loading port 15, and its output end is connected to the central processing unit 7;
[0045] The central processing unit 7 is arranged below the upper cover partition 4, and includes a recognition module, a control module, and an output module; the output module is used to receive the image to be recognized taken by the camera and the information output by the pressure sensor, and output the image and its recognition result to the device terminal, and the output module is respectively connected to the recognition module, the control module, and the device terminal; the recognition module is used to recognize the image to be recognized, and the output end of the recognition module is connected to the control module, and the control module is used to control the camera, the first drive device and the second drive device, and the output end of the control module is respectively connected to the camera, the first drive device, and the second drive device.
[0046] The upper cover partition 4 is an upper cover partition with a fan-shaped opening 14 .
[0047] The fan-shaped opening of the fan-shaped opening portion 14 is set at an angle of 90 degrees.
[0048] The opening is arranged at a gap between the baffle plates below the loading port where the baffle plates are rotated in the opposite direction by 90 degrees.
[0049] In this embodiment, the central processor uses a Raspberry Pi 3B+;
[0050] On the other hand, the present invention provides a method for intelligently classifying and recycling garbage, which is implemented by the device for intelligently classifying and recycling garbage, such as Figure 7 As shown, the following steps are included:
[0051] Step 1: After the garbage is put in, the value output by the pressure sensor to the output module changes, and the control module controls the camera to obtain the image of the garbage put into the garbage classification and recycling device. After collecting the image of the garbage to be identified, the control module controls the first driving device to rotate the baffle 90 degrees in the positive direction;
[0052] Step 2: Classify and identify the junk images to be identified according to the neural network recognition model to obtain the classification results; the specific steps are as follows:
[0053] Step 2.1: Obtain a training data set, wherein the data set includes labeled hazardous waste images, recyclable waste images, other waste images, and kitchen waste images;
[0054] Step 2.2: Input the data in the training set into the pre-trained resnet50 to obtain the corresponding feature vector, enter the feature vector into the fully connected layer of the neural network, train the neural network according to the forward propagation method, obtain the initial neural network recognition model, and obtain the prediction results of the data in the training set; that is, first forward propagation, that is, the feature vector passes through the network, and the network parameters are calculated to obtain the prediction results;
[0055] Step 2.3: Calculate the loss function of the prediction result and the image label (the loss function is used to represent the difference between the prediction result and the image label). According to the back propagation method, that is, calculate from the last layer of the network forward, obtain the gradient of the loss function for different parameters, and use the stochastic gradient descent method (SGD) to update the parameters to obtain the updated neural network recognition model.
[0056] Step 2.4: Calculate the accuracy of the prediction results, save the updated neural network recognition model with high accuracy, input the data in the training set into the updated neural network recognition model, repeat steps 2.2-2.3 until the accuracy of the model remains unchanged for 5 times, and then output the last updated neural network recognition model as the neural network recognition model;
[0057] Step 2.5: Input the junk images to be identified into the neural network recognition model to obtain the classification results;
[0058] Step 3: According to the recognition result of step 2, the control module controls the second driving device to rotate the recycling bin corresponding to the classification result to a fixed position, wherein the fixed position is the fan-shaped opening of the bottom plate;
[0059] Step 4: After the recycling bin is rotated to the fixed position, the first driving device rotates the baffle to rotate the garbage to the fixed position;
[0060] Step 5: Determine whether there is a junk image to be identified. If so, execute step 2; if not, execute step 6;
[0061] Step 6: The central processing unit transmits the junk images to be classified and their classification results to the device terminal.
[0062] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some or all of the technical features therein. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope defined by the claims of the present invention.
Claims
1. A method for intelligently classifying and recycling garbage, which is implemented by a device for intelligently classifying and recycling garbage, the device comprising a camera, a pressure sensor, a central processor, a recycling device body, and a device terminal; The recycling device body includes an upper box body and a lower box body, wherein the upper box body includes an upper cover with a delivery port, a baffle, an upper cover partition, a first driving device, and a fastening ring; the lower box body includes a recycling bucket partition baffle, four recycling buckets with handles, a second driving device, a base, and a base partition; The upper cover with the loading port is connected to the fastening ring, the baffle is placed above the upper cover partition, and the upper cover partition is placed in the fastening ring; the first driving device is arranged below the upper cover partition, one end of the first driving device is connected to the baffle through the upper cover partition, and the other end is connected to the central processing unit; The four recycling bins with handles are respectively placed at four gaps of the recycling bin partition baffle and embedded in the base; the recycling bin partition baffle is respectively connected to the first drive device and the second drive device, the second drive device is embedded in the base, one end of the second drive device is connected to the recycling bin partition baffle through the base partition, and the other end of the second drive device is connected to the central processor; The camera is arranged beside the delivery port of the upper cover, and the shooting range of the camera needs to cover the gap of the baffle plate just below the delivery port, and the output end of the camera is connected to the central processing unit; The pressure sensor is arranged below the upper cover partition just below the loading port, and its output end is connected to the central processing unit; The central processing unit is arranged below the upper cover partition, and includes a recognition module, a control module, and an output module; the output module is used to receive the image to be recognized taken by the camera and the information output by the pressure sensor, and output the image and its recognition result to the device terminal, and the output module is respectively connected to the recognition module, the control module, and the device terminal; the recognition module is used to recognize the image to be recognized, and the output end of the recognition module is connected to the control module, and the control module is used to control the camera, the first drive device, and the second drive device, and the output end of the control module is respectively connected to the camera, the first drive device, and the second drive device; The upper cover partition is an upper cover partition with a fan-shaped opening; The fan-shaped opening is arranged at the gap between the baffle plates below the loading port and the baffle plates are rotated 90 degrees in the opposite direction; It is characterized in that The following steps are involved: Step 1: After the garbage is put in, the value output by the pressure sensor to the output module changes, and the control module controls the camera to obtain the image of the garbage put into the garbage classification and recycling device. After collecting the image of the garbage to be identified, the control module controls the first driving device to rotate the baffle 90 degrees in the positive direction; Step 2: Classify and identify the junk images to be identified according to the neural network recognition model to obtain the classification results; the specific steps are as follows: Step 2.1: Obtain a training data set, wherein the data set includes labeled hazardous waste images, recyclable waste images, other waste images, and kitchen waste images; Step 2.2: Input the data in the training set into the pre-trained resnet50 to obtain the corresponding feature vector, input the feature vector into the fully connected layer of the neural network, train the neural network according to the forward propagation method, obtain the initial neural network recognition model, and obtain the prediction results of the data in the training set; Step 2.3: Calculate the loss function of the prediction results and image labels, and use the back-propagation method to obtain the gradient of the loss function for different parameters. Use the stochastic gradient descent method to update the parameters and obtain the updated neural network recognition model. Step 2.4: Calculate the accuracy of the prediction results, save the updated neural network recognition model with high accuracy, input the data in the training set into the updated neural network recognition model, repeat steps 2.2-2.3 until the accuracy of the model remains unchanged for 5 times, and then output the last updated neural network recognition model as the neural network recognition model; Step 2.5: Input the junk images to be identified into the neural network recognition model to obtain the classification results; Step 3: According to the recognition result of step 2, the control module controls the second driving device to rotate the recycling bin corresponding to the classification result to a fixed position, wherein the fixed position is the fan-shaped opening of the bottom plate; Step 4: After the recycling bin is rotated to the fixed position, the first driving device rotates the baffle to rotate the garbage to the fixed position; Step 5: Determine whether there is a junk image to be identified. If so, execute step 2; if not, execute step 6; Step 6: The central processing unit transmits the junk images to be classified and their classification results to the device terminal.
2. The method for intelligently classifying and recycling garbage according to claim 1, characterized in that: The fan-shaped opening of the fan-shaped opening portion is set to be a 90-degree opening.
Citation Information
Patent Citations
Intelligent identification and classification recycling garbage can
CN109625680A
A picture garbage recognition method based on deep learning
CN109948639A
Intelligent classification garbage can based on AI and method thereof
CN110498152A
Garbage classification and recognition method based on artificial intelligence
CN110598800A
Automatic recyclable garbage sorting and recycling device and method based on machine vision
CN110654739A
