Pig internal organ dissection-oriented gripping point generation method and system, and storage medium

By using a lightweight modified PointNet++ network and an adaptive safety constraint module, the optimal grasping pose for pig bile is generated, solving the problem of safe and stable grasping of pig bile on high-speed slaughter lines and realizing efficient and safe automated processing of pig bile.

CN123181565APending Publication Date: 2026-11-27HENAN INST OF SCI & TECH
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202611276175.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-08-21
Publication Date
2026-11-27

AI Technical Summary

Technical Problem

Existing technologies cannot achieve safe and stable capture of pig bile on high-speed slaughter lines. They are prone to tearing of the bile duct wall and bile leakage due to excessive local pressure. Furthermore, existing algorithms have high computational complexity and slow response, which cannot meet the millisecond-level cycle time requirements.

Method used

A lightweight modified PointNet++ network combined with adaptive safety constraints is used to acquire 3D point clouds through a depth camera, construct a fused feature set, generate initial grasping points using the lightweight network, and filter candidate grasping points through the adaptive safety constraint module to finally generate the optimal grasping pose, ensuring the safety and stability of the grasping process.

Benefits of technology

It enables safe and stable grasping of pig bile on high-speed slaughter lines, avoiding bile wall tearing and bile leakage, reducing computational complexity, meeting millisecond-level real-time requirements, and improving the stability and safety of the grasping process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123181565A_ABST
    Figure CN123181565A_ABST
Patent Text Reader

Abstract

The application discloses a kind of pig internal organs stripping's gripping point generation method, system and storage medium, belong to meat processing automation field, wherein, invention method includes: acquisition pig gall point cloud and extract fusion features;Fusion features are input into light-weight PointNet++ network, network only retains a layer sampling and aggregation, adopts depth separable convolution, and parallelly outputs initial gripping point and corresponding gripping force prediction value;Based on the real-time geometric features of current pig gall point cloud, dynamic maximum safety gripping force threshold screening and dynamic suitable normalized curvature characteristic value interval screening are performed on initial gripping point, to obtain candidate gripping point set;All 5-point gripping combinations are generated, and the optimal gripping point set is output by force closure score and uniformity score based on geometric centroid weighting optimization. The application generates lossless, anti-skid, stable optimal gripping pose within millisecond, effectively solves the problem of easy damage and slow response in automatic gripping of pig gall.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of meat processing automation and robotic gripping technology, specifically providing a method, system, and storage medium for generating gripping points for the removal of pig viscera. Background Technology

[0002] In the food industry and pig slaughtering and processing, pig offal, as an important raw material for both medicinal and edible purposes and for biological extraction, has extremely high economic value and processing necessity. However, the automated flexible grasping and transfer of pig bile is one of the most difficult and risky key processes in the automated processing of pig offal. Pig bile is extremely fragile, with a very thin wall, poor toughness, and is easily ruptured. It is filled with bile, and once damaged, it will cause bile leakage, contaminating the carcass and surrounding organs, seriously affecting food safety and product quality, while also significantly increasing the costs of production line cleaning and waste disposal.

[0003] Given the thin, easily broken, slippery, and easily deformable characteristics of pig gallbladder walls, existing robotic grasping solutions have significant shortcomings: they lack adaptive safety force constraints tailored to the extremely low tissue tolerance of pig gallbladders; the contact area is mostly localized point contact, resulting in unevenly distributed gripping force; this easily leads to excessively high local pressure at the contact points, instantly exceeding the gallbladder wall's tolerance limit, causing gallbladder wall tearing and bile leakage. Furthermore, existing grasping point generation algorithms generally have large model volumes, high computational complexity, and slow inference response, failing to quickly generate the optimal grasping posture—safe, damage-free, and stable—without slippage within the millisecond-level cycle time of high-speed slaughter lines.

[0004] Therefore, this invention proposes a gripping point generation method for pig viscera removal. It achieves high-speed end-to-end inference through a lightweight network, filters high-risk gripping points by adaptive safety constraints, and optimizes pose combinations through multi-dimensional evaluation. This generates the optimal gripping pose within the cycle time of a high-speed slaughtering line, ensuring that the bile duct is not broken, does not slip, and is uniformly stressed and flexible. This solves the core problems of easy breakage, slow response, and insufficient stability in automated pig bile gripping. Summary of the Invention

