Multi-adaptive intelligent beef slitting method and device

Through intelligent beef cutting methods and devices, freshness detection and depth image recognition technology are used to determine cutting trajectories and parameters, solving the problem of difficulty in automated beef cutting, improving cutting accuracy and quality, and meeting the needs of automated production.

CN118787014AActive Publication Date: 2024-10-18ZHEJIANG UNIV

Patent Information

Application Number
CN202410910015.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-08
Publication Date
2024-10-18
Estimated Expiration
2044-07-08

AI Technical Summary

Technical Problem

It is difficult to automatically cut beef, resulting in low cutting quality and precision, which cannot meet the needs of automated production. The processing environment is poor, the labor intensity is high, and it is difficult to recruit workers.

Method used

Multi-adaptive intelligent beef cutting methods and devices are used to determine cutting trajectories and parameters through freshness detection and depth image recognition to achieve automatic cutting. RGB images and depth images are combined for cutting control to improve cutting accuracy and quality.

Benefits of technology

It improves the quality and precision of beef cutting, meets the needs of automated production, reduces labor intensity, and reduces risks in the processing environment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118787014A_ABST
    Figure CN118787014A_ABST
Patent Text Reader

Abstract

The invention discloses a multi-adaptive intelligent beef slitting method and device, and relates to the field of intelligent meat cutting. When to-be-cut beef on the beef cutting production line reaches the freshness detection position, acquiring a first RGB image of the to-be-cut beef; according to the first RGB image, the freshness of beef to be cut is recognized, and a freshness recognition result is obtained; when qualified beef to be cut on the beef cutting production line reaches the cutting position, obtaining a second RGB image and a depth image of the qualified beef to be cut; according to the second RGB image and the depth image, determining a cutting track and cutting parameters of qualified beef to be cut; and controlling the beef slitting production line according to the cutting parameters and the cutting track. According to the beef slitting device, the beef slitting quality and precision are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of intelligent meat cutting, and in particular to a multi-adaptive intelligent beef cutting method and device. Background Art

[0002] Beef is rich in nutrients and is widely loved by people. It is reported that in the next 10 years, global beef production and consumption will increase by 9.27% ​​and 10.12%. Therefore, it is urgent to improve the efficiency and stability of the meat cutting industry.

[0003] At present, the livestock meat processing industry mainly relies on a large number of manual labor, with low production efficiency and poor consistency in cutting quality. In addition, the meat cutting industry has a poor processing environment, high labor intensity, and personnel are easily injured, which makes it difficult to recruit workers. Therefore, it is an inevitable trend for the meat cutting industry to develop from manual labor to mechanization and automation. However, beef has the characteristics of diverse morphology, poor uniformity of size and thickness, and different parts of beef have different physical properties, which increases the difficulty of automated cutting of beef. In addition, the unstructured meat cutting environment also increases the difficulty of identifying beef.

[0004] The above factors will seriously affect the quality and accuracy of beef cutting and cannot meet the requirements of automated production. Summary of the invention

[0005] The purpose of this application is to provide a multi-adaptive intelligent beef cutting method and device, which can improve the quality and accuracy of beef cutting.

[0006] To achieve the above objectives, this application provides the following solutions:

[0007] In a first aspect, the present application provides a multi-adaptive intelligent beef cutting method, which is applied to a beef cutting production line, and the cutting method comprises:

[0008] When the beef to be cut on the beef cutting production line reaches the freshness detection position, a first RGB image of the beef to be cut is obtained;

[0009] Identify the freshness of the beef to be cut according to the first RGB image to obtain a freshness identification result; the freshness identification result is: fresh, acceptable or corrupt;

[0010] When the qualified beef to be cut on the beef cutting production line reaches the cutting position, a second RGB image and a depth image of the qualified beef to be cut are obtained; the qualified beef to be cut is the beef to be cut whose freshness recognition result is fresh or acceptable; the cutting position is located behind the freshness detection position;

[0011] Determine the cutting trajectory and cutting parameters of the qualified beef to be cut according to the second RGB image and the depth image;

[0012] The beef cutting production line is controlled according to the cutting parameters and the cutting trajectory.

[0013] Optionally, identifying the freshness of the beef to be cut according to the first RGB image to obtain a freshness identification result specifically includes:

[0014] Correcting the first RGB image according to the intrinsic parameters and distortion parameters of the USB camera to obtain a corrected first RGB image; the USB camera is a camera for shooting the first RGB image;

[0015] According to the corrected first RGB image, an image classification deep learning algorithm is used to identify the freshness of the beef to be cut and obtain a freshness recognition result.

[0016] Optionally, determining the cutting trajectory and cutting parameters of the qualified beef to be cut according to the second RGB image and the depth image specifically includes:

[0017] Aligning and registering the second RGB image with the depth image to obtain an aligned and registered RGB image and depth image;

[0018] According to the aligned RGB images, the instance segmentation deep learning algorithm is used to obtain the category of qualified beef to be cut and the pixel coordinate information of beef mask;

[0019] Determine the cutting trajectory according to the pixel coordinate information of the beef mask and the depth image after the alignment;

[0020] Determine cutting parameters based on the type of beef that is qualified for cutting.

[0021] Optionally, the cutting trajectory is determined according to the pixel coordinate information of the beef mask and the aligned depth image, specifically including:

[0022] Drawing the minimum circumscribed rectangle of the beef mask area using an image processing method according to the beef mask pixel coordinate information;

[0023] Determine the cutting points on the two long sides of the minimum circumscribed rectangle according to the cutting task; the cutting task includes equal-width cutting and fixed-width cutting;

[0024] Determine the midpoint of the corresponding dividing points on the two long sides as the cutting point;

