A positioning and taking method and system for cultural and creative and aesthetic design products
By employing technologies such as multi-level exposure depth map fusion, polarization suppression, coarse and fine two-level hand-eye observation, tray plane parameter calculation, and slow layer tilt angle compensation, the problem of three-dimensional perception failure of highly reflective slender parts has been solved, achieving high-precision workpiece positioning and locking stability, and improving the operating efficiency and accuracy of automated production lines.
Patent Information
- Application Number
- CN202611224552.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-08-13
- Publication Date
- 2026-11-27
AI Technical Summary
Existing technologies are prone to failure in the three-dimensional perception of highly reflective and slender parts, resulting in unstable positioning and insertion, failing to meet the precision requirements of precision coating processes, and lacking an online correction mechanism, which affects the utilization rate and production efficiency of automated production lines.
By employing a combination of multi-level exposure depth map fusion, polarization suppression, coarse and fine hand-eye observation, tray plane parameter calculation, slow layer tilt angle compensation, and spiral micro-motion combined with force control compliance, high-precision positioning and stable insertion of the workpiece are achieved. The workpiece is also adapted to working condition drift through closed-loop self-learning.
It improves the positioning and insertion stability of highly reflective slender parts under inclined conditions, reduces the workpiece identification failure rate, ensures the stability of the gripping and insertion process, reduces the frequency of equipment downtime for debugging, and improves the utilization rate and production efficiency of automated production lines.
Smart Images