[0005] To achieve the above objectives, the present invention provides the following technical solution: A method for generating gripping points for pig viscera removal includes the following steps: Step 1: Use a depth camera to collect 3D point cloud of pig bile, perform statistical filtering to denoise the point cloud, calculate the normal vector and normalized curvature feature value of each point, and connect and integrate the 3D coordinate contour features, normal vector features and normalized curvature feature values ​​of each point to construct a fusion feature set of points on the surface of pig bile. Step 2: Input the fused feature set into a lightweight modified PointNet++ network. The network retains only one layer of farthest point sampling and one layer of feature aggregation, and replaces the standard convolution with a depthwise separable convolution. The network outputs an initial set of grasping points and a set of grasping force prediction values ​​corresponding to each initial grasping point through parallel regression and grasping force prediction branches, respectively. Then, based on the three-dimensional coordinates of each initial grasping point, the normalized curvature feature value set corresponding to each initial grasping point is retrieved and matched from the fused feature set in Step 1. Step 3: Input the initial grasping point, the predicted grasping force value, and the normalized curvature feature value into the adaptive safety constraint module. The adaptive safety constraint module performs dynamic maximum safe grasping force threshold screening and dynamic suitable normalized curvature feature value interval screening on the initial grasping point based on the real-time geometric features of the current pig bile point cloud. The initial grasping point that does not meet the safety conditions is eliminated to obtain a candidate grasping point set. Step 4: Generate all 5-point grasping combinations that are compatible with the 5-finger manipulator based on the candidate grasping point set. Calculate the force closure score and the spatial distance distribution uniformity score based on the geometric centroid for each combination. Select the 5-point grasping combination with the highest total score as the optimal grasping point set for output.

[0006] Furthermore, the dynamic maximum safe gripping force threshold screening mentioned in step 3 specifically involves: Traverse the neighborhood of each initial grab point and calculate the mean of the local normalized curvature features. Normal vector consistency coefficient and local normal height difference And according to the preset reference length The local normal height difference is normalized to obtain the normalized local normal height difference. According to the formula Fitting individual tolerance coefficients, where The compressive strength of pig bile tissue is used as a benchmark; combined with the fixed contact area of ​​the mechanical fingertip. Calculate the dynamic maximum safe gripping force threshold. ; Eliminate gripping force prediction values ​​greater than The initial grab point.

[0007] Furthermore, the dynamic suitable normalized curvature feature value interval selection mentioned in step 3 specifically involves: Collect the set of normalized curvature eigenvalues ​​for all initial capture points, and calculate the global mean of normalized curvature eigenvalues. Standard deviation of global normalized curvature eigenvalues According to the formula and Dynamically generate a suitable range of normalized curvature eigenvalues, where , All are proportional coefficients adaptively assigned based on the equivalent length of the bounding box of the three-dimensional point cloud of pig bile; initial grab points whose normalized curvature feature values ​​are not within the range of the appropriate normalized curvature feature values ​​are removed.

[0008] Furthermore, the formula for calculating the force closure score in step 4 is as follows: In the formula, For a 5-point grab combination, For the first The clamping force vector at each grasping point points, with its direction along the normal vector direction of that point pointing into the pig gallbladder, has an amplitude equal to the grasping force value predicted in step 2. Let be the normal vector of that point.

[0009] Furthermore, the calculation formula for the spatial distance distribution uniformity score based on the geometric centroid in step 4 is as follows: Wherein, the geometric centroid is the arithmetic mean of the three-dimensional coordinates of all points on the surface of the pig gallbladder. For the first The three-dimensional Euclidean distance from each grab point to the geometric centroid It is the variance function. For all The average value.

[0010] Furthermore, in step 2, the lightweight modified PointNet++ network shares the fused feature set after depthwise separable convolution dimensionality reduction between its regression branch and grasping power prediction branch; the regression branch outputs a six-dimensional parameter vector of the grasping point through a two-layer fully connected network, the six-dimensional parameter vector including three-dimensional spatial coordinates and three-dimensional normal vector; the grasping power prediction branch outputs the corresponding grasping power prediction scalar value through a two-layer fully connected network.

[0011] Furthermore: the aforementioned , The scaling factor is used to adaptively assign values ​​to three body size levels (small, medium, and large) based on the equivalent length of the bounding box of the 3D point cloud of pig bile. The degree to which the lower bound of the normalized curvature eigenvalue is relaxed is controlled. The extent to which the upper limit of the normalized curvature eigenvalue is relaxed is controlled.

[0012] Further, the normalized curvature eigenvalues ​​mentioned in step 1 are: The calculation method is as follows: construct the covariance matrix of the local neighborhood point set of each surface point in the point cloud and perform eigenvalue decomposition to obtain three eigenvalues ​​sorted by size. According to the formula Calculate the normalized curvature eigenvalues ​​for the corresponding surface points.

[0013] A gripping point generation system for pig viscera removal includes: The point cloud acquisition and fusion feature extraction unit is used to perform the operation described in step 1; A lightweight network inference unit is used to perform the operation described in step 2; An adaptive safety constraint unit is used to perform the operation described in step 3; The combination optimization and output unit is used to perform the operation described in step 4.

[0014] A computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of the gripping point generation method for pig viscera removal described above.

[0015] The beneficial effects of this invention are: (1) This invention significantly reduces the computational parameters and inference latency of the model by lightweighting the PointNet++ network (retaining only one layer of sampling and aggregation and using depthwise separable convolution), which can meet the millisecond-level real-time capture requirements of high-speed slaughter production lines and solve the problem that existing algorithm models are bulky and difficult to deploy to edge devices.