[0025] Determine the pixel coordinates and cutting angle of each cutting point in the second RGB image; the cutting angle is the angle between the short side direction of the minimum circumscribed rectangle and the transmission direction of the conveyor belt of the beef cutting production line, and the x-axis direction is the transmission direction of the beef cutting production line;

[0026] Convert the pixel coordinates of each cutting point in the second RGB image into spatial plane coordinates; the spatial plane coordinates are coordinates in the XOY plane of the world coordinate system, the XOY plane of the world coordinate system is the upper surface of the conveyor belt of the beef cutting production line, the X-axis of the world coordinate system is the transmission direction of the conveyor belt, the Y-axis of the world coordinate system is the direction on the XOY plane that is perpendicular to the X-axis, and the Z-axis of the world coordinate system is the direction perpendicular to the XOY plane;

[0027] Determine the spatial height coordinates of each cutting point according to the aligned depth image; the spatial height coordinates are the Z-axis coordinates of the world coordinate system;

[0028] According to the spatial plane coordinates, spatial height coordinates and cutting angle of each cutting point, a cutting trajectory is generated in the order of the spatial plane coordinates from small to large.

[0029] In a second aspect, the present application provides a multi-adaptive intelligent beef cutting device, the cutting device comprising: a beef cutting production line, an industrial computer, a freshness detection module and a target detection and positioning module;

[0030] The freshness detection module is mounted on the upper part of the beef cutting production line and is located at the freshness detection position of the beef cutting production line. The target detection and positioning module is arranged on one side of the beef cutting production line and is located at the cutting position of the beef cutting production line.

[0031] The freshness detection module and the target detection and positioning module are both connected to the industrial computer;

[0032] The freshness detection module is used to collect a first RGB image of the beef to be cut on the beef cutting production line; the target detection and positioning module is used to collect a second RGB image and a depth image of the qualified beef to be cut on the beef cutting production line;

[0033] The industrial computer is connected to the beef cutting production line;

[0034] The industrial computer is used to control the beef cutting production line using the above-mentioned cutting method.

[0035] Optionally, the freshness detection module includes: a first profile, a matte acrylic plate, a first photoelectric sensor, a circular light source and a USB camera;

[0036] The first profile is arranged on the beef cutting production line and is located at a freshness detection position of the beef cutting production line;

[0037] The matte acrylic plate is wrapped around the outside of the profile, the USB camera and the circular light source are both installed on the inner side of the matte acrylic plate on the top, and the lens of the USB camera faces the beef cutting production line, and the circular light source is located on the outer side of the USB camera;

[0038] The transmitting end and the receiving end of the first photoelectric sensor are installed on both sides of the beef cutting production line respectively and are located at the freshness detection position of the beef cutting production line;

[0039] The first photoelectric sensor and the USB camera are both connected to the industrial computer;

[0040] The industrial computer is used to control the USB camera to capture a first RGB image when receiving a photoelectric signal from a first photoelectric sensor.

[0041] Optionally, the target detection and positioning module includes: a second profile, a camera mounting plate, a 3D camera and a second photoelectric sensor;

[0042] The second profile is arranged on one side of the beef cutting production line and is located at the cutting position of the beef cutting production line;

[0043] The 3D camera is mounted on the second profile through the camera mounting plate;

[0044] The transmitting end and the receiving end of the second photoelectric sensor are correspondingly installed on both sides of the beef cutting production line and are located at the cutting position of the beef cutting production line;

[0045] The second photoelectric sensor and the 3D camera are both connected to the industrial computer;

[0046] The industrial computer is used to control the 3D camera to capture the second RGB image and the depth image when receiving the photoelectric signal of the second photoelectric sensor, and control the conveyor of the beef cutting production line to stop.

[0047] Optionally, the beef cutting production line includes: a conveyor, a conveyor belt and a cutting task execution device;

[0048] The conveyor belt is arranged on the conveyor, and the conveyor is used to drive the conveyor belt;

[0049] The target detection and positioning module is set up on the other side of the conveyor, and the cutting task execution device is set up on the other side of the conveyor, and the cutting task execution device is located at the cutting position of the beef cutting production line;

[0050] The industrial computer is connected to the control end of the conveyor and the control end of the cutting task execution device respectively.

[0051] Optionally, the cutting task execution device includes: a six-axis mechanical arm, a force sensor, a flange, a flat-head cutter, a fixing device, a spring, a fixing part and a universal ball;

[0052] The six-axis mechanical arm is mounted on the other side of the conveyor, the force sensor is arranged at the end of the six-axis mechanical arm, and the six-axis mechanical arm is connected to the handle of the flat-head knife through the flange;

[0053] The fixing and pressing device is arranged on one side of the six-axis robot arm, one end of the spring is connected to the fixing and pressing device, and the other end of the spring is connected to the top surface of the fixing member; the universal ball is arranged on the bottom surface of the fixing member; when the spring is in a natural state, the position of the universal ball is lower than the position of the blade of the flat-head knife;

[0054] The force sensor is connected to the industrial computer, and the industrial computer is connected to the control end of the six-axis robotic arm;

[0055] The industrial computer is used to control the six-axis robot arm according to the cutting trajectory, cutting parameters and feedback signals from the force sensor.

[0056] Optionally, in terms of controlling the six-axis robotic arm according to the cutting trajectory, cutting parameters and feedback signals from the force sensor, the industrial computer is specifically used for:

[0057] According to the spatial position, cutting angle and cutting parameters of the current cutting point, the six-axis robot arm is controlled to drive the flat-head cutter to cut the current cutting point, and the feedback signal of the force sensor is monitored in real time during the cutting process; the spatial position of the current cutting point includes the spatial plane coordinates and spatial height coordinates of the current cutting point;

[0058] When the feedback signal is greater than a preset pressure threshold, the six-axis robot arm is controlled to drive the flat-head knife to stop cutting, and the six-axis robot arm is controlled to drive the flat-head knife to lift to a preset height, and the preset height is not less than the depth of the current cutting point;

