Bunch-type fruit picking robot and method based on sudden interference blocking
Through the cooperation and interception mechanism of the binocular stereo camera and the monocular vision camera, sudden interference during the bunch-shaped fruit picking process can be identified and intercepted in real time, which solves the problems of equipment damage and mistaken picking during the bunch-shaped fruit picking process, and improves the efficiency of picking. Improve picking efficiency and equipment service life.
Patent Information
- Application Number
- CN202410290249.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-03-14
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-03-14
AI Technical Summary
During the picking process of bunch-shaped fruits, they are susceptible to interference from the external environment, causing problems such as robot deviation from the path, equipment damage, mistaken picking or missing picking, etc., which reduces picking efficiency and increases maintenance costs.
Design a string-shaped fruit picking robot based on sudden interference blocking. It uses a binocular stereo camera and a monocular vision camera to real-time identify and intercept sudden interference during the picking process through an interception mechanism to ensure the accuracy of the picking path and equipment. safety.
It effectively avoids damage to the robot arm and fruit bunches caused by sudden interference, improves picking efficiency and equipment service life, and reduces picking costs.
Smart Images

Figure CN118252020B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of fruit picking, and in particular to a string-type fruit picking robot and a method thereof for blocking based on sudden interference. Background Art
[0002] Fruits such as lychees and longans grow in clusters, that is, one mother branch contains multiple fruits in clusters, and are collectively referred to as bunch fruits in the industry. Bunch fruits have a clustered structure, and are characterized by large size and weight and small fruit stalks. Therefore, picking bunch fruits is more cumbersome, and it is very easy to damage the fruits or other branches during the picking process.
[0003] At present, most bunch-type fruit picking is still done manually, but with the development of mechanization and digitization, fruit picking will be fully transitioned to being completed by intelligent robots. Chinese patent document CN111602517A discloses a distributed visual active perception method for bunch-type fruit and its application, which uses a large field of view camera to complete a large range of fruit and quality judgment and assist in picking sequence planning, and a small field of view camera to complete the confirmation of fruit posture and position information and the picking process, thereby using the cooperation of large field of view cameras and small field of view cameras to reduce technical problems such as excessive and redundant activities of picking manipulators, and improve picking efficiency; and the above patent document obtains the bunch-type fruit target through a distributed subjective perception method, and uses the manipulator to continuously explore the picking point, effectively reducing the uncertain factors such as picking point occlusion and fruit overlap, improving the automation and intelligence level of the picking process, and further improving the picking efficiency. However, due to the characteristics of bunch fruits (i.e., their large size and weight, small fruit stalks, etc.), bunch fruits are easily affected by the external environment (such as wind, gravity, rainy weather, etc.), causing problems such as movement and breakage of fruit tree branches or fruit bunches and shifting and falling of leaves. The shifted branches, leaves, fruit bunches, etc. cause sudden interference to the picking robot, affecting the operation of the picking robot, causing the picking robot to deviate from the established path, damage to the picking actuator, damage to the visual system installed on the picking robot, etc., which firstly reduces the service life of the picking equipment and increases the maintenance cost of the equipment, secondly increases the time spent on picking and reduces the picking efficiency, and thirdly is prone to problems such as mis-picking and missed picking, affecting the normal picking process. Summary of the invention
[0004] In view of the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a bunch-type fruit picking robot based on sudden interference blocking. The picking robot can promptly and effectively respond to sudden interference in the picking process, and intercept the sudden interference in time, thereby effectively avoiding problems such as damage to the manipulator (picking actuator and visual system, etc.) and damage to suddenly shifted branches or fruit bunches (picked actuators) caused by sudden interference, thereby improving the efficiency of the picking process, reducing the probability of equipment damage, and effectively controlling the harvesting cost.
[0005] Another object of the present invention is to provide a picking method for the above-mentioned bunch-type fruit picking robot based on sudden interference blocking.
[0006] The purpose of the present invention is achieved through the following technical solutions:
[0007] A bunch-type fruit picking robot for blocking based on sudden interference comprises a mobile chassis, a walking mechanism, an industrial computer, a collection frame, a monocular vision camera, a picking mechanical arm, an end effector, a binocular stereo camera and an intercepting mechanism; the walking mechanism is arranged on the bottom surface of the mobile chassis and is used to drive the entire picking robot to operate; the industrial computer, the collection frame, the monocular vision camera and the picking mechanical arm are respectively arranged on the mobile chassis; the end effector is fixedly arranged at the end of the picking mechanical arm (i.e., the end of the picking mechanical arm away from the mobile chassis), and the binocular stereo camera is arranged at the end of the picking mechanical arm and located on the upper side of the end effector; the intercepting mechanism comprises a positioning bracket, a drive box, a telescopic rod and an intercepting cover, the positioning bracket is arranged at the end of the picking mechanical arm corresponding to the end effector or the binocular stereo camera, two drive boxes are symmetrically arranged on the side of the positioning bracket away from the end effector, a telescopic rod is arranged on the side of the drive box close to the positioning bracket, and a through hole is provided on the positioning bracket corresponding to the telescopic rod, the intercepting cover is a structure surrounded on three sides and each side can be folded, the intercepting cover is arranged on the outer ring of the positioning bracket, and the inner top corners of the intercepting cover are respectively fixedly connected to the corresponding ends of the telescopic rods.
[0008] Based on further optimization of the above scheme, a driving mechanism for controlling the extension and retraction of the telescopic rod is arranged in the driving box, and the driving mechanism includes a motor, a worm, a turbine, a first gear, a second gear, a spiral rod and an extension chain link. The motor is fixedly arranged in the driving box and the motor output shaft is fixedly sleeved with the worm, the turbine is arranged on one side of the motor and the turbine is meshed with the worm; the first gear and the turbine are sleeved on the outer wall of the same gear shaft and the gear shaft is rotatably arranged in the driving box; a through hole is opened on one side of the driving box corresponding to the telescopic rod and an annular guide ring is arranged at the through hole (that is, the annular guide ring passes through the through hole and is fixedly connected), and the telescopic rod is clamped in the annular guide ring and is slidably connected; the inner cavity of the driving box is arranged coaxially with the annular guide ring The outer wall of one end of the spiral rod is fixedly sleeved with the second gear, and the second gear is meshed with the first gear; the inner cavity of the driving box between the second gear and the through hole is provided with a chain structure composed of multiple extended chain links, and the annular guide ring is located on one side of the inner cavity of the driving box, and the side wall thereof corresponds to the inlet of the chain structure. The cross-section of the extended chain link is a fan-shaped structure, and sliding positioning columns and sliding grooves are respectively provided on both sides of the extended chain link. The connection of two adjacent extended chain links is realized by clamping the sliding positioning column of one extended chain link in the sliding groove of the other extended chain link. The inner side wall of the extended chain link is provided with a thread that can cooperate with the spiral rod, and the end face of the extended chain link close to the telescopic rod is fixedly connected to the bottom surface of the telescopic rod.
[0009] Based on further optimization of the above scheme, the blocking cover includes a door-shaped fixing frame and a folding surface. The door-shaped fixing frame and the side surface of the positioning bracket away from the drive box are connected through three folding surfaces. Each folding surface is composed of multiple hinge pieces, thereby realizing the folding of the blocking cover; the outer wall of the telescopic rod at one end away from the drive box is fixedly connected to the inner wall of the corner of the door-shaped fixing frame.
[0010] A picking method of a bunch of fruit picking robot based on sudden interference blocking, using the above-mentioned picking robot for picking, specifically comprising the following steps:
[0011] Step A: First, the entire picking robot is moved to the picking position through the walking mechanism; then, the binocular stereo camera is started, and the picking point of the bunch fruit is obtained through the cooperation of the binocular stereo camera and the industrial computer; then, the end effector is controlled to move to the picking point through the picking robot arm; at this time, the monocular vision camera and the industrial computer cooperate to record the large field of view image including the picking point, the end effector and the picking robot arm in real time;
[0012] Step B: Taking the feeding speed of the picking robot arm as a reference standard, the monocular vision camera takes pictures and captures pictures according to the feeding speed, obtains the interception comparison chart through the confidence box, and determines in sequence whether the first interception condition, the second interception condition and the third interception condition appear. If so, the interception mechanism is triggered;
[0013] Among them, the first interception condition: there is a break between the picking robot arm at the next moment and the edge of the confidence box of the picking point;
[0014] The second interception condition: the offset between the geometric center point of the confidence box of the picking point at the next moment and the geometric center point of the confidence box of the picking point at the previous moment exceeds the offset threshold;
[0015] The third interception condition: there is a foreign object between the confidence frame of the picking robot arm and the confidence frame of the picking point that does not belong to the previous moment;
[0016] Step C: if the interception mechanism is not triggered in step B, the bunch-shaped fruits are picked according to the predetermined picking path; if the interception mechanism is triggered in step B, the method in step B is continued to determine whether the interception mechanism is triggered, if the interception condition is not met, the interception mechanism is retracted, and if the interception condition is met, the interception mechanism is kept open;
[0017] Step D: After picking is completed, the picking robot arm drives the end effector containing the bunch of fruits to move to the collection frame, and the end effector releases the bunch of fruits to complete the placement of the fruit bunches after picking; then, the entire mechanism is reset for the next picking.
[0018] Based on the further optimization of the above scheme, the method of obtaining the picking point by the cooperation of the binocular stereo camera and the industrial computer in step A is specifically as follows:
[0019] Step A-1, first, after the binocular stereo camera identifies the bunch of fruits through the YOLOv4 algorithm, it takes a frame of image for positioning and identification, and performs color segmentation on the identified bunch of fruits through the HSV color gamut value to separate the image containing the fruit identification frame and the branch identification frame;
[0020] Step A-2: Then, the overlap between the separated fruit identification frame and the branch identification frame is determined, specifically:
[0021] ;
[0022] Where: C Indicates the degree of overlap; x 1 、y 1 、h 1 、l 1 represents the horizontal coordinate, vertical coordinate, height and width of the starting pixel of the first recognition frame (if it is a real recognition frame) respectively; x 2 、y 2 、h 2 、l 2 respectively represent the starting pixel horizontal coordinate, vertical coordinate, identification frame height, and identification frame width of the second identification frame (such as the branch identification frame);
[0023] If the coincidence condition is met, the fruit identification frame below the branch identification frame is considered to be the subordinate fruit of the corresponding branch; if the coincidence condition is not met, that is, the branches are not successfully paired, the corresponding branch image is removed;
[0024] Step A-3: for branches that have completed the subordinate-fruit relationship pairing, extract the branch image separately, and binarize the image area into a single-value connected domain;
[0025] Step A-4: Divide the single-value connected domain image of the branch into ten equal parts in height, determine the width of the connected domain in the horizontal direction of each dividing line, and subtract the width values in the adjacent horizontal directions to obtain the width difference. △X i ( i=0,1,2,…,9 ), and compare the obtained width differences: △X i The value at the beginning of the decrease is used as the starting point for judgment. When three consecutive width differences (such as: ) is greater than three pixels, then it is judged △X i The corresponding connected domain is the picking point; if no point that meets the standard deviation condition is found, it is directly determined △X The connected domain corresponding to 9 is the picking point;
[0026] Step A-5: The pixel coordinates of the picking points obtained in step A-4 ( x 0 ,y 0) Obtain the world coordinates of the picking point through binocular parallax calculation, specifically:
[0027] ;
[0028] ;
[0029] Where: Q Represents the reprojection matrix of the binocular stereo vision camera; T Represents the baseline distance of the binocular stereo vision camera; f Indicates focal length; x'、x Respectively represent the horizontal coordinates of the left and right camera views of the binocular stereo vision camera, d represents parallax, X、 Y, Z They represent the distance components of the target in the world coordinate system respectively; W Represents the weight parameter.
[0030] Based on the further optimization of the above scheme, the method of color segmenting the identified bunch of fruit by HSV color gamut value in step A-1 and separating the image containing the fruit identification frame and the branch identification frame is specifically as follows:
[0031] First, the pre-trained YOLOv4 is used to identify the string-shaped fruit image and capture the image within the recognition frame;
[0032] Afterwards, for the captured images, the color gamut of the images was segmented using the statistical value ranges of H (hue), S (saturation), and V (brightness) of the bunch-shaped fruits and branches;
[0033] Then the image after color gamut segmentation is binarized and convex hull filling is performed to output the minimum rectangular area of the connected domain;
[0034] Then, the camera pixel coordinates of the fruit and branches of the bunch-shaped fruit, the center point of the identification frame, and the length and width of the identification frame are obtained through the obtained minimum rectangular area.
[0035] Based on the further optimization of the above scheme, the step B is specifically as follows:
[0036] First, the YOLOv4 model is trained using images of the picking robot arm and picking points, and the trained YOLOv4 model is embedded into the industrial computer. The loss function used by the YOLOv4 model L CIOU for:
[0037] ;
[0038] ;
[0039] ;
[0040] In the formula, IOU Represents the confidence value of the image; A represents the prediction box, B represents the real frame, represents the Euclidean distance, A ctr 、B ctr The predicted value representing the image accuracy; c express A. B Minimum bounding box diagonal distance; w gt 、h gt Represent the width and height of the real frame respectively, w、h Respectively represent the width and height of the prediction box; a、v represents the penalty factor;
[0041] Afterwards, when the monocular vision camera takes pictures and captures images according to the feeding speed of the picking robot arm, the YOLOv4 model is used to identify the picking robot arm and the picking point for each captured image;
[0042] Then, use confidence boxes to frame the picking robot arm and picking points in the same image, and compare the widths and heights of the two confidence boxes.
[0043] Then fill the large field of view area other than the maximum and minimum heights and the maximum and minimum widths with black to obtain an interception comparison diagram;
[0044] Finally, compare the interception comparisons of the monocular vision camera at two adjacent moments to determine whether the first interception condition occurs. If so, trigger the interception mechanism. If not, determine whether the second interception condition occurs. If the second interception condition occurs, trigger the interception mechanism. If not, determine whether the third interception condition occurs. If the third interception condition occurs, trigger the interception mechanism. If not, enter step C.
[0045] Based on the further optimization of the above solution, the specific method for judging the first interception condition is:
[0046] Step B-11: Apply the canny edge detection algorithm to extract the edges of the two detection boxes (i.e., confidence boxes) of the picking robot arm and the picking point respectively:
[0047] First, calculate the gradient strength of different pixels:
[0048] ;
[0049] ;
[0050] Where: represents the gradient amplitude; Indicates the gradient direction; G x 、G y Respectively represent the images in x, y Directional gradient;
[0051] Then, the non-maximum suppression and double threshold processing methods are applied to retain the local maximum in the gradient direction and obtain the accurate detection frame edge:
[0052] like , then it is a strong edge; if , then it is a weak edge; if , then it is non-edge;
[0053] Step B-12: Perform connectivity analysis on the extracted edge regions:
[0054] First, obtain the center point coordinates of the connected components of the picking robot arm C j : 、And the coordinates of the center point of the connected components of the picking point C c :
[0055] In the formula, (x j ,y j ) Indicates the center coordinates of the picking robot arm detection frame. (x c ,y c ) Indicates the center coordinates of the picking point detection box;
[0056] Then, calculate the distance between the center point of the connected component between the picking robot and the picking point D is :
[0057] ;
[0058] Finally, preset the connection threshold D h ,like , then the two detection boxes are considered to be connected to each other; otherwise, it is considered that there is a disconnection between the edges of the two confidence boxes, triggering interception.
[0059] Based on the further optimization of the above solution, the specific method for judging the second interception condition is:
[0060] Step B-21: First, obtain the geometric center point of the picking point at the previous moment C lat : , and the geometric center point of the picking point at the next moment C lat : ;
[0061] In the formula, (x lat ,y lat ) Indicates the coordinates of the geometric center point of the picking point at the previous moment, (x net ,y net ) Indicates the coordinates of the geometric center point of the picking point at the next moment;
[0062] Step B-22, then calculate the offset of the geometric center point between the previous moment and the next moment D p :
[0063] ;
[0064] Step B-23: Finally, preset the offset threshold D hp ,like , then the interception is triggered and the picking point is corrected in real time, otherwise, no interception is performed.
[0065] Based on the further optimization of the above solution, the specific method of judging the third interception condition is:
[0066] Step B-31: First, analyze the color difference between the picking robot arm and the picking point to obtain the color difference between the picking robot arm and the picking point. H C :
[0067] ;
[0068] In the formula, I j (i) and (I) c (i) Respectively represent the picking robot arm and the picking point confidence box in the channel i The color value on N Indicates the number of color channels;
[0069] Step B-32: Preset color threshold H cd (The color threshold is determined by the color difference at the previous moment), if , it is considered that there is a foreign object that does not belong to the previous moment at this moment, and interception is triggered; otherwise, interception is not triggered.
[0070] The following are the technical effects of the solution of the present invention:
[0071] The present application uses a binocular stereo camera and a monocular vision camera to cooperate with each other, and uses a binocular stereo camera set at the end of a picking robot to realize the recognition of bunches of fruits, picking points, etc., to obtain a picking path, and uses a monocular vision camera set on a mobile chassis to obtain a large field of view image of the end effector, the binocular stereo camera and the fruit bunch at the picking point during the movement of the picking robot arm, so as to compare the images at adjacent moments between the end of the picking robot arm and the picking point during the movement of the picking robot arm, and complete the judgment of sudden interference caused by environmental factors during the picking process of the picking robot arm, and then complete the interception of sudden interference through an interception mechanism set at the end of the picking robot arm, effectively avoiding damage to the end effector, binocular stereo camera, etc. caused by sudden interference objects, ensuring the accuracy of the picking process, avoiding problems such as mispicking or missing picking due to damage to the visual system, and at the same time, it can also effectively avoid the contact between the fruit bunch driven by sudden interference objects and the end effector (i.e., the blade part of the end effector) and cause damage to the fruit bunch, thereby ensuring the integrity of the fruit bunch. In addition, the present application can effectively ensure picking accuracy, improve picking efficiency, avoid picking stagnation or damage to mechanisms, fruit trees, etc. caused by sudden interference, and control picking costs through the independent operation of binocular stereo cameras and monocular vision cameras and the coordination between large field of view images and small field of view images. BRIEF DESCRIPTION OF THE DRAWINGS
[0072] Figure 1 Schematic diagram of the structure of the picking robot in an embodiment of the present invention.
[0073] Figure 2 Schematic diagram of the structure of the end of the picking mechanical arm of the picking robot in an embodiment of the present invention (the interception mechanism is not triggered).
[0074] Figure 3 Schematic diagram of the structure of the end of the picking mechanical arm of the picking robot in an embodiment of the present invention (interception mechanism triggered).
[0075] Figure 4 Schematic diagram of the overall structure of the driving box of the picking robot in an embodiment of the present invention.
[0076] Figure 5 It is a schematic diagram of the forward internal structure of the driving box of the picking robot in an embodiment of the present invention.
[0077] Figure 6 This is a schematic diagram of the internal structure of the driving box of the picking robot facing away from the outside in an embodiment of the present invention.
[0078] Figure 7 This is a flow chart of obtaining picking points with a binocular stereo camera in an embodiment of the present invention.
[0079] Figure 8 It is a diagram showing an interception comparison diagram obtained by a monocular vision camera in an embodiment of the present invention.
[0080] Among them, 10, mobile chassis; 11, shielding removal mechanism; 20, walking mechanism; 30, industrial computer; 40, collection frame; 50, monocular vision camera; 60, picking robot arm; 70, end effector; 80, binocular stereo camera; 90, interception mechanism; 91, positioning bracket; 92, drive box; 921, motor; 922, worm; 923, turbine; 924, first gear; 925, second gear; 926, spiral rod; 927, extension link; 928, annular guide ring; 93, telescopic rod; 94, blocking cover;. DETAILED DESCRIPTION
[0081] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all the embodiments.
[0082] Embodiment 1:
[0083] A bunch-type fruit picking robot based on sudden interference blocking includes a mobile chassis 10, a walking mechanism 20, an industrial computer 30, a collection frame 40, a monocular vision camera 50, a picking robot arm 60, an end effector 70, a binocular stereo camera 80 and an interception mechanism 90; the walking mechanism 20 is arranged on the bottom surface of the mobile chassis 10 and is used to drive the entire picking robot to operate. Figure 1 As shown, the walking mechanism 20 adopts a crawler-type walking wheel structure (this structure can adopt a common structure in the field, and this embodiment does not make too many restrictions). The industrial computer 30, the collection frame 40, the monocular vision camera 50 and the picking robot arm 60 are respectively arranged on the mobile chassis 10; wherein, the industrial computer 30 and the monocular vision camera 50 can both adopt conventional models in the field, and the collection frame 40 is provided with a filling sponge inside to play a buffering role, and the picking robot arm 60 adopts a multi-axis (three-axis or more) robot arm. The industrial computer 30 is electrically connected to the walking mechanism 20, the monocular vision camera 50, the picking robot arm 60, the end effector 70, the binocular stereo camera 80 and the interception mechanism 90.
[0084] like Figure 2 As shown: the end effector 70 is fixedly arranged at the end of the picking robot arm 60 (i.e., the end of the picking robot arm 60 away from the mobile chassis 10), the binocular stereo camera 80 is arranged at the end of the picking robot arm 60 and is located on the upper side of the end effector 70; the interception mechanism 90 includes a positioning bracket 91, a drive box 92, a telescopic rod 93 and a blocking cover 94, the positioning bracket 91 is arranged at the end of the picking robot arm 60 corresponding to the end effector 70 or the binocular stereo camera 80, and the positioning bracket 91 is away from the side of the end effector 70 (i.e. Figure 2Two drive boxes 92 (such as the back side shown in FIG. 1 ) are symmetrically arranged (about the center line of the end effector 70 or the binocular stereo camera 80) Figure 2 As shown, the drive box 92 is close to the side of the positioning bracket 91 (i.e. Figure 2 A telescopic rod 93 is provided on the front side (as shown in the figure), and a through hole is provided on the positioning bracket 91 corresponding to the telescopic rod 93 (the end of the telescopic rod 93 away from the driving box 92 passes through the through hole and is slidably connected).
[0085] The drive box 92 is provided with a drive mechanism for controlling the extension and retraction of the telescopic rod 93. Figures 4 to 6 As shown: the driving mechanism includes a motor 921, a worm 922, a turbine 923, a first gear 924, a second gear 925, a screw rod 926 and an extension link 927, the motor 921 is fixedly arranged in the driving box 92 and the output shaft of the motor 921 is fixedly sleeved with the worm 922, the turbine 923 is arranged on one side of the motor 921 and the turbine 923 is meshed with the worm 922 (combined with Figure 4 and Figure 5 As shown, the turbine 923 is arranged in the drive box 92 as shown in FIG. Figure 4 The first gear 924 and the turbine 923 are sleeved on the outer wall of the same gear shaft (ie, the first gear 923 and the turbine 923 are coaxially arranged) and the gear shaft is rotatably arranged in the drive box 92 (combined with Figure 5 and Figure 6 As shown, the first gear 924 is located at the lower side of the turbine 923); a through hole is provided on one side of the drive box 92 corresponding to the telescopic rod 93, and an annular guide ring 928 is provided at the through hole (that is, the annular guide ring 928 passes through the through hole and is fixedly connected), and the telescopic rod 93 is clamped in the annular guide ring 928 and is slidably connected; a spiral rod 926 coaxial with the annular guide ring 928 is provided in the inner cavity of the drive box 92, and the outer wall of one end of the spiral rod 926 (that is, the end away from the annular guide ring 928) is fixedly sleeved with the second gear 925, and the second gear 925 is meshed with the first gear 924; a chain structure composed of a plurality of extended chain links 927 is provided in the inner cavity of the drive box 92 located between the second gear 925 and the through hole, and the annular guide ring 928 is located on one side of the inner cavity of the drive box 92. The side wall corresponding to the side of the chain structure is provided, as shown Figure 5 and Figure 6As shown in the figure, the cross section of the extension link 927 is a fan-shaped structure, and a sliding positioning column and a sliding groove are respectively arranged on both sides of the extension link 927. The sliding positioning column of one extension link 927 is clamped in the sliding groove of another extension link 927 to realize the connection of two adjacent extension links 927. The inner side wall of the extension link 927 is provided with a thread that can cooperate with the spiral rod 926, and the end face of the extension link 927 close to the telescopic rod 93 is fixedly connected to the bottom surface of the telescopic rod 93. The drive box 92 is provided with a track for the extension link 927 to slide. At the same time, in order to realize the shaping of the extension link 927 after extension, a telescopic sleeve is arranged between one end of the telescopic rod 93 close to the drive box 92 and the end of the annular guide ring 928 located outside the drive box 92. The telescopic sleeve is coaxially arranged with the annular guide ring 928 and is located on the outer ring of the annular guide ring 928 (the telescopic sleeve can be a bellows sleeve or a rubber sleeve with elastic deformation).
[0086] The blocking cover 94 is a structure that is surrounded on three sides (i.e., the bottom surface is hollow), and each side can be folded (such as Figure 2 or Figure 3 As shown in the figure, the blocking cover 94 is arranged on the outer circle of the positioning bracket 91, and the inner top corners of the blocking cover 92 are respectively fixedly connected to the corresponding ends of the telescopic rod 93. Specifically, the blocking cover 94 includes a door-shaped fixing frame and a folding surface. The door-shaped fixing frame is connected to the side surface of the positioning bracket 91 away from the driving box 92 through three folding surfaces, and each folding surface is composed of multiple hinge pieces, so as to realize the folding of the blocking cover; the outer wall of the end of the telescopic rod 93 away from the driving box 92 is fixedly connected to the inner wall of the corner of the door-shaped fixing frame.
[0087] Embodiment 2:
[0088] As a further optimization of the implementation scheme of this application, based on the scheme of Example 1, refer to Figure 1As shown, a shielding removal mechanism 11 is also provided on the mobile chassis 10 for removing shielding during the process of positioning the fruit bunch and the picking point; the shielding removal actuator includes a fixed bracket, a lifting bracket, a screw, a lifting motor, a sliding bracket, a rotating motor and a nozzle; the fixed bracket is fixedly arranged on the end face of the mobile chassis 10 and the lifting bracket is arranged on the end face (fixed) of the fixed bracket; a vertical slide groove is provided in the lifting bracket, a screw is arranged in the vertical slide groove, and the top end of the screw is rotatably connected to the top face of the vertical slide groove, and the bottom end is rotatably connected to the fixed bracket (end face); a lifting motor is arranged in the inner cavity of the fixed bracket, and the output shaft of the lifting motor is fixedly connected to the bottom end of the screw through a coupling; the sliding bracket is composed of The sliding block is composed of a fixed plate. The sliding block is clamped in the vertical slide groove and penetrated by the screw. The sliding block is threadedly connected to the screw and slidably connected to the inner wall of the vertical slide groove, so that the sliding block can convert the rotation of the screw into vertical movement. The fixed plate is fixedly set on the end face of the sliding block away from the lifting bracket, and the length of the fixed plate is greater than the width of the lifting bracket to avoid the rotation angle of the nozzle being limited by the lifting bracket and being too small. The rotating motor is fixedly set on the end face of the fixed plate away from the lifting bracket. The nozzle and the rotating motor are correspondingly set and the nozzle is rotatably connected to the bottom surface of the fixed plate. The output shaft of the rotating motor is connected to the nozzle, so that the rotation of the nozzle is controlled by the output shaft of the rotating motor. The nozzle is connected to the air pump set in the mobile chassis 10 through a conduit, and an electromagnetic valve is set on the nozzle to control the conduction and closing of the nozzle.
[0089] Embodiment 3:
[0090] As a further optimization of the implementation scheme of the present application, a picking method of a bunch-type fruit picking robot based on sudden interference blocking is provided, wherein the picking robot described in Example 1 is used for picking, and the specific steps include:
[0091] Step A: First, the entire picking robot is moved to the picking location through the walking mechanism;
[0092] Then, start the binocular stereo camera and obtain the picking points of bunch fruits through the cooperation of the binocular stereo camera and the industrial computer, including:
[0093] Step A-1: First, the binocular stereo camera uses the YOLOv4 algorithm to identify the bunch of fruits, then takes a frame of image for positioning and identification, and performs color segmentation on the identified bunch of fruits using the HSV color gamut value to separate the image containing the fruit identification frame and the branch identification frame:
[0094] First, the pre-trained YOLOv4 is used to identify the string-shaped fruit image and capture the image within the recognition frame;
[0095] Afterwards, for the captured images, the color gamut of the images was segmented using the statistical value ranges of H (hue), S (saturation), and V (brightness) of the bunch-shaped fruits and branches;
[0096] Then the image after color gamut segmentation is binarized and convex hull filling is performed to output the minimum rectangular area of the connected domain;
[0097] Then, the camera pixel coordinates of the fruit and branches of the bunch-shaped fruit, the center point of the identification frame, and the length and width of the identification frame are obtained through the obtained minimum rectangular area.
[0098] Step A-2: Then, the overlap between the separated fruit identification frame and the branch identification frame is determined, specifically:
[0099] ;
[0100] Where: C Indicates the degree of overlap; x 1 、y 1 、h 1 、l 1 represents the horizontal coordinate, vertical coordinate, height and width of the starting pixel of the first recognition frame (if it is a real recognition frame) respectively; x 2 、y 2 、h 2 、l 2 respectively represent the starting pixel horizontal coordinate, vertical coordinate, identification frame height, and identification frame width of the second identification frame (such as the branch identification frame);
[0101] If the coincidence condition is met, the fruit identification frame below the branch identification frame is considered to be the subordinate fruit of the corresponding branch; if the coincidence condition is not met, that is, the branches are not successfully paired, the corresponding branch image is removed;
[0102] Step A-3: For branches that have completed the subordinate-fruit relationship pairing, extract the branch image separately, and binarize its image area into a single-value connected domain, such as Figure 7 As shown in the two pictures on the left;
[0103] Step A-4: Divide the single-value connected domain image of the branch into ten equal parts in height, determine the width of the connected domain in the horizontal direction of each dividing line, and subtract the width values in the adjacent horizontal directions to obtain the width difference. △X i ( i=0,1,2,…,9 ), and compare the obtained width differences: △X i The value at the beginning of the decrease is used as the starting point for judgment. When three consecutive width differences (such as: ) is greater than three pixels (the calculation method of the standard deviation can be a conventional method in the art, and is not limited in this embodiment), it is determined △X i The corresponding connected domain is the picking point; if no point that meets the standard deviation condition is found, it is directly determined△X 9 The corresponding connected domain is the picking point, such as Figure 7 As shown in the two pictures on the right;
[0104] Step A-5: The pixel coordinates of the picking points obtained in step A-4 ( x 0 ,y 0) Obtain the world coordinates of the picking point through binocular parallax calculation, specifically:
[0105] ;
[0106] ;
[0107] Where: Q Represents the reprojection matrix of the binocular stereo vision camera; T Represents the baseline distance of the binocular stereo vision camera; f Indicates focal length; x'、x Respectively represent the horizontal coordinates of the left and right camera views of the binocular stereo vision camera, d represents parallax, X、 Y, Z They represent the distance components of the target in the world coordinate system respectively; W Represents the weight parameter.
[0108] Afterwards, the end effector is controlled by the picking robot arm to move to the picking point; at this time, the monocular vision camera and the industrial computer cooperate to record the large field of view image including the picking point, the end effector and the picking robot arm in real time.
[0109] Step B: Taking the feeding speed of the picking robot arm as a reference standard, the monocular vision camera takes pictures and captures pictures according to the feeding speed, obtains the interception comparison chart through the confidence box, and determines in sequence whether the first interception condition, the second interception condition and the third interception condition appear. If they appear, the interception mechanism is triggered; specifically:
[0110] First, the YOLOv4 model is trained using images of the picking robot arm and picking points, and the trained YOLOv4 model is embedded into the industrial computer. The loss function used by the YOLOv4 model L CIOU for:
[0111] ;
[0112] ;
[0113] ;
[0114] In the formula, IOU Represents the confidence value of the image; A represents the prediction box,B represents the real frame, represents the Euclidean distance, A ctr 、B ctr The predicted value representing the image accuracy; c express A. B Minimum bounding box diagonal distance; w gt 、h gt Represent the width and height of the real frame respectively, w、h Respectively represent the width and height of the prediction box; a、v represents the penalty factor;
[0115] Afterwards, when the monocular vision camera takes pictures and captures images according to the feeding speed of the picking robot arm, the YOLOv4 model is used to identify the picking robot arm and the picking point for each captured image (the picking point can be obtained by the binocular stereo camera in step A, and the world coordinates are converted into points in the monocular vision camera coordinate system by using the coordinate point conversion method. The coordinate point conversion method can use the common hand-eye calibration algorithm in this field, and this embodiment does not make too many restrictions);
[0116] Then, use confidence boxes to frame the picking robot arm and picking points in the same image, and compare the widths and heights of the two confidence boxes.
[0117] Then fill the large field of view area other than the maximum and minimum heights and the maximum and minimum widths with black to obtain an intercept comparison diagram, such as Figure 8 As shown;
[0118] Finally, compare the interception comparisons of the monocular vision camera at two adjacent moments to determine whether the first interception condition occurs. If so, trigger the interception mechanism. If not, determine whether the second interception condition occurs. If the second interception condition occurs, trigger the interception mechanism. If not, determine whether the third interception condition occurs. If the third interception condition occurs, trigger the interception mechanism. If not, enter step C.
[0119] After the interception mechanism is triggered, the motor starts to drive the worm to rotate, and then drives the spiral rod to rotate through the turbine, the first gear, and the second gear. Since the spiral rod is threadedly connected to the extension chain link, when the spiral rod rotates, the innermost extension connection close to the spiral rod rotates and rises, thereby gradually driving each extension connection to spirally rise, and then pushing out the telescopic rod to realize the deployment of the barrier cover.
[0120] Among them, the first interception condition: there is a break between the picking robot arm at the next moment and the edge of the confidence box of the picking point. The specific method of judging is:
[0121] Step B-11: Apply the canny edge detection algorithm to extract the edges of the two detection boxes (i.e., confidence boxes) of the picking robot arm and the picking point respectively:
[0122] First, calculate the gradient strength of different pixels:
[0123] ;
[0124] ;
[0125] Where: represents the gradient amplitude; Indicates the gradient direction; G x 、G y Respectively represent the images in x, y Directional gradient;
[0126] Then, the non-maximum suppression and double threshold processing methods are applied to retain the local maximum in the gradient direction and obtain the accurate detection frame edge:
[0127] like , then it is a strong edge; if , then it is a weak edge; if , then it is non-edge;
[0128] Step B-12: Perform connectivity analysis on the extracted edge regions:
[0129] First, obtain the center point coordinates of the connected components of the picking robot arm C j : 、 And the coordinates of the center point of the connected components of the picking point C c :
[0130] In the formula, (x j ,y j ) Indicates the center coordinates of the picking robot arm detection frame. (x c ,y c ) Indicates the center coordinates of the picking point detection box;
[0131] Then, calculate the distance between the center point of the connected component between the picking robot and the picking point D is :
[0132] ;
[0133] Finally, preset the connection threshold D h ,like , then the two detection boxes are considered to be connected to each other; otherwise, it is considered that there is a disconnection between the edges of the two confidence boxes, triggering interception.
[0134] The second interception condition: the offset between the geometric center point of the confidence box of the picking point at the next moment and the geometric center point of the confidence box of the picking point at the previous moment exceeds the offset threshold. The specific method for judging is:
[0135] Step B-21: First, obtain the geometric center point of the picking point at the previous moment C lat : , and the geometric center point of the picking point at the next moment C lat : ;
[0136] In the formula, (x lat ,y lat ) Indicates the coordinates of the geometric center point of the picking point at the previous moment, (x net ,y net ) Indicates the coordinates of the geometric center point of the picking point at the next moment;
[0137] Step B-22, then calculate the offset of the geometric center point between the previous moment and the next moment D p :
[0138] ;
[0139] Step B-23: Finally, preset the offset threshold D hp ,like , then the interception is triggered and the picking point is corrected in real time, otherwise, no interception is performed.
[0140] The third interception condition: there is a foreign object between the confidence frame of the picking robot arm and the confidence frame of the picking point that does not belong to the previous moment. The specific method of judgment is:
[0141] Step B-31: First, analyze the color difference between the picking robot arm and the picking point to obtain the color difference between the picking robot arm and the picking point. H C :
[0142] ;
[0143] In the formula, I j (i) and (I) c (i) Respectively represent the picking robot arm and the picking point confidence box in the channel i The color value on N Indicates the number of color channels;
[0144] Step B-32: Preset color threshold H cd (The color threshold is determined by the color difference at the previous moment), if , it is considered that there is a foreign object that does not belong to the previous moment at this moment, and interception is triggered; otherwise, interception is not triggered.
[0145] Step C: if the interception mechanism is not triggered in step B, the bunch-shaped fruits are picked according to the predetermined picking path; if the interception mechanism is triggered in step B, the method in step B is continued to determine whether the interception mechanism is triggered, if the interception condition is not met, the interception mechanism is retracted, and if the interception condition is met, the interception mechanism is kept open;
[0146] Step D: After picking is completed, the picking robot arm drives the end effector containing the bunch of fruits to move to the collection frame, and the end effector releases the bunch of fruits to complete the placement of the fruit bunches after picking; then, the entire mechanism is reset for the next picking.
[0147] Embodiment 4:
[0148] As a further optimization of the embodiment of the present invention, a method for accurately picking bunches of fruits is provided. Based on the embodiment 3, the coordinates of the center point of the connected component of the picking robot arm in the first interception condition are C j Coordinates of the center point of the component connected to the picking point C c , the geometric center point of the picking point at the previous moment in the second interception condition C lat The geometric center point of the picking point at the next moment C lat They are all obtained through the vertex pixel coordinates of the corresponding confidence box, specifically:
[0149] Since the confidence boxes of the picking point and the picking robot arm are both rectangular boxes, (X 1 ,Y 1 ) , (X 2 ,Y 2 ) , (X 3 ,Y 3 ) , (X 4 ,Y 4 ) The pixel coordinates of the four vertices of the rectangular box, and (X 1 ,Y 1 ) and (X 3 ,Y 3 ) are two points on a diagonal line, (X 2 ,Y 2 ) and (X 4 ,Y 4 ) are the two points on the other diagonal line, then the center coordinates of the rectangle are (X 0 ,Y 0 ) for:
[0150] ;
[0151] in, , .
[0152] According to the above formula, we can calculate C j and C c , C lat and C lat That's it.
Claims
1. A picking method for a bunch-type fruit picking robot based on blocking of sudden interference, Features: The picking robot includes a mobile chassis, a walking mechanism, an industrial computer, a collection frame, a monocular vision camera, a picking robot arm, an end effector, a binocular stereo camera and an intercepting mechanism; the walking mechanism is arranged on the bottom surface of the mobile chassis; the industrial computer, the collection frame, the monocular vision camera and the picking robot arm are respectively arranged on the mobile chassis; the end effector is fixedly arranged at the end of the picking robot arm, and the binocular stereo camera is arranged at the end of the picking robot arm and on the upper side of the end effector; the intercepting mechanism includes a positioning bracket, a drive box, a telescopic rod and a blocking cover, the positioning bracket is arranged at the end of the picking robot arm corresponding to the end effector or the binocular stereo camera, two drive boxes are symmetrically arranged on the side of the positioning bracket away from the end effector, and a telescopic rod is arranged on the side of the drive box close to the positioning bracket The rod and the positioning bracket are provided with a through hole corresponding to the telescopic rod. The blocking cover is a mechanism surrounded on three sides and each side can be folded. The blocking cover is arranged on the outer ring of the positioning bracket and the inner vertex angles of the blocking cover are respectively fixedly connected with the corresponding ends of the telescopic rod; a driving mechanism for controlling the telescopic rod to be extended and retracted is arranged in the driving box, and the driving mechanism includes a motor, a worm, a turbine, a first gear, a second gear, a spiral rod and an extension chain link. The motor is fixedly arranged in the driving box and the motor output shaft is fixedly sleeved with the worm, the turbine is arranged on one side of the motor and the turbine is meshed with the worm; the first gear and the turbine are sleeved on the outer wall of the same gear shaft and the gear shaft is rotatably arranged in the driving box; a through hole is arranged on one side of the driving box corresponding to the telescopic rod and an annular guide ring is arranged at the through hole, and the telescopic rod is clamped in the annular guide ring and slidably connected; The inner cavity of the driving box is provided with a spiral rod coaxial with the annular guide ring, and the outer wall of one end of the spiral rod is fixedly sleeved with the second gear, and the second gear is meshed with the first gear; the inner cavity of the driving box located between the second gear and the through hole is provided with a chain structure composed of a plurality of extended chain links, and the annular guide ring is located on one side of the inner cavity of the driving box, and an inlet of the chain structure is provided on a corresponding side wall, the cross section of the extended chain link is a fan-shaped structure, and sliding positioning columns and sliding grooves are respectively provided on both sides of the extended chain link, and the connection of two adjacent extended chain links is realized by clamping the sliding positioning column of one extended chain link in the sliding groove of another extended chain link, and the inner side wall of the extended chain link is provided with a thread that can cooperate with the spiral rod, and the end face of the extended chain link close to the telescopic rod is fixedly connected to the bottom surface of the telescopic rod; the blocking cover includes a door-shaped fixing frame and a folding surface, and the door-shaped fixing frame is connected to the side surface of the positioning bracket away from the driving box through three folding surfaces, and each folding surface is composed of a plurality of hinge pieces, so as to realize the folding of the blocking cover; The outer wall of the telescopic rod at one end away from the driving box is fixedly connected to the inner wall of the corner of the door-shaped fixing frame; The specific steps of the picking method include: Step A: First, the entire picking robot is moved to the picking position through the walking mechanism; then, the binocular stereo camera is started, and the picking point of the bunch fruit is obtained through the cooperation of the binocular stereo camera and the industrial computer; then, the end effector is controlled to move to the picking point through the picking robot arm; at this time, the monocular vision camera and the industrial computer cooperate to record the large field of view image including the picking point, the end effector and the picking robot arm in real time; Step B: Taking the feeding speed of the picking robot arm as a reference standard, the monocular vision camera takes pictures and captures pictures according to the feeding speed, obtains the interception comparison chart through the confidence box, and determines in sequence whether the first interception condition, the second interception condition and the third interception condition appear. If so, the interception mechanism is triggered; Among them, the first interception condition: there is a break between the picking robot arm at the next moment and the edge of the confidence box of the picking point; The second interception condition: the offset between the geometric center point of the confidence box of the picking point at the next moment and the geometric center point of the confidence box of the picking point at the previous moment exceeds the offset threshold; The third interception condition: there is a foreign object between the confidence frame of the picking robot arm and the confidence frame of the picking point that does not belong to the previous moment; Step C: if the interception mechanism is not triggered in step B, the bunch-shaped fruits are picked according to the predetermined picking path; if the interception mechanism is triggered in step B, the method in step B is continued to determine whether the interception mechanism is triggered, if the interception condition is not met, the interception mechanism is retracted, and if the interception condition is met, the interception mechanism is kept open; Step D: After picking is completed, the picking robot arm drives the end effector containing the bunch of fruits to move to the collection frame, and the end effector releases the bunch of fruits to complete the placement of the fruit bunches after picking; then, the entire mechanism is reset for the next picking.
2. A picking method for a bunch-type fruit picking robot based on sudden interference blocking according to claim 1, Features: The method for obtaining the picking point by cooperating with the binocular stereo camera and the industrial computer in step A is specifically as follows: Step A-1, first, after the binocular stereo camera identifies the bunch of fruits through the YOLOv4 algorithm, it takes a frame of image for positioning and identification, and performs color segmentation on the identified bunch of fruits through the HSV color gamut value to separate the image containing the fruit identification frame and the branch identification frame; Step A-2: Then, the overlap between the separated fruit identification frame and the branch identification frame is determined, specifically: Where: C Indicates the degree of overlap; x 1 、y 1 、h 1 、l 1 Respectively represent the horizontal coordinate, vertical coordinate, height and width of the first identification frame’s starting point pixel; x 2 、y 2 、h 2 、l 2 Respectively represent the horizontal coordinate, vertical coordinate, height and width of the second identification frame’s starting point pixel; If the coincidence condition is met, the fruit identification frame below the branch identification frame is considered to be the subordinate fruit of the corresponding branch; if the coincidence condition is not met, that is, the branches are not successfully paired, the corresponding branch image is removed; Step A-3: for branches that have completed the subordinate-fruit relationship pairing, extract the branch image separately, and binarize the image area into a single-value connected domain; Step A-4: Divide the single-value connected domain image of the branch into ten equal parts in height, determine the width of the connected domain in the horizontal direction of each dividing line, and subtract the width values in the adjacent horizontal directions to obtain the width difference. △X i ( i=0, 1,2,…,9 ), and compare the obtained width differences: △X i The value at the beginning of the decrease is used as the starting point for judgment. When the standard deviation of the three consecutive width differences is greater than three pixels, it is judged that △X i The corresponding connected domain is the picking point; if no point that meets the standard deviation condition is found, it is directly determined △X 9 The corresponding connected domain is the picking point; Step A-5: The pixel coordinates of the picking points obtained in step A-4 ( x 0 ,y 0 ) Obtain the world coordinates of the picking point through binocular parallax calculation, specifically: Where: Q Represents the reprojection matrix of the binocular stereo vision camera; T Represents the baseline distance of the binocular stereo vision camera; f Indicates focal length; x'、x Respectively represent the horizontal coordinates of the left and right camera views of the binocular stereo vision camera, d represents parallax, X, Y, Z They represent the distance components of the target in the world coordinate system respectively; W Represents the weight parameter.
3. A picking method for a bunch-type fruit picking robot based on sudden interference blocking according to claim 1, Features: The step B is specifically as follows: First, the YOLOv4 model is trained using images of the picking robot arm and picking points, and the trained YOLOv4 model is embedded into the industrial computer. The loss function used by the YOLOv4 model L CIOU for: In the formula, IOU Represents the confidence value of the image; A represents the prediction box, B represents the real frame, represents the Euclidean distance, A ctr 、B ctr The predicted value representing the accuracy of the image; c express A. B Minimum bounding box diagonal distance; w gt 、h gt Represent the width and height of the real frame respectively, w、h Respectively represent the width and height of the prediction box; a、v represents the penalty factor; Afterwards, when the monocular vision camera takes pictures and captures images according to the feeding speed of the picking robot arm, the YOLOv4 model is used to identify the picking robot arm and the picking point for each captured image; Then, use confidence boxes to frame the picking robot arm and picking points in the same image, and compare the widths and heights of the two confidence boxes. Then fill the large field of view area other than the maximum and minimum heights and the maximum and minimum widths with black to obtain an interception comparison diagram; Finally, compare the interception comparisons of the monocular vision camera at two adjacent moments to determine whether the first interception condition occurs. If so, trigger the interception mechanism. If not, determine whether the second interception condition occurs. If the second interception condition occurs, the interception mechanism is triggered; if not, it is determined whether the third interception condition occurs; If the third interception condition occurs, the interception mechanism is triggered; if not, the process proceeds to step C.
4. The picking method of a bunch-type fruit picking robot based on sudden interference blocking according to claim 1, Features: The specific method for judging the first interception condition is: Step B-11: Apply the Canny edge detection algorithm to extract the edges of the two detection frames of the picking robot arm and the picking point respectively: First, calculate the gradient strength of different pixels: Where: represents the gradient amplitude; Indicates the gradient direction; G x 、G y Respectively represent the images in x, y Directional gradient; Then, the non-maximum suppression and double threshold processing methods are applied to retain the local maximum in the gradient direction and obtain the accurate detection frame edge: like , then it is a strong edge; if , then it is a weak edge; if , then it is non-edge; Step B-12: Perform connectivity analysis on the extracted edge regions: First, obtain the center point coordinates of the connected components of the picking robot arm C j : 、 And the coordinates of the center point of the connected components of the picking point C c : In the formula, (x j ,y j ) Indicates the center coordinates of the picking robot arm detection frame, (x c ,y c ) Indicates the center coordinates of the picking point detection box; Then, calculate the distance between the center point of the connected component between the picking robot and the picking point D is : Finally, preset the connection threshold D h ,like , then the two detection boxes are considered to be connected to each other; otherwise, it is considered that there is a disconnection between the edges of the two confidence boxes, triggering interception.
5. A picking method for a bunch-type fruit picking robot based on sudden interference blocking according to claim 4, Features: The specific method for judging the second interception condition is: Step B-21: First, obtain the geometric center point of the picking point at the previous moment C lat : , and the geometric center point of the picking point at the next moment C lat : ; In the formula, (x lat ,y lat ) Indicates the coordinates of the geometric center point of the picking point at the previous moment, (x net ,y net ) Indicates the coordinates of the geometric center point of the picking point at the next moment; Step B-22, then calculate the offset of the geometric center point between the previous moment and the next moment D p : Step B-23: Finally, preset the offset threshold D hp ,like , then the interception is triggered and the picking point is corrected in real time, otherwise, no interception is performed.
6. A picking method for a bunch-type fruit picking robot based on sudden interference blocking according to claim 5, Features: The specific method for judging the third interception condition is: Step B-31: First, analyze the color difference between the picking robot arm and the picking point to obtain the color difference between the picking robot arm and the picking point. H C : In the formula, I j (i) and (I) c (i) Respectively represent the picking robot arm and the picking point confidence box in the channel i The color value on ; N Indicates the number of color channels; Step B-32: Preset color threshold H cd , Color Threshold H cd Determined by the color difference at the previous moment, if , it is considered that there is a foreign object that does not belong to the previous moment at this moment, and interception is triggered; otherwise, interception is not triggered.