[0016] (2) For the first time, this invention has established a dynamic maximum safe gripping force threshold screening mechanism based on real-time point cloud geometric features for the biological characteristics of pig bile, which has extremely thin cyst walls and low tissue tolerance strength. By combining the mean value of local normalized curvature features, the consistency coefficient of normal vectors and the equivalent thickness of the surface to model and fit the individual tolerance strength coefficient, the dynamic calculation of the maximum safe gripping force for a single pig bile is realized, thus avoiding cyst wall tearing and bile leakage caused by local high pressure points from the source.

[0017] (3) This invention establishes a dynamic and suitable normalized curvature feature value interval screening mechanism, and adaptively assigns values ​​based on the equivalent length of the bounding box of the three-dimensional point cloud of pig bile. , The proportional coefficient dynamically generates a suitable range of normalized curvature feature values ​​for grasping, and eliminates dangerous points with normalized curvature feature values ​​that are too small (easy to slip) and too large (easy to puncture), thus achieving adaptive adaptation of the grasping point to the surface geometry of the pig bile.

[0018] (4) The present invention adopts an optimization strategy that combines the force closure score and the spatial distance distribution uniformity score based on the geometric centroid to select the best of the five-point gripping combination for the candidate gripping points, so that the gripping force distribution is more balanced and the contact is more close, effectively reducing the risk of local stress concentration caused by uneven force during the gripping process and improving the gripping stability. Attached Figure Description

[0019] Figure 1 This is a schematic diagram of the overall network process of the present invention; Figure 2 This is a schematic diagram of the regression branch structure of the present invention; Figure 3 This is a schematic diagram of the gripping force prediction branch structure of the present invention. Detailed Implementation

[0020] The present invention will now be described in detail with reference to the accompanying drawings. Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals denote the same or similar elements or elements having the same or similar functions throughout. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and should not be construed as limiting the present invention. The directional terms such as left, center, right, top, and bottom in the embodiments of the present invention are only relative concepts or referenced to the normal use state of the product, and should not be considered restrictive.

[0021] A method for generating gripping points for pig viscera removal, such as Figure 1 As shown, it includes the following steps: Step 1: First, use a depth camera to collect 3D point cloud data of pig bile. Then, perform statistical filtering to remove noise, calculate normal vectors and normalized curvature feature values ​​on the collected point cloud. Finally, connect and integrate the 3D coordinate contour features, normal vector features and normalized curvature feature values ​​of the point cloud to construct a fusion feature set of points on the surface of pig bile.

[0022] First, place the pig gallbladders in the designated inspection area of ​​the production line conveyor belt, ensuring that the pig gallbladders are not stacked, not obstructed, and have their surfaces fully exposed. Use a depth camera to acquire three-dimensional images of the pig gallbladders. Keep the shooting parameters fixed during the depth camera acquisition process to ensure that the acquired three-dimensional point cloud data of the pig gallbladders are consistent in depth resolution and coordinate accuracy.

[0023] First, the point cloud is subjected to the aforementioned denoising process, and then any point in the pig gallbladder point cloud is traversed. of Nearest Neighbor Sets Among them, the number of nearest neighbors An adaptive method based on the local density of pig bile point clouds is adopted. First, the global point density is obtained by statistically analyzing the average number of points per unit space in the entire frame of the pig bile point cloud. Then, the density is determined according to... Adaptive computation, in which, The global point density represents the number of points contained per unit volume within the 3D bounding box space of the pig bile point cloud. The scaling factor is generally between 2 and 8 in common literature based on point cloud neighborhood construction and normal vector / normalized curvature eigenvalue calculations. Experiments show that using the intermediate value of 5 in this method provides greater stability. (Calculation...) To each neighboring point Euclidean distance: And calculate the average distance from this point to its neighboring points. ,in, , Points , The three-dimensional coordinates are then obtained. Then, by iterating through all points, the global mean of the average distance between all points is obtained. Compared with global standard deviation Set distance threshold ,in The value was selected as a moderate coefficient based on the statistical characteristics of the normal distribution and the actual needs of noise filtering in the three-dimensional point cloud of pig bile, such as... If point average distance If a point is identified as a noise point, it is removed; otherwise, it is retained as valid pig gallbladder point cloud data, thus completing the denoising process.

[0024] Normal vector calculation is performed on any point in the denoised point cloud. Search for it Nearest Neighbor Sets ,in Similarly, an adaptive determination method based on the local density of pig bile point clouds is used, followed by... Construct a local neighborhood point cloud from the nearest neighbor point set, and calculate the centroid of the neighborhood point set: in Let be a point within the neighborhood, with three-dimensional coordinates as follows: Then construct the covariance matrix. : in Let be the offset vector of the neighborhood points relative to the centroid. Then, consider the covariance matrix... Eigenvalue decomposition yields three non-negative real eigenvalues, which are then sorted by size. For each eigenvalue, the corresponding eigenvector is obtained. , , .because , Corresponding to two orthogonal directions within the local tangent plane of the pig bile, the point cloud exhibits high dispersion in these two directions, and its eigenvectors... , Determine the neighborhood plane, and the direction perpendicular to the plane corresponds to the minimum eigenvalue. Therefore, the smallest eigenvalue is selected. Corresponding feature vector As a point normal vector After traversing all points, a complete set of normal vectors is obtained.