[0059] Determine whether the cutting of the cutting point in the cutting trajectory is completed;

[0060] If not completed, the next cutting point in the cutting trajectory is used as the current cutting point, and the process returns to the step of "controlling the six-axis robot arm to drive the flat-head cutter to cut the current cutting point according to the spatial position, cutting angle and cutting parameters of the current cutting point, and monitoring the feedback signal of the force sensor in real time during the cutting process";

[0061] If completed, the conveyor is controlled to run.

[0062] According to the specific embodiments provided in this application, this application discloses the following technical effects:

[0063] The present application provides a multi-adaptive intelligent beef cutting method and device. The cutting method obtains a first RGB image at a freshness detection position of a beef cutting production line to detect freshness, thereby avoiding the cutting of rotten beef and improving the quality of the cut beef. The second RGB image and a depth image are obtained at the cutting position, and cutting parameters and cutting trajectories are set according to the second RGB image and the depth image in combination with the RGB information and the depth information, thereby improving the accuracy of beef cutting.

[0064] The present application also provides a multi-adaptive intelligent beef cutting device that applies the above-mentioned cutting method to a beef cutting production line to realize automatic cutting. By setting a freshness detection module and a target detection and positioning module at the freshness detection position and the cutting position of the beef cutting production line, the first RGB image of the freshness detection position and the second RGB image and depth image of the cutting position are obtained, and the above-mentioned beef cutting method is used by an industrial computer to realize automatic control of the beef cutting production line, thereby meeting the needs of automated production. BRIEF DESCRIPTION OF THE DRAWINGS

[0065] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0066] Figure 1 A schematic flow chart of a multi-adaptive intelligent beef cutting method provided in accordance with an embodiment of the present application. Figure 2 A schematic diagram of the cutting point determination provided in one embodiment of the present application.

[0067] Figure 3 A schematic structural diagram of a multi-adaptive intelligent beef cutting device provided in one embodiment of the present application. Figure 4 A schematic diagram of the structure of a cutting task execution device provided in one embodiment of the present application.

[0068] Figure 5 A schematic diagram of the control principle of a multi-adaptive intelligent beef cutting device provided in one embodiment of the present application.

[0069] Figure 6 A flow chart of a freshness detection process provided in one embodiment of the present application.

[0070] Figure 7 A flowchart of a target detection and positioning process provided in one embodiment of the present application.

[0071] Figure 8 A flowchart of a cutting task execution process provided in an embodiment of the present application.

[0072] Fig. 9 A schematic diagram of an interface of an industrial computer provided in accordance with an embodiment of the present application.

[0073] Description of reference numerals:

[0074] 1-1. Material transmission module; 1-2. Freshness detection module; 1-3. Target detection and positioning module; 1-4. Cutting task execution module; 1. Conveyor; 2. Conveyor belt; 3. Beef to be cut; 4. Matt acrylic plate; 5. First photoelectric sensor; 6. Circular light source; 7. USB camera; 8. Industrial computer; 9. Camera mounting plate; 10. 3D camera; 11. Second photoelectric sensor; 12. Six-axis robotic arm; 13. Force sensor; 14. Flange; 15. Flat-head knife; 16. Pressing device; 17. Fixing part; 18. Spring; 19. Universal ball. DETAILED DESCRIPTION

[0075] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0076] In order to make the above-mentioned objects, features and advantages of the present application more obvious and easy to understand, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.

[0077] In an exemplary embodiment, Figure 1 As shown, a multi-adaptive intelligent beef cutting method is provided, and the cutting method is applied to a beef cutting production line. The cutting method includes steps 101 to 105.

[0078] Step 101, when the beef to be cut on the beef cutting production line arrives at the freshness detection position, a first RGB image of the beef to be cut is obtained.

[0079] Step 102, identifying the freshness of the beef to be cut according to the first RGB image to obtain a freshness identification result; the freshness identification result is: fresh, acceptable or corrupt.

[0080] Step 103, when the qualified beef to be cut on the beef cutting production line reaches the cutting position, a second RGB image and a depth image of the qualified beef to be cut are obtained; the qualified beef to be cut is the beef to be cut whose freshness identification result is fresh or acceptable; the cutting position is located behind the freshness detection position.

[0081] Step 104: determining the cutting trajectory and cutting parameters of the qualified beef to be cut according to the second RGB image and the depth image.

[0082] Step 105: Control the beef cutting production line according to the cutting parameters and the cutting trajectory.

[0083] In another exemplary embodiment of the present application, step 102 may be implemented by the following steps:

[0084] The first RGB image is corrected according to the intrinsic parameters and distortion parameters of the USB camera to obtain the corrected first RGB image; the USB camera is a camera for shooting the first RGB image.

[0085] According to the corrected first RGB image, an image classification deep learning algorithm is used to identify the freshness of the beef to be cut, and a freshness recognition result is obtained. In some embodiments, the steps of using an image classification deep learning algorithm to identify the freshness of the beef to be cut and obtaining the freshness recognition result may be: setting a classification loss function, building and training a deep neural network model, and using the trained deep neural network model to perform freshness recognition. The specific training process and the setting of the two types of loss functions can be set as needed, and will not be repeated here.

[0086] Among them, the correction step can be completed by the host computer. The USB camera shoots the beef to be cut to obtain the first RGB image, and sends it to the host computer. The host computer performs image correction on the shot image according to the internal parameters and distortion parameters of the USB camera. After the image correction, the industrial computer adopts the image classification deep learning algorithm to identify the freshness of beef in different parts of the corrected image, saves the recognition result in the memory of the industrial computer, and counts beef of different freshness. Finally, the recognition and counting results are displayed on the human-computer interaction interface of the industrial computer.

