A packaging robot arm control system
Through the position offset monitoring module and path planning module, combined with the image sensor and motion adjustment module, the problem of identification and adaptation of the traditional control system in complex environments is solved, and a more efficient and safer packaging process is achieved.
Patent Information
- Application Number
- CN202410856750.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-28
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2044-06-28
AI Technical Summary
When dealing with complex and changeable production environments, traditional packaging robot arm control systems are not flexible enough and cannot effectively identify and adapt to real-time position changes of packaging items, resulting in robot arm operation errors, increased product loss and production stagnation, and reduced operational safety.
The position offset monitoring module is used to capture packaging line product images through image sensors, analyze key feature information, calculate position deviation, and combine the current position of the robot arm and dynamic information of surrounding obstacles to optimize path planning and action adjustment parameters, and adjust the machinery in real time The movement of the arm ensures that the product is aligned with the packaging position.
It improves the accuracy of product positioning, optimizes packaging efficiency and accuracy, reduces potential downtime and product loss during operation, improves the stability and efficiency of the overall packaging process, and enhances operational safety.
Smart Images

Figure CN118386258B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of automation control technology, and in particular to a packaging robot arm control system. Background Art
[0002] The field of automation and control technology focuses on the design, development and implementation of control systems that automatically operate machinery and equipment without human intervention. The core of the technology field is to increase productivity, reduce human intervention, and improve operational safety. It includes many sub-fields such as industrial automation, process control, quality monitoring and facility management. In an automated control system, sensors, actuators and controllers are key components that work together to ensure smooth workflow and automatic operation of production lines. The systems are widely used in manufacturing, packaging, transportation and service industries, where accurate control systems can greatly improve operating efficiency and reduce resource waste.
[0003] Among them, the packaging robot control system is a specific application of automation control technology in the packaging industry, which is mainly used to control and guide the robot to perform precise packaging tasks. The system can automatically complete the entire process from grabbing, moving to packaging items, significantly improving packaging speed and accuracy and reducing the need for manual operation. Its uses include packaging of food, medicine, cosmetics and electronic products, and are particularly suitable for production environments that require high repeatability and precision. By integrating sensing technology and control algorithms, the packaging robot can adapt to various packaging materials and configuration requirements, providing flexible and efficient packaging solutions.
[0004] Traditional control systems show insufficient flexibility when dealing with complex and changing production environments. When faced with temporary changes or irregular items on the production line, they rely on fixed programs and parameters, lack sufficient response speed and accuracy, and are unable to effectively identify and adapt to the immediate position changes of packaged items, resulting in errors in robot arm operation, increased product loss and production stagnation. When encountering unexpected obstacles, traditional systems are unable to adjust the path in time, reducing operational safety and affecting overall production efficiency. Summary of the invention
[0005] The purpose of the present invention is to solve the shortcomings in the prior art and to propose a packaging robot arm control system.
[0006] In order to achieve the above object, the present invention adopts the following technical solution: a packaging robot arm control system, the system comprising:
[0007] The position deviation monitoring module is based on the packaging production line environment. It uses image sensors to capture product images of the packaging line, analyze the product images, identify key feature information of the images, compare the images with the preset standard product positions, calculate the product position deviation, and obtain the deviation data.
[0008] The path planning module calculates the optimal path for the robot arm to avoid obstacles and move to the target position based on the offset data and the current position of the robot arm and the dynamic information of the surrounding obstacles, and obtains an optimized path planning result;
[0009] The motion adjustment module calculates the adjustment parameters of the robot arm based on the optimization path planning result and the offset data. The adjustment parameters include the rotation angle and speed. The motion of the robot arm is adjusted in real time through the controller to move the product to align the packaging position and obtain the motion adjustment information.
[0010] The optimization control module implements the action adjustment information, collects the robot arm operation data in real time, analyzes the recognition operation efficiency, and monitors the deformation of the product during the recognition operation. According to the differentiated packaging materials and product shapes, the speed and force settings of the robot arm are adjusted to optimize the stability and efficiency of the packaging process and generate parameter optimization information.
[0011] The present invention is improved in that the method for identifying key feature information of an image is:
[0012] Based on the packaging production line environment, the product images of the packaging line are captured by an image sensor to obtain a continuous image sequence set;
[0013] Based on the continuous image sequence set, an edge enhancement operator is constructed, through the formula:
[0014]
[0015] Calculate the edge strength of the image position and identify the image edge features;
[0016] in, Indicates the position in the image The edge strength value of and Represent the row index and column index in the image respectively, and are the weight coefficients for adjusting the horizontal and vertical gradient sensitivity of the image, Indicates at location The horizontal gradient of the image is Indicates at location The vertical gradient of the image;
[0017] Based on the continuous image sequence set, using the corner detection algorithm, through the formula:
[0018]
[0019] Calculate the corner response value and identify the corner features of the image;
[0020] in Represents the corner point response value of the target window in the image, , and is the weight parameter, Represents the second-order matrix of the image target window The determinant of Represents the second-order matrix of the image target window traces;
[0021] Based on the continuous image sequence set, using the texture analysis algorithm, through the formula:
[0022]
[0023] Calculate texture feature values, identify texture features of the image, and integrate them with the corner features and edge features to obtain key feature information of the image;
[0024] in, Indicates the position of the image The texture feature value of Indicates that within the texture window of the image, the gray value and In Location The probability of simultaneous occurrence, is the adjustment parameter, and Represents grayscale value.
[0025] The present invention is improved in that the step of obtaining the offset data is:
[0026] Obtaining preset standard product position data, including standard edge, corner point and texture position information, to obtain standard position information;
[0027] Based on the standard position information, the key feature information of the image is used to extract the position information of the key features of the current product and compare it with the standard position information, through the formula:
[0028]
[0029]
[0030] Calculate the product's offset on the packaging line and obtain the offset data:
[0031] in, and Respectively represent the horizontal and vertical offset of the product on the packaging line. and is the weight factor, and Represents the current position coordinates of the key features in the image, represents the index of the feature, and Represents the coordinates of key features in preset standard product locations, is the exponential parameter, is the total number of features.
[0032] The present invention is improved in that the steps of obtaining the optimization path planning result are:
[0033] Based on the offset data, the current position coordinates of the robot arm and the dynamic information of the surrounding obstacles are collected, including the position, moving speed and expected path of the obstacles, and the potential moving path is identified, and the formula is used:
[0034]
[0035] Calculate the score for each path ;
[0036] in, , and is the weight parameter, Indicates the path Previous The straight-line distance from the point to the target, Indicates the path Previous The distance between the point and the nearest obstacle, Indicates The rating of the path, Indicates The number of points on the path;
[0037] Based on the score of each path , by comparison The value is calculated, and the path with the target score is selected to obtain the optimized path planning result.
[0038] The present invention is improved in that the step of obtaining the action adjustment information is:
[0039] Based on the optimization path planning results and offset data, the formula is:
[0040]
[0041]
[0042] Calculate the adjustment parameters of the robot arm, including the rotation angle adjustment value and speed adjustment value ;
[0043] in, Adjust the value for the rotation angle. is the speed adjustment value, and are the horizontal and vertical offsets respectively, is the speed adjustment factor, and To fine-tune the parameters, is the speed reduction factor;
[0044] Based on the adjustment parameters of the robotic arm, the action of the robotic arm is adjusted in real time through the controller to obtain action adjustment information.
[0045] The present invention is improved in that the method for identifying the operation efficiency is:
[0046] Implement the action adjustment information and collect the robot arm operation data in real time, including the robot arm's movement speed, rotation angle, task time and number of completed tasks;
[0047] Based on the robot arm operation data, through the formula:
[0048]
[0049] Calculating operational efficiency indicators ,Evaluate the operational efficiency of the robotic arm;
[0050] in, is an indicator of operational efficiency, is the standard completion time, is the actual completion time, is the number of completed tasks, is the total number of tasks to be completed, is the time difference, , and is the weight parameter, Represents the base of natural logarithms.
[0051] The present invention is improved in that the method for identifying the deformation of the product during the operation is:
[0052] The image sensor installed on the outside of the robot arm monitors the shape changes of the product during operation in real time, and uses the formula:
[0053]
[0054] Calculate the deformation ;
[0055] in, is the deformation amount, which indicates the degree of deformation of the product during operation. Indicates that the product is in operation The coordinates of the point, Indicates that the product is in the initial state. The coordinates of the point, , and is the weight parameter, is the deformation sensitivity weight coefficient, Indicates the total number of points;
[0056] Based on the deformation , compared with the preset deformation threshold, to identify the deformation amount Whether it exceeds the threshold, whether the deformation is obvious, and obtain the deformation recognition result.
[0057] The present invention is improved in that the step of obtaining the parameter optimization information is:
[0058] Based on the operational efficiency index , through the formula:
[0059]
[0060] Calculate the adjusted speed ;
[0061] in, For the adjusted speed, is the current speed, is the speed adjustment factor, is the correction factor, is the target operating efficiency indicator, is the current operational efficiency indicator;
[0062] Based on the deformation , through the formula:
[0063]
[0064] Calculate the adjusted force ;
[0065] in, To adjust the intensity, is the current strength, is the intensity adjustment coefficient, is the current shape variable, is the maximum allowable deformation, is the deformation correction coefficient;
[0066] Based on the adjusted speed and the adjusted strength , adjust the speed and strength settings of the robotic arm, and generate parameter optimization information.
[0067] Compared with the prior art, the advantages and positive effects of the present invention are:
[0068] In the present invention, through the processing logic of comparing the captured key feature information with the preset standard, the accurate calculation of the product position deviation is achieved, the accuracy of product positioning is improved, the packaging efficiency and accuracy are optimized, and the path planning is performed in combination with the dynamic environmental information, so that the robot arm can flexibly cope with various obstacles in a complex environment, reducing the potential downtime and product loss during operation. The parameters of the robot arm are adjusted to directly respond to the position deviation data, so that the product alignment process is smoother and the physical pressure on the product is reduced. By analyzing the operation data of the robot arm and optimizing the control parameters to adapt to different packaging materials and product shapes, the stability and efficiency of the overall packaging process are improved, the waste of resources is reduced and the operational safety is improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0069] Figure 1 is a system flow chart of the present invention;
[0070] Figure 2 A flow chart of the present invention for identifying key feature information of an image;
[0071] Figure 3 A flow chart for obtaining offset data of the present invention;
[0072] Figure 4 A flow chart for obtaining the optimized path planning result of the present invention;
[0073] Figure 5 A flow chart of obtaining action adjustment information of the present invention;
[0074] Figure 6 A flow chart for identifying operational efficiencies for the present invention;
[0075] Figure 7 A flow chart showing the deformation of a product during the identification operation of the present invention;
[0076] Figure 8 The present invention is a flow chart for obtaining parameter optimization information. DETAILED DESCRIPTION
[0077] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not intended to limit the present invention.
[0078] In the description of the present invention, it should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside" and the like indicate positions or positional relationships based on the positions or positional relationships shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present invention. In addition, in the description of the present invention, the meaning of "plurality" is two or more, unless otherwise clearly and specifically defined. Example
[0079] See also Figure 1 The present invention provides a technical solution: a packaging robot arm control system, the system comprising:
[0080] The position deviation monitoring module is based on the packaging production line environment. It uses image sensors to capture product images of the packaging line, analyze the product images, identify key feature information of the images, including edges, corners and texture information, compare the images with the preset standard product positions, calculate the position deviation of the products, and obtain the deviation data.
[0081] The path planning module calculates the optimal path for the robot to avoid obstacles and move to the target position based on the offset data, combined with the current position of the robot and the dynamic information of the surrounding obstacles, and obtains the optimized path planning result;
[0082] The motion adjustment module calculates the adjustment parameters of the robot arm based on the optimization path planning results and offset data. The adjustment parameters include rotation angle and speed. The controller adjusts the motion of the robot arm in real time, moves the product to align the packaging position, and obtains the motion adjustment information.
[0083] The optimization control module implements motion adjustment information, collects robot arm operation data in real time, analyzes and identifies operation efficiency, and monitors and identifies product deformation during operation. It adjusts the speed and strength settings of the robot arm according to differentiated packaging materials and product shapes, optimizes stability and efficiency during the packaging process, and generates parameter optimization information.
[0084] The offset data includes lateral offset value, longitudinal offset value and angular offset value. The optimized path planning results include the adjusted rotation angle, moving speed and target stopping point. The action adjustment information includes the position deviation before and after adjustment, the time required for adjustment and the expected adjustment effect. The parameter optimization information includes the adjusted speed curve parameters, force adjustment value and material property adaptability.
[0085] See also Figure 2 , the method to identify the key feature information of the image is:
[0086] Based on the packaging production line environment, the product images of the packaging line are captured by an image sensor to obtain a continuous image sequence set;
[0087] Based on the continuous image sequence set, an edge enhancement operator is constructed through the formula:
[0088]
[0089] Calculate the edge strength of the image position and identify the image edge features;
[0090] in, Indicates the position in the image The edge strength value of and Represent the row index and column index in the image respectively, and are the weight coefficients for adjusting the horizontal and vertical gradient sensitivity of the image, Indicates at location The horizontal gradient of the image is Indicates at location The vertical gradient of the image;
[0091] Based on a continuous image sequence set, using the corner detection algorithm, through the formula:
[0092]
[0093] Calculate the corner response value and identify the corner features of the image;
[0094] in Represents the corner point response value of the target window in the image, , and is the weight parameter, Represents the second-order matrix of the image target window The determinant of Represents the second-order matrix of the image target window traces;
[0095] Based on a continuous image sequence set, using texture analysis algorithm, through the formula:
[0096]
[0097] Calculate texture feature values, identify the texture features of the image, and integrate them with corner features and edge features to obtain the key feature information of the image;
[0098] in, Indicates the position of the image The texture feature value of Indicates that within the texture window of the image, the gray value and In Location The probability of simultaneous occurrence, is the adjustment parameter, and Represents grayscale value.
[0099] formula:
[0100]
[0101] Parameter meaning and acquisition method:
[0102] and : is the image in The horizontal and vertical gradients of a position are usually calculated using the Sobel operator, which applies a convolution kernel to a specific area of the image to obtain the gradient value.
[0103] and : It is the adjustment coefficient of edge detection, which is usually set according to the contrast and noise level of the image. In practical applications, the coefficient can be adjusted within a certain range to adapt to different image quality and edge detection requirements.
[0104] Calculation example:
[0105] Assuming that the position , calculated by Sobel operator and Assuming the adjustment coefficient and :
[0106]
[0107] This means that at position The edge strength is 19.3.
[0108] formula:
[0109]
[0110] Parameter meaning and acquisition method:
[0111] and :matrix The determinant and trace of represent the spatial distribution characteristics of the pixel values in the image window. The determinant reflects the intensity of the change in the local area of the image, while the trace provides the total amount of change.
[0112] , and : The coefficient is used to balance the sensitivity and preference of the response function. In practical settings, the coefficient can be set by an expert.
[0113] Calculation example:
[0114] Assumptions and ,set up , ,and :
[0115]
[0116] It shows that the corner point response value in the current window is -8.75, indicating that the possibility of corner points in this area is low.
[0117] formula:
[0118]
[0119] Parameter meaning and acquisition method:
[0120] : Indicates the gray value in the texture window and The probability of co-occurrence can be obtained by statistical gray-level co-occurrence matrix.
[0121] : It is used to balance the denominator in the formula to avoid division by zero. It is usually set to a small positive number, such as 0.01.
[0122] Calculation example:
[0123] Assumptions , , and set :
[0124]
[0125]
[0126]
[0127] Indicates at location The texture eigenvalue is 0.4727.
[0128] See also Figure 3 , the steps to obtain the offset data are:
[0129] Obtaining preset standard product position data, including standard edge, corner point and texture position information, to obtain standard position information;
[0130] Based on the standard position information, the key feature information of the image is used to extract the position information of the key features of the current product and compare it with the standard position information. The formula is:
[0131]
[0132]
[0133] Calculate the product's offset on the packaging line and obtain the offset data:
[0134] in, and Respectively represent the horizontal and vertical offset of the product on the packaging line. and is the weight factor, and Represents the current position coordinates of the key features in the image, represents the index of the feature, and Represents the coordinates of key features in preset standard product locations, is the exponential parameter, is the total number of features.
[0135] formula:
[0136]
[0137]
[0138] Parameter details and how to obtain them:
[0139] Weight Factor and : Factors are used to adjust the influence of each key feature when calculating the offset. The weighting factors are optimized based on previous production data and quality control testing to ensure that they reflect the actual importance of the feature.
[0140] Feature Location : It is the current position coordinates extracted from the real-time captured image by image processing algorithms. The position is determined by applying edge detection and corner recognition techniques.
[0141] Standard position :The standard position coordinates are obtained from the design specifications or preset product templates, indicating the position where each key feature should be located under ideal conditions.
[0142] Index parameters : Parameter used to weight larger deviations and enhance the sensitivity of the offset. Set based on historical correction data to suit different products and production line conditions.
[0143] Total number of features : The total number of features is predetermined and is the number of key features based on product design and quality control requirements.
[0144] Calculation example:
[0145] Set specific parameter values to perform calculation examples:
[0146] Assume that there are three key features ( ). Weight factor ; .index .
[0147] The characteristic and standard positions are as follows:
[0148] ;
[0149] ;
[0150] ;
[0151] Calculate the offset:
[0152]
[0153]
[0154]
[0155]
[0156]
[0157]
[0158]
[0159]
[0160] The calculation example ensures the accuracy and adaptability of the calculated offset, which is suitable for the high requirements of product position accuracy in the actual production environment.
[0161] See also Figure 4 , the steps to obtain the optimized path planning results are:
[0162] Based on the offset data, the current position coordinates of the robot arm and the dynamic information of the surrounding obstacles are collected, including the position, moving speed and expected path of the obstacles, and the potential moving path is identified, and the formula is used:
[0163]
[0164] Calculate the score for each path ;
[0165] in, , and is the weight parameter, Indicates the path Previous The straight-line distance from the point to the target, Indicates the path Previous The distance between the point and the nearest obstacle, Indicates The rating of the path, Indicates The number of points on the path;
[0166] Based on the score of each path , by comparison The value is calculated, and the path with the target score is selected to obtain the optimized path planning result.
[0167] formula:
[0168]
[0169] Parameter details and how to obtain them: , and : Weight coefficients are used to adjust the sensitivity and responsiveness of the path score. They are usually adjusted based on historical data and simulation tests to suit the specific operating environment and performance requirements of the robot arm. For example, a larger Increased the weight of the direct distance to the target in the path score, while and Adjusts the influence of obstacle distance.
[0170] : Straight line distance The calculation from the current position of the robot arm to the target position is usually obtained through the Euclidean distance formula in two-dimensional or three-dimensional space.
[0171] : Obstacle distance It is determined by real-time sensor data, which monitors the surrounding environment and updates the position and motion status of obstacles.
[0172] : The number of points on the path Based on the complexity of the task and the level of detail of the environment, each point is a computational node in the path decision process.
[0173] Calculation example:
[0174] Assume that the specific parameters involved in the robot arm path planning are as follows:
[0175] Weight coefficient: , ,
[0176] Number of points on the path:
[0177] The distance from each point to the target: rice, rice, rice
[0178] The distance from each point to the obstacle: rice, rice, rice
[0179] According to the given parameters and formula:
[0180]
[0181]
[0182]
[0183] The calculation example shows how to use the improved formula to calculate the path score of the robot arm based on the given path and environment parameters. The total score is 22.67, which is a quantitative value used to evaluate the feasibility and safety of the path.
[0184] See also Figure 5 , the steps for obtaining action adjustment information are:
[0185] Based on the optimized path planning results and offset data, the formula is:
[0186]
[0187]
[0188] Calculate the adjustment parameters of the robot arm, including the rotation angle adjustment value and speed adjustment value ;
[0189] in, Adjust the value for the rotation angle. is the speed adjustment value, and are the horizontal and vertical offsets respectively, is the speed adjustment factor, and To fine-tune the parameters, is the speed reduction factor;
[0190] Based on the adjustment parameters of the robot arm, the movement of the robot arm is adjusted in real time through the controller to obtain movement adjustment information.
[0191] formula:
[0192]
[0193]
[0194] Parameter details and how to obtain them:
[0195] and : Horizontal and vertical offsets, obtained directly from the offset data, represent the distance difference from the current position to the target position in the horizontal and vertical directions.
[0196] : Speed adjustment coefficient, preset according to the performance and operation requirements of the robot arm.
[0197] and : Fine-tuning parameters for angle calculation, used to handle sensor errors or special situations in actual operation to ensure the accuracy of calculated angles, which can be preset by experts based on historical data.
[0198] : Speed reduction factor, used to adjust the movement speed of the robot arm to prevent operational risks caused by excessive speed. It is preset according to the operating specifications of the robot arm.
[0199] Calculation example:
[0200] Assume the following parameter values:
[0201]
[0202]
[0203]
[0204]
[0205]
[0206]
[0207] Calculate the rotation angle :
[0208]
[0209] Calculation speed :
[0210]
[0211]
[0212]
[0213]
[0214]
[0215]
[0216] The calculation shows how to determine the motion adjustment of the robot arm based on the actual offset and preset parameters, including the required rotation angle and appropriate movement speed.
[0217] See also Figure 6 , the method to identify the efficiency of operation is:
[0218] Implement action adjustment information and collect real-time robot arm operation data, including robot arm movement speed, rotation angle, task time and number of completed tasks;
[0219] Based on the robot arm operation data, through the formula:
[0220]
[0221] Calculating operational efficiency indicators ,Evaluate the operational efficiency of the robotic arm;
[0222] in, is an indicator of operational efficiency, is the standard completion time, is the actual completion time, is the number of completed tasks, is the total number of tasks to be completed, is the time difference, , and is the weight parameter, Represents the base of natural logarithms.
[0223] formula:
[0224]
[0225] Parameter details and how to obtain them:
[0226] , and : and It is a weighted index used to adjust the influence of the ratio of standard completion time to actual completion time and the ratio of completed tasks to total tasks on the final efficiency score. The parameters are usually set based on historical data and expected performance. It is the time excess penalty coefficient, which is used in the exponential decay part to emphasize the negative effect of the actual operation time exceeding the standard time.
[0227] Standard completion time and actual completion time : It is the time set in advance according to the predetermined task flow plan. It is the actual time required for the robotic arm to complete the same task, which is obtained through real-time monitoring of sensors and operation logs.
[0228] Number of completed tasks and the total number of tasks : It is the number of tasks actually completed by the robot arm within a specific period of time, recorded through the system log. It is the total number of tasks that the robot should complete within this time period, usually determined by the production plan.
[0229] Time difference : Actual completion time and standard completion time The time difference is calculated as .
[0230] Calculation example:
[0231] Assume the following scenario and parameter values:
[0232] Minutes (standard time to complete all tasks)
[0233] Minutes (actual time to complete all tasks)
[0234] (Actual number of completed tasks)
[0235] (Total number of tasks)
[0236] , , (Set weights and penalty coefficients)
[0237] Calculate operational efficiency :
[0238]
[0239]
[0240]
[0241]
[0242]
[0243] In the calculation example, the operating efficiency of the robot arm is calculated using given parameters and assumed actual conditions. The calculation results show that the efficiency score of the robot arm is greatly reduced because the actual completion time significantly exceeds the standard time.
[0244] See also Figure 7 , the method to identify the deformation of the product during operation is:
[0245] The image sensor installed on the outside of the robot arm monitors the shape changes of the product during operation in real time, and uses the formula:
[0246]
[0247] Calculate the deformation ;
[0248] in, is the deformation amount, which indicates the degree of deformation of the product during operation. Indicates that the product is in operation The coordinates of the point, Indicates that the product is in the initial state. The coordinates of the point, , and is the weight parameter, is the deformation sensitivity weight coefficient, Indicates the total number of points;
[0249] Based on shape , compared with the preset deformation threshold, and the deformation amount is identified Whether it exceeds the threshold, whether the deformation is obvious, and obtain the deformation recognition result.
[0250] formula:
[0251]
[0252] Parameter details and how to obtain them:
[0253] Product coordinates :The product is in operation The real-time coordinates of a point are captured and recorded in real time by sensors such as laser scanners and high-resolution cameras.
[0254] Initial coordinates :The product is in the initial state The coordinates of a point. Obtained from the initial scan or design drawing, used as a basis for deformation calculation.
[0255] Weight Parameters , and :Used to adjust the sensitivity in each coordinate direction. Set according to product shape and operation requirements to ensure that deformation in different directions is properly considered.
[0256] Deformation sensitivity weight coefficient :Used to adjust the sensitivity of deformation calculation. Set according to the operation precision requirements to ensure the accuracy and sensitivity of deformation detection.
[0257] Calculation example:
[0258] Assume the following parameter values:
[0259] Number of sampling points
[0260] Initial coordinates , ,
[0261] Real-time coordinates , ,
[0262] Weight Parameters , ,
[0263] Deformation Sensitivity Weight
[0264] Calculate the deformation :
[0265]
[0266]
[0267]
[0268] In the calculation example, the calculated deformation is 0.3.
[0269] See also Figure 8 , the steps to obtain parameter optimization information are:
[0270] Based on operational efficiency indicators , through the formula:
[0271]
[0272] Calculate the adjusted speed ;
[0273] in, For the adjusted speed, is the current speed, is the speed adjustment factor, is the correction factor, is the target operating efficiency indicator, is the current operating efficiency indicator;
[0274] Based on shape , through the formula:
[0275]
[0276] Calculate the adjusted force ;
[0277] in, To adjust the intensity, is the current strength, is the intensity adjustment coefficient, is the current shape variable, is the maximum allowable deformation, is the deformation correction coefficient;
[0278] Based on the adjusted speed and the adjusted strength , adjust the speed and strength settings of the robotic arm, and generate parameter optimization information.
[0279] formula:
[0280]
[0281]
[0282] Parameter details and how to obtain them:
[0283] : Current speed, obtained through real-time monitoring data of the robotic arm.
[0284] : Speed adjustment coefficient is determined based on historical operating data and experimental adjustments to ensure that the adjusted speed is reasonable.
[0285] :Speed adjustment correction factor, through the analysis and setting of the operating environment and robot arm performance, provides more accurate speed adjustment.
[0286] : Target operating efficiency indicator. Set by production planning and goals.
[0287] : Current operation efficiency index. Calculated by the previous steps.
[0288] : The current force is obtained through the real-time monitoring data of the robotic arm.
[0289] : Strength adjustment coefficient. Determined based on historical operation data and experimental adjustments to ensure that the adjusted strength is reasonable.
[0290] : Current deformation, obtained by real-time monitoring of product deformation data.
[0291] :The maximum allowable deformation. It is set according to product design and process requirements, as well as product material and product shape.
[0292] :Deformation correction coefficient. Through the analysis and setting of the product and operating environment, more precise force adjustment is provided.
[0293] Calculation example:
[0294] Speed adjustment calculation example:
[0295] Assume the following parameter values:
[0296] m / s
[0297]
[0298]
[0299]
[0300]
[0301] Calculate the difference ratio between the target operating efficiency and the current operating efficiency:
[0302] Enter the parameter value:
[0303]
[0304] Calculation speed adjustment part:
[0305] Enter the parameter value:
[0306]
[0307] Calculation speed:
[0308]
[0309] Velocity Adjustment Calculation Example
[0310] Assume the following parameter values:
[0311] N
[0312]
[0313]
[0314]
[0315]
[0316] The calculation process is as follows:
[0317] Calculate the deformation ratio:
[0318] Enter the parameter value:
[0319]
[0320] Calculation strength adjustment part:
[0321] Enter the parameter value:
[0322]
[0323] Calculate the new force:
[0324]
[0325] Through the above calculations, it is ensured that the operating speed and strength of the robotic arm can be dynamically adjusted according to real-time data, thereby optimizing the stability and efficiency of the packaging process.
[0326] The above are only preferred embodiments of the present invention and are not intended to limit the present invention in other forms. Any technician familiar with the profession may use the technical contents disclosed above to change or modify them into equivalent embodiments with equivalent changes and apply them to other fields. However, any simple modification, equivalent change and modification made to the above embodiments based on the technical essence of the present invention without departing from the technical solution of the present invention still falls within the protection scope of the technical solution of the present invention.
Claims
1. A packaging robot arm control system, characterized in that: The system comprises: The position deviation monitoring module is based on the packaging production line environment. It uses image sensors to capture product images of the packaging line, analyze the product images, identify key feature information of the images, compare the images with the preset standard product positions, calculate the product position deviation, and obtain the deviation data. The path planning module calculates the optimal path for the robot arm to avoid obstacles and move to the target position based on the offset data and the current position of the robot arm and the dynamic information of the surrounding obstacles, and obtains an optimized path planning result; The motion adjustment module calculates the adjustment parameters of the robot arm based on the optimization path planning result and the offset data. The adjustment parameters include the rotation angle and speed. The motion of the robot arm is adjusted in real time through the controller to move the product to align the packaging position and obtain the motion adjustment information. The optimization control module implements the action adjustment information, collects the robot arm operation data in real time, analyzes the recognition operation efficiency, and monitors the deformation of the product during the recognition operation. According to the differentiated packaging materials and product shapes, the speed and strength settings of the robot arm are adjusted to optimize the stability and efficiency of the packaging process and generate parameter optimization information; The method for identifying the key feature information of an image is: Based on the packaging production line environment, the product images of the packaging line are captured by an image sensor to obtain a continuous image sequence set; Based on the continuous image sequence set, an edge enhancement operator is constructed, through the formula: ; Calculate the edge strength of the image position and identify the image edge features; in, Indicates the position in the image The edge strength value of and Represent the row index and column index in the image respectively, and are the weight coefficients for adjusting the horizontal and vertical gradient sensitivity of the image, Indicates at location The horizontal gradient of the image is Indicates at location The vertical gradient of the image; Based on the continuous image sequence set, using the corner detection algorithm, through the formula: ; Calculate the corner response value and identify the corner features of the image; in Represents the corner point response value of the target window in the image, , and is the weight parameter, Represents the second-order matrix of the image target window The determinant of Represents the second-order matrix of the image target window traces; Based on the continuous image sequence set, using the texture analysis algorithm, through the formula: ; Calculate texture feature values, identify texture features of the image, and integrate them with the corner features and edge features to obtain key feature information of the image; in, Indicates the position of the image The texture feature value of Indicates that within the texture window of the image, the gray value and In Location The probability of simultaneous occurrence, is the adjustment parameter, and Represents grayscale value; The steps for obtaining the offset data are: Obtaining preset standard product position data, including standard edge, corner point and texture position information, to obtain standard position information; Based on the standard position information, the key feature information of the image is used to extract the position information of the key features of the current product and compare it with the standard position information, through the formula: ; ; Calculate the product's offset on the packaging line and obtain the offset data: in, and Respectively represent the horizontal and vertical offset of the product on the packaging line. and is the weight factor, and Represents the current position coordinates of the key features in the image, represents the index of the feature, and Represents the coordinates of key features in preset standard product locations, is the exponential parameter, is the total number of features; The steps for obtaining the optimization path planning result are: Based on the offset data, the current position coordinates of the robot arm and the dynamic information of the surrounding obstacles are collected, including the position, moving speed and expected path of the obstacles, and the potential moving path is identified, and the formula is used: ; Calculate the score for each path ; in, , and is the weight parameter, Indicates the path Previous The straight-line distance from the point to the target, Indicates the path Previous The distance between the point and the nearest obstacle, Indicates The rating of the path, Indicates The number of points on the path; Based on the score of each path , by comparison The value is large or small, and the path with the target score is selected to obtain the optimized path planning result; The steps for obtaining the action adjustment information are: Based on the optimization path planning results and offset data, the formula is: ; ; Calculate the adjustment parameters of the robot arm, including the rotation angle adjustment value and speed adjustment value ; in, Adjust the value for the rotation angle. is the speed adjustment value, and are the horizontal and vertical offsets respectively, is the speed adjustment factor, and To fine-tune the parameters, is the speed reduction factor; Based on the adjustment parameters of the robotic arm, the controller adjusts the movement of the robotic arm in real time to obtain movement adjustment information; The method for identifying operation efficiency is: Implement the action adjustment information and collect the robot arm operation data in real time, including the robot arm's movement speed, rotation angle, task time and number of completed tasks; Based on the robot arm operation data, through the formula: ; Calculating operational efficiency indicators ,Evaluate the operational efficiency of the robotic arm; in, is an indicator of operational efficiency, is the standard completion time, is the actual completion time, is the number of completed tasks, is the total number of tasks to be completed, is the time difference, , and is the weight parameter, represents the base of natural logarithms; The method for identifying the deformation of the product during the operation is: The image sensor installed on the outside of the robot arm monitors the shape changes of the product during operation in real time, and uses the formula: ; Calculate the deformation ; in, is the deformation amount, which indicates the degree of deformation of the product during operation. Indicates that the product is in operation The coordinates of the point, Indicates that the product is in the initial state. The coordinates of the point, , and is the weight parameter, is the deformation sensitivity weight coefficient, Indicates the total number of points; Based on the deformation , compared with the preset deformation threshold, to identify the deformation amount Whether it exceeds the threshold, judge whether the deformation is obvious, and obtain the deformation recognition result; The steps for obtaining the parameter optimization information are as follows: Based on the operational efficiency index , through the formula: ; Calculate the adjusted speed ; in, For the adjusted speed, is the current speed, is the speed adjustment factor, is the correction factor, is the target operating efficiency indicator, is the current operating efficiency indicator; Based on the deformation , through the formula: ; Calculate the adjusted force ; in, To adjust the intensity, is the current strength, is the intensity adjustment coefficient, is the current shape variable, is the maximum allowable deformation, is the deformation correction coefficient; Based on the adjusted speed and the adjusted strength , adjust the speed and strength settings of the robotic arm, and generate parameter optimization information.