[0025] For the point cloud processed above, the three-dimensional coordinates of all points on the surface of the pig bile are extracted as contour features. Any point on the surface of the pig bile is... Its three-dimensional coordinates are These coordinates are the points. The contour features. The preprocessed normal vectors of each point are called. ,in Normal vectors Components along the three coordinate axes in three-dimensional space. Eigenvalues ​​of the covariance matrix obtained during the normal vector calculation process. Two of the larger eigenvalues , The two orthogonal principal directions within the tangent plane characterize the degree of discretization of the point cloud in the plane; minimum eigenvalue The direction corresponding to the normal direction perpendicular to the tangent plane represents the degree to which the point cloud deviates from the tangent plane, i.e., the degree of surface curvature. The point is calculated using the following formula. Normalized curvature eigenvalues: in, It is a dimensionless quantity used to characterize a point. The relative curvature of the local surface; the larger this value, the greater the deviation of the local point cloud from its fitted tangent plane. Then the points... The contour features, normal vector features, and normalized curvature feature values ​​are concatenated and integrated to construct a point fused feature vector Its expression is: By integrating the fused feature vectors of all points on the surface of the pig bile, a fused feature set of points on the pig bile surface is obtained. ,in l This represents the total number of surface points in the 3D point cloud of pig bile.

[0026] Step 2: Input the fused feature set obtained in Step 1 into the lightweight modified PointNet++ network. This network retains only one layer of farthest point sampling and one feature aggregation, and replaces the ordinary convolutions in the original network with depthwise separable convolutions. The general classification / segmentation head is replaced with parallel branches of grasp point regression and grasping force prediction. This significantly reduces the number of computational parameters and computational complexity while preserving key feature information. The network outputs an initial grasp point set and corresponding grasping force prediction value set end-to-end. Then, based on the 3D coordinates of the initial grasp points, it performs a search and matching on the global point cloud features preprocessed in Step 1 to obtain the normalized curvature feature value set corresponding to the initial grasp points.

[0027] The fusion feature set constructed in step 1 A lightweight grasp point generation network is input in matrix form. The network sampling layer receives the fused feature set. Then, the farthest point sampling (FPS) algorithm is used to select core feature points. The first sampling uses randomly selected feature points. Using the initial point as an example, calculate all unselected feature points in the fused feature set. and Euclidean distance of the fusion feature: Select the point with the largest distance and add it to the core feature point set, then use it as the next sampling point. Repeat this process for each subsequent sampling, calculating the fused feature Euclidean distance from all unselected feature points to the selected core feature point set, until the selected feature points are selected. These core feature points ultimately form a core feature point set. Core feature point set After inputting the feature aggregation layer, a local neighborhood is constructed for each core feature point. Then, a multilayer perceptron (MLP) is used to map the feature points within each neighborhood. This MLP employs a three-layer fully connected structure consisting of an input layer, a hidden layer, and an output layer. Each hidden layer incorporates the ReLU nonlinear activation function. The input layer receives 7-dimensional single-point fused features. After multiple linear transformations and activation operations, the output is a high-dimensional abstract local feature. The specific mapping process is as follows: fusing single-point features As the input features of the MLP input layer, the 7-dimensional features are first mapped to 64-dimensional hidden features through the first fully connected layer. The calculation formula is as follows: in The weight matrix is ​​7×64. The bias vector is 64×1; then the 64-dimensional hidden features are... The second fully connected layer is used to map the 64-dimensional features to the 128-dimensional hidden features. The calculation formula is as follows: in, The weight matrix is ​​64×128. The bias vector is 128×1; finally, the 128-dimensional hidden features are... The input to the third fully connected layer maps the 128-dimensional features to the 256-dimensional output features, resulting in local features after feature mapping. The calculation formula is: in, The weight matrix is ​​128×256. The bias vector is 256×1. The same MLP feature mapping operation is performed on all feature points within the local neighborhood, and the weight matrix is ​​used during the operation. , , With bias vector , , To ensure globally shared parameters, feature mapping is performed on all feature points within the neighborhood, and max pooling is then applied to all mapped features within the neighborhood to obtain the aggregated core features. Set. The aggregated core feature set. The input depthwise separable convolutional layer performs feature reduction and channel fusion. The depthwise separable convolution breaks down the standard convolution into depthwise convolution and pointwise convolution. First, it... Perform depthwise convolution operations, depthwise convolution kernel The dimension of the feature channel is consistent with the number of feature channels. Convolution is performed on each feature channel separately to obtain the depthwise convolutional feature. ; then Perform a 1×1 pointwise convolution operation, through the pointwise convolution kernel This method achieves the fusion and dimensionality adjustment of multi-channel features, ultimately outputting a dimensionality-reduced and fused feature set. The formula is: While preserving key feature information, the number of computational parameters and computational complexity are significantly reduced. (Feature set after dimensionality reduction and fusion) Simultaneously input the regression branch and the grasping power prediction branch of the network, and the two branches are processed in parallel.