[0087] The above camera internal parameters include: camera lens focal length parameter f x and f y , principal point parameter C x and C y ; The distortion parameters include radial distortion parameters p1, p2 and k3, tangential distortion parameters p1 and p2, and the specific camera intrinsic parameter matrix Camera intrinsics And the distortion parameter matrix Camera distortion for:

[0088]

[0089] Camera distortion =[k1,k2,p1,p2,k3] (2)

[0090] In another exemplary embodiment of the present application, step 104 of the present application can be implemented using the following steps.

[0091] The second RGB image is aligned and registered with the depth image to obtain an aligned RGB image and a depth image; an instance segmentation deep learning algorithm is used to obtain the category of qualified beef to be cut and the beef mask pixel coordinate information based on the aligned RGB image; a cutting trajectory is determined based on the beef mask pixel coordinate information and the aligned depth image; and cutting parameters are determined based on the category of qualified beef to be cut. In some cases, obtaining the category of qualified beef to be cut and the beef mask pixel coordinate information based on the aligned RGB image using an instance segmentation deep learning algorithm can be achieved by setting a classification loss function and a target recognition loss function, constructing and training a deep neural network model, and using the trained deep neural network model to determine the category and the beef mask pixel coordinate information.

[0092] The step of determining the cutting trajectory according to the beef mask pixel coordinate information and the aligned depth image includes: drawing the minimum circumscribed rectangle of the beef mask area using an image processing method according to the beef mask pixel coordinate information; determining the cutting points on the two long sides of the minimum circumscribed rectangle according to the cutting task; the cutting task includes equal-width cutting and fixed-width cutting; determining the midpoint of the corresponding cutting points on the two long sides as the cutting point; determining the pixel coordinates and cutting angle of each cutting point in the second RGB image; the cutting angle is the angle between the short side direction of the minimum circumscribed rectangle and the transmission direction of the conveyor belt of the beef cutting production line, and the x-axis direction is the transmission direction of the beef cutting production line; placing each cutting point in the second RGB image The pixel coordinates in are converted into spatial plane coordinates; the spatial plane coordinates are the coordinates in the XOY plane of the world coordinate system, the XOY plane of the world coordinate system is the upper surface of the conveyor belt of the beef cutting production line, the X-axis of the world coordinate system is the transmission direction of the conveyor belt, the Y-axis of the world coordinate system is the direction perpendicular to the X-axis on the XOY plane, and the Z-axis of the world coordinate system is the direction perpendicular to the XOY plane; according to the aligned depth image, the spatial height coordinates of each cutting point are determined; the spatial height coordinates are the Z-axis coordinates of the world coordinate system; according to the spatial plane coordinates, spatial height coordinates and cutting angle of each cutting point, a cutting trajectory is generated in the order of the spatial plane coordinates from small to large.

[0093] In the embodiment of the present application, there are two cutting tasks, namely: equal width slitting and fixed width slitting. Figure 2 As shown, Figure 2 (a) is the original image. Figure 2 (b) is a schematic diagram of the equal-width cutting results. Figure 2(c) Schematic diagram of the fixed-width cutting result. In the equal-width cutting task, the user can customize the number of cuts; in the fixed-width cutting task, the user can customize the cutting width. The industrial computer uses OpenCV to calculate the pixel coordinate information and cutting angle information of the equal-width or fixed-width cutting points on the above minimum bounding rectangle based on the cutting task requirements entered by the user on the human-computer interaction interface, and at the same time, obtains the depth information of the cutting point on the aligned depth map based on the pixel coordinates of the cutting point.

[0094] like Figure 2 As shown in (b) in the figure, the operation flow of the above-mentioned equal-width cutting task is as follows: first, according to the pixel coordinates of the four vertices of the minimum circumscribed rectangle, the long side and the short side of the rectangle are determined; then, the long side is divided by the number of cuts to obtain the pixel size of the width of the cut beef; then, the pixel coordinates of each equal-width cutting point are calculated in turn along the two long sides of the minimum circumscribed rectangle; finally, according to the pixel coordinates of the equal-width cutting points corresponding to the two long sides, the midpoint pixel coordinates and angle information of the corresponding equal-width cutting points are calculated.

[0095] like Figure 2 As shown in (c) in the figure, the operation flow of the above-mentioned fixed-width cutting task is as follows: first, according to the pixel coordinates of the four vertices of the minimum circumscribed rectangle, the long side and the short side of the rectangle, as well as the angle between the long side and the x-axis are determined; then, according to the angle between the long side and the x-axis and the cutting width value, the cutting width values ​​are successively accumulated along the two long sides of the minimum circumscribed rectangle as the pixel coordinates of the fixed-width cutting point, until it exceeds the range of the long side; then, finally, according to the pixel coordinates of the fixed-width cutting point corresponding to the two long sides, the midpoint pixel coordinates and angle information of the corresponding fixed-width cutting point are calculated.

[0096] The midpoint pixel coordinates obtained in the above-mentioned equal-width and fixed-width cutting tasks are the final cutting point pixel coordinates; the angle information is the rotation angle of the end of the robot arm around the Z axis.

[0097] The above-mentioned method of converting the pixel coordinates of each cutting point in the second RGB image into spatial coordinates is as follows: In practical applications, the installation method of the robot arm and the 3D camera can be selected as the eye outside the hand or the eye on the hand. According to the checkerboard calibration method, the camera and the robot arm are calibrated by hand and eye to obtain the conversion matrix between the pixel coordinate system and the spatial coordinate system. The conversion matrix is ​​composed of a rotation matrix and a translation vector. According to the intrinsic parameter matrix of the 3D camera, the depth information and the camera extrinsic parameter conversion matrix, the pixel coordinates of the above-mentioned cutting points are converted into spatial coordinates.

