Method and system for preventing collision of robot arm and robot arm collision prevention device
By constructing an adaptive safety envelope and a multi-source arbitration matrix, the problem of damage to the robot or the sheet metal caused by insufficient inertial compensation due to sheet warping deformation in the robot anti-collision system was solved. This achieved efficient and stable collaborative motion control of the robot, improving production efficiency and equipment safety.
Patent Information
- Application Number
- CN202611695425.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2026-10-30
- Publication Date
- 2026-11-27
AI Technical Summary
In high-precision, high-cycle warp detection scenarios, existing technologies for robotic arm anti-collision systems suffer from several drawbacks. They fail to recognize motion trends, resulting in numerous erroneous actions that severely impact production cycle time. They also lack dynamic compensation for system control delays and load inertia, ignore the effects of sheet material warp deformation, leading to damage to the robotic arm or sheet material. Furthermore, they lack a unified arbitration mechanism for multi-axis anti-collision commands, which can easily cause control conflicts and system deadlocks.
By constructing an adaptive safety envelope, combining the incremental warping deformation of the sheet metal, dynamically adjusting the safety boundary, monitoring the relative approach speed, calculating mass inertia and system delay compensation, generating graded response judgment results, and using a multi-source anti-collision command arbitration matrix for unified adjudication, outputting smooth deceleration or emergency stop commands, avoiding ineffective stops in low-risk situations, and ensuring safe braking in high-risk situations.
It enables real-time adaptation to board warping deformation, reduces missed detections and false triggers in the robot anti-collision system, lowers equipment downtime frequency, improves production efficiency and equipment stability, and avoids mechanical impacts and material drops.
Smart Images