[0028] like Figure 2 As shown, the regression branch uses a multilayer perceptron based on two fully connected layers to... To perform feature mapping and regression calculations, first, the fused features output from the convolutional layer are... Perform dimensionality standardization and construct the regression branch input matrix. ,in for The number of feature points, The feature dimension for a single feature point. Decomposed into feature points An independent 3D input feature vector As input, the first hidden layer uses a linear transformation combined with a non-linear activation function to map low-dimensional convolutional features to high-dimensional hidden features, enhancing the semantic expressive power of the features. The calculation formula is as follows: in, Dimensions , For the hidden layer feature dimension, Dimensions , For the first i After mapping, the feature points The hidden feature vector is then used. The core parameters of the capture points are then directly regressed using a second-level linear transformation. The calculation formula is as follows: in, Dimensions , The dimension is 6×1. Let i be the 6-dimensional parameter vector of the i-th initial grasping point, i.e. ,in To capture the three-dimensional spatial coordinates of the point, This is the normal vector of the capture point. The weight matrix is ​​used during the calculation. , and bias vector , For global parameters, iterate through all. The input feature points are used to complete the mapping and regression calculations of two layers of MLP, and the results are integrated to obtain the initial set of capture points: like Figure 3 As shown, the grasping power prediction branch also uses fused features. As input, the fused feature set output from depthwise separable convolutional layers. Perform matrix dimension standardization to construct the input feature matrix for the grasping power prediction branch. ,in for The number of core feature points for The number of feature channels per feature point. Decomposed into feature points An independent 3D input feature vector As input, the dimension and number of features perfectly match those of the regression branch, ensuring a one-to-one correspondence between grasping points and grasping power. The first fully connected layer is a feature fitting hidden layer. Through linear weighted transformation combined with a nonlinear activation function, it performs deep fitting on the dimensionality-reduced fused features, uncovering the correlation between features and pig bile grasping power, and realizing the mapping from convolutional features to high-dimensional features related to grasping power. The calculation formula is as follows: in, Dimensions , The hidden layer feature dimension is selected as 256 dimensions based on the feature fitting requirements of pig bile extraction, which matches the output feature dimension of the feature aggregation layer; Dimensions ; The fitted value of the i-th feature point The high-dimensional hidden feature vector. The second fully connected layer is the gripping force prediction output layer, which only performs linear weighted transformation and bias operation, without introducing any activation function, ensuring that the output gripping force prediction value is a continuous positive real number, matching the numerical range of the actual gripping force on the pig gallbladder. It directly regresses the gripping force prediction value corresponding to a single gripping point, and the calculation formula is: in, Dimensions This enables the mapping of high-dimensional features to one-dimensional grasping force values; The dimension is 1×1; For the first The predicted gripping force for each initial gripping point, expressed in Newtons (N), represents the clamping force required for the robotic arm to grip the pig bile at that point. The weight matrix is ​​used in the calculation process. , and bias vector , For global parameters, iterate through all. Based on the core feature points, feature fitting and grasping force regression calculations are performed sequentially on two fully connected layers to obtain... One and the initial grasping point set One-to-one corresponding gripping force prediction values, and after integrating all gripping force prediction values, we obtain the gripping force prediction value set: Based on the 3D coordinates of the initial grasping point, a search and matching process is performed on the global point cloud features preprocessed in step 1 to obtain the normalized curvature feature value corresponding to the initial grasping point. .

[0029] Step 3: Input the initial gripping points, predicted gripping force values, and normalized curvature feature values ​​obtained in Step 2 into the adaptive safety constraint module. First, calculate the dynamic maximum safe gripping force threshold based on the compressive strength and contact area of ​​the pig bile, and eliminate points that exceed the force limit. Then, filter points with unsuitable normalized curvature feature values, easy slippage, or easy puncture according to the suitable gripping curvature range of the pig bile. After double screening, obtain a set of candidate gripping points that meet the requirements of non-destructive and stable operation, thus avoiding pig bile damage from the source.