[0098] The above-mentioned method of generating a cutting trajectory according to the spatial coordinates, depth and cutting angle of each cutting point in the order of spatial coordinates from small to large is as follows: the spatial coordinates of all cutting points and their corresponding cutting angles and depths are stored in the memory of the industrial computer, and the industrial computer arranges them in order from small to large according to the spatial coordinates, and plans the cutting trajectory according to the spatial coordinates, cutting angles and depths: first, according to the spatial coordinates and depth information of the cutting point, plan to move the end of the robot arm to above the cutting point 1, which is higher than the depth of the cutting point 1; then, according to the cutting angle, rotate the end of the robot arm around the Z axis by a certain angle; then, the end of the robot arm drives the flat-head knife downward to cut; finally, the robot arm is lifted up to a certain height above the cutting point 1. The industrial computer repeats the above cutting trajectory planning according to each cutting point until the trajectory planning of all cutting points is completed.

[0099] In another exemplary embodiment of the present application, step 105 may be implemented by the following steps:

[0100] The industrial computer transmits all motion information after trajectory planning to the robotic arm. In addition, according to the type of beef, the industrial computer adjusts the cutting parameters to the optimal cutting parameters corresponding to that type of beef and transmits them to the robotic arm, controlling the robotic arm to perform personalized cutting of equal width or fixed width.

[0101] In an exemplary embodiment, Figure 3 As shown, a multi-adaptive intelligent beef cutting device is provided, including: a beef cutting production line, an industrial computer 8, a freshness detection module 1-2 and a target detection and positioning module 1-3. Among them, the beef cutting production line includes: a material transmission module 1-1 and a cutting task execution module 1-4.

[0102] The material transmission mechanism 1-1 is installed in front of the freshness detection module 1-2. The material transmission mechanism 1-1 includes a conveyor. The conveyor 1 is equipped with a conveyor belt 2. The conveyor belt 2 is made of food-grade PU material. The surface of the conveyor belt 2 has a diamond-shaped texture, which is used to increase the friction between the conveyor belt 2 and the beef 3 to be cut. The beef 3 to be cut is placed on the conveyor belt 2 and transmitted forward.

[0103] The freshness detection mechanism 1-2 includes: a first profile, a matte acrylic plate 4, a first photoelectric sensor 5, a circular light source 6 and a USB camera 7. Its frame (i.e., the first profile) is constructed of multiple profiles into a cubic shape and is installed directly above the conveyor 1-1. The freshness detection mechanism 1-2 is surrounded by 5 matte acrylic plates 4 on the outside to form a darkroom. The bottom of the matte acrylic plate 4 is 5 cm away from the conveyor belt so that the beef 3 to be cut on the conveyor belt 2 can be conveyed forward normally. The first photoelectric sensor 5 is installed on both sides of the conveyor 1, at the center of the darkroom, to determine whether the beef 3 to be cut has reached the freshness detection position, and sends a detection signal (i.e., a photoelectric signal) to the industrial computer 8 in real time. There is a horizontal profile inside the freshness detection mechanism 1-2, and the circular light source 6 and the USB camera 7 are fixed on the horizontal profile so that the lenses of the circular light source 6 and the USB camera 7 face the conveyor belt 2. The specification of the circular light source 6 is 72w white light, and Ra is 98. The USB camera 7 is located at the center of the circular light source 6 and is used to collect the image of the beef 3 to be cut on the conveyor belt 2. The center of the circular light source 6, the lens of the USB camera 7 and the first photoelectric sensor 5 are located in a straight line to ensure that the beef 3 to be cut is within the shooting field of the USB camera 7.

[0104] The target detection and positioning mechanism 1-3 includes a second profile, a camera mounting plate 9, a 3D camera 10 and a second photoelectric sensor 11. Its frame (i.e., the second profile) is constructed from two profiles and is installed on one side of the conveyor 1, behind the freshness detection mechanism 1-2. The camera mounting plate 9 is fixed to the side of the horizontal profile, and the 3D camera 10 is fixed to the camera mounting plate 9 so that the camera lens faces the conveyor belt 2, and is used to perform category recognition, spatial positioning and depth information acquisition on the beef to be cut on the conveyor belt 2 that is detected as fresh or acceptable. The second photoelectric sensor 11 is installed on both sides of the conveyor belt, directly below the lens of the 3D camera 10, to ensure that the beef to be cut that is detected as fresh or acceptable is within the shooting field of view of the 3D camera 10. The second photoelectric sensor 11 is used to determine whether the beef to be cut 3 that is detected as fresh or acceptable has reached the target detection and positioning area (i.e., the cutting position), and send a detection signal (photoelectric signal) to the industrial computer 8 in real time.

[0105] like Figure 3 and Figure 4As shown, the cutting task execution mechanism 1-4 includes a six-axis robot 12, a force sensor 13, a flange 14, a flat-head knife 15, a fixing device 16, a spring 18, a fixing part 17 and a universal ball 19, which are installed on the other side of the conveyor 1, in front of the side of the target detection and positioning mechanism 1-3, and the bottom of the six-axis robot 12 is fixed. The force sensor 13 is installed at the end of the six-axis robot 12, and the measuring range is 500N, which is used to monitor the force change during the cutting process in real time. The flange 14 is fixed on the force sensor 13, and the flat-head knife 15 is fixed on the flange 14. The cylindrical handles of the force sensor 13, the flange 14 and the flat-head knife 15 are coaxially fixedly connected, and are used to cut the beef 3 to be cut that is detected as fresh or acceptable for freshness. The fixing and pressing device 16 is fixed to the side of the cylindrical handle of the flat-head knife 15, three springs 18 are fixed to the end of the fixing and pressing device 16, a fixing part 17 is connected to the other side of the spring, and three universal balls 19 are fixed to the end of the fixing part 17. The bottom of the universal ball 19 is about 0.5 cm away from the blade of the flat-head knife 15, and is used to fix and press the beef during the cutting process to reduce the slippage of the beef.

