A method for processing a target object and related equipment
By using multiple independent processors and associated coordinate systems in the laser machine to control the position and speed of the laser processing head, the problem of laser processing head collision is solved and the processing efficiency and equipment life are improved.
Patent Information
- Application Number
- CN202111220044.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-20
- Publication Date
- 2024-10-11
- Estimated Expiration
- 2041-10-20
AI Technical Summary
In a laser machine, when multiple laser processing heads process target objects at the same time, how to efficiently control the movement of each processing head to avoid collisions, improve processing efficiency, and extend equipment life.
Multiple independent processors are used to control the laser processing heads respectively, and multiple associated coordinate systems are used to monitor the position and speed of the processing heads to ensure that a safe distance is maintained between each processing head, and real-time communication and obstacle avoidance strategies are used to avoid collisions.
It realizes the simultaneous operation of multiple laser processing heads to efficiently process the target object at the same time, avoids collision of the processing heads, and improves the processing efficiency and the service life of the equipment.
Smart Images

Figure CN113878240B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present application relate to the field of mechanical processing, and in particular, to a method for processing a target object and related equipment. Background Art
[0002] Laser machine is a general term for laser engraving machine, laser cutting machine and laser marking machine. Laser high temperature is used to act on the surface of the material to be processed. According to the graphics input into the laser machine, the text or graphics required by the customer are drawn. Laser machines are widely promoted in all walks of life and can be used in a variety of processing scenarios. They can not only meet the needs of small and medium-sized handicraft processing, but also can be used in industrial production and processing.
[0003] Laser machines usually use a laser processing head to complete the processing process based on a coordinate system. That is, first determine the position coordinates of the target object to be processed in the coordinate system, then determine the coordinates of the processing point based on the position coordinates, and then use the laser processing head to engrave, cut or mark the processing point according to the coordinates of the processing point, and finally draw the target object on the processing material to complete the processing process.
[0004] With the continuous development of laser machines, laser machines generally include multiple laser processing heads. In order to improve processing efficiency, it is often necessary to use multiple laser processing heads to draw the same target object at the same time. Therefore, how to more efficiently control the processing of multiple laser processing heads and avoid collisions between multiple laser processing heads has become an urgent problem to be solved. Summary of the invention
[0005] The embodiment of the present application provides a method for processing a target object and related equipment, which can use multiple laser processing heads to process the same target object on the processing material at the same time. Each processor controls a laser processing head separately, and then multiple processors complete the processing of the target object based on multiple associated coordinate systems. By monitoring the position of the laser processing head, the processing direction and processing speed of the laser processing head are controlled to avoid the phenomenon of collision of the laser processing head.
[0006] A first aspect of an embodiment of the present application provides a method for processing a target object, comprising:
[0007] The processing equipment divides the target object into a first part and a second part according to a processing trajectory of the target object.
[0008] The processing equipment uses a first processor to control a first processing head to process a first part of the target object, and uses a second processor to control a second processing head to process a second part of the target object.
[0009] Wherein, the processing equipment controls the distance between the first processing head and the second processing head to be not less than the safety distance.
[0010] In an optional embodiment, the method further comprises:
[0011] The processing equipment determines a first coordinate system corresponding to the first processor and a second coordinate system corresponding to the second processor, wherein the X axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the X axes are the same, and the Y axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the Y axes are opposite.
[0012] The processing equipment determines that the center axis of the target object is on the positive half axis of the Y axis corresponding to the first coordinate system and the center axis of the target object is on the positive half axis of the Y axis corresponding to the first coordinate system.
[0013] The processing equipment divides the target object into a first part and a second part according to the processing trajectory of the target object, including:
[0014] The processing equipment divides the target object into a first part and a second part according to the central axis of the target object.
[0015] In an optional embodiment, the processing device uses a first processor to control a first processing head to process a first part of a target object, comprising:
[0016] The processing equipment determines the first position coordinates of the first processing head in the first coordinate system by using the first processor.
[0017] The processing equipment uses a first processor to determine a first target block corresponding to a first position coordinate, wherein the first part of the target object includes a plurality of blocks.
[0018] The processing equipment uses a first processor to control a first processing head to perform continuous interpolation processing on a target block starting from a first position coordinate.
[0019] In an optional embodiment, the method further comprises:
[0020] The processing equipment uses the first processor to obtain the second position coordinates of the second processing head in the second coordinate system.
[0021] The processing equipment uses the first processor to obtain a second target block corresponding to the second position coordinate, wherein the second part of the target object includes a plurality of blocks.
[0022] The processing equipment uses the first processor to determine whether there is an overlapping Y-axis coordinate area between the first target block and the second target block.
[0023] The processing equipment controls the first processing head by using the first processor according to the judgment result.
[0024] In an optional embodiment, the processing device controls the first processing head using the first processor according to the judgment result, including:
[0025] The processing device uses the first processor to determine the maximum boundary Y coordinate of the first target block and the second target block.
[0026] The processing device determines, based on the maximum boundary Y coordinates of the first target block and the second target block, a Y-axis coordinate region where the first target block and the second target block do not overlap.
[0027] The processing equipment determines that the first processor and the second processor independently control the first processing head and the second processing head.
[0028] In an optional embodiment, the processing device controls the first processing head using the first processor according to the judgment result, including:
[0029] The processing device uses the first processor to determine the maximum boundary Y coordinate of the first target block and the second target block.
[0030] The processing equipment determines the Y-axis coordinate region where the first target block and the second target block overlap based on the maximum boundary Y coordinates of the first target block and the second target block.
[0031] The processing equipment uses the first processor to monitor the position of the second processing head in real time.
[0032] The processing device determines the first processor to control the position of the first processing head according to the position of the second processing head so that the position of the first processing head is different from the position of the second processing head.
[0033] In an optional embodiment, the processing device determines the first processor to control the position of the first processing head according to the position of the second processing head, including:
[0034] The processing equipment determines the movement direction of the second processing head by using the first processor.
[0035] If the movement direction of the second processing head is a direction away from the first processing head, the processing equipment uses the first processor to control the movement direction of the first processing head to remain unchanged.
[0036] If the moving direction of the second processing head is a direction approaching the first processing head, the processing equipment determines by using the first processor that the moving direction of the first processing head is a direction away from the second processing head.
[0037] A second aspect of an embodiment of the present application provides a target object processing device, the processing device comprising:
[0038] The processing unit is used to divide the target object into a first part and a second part according to a processing trajectory of the target object.
[0039] The first control unit is used to control the first processing head to process the first part of the target object.
[0040] The second control unit is used to control the second processing head to process the second part of the target object.
[0041] The first control unit and the second control unit of the processing equipment are also used to control the distance between the first processing head and the second processing head to be no less than the safety distance.
[0042] In an optional embodiment, the processing equipment further includes a determination unit.
[0043] The determination unit is used to determine a first coordinate system corresponding to the first processor and a second coordinate system corresponding to the second processor, wherein the X axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the X axes are the same, and the Y axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the Y axes are opposite.
[0044] The determination unit is also used to determine the positive half axis of the Y axis corresponding to the central axis of the target object in the first coordinate system and the positive half axis of the Y axis corresponding to the central axis of the target object in the first coordinate system.
[0045] The processing unit is specifically used to divide the target object into a first part and a second part according to the central axis of the target object.
[0046] In an optional embodiment, the first control unit is specifically used to determine the first position coordinates of the first processing head in the first coordinate system, determine the first target block corresponding to the first position coordinates, wherein the first part of the target object includes a plurality of blocks, and control the first processing head to perform continuous interpolation processing on the target block starting from the first position coordinates.
[0047] In an optional embodiment, the first control unit is further used to obtain the second position coordinates of the second processing head in the second coordinate system using the first processor. Obtain the second target block corresponding to the second position coordinates. Wherein, the second part of the target object includes a plurality of blocks. Determine whether there is an overlapping Y-axis coordinate area between the first target block and the second target block. According to the judgment result, the first processing head is controlled using the first processor.
[0048] In an optional implementation, the first control unit is specifically configured to determine the maximum boundary Y coordinate of the first target block and the second target block.
[0049] The determination unit is further used to determine, based on the maximum boundary Y coordinates of the first target block and the second target block, a Y-axis coordinate region where the first target block and the second target block do not overlap, and to determine that the first processor and the second processor independently control the first processing head and the second processing head.
[0050] In an optional implementation, the first control unit is specifically configured to determine the maximum boundary Y coordinate of the first target block and the second target block.
[0051] The determination unit is further used to determine, based on the maximum boundary Y coordinates of the first target block and the second target block, a Y-axis coordinate region where the first target block and the second target block overlap.
[0052] The first control unit is also used to monitor the position of the second processing head in real time.
[0053] The determination unit is further used to determine the first control unit, and control the position of the first machining head according to the position of the second machining head, so that the position of the first machining head is different from the position of the second machining head.
[0054] In an optional embodiment, the first control unit is specifically used to determine the movement direction of the second processing head using the first processor. If the movement direction of the second processing head is a direction away from the first processing head, the movement direction of the first processing head is controlled to remain unchanged. If the movement direction of the second processing head is a direction close to the first processing head, the movement direction of the first processing head is determined to be a direction away from the second processing head.
[0055] The third aspect of the embodiment of the present application provides a target object processing device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the processor communicate with each other via the communication bus.
[0056] Memory is used to store computer programs.
[0057] The processor is used to execute the computer program stored in the memory to implement the processing method described in any one of the first aspects to the first aspect of the embodiments of the present application.
[0058] The fourth aspect of the embodiments of the present application provides a computer-readable storage medium, in which a computer program is stored. When the computer program is executed by a processor, the processing method described in any one of the first to the first aspects of the embodiments of the present application is implemented. BRIEF DESCRIPTION OF THE DRAWINGS
[0059] Figure 1 A network architecture diagram of a target object processing device provided in an embodiment of the present application;
[0060] Figure 2 A schematic diagram of a process for processing a target object provided in an embodiment of the present application;
[0061] Figure 3 A schematic diagram of a coordinate system corresponding to a processing head provided in an embodiment of the present application;
[0062] Figure 4 A schematic flow chart of another processing method provided in an embodiment of the present application;
[0063] Figure 5 A flowchart corresponding to an obstacle avoidance strategy provided in an embodiment of the present application;
[0064] Figure 6 A schematic diagram of the structure of a target object processing device provided in an embodiment of the present application;
[0065] Figure 7 A schematic diagram of the structure of another target object processing equipment provided in an embodiment of the present application. DETAILED DESCRIPTION
[0066] The embodiment of the present application provides a method for processing a target object and related equipment, which can realize that multiple laser processing heads can process the same target object on the processing material at the same time. Each processor controls a laser processing head separately, and then multiple processors complete the processing of the target object based on multiple associated coordinate systems. By monitoring the position of the laser processing head, the processing direction and processing speed of the laser processing head are controlled to avoid the phenomenon of collision of the laser processing head.
[0067] The technical terms used in the embodiments of the present invention are only used to illustrate specific embodiments and are not intended to limit the present invention. In this article, the singular forms "a", "the" and "said" are used to include plural forms at the same time, unless the context clearly states otherwise. Further, the terms "including" and / or "comprising" used in the specification refer to the presence of the features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements and / or components.
[0068] The corresponding structures, materials, acts, and equivalents of all means or steps and function elements in the appended claims, if any, are intended to include any structure, material, or act for performing that function in combination with other explicitly claimed elements. The description of the present invention is presented for purposes of example and description, but is not intended to be exhaustive or to limit the invention to the form disclosed.
[0069] Laser machine is a general term for laser engraving machine, laser cutting machine and laser marking machine. Laser high temperature is used to act on the surface of the material to be processed. According to the graphics input into the laser machine, the text or graphics required by the customer are drawn. Laser machines are widely promoted in all walks of life and can be used in a variety of processing scenarios. They can not only meet the needs of small and medium-sized handicraft processing, but also can be used in industrial production and processing.
[0070] Usually, the laser machine can determine the coordinates of the processing point based on the coordinate system, and then use the motor to drive the processing head to move to the processing point, and finally control the processing head to process the processing material at the processing point. It can be understood that the laser machine can control the processing head to move continuously according to the processing trajectory, and finally draw the preset text or graphics on the processing material. In order to increase the processing rate, multiple processing heads can usually be used for simultaneous processing. For example, a certain figure can be drawn by two processing heads, the first laser processing head completes part of the figure, and the second laser processing head completes another part of the figure. In this way, the processing time can be greatly reduced and the processing efficiency can be improved. However, new problems have also arisen. Multiple processing heads process a target figure at the same time, and the distance between the various parts of the target figure is very close, which can easily cause collisions between the processing heads, which will not only cause great damage to the laser machine, but also fail to complete the drawing of the target figure. Therefore, the movement of multiple processing heads should be coordinated and cooperated with each other to avoid collisions between the processing heads.
[0071] Usually, the laser machine uses the same processor to control the movement of two laser processing heads at the same time. At this time, the processor must ensure the independent movement of each laser processing head and ensure that the two laser processing heads do not collide. For the same processor, the processor will require a very complex control algorithm. At the same time, the computing workload is also particularly large. These will eventually affect the processing speed of the laser processing head and reduce the performance of the laser machine. Therefore, the laser machine can use multiple processors to control different laser processing heads respectively, so that each processor controls the movement of a laser processing head, so that the calculation amount can be balanced to ensure the movement speed of each laser processing head. However, in this way, multiple processors need to communicate, share the movement of other laser processing heads in real time, determine the necessary avoidance rules, avoid conflicts between the movements of multiple laser processing heads, that is, avoid collisions between laser processing heads. Therefore, how to communicate between multiple processors and how to jointly control multiple laser processing heads have become problems that need to be solved urgently.
[0072] Based on the above problems, an embodiment of the present application provides a method for processing a target object, wherein a plurality of controllers are included in the processing equipment, and each controller independently controls the movement of a laser processing head. While improving the processing efficiency of the target object, the processing rate of each processing head is guaranteed. At the same time, multiple processors communicate with each other to obtain the processing status of other processing heads, and by monitoring other processing heads, the problem of conflict in the processing paths of multiple processing heads is avoided, so that a safe distance is always maintained between every two processing heads to avoid collisions between processing heads, thereby increasing the life of the processing equipment, ensuring processing safety, and further improving the processing efficiency of the target object.
[0073] Before introducing the processing method provided in the embodiment of the present application, the structure of the processing equipment in the embodiment of the present application is first introduced. Figure 1 A network architecture diagram of a target object processing device provided in an embodiment of the present application, such as Figure 1 As shown, the processing equipment includes multiple central processing units (CPUs), each of which can independently control one or more processing heads. The CPUs communicate with each other through a dual-port memory (DPRAM). The DPRAM can be built into an FPGA chip, and the two CPUs access the FPGA and then access the internal DPRAM, thereby sharing important information of the two CPUs. Each CPU controls the processing head based on a different coordinate system, that is, the first CPU needs to determine the processing point coordinates in the first coordinate system, and then use the processing point coordinates to control the first processing head to move. The second CPU needs to determine the processing point coordinates in the second coordinate system, and then use the processing point coordinates to control the second processing head to move. It can be seen that the control processes of different CPUs are independent of each other, and the movement processes of different processing heads are also independent. Different processing heads can have different processing speeds, processing methods, and processing directions, etc., which are not specifically limited. When different processing heads are working at the same time, the movement of the processing heads is also independent. It is only necessary to change the movement state based on the operating state of other processing heads to avoid collisions with laser heads.
[0074] Based on the above network architecture, Figure 2 A schematic flow chart of a method for processing a target object provided in an embodiment of the present application includes:
[0075] 201. The processing equipment divides the target object into a first part and a second part.
[0076] When the processing equipment needs to draw the target object on the processing material, multiple processing heads can be used for simultaneous processing. First, the target object should be divided into two parts according to the processing trajectory of the target object. The first part is processed by the first processing head controlled by the first processor, and the second part is processed by the second processing head controlled by the second processor. In this way, the processing speed and efficiency can be improved.
[0077] For example, the processing equipment can be divided according to the contour of the entire target object and the processing surface. In a preferred manner, the control tasks of the two processors (processing tasks of the processing heads) need to be as balanced as possible, and the overall processing time of each processing head is roughly the same to ensure maximum dual-head simultaneous processing to improve processing efficiency.
[0078] like Figure 3As shown, it is a schematic diagram of the coordinate system corresponding to the processing head provided in the embodiment of the present application. The coordinate systems corresponding to multiple processors are not the same, so the coordinate system corresponding to the first processing head can be determined as the coordinate system composed of X1 and Y1. The coordinate system corresponding to the second processing head is determined as the coordinate system composed of X2 and Y2. Among them, X1 and X2 are parallel to each other and have the same positive direction. The straight lines where Y1 and Y2 are located coincide, but the positive directions corresponding to Y1 and Y2 are opposite. At this time, the first processing head can be driven by two motors, one controls the movement of the first processing head in the X direction, and the other controls the movement of the first processing head in the Y direction. Similarly, the second processing head can also be driven by two motors, one controls the movement of the second processing head in the X direction, and the other controls the movement of the second processing head in the Y direction,
[0079] At this time, the central axis of the target object (multiple processing patterns) can be determined, and then the target object can be divided into two parts using the central axis. Subsequently, the first processing head can be controlled to process the upper part, and the second processing head can be controlled to process the lower part.
[0080] 202. The first processor determines a first coordinate position of a first processing head in a first coordinate system, and determines a first target block of a first part according to the first coordinate position;
[0081] based on Figure 3 Each processing head is responsible for completing its corresponding part, and finally completing the processing of the entire graphic. During its own processing, each processing head can also divide the graphics into blocks, and then process multiple blocks. Figure 3 In the example, the first processor can divide the first part into blocks based on the interference line 1, and then obtain the current position of the first processing head, and determine the processing order of the first processing head according to the current position of the first processing head. If the first processing head is on the interference line 1, the upper half of the block of the first part is processed, and then the lower half of the block is processed after the processing is completed. It can be understood that there can be multiple strategies for dividing the blocks, and the blocks can be divided based on different directions, and there is no specific limitation. Similarly, the process of the second processor controlling the second processing head is similar to the control process of the first processor, and there is no limitation here.
[0082] 203. The first processor obtains boundary data of the first target block and boundary data of the second target block included in the second part provided by the second processor.
[0083] After the first processor determines the second target block, it can determine the boundary data of the first target block, such as Figure 3As shown, the first processor needs to determine the Y coordinate of the highest point of the first target block to evaluate whether the first processing head will collide with other processing heads during the processing. It is understandable that when the first processing head and the second processing head process the boundary part at the same time, if no collision occurs, then there will be no collision during the entire processing process. If a collision is likely to occur, then the motion situation needs to be detected and some evasive techniques are used to avoid collisions between the processing heads.
[0084] 204. The first processor determines whether there is a processing conflict based on the boundary data of the first target block and the second target block. If there is no conflict, execute step 105; if there is a conflict, execute step 106.
[0085] It can be understood that the first processor and the second processor can implement the transmission of the processing status data of their corresponding processing heads to the random access memory, and the first processor can obtain the processing status data of other processing heads from the random access memory.
[0086] 205. The first processor maintains the processing state of the first processing head and processes the first target block.
[0087] If the first processor determines through the boundary data corresponding to the two processing heads that the two processing heads are unlikely to collide during the entire processing process, then each processor can independently process part of the target object, maintaining the original processing speed, processing direction, processing trajectory, etc., and ultimately complete the processing process of the entire target object.
[0088] 206. The first processor monitors the motion state of the second processing head, and controls the motion of the first processing head according to the motion state of the second processing head.
[0089] If the first processor determines that the two processing heads may collide during the processing, the first processor needs to monitor the motion state of the second processing head in real time while processing the first part. Control the safe distance between the second processing head and the first processing head. That is, when the first processor detects that the second processing head is too close to the first processing head, it needs to change the processing direction of the first processing head and control the first processing head to move away from the second processing head. In this way, the problem of collision between multiple processing heads can be effectively avoided, and the processing efficiency can be improved.
[0090] Combined with the above description, Figure 4 A schematic diagram of another processing method provided in the embodiment of the present application is shown in FIG. Figure 4 As shown, including:
[0091] Step S1: Start processing. The first processor reads the local file.
[0092] Step S2: Read the boundary data of the local target block from the file.
[0093] The key data such as the current coordinates and speed of the first processing head corresponding to the machine are updated in real time. These key data can be placed in the DPRAM so that the second processor can read these data in real time.
[0094] Step S3: Obtain the boundary data of the current block of the second processing head corresponding to the second processor from the DPRAM, and combine it with the boundary data of the block to be processed by itself to determine whether the processing blocks corresponding to the two processors interfere with each other. If there is no interference between the two sets of processing patterns, go to S41; if there is interference, go to S42.
[0095] Step S41: If the two blocks will not interfere, it is necessary to further determine whether the machine has called the obstacle avoidance strategy in the previous execution process. If the obstacle avoidance strategy has not been called before, it means that the current block and the previous block can also be processed continuously and freely, and this step will not be processed specially. If the backoff obstacle avoidance strategy has been called before, it is necessary to restore the processing logic site, including clearing the blocking flag, restoring the position of the XY axis to the coordinates before backoff, and then go to step S5.
[0096] Step S42: If the two blocks interfere with each other, it means that the processing data of this block is not safe, but it does not mean that the two groups of processing will definitely collide. At this time, it is necessary to call the obstacle avoidance strategy before proceeding to step S5.
[0097] Step S5: calling the continuous trajectory planning algorithm of the XY plane to perform continuous interpolation processing on the data of this block.
[0098] Step S6: Determine whether all data has been processed. If not, go to S2 to read the next processing block data and continue the entire logical flow. If the file has been processed, go to S7.
[0099] Step S7: This machine has completely processed this file, and returns XY to the origin of this coordinate system so that this machine does not interfere with the other party's processing head, and this machine has completed processing.
[0100] The following is a detailed introduction to the obstacle avoidance process corresponding to the obstacle avoidance strategy. Figure 5 A flowchart corresponding to an obstacle avoidance strategy provided in an embodiment of the present application includes:
[0101] Step 501: Enter the obstacle avoidance strategy, read or update the line segment coordinates, speed and other information within this interpolation cycle.
[0102] Step 502: determine whether the block is no longer in the interference area (based on the boundary data of DPRAM, it may be because the processing trajectory of the other party has left the interference area), or whether the data of the block has been processed. If either of the two conditions is met, the obstacle avoidance strategy ends. Otherwise, go to step 503.
[0103] Step 503: Determine whether the corresponding line segment is moving away from the current cycle. Figure 3 For the coordinate system 1 shown, whether the line segment is a line segment that tends to move in the negative direction of the Y axis as a whole. If yes, step 504 is executed; if no, step 505 is executed.
[0104] Step 504: If the corresponding line segment in this cycle is moving away, the controller does not perform any special processing, and interpolates the movement in this cycle according to the pre-planned speed strategy.
[0105] Step 505: If the direction of the line segment in this cycle is not a moving away movement and there is a real risk of collision, then read the key information in the DPRAM, such as the current / target position of the two processing heads and the safety distance reserved by the controller algorithm, to determine whether a distance of the straight line can be interpolated in this cycle. If so, execute step 506; otherwise, execute step 507.
[0106] Step 506: There is a risk of collision in this cycle, but it is possible to run a straight distance. At this time, the controller re-calculates the maximum bearing speed of the new target point according to the current positions of the two ends in DPRAM, the current speed, and the direction of the speed vector. The speed is limited by multiple factors, such as not exceeding the original planned speed, and sufficient deceleration distance is required to prevent the two ends from colliding. Then, the current cycle is interpolated according to the new plan.
[0107] Step 507: If the remaining line segments of the corresponding straight line in this cycle are in danger of colliding with the machine and do not meet the requirement of continuing interpolation, the processing head needs to be forced to retreat to avoid the machine. At this time, the DPRAM obtains the other party's target position and determines the avoidance point of the machine to avoid the machine. Then go to step 501 to continue the loop control of the entire process.
[0108] Figure 6 A schematic diagram of a target object processing device is provided for the second aspect of the embodiment of the present application. The processing device includes:
[0109] The processing unit 601 is used to divide the target object into a first part and a second part according to the processing trajectory of the target object.
[0110] The first control unit 602 is used to control the first processing head to process the first part of the target object.
[0111] The second control unit 603 is used to control the second processing head to process the second part of the target object.
[0112] The first control unit and the second control unit of the processing equipment are also used to control the distance between the first processing head and the second processing head to be no less than the safety distance.
[0113] In an optional implementation, the processing device further includes a determination unit 604 .
[0114] The determination unit 604 is used to determine a first coordinate system corresponding to the first processor and a second coordinate system corresponding to the second processor, wherein the X axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the X axes are the same, and the Y axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the Y axes are opposite.
[0115] The determination unit 604 is further configured to determine the positive half axis of the Y axis corresponding to the central axis of the target object in the first coordinate system.
[0116] The processing unit 601 is specifically configured to divide the target object into a first part and a second part according to a central axis of the target object.
[0117] In an optional embodiment, the first control unit 602 is specifically used to determine the first position coordinates of the first processing head in the first coordinate system, determine the first target block corresponding to the first position coordinates, wherein the first part of the target object includes a plurality of blocks, and control the first processing head to perform continuous interpolation processing on the target block starting from the first position coordinates.
[0118] In an optional embodiment, the first control unit 602 is further used to obtain the second position coordinates of the second processing head in the second coordinate system using the first processor. Obtain the second target block corresponding to the second position coordinates. Wherein, the second part of the target object includes multiple blocks. Determine whether there is an overlapping Y-axis coordinate area between the first target block and the second target block. According to the judgment result, the first processing head is controlled using the first processor.
[0119] In an optional implementation, the first control unit 602 is specifically configured to determine the maximum boundary Y coordinate of the first target block and the second target block.
[0120] The determination unit 604 is further configured to determine, based on the maximum boundary Y coordinates of the first target block and the second target block, a Y-axis coordinate region where the first target block and the second target block do not overlap, and to determine that the first processor and the second processor independently control the first processing head and the second processing head.
[0121] In an optional implementation, the first control unit 602 is specifically configured to determine the maximum boundary Y coordinate of the first target block and the second target block.
[0122] The determination unit 604 is further configured to determine, based on the maximum boundary Y coordinates of the first target block and the second target block, a Y-axis coordinate region where the first target block and the second target block overlap.
[0123] The first control unit 602 is also used to monitor the position of the second processing head in real time.
[0124] The determination unit 604 is further configured to determine the first control unit, and to control the position of the first machining head according to the position of the second machining head, so that the position of the first machining head is different from the position of the second machining head.
[0125] In an optional embodiment, the first control unit 602 is specifically used to determine the movement direction of the second processing head using the first processor. If the movement direction of the second processing head is a direction away from the first processing head, the movement direction of the first processing head is controlled to remain unchanged. If the movement direction of the second processing head is a direction close to the first processing head, the movement direction of the first processing head is determined to be a direction away from the second processing head.
[0126] See also Figure 7 , is a structural schematic diagram of another target object processing equipment provided in an embodiment of the present application, the processing equipment includes: a processor 701, a memory 702, and a communication interface 703.
[0127] The processor 701, the memory 702, and the communication interface 703 are interconnected via a bus; the bus may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Figure 7 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.
[0128] The memory 702 may include a volatile memory, such as a random-access memory (RAM); the memory may also include a non-volatile memory, such as a flash memory, a hard disk drive (HDD) or a solid-state drive (SSD); the memory 402 may also include a combination of the above-mentioned types of memory.
[0129] The processor 701 may be a central processing unit (CPU), a network processor (NP) or a combination of a CPU and a NP. The processor 701 may further include a hardware chip. The hardware chip may be an application-specific integrated circuit (ASIC), a programmable logic device (PLD) or a combination thereof. The PLD may be a complex programmable logic device (CPLD), a field-programmable gate array (FPGA), a generic array logic (GAL) or any combination thereof.
[0130] The communication interface 703 may be a wired communication interface, a wireless communication interface or a combination thereof, wherein the wired communication interface may be, for example, an Ethernet interface. The Ethernet interface may be an optical interface, an electrical interface or a combination thereof. The wireless communication interface may be a WLAN interface, a cellular network communication interface or a combination thereof, etc.
[0131] Optionally, the memory 702 may also be used to store program instructions, and the processor 701 calls the program instructions stored in the memory 702 to execute Figure 2 or Figure 5 The steps in the method embodiment shown, or the optional implementation methods thereof, enable the face recognition device to implement the steps in the above method, and the details will not be repeated here.
[0132] The embodiment of the present application also provides a chip or a chip system, which includes at least one processor and a communication interface, the communication interface and the at least one processor are interconnected through a line, and the at least one processor runs an instruction or a computer program to execute Figure 2 or Figure 5One or more steps in the illustrated method embodiment.
[0133] The communication interface in the chip may be an input / output interface, a pin or a circuit, etc.
[0134] In a possible implementation, the chip or chip system described above further includes at least one memory, in which instructions are stored. The memory may be a storage unit inside the chip, such as a register, a cache, etc., or a storage unit of the chip (e.g., a read-only memory, a random access memory, etc.).
[0135] The embodiment of the present application also provides a computer storage medium, which stores computer program instructions for implementing the target object processing method provided by the embodiment of the present application.
[0136] The present application also provides a computer program product, which includes computer software instructions, which can be loaded by a processor to implement the above Figure 2 or Figure 5 The process flow in the method for processing the target object shown.
[0137] The technical terms used in the embodiments of the present invention are only used to illustrate specific embodiments and are not intended to limit the present invention. In this article, the singular forms "a", "the" and "said" are used to include plural forms at the same time, unless the context clearly states otherwise. Further, the terms "including" and / or "comprising" used in the specification refer to the presence of the features, wholes, steps, operations, elements and / or components, but do not exclude the presence or addition of one or more other features, wholes, steps, operations, elements and / or components.
[0138] The corresponding structures, materials, acts, and equivalents of all means or steps and function elements in the appended claims, if any, are intended to include any structure, material, or act for performing that function in combination with other explicitly claimed elements. The description of the present invention is presented for purposes of example and description, but is not intended to be exhaustive or to limit the invention to the form disclosed.
Claims
1. A method for processing a target object, characterized in that: The processing method comprises: The processing equipment divides the target object into a first part and a second part by using the central axis of the target object according to the processing trajectory of the target object; The processing equipment uses a first processor to determine a first position coordinate of a first processing head in a first coordinate system; the processing equipment uses the first processor to determine a first target block corresponding to the first position coordinate; wherein the first part of the target object includes a plurality of blocks; the processing equipment uses the first processor to control the first processing head, starting from the first position coordinate, to perform continuous interpolation processing on the first target block; The processing equipment uses the first processor to obtain the second position coordinates of the second processing head in the second coordinate system; the processing equipment uses the first processor to obtain the second target block corresponding to the second position coordinates; wherein the second part of the target object includes a plurality of blocks; the processing equipment uses the first processor to determine whether there is an overlapping Y-axis coordinate area between the first target block and the second target block; the processing equipment uses the first processor to control the first processing head according to the determination result; Using a second processor to control a second processing head to process a second portion of the target object; The processing equipment controls the distance between the first processing head and the second processing head to be not less than the safety distance, the X-axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the X-axes are the same, and the Y-axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the Y-axes are opposite; The step of the processing device controlling the first processing head by using the first processor according to the judgment result includes: if there is no overlapping Y-axis coordinate area, determining whether the first processing head has called an obstacle avoidance strategy in the process of processing the previous block; if the obstacle avoidance strategy has not been called, the processing device controls the first processing head by using the first processor to perform continuous interpolation processing on the first target block starting from the first position coordinate; if the obstacle avoidance strategy has been called, the processing device restores the processing logic scene by using the first processor, and then the processing device controls the first processing head by using the first processor to perform continuous interpolation processing on the first target block starting from the first position coordinate; Among them, the obstacle avoidance strategy includes: judging whether the processing direction of the corresponding line segment in this interpolation cycle is the movement direction away from the other processing head; if it is the movement direction away from the other processing head, executing the processing movement of this interpolation cycle according to the pre-planned speed strategy; if it is not the movement direction away from the other processing head, determining whether a distance of this line segment can be interpolated in this interpolation cycle according to the current position, target position and the safety distance of the two processing heads; if a distance of this line segment can be interpolated, re-calculating the maximum bearing speed of the new target point according to the current position, current speed and speed vector direction of the two processing heads, and then executing the processing movement of this interpolation cycle with reference to the maximum bearing speed; if a distance of this line segment cannot be interpolated, obtaining the target position of the other processing head to determine the avoidance point of this processing head, and forcing this processing head to retreat to avoid the avoidance point.
2. A target object processing device, characterized in that: The processing equipment includes: A processing unit, configured to divide the target object into a first part and a second part by using a central axis of the target object according to a processing trajectory of the target object; A first control unit is used to determine a first position coordinate of a first processing head in a first coordinate system; determine a first target block corresponding to the first position coordinate; wherein the first part of the target object includes a plurality of blocks; control the first processing head to perform continuous interpolation processing on the first target block starting from the first position coordinate; obtain a second position coordinate of a second processing head in a second coordinate system; obtain a second target block corresponding to the second position coordinate; wherein the second part of the target object includes a plurality of blocks; determine whether there is an overlapping Y-axis coordinate area between the first target block and the second target block; and control the first processing head according to the determination result; wherein the X-axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the X-axes are the same, and the Y-axes of the first coordinate system and the second coordinate system are parallel to each other and the positive directions corresponding to the Y-axes are opposite; a second control unit, used for controlling the second processing head to process the second part of the target object; Wherein, the first control unit and the second control unit of the processing equipment are also used to control the distance between the first processing head and the second processing head to be not less than a safety distance; Wherein, when the first control unit executes the function of controlling the first processing head according to the judgment result, it is specifically used to: if there is no overlapping Y-axis coordinate area, determine whether the first processing head has called the obstacle avoidance strategy in the process of processing the previous block; if the obstacle avoidance strategy has not been called, control the first processing head to start from the first position coordinate and perform continuous interpolation processing on the first target block; if the obstacle avoidance strategy has been called, restore the processing logic scene, and then control the first processing head to start from the first position coordinate and perform continuous interpolation processing on the first target block; Among them, the obstacle avoidance strategy includes: judging whether the processing direction of the corresponding line segment in this interpolation cycle is the movement direction away from the other processing head; if it is the movement direction away from the other processing head, executing the processing movement of this interpolation cycle according to the pre-planned speed strategy; if it is not the movement direction away from the other processing head, determining whether a distance of this line segment can be interpolated in this interpolation cycle according to the current position, target position and the safety distance of the two processing heads; if a distance of this line segment can be interpolated, re-calculating the maximum bearing speed of the new target point according to the current position, current speed and speed vector direction of the two processing heads, and then executing the processing movement of this interpolation cycle with reference to the maximum bearing speed; if a distance of this line segment cannot be interpolated, obtaining the target position of the other processing head to determine the avoidance point of this processing head, and forcing this processing head to retreat to avoid the avoidance point.
3. A target object processing device, characterized in that: The processing equipment includes a processor, a communication interface, a memory and a communication bus; wherein, The processor, the communication interface and the processor communicate via the communication bus; The memory is used to store computer programs; The processor is used to execute the computer program stored in the memory to implement the processing method described in claim 1.
4. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processing method according to claim 1 is implemented.