[0030] The initial gripping point, predicted gripping force, and normalized curvature feature value obtained in step 2 are input into the adaptive safety constraint module. This module adaptively and dynamically calculates the maximum safe gripping force threshold specific to a single pig gallbladder based on the real-time geometric features of the current 3D point cloud of pig gallbladders. For the first... Initial grab points Construct its local neighborhood point set ,in, For the first The number of neighborhood sampling points participating in the calculation from the local neighborhood point set of the initial grasping point is set to 5, which is the preferred value in the 5-finger robotic arm scenario. Based on the same local neighborhood point set... Calculate the first one respectively Mean of local normalized curvature features at each initial capture point Normal vector consistency coefficient Local normal height difference ,in, For the first Within the local neighborhood of the initial grab point, the first... The normalized curvature eigenvalues ​​of each neighborhood sampling point are dimensionless quantities. For the first The unit normal vector of the initial grab point, For the local neighborhood of the first The unit normal vector of each neighboring sampling point; For the first The three-dimensional coordinates of the neighborhood sampling points, For the first The three-dimensional coordinates of the initial grab point; This is used to characterize the surface undulation of the local neighborhood point cloud along the direction of the normal vector of the current grasping point. To eliminate the influence of the length dimension of the local normal height difference on subsequent durability calculations, [the following is used]: Normalization is performed to obtain the normalized local normal height difference. ,in, The preset reference length is determined based on the local surface scale statistics of the point cloud of pig bile samples. This is a dimensionless quantity. Based on the mean of the local normalized curvature characteristics, the normal vector consistency coefficient, and the normalized local normal height difference, the following formula is used to fit the first... Individual tolerance coefficient of a single pig gallbladder corresponding to each initial grasping point: in, As an optional implementation method, to determine the baseline compressive strength of pig bile tissue, at least 30 samples of freshly slaughtered pig bile were taken and subjected to compression tests at a loading rate of 5 mm / min using a universal testing machine under room temperature (25±2℃). The critical pressure value at which the bile wall ruptured was recorded, and the average value of the critical pressure of each sample was taken as the baseline compressive strength. Furthermore, the fixed contact area is determined by the inherent physical structural parameters of the mechanical fingertip. Through formula The dynamic maximum safe gripping force threshold of the gripping point is calculated, where The geometric dimensions of the flexible fingertip contact surface are obtained through actual measurement and are inherent constants of the robotic arm, not changing in real time with the morphology of the pig gallbladder or the local normalized curvature characteristic value. The predicted grasping force is then set to be greater than... The initial capture points were identified as high-risk locations and removed.

[0031] Based on the distribution of normalized curvature feature values ​​of the entire surface of the pig bile, as well as its overall size and morphological characteristics, a dynamically suitable normalized curvature feature value interval is adaptively generated specifically for this grasping operation. First, the set of normalized curvature feature values ​​for all initial grasping points is statistically analyzed. Calculate the mean of the global normalized curvature characteristics. Standard deviation of global normalized curvature eigenvalues : in, t This represents the initial number of grab points. For the first Normalized curvature eigenvalues ​​for each capture point. Dynamically determine the appropriate lower bound for normalized curvature eigenvalues. With upper limit of normalized curvature eigenvalues : in, , This refers to an adaptively assigned scaling factor based on the equivalent length of the bounding box of the 3D point cloud of pig bile, categorizing it into small, medium, and large body sizes. As an optional implementation, the equivalent length of the bounding box of the 3D point cloud of pig bile is set to... ,when It was small at the time. At that time, it was medium-sized. At that time it was large; correspondingly, The values ​​are 0.8, 1.0, and 1.2. The values ​​are 1.2, 1.0, and 0.8. These values ​​can be adjusted and optimized based on actual capture results through a limited number of experiments. Control the degree of relaxation of the lower limit of the normalized curvature feature value to prevent the surface from being too flat and slipping during gripping. The extent to which the upper limit of the normalized curvature feature value is relaxed is controlled to prevent the curvature from being too steep and the sharp point from piercing the pig gallbladder wall. The width of the normalized curvature feature value selection interval is dynamically controlled through differential assignment of body size levels to avoid slippage caused by excessively small normalized curvature feature values ​​and piercing of the pig gallbladder wall by excessively large normalized curvature feature values. Normalized curvature feature values ​​that are not... Initial gripping points within the specified area are deemed unsuitable and eliminated. After dual filtering using the dynamic safety force threshold filter and the dynamic normalized curvature feature value interval filter, the remaining valid points are integrated to obtain a candidate gripping point set that meets the requirements of non-destructive, anti-slip, and stable gripping. .

[0032] Step 4: Based on the candidate grasping point set described in Step 3, generate all 5-point grasping combinations that are compatible with the 5-finger manipulator. Calculate the force closure score and center of gravity distance distribution uniformity score for each combination using a multi-dimensional evaluation function. Calculate the total score according to the set weights and sort in descending order. Select the combination with the highest total score as the optimal grasping point set. Finally, output the three-dimensional coordinates and normal vector information of the optimal 5 points to achieve a flexible grasping of pig bile that is uniformly stressed and stable.

[0033] The total number of candidate grab point sets obtained in step 3 is According to the formula for calculating the number of combinations Generate all 5-point grasping combinations in the candidate grasping point set. During the generation process, ensure that the points in each combination are not repeated, adapt to the grasping operation requirements of the 5-finger robotic arm, and obtain the complete set of 5-point grasping combinations.

[0034] Input all 5-point capture combinations into the evaluation function module, and calculate the force closure score and the center of gravity distance distribution uniformity score for each 5-point capture combination in turn.

[0035] First, according to the formula for scoring the force closure: Calculate the force closure score of this combination, where, It is a 5-point grasping combination, where 5 indicates that there are 5 points in the combination, which is to adapt to a 5-finger robotic hand; For the first The clamping force vector at each grasping point is directed along the normal to the surface of the pig gallbladder and points into the organ, with the amplitude being the predicted clamping force magnitude. The normal vector at that point; core term Essentially, it is the absolute value of the cosine of the angle between the contact force and the normal vector, where... yes and The angle between them. When and The forces are completely unidirectional, pointing perpendicularly to the surface of the pig's gallbladder. ;when and Perpendicular, the force is entirely tangential, with no compressive effect. . It is the average of the proportion of normal force at all contact points. A value of 1 indicates complete force closure.