[0106] In this embodiment, the industrial computer uses a multi-adaptive intelligent beef cutting method to control the beef cutting production line. Figure 5 A specific example is given to illustrate the process.

[0107] Step 1: Turn on the conveyor 1 at the material transmission mechanism 1-1, turn on the circular light source 6, the USB camera 7 and the first photoelectric sensor 5 at the freshness detection mechanism 1-2, turn on the 3D camera 10 and the second photoelectric sensor 11 at the target detection and positioning mechanism 1-3, turn on the six-axis robot 12 and the force sensor 13 at the cutting task execution mechanism 1-4, and turn on the industrial computer 8. Place the beef 3 to be cut on the conveyor belt 2 of the conveyor 1 and transfer it forward;

[0108] Step 2: Figure 6 The flowchart of the freshness detection process is as follows: Figure 6 As shown, the beef 3 to be cut on the conveyor belt 2 enters the freshness detection mechanism 1-2 area. When the first photoelectric sensor 5 detects the beef 3 to be cut, the first photoelectric sensor 5 sends a photoelectric signal to the industrial computer 8. After receiving the photoelectric signal, the industrial computer 8 sends a photo command to the USB camera 7, so that the USB camera 7 takes a photo of the beef 3 to be cut on the conveyor belt 2. The photo size of the USB camera 7 is set to 1280×720 pixels. After the photo is taken, the first RGB image is uploaded to the industrial computer 8. After receiving the first RGB image, the industrial computer 8 performs image correction on the first RGB image according to the internal parameters and distortion parameters of the USB camera 7.

[0109] The above-mentioned USB camera 7 internal parameters include: camera lens focal length parameter f xand f y , principal point parameter C x and C y ; The distortion parameters include radial distortion parameters k1, k2 and k3, and tangential distortion parameters p1 and p2. When the USB camera 7 takes pictures with a size of 1280×720 pixels, f x =973.03, f y =972.66, C x =1025.09, C y =780.22, k1=0.10, k2=-0.04, k3=0, p1=0, p2=0, the internal parameter matrix and distortion parameter matrix of USB camera 7 are:

[0110]

[0111] Camera distortion =[0.10,-0.04,0,0,0] (2)

[0112] Step 3: After image correction is completed, the industrial computer 8 uses the image classification deep learning algorithm RT-BFE to identify the freshness of the beef 3 to be cut in different parts of the corrected first RGB image, save the identification results in the memory of the industrial computer 8, and classify and count the freshness of the beef 3 to be cut on the conveyor 1, wherein the freshness category includes three levels: fresh, acceptable, and corrupt. Finally, the industrial computer displays the identification and counting results on the human-computer interaction interface of the industrial computer 8 for intuitively displaying the freshness identification results. Fig. 9 Shown is a schematic diagram of the human-computer interaction interface.

[0113] Step 4: Figure 7 The flowchart of the target detection and positioning process provided by the present invention is as follows: Figure 7 As shown, the beef 3 to be cut after freshness identification enters the target detection and positioning mechanism 1-3 area on the conveyor belt 2. When the second photoelectric sensor 11 detects the beef 3 to be cut, the second photoelectric sensor 11 sends a photoelectric signal to the industrial computer 8; after receiving the photoelectric signal, the industrial computer 8 sends a stop signal to the conveyor 1; the industrial computer 8 controls the 3D camera 10 to take pictures of the beef to be cut that is determined to be fresh or acceptable on the conveyor belt according to the freshness identification result in step 3. The 3D camera 10 simultaneously collects the second RGB image and the depth image, and uploads the collected second RGB image and depth image to the industrial computer 8. Finally, the industrial computer 8 aligns and registers the second RGB image and the depth image, thereby achieving the matching of the RGB image and the depth image at the pixel point.

[0114] Step 5: After receiving the aligned RGB image, the industrial computer 8 uses an instance segmentation deep learning algorithm (exemplarily, in this example, the instance segmentation deep learning algorithm is the YOLOv8 algorithm) to obtain the category information of the beef in the aligned RGB image and the mask pixel coordinate information of the beef in the aligned RGB image, wherein the beef categories include: beef tenderloin, beef brisket and beef leg, etc. Finally, the industrial computer 8 uses image processing methods such as threshold segmentation, morphological processing and contour extraction to draw the minimum bounding rectangle on the mask part of the beef in the aligned RGB image, and obtain the pixel coordinates of the four vertices of the minimum bounding rectangle.

[0115] Step 6: Two types of cutting tasks are set on the human-computer interaction interface of the industrial computer 8, namely: equal-width cutting and fixed-width cutting. In the equal-width cutting task, the user can customize the input cutting number; in the fixed-width cutting task, the user can customize the input cutting width. The industrial computer 8 calculates the pixel coordinate information and cutting angle information of the equal-width or fixed-width cutting points on the minimum circumscribed rectangle image obtained in step 5 using OpenCV according to the cutting task requirements input by the user on the human-computer interaction interface, and at the same time obtains the depth information of the cutting point on the aligned depth map according to the pixel coordinates of the cutting point. The specific determination method is the same as that in the method embodiment, which will not be repeated here.

[0116] Step 7: Figure 8 It is a flowchart of the cutting task execution process, such as Figure 8 As shown, the six-axis robot 12 and the 3D camera 10 are installed in an eye-outside-hand manner. According to the checkerboard calibration method, the 3D camera 10 and the six-axis robot 12 are calibrated by hand and eye to obtain the conversion matrix between the pixel coordinate system and the space coordinate system. The conversion matrix is ​​composed of a rotation matrix and a translation vector. According to the intrinsic matrix of the 3D camera, the depth information in step 6, and the extrinsic conversion matrix of the 3D camera 10 in step 7, the pixel coordinates of the final cutting point obtained in step 6 are converted to space coordinates.

