Garbage classification box overflow detection device and method based on artificial intelligence
阅读说明:本技术 一种基于人工智能的垃圾分类箱溢满检测装置及其方法 (Garbage classification box overflow detection device and method based on artificial intelligence ) 是由 张开生 秦博 张晨静 于 2020-08-26 设计创作,主要内容包括:一种基于人工智能的垃圾分类箱溢满检测装置及其方法,包括垃圾分类箱体,所述垃圾分类箱体,所述垃圾分类箱体的箱内顶面设置有T型导轨滑台,所述T型导轨滑台上设置有超声波传感器,超声波传感器沿T型导轨滑台上进行二维范围内自由移动,超声波传感器输出端连接微处理器,超声波传感器用于检测垃圾分类箱体内部垃圾的容量。本发明能够提高垃圾清运效率、改善垃圾分类箱周边环境质量、提高资源利用率。(The utility model provides a waste classification case overflows full detection device and method based on artificial intelligence, includes the waste classification box, the incasement top surface of waste classification box is provided with T type guide rail slip table, be provided with ultrasonic sensor on the T type guide rail slip table, ultrasonic sensor carries out the free movement in the two-dimensional range on the T type guide rail slip table, and the ultrasonic sensor output is connected microprocessor, and ultrasonic sensor is used for detecting the capacity of the inside rubbish of waste classification box. The invention can improve the garbage clearing efficiency, improve the surrounding environment quality of the garbage classification box and improve the resource utilization rate.)
1. The utility model provides a waste classification case overflows full detection device based on artificial intelligence, a serial communication port, including waste classification box (11), the case lid internal surface of waste classification box (11) is provided with T type guide rail slip table (9), be provided with ultrasonic sensor (2) on T type guide rail slip table (9), ultrasonic sensor (2) are followed and are carried out two dimensional range on T type guide rail slip table (9) and go up free movement, and microprocessor (1) is connected to ultrasonic sensor (2) output, and ultrasonic sensor (2) are used for detecting the capacity of the inside rubbish of waste classification box (11).
2. The artificial intelligence based garbage classification bin overflow detection device as claimed in claim 1, wherein the T-shaped guide rail sliding table (9) is composed of two mutually perpendicular guide rails and sliding parts at the intersection thereof, and the guide rails are mutually matched and slide in a crossed manner under the driving of a motor.
3. The artificial intelligence based garbage classification bin overflow detection device according to claim 1, wherein the ultrasonic sensor (2) is controlled to move by a stepping motor (8), and the stepping motor (8) is connected with the microprocessor (1) through a motor driving module (7).
4. The artificial intelligence based garbage classification box overflow detection device according to claim 1, wherein an LED indicating device (3) is arranged on the surface of the garbage classification box body (11), and the input end of the LED indicating device (3) is connected with the output end of the microprocessor (1).
5. The artificial intelligence based garbage classification box overflow detection device according to claim 1, wherein a positioning module (6) is arranged on the surface of the garbage classification box body (11), and the positioning module (6) is used for acquiring position information of the garbage classification box and sending the position information to the microprocessor (1).
6. The artificial intelligence based garbage classification bin overflow detection device according to claim 1, wherein an output end of the microprocessor (1) is connected with an input end of the wireless communication module (4), and an output end of the wireless communication module (4) is connected with the remote cloud platform (5).
7. The artificial intelligence based garbage can overflow detection device according to claim 1, wherein the microprocessor (1) is a low power embedded microprocessor LPC 2103.
8. The artificial intelligence based garbage classification bin overflow detection device as claimed in claim 1, wherein the ultrasonic sensor (2) comprises an ultrasonic transmitter (12) and an ultrasonic receiver (13), the ultrasonic transmitter (12) sends out 8 pulse signals of 40kHz, the pulse signals are captured by the ultrasonic receiver (13) after being reflected by the garbage in the garbage classification bin (11), and the ultrasonic receiver (13) sends a reverberation signal to the microprocessor (1).
9. The method for detecting the overflow device of the garbage classification bin based on the artificial intelligence as claimed in claim 1, which is characterized by comprising the following steps;
according to a control signal sent by the microprocessor (1), under the drive of the motor drive module (7), the stepping motor (8) works, the ultrasonic sensor (2) can freely move on the T-shaped guide rail sliding table (9) and spread over the effective position of the inner top surface of the garbage classification box (11), ultrasonic waves are continuously sent downwards, the garbage storage condition of each position in the garbage classification box (11) is detected and fed back to the microprocessor (1) in a high-level mode, and the microprocessor (1) calculates the residual capacity of the garbage classification box (11) and compares the residual capacity with a set threshold value to judge the overflow condition of the garbage classification box;
when the capacity of the garbage classification box is sufficient, the LED indicating device (3) lights a green indicating lamp to inform a user that the garbage classification box (11) can normally put garbage; if the residual capacity of the garbage classification box (11) is detected to be smaller than the set threshold value, the LED indicating device (3) lights a red indicating lamp to remind a user that the garbage classification box (11) is about to overflow, and meanwhile, an overflow clearing request containing the position information of the garbage classification box (11) is sent to the remote cloud platform (5) through the wireless communication module (4);
after the garbage overflowing into the garbage classification box (11) is treated, the LED indicating device (3) switches the state, the red indicating lamp is turned off, the green indicating lamp is turned on, the garbage classification box (11) is indicated to be restored to the normal use state, and the garbage classification and feeding can be continued.
Technical Field
The invention relates to the technical field of garbage classification, in particular to a garbage classification box overflow detection device and method based on artificial intelligence.
Background
The common garbage classification case in life does not have the overflow and detects the function, and its overflow state is unknown, often relies on artifical timing clearance, has the drawback of inefficiency, ageing poor. The secondary pollution is caused by the overflow of the garbage, the surrounding environment of the garbage classification box is influenced, and the beneficial effect of garbage classification is weakened to a certain extent.
Disclosure of Invention
In order to overcome the defects of the prior art, the invention aims to provide an artificial intelligence-based garbage classification box overflow detection device and method, which can detect the residual capacity of a garbage classification box in real time, reflect the overflow condition of the garbage classification box after being compared with a set threshold value, remind a user in time and upload a clearing request, and have important significance for improving the garbage clearing efficiency, improving the surrounding environment quality of the garbage classification box, improving the resource utilization rate and the like.
In order to achieve the purpose, the invention adopts the technical scheme that:
the utility model provides a waste classification case overflows full detection device based on artificial intelligence, includes waste classification box 11, waste classification box 11's case lid internal surface is provided with T type guide rail slip table 9, be provided with ultrasonic sensor 2 on the T type guide rail slip table 9, ultrasonic sensor 2 carries out the free movement in the two-dimensional range on the T type guide rail slip table 9, and microprocessor 1 is connected to ultrasonic sensor 2 output, and ultrasonic sensor 2 is used for detecting the capacity of the inside rubbish of waste classification box 11.
The T-shaped guide rail sliding table 9 is composed of two guide rails which are perpendicular to each other and sliding parts at the intersection of the two guide rails, and the guide rails are mutually matched and slide in a crossed manner under the driving of a motor.
The ultrasonic sensor 2 is controlled to move by a
The surface of the garbage classification box body 11 is provided with an
The surface of the garbage classification box body 11 is provided with a
The output end of the microprocessor 1 is connected with the input end of the
The microprocessor 1 is a low-power embedded microprocessor LPC 2103.
The ultrasonic sensor 2 comprises an ultrasonic transmitter 12 and an ultrasonic receiver 13, wherein the ultrasonic transmitter 12 sends 8 pulse signals of 40kHz, the pulse signals are captured by the ultrasonic receiver 13 after being reflected by garbage in the garbage classification box 11, and the ultrasonic receiver 13 sends a reverberation signal to the microprocessor 1.
A garbage classification box overflow detection method based on artificial intelligence comprises the following steps;
according to a control signal sent by the microprocessor 1, under the drive of the motor drive module 7, the
when the capacity of the garbage classification box is sufficient, the
after the garbage overflowing into the garbage classification box 11 is treated, the
The invention has the beneficial effects that:
1. the automatic garbage classification box overflow state detection device has the advantages that the automatic garbage classification box overflow state detection device is free from being attended by personnel, automatically sends out a clearing request, saves manpower resources, is efficient and environment-friendly, and reduces the possibility of secondary pollution caused by overflow of garbage.
2. Because the sensor can freely move on the top surface in the garbage classification box, the capacity detection without dead angles in the garbage classification box can be realized, and the precision is high. The sensor has reliable sensitivity when dealing with garbage with extremely irregular shapes (such as long upright post garbage).
3. The threshold value for judging the 'about to overflow state' can be freely set by software (without adjusting a mechanical structure), and flexibly adjusted by combining the frequency of putting garbage into residents at the site (reflecting the overflow speed of the garbage classification box), so that early warning is carried out in advance, clearing arrangement is made, and the garbage overflow is further prevented from polluting the surrounding environment.
4. The microprocessor and the peripheral circuit used by the whole device have low power consumption, the overflow detection can set a time interval according to actual requirements, and the consumption of electric energy is reduced on the premise of not influencing the normal function of the system.
Drawings
FIG. 1 is a schematic diagram of the hardware system of the invention.
FIG. 2 is a flowchart of the inventive overfill detection process.
Fig. 3 is a schematic diagram of the overall structure of the garbage classification box.
Fig. 4 is an enlarged schematic view of the inner top surface of the garbage classification box.
Fig. 5 is a schematic diagram of a motion path planning of an ultrasonic sensor.
Detailed Description
The present invention will be described in further detail with reference to examples.
Referring to fig. 1 and 3, hardware of the garbage classification bin overflow detection device based on artificial intelligence and a method thereof comprises a microprocessor 1, an ultrasonic sensor 2, an
The number of the ultrasonic sensors 2 is only one, the ultrasonic sensors are arranged on a sliding part at the intersection of two guide rails of the T-shaped guide rail sliding table 9, the T-shaped guide rail sliding table 9 is positioned on the inner surface of the garbage can cover and consists of two guide rails which are perpendicular to each other and the sliding part at the intersection, the guide rails are mutually matched and slide in a crossed manner under the driving of a motor, and therefore the coordinates of the intersection position (namely the installation position of the ultrasonic sensors) are continuously moved, as shown in fig. 5. The ultrasonic sensor 2 freely moves on a two-dimensional plane (inner surface of the dustbin cover) along with a sliding part at the intersection point of the guide rail on the T-shaped guide rail sliding table 9, and a specific movement path plan is illustrated in an attached figure 5.
The ultrasonic sensor 2 mounted on the inner surface of the case cover employed in the present invention has a significant advantage over the conventional side-emission type sensor. Conventional side correlation formula sensor mounted position is fixed (if the installation is apart from the bottom of the case in 80% department), and the resident of same place puts in rubbish frequency difference in different periods (if school's rubbish frequency of putting in during holidays can obviously reduce, it is also enough that the early warning again when rubbish volume reaches 90%, reduce rubbish clearance number of times), conventional side correlation formula sensor installation back is adjusted and is overflowed early warning threshold value and need carry out mechanical structure's change (if dismantle correlation formula sensor and fix again to the position department apart from the bottom of the case 90%), the operation degree of difficulty is great. In the scheme of the invention, the microprocessor 1 compares the distance measurement value from the top cover of the dustbin to the dustbin surface with the software set threshold value to realize the early warning of dustbin overflow, and when the overflow threshold value needs to be changed, only the software threshold value setting needs to be changed, the installation position of the sensor does not need to be changed, and the adjustment of a mechanical structure is not needed, so that the invention is flexible and convenient.
Under the drive of
T type guide rail slip table 9 installs at waste classification incasement top surface, can take ultrasonic sensor 2 free removal in waste classification incasement top surface two-dimensional range under stepping
The microprocessor 1 is a low-power-consumption embedded microprocessor LPC2103, is directly connected with the ultrasonic sensor 2, the
The
The
Motor drive module 7 can realize right under microprocessor 1's
Referring to fig. 2, the overfill detection workflow is as follows: after the relevant parameters of the system are initialized, the T-shaped guide rail sliding table 9 drives the ultrasonic sensor 2 to freely move on the inner top surface of the garbage classification box 11, meanwhile, the microprocessor 1 drives the ultrasonic transmitter 12 to continuously transmit ranging ultrasonic waves, when the ultrasonic waves meet garbage in the garbage classification box 11, the ranging ultrasonic waves are reflected back and captured by the ultrasonic receiver 13, and then the ultrasonic sensor 2 outputs a reverberation signal to the microprocessor 1. Specifically, the reverberation signal is a section of high level signal, the microprocessor 1 starts a timer to start timing until the reverberation signal is finished, the duration time is the round trip time of ultrasonic ranging, accordingly, the distance between the garbage in the garbage bin and the top plane can be calculated, in order to reduce errors, a method of measuring and averaging for multiple times (5 times) is adopted, the result is compared with a set threshold value, if the result is smaller than the threshold value, the garbage classification bin 11 is about to overflow, the
Referring to fig. 3, the overall structure of the garbage classification box is to classify the household garbage into four categories of kitchen garbage, other garbage, recyclable garbage and harmful garbage according to the current garbage classification standard in the city of western security.
An integrated control box 10 is installed on the garbage classification box body 11 to protect the microprocessor 1, the
Referring to fig. 4, an enlarged schematic view of the inner top surface of the garbage classification bin is provided, a
Referring to fig. 5, a schematic diagram of a motion path planning of an ultrasonic sensor is shown, where an ultrasonic sensor 2 is mounted on a sliding component at an intersection of two guide rails, when the two guide rails cooperate with each other to perform a cross motion, the ultrasonic sensor 2 moves along a two-dimensional plane (inner surface of a box cover) along with the sliding component at the intersection, and a specific motion trajectory is shown as a thick solid line in fig. 5, where the ultrasonic sensor 2 is emitted from a point Q1 under the alternate cooperation sliding of the two guide rails, and sequentially passes through Q2, Q3, Q4, …, Q14, Q15, and Q16 along a sliding rail to traverse an effective position; when the robot moves again, the robot starts from Q16 and sequentially passes through Q15, Q14, Q13, … Q3, Q2 and Q1 along the slide rail; and traversing continuously to and fro to realize the detection of the garbage conditions at all places in the garbage can.
- 上一篇:一种医用注射器针头装配设备
- 下一篇:一种适用抽绳垃圾袋的垃圾桶