[0036] Then, based on the formula for scoring the uniformity of the center-of-gravity distance distribution: Calculate the uniformity score of the combination. Because the mass distribution of bile and the gallbladder wall within the pig gallbladder is uneven, the physical center of gravity is difficult to determine online in real time on the production line. Furthermore, in evaluating the uniformity of the spatial distribution of the grasping points, this invention only requires the contour center as a relative reference. Therefore, the geometric centroid obtained by the arithmetic mean of the three-dimensional point cloud coordinates is used as the equivalent center of gravity. The three-dimensional Euclidean distance between each grabbing point and the geometric centroid; The variance calculation function is used to measure the dispersion of the distance distribution; the larger the variance, the more uneven the distribution. For all The average value, i.e. , used to normalize the variance and eliminate the influence of distance scale; 5 is the number of points in the grasping combination, in order to adapt to the grasping of a 5-finger robotic arm. A higher value indicates a more uniform distribution, a more balanced clamping force, and a more stable grip.

[0037] Then, according to the total score formula: Calculate the total score for each combination, where the weighting coefficients are... It highlights the core role of force enclosure in grasping stability.

[0038] Finally, the total scores of all 5-point grabbing combinations are sorted in descending order, and the 5-point grabbing combination with the highest total score is selected as the optimal grabbing point set for pig gallbladder. It outputs the three-dimensional coordinates, normal vectors, and other information of the optimal set of grab points.

[0039] A gripping point generation system for pig viscera removal includes: The point cloud acquisition and fusion feature extraction unit is used to perform the operation described in step S1: acquire the three-dimensional point cloud of pig bile using a depth camera, perform statistical filtering to denoise the point cloud, calculate the normal vector and normalized curvature feature value of each point, and integrate the three-dimensional coordinate contour features, normal vector features and normalized curvature features of each point in series to construct a fusion feature set of points on the surface of pig bile.

[0040] The lightweight network inference unit is used to perform the operation described in step S2: inputting the fused feature set into the lightweight modified PointNet++ network, which retains only one layer of farthest point sampling and one layer of feature aggregation, and replacing the standard convolution with a depthwise separable convolution; the network outputs an initial set of grasping points and a set of grasping force prediction values ​​corresponding to each initial grasping point through parallel regression and grasping force prediction branches respectively; and then, based on the three-dimensional coordinates of each initial grasping point, retrieving and matching the normalized curvature feature value set corresponding to each initial grasping point from the fused feature set described in step S1.

[0041] An adaptive safety constraint unit is used to perform the dual safety screening operation described in step S3: the initial grasping point, the predicted grasping force value, and the normalized curvature feature value are input into the adaptive safety constraint module. Based on the real-time geometric features of the current pig bile point cloud, the initial grasping point is subjected to dual safety screening, including dynamic maximum safe grasping force threshold screening and dynamic suitable normalized curvature feature value interval screening. Initial grasping points that do not meet the safety conditions are eliminated to obtain a candidate grasping point set.

[0042] The combination optimization and output unit is used to perform the operation described in step S4: generate all 5-point grasping combinations that are compatible with the 5-finger manipulator based on the candidate grasping point set, calculate the force closure score and the spatial distance distribution uniformity score based on the geometric centroid for each combination, and select the 5-point grasping combination with the highest total score as the optimal grasping point set for output.

[0043] A computer-readable storage medium having a computer program stored thereon that, when executed by a processor, implements the steps of the method described in any of the above embodiments.

[0044] Those skilled in the art will understand that all or part of the processes in the methods of the above embodiments can be implemented by a computer program instructing related hardware. The computer program mentioned can be stored in a non-volatile computer-readable storage medium. When executed, the computer program can include the processes of the embodiments of the above methods. Any references to memory, database, or other media used in the embodiments provided in this application can include at least one of non-volatile memory and volatile memory.

[0045] This invention uses pig bile as an example, but the method is also applicable to pig heart, pig liver, pig lungs, and other internal organs. The foregoing has shown and described the basic principles, main features, and advantages of the present invention. Those skilled in the art should understand that the present invention is not limited to the above embodiments. The embodiments and descriptions in the specification are merely illustrative of the principles of the invention. Various changes and modifications can be made to the invention without departing from its spirit and scope, and all such changes and modifications fall within the scope of the present invention as claimed. The scope of protection of the present invention is defined by the appended claims and their equivalents.

Claims