[0117] Step 8: Store the spatial coordinates of all cutting points in step 7 and the corresponding cutting angle information and depth information in step 6 in the memory of the industrial computer 8. The industrial computer 8 arranges them in ascending order according to the spatial coordinates, and plans the cutting trajectory according to the spatial coordinate information, cutting angle information and depth information.

[0118] The above cutting trajectory planning is as follows: first, according to the spatial coordinates and depth information of the cutting point, the flat-headed knife 15 at the end of the six-axis robot 12 is moved to the top of the cutting point 1, and its height is set to the cutting point depth information obtained in step 6 more than 5 cm; then, according to the cutting angle, the end of the robot arm is rotated around the Z axis to obtain the cutting angle value; then, the end of the robot arm drives the flat-headed knife downward to cut; finally, the robot arm is lifted up to 5 cm above the cutting point 1. The industrial computer repeats the above cutting trajectory planning according to each cutting point until the trajectory planning of all cutting points is completed.

[0119] Step 9: The industrial computer 8 transmits all the motion information after trajectory planning to the six-axis robot 12. In addition, according to the beef category information obtained in step 5, the industrial computer 8 adjusts the cutting parameters to the optimal cutting parameters corresponding to the category of beef and transmits them to the six-axis robot 12, and controls the six-axis robot 12 to perform personalized cutting of equal width or fixed width set by the user; during the cutting process, the force sensor 13 collects the cutting force signal in real time. When the force signal suddenly increases, it indicates that the cutting has reached the bottom, that is, the cutting of a single cutting point is completed. Then, the six-axis robot 12 continues to execute the cutting of the next cutting point according to the trajectory planning in step 8 until the cutting of all cutting points is completed.

[0120] Step 10: After the six-axis robot arm completes the cutting task, the industrial computer 8 controls the conveyor 1 to start, realizing the assembly line operation.

[0121] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0122] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and core ideas of this application. At the same time, for those skilled in the art, according to the ideas of this application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting this application.

Claims

1. A multi-adaptive intelligent beef cutting method, characterized in that: The cutting method is applied to a beef cutting production line, and the cutting method comprises: When the beef to be cut on the beef cutting production line reaches the freshness detection position, a first RGB image of the beef to be cut is obtained; Identify the freshness of the beef to be cut according to the first RGB image to obtain a freshness identification result; the freshness identification result is: fresh, acceptable or corrupt; When the qualified beef to be cut on the beef cutting production line reaches the cutting position, a second RGB image and a depth image of the qualified beef to be cut are obtained; the qualified beef to be cut is the beef to be cut whose freshness recognition result is fresh or acceptable; the cutting position is located behind the freshness detection position; Determine the cutting trajectory and cutting parameters of the qualified beef to be cut according to the second RGB image and the depth image; The beef cutting production line is controlled according to the cutting parameters and the cutting trajectory.

2. The multi-adaptive intelligent beef cutting method according to claim 1, characterized in that: Identifying the freshness of the beef to be cut according to the first RGB image to obtain a freshness identification result specifically includes: Correcting the first RGB image according to the intrinsic parameters and distortion parameters of the USB camera to obtain a corrected first RGB image; the USB camera is a camera for taking the first RGB image; According to the corrected first RGB image, an image classification deep learning algorithm is used to identify the freshness of the beef to be cut and obtain a freshness recognition result.

3. The multi-adaptive intelligent beef cutting method according to claim 1, characterized in that: Determining the cutting trajectory and cutting parameters of the qualified beef to be cut according to the second RGB image and the depth image specifically includes: Aligning and registering the second RGB image with the depth image to obtain an aligned and registered RGB image and depth image; According to the aligned RGB images, the instance segmentation deep learning algorithm is used to obtain the category of qualified beef to be cut and the pixel coordinate information of beef mask; Determine the cutting trajectory according to the pixel coordinate information of the beef mask and the depth image after the alignment; Determine cutting parameters based on the type of beef that is qualified for cutting.

4. The multi-adaptive intelligent beef cutting method according to claim 3, characterized in that: The cutting trajectory is determined based on the pixel coordinate information of the beef mask and the aligned depth image, including: Drawing the minimum circumscribed rectangle of the beef mask area using an image processing method according to the beef mask pixel coordinate information; According to the cutting task, determining the cutting points on the two long sides of the minimum circumscribed rectangle; the cutting task includes equal width cutting and fixed width cutting; Determine the midpoint of the corresponding dividing points on the two long sides as the cutting point; Determine the pixel coordinates and cutting angle of each cutting point in the second RGB image; the cutting angle is the angle between the short side direction of the minimum circumscribed rectangle and the transmission direction of the conveyor belt of the beef cutting production line, and the x-axis direction is the transmission direction of the beef cutting production line; Convert the pixel coordinates of each cutting point in the second RGB image into spatial plane coordinates; the spatial plane coordinates are coordinates in the XOY plane of the world coordinate system, the XOY plane of the world coordinate system is the upper surface of the conveyor belt of the beef cutting production line, the X-axis of the world coordinate system is the transmission direction of the conveyor belt, the Y-axis of the world coordinate system is the direction on the XOY plane that is perpendicular to the X-axis, and the Z-axis of the world coordinate system is the direction perpendicular to the XOY plane; Determine the spatial height coordinates of each cutting point according to the aligned depth image; the spatial height coordinates are the Z-axis coordinates of the world coordinate system; According to the spatial plane coordinates, spatial height coordinates and cutting angle of each cutting point, a cutting trajectory is generated in the order of the spatial plane coordinates from small to large.