Figure CN123169035A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of industrial robot vision guidance and flexible automated assembly technology, and in particular to a positioning and placement method and system for cultural and creative and aesthetic design products. Background Technology
[0002] In industrial automated production line operations, vision-based robotic gripping mechanisms are widely used for the automated gripping and transfer of various workpieces. For example, the vision-based robotic gripping solution disclosed in patent application publication number CN115187556A is a mainstream technical solution for automated loading, unloading, and transfer of industrial workpieces at present, relying on vision positioning in conjunction with the gripping mode of the robotic arm.
[0003] In automated production lines for injection molding and surface coating of tableware and party kitchenware, slender injection molded parts such as forks and spoons are usually placed in a neat array inside a fixed tray after injection molding. Subsequently, the parts need to be transferred to the coating station by automated equipment and precisely inserted into the fixture slot to complete the automated feeding process before coating. The precise gripping and high-precision insertion positioning of the parts are the core links to ensure the quality of coating processing.
[0004] At present, the loading process of such slender kitchenware injection molded parts before coating is generally completed by the above-mentioned traditional vision positioning robot gripping method. However, in actual production applications, this existing technical solution has many unavoidable technical defects and cannot meet the needs of high-precision coating production.
[0005] First, traditional robotic arms use a fixed teach coordinate system for gripping operations, without considering the deformation and displacement deviations caused by production conditions. To protect the workpiece, the edges of the pallet used for support are usually designed to be warped. At the same time, the base of the production equipment and the ground will experience settlement deviations due to long-term production operation. These changes in working conditions can cause the pre-calibrated teach coordinates to become invalid, resulting in problems such as workpiece not being gripped properly, workpieces colliding with each other, and workpieces being misaligned when inserted into the fixture slot, which greatly affects the stability of loading and the yield rate.
[0006] Secondly, the cameras on existing equipment are fixed-point mounted, which can only acquire workpiece contour information from a fixed perspective. Fork and spoon-type kitchen utensils are made of highly reflective materials, and during fixed-perspective shooting, imaging defects such as image highlight saturation and workpiece contour breakage are very likely to occur. This makes it impossible for the vision system to stably and accurately calculate the six degrees of freedom of the slender workpiece, ultimately resulting in insufficient workpiece clamping accuracy and insertion accuracy, which cannot meet the stringent precision requirements of precision coating processes.
[0007] Finally, the existing calibration mechanism for hand-eye vision systems only completes a one-time calibration of hand-eye extrinsic parameters and the working plane during the initial equipment debugging phase. During long-term continuous operation, factors such as vibration, temperature, and mechanical wear cause continuous operational drift, and current technology lacks a corresponding online correction mechanism, leading to a continuous deterioration in workpiece positioning and insertion accuracy. To ensure production accuracy, frequent machine shutdowns are required for manual recalibration, reducing the utilization rate and overall production efficiency of automated production lines. Summary of the Invention
[0008] The purpose of this invention is to solve the problem that existing positioning and grasping methods are prone to failure in three-dimensional perception of reflective slender parts. It provides a positioning and picking method and system for cultural and creative and aesthetic design products, which improves the positioning and locking stability of highly reflective slender parts under tilt conditions and forms a closed-loop picking and picking capability with continuous correction.
[0009] To solve the above problems, the present invention adopts the following technical solution:
[0010] A method for positioning and placing cultural and creative products and aesthetic design products includes the following steps:
[0011] S1: Control the hand-eye 3D camera mounted on the end of the robotic arm to move to the global observation pose of the tray, collect multi-level exposure depth maps, fuse them to obtain a global point cloud of the tray unified to the robot base coordinate system, and simultaneously collect intensity maps after polarization suppression.
[0012] S2: Based on the global point cloud fitting of the real-time pallet picking working plane, calculate the inclination angle of the pallet relative to the nominal horizontal plane, and generate the pallet workpiece grabbing queue based on the geometric prior of slender parts.
[0013] S3: For the target workpiece in the grabbing queue, plan the close-range observation pose based on the pallet plane normal vector, and collect the local multi-exposure depth point cloud of the target workpiece again.
[0014] S4: Extract the target workpiece point cloud skeleton sampling points, register them with the template key point set, superimpose the online point feature deviation, obtain the workpiece six-degree-of-freedom fine pose, and combine the pallet plane constraint to generate the workpiece gripping point and the claw approach direction in the base coordinate system.
[0015] S5: Drive the contour gripper along the calculated gripper approach direction to clamp the workpiece shank, and update the feature point confidence parameters online based on the clamping success / failure signal;
[0016] S6: After clamping the workpiece, control the hand-eye 3D camera to move to the observation pose of the coating fixture, collect the local point cloud of the fixture slot and convert it to the robot base coordinate system.
[0017] S7: Based on the real-time calculation of the jig point cloud, the insertion direction is superimposed with the slow layer dip angle compensation corresponding to the base settlement, and the corrected insertion coordinate system is obtained by fusion.
[0018] S8: Based on the modified insertion coordinate system, the workpiece is pre-aligned. The position search is performed with the projection of the micro-motion trajectory on the plane perpendicular to the insertion direction at the slot entrance as the center. After contacting the fixture, the force control compliant mode is switched to push the workpiece in along the insertion direction and it is determined whether the workpiece is stuck in place.
[0019] S9: Based on the result of the insertion into position determination, update the online point feature deviation, slow layer tilt angle parameter, and search center offset parameter respectively; if there are still ungrabbed workpieces on the pallet, return to step S3 and repeat the process; the process ends when all workpieces on the pallet are picked up and placed.
[0020] Furthermore, in step S1, the fusion of multi-level exposure depth maps adopts a weighted fusion model, and the fusion formula is:
[0021]
[0022] In the formula, This is the exposure depth map for the k-th exposure level; The fusion weights are determined by intensity saturation and confidence; K is the total number of exposure levels. To prevent division by zero constants; This is the complete depth map after fusion;
[0023] The weights are dynamically allocated based on pixel illumination saturation and depth confidence, with a reduced weight for highly reflective and overexposed areas.
[0024] Furthermore, the equation of the pallet working plane in step S2 is:
[0025]
[0026] In the formula, The unit normal vector of the pallet plane; For the signed distance in the plane; Let be any point on the plane;
[0027] Calculate the biaxial tilt angle of the tray relative to the horizontal plane based on the three components of the normal vector:
[0028]
[0029] In the formula, They are respectively The three components; These are the tilt components of the pallet plane relative to the nominal horizontal;
[0030] The candidate set of workpieces is filtered based on a dual threshold of slenderness ratio and connected region area. The filtering criteria are as follows:
[0031]
[0032]
[0033] In the formula, These are the length and width of the minimum bounding rectangle of the candidate connected component, respectively. Slenderness ratio; This is the lower limit of the slenderness ratio; The area of the connected region; Area threshold; This is the candidate set for slender components.
[0034] Furthermore, the close-range observation pose generation model in step S3 is as follows:
[0035]
[0036]
[0037] In the formula, The target part i is roughly positioned at the center; This is the altitude for close-range observation; The unit normal vector of the pallet working plane; This refers to the camera position during close-up observation. This is the attitude rotation matrix for close-range observation; The "upward direction" constraint is used to construct the observation attitude.
[0038]
[0039] in, Direction of sight; This is a rough estimate of the workpiece spindle direction.
[0040] Furthermore, in step S4, the online point features are expressed using a weighted registration objective function as follows:
[0041]
[0042] In the formula, Let j be the j-th point in the template point set; For the corresponding point in the scene; Let be the rotation matrix to be determined; Let be the translation vector to be determined; Let be the confidence weight for the j-th point, and the confidence weight is derived from an online point feature library; The number of points participating in the registration; This is the weighted registration error;
[0043] The formula for generating workpiece gripping points is:
[0044]
[0045]
[0046] In the formula, The nominal grab point for the handle segment on the template; This refers to the deviation of the crawling points in the online library; This refers to the actual gripping point location under the base system; The unit normal vector of the pallet working plane; The unit vector of the workpiece spindle; The axial mixing coefficient is λ≥0; Let be the unit vector representing the approach direction of the gripper.
[0047] Furthermore, the online update formula for feature point confidence in step S5 is as follows:
[0048]
[0049] In the formula, is the confidence level of the j-th feature point; s∈{0,1} represents the clamping success flag, 1 for success and 0 for failure; This is the residual of the feature point in the registration process in step S4; ηs is the excitation step size when clamping is successful, ηs > 0; For the clamping failure / residual penalty step size, ηf>0; These are the lower and upper bounds of the confidence level, respectively, where 0 ≤ ρmin < ρmax ≤ 1 or the value can be taken according to the project. The limiting function is defined as follows:
[0050]
[0051] Ensure that the confidence level does not exceed the limit after the update.
[0052] Furthermore, the fusion formula for inserting slow layer dip angle compensation in step S7 is as follows:
[0053]
[0054] In the formula, The unit vector of the insertion direction obtained from the point cloud estimation of the fixture in this iteration; The unit vector for the nominal insertion direction obtained through teaching; The dip angle parameter for the slow layer; The rotation matrix is constructed for the dip angle of the slow layer; The insertion direction is after merging and normalization.
[0055] Furthermore, in step S8, a spiral micro-motion trajectory is used for position search; the trajectory expression is:
[0056]
[0057] In the formula, The search center is the projection of the slot inlet onto a plane perpendicular to the insertion direction. For the radial gain of the helix, a > 0; To search for the phase angle; Let be a pair of orthogonal unit vectors perpendicular to d, satisfying... ⊥d、 =d× d represents the insertion direction unit vector obtained in S7; The location on the search path;
[0058] The workpiece is determined to be in place based on multiple criteria, as follows:
[0059]
[0060] In the formula, This represents the cumulative displacement of the workpiece along the insertion direction; The threshold for the depth of arrival; The contact force of the workpiece along the insertion direction; The threshold force for engaging the protrusion; This is a marker indicating that the workpiece remains in place after the claw is released; 1 indicates that it remains in place, and 0 indicates that it does not remain in place. Logical OR; To determine the Boolean result for the position, true indicates that the position has been filled, and false indicates that the position has not been filled.
[0061] Furthermore, in step S9, the slow layer dip angle parameter is updated only when the moving average of the residuals from multiple disk pick-up and drop-off exceeds the threshold τ; the update process is as follows:
[0062]
[0063] In the formula, This is the moving average vector of the residuals from multiple disk take-off and put-off operations; The residual threshold for triggering slow updates is τ>0; For slow update step size, γ > 0; This is an indicator function; it takes the value 1 if the condition is true, and 0 otherwise. For the base / ground dip angle of the slow layer;
[0064] The search center bias parameter is updated based on the positioning determination in step S8, and the search benchmark for the next round is corrected. The update formula is as follows:
[0065]
[0066] In the formula, Let be the projection of the convergence displacement of this search onto the plane perpendicular to the insertion direction d; The bias learning rate is μ > 0; This refers to the result of the positioning determination in S8; This will serve as a search center for similar slots in the future.
[0067] A positioning and placement system is provided for performing the above-described workpiece positioning and placement method. The positioning and placement system includes a robotic arm hardware unit and an industrial control computer software processing unit.
[0068] The robotic arm hardware unit includes a six-axis industrial robotic arm, a hand-eye 3D camera, grippers, a force / torque sensing unit, a pallet station, and a coating fixture with a flared guide. The grippers are located at the moving end of the robotic arm and are controlled by the robotic arm. The hand-eye 3D camera is fixedly installed above the gripper flange and moves synchronously with the gripper. The force / torque sensing unit is integrated into the joint of the robotic arm or inside the gripper.
[0069] The industrial control computer software processing unit includes a hand-eye 3D vision module, a material picking plane and grid mapping module, a point feature positioning and online update module, a contour clamping module, a fixture verification and insertion direction estimation module, a fault-tolerant card insertion control module, and a closed-loop write-back and parameter library module.
[0070] Among them, the hand-eye 3D vision module is used to perform steps S1 global observation, S3 close-range fine observation, and S6 fixture side verification, and complete multi-exposure point cloud acquisition, polarization reflection suppression, and point cloud transformation from camera coordinate system to base coordinate system.
[0071] The material handling plane and grid mapping module is used to execute step S2, and complete pallet plane fitting, tilt angle calculation, slender part screening, and grabbing queue generation.
[0072] The point feature localization and online update module is used to execute steps S4 and S5 to realize weighted registration of skeleton key points, solving for grasping points, and feature confidence update driven by clamping results.
[0073] The contouring clamping module drives the contouring jaws to complete the clamping of the workpiece shank and outputs a clamping success / failure confirmation signal.
[0074] The fixture verification and insertion direction estimation module is used to execute step S7, which integrates the real-time fixture observation vector and the slow layer dip angle compensation to generate a standard insertion coordinate system.
[0075] The fault-tolerant insertion control module is used to execute step S8, generate a spiral micro-motion search trajectory, perform force-controlled compliant insertion, and identify the insertion status using multiple criteria.
[0076] The closed-loop write-back and parameter library module is used to execute step S9, store and update the point feature confidence library, slow layer tilt angle parameters, and slot search center offset online, and output loop control commands to the hand-eye 3D vision module.
[0077] The beneficial effects of this invention are as follows:
[0078] By employing polarized multi-exposure imaging, the problem of easily missed detection and unstable pose of highly reflective slender workpieces in 3D perception is solved. Combined with multi-level depth weighted fusion and polarized illumination to suppress the highlights on plastic mirror surfaces, the problem of contour fracture and deep voids in slender injection molded parts is eliminated, the integrity of 3D point cloud is improved, and the workpiece recognition missed rate is reduced.
[0079] By setting up two levels of hand-eye observation, coarse and fine observation, the global coarse observation quickly generates the grasping queue, and the close-range fine observation calculates the posture of a single workpiece with high precision. Compared with global full-frame high-precision shooting, the amount of data calculation is reduced, while taking into account both positioning accuracy and production line operation cycle.
[0080] The effects of pallet warping and local elevation are absorbed by calculating pallet plane parameters. In addition, slow layer compensation is calculated during the insertion process to absorb long-term ground and base tilt. The gripping plane and insertion coordinate system are corrected respectively to ensure the stability of the gripping and insertion process.
[0081] By setting a spiral micro-motion combined with force control compliance, a high fault-tolerant insertion is achieved. With the help of the flared mouth guide on the fixture, even if there are slight positional deviations in the workpiece and the slot, it can be stably inserted, avoiding wear and scrap of the workpiece due to inaccurate insertion.
[0082] By setting up rapid workpiece screening based on pallet grid priors and slender geometric features, the computational power consumption is lower, making it suitable for standardized array pallet production lines for tableware coating.
[0083] By setting up a closed-loop self-learning mechanism for the entire grab-insert process, the device can bidirectionally write back the feature confidence, search bias, and slow layer tilt angle of the clamping and insertion results. This allows the device to automatically adapt to working condition drift during long-term operation without the need for frequent shutdowns for debugging. Attached Figure Description
[0084] Figure 1 This is the main flowchart of the positioning and placement method in Example 1;
[0085] Figure 2 This is a flowchart of the coarse and fine two-stage hand-eye acquisition process in step S3 of Example 1.
[0086] Figure 3 This is a flowchart of the midpoint feature localization and clamping feedback process in steps S4 and S5 of Example 1;
[0087] Figure 4 This is a flowchart of the adaptive layering process for pallet plane fast and slow layer tilt angle compensation in steps S2 and S7 of Example 1.
[0088] Figure 5 The flowchart of fault-tolerant card insertion and parameter write-back in steps S8 and S9 of Example 1 is shown.
[0089] Figure 6 This is a schematic diagram of the positioning and placement system module in Example 1. Detailed Implementation
[0090] The present invention will now be described in further detail with reference to the accompanying drawings and embodiments.
[0091] Example 1:
[0092] like Figures 1-5 As shown, a positioning and placement method for cultural and creative and aesthetic design products is described. The products are slender workpieces waiting to be decorated with cultural and creative and aesthetic design patterns, such as forks and spoons. After injection molding, these slender workpieces are placed on a fixed tray, and a robotic arm positions, grabs, and transports them to the coating station and inserts them into the fixture slot to complete the subsequent drawing process.
[0093] The positioning and placement method specifically includes the following steps:
[0094] S1: Control the hand-eye 3D camera mounted on the end of the robotic arm to move to the global observation pose of the tray, collect multi-level exposure depth maps, fuse them to obtain a global point cloud of the tray unified to the robot base coordinate system, and simultaneously collect intensity maps after polarization suppression.
[0095] S2: Based on the global point cloud fitting of the real-time pallet picking working plane, calculate the inclination angle of the pallet relative to the nominal horizontal plane, and generate the pallet workpiece grabbing queue based on the geometric prior of slender parts.
[0096] S3: For the target workpiece in the grabbing queue, plan the close-range observation pose based on the pallet plane normal vector, and collect the local multi-exposure depth point cloud of the target workpiece again.
[0097] S4: Extract the target workpiece point cloud skeleton sampling points, register them with the template key point set, superimpose the online point feature deviation, obtain the workpiece six-degree-of-freedom fine pose, and combine the pallet plane constraint to generate the workpiece gripping point and the claw approach direction in the base coordinate system.
[0098] S5: Drive the contour gripper along the calculated gripper approach direction to clamp the workpiece shank, and update the feature point confidence parameters online based on the clamping success / failure signal;
[0099] S6: After clamping the workpiece, control the hand-eye 3D camera to move to the observation pose of the coating fixture, collect the local point cloud of the fixture slot and convert it to the robot base coordinate system.
[0100] S7: Based on the real-time calculation of the jig point cloud, the insertion direction is superimposed with the slow layer dip angle compensation corresponding to the base settlement, and the corrected insertion coordinate system is obtained by fusion.
[0101] S8: Based on the modified insertion coordinate system, the workpiece is pre-aligned. The position search is performed with the projection of the micro-motion trajectory on the plane perpendicular to the insertion direction at the slot entrance as the center. After contacting the fixture, the force control compliant mode is switched to push the workpiece in along the insertion direction and it is determined whether the workpiece is stuck in place.
[0102] S9: Based on the result of the insertion into position determination, update the online point feature deviation, slow layer tilt angle parameter, and search center offset parameter respectively; if there are still ungrabbed workpieces on the pallet, return to step S3 or step S2 and repeat the process until all workpieces on the pallet are picked up and placed, and then end the process.
[0103] In step S1, the robotic arm first moves the hand-eye camera to a preset global observation pose; in this pose, multi-exposure depth acquisition is performed on the full field of view of the tray, and polarization illumination and polarization analysis are turned on to suppress reflection from the plastic mirror surface; finally, the depth of multiple frames is fused into a global point cloud, and a polarization intensity map is obtained simultaneously.
[0104] After obtaining multi-exposure depth data, it is necessary to transform the camera-based observations to the robot-based observations using hand-eye extrinsic parameters; the process of transforming the hand-eye observation points to the base system is shown below:
[0105]
[0106] In the formula, A 3D point in the camera coordinate system; For hand-eye external reference, specifically the camera relative end / grip flange; This is the current end-effector pose; This is a transformation to a 3D point in the robot's base system. The formula can be expressed as: Base point = End-effector pose relative to base × Camera extrinsic parameters relative to end-effector hand-eye coordinates × Camera system point. This formula unifies the local points measured by the hand-eye camera to the robot's executable base coordinate system, outputting a complete global point cloud of the tray base system. Its purpose is to provide a unified coordinate reference for subsequent planar fitting and raster mapping.
[0107] The process of multi-exposure deep fusion is as follows:
[0108]
[0109] In the formula, This is the exposure depth map for the k-th exposure level; The fusion weights are determined by intensity saturation and confidence; K is the total number of exposure levels. A small constant set to prevent division by zero; This is the complete depth map after fusion. This formula downweights overexposed highlight areas and upweights effective depth areas to obtain a more complete tray depth. Its function is to generate anti-reflective global point cloud input for use by S2.
[0110] Step S1 outputs the global point cloud and polarization map of the pedestal system, which serves as the sole input for plane estimation and candidate generation in step S2.
[0111] In step S2, workpiece points that are significantly higher than the pallet plane are removed from the global point cloud. Plane fitting is performed on the visible area of the pallet to obtain the pallet working plane parameters. A grid index is established using the pallet positioning corner points or teaching origin. Slender connected components are extracted within the grid neighborhood, and a grabbing queue is generated by rows and columns.
[0112] The process of obtaining the working surface of the pallet is as follows:
[0113]
[0114] In the formula, The unit normal vector of the pallet plane; For the signed distance in the plane; Let be any point on the plane; This is the transpose matrix. This formula describes the actual material handling plane of the current pallet relative to the base system, absorbing pallet warpage and local elevation, and constraining subsequent grid projection and gripping approach direction to the normal of the real plane.
[0115] Then, the biaxial tilt angle of the pallet relative to the horizontal plane is calculated based on the three components of the normal vector:
[0116]
[0117] In the formula, They are respectively The three components; These are the dip components of the tray plane relative to the nominal horizontal. By calculating the biaxial dip angle, the normal difference is quantified into a dip angle that can be used for slow layer statistics and threshold judgment, providing the observed dip angle for the subsequent slow layer update step S9.
[0118] Finally, the workpieces are screened based on their slenderness ratio:
[0119]
[0120]
[0121] In the formula, These are the length and width of the minimum bounding rectangle of the candidate connected component, respectively. Slenderness ratio; This is the lower limit of the slenderness ratio; The area of the connected region; Area threshold; This is a candidate set of slender parts. Fork-type workpiece candidates are screened from the pallet scene using slender geometric priors, generating a semi-structured, ordered grasping queue to facilitate close-up observation of each part in subsequent step S3.
[0122] During the close-range observation process in step S3, the close-range observation pose is first planned for the first or current target in the queue based on the coarse position, so that the camera optical axis is roughly aligned with the target and the point cloud resolution is improved. During the alignment of the camera optical axis, the pitch / azimuth can be finely adjusted as needed to avoid strong specular reflection angles, and multiple exposures are taken to obtain local point clouds.
[0123] The process for generating the pose for close-range observation is as follows:
[0124]
[0125]
[0126] In the formula: The target part i is roughly positioned at the center; This is the altitude for close-range observation; The unit normal vector of the pallet working plane is obtained from step S2; This refers to the camera position during close-up observation. This is the attitude rotation matrix for close-range observation; The "upward direction" constraint is used to construct the observation attitude.
[0127]
[0128] in, Direction of sight; The workpiece spindle direction is roughly estimated. LookAt(tn,ci,ui): The camera pose is generated by rolling with tn as the viewpoint, ci as the orientation, and ui as the constraint. This formula acquires the pose on the plane normal lifting and facing the target, improving the local point density of slender parts and providing a high-quality local point cloud for fine registration of S4 point features.
[0129] In step S4, the skeleton centerline is extracted from the local point cloud and sampled uniformly. This is then combined with key geometric points such as the handle end and the fork root of the head section, and registered with the nominal template point set. The deviation field from the online point feature library is then superimposed to obtain the precise pose and handle gripping points. The gripping approach direction is constrained by the combined constraint of the tray normal and the workpiece axis to ensure the contour gripper can close.
[0130] The objective function for registration with the nominal template point set is expressed as:
[0131]
[0132] In the formula, Let j be the j-th point in the template point set; For the corresponding point in the scene; Let be the rotation matrix to be determined; Let be the translation vector to be determined; Let be the confidence weight for the j-th point, and the confidence weight is derived from an online point feature library; The number of points participating in the registration; This represents the weighted registration error. Using the objective function described above, the confidence-weighted keypoint / skeleton point matching is updated to suppress interference from reflective voids, thus solving for the precise pose of the target component relative to the base system. It should be noted that if the weighted registration error exceeds a threshold, step S3 is triggered to resample the point or reduce its confidence level.
[0133] Then, crawl points are generated, represented as follows:
[0134]
[0135]
[0136] In the formula, The nominal grab point for the handle segment on the template; This refers to the deviation of the crawling points in the online library; This refers to the actual gripping point location under the base system; The unit normal vector of the pallet working plane is obtained from step S2; The unit vector of the workpiece spindle; The axial mixing coefficient is λ≥0; Let be the unit vector for the approach direction of the gripper. This formula generates the gripping point of the handle segment under precise pose, and ensures that the approach direction takes into account both the planar normal and the slender axis, providing an executable gripping pose for step S5.
[0137] In step S5, the robotic arm controls the gripper to move along the approach direction to the gripping point calculated in step S4, and uses the V-shaped soft pad to clamp the workpiece handle. Successful clamping is confirmed by limit switch, clamping force, or visual residual detection, and the success / failure is written to the point feature update cache, specifically as follows:
[0138]
[0139] In the formula, is the confidence level of the j-th feature point; s∈{0,1} represents the clamping success flag, 1 for success and 0 for failure; This is the residual of the feature point in the registration process in step S4; ηs is the excitation step size when clamping is successful, ηs > 0; For the clamping failure / residual penalty step size, ηf>0; These are the lower and upper bounds of the confidence level, respectively, where 0 ≤ ρmin < ρmax ≤ 1 or the value can be taken according to the project. The amplitude limiting function, which ensures that the confidence level does not exceed the limit after the update, is defined as:
[0140]
[0141] Through calculation The confidence level of each feature point is adjusted online based on the clamping results, forming a constrained feedback update. The execution layer signal is then fed back into the feature library for updating in subsequent step S4. parameter.
[0142] If the gripper successfully grips the workpiece, it will carry it to S6; if it fails, it will retry S3~S5 or reject the candidate workpiece.
[0143] In step S6, the robotic arm moves to the observation pose of the coating fixture and scans the slot area or fixture marker surface visible to the hand-eye 3D camera to obtain the local point cloud of the fixture. It should be noted that this step must be performed before inserting the workpiece into the fixture each time to avoid coordinate system drift caused by settlement or shape change in the pure teaching slot.
[0144] After obtaining the local point cloud of the jig, the jig marker points must first be assigned to the base system:
[0145]
[0146] In the formula, Let m be the m-th fixture feature point in the camera coordinate system; For manual and visual external reference, specifically from the camera system to the flange end / clamp system; This represents the current pose of the end effector relative to the base. These are the jig feature points after transformation to the robot base system. Using the above formula, the jig geometry, observed in real-time before insertion, is transformed to the execution coordinate system, providing observation data for step S7 to estimate the feeding plane and insertion direction.
[0147] In step S7, the insertion axis is estimated by fitting the working plane of the fixture or by estimating the insertion axis from the edge of the slot, and the slow layer base / hand-eye tilt angle compensation is superimposed to obtain the refreshed insertion coordinate system.
[0148] The relationship between insertion direction estimation and slow layer compensation is expressed as follows:
[0149]
[0150] In the formula, The unit vector of the insertion direction obtained from the point cloud estimation of the fixture in this iteration; The unit vector for the nominal insertion direction obtained through teaching; This is the dip angle parameter of the slow layer, which is related to factors such as long-term settlement of the base / ground. The rotation matrix is constructed for the dip angle of the slow layer; This is the insertion direction after fusion and normalization. In this example, the fast layer uses the current observation, while the slow layer absorbs the long-term ground and base tilt. The fusion of the two yields a stable insertion direction, providing the insertion coordinate system for the fault-tolerant insertion process in step S8.
[0151] In step S8, the workpiece is first pre-aligned near the groove axis and guided by the flared opening on the fixture. A spiral or cross-shaped micro-motion search is performed in front of the fixture inlet. After contact, force control is switched to compliant pushing along the insertion direction; in this example, a spiral micro-motion search is selected. The workpiece is determined to be in place based on multiple criteria, such as reaching a set depth, a sudden increase in axial force, or maintaining its position after release. Then, the workpiece is released and withdrawn.
[0152] The process of the spiral search trajectory is as follows:
[0153]
[0154] In the formula, The search center is the projection of the slot inlet onto a plane perpendicular to the insertion direction. For the radial gain of the helix, a > 0; To search for the phase angle; Let be a pair of orthogonal unit vectors perpendicular to d, satisfying... ⊥d、 =d× d represents the insertion direction unit vector obtained in S7; This represents the position on the search path. This formula uses a spiral trajectory within the plane perpendicular to the insertion direction to cover the uncertainty of the entry point, and, in conjunction with the flared opening, achieves fault-tolerant alignment between the workpiece and the entry point. Its function is to reduce the dependence on absolute visual accuracy and improve the success rate of insertion.
[0155] In this example, a comprehensive judgment is made based on multiple factors to determine whether the card is properly positioned, specifically:
[0156]
[0157] In the formula, This represents the cumulative displacement of the workpiece along the insertion direction; The threshold for the depth of arrival; The contact force of the workpiece along the insertion direction; The threshold force for engaging the protrusion; This is a marker indicating that the workpiece remains in place after the claw is released; 1 indicates that it remains in place, and 0 indicates that it does not remain in place. Logical OR; The Boolean result for the positioning is set to true, indicating that the sensor has positioned correctly, and false, indicating that it has not positioned correctly. By using multiple criteria to redundantly determine the engineering goal of "positioning correctly," false judgments from a single sensor are avoided, providing a success / failure result for the closed-loop write-back in step S9.
[0158] In step S9, based on the success or failure of the insertion in step S8, the point feature deviation, matching threshold, spiral search center offset, and slow layer tilt angle of cross-disk statistics are updated; if there are still unretrieved items on the tray, return to S3 for close-range observation of the next target, or return to S2 to rebuild the global map after replacing the tray carrying the slender item.
[0159] The slow layer dip angle update is expressed as follows:
[0160]
[0161] In the formula, This is the moving average vector of the residuals from multiple disk take-off and put-off operations; The residual threshold for triggering slow updates is τ>0; For slow update step size, γ > 0; This is an indicator function; it takes the value 1 if the condition is true, and 0 otherwise. This refers to the slow-layer parameters of the base / ground dip angle. It should be noted that slow-layer dip angle updates are only triggered when systematic residuals continuously exceed the threshold, to avoid noise-induced fluctuations in extrinsic parameters. Online adaptive adaptation to ground settlement and long-term tilt is achieved through slow-layer dip angle updates, and the entire chain feedback loop is closed.
[0162] The process of writing back with center bias is represented as follows:
[0163]
[0164] In the formula, Let be the projection of the convergence displacement of this search onto the plane perpendicular to the insertion direction d; The bias learning rate is μ > 0; This refers to the result of the positioning determination in S8; This serves as the search center for subsequent slots of the same type. By writing back the center bias, successful / failed search trajectories are accumulated as prior biases for the next item, shortening the search time for subsequent stuck items and improving the success rate. After S9 is completed, if the queue is not empty, it loops back to S3; otherwise, the task on this disk ends and returns to S2.
[0165] like Figure 6 As shown, a positioning and placement system is used to execute the above-described workpiece positioning and placement method. The positioning and placement system includes a robotic arm hardware unit and an industrial control computer software processing unit.
[0166] The robotic arm hardware unit includes a six-axis industrial robotic arm, a hand-eye 3D camera, a contour gripper, a force / torque sensing unit, a pallet station, and a coating fixture with a flared guide. The contour gripper is located at the moving end of the robotic arm and is controlled by the robotic arm. The hand-eye 3D camera is fixedly installed above the gripper flange and moves synchronously with the gripper. The force / torque sensing unit is integrated into the joint of the robotic arm or inside the gripper.
[0167] The industrial control computer software processing unit includes a hand-eye 3D vision module, a material picking plane and grid mapping module, a point feature positioning and online update module, a contour clamping module, a fixture verification and insertion direction estimation module, a fault-tolerant card insertion control module, and a closed-loop write-back and parameter library module.
[0168] Among them, the hand-eye 3D vision module is used to perform steps S1 global observation, S3 close-range fine observation, and S6 fixture side verification, and complete multi-exposure point cloud acquisition, polarization reflection suppression, and point cloud transformation from camera coordinate system to base coordinate system.
[0169] The material handling plane and grid mapping module is used to execute step S2, and complete pallet plane fitting, tilt angle calculation, slender part screening, and grabbing queue generation.
[0170] The point feature localization and online update module is used to execute steps S4 and S5 to realize weighted registration of skeleton key points, solving for grasping points, and feature confidence update driven by clamping results.
[0171] The contouring clamping module drives the contouring jaws to complete the clamping of the workpiece shank and outputs a clamping success / failure confirmation signal.
[0172] The fixture verification and insertion direction estimation module is used to execute step S7, which integrates the real-time fixture observation vector and the slow layer dip angle compensation to generate a standard insertion coordinate system.
[0173] The fault-tolerant insertion control module is used to execute step S8, generate a spiral micro-motion search trajectory, perform force-controlled compliant insertion, and identify the insertion status using multiple criteria.
[0174] The closed-loop write-back and parameter library module is used to execute step S9, store and update the point feature confidence library, slow layer tilt angle parameters, and slot search center offset online, and output loop control commands to the hand-eye 3D vision module.
[0175] The above description is merely a specific example of the present invention and does not constitute any limitation on the present invention. Obviously, those skilled in the art, after understanding the content and principles of the present invention, may make various modifications and changes in form and detail without departing from the principles and structure of the present invention; however, these modifications and changes based on the spirit of the present invention are still within the scope of protection of the claims of the present invention.
Claims
1. A method for positioning and placing cultural and creative products and aesthetic design products, characterized in that, Includes the following steps: S1: Control the hand-eye 3D camera mounted on the end of the robotic arm to move to the global observation pose of the tray, collect multi-level exposure depth maps, fuse them to obtain a global point cloud of the tray unified to the robot base coordinate system, and simultaneously collect intensity maps after polarization suppression. S2: Based on the global point cloud fitting of the real-time pallet picking working plane, calculate the inclination angle of the pallet relative to the nominal horizontal plane, and generate the pallet workpiece grabbing queue based on the geometric prior of slender parts. S3: For the target workpiece in the grabbing queue, plan the close-range observation pose based on the pallet plane normal vector, and collect the local multi-exposure depth point cloud of the target workpiece again. S4: Extract the target workpiece point cloud skeleton sampling points, register them with the template key point set, superimpose the online point feature deviation, obtain the workpiece six-degree-of-freedom fine pose, and combine the pallet plane constraint to generate the workpiece gripping point and the claw approach direction in the base coordinate system. S5: Drive the contour gripper along the calculated gripper approach direction to clamp the workpiece shank, and update the feature point confidence parameters online based on the clamping success / failure signal; S6: After clamping the workpiece, control the hand-eye 3D camera to move to the observation pose of the coating fixture, collect the local point cloud of the fixture slot and convert it to the robot base coordinate system. S7: Based on the real-time calculation of the jig point cloud, the insertion direction is superimposed with the slow layer dip angle compensation corresponding to the base settlement, and the corrected insertion coordinate system is obtained by fusion. S8: Based on the modified insertion coordinate system, the workpiece is pre-aligned. The position search is performed with the projection of the micro-motion trajectory on the plane perpendicular to the insertion direction at the slot entrance as the center. After contacting the fixture, the force control compliant mode is switched to push the workpiece in along the insertion direction and it is determined whether the workpiece is stuck in place. S9: Based on the result of the insertion into position determination, update the online point feature deviation, slow layer tilt angle parameter, and search center offset parameter respectively; if there are still ungrabbed workpieces on the pallet, return to step S3 and repeat the process; the process ends when all workpieces on the pallet are picked up and placed.
2. The positioning and placement method according to claim 1, characterized in that, In step S1, the fusion of multi-level exposure depth maps adopts a weighted fusion model, and the fusion formula is as follows: In the formula, This is the exposure depth map for the k-th exposure level; The fusion weights are determined by intensity saturation and confidence. K represents the total number of exposure levels; To prevent division by zero constants; This is the complete depth map after fusion; The weights are dynamically allocated based on pixel illumination saturation and depth confidence, with a reduced weight for highly reflective and overexposed areas.
3. The positioning and placement method according to claim 1, characterized in that, The equation of the pallet working plane in step S2 is: In the formula, The unit normal vector of the pallet plane; For the signed distance in the plane; Let be any point on the plane; Calculate the biaxial tilt angle of the tray relative to the horizontal plane based on the three components of the normal vector: In the formula, They are respectively The three components; These are the tilt components of the pallet plane relative to the nominal horizontal; The candidate set of workpieces is filtered based on a dual threshold of slenderness ratio and connected region area. The filtering criteria are as follows: In the formula, These are the length and width of the minimum bounding rectangle of the candidate connected component, respectively. Slenderness ratio; This is the lower limit of the slenderness ratio; The area of the connected region; Area threshold; This is the candidate set for slender components.
4. The positioning and placement method according to claim 1, characterized in that, The close-range observation pose generation model in step S3 is as follows: In the formula, The target part i is roughly positioned at the center; This is the altitude for close-range observation; The unit normal vector of the pallet working plane; This refers to the camera position during close-up observation. This is the attitude rotation matrix for close-range observation; The "upward direction" constraint is used to construct the observation attitude. in, Direction of sight; This is a rough estimate of the workpiece spindle direction.
5. The positioning and placement method according to claim 1, characterized in that, In step S4, the online point features are expressed using a weighted registration objective function as follows: In the formula, Let j be the j-th point in the template point set; For the corresponding point in the scene; Let be the rotation matrix to be determined; Let be the translation vector to be determined; Let be the confidence weight for the j-th point, and the confidence weight is derived from an online point feature library; The number of points participating in the registration; This is the weighted registration error; The formula for generating workpiece gripping points is: In the formula, The nominal grab point for the handle segment on the template; This refers to the deviation of the crawling points in the online library; This refers to the actual gripping point location under the base system; The unit normal vector of the pallet working plane; The unit vector of the workpiece spindle; The axial mixing coefficient is λ≥0; is the unit vector for the approach direction of the gripper.
6. The positioning and placement method according to claim 1, characterized in that, The formula for online updating the confidence level of feature points in step S5 is as follows: In the formula, is the confidence level of the j-th feature point; s∈{0,1} represents the clamping success flag, 1 for success and 0 for failure; This is the residual of the feature point in the registration process in step S4; ηs is the excitation step size when clamping is successful, ηs > 0; For the clamping failure / residual penalty step size, ηf>0; These are the lower and upper bounds of the confidence level, respectively, where 0 ≤ ρmin < ρmax ≤ 1 or the value can be taken according to the project. The limiting function is defined as follows: Ensure that the confidence level does not exceed the limit after the update.
7. The positioning and placement method according to claim 1, characterized in that, The fusion formula for inserting slow layer dip angle compensation in step S7 is as follows: In the formula, The unit vector of the insertion direction obtained from the point cloud estimation of the fixture in this iteration; The unit vector for the nominal insertion direction obtained through teaching; The dip angle parameter of the slow layer; The rotation matrix is constructed for the dip angle of the slow layer; The insertion direction is after merging and normalization.
8. The positioning and placement method according to claim 1, characterized in that, In step S8, a spiral micro-motion trajectory is used for position search; the trajectory expression is: In the formula, The search center is the projection of the slot inlet onto a plane perpendicular to the insertion direction. For the radial gain of the helix, a > 0; To search for the phase angle; Let be a pair of orthogonal unit vectors perpendicular to d, satisfying... ⊥d、 =d× d represents the insertion direction unit vector obtained in S7; The location on the search path; The workpiece is determined to be in place based on multiple criteria, as follows: In the formula, This represents the cumulative displacement of the workpiece along the insertion direction; The threshold for the depth of arrival; The contact force of the workpiece along the insertion direction; The threshold force for engaging the protrusion; This is a marker indicating that the workpiece remains in place after the claw is released; 1 indicates that it remains in place, and 0 indicates that it does not remain in place. Logical OR; To determine the Boolean result for the position, true indicates that the position has been filled, and false indicates that the position has not been filled.
9. The positioning and placement method according to claim 1, characterized in that, In step S9, the slow layer dip angle parameter is updated only when the moving average of the residuals from multiple disk pick-up and drop-off exceeds the threshold τ; the update process is as follows: In the formula, It is the moving average vector of the residuals from multiple disk take-off and put-off operations; The residual threshold for triggering slow updates is τ>0; For slow update step size, γ > 0; This is an indicator function; it takes the value 1 if the condition is true, and 0 otherwise. For the base / ground dip angle of the slow layer parameters; The search center bias parameter is updated based on the positioning determination in step S8, and the search benchmark for the next round is corrected. The update formula is as follows: In the formula, Let be the projection of the convergence displacement of this search onto a plane perpendicular to the insertion direction d; The bias learning rate is μ > 0; This refers to the result of the positioning determination in S8; This will serve as a search center for similar slots in the future.
10. A positioning and placement system, characterized in that, The positioning and placement system is used to perform the workpiece positioning and placement method according to any one of claims 1 to 9, wherein the positioning and placement system includes a robotic arm hardware unit and an industrial control computer software processing unit. The robotic arm hardware unit includes a six-axis industrial robotic arm, a hand-eye 3D camera, grippers, a force / torque sensing unit, a pallet station, and a coating fixture with a flared guide; the grippers are located at the moving end of the robotic arm and are controlled by the robotic arm to move. The hand-eye 3D camera is fixedly mounted on the upper part of the gripper flange and moves synchronously with the gripper; the force / torque sensing unit is integrated into the joint of the robotic arm or inside the gripper. The industrial control computer software processing unit includes a hand-eye 3D vision module, a material picking plane and grid mapping module, a point feature positioning and online update module, a contour clamping module, a fixture verification and insertion direction estimation module, a fault-tolerant card insertion control module, and a closed-loop write-back and parameter library module. Among them, the hand-eye 3D vision module is used to perform steps S1 global observation, S3 close-range fine observation, and S6 fixture side verification, and complete multi-exposure point cloud acquisition, polarization reflection suppression, and point cloud transformation from camera coordinate system to base coordinate system. The material handling plane and grid mapping module is used to execute step S2, and complete pallet plane fitting, tilt angle calculation, slender part screening, and grabbing queue generation. The point feature localization and online update module is used to execute steps S4 and S5 to realize weighted registration of skeleton key points, solving for grasping points, and feature confidence update driven by clamping results. The contouring clamping module drives the contouring jaws to complete the clamping of the workpiece shank and outputs a clamping success / failure confirmation signal. The fixture verification and insertion direction estimation module is used to execute step S7, which integrates the real-time fixture observation vector and the slow layer dip angle compensation to generate a standard insertion coordinate system. The fault-tolerant insertion control module is used to execute step S8, generate a spiral micro-motion search trajectory, perform force-controlled compliant insertion, and identify the insertion status using multiple criteria. The closed-loop write-back and parameter library module is used to execute step S9, store and update the point feature confidence library, slow layer tilt angle parameters, and slot search center offset online, and output loop control commands to the hand-eye 3D vision module.
Citation Information
Patent Citations
Assembly line part positioning and point cloud obtaining method based on machine vision
CN115187556A