Figure CN123169153A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the technical field of industrial program control, specifically to a method and system for preventing collisions with a robotic arm, and a device for preventing collisions with a robotic arm. Background Technology
[0002] In the field of automated circuit board (PCB) and various industrial board material quality inspection, board bending and warping inspection machines often adopt a multi-axis collaborative operation mode. Taking a dual-inspection-position inspection machine as an example, it typically integrates a first robotic arm for loading and transferring boards, a flipping mechanism for flipping boards, a second robotic arm for unloading and transferring boards, and a linear inspection module equipped with a contour detector.
[0003] To improve detection efficiency, the first and second robotic arms often work in the same horizontal spatial track or highly overlapping motion areas, resulting in frequent scenarios of opposing movements.
[0004] In the software control system of related technologies, the following two mechanisms are mainly used for collision protection of such multi-manipulators: 1. Static area interlock mechanism: A fixed safety area (overlapping area) is set in the control logic. When robot A enters the overlapping area, the motion enable of robot B is forcibly locked until robot A completely leaves the overlapping area and triggers the position sensor, at which point robot B is allowed to start.
[0005] 2. Hard braking mechanism based on fixed threshold distance: The real-time straight distance between the two robotic arms is calculated by laser photoelectric sensors or encoders. When the measured distance is less than the set hard safety distance threshold, the system directly sends an emergency stop command to the servo driver.
[0006] While the aforementioned technologies can prevent hard collisions between mechanical components, they have the following drawbacks in high-precision, high-rate-time warp detection scenarios: (1) Unable to identify movement trends, resulting in numerous erroneous actions and severe loss of production rhythm: Traditional static area interlocking employs an absolute waiting strategy of "one moving, one stationary," resulting in the robotic arm remaining in an ineffective waiting state even when there is no risk of collision. In contrast, fixed-distance braking mechanisms only detect absolute distance, ignoring relative motion direction and relative velocity vectors. When two robotic arms move toward each other at extremely high relative speeds (approaching each other), the fixed distance threshold often cannot complete the deceleration and braking in time, posing a risk of collision. Even if there is no risk of collision when the two robotic arms move in the same direction or move away from each other, the system may still falsely trigger the brake alarm, causing unnecessary equipment shutdown and greatly reducing the overall inspection efficiency of the equipment.
[0007] (2) The lack of dynamic compensation for system control delay and load inertia poses a safety hazard: Collision avoidance algorithms in related technologies typically assume that the braking process is an ideal physical process, neglecting the calculations by the host computer software, the lag in industrial bus communication, and the response delay of the servo machinery. Furthermore, the total inertia of the robot arm differs significantly between its "unloaded" and "loaded with heavy / large warped materials" states. During high-speed, opposing movement and when loading heavy materials, the increased inertia and delayed response make overshooting highly likely when braking at a fixed distance, potentially leading to collision damage to the robot arm or the material.
[0008] (3) The impact of the warping deformation of the board material itself on the physical safety boundary was ignored: Traditional collision avoidance mechanisms simply treat the robotic arm itself as a fixed rigid body envelope for collision avoidance calculations. However, in bending and warping inspection machines, the material being tested may have severe bending or warping deformation (three-dimensional protrusions or edge expansion).
[0009] The algorithm of the relevant technology does not incorporate the real-time three-dimensional warping deformation characteristics of the board into the safety envelope of the robot, resulting in the potential danger that "the edges of the warped boards that are adsorbed by the robot body are scratched and damaged in space even though the robot body is not in contact with them, resulting in a large blind spot in protection."
[0010] (4) Emergency stop anti-collision systems are prone to mechanical impact and material falling: The collision avoidance response of related technologies is mostly a hard stop with a "neither zero nor one" response. When a robotic arm suddenly brakes hard at high speed, it will generate huge mechanical vibration and reverse impact. This will not only reduce the service life of high-precision linear modules and servo systems, but will also easily cause the vacuum-adsorbed sheet material to shift, fall off, or even break due to huge inertia.
[0011] (5) The lack of a unified arbitration mechanism for multi-axis collision avoidance commands can easily lead to control conflicts and system deadlock. Inside the bend and warp inspection machine, there is a high-density collaborative operation scenario involving multiple axes, including a first robotic arm, a second robotic arm, a flipping mechanism, and an inspection module. The collision avoidance logic of related technologies is mostly based on an independent one-to-one evaluation of a single pair of moving parts (e.g., only between two robotic arms or only between a robotic arm and a flipping mechanism).
[0012] When three or more moving parts simultaneously pose a risk of spatial interference, their independent collision avoidance algorithms are prone to outputting conflicting control commands (for example, a flipping mechanism simultaneously receiving a "reverse to the right" command from the first robotic arm and a "stop to the left" command from the second robotic arm). The lack of a unified arbitration mechanism for multi-source collision avoidance commands in related technologies can not only cause servo drives to crash due to command conflicts, but also lead to multi-axis deadlock phenomena where they wait for each other in complex interference scenarios, severely impacting the continuous operational stability of the equipment.
[0013] In conclusion, the relevant technologies have not yet provided corresponding technical solutions and can no longer meet people's requirements. Summary of the Invention
[0014] The main objective of this application is to provide a method and system for preventing collisions with a robotic arm, as well as a device for preventing collisions with a robotic arm, in order to solve the problems existing in the related technologies.
[0015] The embodiments of this application are implemented using the following technical solutions: According to one aspect of the embodiments of this application, a collision avoidance method for a robotic arm is provided, comprising: constructing a corresponding rigid body envelope reference space based on the real-time position coordinates and external dimensions of a first robotic arm and a second robotic arm; dynamically expanding the rigid body envelope reference space and adding a safety margin buffer value to generate an adaptive safety envelope; collecting the real-time speed and position information of the robotic arms by monitoring the spatial positional relationship of the adaptive safety envelope, calculating the relative approach speed; triggering or deactivating the collision avoidance prediction and calculation process according to the relative approach speed; obtaining the allowable braking deceleration after mass inertia compensation and the total system delay compensation based on the current speed information after triggering; calculating the minimum safe physical distance and combining it with the envelope half-width. The collision prediction time is calculated by summing the degrees. Based on the distance comparison result or the comparison result between the collision prediction time and the threshold, a graded response judgment result is generated. The graded response judgment result is mapped to a multi-source anti-collision command arbitration matrix, and a unified adjudication output command is obtained based on a preset priority order. Based on the kinetic energy avoidance principle, the translational robot is prioritized to perform deceleration and retreat. Based on the deadlock detection result and the station timing priority, the robot at the next station is controlled to retreat, and a deadlock release command is obtained. Using the unified adjudication output command and the deadlock release command, a final execution command is generated and issued: for smooth deceleration commands, an S-curve control strategy is used to reduce the speed limit; for emergency stop commands, a soft brake control signal is output.
[0016] According to at least one specific embodiment of the present application, the characteristic parameters on which the dynamic expansion is based include: the maximum warping height increment of the plate and the expansion amount of the plate outside the edges of the two horizontal orthogonal axes due to bending; the dynamic expansion of the rigid body envelope reference space is specifically as follows: the vertical boundary of the envelope is expanded bidirectionally up and down based on the maximum warping height increment of the plate, and the corresponding horizontal boundary of the envelope is expanded outward based on the expansion amount outside the edges of the two horizontal orthogonal axes.
[0017] According to at least one specific embodiment of the present application, the discrimination rule of the relative approach speed further includes: if the relative approach speed is greater than zero, it is determined that the two are moving towards each other and the collision avoidance prediction calculation process is triggered; if the relative approach speed is not greater than zero, it is determined that they are moving in the same direction or moving away from each other, the collision avoidance warning is lifted and the current planned trajectory is maintained and continues to run; the monitoring timing of the spatial position relationship is specifically: when the two adaptive safety envelopes are on the same horizontal axis or in the spatial overlapping area, it is activated.
[0018] According to at least one specific embodiment of the present application, the total system delay compensation is obtained by calculating the cycle, industrial bus transmission cycle and servo response lag time through an accumulation algorithm. The allowable braking deceleration after mass inertia compensation is adjusted according to whether the robot arm is currently adsorbing the board and the mass of the adsorbed board.
[0019] According to at least one specific embodiment of the present application, the minimum safe physical distance is the safe distance required for emergency braking, and the collision prediction time is expressed as the difference between the real-time physical distance at the current moment and the sum of the half-widths of the envelopes of the two manipulators along the direction of motion, divided by the relative approach speed of the two manipulators; the preset safety factor is a constant coefficient greater than 1, used to divide the distance threshold boundary between the smooth deceleration stage and the normal operation stage.
[0020] According to at least one specific embodiment of the present application, the generation rule of the graded response determination result further includes: generating an emergency stop command when the actual physical distance is less than or equal to the minimum safe physical distance, or the collision prediction time is less than a preset threshold; generating a smooth deceleration command when the actual physical distance is greater than the minimum safe physical distance but less than the minimum safe physical distance of a preset safety multiple; and generating a command to maintain continued operation when the actual physical distance is greater than or equal to the minimum safe physical distance of the preset safety multiple.
[0021] According to at least one specific embodiment of the present application, the preset priority order of the multi-source collision avoidance command arbitration matrix further includes: emergency stop level is higher than deceleration and retreat level, deceleration and retreat level is higher than smooth speed limit level, and smooth speed limit level is higher than normal operation level; when the flipping mechanism simultaneously receives a smooth speed limit request from the first manipulator and an emergency stop request from the second manipulator, the multi-source collision avoidance command arbitration matrix forcibly outputs a unified emergency stop command.
[0022] According to at least one specific embodiment of the present application, the S-curve control strategy is a speed curve control method with limited jerk, which gradually reduces the maximum operating speed limit of the relevant moving parts to restore the actual physical distance to a safe range; after the soft brake control signal is output, the moving parts stop and remain in a locked state; the deadlock detection is used to detect that each moving part enters a logical deadlock state of mutual waiting, and the downstream workstation robot is a second robot.
[0023] According to another aspect of the embodiments of this application, a robot arm collision avoidance system is provided for implementing the robot arm collision avoidance method, comprising: an adaptive safety envelope generation module, which constructs a corresponding rigid body envelope reference space based on the real-time position coordinates and external dimensions of a first robot arm and a second robot arm, dynamically expands the rigid body envelope reference space and adds a safety margin buffer value to generate an adaptive safety envelope; and a graded response and judgment result generation module, which collects the real-time speed and position information of the robot arm by monitoring the spatial positional relationship of the adaptive safety envelope, calculates the relative approach speed, triggers or deactivates the collision avoidance prediction calculation process according to the relative approach speed, obtains the allowable braking deceleration after mass inertia compensation and the total system delay compensation amount based on the current speed information after triggering, and calculates the minimum safe physical collision avoidance method. The collision prediction time is calculated by combining the spacing with the sum of the envelope half-widths. Based on the spacing comparison result or the comparison result of the collision prediction time and the threshold, a graded response judgment result is generated. The deadlock release command acquisition module maps the graded response judgment result to the multi-source anti-collision command arbitration matrix and obtains a unified adjudication output command based on a preset priority order. Based on the kinetic energy avoidance principle, the translational robot is prioritized to perform deceleration and retreat. Based on the deadlock detection result and the station timing priority, the robot at the next station is controlled to retreat, and a deadlock release command is obtained. The final execution command generation and issuance module uses the unified adjudication output command and the deadlock release command to generate and issue the final execution command: for smooth deceleration commands, an S-curve control strategy is used to reduce the speed limit; for emergency stop commands, a soft brake control signal is output.
[0024] According to another aspect of the embodiments of this application, a robot arm anti-collision device is provided, wherein the robot arm anti-collision system is provided in the robot arm anti-collision device.
[0025] The beneficial technical effects of the embodiments of this application are: In the robot anti-collision method provided in this application embodiment, the real-time position, external dimensions and the increase in warping deformation of the sheet are all included in the safety boundary. By constructing an adaptive safety envelope that adjusts in real time with load deformation, and based on this, the trend is judged by the relative approach speed, and the mass inertia and system delay are included in the braking calculation. This achieves the purpose of judging based on the actual occupancy and actual braking capacity, thereby reducing both missed judgments and false triggers, suppressing invalid speed limits, and solving the technical problem of inaccurate judgment caused by the fixed envelope being unable to adapt to sheet warping and the braking estimation not considering load and delay.
[0026] In the robot collision avoidance method provided in this application embodiment, a multi-source arbitration matrix is used to make unified decisions and execute them according to risk levels. By outputting unique instructions according to priority, arranging the translation robot to retreat first according to the difference in kinetic energy, forcing the subsequent workstation to retreat in the deadlock state, and applying S-curve speed limit at the smooth deceleration stage and outputting servo soft brake at the emergency stop stage, the actions of multiple parties can be coordinated to control the avoidance force and match the corresponding risk. This reduces instruction conflicts and mechanical impact, and achieves the technical effect of not stopping the machine in low-risk situations and braking only in high-risk situations. This avoids the technical problems of poor coordination and limited protection capabilities caused by independent decision-making and single execution methods of each component in related technologies. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the specific implementation methods or related technologies of this application, the accompanying drawings used in the description of the specific implementation methods or related technologies will be briefly introduced below. Obviously, the accompanying drawings described below are only some implementation methods of the embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0028] Figure 1 This is a schematic diagram of the anti-collision interference zone of the multi-axis mechanism of the sheet metal bending and warping testing machine.
[0029] Figure 2 This is a flowchart of a collision avoidance method for robotic arms.
[0030] Figure 3 This is an architecture diagram of a robotic arm collision avoidance system. Detailed Implementation
[0031] To enable those skilled in the art to better understand the embodiments of this application, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the implementation methods of the embodiments of this application, and not all of the implementation methods. Based on the embodiments of this application, all other embodiments obtained by those of ordinary skill in the art without creative effort should fall within the protection scope of the embodiments of this application.
[0032] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of the embodiments of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate for the embodiments of the present application described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion; for example, a process, method, system, product, or device that includes a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to these processes, methods, products, or devices.
[0033] Explanation of reference numerals in the attached figures: 1. First robotic arm; 2. Tilting mechanism; 3. Second robotic arm; 4. Collision-avoidance zone.
[0034] like Figure 1 As shown, Figure 1 The device includes: a first robotic arm 1, a flipping mechanism 2, a second robotic arm 3, and a collision avoidance zone 4. The travel distances of the first robotic arm 1, the flipping mechanism 2, and the second robotic arm 3 overlap and intersect within the collision avoidance zone 4. During the operation of the device, there is a risk of mechanical collision within the collision avoidance zone 4. The collision avoidance control method provided in this application embodiment is used to limit the synchronous movement of the robotic arm and the flipping mechanism 2 within the collision avoidance zone 4 to avoid collisions between the mechanisms.
[0035] like Figure 2 The robotic arm collision avoidance methods shown include: Step S1: Based on the real-time position coordinates and external dimensions of the first and second manipulators, construct a corresponding rigid body envelope reference space, dynamically expand the rigid body envelope reference space and add a safety margin buffer value to generate an adaptive safety envelope.
[0036] Step S2: By monitoring the spatial positional relationship of the adaptive safety envelope, the real-time speed and position information of the robot are collected, the relative approach speed is calculated, and the collision prediction calculation process is triggered or deactivated based on the relative approach speed. Based on the current speed information after triggering, the allowable braking deceleration after mass inertia compensation and the total system delay compensation are obtained. The minimum safe physical distance is calculated and the collision prediction time is calculated by combining the sum of the half width of the envelope. Based on the distance comparison result or the comparison result of the collision prediction time and the threshold, a graded response judgment result is generated.
[0037] Step S3: Map the graded response judgment result to the multi-source collision avoidance command arbitration matrix, and obtain a unified adjudication output command based on a preset priority order; based on the kinetic energy avoidance principle, prioritize controlling the translational robot to perform deceleration and retreat; based on the deadlock detection result and the station timing priority, control the subsequent station robot to retreat, and obtain a deadlock release command. In this step, the translational robot is any one or both of the first and second robots.
[0038] Step S4: Using the unified decision output command and the deadlock release command, generate the final execution command and issue it: For the smooth deceleration command, adopt the S-curve control strategy to reduce the speed limit; for the emergency stop command, output the soft brake control signal.
[0039] The technical solutions provided in steps S1 to S4 transform the safety boundary for robot collision avoidance from a fixed rigid body range to a dynamic range that adjusts in real time with load deformation. Based on this, collision determination, braking calculation, multi-party arbitration, and graded execution are integrated into a continuous closed-loop control link. Instead of relying on the independent emergency stop of a single robot as a protection measure, the dual robots and the tilting mechanism are treated as a single collaborative entity. First, an adaptive safety envelope that expands with the warping of the sheet metal is used to uniformly describe the actual occupancy of each moving part. Then, the possibility of a collision is determined based on the relative proximity trend. Furthermore, mass inertia, system delay, and envelope half-width are incorporated into the quantitative processing of braking requirements and collision time, ensuring that the determination result closely reflects the actual braking capacity of the equipment. When both the robot and the tilting mechanism have interference risks, unified arbitration replaces their individual decisions. The avoidance order is determined according to priority, kinetic energy difference, and workstation sequence, and a deadlock retreat exit is set. Finally, smooth speed limiting or servo soft braking is applied according to the risk level, ensuring that the avoidance action matches the risk level. The technical solutions provided in steps S1 to S4, using dynamic boundaries as a common benchmark and coordinating and executing corresponding instructions through unified arbitration, form an intelligent and sustainable collision avoidance control system, wherein: Step S1 constructs a dynamically changing safety boundary that adapts to load deformation. The real-time position and dimensions of the robot arm, along with the deformation increment caused by the warping of the material, are incorporated into the safety boundary. Combined with a safety margin buffer value, an adaptive safety envelope is generated that expands or contracts according to the actual contour of the material. This expands the description of the safety boundary from the robot arm itself to the entirety of the robot arm and the material being handled. Step S2 predicts collision trends and quantifies braking requirements based on the dynamic boundary. By monitoring the spatial relationship between two adaptive safety envelopes, the relative approach speed is used to determine the motion trend. Collision avoidance calculations are only initiated when it is confirmed that the two sides are approaching each other. Mass inertia compensation and total system delay compensation are incorporated into the calculation of the minimum safe physical distance. Simultaneously, the collision prediction time is calculated by combining the sum of the envelope half-widths, thereby classifying three response levels: normal operation, smooth deceleration, and emergency stop. Step S3 resolves command conflicts between multiple moving parts. When the first robotic arm, the second robotic arm, and the flipping mechanism all pose interference risks, each part no longer makes independent decisions. Instead, an arbitration matrix is used to adjudicate and output decisions according to a unified priority. The avoidance order is arranged based on differences in kinetic energy and degrees of freedom. A forced retreat exit is set for logical deadlock states, ensuring coordinated execution of multiple actions under the same command system. Step S4 transforms the arbitration result into execution actions matching the risk level. Based on the judgment level, S-curve speed limits or servo soft brakes are applied to ensure a smooth transition without stopping during low-risk situations and rapid stopping and locking during high-risk situations. This translates the perception, calculation, and arbitration results from the preceding steps into specific axis motion control.
[0040] As can be seen, in the technical solutions provided in steps S1 to S4, the adaptive safety envelope generated in step S1 ensures that all subsequent judgments are based on the boundary that changes in real time with the warping of the board. Since the envelope has taken into account the maximum warping height increment of the board and the horizontal two-way edge expansion, the distance used in step S2 to collect speed and position information, calculate the relative approach speed and collision prediction time is no longer the nominal distance between the robot body, but the real distance after the actual deformation of the board. The collision avoidance judgment will not miss the interference between the warped board and the opposite part due to the small envelope, nor will it frequently trigger the shutdown due to the fixed large envelope. It maintains the operating range of the equipment while ensuring safety.
[0041] Step S2 incorporates a relative proximity speed discrimination mechanism in its triggering conditions. The anti-collision calculation process is only initiated when the distance is decreasing. When moving in the same direction or moving away from each other, the warning is lifted and the original trajectory is maintained at full speed. This avoids repeated speed limits on the equipment when there is no collision tendency, reducing the impact of ineffective speed reduction on production cycle time. Simultaneously, the calculation of the minimum safe physical distance incorporates mass inertia compensation and system total delay compensation. This ensures that the braking distance estimation no longer relies solely on the current speed but comprehensively considers the impact of the adsorbed plate mass on the allowable braking deceleration, as well as the delays of the algorithm, bus, and servo components. The collision prediction time is further reduced by subtracting the sum of the envelope half-widths. The resulting judgment is closer to the equipment's actual braking capacity, reducing the risk of collisions due to overly optimistic estimations and excessive downtime due to overly conservative estimations.
[0042] The arbitration matrix in step S3 transforms multi-component collision avoidance from independent actions to unified adjudication: when the flipping mechanism and any robot arm are simultaneously at risk of interference, the system outputs unified priorities such as emergency stop, deceleration and retreat, smooth speed limit, and normal operation, avoiding conflicting instructions from different components. When the robot arm and flipping mechanism interfere, based on the difference in kinetic energy and degrees of freedom, the robot arm is prioritized to decelerate and retreat, allowing the flipping mechanism with a larger moment of inertia to complete the critical attitude transition. This reduces the impact on the mechanism caused by the forced interruption of rotation. Furthermore, for logical deadlocks caused by mutual waiting, the robot arm at the next workstation is forced to retreat to the safe origin according to the workstation sequence priority, providing a definite path for the system and avoiding production line stagnation caused by multiple parties waiting simultaneously.
[0043] Finally, step S4 correlates the arbitration result with the execution method. The smooth deceleration stage uses an S-curve to lower the speed limit, constraining the acceleration and resulting in a gradual speed change, which can restore the safe clearance without stopping the machine. The emergency stop stage outputs a servo soft brake command to stop the moving parts and keep them locked. The two execution methods provided in step S4 are matched with the risk level, avoiding unnecessary shutdowns in low-risk situations and insufficient braking in high-risk situations.
[0044] In summary, the dynamic envelope provided in step S1 is a prerequisite for the accuracy of the judgment in step S2. The braking demand and classification results calculated in step S2 are the input for arbitration in step S3. The arbitration result of step S3 provides a method for selecting the execution command in step S4. Related technologies mostly employ fixed safety frames, rely solely on a single robotic arm for emergency stops, or set up anti-collision logic for multiple components. The technical solutions provided in steps S1 to S4 improve upon these improvements in four aspects: safety boundary description, braking distance estimation, multi-source command coordination, and execution smoothness. They can adapt to shape changes caused by sheet metal warping, balance the coordination of multiple moving parts, and reduce downtime, failure losses, and machine maintenance costs while ensuring safety.
[0045] Preferably, in step S1, the characteristic parameters upon which the dynamic expansion is based include: the maximum warpage height increment of the board and the outward expansion of the board due to bending along the edges of the two horizontal orthogonal axes. Specifically, the dynamic expansion involves: expanding the vertical boundary of the envelope bidirectionally upwards and downwards based on the maximum warpage height increment of the board, and expanding the corresponding horizontal boundary of the envelope outwards based on the outward expansion along the edges of the two horizontal orthogonal axes.
[0046] In the preferred technical solution of step S1, the dynamic expansion of the rigid body envelope reference space is defined as bidirectional expansion in the vertical direction according to the increment of the maximum warping height of the plate, towards the upper and lower boundaries, and outward expansion in the horizontal direction according to the outward expansion amount of both edges. The technical effect is that the envelope shape strictly corresponds to the actual direction of plate warping. Plate warping manifests as an upward arch or downward depression in the vertical direction and as outward expansion of the edges in the horizontal direction. If isotropic expansion is used, the expansion amount in the vertical direction will be applied to the horizontal direction in the same way, and vice versa, which may lead to redundancy in some direction boundaries and insufficient boundaries in others. After bidirectional expansion towards the upper and lower boundaries according to the increment of the maximum warping height of the plate, the upper limit of the envelope in the vertical direction only increases with the height increment, and the boundary in the horizontal direction only extends with the outward expansion amount, making the envelope volume closer to the actual space occupied by the plate.
[0047] The output of the optimized technical solution in step S1 will optimize the calculation in step S2. Since step S2 needs to deduct the sum of the half-widths of the envelopes along the movement directions of the two robotic arms when calculating the collision prediction time, the accuracy of the half-width depends on the correctness of the expansion direction in S1. An accurate envelope ensures that the deduction is neither too large nor too small, thus making the calculated collision prediction time closer to the actual margin. Simultaneously, the characteristic parameters explicitly include the maximum warpage height increment of the plate and the horizontal two-way edge expansion, giving the dynamic expansion in step S1 a definite data source. This avoids reverting to a fixed envelope due to missing parameters, ensuring that the premise of dynamic boundaries in the overall solution is valid in engineering implementation.
[0048] As an example, in step S1, a "dynamic adaptive safety envelope" based on the three-dimensional warping deformation of the sheet material is constructed: 1. Rigid body envelope datum for robotic arm: set up The real-time position coordinates of (the first robotic arm) are: Its inherent physical shape has a length, width, and height of 1, 2, 3, and 4 respectively. , , .
[0049] In no-load condition, The reference rigid body envelope space for:
[0050] in, It means exist The inherent physical space occupied by the shaft . This indicates that M1 is in The inherent physical space occupied by the shaft .
[0051] 2. Fusion and augmented envelope of board warping characteristics: when After adsorbing the material to be tested, the algorithm extracts the feature parameters of the material obtained from the previous scan by the profile detector: : Maximum warpage height increment of the board material; , The expansion of the sheet material at the edges along the X and Y axes is caused by bending and warping.
[0052] Updated dynamic adaptive security envelope The calculation formula is:
[0053] in, , , This is a preset safety margin buffer value;
[0054] ; (Note: This assumes that the board material may warp in both directions, or to provide maximum safety margin.) After the robotic arm picks up the warped board, Dynamic expansion boundary of the axis; After the robotic arm picks up the warped board, Dynamically extended boundaries of axes.
[0055] Similarly, we can obtain the following.
[0056] Preferably, in step S2, the rule for determining the relative approach speed further includes: if the relative approach speed is greater than zero, it is determined that the two are moving towards each other and the collision avoidance prediction calculation process is triggered; if the relative approach speed is not greater than zero, it is determined that they are moving in the same direction or moving away from each other, the collision avoidance warning is lifted and the current planned trajectory is maintained and continues to run.
[0057] The specific timing for monitoring the spatial position relationship is as follows: it is initiated when the two adaptive safety envelopes are on the same horizontal axis or within a spatially overlapping area. The total system delay compensation is obtained by calculating the cycle, industrial bus transmission cycle, and servo response lag time using an accumulation algorithm. Based on whether the robot arm is currently adsorbing a material and the mass of the adsorbed material, the allowable braking deceleration after mass inertia compensation is adjusted.
[0058] The minimum safe physical distance is the safe distance required for emergency braking. The collision prediction time is expressed as the difference between the real-time physical distance at the current moment and the sum of the half-widths of the envelopes of the two manipulators along the direction of motion, divided by the relative approach speed of the two manipulators. The preset safety factor is a constant coefficient greater than 1, used to divide the distance threshold boundary between the smooth deceleration stage and the normal operation stage.
[0059] In the preferred technical solution of step S2, the positive or negative value of the relative proximity speed is used as the trigger and release criterion, and the same horizontal axis or spatial overlapping area is used as the monitoring start condition. The technical effect is to limit the collision avoidance calculation to working conditions where interference is possible. If trend discrimination is not made and all working conditions are calculated uniformly, speed limit or stop commands will still be output when the two robotic arms move in the same direction or move away from each other, causing unnecessary cycle time loss. Step S2 introduces a relative proximity speed discrimination rule, initiating the calculation only when the distance shortens, and deactivating the warning and maintaining full speed operation when moving in the same direction or moving away, so that the collision avoidance logic does not affect normal operation. Spatial position monitoring uses the same horizontal axis or overlapping area as the start condition, further narrowing the monitoring range and avoiding invalid comparisons of component combinations that are unlikely to interfere. The delay compensation amount is clearly obtained by accumulating the algorithm calculation cycle, bus transmission cycle, and servo response lag time, ensuring that the estimation of the minimum safe physical distance includes all time loss from judgment to execution, avoiding underestimation of the braking distance due to calculation based solely on ideal response. Mass inertia compensation adjusts the allowable braking deceleration based on whether and how much of the plate is adsorbed, thus differentiating braking capabilities under no-load and loaded conditions. Under load, the deceleration decreases accordingly, and the braking distance increases, making the judgment result closer to reality. In summary, step S2's technical contribution to the overall solution lies in ensuring that the dynamic envelope provided in step S1 participates in the judgment at the correct time and with the correct braking parameters, reducing both false triggering and missed triggering deviations.
[0060] As an example, in step S2, the identification of opposing movements (relatively close) and the calculation of dynamic braking distance are performed: The algorithm divides the triaxial spatial interference into three sets of independent solution loops ( , , The host computer uses a fixed period (e.g.) Solve for the relative motion vectors of each group: (1) Calculation of the relative close velocity of the three groups 1. Relative proximity speed:
[0061] 2. Relative proximity speed:
[0062] 3. Relative proximity speed:
[0063] (in and (These are the real-time projected physical boundaries of the flipping mechanism R on the left and right sides, respectively) When the first envelope With the second envelope When they are on the same horizontal axis or in overlapping areas: 1. Motion vector discrimination: Get Location ,speed ,as well as Location ,speed .
[0064] Calculate the relative approach speed .
[0065] Judgment rule: If (The distance is decreasing), indicating oncoming movement, triggering collision avoidance prediction calculation; if (Moving in the same direction or moving away from each other), the collision warning is lifted, and the original trajectory is maintained at full speed.
[0066] Furthermore, the logic for determining proximity: If any group is relatively close to the speed (This indicates that the two are relatively close in physical space and the distance is decreasing), indicating a risk of head-on collision, and immediately triggering the braking distance and TTC calculation for this group.
[0067] If relatively close speed (This indicates that the two are moving in the same direction or moving away from each other) and the current physical distance is greater than the safe distance, then it is determined that there is no risk of collision, the alarm is lifted, and the predetermined trajectory is maintained at full speed.
[0068] 2. Formula for braking distance with system delay and mass inertia compensation: When it is determined that a certain group is trending towards each other, the minimum safe distance required to complete braking is calculated in real time. (by (For example) Real-time solution to the minimum safe physical distance required for the two robotic arms to come to a complete stop. :
[0069] (Delay compensation): (These correspond to the algorithm calculation cycle, industrial bus transmission cycle, and servo response lag, respectively). (Mass inertia compensation): Based on whether the robotic arm is currently adsorbing the sheet material and the sheet material's mass. Dynamically adjust the allowable braking deceleration .
[0070] 3. Real-time distance and dynamic envelope bias calculation: (1) Real-time centroid / reference point distance calculation The encoder reads the coordinates in real time and calculates the absolute difference: distance:
[0071] distance:
[0072] distance:
[0073] (in They are respectively Real-time position on the X-axis (Fixed X-axis position coordinates of the rotation axis of the flipping mechanism R) (2) Calculation of dynamic envelope bias (compensation for outermost geometric boundary): To obtain the true net remaining space between the outermost envelopes of the components, it is necessary to deduct the offset, which includes "rigid body half-length, sheet warpage expansion, and rotational attitude mapping". : Bias:
[0074] Bias (including rotation angle) Attitude nonlinear mapping):
[0075] Bias:
[0076] : Physical intrinsic length The X-axis warpage expansion of the sheet metal obtained from the previous workstation measurement. Safety margin of the project The radius of rotation of R is related to the thickness of the structural component. : Real-time angle of R 4. Collision prediction time Core Formula Substituting the above parameters, the collision prediction time is obtained.
[0077]
[0078] (Formula numerator) The denominator represents the actual net physical distance between the two components before their outermost three-dimensional envelopes become tangent; (Represents real-time relative proximity speed) Preferably, in step S3, the rule for generating the graded response determination result further includes: An emergency stop command is generated when the actual physical distance is less than or equal to the minimum safe physical distance, or when the collision prediction time is less than a preset threshold.
[0079] When the actual physical distance is greater than the minimum safe physical distance but less than the minimum safe physical distance with a preset safety ratio, a smooth deceleration command is generated.
[0080] When the actual physical distance is greater than or equal to the minimum safe physical distance of the preset safety multiple, an instruction to maintain continued operation is generated.
[0081] The preset priority order of the multi-source collision avoidance command arbitration matrix further includes: The emergency stop level is higher than the deceleration and backoff level, the deceleration and backoff level is higher than the smooth speed limit level, and the smooth speed limit level is higher than the normal operation level.
[0082] When the flipping mechanism simultaneously receives a smooth speed limit request from the first robotic arm and an emergency stop request from the second robotic arm, the multi-source anti-collision command arbitration matrix forcibly outputs a unified emergency stop command.
[0083] In the preferred technical solution of step S3, the graded response determination is refined into three intervals bounded by the minimum safe physical distance and a preset safety multiple, giving the switching of response levels clear thresholds. When the actual physical distance is less than or equal to the minimum safe physical distance, or the collision prediction time is less than the preset threshold, an emergency stop command is generated, indicating that the current scenario has no avoidance margin. When the actual physical distance is greater than the minimum safe physical distance but less than the minimum safe physical distance of the preset safety multiple, a smooth deceleration command is generated, indicating that the current scenario still has deceleration space but requires active intervention. When the actual physical distance is greater than or equal to the minimum safe physical distance of the preset safety multiple, full-speed operation is maintained, indicating that the current scenario has no collision risk. Step S3 provides three intervals for the graded response, avoiding repeated switching near the critical point due to vague threshold descriptions. The arbitration priority is clearly defined as follows: emergency stop is higher than deceleration and backoff, deceleration and backoff is higher than smooth speed limit, and smooth speed limit is higher than normal operation. This ensures a unique output when multiple requests arrive simultaneously. For example, if the flipping mechanism simultaneously receives a smooth speed limit request from the first robot arm and an emergency stop request from the second robot arm, the arbitration matrix will force an emergency stop output, demonstrating that higher-level requests are not diluted or affected by lower-level requests in a conflict. The technical contribution of the preferred solution in step S3 lies in aligning the hierarchical judgment output from step S2 with the arbitration input from step S3 in terms of threshold and priority. This ensures that the judgment result can enter the arbitration process unambiguously, guaranteeing the determinism of multi-party collaboration.
[0084] As an example, the following explains the unified arbitration mechanism for multi-source collision avoidance commands involving multiple moving parts (including tilting mechanisms): When the system exists (First robotic arm) (Second robotic arm) (Flipping mechanism) When there is spatial interference from three or more parties, the collision avoidance command arbitration matrix is activated: Rule 1: Prioritize the highest security level. The response levels are divided into: Level 3 (emergency stop) > Level 2 (deceleration and retreat) > Level 1 (smooth speed limiting) > Level 0 (normal operation).
[0085] like Simultaneously received from Level 1 requests and from The arbitration matrix forces a unified output of Level 3 (emergency shutdown) for a Level 3 request.
[0086] Rule 2: Avoidance of Kinetic Energy and Degrees of Freedom When the translational manipulator interferes with the flipping mechanism, the arbitrator prioritizes instructing the translational manipulator (which has lower kinetic energy and faster braking) to decelerate and retreat, ensuring that the flipping mechanism, which has high rotational inertia, completes the critical attitude transition.
[0087] Rule 3: Deadlock Prevention Logic If the arbitration matrix detects that each axis has entered a logical deadlock state of mutual waiting, it will force the subsequent workstation (e.g., ...) to exit according to the workstation's timing priority. ) Perform an active retreat to the safe origin.
[0088] Unified arbitration logic and multi-axis coordination for multi-source collision avoidance commands: When the algorithm detects , When spatial interference exists simultaneously between R and three other parties, or when collision warning requests are triggered simultaneously between any two parties, the host computer's collision avoidance control system activates a multi-source unified arbitration mechanism. Based on three core arbitration rules—"highest safety level priority," "kinetic energy and degree of freedom avoidance," and "deadlock prevention"—the system coordinates and allocates conflict commands. For example: 1. Interference scenario between the flipping mechanism and the second robotic arm ( Exclusive / Priority Arbitration) When M1 is at the safe origin or far from the interference zone (Level 0), and R is in the transition period of rotational attitude (such as performing a flipping action), at the same time... When approaching R (the tilting mechanism) at high speed and triggering a Level 2 avoidance request, the arbitration matrix makes the following decision: Decision logic: Since R has a large rotational inertia and is in a critical state of attitude uncertainty, the system gives R priority for the highest spatial degree of freedom.
[0089] Physics execution: Allow R to complete the current flip action first, while issuing a jerk-limited S-curve smooth deceleration command to... Forced Actively reduce the maximum speed limit or wait smoothly outside the safety boundary to achieve R and Coordinated avoidance.
[0090] 2. Triaxial compound counter-interference scenario ( Third-party competition arbitration) when The board moves toward R (flipping mechanism) (triggers a Level 1 request). When the object also moves towards R (the flipping mechanism) (triggering a Level 2 request), and R is in a critical position for clamping or flipping, the arbitration matrix decision is as follows: Decision-making logic: Adhering to the principle of "small kinetic energy and easy braking components avoid large kinetic energy and complex posture components", priority is given to ensuring the motion continuity of R.
[0091] Physical execution: simultaneous coordination and The two translation axes, based on their real-time relative approach speed to R, perform smooth deceleration of varying degrees according to the Jerk-constrained S-curve, freeing up dynamic space degrees of freedom for R, thereby achieving three-way cooperative avoidance without stopping the entire axis.
[0092] 3. Emergency collision risk scenarios (highest safety level covers arbitration) During the operation of the three parties, any party (such as...) Collision prediction time may be reduced due to sensor malfunction or abnormal trajectory that causes the object to approach another component too quickly. Or the net clearance is less than or equal to the braking distance. When a Level 3 emergency stop request is triggered, the arbitration matrix makes the following decision: Decision logic: Trigger the "highest security level mandatory overwrite" rule, ignoring low-level operation or avoidance requests.
[0093] Physical execution: Forcefully issue Level 3 servo soft braking commands to the motion axes (or all motion axes) related to the collision risk, quickly and smoothly lock the position of each axis to prevent hard collisions.
[0094] 4. Three-axis logic deadlock scenario (workstation timing priority arbitration) when Request to enter the overlapping area for material feeding, R flip completed, waiting to retrieve the plate, simultaneously When a request to enter the overlapping area to retrieve a board causes a logical deadlock state where all three parties are "waiting for each other to release an enable signal," the arbitration matrix makes the following decision: Decision logic: Based on the production line station sequence priority rules, forcibly break the deadlock chain.
[0095] Physical execution: maintenance The current attitude and standby state of R (flipping mechanism) are forced. Perform a smooth retreat maneuver, returning to the safe origin along an S-shaped curve to eliminate overlapping areas and guide the system back to automated production line operation.
[0096] As can be seen from the description of the overall technical solution and preferred technical solution in steps S1 to S4 above, the embodiments of this application have significant differences from related technologies in five core dimensions: collision avoidance discrimination dimension, safety envelope modeling, physical response compensation, multi-axis cooperative mechanism, and control execution means, and possess outstanding technical advantages: 1. The collision avoidance judgment dimension has been upgraded from "static / single-dimensional distance" to "global three-axis dynamic vector prediction": Comparison of differences: Related technologies rely solely on fixed physical distance thresholds or static area interlocking mechanisms (one moving, one stationary) for collision avoidance. This application's embodiments cover... (First robotic arm), R (flipping mechanism) and (Second robotic arm) Three sets of spatial interference scenarios ( The system comprehensively calculates the position between each pair of objects, the real-time relative proximity velocity vector (calculation is triggered only when the relative proximity velocity is greater than zero), and the collision prediction time (TTC).
[0097] Significant advantages: It greatly improves equipment inspection cycle time and production efficiency. It eliminates false braking and invalid alarms caused by related technologies when components are moving in the same direction or moving away from each other. It intervenes precisely to avoid collisions only when there is a real risk of head-on collision, thus avoiding unnecessary and frequent equipment downtime.
[0098] 2. Safety envelope modeling has been upgraded from "fixed rigid body envelope" to "adaptive 3D warped augmented envelope": Comparison of differences: Related technologies only treat the robot and the flipping mechanism themselves as fixed geometric rigid bodies for interference calculation. This application's embodiment retrieves the three-dimensional warping deformation data of the sheet material scanned by the contour detector at the previous station in real time, extracts the maximum warping height increment and edge expansion of the sheet material, and dynamically integrates the actual deformation of the material and the nonlinear mapping of the flipping posture into the safety envelope to construct an adaptive augmented envelope.
[0099] Significant advantages: Completely eliminates blind spots in protection. Effectively solves the industry pain point in related technologies where "the edges of severely warped boards are scratched and damaged in space even though the robotic arm itself does not make contact," significantly reducing the scratch and breakage rate of high-value boards.
[0100] 3. Physical response compensation has been upgraded from "ideal state assumption" to "dynamic compensation for bus communication delay and load inertia": Comparison of differences: Related technologies neglect the calculation of host computer software, the lag in industrial bus communication, and the lag in servo hardware response, and do not consider the difference in inertia between the robot arm when it is unloaded and when it is loaded with heavy plates. In the embodiment of this application, when solving for the braking distance, a total system delay compensation term is explicitly introduced, and the deceleration is dynamically corrected according to the actual mass of the plate.
[0101] Significant advantages: Completely eliminates the risk of brake overshoot under high-speed and heavy-load conditions. Ensures that even under extreme conditions such as high-speed operation or adsorbing heavy sheet metal, the equipment still has a precise and reliable physical safety braking margin, guaranteeing absolute system safety.
[0102] 4. The multi-axis collaborative mechanism has been upgraded from "single-to-independent evaluation" to "three-axis multi-source unified arbitration matrix": Comparison: Related technologies can only perform one-to-one independent evaluation of single components, lacking a multi-axis collaborative mechanism. The embodiments of this application address... In scenarios involving simultaneous intervention from three parties, a multi-source unified arbitration matrix was constructed, which includes prioritizing the highest safety level, avoiding kinetic degrees of freedom (prioritizing the transition of flip posture), and preventing workstation timing deadlock.
[0103] Significant advantages: It greatly improves the system's consistency and robustness, completely solves the problem of servo drive errors and shutdowns caused by control command conflicts when multiple motion axes interfere simultaneously, and can automatically break the logical deadlock of "mutual waiting", ensuring the continuous and stable operation of the automated production line.
[0104] 5. Collision avoidance control execution has been upgraded from "brutal hard emergency stop" to "Jerk-restricted S-curve graded smooth control": Comparison of differences: Related technologies typically employ a hard emergency stop (either zero or one) after triggering the threshold. This application's embodiments divide the system into normal operation, smooth deceleration, and safe stop stages, and during obstacle avoidance, use a jerk-limited S-curve to smoothly adjust the maximum speed limit of each axis or perform a retreat.
[0105] Significant advantages: Effectively protects equipment hardware and test materials, achieves "smooth avoidance without stopping", suppresses the huge mechanical reverse impact and vibration caused by traditional hard braking, significantly extends the service life of linear modules and servo systems, and prevents the warped plate material adsorbed by vacuum adsorption from shifting position or falling off and breaking due to huge sudden stop inertia.
[0106] Preferably, in step S4, the S-curve control strategy is a speed curve control method with limited jerk, which gradually reduces the maximum operating speed limit of the relevant moving parts to restore the actual physical distance to a safe range.
[0107] After the soft brake control signal is output, the moving parts stop and remain locked; the deadlock detection is used to detect when each moving part enters a logical deadlock state of mutual waiting; the downstream workstation robot is a second robot.
[0108] In step S4, the S-curve is defined as the speed curve control method with limited jerk, and the maximum operating speed limit of the relevant moving parts is gradually reduced to constrain the impact of the smooth deceleration process on the mechanical structure. Limited jerk means that the rate of change of jerk is limited, the speed transition does not have abrupt changes, the moving parts do not generate significant vibration during deceleration, and the warped plates being transported are not easily displaced due to sudden speed changes. After the soft brake control signal is output, the moving parts stop and remain locked, so that the emergency stop not only achieves a stop but also maintains the stopped position, avoiding secondary displacement due to external forces or residual inertia. Deadlock detection is defined as detecting when each moving part enters a logical deadlock state of mutual waiting, and the subsequent workstation robot is defined as the second robot, so that the object and action of deadlock release have a definite direction. When deadlock is detected, the arbitration matrix can directly instruct the second robot to retreat to the safe origin without further determining which robot should retreat. The technical contribution of the preferred technical solution in step S4 is that it enables the unified decision and deadlock release instruction output in step S3 to obtain a definite action form and a definite target at the execution layer, so that the two execution modes of smooth deceleration and emergency stop correspond to different risk levels. This fully implements the perception, calculation and arbitration results in the aforementioned steps into axis motion control, ensuring the closed-loop consistency of the overall solution from decision to execution.
[0109] Definition: Jerk, commonly denoted by the symbol jerk, is defined as the derivative of acceleration with respect to time, which is also the third derivative of position with respect to time.
[0110] As an example, the graded response and S-curve smoothing control output in step S4 are explained: Based on real-time physical distance With calculation Based on the ratio relationship, issue smoothing control commands: 1. Normal operating level ( ): No risk of collision, maintain the original planned trajectory and run at full speed.
[0111] 2. Smooth deceleration stage ( ): Using a jerk-limited S-curve to smoothly reduce the maximum speed limit of each axle, Return to a safe range to achieve smooth obstacle avoidance without shutting down the machine.
[0112] 3. Safety shutdown level ( or ): Outputs a servo soft brake command to quickly stop and lock the machine, avoiding hard collisions.
[0113] For the method steps disclosed in the above embodiments, the method steps are described as a series of actions for the purpose of simplicity. However, those skilled in the art should understand that the embodiments of this application are not limited to the described order of actions, because according to the embodiments of this application, some steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily necessary for the embodiments of this application.
[0114] Any flowchart or other description of a process or method can be understood as representing a module, segment, or portion of code comprising one or more executable instructions for implementing a specific logical function or process. Furthermore, the scope of preferred embodiments of this application includes additional implementations in which functions may be performed and implemented not in the order shown or discussed, including substantially simultaneously or in reverse order according to the functions involved, or in accordance with program structures such as loops, branches, etc., to execute computer instructions and implement corresponding functions. This is something that those skilled in the art would readily understand when implementing embodiments of this application.
[0115] like Figure 3 The robotic arm anti-collision system shown is used to implement the aforementioned robotic arm anti-collision method, including: The adaptive safety envelope generation module constructs a corresponding rigid body envelope reference space based on the real-time position coordinates and external dimensions of the first and second manipulators. It then dynamically expands the rigid body envelope reference space and adds a safety margin buffer value to generate an adaptive safety envelope.
[0116] The graded response and judgment result generation module monitors the spatial positional relationship of the adaptive safety envelope, collects the real-time speed and position information of the robot arm, calculates the relative approach speed, triggers or deactivates the collision prediction calculation process based on the relative approach speed, obtains the allowable braking deceleration after mass inertia compensation and the total system delay compensation based on the current speed information after triggering, calculates the minimum safe physical distance and calculates the collision prediction time by combining the sum of the half width of the envelope, and generates the graded response judgment result based on the distance comparison result or the comparison result of the collision prediction time and the threshold.
[0117] The deadlock release instruction acquisition module maps the graded response judgment results to the multi-source anti-collision instruction arbitration matrix, and obtains a unified adjudication output instruction based on a preset priority order; based on the kinetic energy avoidance principle, it prioritizes controlling the translational robot to perform deceleration and retreat, and controls the robot of the subsequent workstation to retreat based on the deadlock detection results and the workstation timing priority, thereby obtaining the deadlock release instruction.
[0118] The final execution instruction generation and distribution module uses the unified decision output instruction and the deadlock release instruction to generate and distribute the final execution instruction: for the smooth deceleration instruction, an S-curve control strategy is adopted to reduce the speed limit; for the emergency stop instruction, a soft brake control signal is output.
[0119] This application also discloses a robot arm anti-collision device, which includes the aforementioned robot arm anti-collision system.
[0120] Based on the above description of the robotic arm anti-collision methods, systems, and devices, it can be seen that the key technical points and points to be protected in the embodiments of this application are as follows: 1. An adaptive dynamic safety envelope construction method based on the three-dimensional warping characteristics of sheet materials: The implementation method of incorporating the actual geometric deformation of the material under test into multi-axis collision avoidance modeling is as follows: Based on the rigid body geometric envelope of the robot arm, the maximum warpage height increment of the board is extracted by real-time retrieval of the three-dimensional deformation data of the board material scanned by the contour detector of the previous station. and peripheral amplification In conjunction with the engineering safety margin Dynamically calculate and expand in real time to generate a three-dimensional augmented safety envelope containing "robotic arm + warped plate". Simultaneously, the real-time flipping angle of the flipping mechanism is combined with... The dynamic rotational attitude of the tilting frame is nonlinearly mapped to the projected offset of the horizontal translation axis. This completely eliminates the blind spot in spatial scratch protection caused by the warping deformation of the board material, which cannot be reflected by the traditional static rigid body envelope.
[0121] 2. Coverage Collision prediction and calculation mechanism for three-axis global relative motion vectors: A comprehensive dynamic collision avoidance prediction method that takes into account position, relative velocity vector, and collision prediction time (TTC): system parallel solution. , and Real-time coordinate difference between the three sets of moving parts relative proximity speed : Set "Only at relatively close speeds" The discrimination rule of "(indicating approaching each other) triggers collision prediction" applies when components are moving in the same direction or moving away from each other. season The system will not make erroneous interventions; Introducing an envelope bias that includes geometric half-length, warped expansion, and rotational attitude mapping. Based on the formula The calculation of the actual collision time before the outermost geometric envelopes of the two components become tangent balances the high-speed production and high safety of the equipment.
[0122] 3. A dynamic braking distance calculation algorithm that integrates bus delay compensation and load mass inertia correction: Provides dynamic braking distance The calculation employs techniques that explicitly incorporate physical response delay and load quality correction to determine the minimum combined safe distance required for safe braking. hour: Introducing the calculation cycle of the host computer algorithm Industrial bus Transmission synchronization period and servo hardware response and braking hysteresis The total system delay compensation item constitutes ; Based on whether the robotic arm has picked up the sheet material and the actual mass m of the sheet material, the allowable braking deceleration is dynamically adjusted downwards. It completely solves the problem of brake overshoot caused by physical response lag and excessive inertia under high-speed and heavy-load conditions.
[0123] 4. Regarding A unified arbitration mechanism for multi-source collision avoidance using triaxial composite interference: A multi-source command arbitration control method is provided to resolve complex interference and competing requests across multiple motion axes: when three parties simultaneously engage in spatial interference or trigger collision warnings, the arbitration matrix makes a unified decision based on three core rules. Rule 1 (Highest safety level takes precedence): When any source triggers the Level 3 emergency collision threshold, ignore other requests and force all related axes involved to uniformly issue servo soft braking.
[0124] Rule 2 (Kinetic Energy and Degrees of Freedom Avoidance): In complex opposing interference scenarios, priority should be given to ensuring that the flipping mechanism with high rotational inertia and in the attitude transition period completes its flipping, while coordinating with the manipulator with low kinetic energy and easy braking. Perform smooth deceleration and obstacle avoidance.
[0125] Rule 3 (Deadlock Prevention): When deadlock is detected When all three parties are stuck in a logical deadlock of "each waiting for the other to release the overlapping area enable", the time priority of the workstation will be forced to... Retreat to a safe starting point and break the deadlock chain.
[0126] 5. A graded smooth avoidance control strategy based on Jerk's constrained S-curve: A graded trajectory planning control method is provided to avoid mechanical shock and material drop caused by hard abrupt stops. The system divides the response into three levels based on the ratio of real-time clearance to dynamic braking distance: Maintain full-speed operation at Level 0 when there is sufficient clearance.
[0127] When there is a tendency for an oncoming collision (Level 1 / 2), an S-curve control command with limited jerk is issued to smoothly reduce the maximum speed limit of each axis or to perform active avoidance, thereby lengthening the collision prediction time and achieving "smooth avoidance without stopping the machine".
[0128] In extreme dangerous situations (Level 3), a servo soft brake lock is issued. This strategy mitigates the huge reverse impact of hard braking, extends the life of the mechanical module, and prevents the warped sheet metal adsorbed by vacuum from falling and breaking due to the inertia of sudden stop.
[0129] In the description of the embodiments of this application, the reference to terms such as "an embodiment," "example," "specific example," etc., means that a specific feature, structure, material, or characteristic described in connection with that embodiment or example is included in at least one embodiment or example of the embodiments of this application. In this specification, the illustrative expressions of the above terms do not necessarily refer to the same embodiment or example. Furthermore, the specific features, structures, materials, or characteristics described may be combined in any suitable manner in one or more embodiments or examples.
[0130] Furthermore, the technical solutions of the various implementation methods in this application can be combined with each other, but only if they are based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be considered that such combination of technical solutions does not exist and is not within the scope of protection claimed by the embodiments of this application.
[0131] All features disclosed in the embodiments of this application, or all steps in the disclosed methods or processes, may be combined in any way, except for mutually exclusive features and / or steps. Any feature disclosed in the specification of the embodiments of this application, unless specifically stated otherwise, may be replaced by other equivalent or similar alternative features. That is, unless specifically stated otherwise, each feature is merely one example of a series of equivalent or similar features. Throughout the specification, the same reference numerals indicate the same elements.
[0132] Those skilled in the art will understand that modules in the device of the embodiments can be adaptively modified and placed in one or more devices different from that embodiment. Modules, units, or components in the embodiments can be combined into a single module, unit, or component, and further, they can be divided into multiple sub-modules, sub-units, or sub-components. Except where at least some of such features and / or processes or units are mutually exclusive, any combination can be used to combine all features disclosed in this specification of embodiments (including the corresponding claims, abstract, and drawings) and all processes or units of any method or device so disclosed. Unless expressly stated otherwise, each feature disclosed in this specification of embodiments (including the corresponding claims, abstract, and drawings) may be replaced by an alternative feature that serves the same, equivalent, or similar purpose.
[0133] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the embodiments of this application, and are not intended to limit them. Although the embodiments of this application have been described in detail with reference to the foregoing specific embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing specific embodiments, or equivalent substitutions can be made to some or all of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions provided by the specific embodiments of this application.
Claims
1. A method for preventing collisions with a robotic arm, characterized in that, include: Based on the real-time position coordinates and external dimensions of the first and second manipulators, a corresponding rigid body envelope reference space is constructed. The rigid body envelope reference space is dynamically expanded and a safety margin buffer value is added to generate an adaptive safety envelope. By monitoring the spatial positional relationship of the adaptive safety envelope, the real-time speed and position information of the robot are collected, the relative approach speed is calculated, and the collision prediction calculation process is triggered or deactivated based on the relative approach speed. Based on the current speed information after triggering, the allowable braking deceleration after mass inertia compensation and the total system delay compensation are obtained. The minimum safe physical distance is calculated and the collision prediction time is calculated by combining the sum of the half width of the envelope. Based on the distance comparison result or the comparison result of the collision prediction time and the threshold, a graded response judgment result is generated. The graded response determination results are mapped to a multi-source collision avoidance command arbitration matrix, and a unified adjudication output command is obtained based on a preset priority order. Based on the principle of kinetic energy avoidance, the translational robot is prioritized to decelerate and retreat. Based on the deadlock detection results and the station sequence priority, the robot in the next station is controlled to retreat, and a deadlock release command is obtained. Using the unified decision output command and the deadlock release command, the final execution command is generated and issued: for the smooth deceleration command, an S-curve control strategy is adopted to reduce the speed limit; for the emergency stop command, a soft brake control signal is output.
2. The anti-collision method for robotic arms according to claim 1, characterized in that, The characteristic parameters upon which the dynamic expansion is based include: the maximum warping height increment of the board, and the amount of expansion of the board outside the edges of the two horizontal orthogonal axes due to bending; The dynamic expansion of the rigid body envelope reference space is specifically as follows: the vertical boundary of the envelope is expanded bidirectionally upwards and downwards based on the maximum warping height increment of the plate, and the corresponding horizontal boundary of the envelope is expanded outwards based on the edge expansion amount of the two horizontal orthogonal axes.
3. The anti-collision method for a robotic arm according to claim 1, characterized in that, The relative approach speed determination rule further includes: if the relative approach speed is greater than zero, it is determined that the two sides are moving towards each other and the collision avoidance prediction calculation process is triggered; if the relative approach speed is not greater than zero, it is determined that the two sides are moving in the same direction or moving away from each other, the collision avoidance warning is lifted and the current planned trajectory is maintained and continues to run. The specific timing for monitoring the spatial positional relationship is as follows: it is initiated when the two adaptive safety envelopes are located on the same horizontal axis or within a spatially overlapping region.
4. The anti-collision method for a robotic arm according to claim 1, characterized in that, The total system delay compensation is obtained by calculating the cycle, industrial bus transmission cycle and servo response lag time through an accumulation algorithm. The allowable braking deceleration after mass inertia compensation is adjusted according to whether the robot arm is currently adsorbing the board and the mass of the adsorbed board.
5. The anti-collision method for a robotic arm according to claim 1, characterized in that, The minimum safe physical distance is the safe distance required for emergency braking, and the collision prediction time is expressed as the difference between the real-time physical distance at the current moment and the sum of the half-widths of the envelopes of the two manipulators along the direction of motion, divided by the relative approach speed of the two manipulators. The preset safety factor is a constant coefficient greater than 1, used to define the distance threshold boundary between the smooth deceleration stage and the normal operation stage.
6. The anti-collision method for a robotic arm according to claim 1, characterized in that, The rules for generating the graded response determination results further include: An emergency stop command is generated when the actual physical distance is less than or equal to the minimum safe physical distance, or when the collision prediction time is less than a preset threshold. When the actual physical distance is greater than the minimum safe physical distance but less than the minimum safe physical distance with a preset safety multiple, a smooth deceleration command is generated; When the actual physical distance is greater than or equal to the minimum safe physical distance of the preset safety multiple, an instruction to maintain continued operation is generated.
7. The anti-collision method for a robotic arm according to claim 1, characterized in that, The preset priority order of the multi-source collision avoidance command arbitration matrix further includes: Emergency stop level is higher than deceleration and backoff level, deceleration and backoff level is higher than smooth speed limit level, and smooth speed limit level is higher than normal operation level; When the flipping mechanism simultaneously receives a smooth speed limit request from the first robotic arm and an emergency stop request from the second robotic arm, the multi-source anti-collision command arbitration matrix forcibly outputs a unified emergency stop command.
8. The anti-collision method for a robotic arm according to claim 1, characterized in that, The S-curve control strategy is a speed curve control method with limited acceleration. By gradually reducing the maximum operating speed limit of the relevant moving parts, the actual physical distance is restored to a safe range. After the soft brake control signal is output, the moving parts stop and remain locked; the deadlock detection is used to detect when each moving part enters a logical deadlock state of mutual waiting; the downstream workstation robot is a second robot.
9. A robotic arm anti-collision system, used to implement the robotic arm anti-collision method according to any one of claims 1 to 8, characterized in that, include: The adaptive safety envelope generation module constructs a corresponding rigid body envelope reference space based on the real-time position coordinates and external dimensions of the first and second manipulators, dynamically expands the rigid body envelope reference space and adds a safety margin buffer value to generate an adaptive safety envelope. The graded response and judgment result generation module monitors the spatial positional relationship of the adaptive safety envelope, collects the real-time speed and position information of the robot arm, calculates the relative approach speed, triggers or deactivates the collision prediction calculation process based on the relative approach speed, obtains the allowable braking deceleration after mass inertia compensation and the total system delay compensation based on the current speed information after triggering, calculates the minimum safe physical distance and calculates the collision prediction time by combining the sum of the half width of the envelope, and generates the graded response judgment result based on the distance comparison result or the comparison result of the collision prediction time and the threshold. The deadlock resolution instruction acquisition module maps the hierarchical response determination result to the multi-source anti-collision instruction arbitration matrix and obtains a unified adjudication output instruction based on a preset priority order. Based on the principle of kinetic energy avoidance, the translational robot is prioritized to decelerate and retreat. Based on the deadlock detection results and the station sequence priority, the robot in the next station is controlled to retreat, and a deadlock release command is obtained. The final execution instruction generation and distribution module uses the unified decision output instruction and the deadlock release instruction to generate and distribute the final execution instruction: for the smooth deceleration instruction, an S-curve control strategy is adopted to reduce the speed limit; for the emergency stop instruction, a soft brake control signal is output.
10. A robotic arm anti-collision device, characterized in that, The robotic arm anti-collision device is equipped with the robotic arm anti-collision system as described in claim 9.