5. A multi-adaptive intelligent beef cutting device, characterized in that: The cutting device comprises: a beef cutting production line, an industrial computer, a freshness detection module and a target detection and positioning module; The freshness detection module is mounted on the upper part of the beef cutting production line and is located at the freshness detection position of the beef cutting production line. The target detection and positioning module is arranged on one side of the beef cutting production line and is located at the cutting position of the beef cutting production line. The freshness detection module and the target detection and positioning module are both connected to the industrial computer; The freshness detection module is used to collect a first RGB image of the beef to be cut on the beef cutting production line; the target detection and positioning module is used to collect a second RGB image and a depth image of the qualified beef to be cut on the beef cutting production line; The industrial computer is connected to the beef cutting production line; The industrial computer is used to control the beef cutting production line using the cutting method described in any one of claims 1 to 4.

6. The multi-adaptive intelligent beef cutting device according to claim 5, characterized in that: The freshness detection module includes: a first profile, a matte acrylic plate, a first photoelectric sensor, a circular light source and a USB camera; The first profile is arranged on the beef cutting production line and is located at a freshness detection position of the beef cutting production line; The matte acrylic plate is wrapped around the outside of the profile, the USB camera and the circular light source are both installed on the inner side of the matte acrylic plate on the top, and the lens of the USB camera faces the beef cutting production line, and the circular light source is located on the outer side of the USB camera; The transmitting end and the receiving end of the first photoelectric sensor are installed on both sides of the beef cutting production line respectively and are located at the freshness detection position of the beef cutting production line; The first photoelectric sensor and the USB camera are both connected to the industrial computer; The industrial computer is used to control the USB camera to capture a first RGB image when receiving a photoelectric signal from a first photoelectric sensor.

7. The multi-adaptive intelligent beef cutting device according to claim 5, characterized in that: The target detection and positioning module includes: a second profile, a camera mounting plate, a 3D camera and a second photoelectric sensor; The second profile is arranged on one side of the beef cutting production line and is located at the cutting position of the beef cutting production line; The 3D camera is mounted on the second profile through the camera mounting plate; The transmitting end and the receiving end of the second photoelectric sensor are correspondingly installed on both sides of the beef cutting production line and are located at the cutting position of the beef cutting production line; The second photoelectric sensor and the 3D camera are both connected to the industrial computer; The industrial computer is used to control the 3D camera to capture the second RGB image and the depth image when receiving the photoelectric signal of the second photoelectric sensor, and control the conveyor of the beef cutting production line to stop.

8. The multi-adaptive intelligent beef cutting device according to claim 5, characterized in that: The beef cutting production line includes: a conveyor, a conveyor belt and a cutting task execution device; The conveyor belt is arranged on the conveyor, and the conveyor is used to drive the conveyor belt; The target detection and positioning module is set up on the other side of the conveyor, and the cutting task execution device is set up on the other side of the conveyor, and the cutting task execution device is located at the cutting position of the beef cutting production line; The industrial computer is connected to the control end of the conveyor and the control end of the cutting task execution device respectively.

9. The multi-adaptive intelligent beef cutting device according to claim 8, characterized in that: The cutting task execution device comprises: a six-axis mechanical arm, a force sensor, a flange, a flat-head cutter, a fixing device, a spring, a fixing part and a universal ball; The six-axis mechanical arm is mounted on the other side of the conveyor, the force sensor is arranged at the end of the six-axis mechanical arm, and the six-axis mechanical arm is connected to the handle of the flat-head knife through the flange; The fixing and pressing device is arranged on one side of the six-axis robot arm, one end of the spring is connected to the fixing and pressing device, and the other end of the spring is connected to the top surface of the fixing member; the universal ball is arranged on the bottom surface of the fixing member; when the spring is in a natural state, the position of the universal ball is lower than the position of the blade of the flat-head knife; The force sensor is connected to the industrial computer, and the industrial computer is connected to the control end of the six-axis robotic arm; The industrial computer is used to control the six-axis robot arm according to the cutting trajectory, cutting parameters and feedback signals from the force sensor.

10. The multi-adaptive intelligent beef cutting device according to claim 9, characterized in that: In terms of controlling the six-axis robotic arm according to the cutting trajectory, cutting parameters and feedback signals from the force sensor, the industrial computer is specifically used for: According to the spatial position, cutting angle and cutting parameters of the current cutting point, the six-axis robot arm is controlled to drive the flat-head cutter to cut the current cutting point, and the feedback signal of the force sensor is monitored in real time during the cutting process; the spatial position of the current cutting point includes the spatial plane coordinates and spatial height coordinates of the current cutting point; When the feedback signal is greater than a preset pressure threshold, the six-axis robot arm is controlled to drive the flat-head knife to stop cutting, and the six-axis robot arm is controlled to drive the flat-head knife to lift to a preset height, and the preset height is not less than the depth of the current cutting point; Determine whether the cutting of the cutting point in the cutting trajectory is completed; If not completed, the next cutting point in the cutting trajectory is used as the current cutting point, and the process returns to the step of "controlling the six-axis robot arm to drive the flat-head cutter to cut the current cutting point according to the spatial position, cutting angle and cutting parameters of the current cutting point, and monitoring the feedback signal of the force sensor in real time during the cutting process"; If completed, the conveyor is controlled to run.

Citation Information

Patent Citations

  • Meat freshness detection method and device, calculation equipment and storage medium

    CN111259926A

  • Sheep carcass robot autonomous segmentation method and system

    CN111296539A

  • Pork freshness identification method and system, computer readable medium and electronic equipment

    CN114463739A

  • Pig carcass dicing robot segmentation plane autonomous generation method

    CN115205303A

  • Method and device for judging grade of white stripes of chicken breast

    CN115266752A

Cited By

  • Intelligent detection device and detection method for anti-corrosion aluminum alloy part

    CN119810096A

  • An intelligent detection device and detection method for an anti-corrosion aluminum alloy part

    CN119810096B

  • Meat cutting method and system based on dual-mode dynamic switching

    CN121176493A