Intelligent pepper sorting device
Through the intelligent pepper sorting device, the visual robot arm and deep learning technology are used to identify the status of peppers, and combined with the roller device to achieve grading, it solves the problems of high labor intensity and inconsistent standards of manual sorting, and achieves efficient and accurate pepper sorting and grading. .
Patent Information
- Application Number
- CN202411050767.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-01
- Publication Date
- 2024-10-15
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In the existing technology, pepper sorting is labor-intensive and lacks unified grading standards, making it difficult to guarantee the quality of peppers.
An intelligent pepper sorting device is used, combined with visual robotic arms and deep learning technology, and the YOLO model is used to identify and locate the maturity and diseased degree of peppers, and the classification is achieved through a roller device, replacing manual sorting and improving efficiency and accuracy.
It has achieved fine and accurate sorting of peppers, unified grading standards, improved production efficiency and resource utilization, and reduced the floor space.
Smart Images

Figure CN118768239A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of pepper sorting, and specifically discloses an intelligent pepper sorting device. Background Art
[0002] Chili pepper is one of the most widely grown vegetables in my country. While being eaten as a condiment, it also plays a huge role in other aspects, such as ship paint additives, cosmetics and food coloring raw materials. At the same time, people are also constantly increasing their demand for high-quality chili peppers.
[0003] For farmers, peppers of different qualities have different economic benefits; for production and processing companies, the consistency of raw materials is the key to ensuring the quality of the final product. Therefore, the quality and grading of peppers are of great significance. At present, most of the links in pepper production are mechanized. Picked peppers often contain impurities such as stems and leaves, and pepper fruits may also deteriorate due to insects and birds pecking, fungal infection and other reasons. In this regard, regarding the sorting of peppers, most farmers still spread the peppers flat on the conveyor belt and have multiple people sort them. This method is not only labor-intensive, but also cannot unify the pepper grading standards. Therefore, there is an urgent need for an automated equipment for pepper sorting.
[0004] The information disclosed in this background technology section is only intended to enhance the understanding of the overall background of the invention and should not be regarded as an acknowledgment or any form of suggestion that the information constitutes the prior art already known to a person skilled in the art. Summary of the invention
[0005] The purpose of the present invention is to provide an intelligent pepper sorting device, so as to solve the problems of high labor intensity and unstandardized standards in manual pepper sorting.
[0006] The technical solution adopted by the present invention is: an intelligent pepper sorting device, characterized in that it is mainly composed of a fuselage main body, a feeding funnel, a feeding conveyor belt, a sorting conveyor belt, a visual mechanical arm, a baffle and a roller: the feeding funnel is located at the front end of the fuselage main body, the feeding funnel contains an oscillation plate, and a rotating cam is arranged below to realize oscillation; a baffle is placed on the feeding conveyor belt, located behind the feeding funnel, and arranged obliquely upward; the sorting conveyor belt is connected to the end of the feeding conveyor belt and is placed horizontally; the visual mechanical arm is located on both sides thereof, and the maturity and disease and disability degree of the pepper are identified and located and grasped by the YOLO model; the baffle is located at the rear to guide the pepper into the roller area; the roller is surrounded by thin rods along different intervals, is located below the fuselage main body, is distributed in a stepped manner, is connected to the concave wheel on the transmission rod through a belt, and rollers with different thin rod intervals can be combined for self-use.
[0007] As a further configuration of the above scheme, the width of the feeding conveyor belt baffle should be slightly narrower than the width of the conveyor belt, and the height and spacing should vary with the size of the target peppers so that no more than two peppers can be transported between adjacent baffles.
[0008] As a further setting of the above solution, the visual robot arm is composed of a five-servo robot arm with a maixpy dock development board and a visual module composed of an ov2460 camera, and the visual module is fixed between the second and third motors of the robot arm starting from the gripper.
[0009] As a further setting of the above scheme, the visual part of the visual robotic arm is a real-time pepper recognition system based on the YOLO algorithm. It uses deep learning to complete the establishment of the pepper model and set a threshold for the pepper color to achieve high-accuracy recognition of the pepper color and judge the condition of the pepper based on the color. Generally speaking, diseased peppers are yellow-brown in color. Then, the specific pepper is framed, and the relative position of the center of the pepper in the camera image from the center of the image is calculated. The actual position is obtained by applying the formula, and the robotic arm is used to grab and complete the sorting.
[0010] (1) Obtain the original image of rotten peppers and collect the data set;
[0011] (2) Perform operations such as scaling, cropping, rotating, flipping, and color transformation on images to increase the diversity of the data set. By adding noise and generating adversarial samples, the data set can be expanded to improve the robustness of the model and the generalization ability of the model.
[0012] (3) Divide the dataset into multiple subsets and perform cross-validation to evaluate the generalization ability of the model. Divide the dataset into training sets and test sets to ensure the performance of the model on unknown data;
[0013] (4) Select a YOLO algorithm version suitable for deployment on mobile terminals, such as YOLOv2, to reduce model complexity;
[0014] (5) Train the model to obtain a lightweight YOLOv2 model;
[0015] (6) Test the effectiveness of the trained model on the validation set.
[0016] As a further setting of the above scheme, there are other potential technology integrations in the real-time pepper recognition system based on the improved YOLO algorithm, including:
[0017] (1) Posture estimation and adjustment: Estimating the orientation and posture of the pepper to help the robot arm grasp the pepper more accurately;
[0018] (2) Target tracking: Multi-target tracking of peppers to monitor the position and movement of peppers on the production line in real time;
[0019] (3) Spectral analysis: Use near-infrared or mid-infrared spectroscopy technology to further analyze the internal composition and quality of peppers, such as sugar, moisture, and capsaicin content.
[0020] As a further arrangement of the above scheme, the spacing of the thin rods of the rollers is not fixed, and the size of the spacing should be determined by the user. A thin rod passes through the middle of the roller, one end of which is connected to a fixed concave wheel, and the thin rod passes through the bearing fixing seat on the main body of the fuselage; the main body of the fuselage can accommodate a maximum of three rollers at a time, the rollers with smaller thin rod spacing are located above the steps, and the rollers with larger thin rod spacing are located below the steps.
[0021] As a further configuration of the above scheme, the present invention is equipped with rollers with different thin rod intervals, which is convenient for users to match and select sorting standards.
[0022] As a further arrangement of the above scheme, the drum is connected to the cam on the transmission rod through a belt, and is characterized in that a thin rod is placed horizontally on the side of the main body of the machine body, which is called the transmission rod and is driven by a motor. Three cams are fixed on the transmission rod and are located in sequence directly below the drum. Their planes are perpendicular to the plane of the cam at one end of the thin rod in the middle of the drum; the cam at one end of the thin rod passing through the middle of the drum is connected to the cam on the transmission rod through a cross belt to realize transmission.
[0023] Compared with the prior art, the present invention has the following beneficial effects:
[0024] 1. The intelligent pepper sorting device disclosed in the present invention uses visual technology with a robotic arm to judge the diseased state of peppers, thereby screening out diseased or immature peppers. This breaks the deficiency of current pepper sorting equipment that can only use pepper size and weight as sorting features. The automated device replaces manual labor, improves production efficiency, and unifies sorting standards.
[0025] 2. The pepper sorting device disclosed in the present invention adopts visual technology with a robotic arm to detect and judge each pepper. Compared with the extensive sorting by manual labor and existing equipment, it is more precise and accurate, and improves resource utilization.
[0026] 3. The present invention uses deep learning technology to establish a chili model, without the need for manual feature design, thereby improving the adaptability and robustness of the model.
[0027] 4. The intelligent pepper sorting device disclosed in the present invention has a roller device located below the main body of the machine, which reduces the volume of the device and the floor space. The roller drive adopts belt drive, which has a simple structure, is convenient for replacing different rollers, and is easy to maintain. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 is a first angle stereoscopic schematic diagram of the present invention;
[0029] Figure 2 is a rear right side view of the present invention;
[0030] Figure 3 It is an operation flow chart of the present invention;
[0031] Figure 4 This is a diagram showing the effect of the present invention on identifying and locating a target pepper;
[0032] Figure 5 It is the recognition of the mobile terminal deployment of yolov2 before improvement;
[0033] Figure 6 It is the improved recognition of yolov2's mobile terminal deployment.
[0034] In the figure: ① loading funnel; ② loading conveyor belt; ③ sorting conveyor belt; ④ visual robot arm; ⑤ baffle; ⑥ roller; ⑦ fixed cam; ⑧ transmission rod; ⑨ machine body. DETAILED DESCRIPTION
[0035] The specific implementation modes of the present invention are described in detail below in conjunction with the accompanying drawings, but it should be understood that the protection scope of the present invention is not limited by the specific implementation modes.
[0036] Unless explicitly stated otherwise, throughout the specification and claims, the term “comprise” or variations such as “include” or “comprising”, etc., will be understood to include the stated elements or components but not to exclude other elements or components.
[0037] As attached Figure 1 As shown in the figure, it is an intelligent pepper sorting device, which is characterized by being mainly composed of a fuselage body ⑨, a feeding hopper ①, a feeding conveyor belt ②, a sorting conveyor belt ③, a visual robot arm ④, a baffle ⑤ and a roller ⑥: the feeding funnel ② is located at the front end of the fuselage body, and the feeding funnel ② contains an oscillation plate, and a rotating cam is arranged below to achieve oscillation; the feeding conveyor belt ② is provided with a baffle, which is located behind the feeding funnel ① and arranged obliquely upward; the sorting conveyor belt ③ is not provided with a baffle, is connected to the end of the feeding conveyor belt ②, and is placed horizontally; the visual robot arm ④ is located on both sides thereof, and the YOLO model is used to identify the maturity and diseased degree of the pepper and locate and grasp it; the baffle ⑤ is located at the rear to guide the pepper into the roller ⑥ area; the roller ⑥ is surrounded by thin rods along different intervals, is located below the fuselage body ⑨, is distributed in a stepped manner, and is connected to the concave wheel on the transmission rod ⑧ through a belt, and the rollers ⑥ with different thin rod intervals can be freely combined.
[0038] The peppers are placed in the feeding funnel ①. The built-in cam is driven by the motor to vibrate the vibration plate up and down, so that the peppers fall into the feeding conveyor belt ② due to inertia. The width of the feeding conveyor belt baffle should be slightly narrower than the width of the conveyor belt. The height and spacing should vary with the size of the target peppers so that no more than two peppers can be transported between adjacent baffles. The peppers enter the sorting conveyor belt ③ area through the feeding conveyor belt ②. The visual robot arm ④ is located on both sides of it. The YOLO model is used to identify the maturity and disease degree of the peppers and locate and grasp them. The steps are as follows:
[0039] (1) Obtain the original image of rotten peppers and collect the data set;
[0040] (2) Perform operations such as scaling, cropping, rotating, flipping, and color transformation on images to increase the diversity of the data set. By adding noise and generating adversarial samples, the data set can be expanded to improve the robustness of the model and the generalization ability of the model.
[0041] (3) Divide the dataset into multiple subsets and perform cross-validation to evaluate the generalization ability of the model. Divide the dataset into training sets and test sets to ensure the performance of the model on unknown data;
[0042] (4) Select a YOLO algorithm version suitable for deployment on mobile terminals, such as YOLOv2, to reduce model complexity;
[0043] (5) Train the model to obtain a lightweight YOLOv2 model;
[0044] (6) Test the effectiveness of the trained model on the validation set.
[0045] After the diseased and immature peppers are identified, they are grabbed out of the sorting conveyor belt area ③ by a robotic arm. Thus, the pepper maturity and disease sorting are completed.
[0046] The remaining peppers run to the baffle ⑤ at the end of the sorting conveyor belt ③ and are guided to the roller ⑥. The intervals of the thin rods of the roller ⑥ are not fixed, and the interval size should be determined by the user. A thin rod passes through the middle of the roller ⑥, one end of which is connected to the fixed concave wheel ⑦, and the thin rod passes through the bearing fixing seat on the main body ⑨.
[0047] A thin rod is placed horizontally on the side of the main body of the machine body, which is called the transmission rod ⑧. It is driven by a motor. Three cams are fixed on the transmission rod and are located directly below the roller ⑥ in sequence. Its plane is perpendicular to the plane of the cam at one end of the thin rod in the middle of the roller ⑥. The fixed cam ⑦ at one end of the thin rod passing through the middle of the roller ⑥ is connected to the cam on the transmission rod ⑧ through a cross belt to realize transmission.
[0048] The main body of the machine can be equipped with up to three rollers ⑥ at a time. The roller ⑥ with a small spacing between thin rods is located above the step, and small peppers are screened out from here. Large peppers enter the next roller ⑥ under the action of roller ⑥ and gravity; the roller ⑥ with a large spacing between thin rods is located below the step, and the remaining large peppers are screened out from here; thus, the size sorting of peppers is completed.
[0049] The foregoing description of specific exemplary embodiments of the present invention is for the purpose of illustration and demonstration. These descriptions are not intended to limit the present invention to the precise form disclosed, and it is clear that many changes and variations can be made based on the above teachings. The purpose of selecting and describing the exemplary embodiments is to explain the specific principles of the present invention and its practical application, so that those skilled in the art can realize and utilize various different exemplary embodiments of the present invention and various different selections and changes. The scope of the present invention is intended to be limited by the claims and their equivalents.
Claims
1. An intelligent pepper sorting device, mainly composed of a body body ⑨, a feeding funnel ①, a feeding conveyor belt ②, a sorting conveyor belt ③, a visual robot arm ④, a baffle ⑤ and a roller ⑥: The feeding funnel ① is located at the front end of the main body ⑨ of the machine body. The feeding funnel ① contains an oscillation plate, and a rotating cam is arranged underneath to achieve oscillation; the feeding conveyor belt ② is provided with a baffle plate on it, located behind the feeding funnel ①, and arranged obliquely upward; the sorting conveyor belt ③ is not provided with a baffle plate, is connected to the end point of the feeding conveyor belt ②, and is placed horizontally; the visual robot arm ④ is located on both sides thereof, and the YOLO model is used to identify the maturity and disease degree of the pepper and locate and grasp it; the baffle ⑤ is located at the rear to guide the pepper into the roller ⑥ area; the roller ⑥ is surrounded by thin rods along different intervals, is located below the main body ⑨ of the machine body, is distributed in a stepped manner, and is connected to the concave wheel on the transmission rod ⑧ through a belt, and the rollers ⑥ with different thin rod intervals can be freely combined.
2. The intelligent pepper sorting device according to claim 1 is characterized in that: The width of the baffle of the feeding conveyor belt ② should be slightly narrower than the width of the conveyor belt, and the height and spacing should vary with the size of the target peppers so that no more than two peppers can be transported between adjacent baffles.
3. The intelligent pepper sorting device according to claim 1 is characterized in that: The visual robot arm ④ is composed of a five-servo robot arm with a maixpy dock development board and a visual module composed of an ov2460 camera, and the visual module is fixed between the second and third motors of the robot arm from the gripper.
4. The intelligent pepper sorting device according to claim 1 is characterized in that: The visual part of the visual robot arm ④ is a real-time pepper recognition system based on the improved YOLO algorithm. It uses deep learning to complete the establishment of the pepper model and set a threshold for the pepper color to achieve high-accuracy recognition of the pepper color. It also judges the condition of the pepper based on the color, frames the specific pepper, calculates the relative position of the pepper center in the camera image from the center of the image, applies the formula to derive the actual position, and thus calculates the motion step length of each motor of the robot arm, controls the robot arm to grasp, and completes the sorting.
5. The intelligent pepper sorting device according to claim 1 is characterized in that: The visual robot arm ④ uses a real-time pepper recognition system based on the improved YOLO algorithm. The model training steps include: (1) Obtain the original image of rotten peppers and collect the data set; (2) Perform operations such as scaling, cropping, rotating, flipping, and color transformation on images to increase the diversity of the data set. By adding noise and generating adversarial samples, the data set can be expanded to improve the robustness of the model and the generalization ability of the model. (3) Divide the dataset into multiple subsets, perform cross-validation, evaluate the generalization ability of the model, and divide the dataset into training and test sets to ensure the performance of the model on unknown data; (4) Select a YOLO algorithm version suitable for deployment on mobile terminals, such as YOLOv2, to reduce model complexity; (5) Train the model to obtain a lightweight YOLOv2 model; (6) Test the effectiveness of the trained model on the validation set.
6. The intelligent pepper sorting device according to claim 1 is characterized in that: The real-time pepper recognition system based on the improved YOLO algorithm used by the visual robot arm ④ also has other potential technology integrations, including: (1) Posture estimation and adjustment: Estimating the orientation and posture of the pepper to help the robot arm grasp the pepper more accurately; (2) Target tracking: Multi-target tracking of peppers to monitor the position and movement of peppers on the production line in real time; (3) Spectral analysis: Use near-infrared or mid-infrared spectroscopy technology to further analyze the internal composition and quality of peppers, such as sugar, moisture, and capsaicin content.
7. The intelligent pepper sorting device according to claim 1 is characterized in that: The intervals of the thin rods of roller ⑥ are not fixed, and the size of the intervals should be determined by the user. A thin rod passes through the middle of roller ⑥, one end of which is connected to the fixed concave wheel ⑦, and the thin rod passes through the bearing fixing seat on the main body ⑨ of the machine body; the main body ⑨ can accommodate up to three rollers ⑥ at a time, the roller ⑥ with a small thin rod interval is located above the step, and the roller ⑥ with a large thin rod interval is located below the step.
8. The intelligent pepper sorting device according to claim 1, characterized in that: Roller ⑥ can be replaced according to actual conditions.
9. The intelligent pepper sorting device according to claim 1, characterized in that: A thin rod is placed horizontally on the side of the main body ⑨, which is called the transmission rod ⑧. It is driven by a motor. Three cams are fixed on the transmission rod ⑧ and are located directly below the drum in sequence. Its plane is perpendicular to the plane of the cam at one end of the thin rod in the middle of the drum ⑥. The fixed cam ⑦ at one end of the thin rod passing through the middle of the drum ⑥ is connected to the cam on the transmission rod ⑧ through a cross belt to realize transmission.
Citation Information
Cited By
Automatic tomato sorting and packaging robot system
CN119305800A