1. A method for generating gripping points for pig viscera removal, characterized in that, Includes the following steps: Step 1: Use a depth camera to collect 3D point cloud of pig bile, perform statistical filtering to denoise the point cloud, calculate the normal vector and normalized curvature feature value of each point, and connect and integrate the 3D coordinate contour features, normal vector features and normalized curvature feature values ​​of each point to construct a fusion feature set of points on the surface of pig bile. Step 2: Input the fused feature set into a lightweight modified PointNet++ network. The network retains only one layer of farthest point sampling and one layer of feature aggregation, and replaces the standard convolution with a depthwise separable convolution. The network outputs an initial set of grasping points and a set of grasping force prediction values ​​corresponding to each initial grasping point through parallel regression and grasping force prediction branches, respectively. Then, based on the three-dimensional coordinates of each initial grasping point, the normalized curvature feature value set corresponding to each initial grasping point is retrieved and matched from the fused feature set in Step 1. Step 3: Input the initial grasping point, the predicted grasping force value, and the normalized curvature feature value into the adaptive safety constraint module. The adaptive safety constraint module performs dynamic maximum safe grasping force threshold screening and dynamic suitable normalized curvature feature value interval screening on the initial grasping point based on the real-time geometric features of the current pig bile point cloud. The initial grasping point that does not meet the safety conditions is eliminated to obtain a candidate grasping point set. Step 4: Generate all 5-point grasping combinations that are compatible with the 5-finger manipulator based on the candidate grasping point set. Calculate the force closure score and the spatial distance distribution uniformity score based on the geometric centroid for each combination. Select the 5-point grasping combination with the highest total score as the optimal grasping point set for output.

2. The method for generating gripping points for pig viscera removal according to claim 1, characterized in that, The dynamic maximum safe gripping force threshold screening mentioned in step 3 specifically refers to: Traverse the neighborhood of each initial grab point and calculate the mean of the local normalized curvature features. Normal vector consistency coefficient and local normal height difference And according to the preset reference length The local normal height difference is normalized to obtain the normalized local normal height difference. According to the formula Fitting individual tolerance coefficients, where The compressive strength of pig bile tissue is used as a benchmark; combined with the fixed contact area of ​​the mechanical fingertip. Calculate the dynamic maximum safe gripping force threshold. ; Eliminate gripping force prediction values ​​greater than The initial grab point.

3. The method for generating gripping points for pig viscera removal according to claim 1, characterized in that, The dynamic suitable normalized curvature feature value interval selection in step 3 specifically refers to: Collect the set of normalized curvature feature values ​​for all initial capture points, and calculate the global mean of the normalized curvature feature values. Standard deviation of global normalized curvature eigenvalues According to the formula and Dynamically generate a suitable range of normalized curvature eigenvalues, where , All are proportional coefficients adaptively assigned based on the equivalent length of the bounding box of the three-dimensional point cloud of pig bile; initial grab points whose normalized curvature feature values ​​are not within the range of the appropriate normalized curvature feature values ​​are removed.

4. The method for generating gripping points for pig viscera removal according to claim 1, characterized in that, The formula for calculating the force closure score in step 4 is as follows: In the formula, For a 5-point grab combination, For the first The clamping force vector at each grasping point points, with its direction along the normal vector direction of that point pointing into the pig gallbladder, has an amplitude equal to the grasping force value predicted in step 2. Let be the normal vector of that point.

5. The method for generating gripping points for pig viscera removal according to claim 1, characterized in that, The formula for calculating the uniformity score of spatial distance distribution based on geometric centroid in step 4 is as follows: Wherein, the geometric centroid is the arithmetic mean of the three-dimensional coordinates of all points on the surface of the pig gallbladder. For the first The three-dimensional Euclidean distance from each grab point to the geometric centroid It is the variance function. For all The average value.

6. The method for generating gripping points for pig viscera removal according to claim 1, characterized in that, The lightweight modified PointNet++ network described in step 2 shares the fused feature set after depthwise separable convolution dimensionality reduction between its regression branch and grasping force prediction branch; the regression branch outputs a six-dimensional parameter vector of the grasping point through a two-layer fully connected network, the six-dimensional parameter vector including three-dimensional spatial coordinates and three-dimensional normal vector; the grasping force prediction branch outputs the corresponding grasping force prediction scalar value through a two-layer fully connected network.

7. The method for generating gripping points for pig viscera removal according to claim 3, characterized in that, The , The scaling factor is used to adaptively assign values ​​to three body size levels (small, medium, and large) based on the equivalent length of the bounding box of the 3D point cloud of pig bile. The degree to which the lower bound of the normalized curvature eigenvalue is relaxed is controlled. The extent to which the upper limit of the normalized curvature eigenvalue is relaxed is controlled.

8. The method for generating gripping points for pig viscera removal according to claim 1, characterized in that, The normalized curvature eigenvalues ​​mentioned in step 1 The calculation method is as follows: construct the covariance matrix of the local neighborhood point set of each surface point in the point cloud and perform eigenvalue decomposition to obtain three eigenvalues ​​sorted by size. According to the formula Calculate the normalized curvature eigenvalues ​​for the corresponding surface points.

9. A gripping point generation system for pig viscera removal, characterized in that, include: A point cloud acquisition and fusion feature extraction unit is used to perform the operation described in step 1 of claim 1; A lightweight network inference unit for performing the operation described in step 2 of claim 1; An adaptive safety constraint unit is used to perform the operation described in step 3 of claim 1; The combination optimization and output unit is used to perform the operation described in step 4 of claim 1.

10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When executed by a processor, the program implements the steps of the gripping point generation method for porcine viscera stripping as described in any one of claims 1 to 8.