Robot conveyor tracking method, robot, and readable storage medium

By determining the real-time position of the workpiece in the robot coordinate system and adjusting the tracking trajectory in real time, the problem of low tracking accuracy of the robot on a circular conveyor belt is solved, and efficient and accurate workpiece operation is achieved.

CN119681888BActive Publication Date: 2026-05-19CHENGDU CRP ROBOT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
CHENGDU CRP ROBOT TECH CO LTD
Filing Date
2024-12-31
Publication Date
2026-05-19

AI Technical Summary

Technical Problem

When existing robots track workpieces on circular conveyor belts, they suffer from low tracking accuracy, especially due to factors such as the delay in signal reading by the detection sensors and the long robot start-up acceleration time.

Method used

By determining the real-time position of the workpiece in the robot coordinate system, the tracking trajectory is adjusted in real time, and corrections are made based on the offset of the conveyor belt during the tracking process. An adaptive adjustment mechanism is adopted to improve tracking accuracy.

Benefits of technology

This technology enables robots to track workpieces on conveyor belts efficiently and accurately, ensuring that robots can effectively operate the workpieces and improving the accuracy and stability of tracking.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119681888B_ABST
    Figure CN119681888B_ABST
Patent Text Reader

Abstract

The application provides a robot conveyor tracking method, a robot and a readable storage medium, and relates to the technical field of robot control, and comprises the following steps: when a workpiece is located in a starting area, determining a target tracking position of the robot; the target tracking position is a real-time position of the workpiece in a robot coordinate system; the robot starts tracking movement based on the target tracking position, and corrects an end point of a tracking trajectory according to a real-time offset of the conveyor, so that the robot and the workpiece synchronously arrive at the same position; when it is determined that a tracking effect in the tracking movement process does not meet preset requirements, correcting the target tracking position according to a conveyor speed. In the application, the robot continuously corrects the tracking trajectory in the tracking movement, so that the workpiece can be accurately tracked, and if the tracking effect does not meet the preset requirements, the target tracking position is further corrected according to the conveyor speed. The adaptive adjustment mechanism improves the tracking accuracy, and ensures that the robot effectively operates the moving workpiece on the conveyor.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of robot control technology, and more specifically, to a robot conveyor belt tracking method, a robot, and a readable storage medium. Background Technology

[0002] In the field of industrial automation, especially in scenarios such as material handling, palletizing, and welding, conveyor belt tracking systems are widely used to improve workpiece processing efficiency. Circular conveyor belt tracking technology is particularly important on production lines where the equipment layout requires a circular conveyor path. This technology not only meets the tracking needs of non-linear conveying but also flexibly adapts to various complex application scenarios.

[0003] Currently, six-axis articulated robots can perform various tasks on automated production lines, such as automated assembly, painting, material handling, welding, and post-processing. These robots have conveyor belt following capabilities and can acquire workpiece position information through vision systems or sensors. They follow the workpiece moving on the conveyor belt and complete tasks synchronously, such as dynamic gripping and dynamic gluing. They can accurately follow the operator's instructions, ensuring high efficiency and accuracy in the production process.

[0004] However, in disc conveyor tracking systems, robots like six-axis articulated robots are subject to many factors that can cause low tracking accuracy during the tracking process. For example, the time delay in reading the effective signal from the detection sensor and the long acceleration time when the robot starts up can all lead to insufficient tracking accuracy, making it impossible for the robot to effectively process the workpiece. Summary of the Invention

[0005] In view of this, the purpose of this invention is to provide a robot conveyor belt tracking method, a robot, and a readable storage medium to improve the tracking accuracy of the robot on workpieces on a conveyor belt and achieve efficient operation and processing. To achieve the above objective, the technical solution of this invention is as follows:

[0006] In a first aspect, the present invention provides a robot conveyor belt tracking method, the method comprising: when a workpiece is located in a starting area, determining a target tracking position for the robot; wherein the target tracking position is the real-time position of the workpiece in the robot coordinate system; the robot starting tracking motion based on the target tracking position, and correcting the endpoint of the tracking trajectory according to the real-time offset of the conveyor belt, so that the robot and the workpiece reach the same position synchronously; when it is determined that the tracking effect during the tracking motion does not meet preset requirements, correcting the target tracking position according to the conveyor belt speed.

[0007] In a second aspect, the present invention provides a robot, at least one processor, and a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the robot conveyor tracking method as described in the first aspect.

[0008] Thirdly, the present invention provides a readable storage medium for storing a computer program, which, when executed by a processor, is used to implement the robot conveyor belt tracking method as described in the first aspect.

[0009] The robot conveyor belt tracking method, robot, and readable storage medium provided in this invention include: when a workpiece is located in a start-up area, the robot determines a target tracking position, which is the real-time position of the workpiece in the robot coordinate system, laying the foundation for subsequent precise tracking. The robot begins tracking motion based on the target tracking position and corrects the endpoint of the tracking trajectory according to the real-time offset of the conveyor belt to ensure accurate tracking of the workpiece. During the tracking process, the robot continuously evaluates the tracking effect. If the tracking effect does not meet preset requirements, the robot corrects the target tracking position according to the conveyor belt speed. This adaptive adjustment mechanism can cope with possible deviations during tracking, further improving tracking accuracy. This invention achieves efficient and accurate tracking of moving workpieces on a conveyor belt through precise control, thereby ensuring that the robot can effectively operate the workpiece.

[0010] To make the above-mentioned objects, features and advantages of the present invention more apparent and understandable, preferred embodiments are described below in detail with reference to the accompanying drawings. Attached Figure Description

[0011] To more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention and should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can be obtained based on these drawings without creative effort.

[0012] Figure 1 This is an application scenario diagram of the robot conveyor belt tracking method provided in the embodiments of the present invention;

[0013] Figure 2 This is a schematic diagram of the calibration process provided in an embodiment of the present invention;

[0014] Figure 3 A schematic flowchart illustrating a robot conveyor belt tracking method provided in an embodiment of the present invention;

[0015] Figure 4 An example diagram of the tracking area in an embodiment of the present invention is shown;

[0016] Figure 5 A structural block diagram of a robot provided in an embodiment of the present invention. Detailed Implementation

[0017] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. The components of the embodiments of the present invention described and shown in the accompanying drawings can generally be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely to illustrate selected embodiments of the invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without inventive effort are within the scope of protection of the present invention.

[0018] Robot conveyor belt following function refers to the robot acquiring the position information of the workpiece through a vision system or sensors, following the workpiece moving on the conveyor belt, and completing the operation in a synchronized state, such as dynamic grasping and dynamic gluing.

[0019] Please see first. Figure 1 , Figure 1 This diagram illustrates an application scenario of the robot conveyor belt tracking method provided in this embodiment of the invention. The application scenario includes: a robot 101, a disc conveyor belt 102, a sensor 103, and an encoder 104. The robot 101 comprises a robot body and a robot controller. Both the sensor 103 and the encoder 104 are connected to the robot controller.

[0020] When the workpiece 105 passes the front end of the sensor 103, a signal is triggered. After receiving the signal, the robot controller will record the position of the workpiece when it passes the front end of the sensor 103, which is the current encoder value.

[0021] Encoder 104 is fixed to one end of the disc conveyor belt 102. As the disc conveyor belt 102 rotates, encoder 104 also rotates and counts. This count value represents the current position of the disc conveyor belt 102, and thus the position of workpiece 105 on the disc conveyor belt 102 can be deduced. During the process of robot 10 tracking workpiece 105, robot controller obtains the position information of encoder 104 in real time through an external interface.

[0022] When performing operations on workpiece 105, robot 101 includes, but is not limited to, gripping, assembling, painting, handling, and welding. These tasks place high demands on the real-time response capability of robot 101. To ensure accurate tracking, robot 101 acquires the position information of encoder 104 in real time during the tracking process and adjusts its tracking trajectory accordingly. This ensures that robot 101 can continuously and accurately track workpiece 105, achieving efficient and precise operation.

[0023] Considering that existing robot conveyor belt tracking methods have low tracking accuracy, preventing robots from effectively processing workpieces, this invention provides a robot conveyor belt tracking method, which is described below through embodiments.

[0024] exist Figure 1 In the process of using robot 101 to dynamically follow workpiece 105, the first step is to calibrate the tracking coordinate system, i.e., the tracking coordinate system itself, by calibrating the relevant parameters. In this embodiment of the invention, the calibration process is described in accordance with... Figure 2 As shown, Figure 2 This is a schematic diagram illustrating the calibration process provided in an embodiment of the present invention. The explanation is as follows:

[0025] On the stationary disc conveyor belt 102, a placement point and three different reference points, A, B, and C, are selected. These three reference points do not coincide, and the rotation direction of the disc conveyor belt 102 is set to counterclockwise. It should be understood that the user can choose to set the rotation direction to clockwise according to their actual needs. During calibration, simply refer to the calibration procedure for the counterclockwise direction and make the corresponding adjustments. Therefore, the calibration process for the clockwise direction will not be repeated here.

[0026] First, place workpiece 105 at the designated placement point. Then, start the conveyor belt and rotate it counterclockwise until workpiece 105 reaches reference point A. At this point, stop the conveyor belt and manipulate robot 101 to align its tool center point (TCP) with reference point A. After alignment, record the robot's position P1 and the encoder reading E1 at this time.

[0027] Next, restart the conveyor belt to move workpiece 105 to reference point B. Once reached, stop the conveyor belt and adjust robot 101 to ensure its TCP aligns with reference point B. After alignment, record the robot's new position P2 and the encoder's new reading E2.

[0028] Finally, continue rotating the conveyor belt until workpiece 105 reaches reference point C. After workpiece 105 arrives and stops, move robot 101 so that its TCP aligns with reference point C. After alignment, record the robot's final position P3 and the encoder's final reading E3.

[0029] After obtaining the encoder values ​​and robot position information corresponding to reference points A, B, and C, the encoder ratio can be determined based on this information, as explained below:

[0030] First, the tracking coordinate system, denoted as TrackSysCoord, can be determined based on the robot positions corresponding to reference points B and C. It's easy to understand that three points P1, P2, and P3 in space can define a circle, from which the center point O and radius R can be obtained. For details, please refer to existing technologies; they will not be elaborated upon here.

[0031] Take the center point O as the origin of the tracking coordinate system, take the direction vector from point P1 to the center point O as the X direction of the tracking coordinate system, and then denote the direction vector from point P2 to the center point O as V. The Z direction of the tracking coordinate system is obtained by the cross product of X and V, and the Y direction is obtained by the cross product of Z and X. Thus, the tracking coordinate system (TrackSysCoord) is obtained.

[0032] Further, calculate the angle between the vector from point P1 to the center point O and the vector from point P2 to the center point O, denoted as theta. Then, obtain the encoder difference between points P1 and P2 using the formula Ediff = fabs(E1 – E2), where fabs(·) represents the absolute value. Finally, obtain the encoder ratio p using the formula p = Ediff / theta.

[0033] After the tracking coordinate system calibration and related parameter settings are completed, the robot conveyor belt tracking method provided in this embodiment of the invention can accurately track the workpiece 105 on the disc conveyor belt 102.

[0034] Next, the robot conveyor belt tracking process provided by the embodiments of the present invention will be explained in detail with reference to the relevant accompanying drawings. It should be noted that the aforementioned calibration process is based on the conveyor belt rotating in a counterclockwise direction. Therefore, the robot conveyor belt tracking process described below will also be described using counterclockwise tracking as an example.

[0035] It should be understood that users can adjust the robot's parameter settings to specify the conveyor belt's rotation direction as forward or reverse, thereby achieving conveyor belt direction tracking. This eliminates the need for recalibration, enabling conveyor belt direction reversal and improving operational flexibility and efficiency.

[0036] Please see Figure 3 , Figure 3 This is a schematic flowchart of a robot conveyor belt tracking method provided in an embodiment of the present invention. The execution subject of the method can be controlled by a robot, and mainly includes steps S301 to S303, as described below:

[0037] S301: When the workpiece is in the starting area, determine the target tracking position of the robot; where the target tracking position is the real-time position of the workpiece in the robot coordinate system;

[0038] S302: The robot starts tracking motion based on the target tracking position and corrects the end point of the tracking trajectory according to the real-time offset of the conveyor belt so that the robot and the workpiece arrive at the same position synchronously.

[0039] S303: When it is determined that the tracking effect during the tracking motion does not meet the preset requirements, the target tracking position is corrected according to the conveyor belt speed.

[0040] In this embodiment of the invention, when the workpiece is located in the starting area, the robot determines the target tracking position. This position is the real-time position of the workpiece in the robot's coordinate system, laying the foundation for subsequent precise tracking. The robot begins tracking motion based on the target tracking position and corrects the endpoint of the tracking trajectory according to the real-time offset of the conveyor belt, ensuring that the robot can accurately track the workpiece. During the tracking motion, the robot continuously evaluates the tracking effect. If the tracking effect does not meet the preset requirements, the robot corrects the target tracking position according to the conveyor belt speed. This adaptive adjustment mechanism can cope with possible deviations during the tracking process, further improving the tracking accuracy. This embodiment of the invention achieves efficient and accurate tracking of moving workpieces on the conveyor belt by the robot through a series of precise control steps, thereby ensuring that the robot can effectively operate the workpiece.

[0041] Next, steps 301 to S303 in the embodiments of the present invention will be described in detail.

[0042] In step S301, the "starting area" refers to the region extending a certain starting distance from the starting position along the conveyor belt's moving direction. This region is also the working area where specific operations are performed on the workpiece. In this embodiment of the invention, a reference point near the sensor during the calibration process is used, which is also the origin of the conveyor belt base coordinate system. Figure 2 The reference point A shown is called the "starting position". The "starting distance" refers to a preset distance from the reference point A along the direction of movement of the conveyor belt.

[0043] When a workpiece enters this starting area, the robot automatically begins tracking it. Simultaneously, if a next workpiece moves beyond this starting area while the robot is operating on the current workpiece, that next workpiece will not be tracked. This design ensures the robot can operate on workpieces efficiently and accurately, while avoiding unnecessary tracking of workpieces that have not entered or have moved beyond the starting area.

[0044] In addition to the ability to preset the start distance, embodiments of the present invention also allow users to preset the upper and lower limits of the allowed tracking. For a more intuitive understanding of this concept, please refer to [link to relevant documentation]. Figure 4 , Figure 4 An example diagram of the tracking area in an embodiment of the present invention is shown.

[0045] exist Figure 4 In this diagram, the effective working range refers to the area where the robot can effectively track and manipulate the workpiece. This area is between the upper and lower limits of the allowable tracking range, ensuring that the workpiece can be stably tracked by the system once it enters this area. Furthermore, the rotation direction in the diagram indicates the working motion direction of the conveyor belt.

[0046] exist Figure 4 In this context, the effective working range refers to the area within which the robot can effectively track and manipulate the workpiece. This range lies between the upper and lower limits of the allowable tracking range, ensuring that the robot can stably track the workpiece once it enters this area. Figure 4 The text also indicates the working direction of the conveyor belt, that is, the direction of rotation.

[0047] "Allowable tracking upper limit" refers to a certain distance within which the system can move in the opposite direction from the reference point A along the conveyor belt. This distance can exceed the distance between the reference point A and the sensor, ensuring that the system has enough time and space to adjust when the workpiece approaches the sensor, thus guaranteeing the accuracy and stability of tracking.

[0048] The "allowed tracking lower limit" is a certain distance range set from the reference point A along the conveyor belt's movement direction. This area is also the robot's working area, and it is usually larger than the starting distance. This setting is to ensure that the workpiece can still be effectively tracked by the system after leaving the starting area, in order to deal with unexpected situations such as workpiece loss.

[0049] It should be understood that the above parameter settings are based on the case where the conveyor belt rotates counterclockwise. When the user selects clockwise rotation, the starting distance will be calculated based on the reference point A in a clockwise direction, and the lower limit of allowable tracking will be converted to the upper limit of allowable tracking. Other steps remain unchanged and will not be described in detail here.

[0050] It should also be clarified that before activating the conveyor belt's dynamic tracking function, users need to complete the pre-configuration of relevant parameters. This includes, but is not limited to, distance parameters related to the activation area, the upper limit of allowed tracking, and the lower limit of allowed tracking.

[0051] In one embodiment of the present invention, when the robot starts the object tracking program, it first waits for the workpiece to pass the sensor. Once the workpiece passes the sensor, the robot stores the current encoder value and its position in the robot coordinate system into a buffer. One encoder value corresponds to one robot position point, which facilitates the rapid determination of the current tracking position later.

[0052] To make the description clearer, in this embodiment of the invention, the encoder value corresponding to the workpiece passing the sensor is defined as the "reference encoder value," denoted by Eo; simultaneously, the position of the workpiece in the robot coordinate system is defined as the "reference position," denoted by P. It should be understood that this definition is merely for distinguishing between the real-time encoder value and the real-time position during subsequent workpiece movement, and does not impose any limitations on their functionality.

[0053] In this embodiment of the invention, when the workpiece passes the sensor, the aforementioned reference position P is the activation position of the activation area, i.e. Figure 2 The position of reference point A, P1, is obtained by rotating it in the tracking coordinate system, as follows:

[0054] A rotation matrix is ​​constructed based on the difference between the reference encoder value and the encoder value corresponding to the reference point, as well as the encoder ratio. The position after rotating the reference position according to the rotation matrix is ​​used as the reference position.

[0055] The above implementation method can be represented by the following formula:

[0056] P = Rot(p*(Eo-E1))*P1 (1)

[0057] Rot is a rotation matrix that rotates the Z-axis of the tracking coordinate system by an angle p*(Eo-E1).

[0058] Furthermore, after passing the sensor, the workpiece continues to move along the rotation direction of the conveyor belt, and the encoder value changes in real time. Therefore, before the workpiece reaches the starting area, the robot reads the current encoder value in real time to confirm whether the workpiece has reached the starting area.

[0059] As an optional implementation, after the workpiece passes the sensor, the robot can determine whether the workpiece has reached the starting area by: determining whether the workpiece has reached the starting position of the starting area based on the current encoder value; if it has reached the starting position, then determining whether the workpiece has exceeded the starting position based on the current encoder value; if so, then determining that the workpiece is located in the starting area.

[0060] It is easy to understand that the startup location (i.e.) Figure 2 The encoder value corresponding to the reference point A) and its position in the robot coordinate system have been determined during the calibration process, namely E1 and P1 respectively. Then, similar to the process of determining the reference position P of the workpiece in the previous text, the real-time position Pc of the workpiece in the robot coordinate system can be obtained according to the following formula (2):

[0061] Pc=Rot(p*(Ec-Eo))*P (2)

[0062] Where Ec is the current encoder value; if Pc equals P1, it means that the workpiece has just reached the start position, and if Pc exceeds P1, it means that the workpiece has reached the start area.

[0063] When the workpiece moves within the start area, the robot can extract the pre-stored reference encoder value Eo and reference position P from the buffer. Then, based on the current encoder value read each time within the start area, and combined with the reference encoder value Eo, the robot calculates the real-time position of the workpiece in the robot coordinate system at each moment within the start area using the aforementioned formula (1). This real-time position is used as the target tracking position, enabling the robot to accurately track the workpiece, i.e., executing step S202.

[0064] In step S202, the robot will still read the encoder value in real time during the tracking motion process, and perform real-time calculation with the reference encoder value Eo written to the buffer to obtain the offset of the conveyor belt movement. Then, the robot will correct the endpoint of the tracking trajectory in real time during the robot motion interpolation cycle.

[0065] In this embodiment of the invention, step S202 mainly includes the following steps, which are explained below:

[0066] Step a1: Calculate the conveyor belt offset using the encoder values ​​read in real time during the tracking motion and the pre-obtained reference encoder values;

[0067] Step a2: Correct the endpoint within the robot's interpolation cycle based on the conveyor belt offset.

[0068] Understandably, in robot control, the interpolation cycle refers to the time period during which the robot controller calculates and updates the robot's target position. Within each interpolation cycle, the controller adjusts the robot's tracking trajectory as needed.

[0069] In this embodiment of the invention, as the workpiece moves on the conveyor belt, the encoder continuously updates its readings. The robot monitors the updated encoder value in real time and, combined with the reference value Eo recorded in the buffer, calculates the workpiece's movement offset. In the robot's next motion interpolation cycle, the robot adjusts its tracking trajectory endpoint based on this offset to ensure accurate workpiece tracking.

[0070] When tracking a workpiece using the above-described method, if it is determined that the tracking effect does not meet the preset requirements, step S203 can be executed.

[0071] In step S203, the preset requirement may be, but is not limited to, any of the following: the tracking accuracy does not reach the preset accuracy; the workpiece cannot be effectively operated during the tracking process.

[0072] To address these issues, users can pre-set a dynamic compensation time. During the tracking process, the robot will perform trajectory superposition compensation based on the conveyor belt speed in each motion interpolation cycle within the set dynamic compensation time, enabling the robot to effectively track the workpiece. Therefore, the main process of correcting the target tracking position based on the conveyor belt speed in this embodiment of the invention is as follows:

[0073] To address the above situation, users can pre-set a dynamic compensation time. During the tracking process, the robot will perform trajectory superposition compensation based on the conveyor belt speed for each motion interpolation cycle within the set dynamic compensation time. This enables the robot to effectively track the workpiece. Therefore, the main process of correcting the target tracking position based on the conveyor belt speed in this embodiment of the invention is as follows:

[0074] Step b1: Obtain the current conveyor belt speed.

[0075] In this embodiment of the invention, the product of the difference between the encoder value of the current interpolation cycle and the encoder value of the previous interpolation cycle and the encoder ratio can be determined first. The ratio between the product and the interpolation cycle duration is used as the conveyor belt speed. The formula (2) for this process is as follows:

[0076] Espeed=(Ecc-Elast)*p / cyctime(3)

[0077] Where Ecc and Elast are the encoder values ​​for the current interpolation cycle and the previous interpolation cycle, respectively; p is the encoder ratio; and cyctime is the interpolation cycle duration.

[0078] Step b2: Determine the dynamic compensation angle based on the current conveyor belt speed;

[0079] In this embodiment of the invention, the dynamic compensation angle is determined by multiplying the current conveyor belt speed calculated in step b1 by the interpolation cycle time, expressed by the formula angle = Espeed * cyctime.

[0080] Step b3: Compensate the target tracking position based on the dynamic compensation angle.

[0081] In this embodiment of the invention, similar to the method of determining the target tracking position described above, after obtaining the dynamic compensation angle, the dynamic compensation angle is superimposed on the tracking offset based on formula (2) to modify the trajectory in real time during interpolation, as shown in formula (4):

[0082] Pc′=Rot((p*(Ec-Eo))+angle)*P (4)

[0083] This adaptive adjustment mechanism can address potential deviations during the tracking process, further improving tracking accuracy.

[0084] In one embodiment of the invention, when the robot is tracking the current workpiece and the next workpiece passes the sensor, the robot records and stores the reference encoder value of the workpiece when it passes the sensor, as well as the reference position of the workpiece in the robot coordinate system, in a buffer. After the robot completes the tracking task of the current workpiece, it will access the data in the buffer again to track the next workpiece, ensuring that the robot can seamlessly transition from one workpiece to the next, thus improving the efficiency and continuity of the entire tracking process.

[0085] In the above implementation, after the robot finishes tracking the current workpiece, it can retrieve and discard the reference encoder value and reference position corresponding to the current workpiece that have been written into the buffer, thereby releasing the occupied storage space.

[0086] In one embodiment of the present invention, if the next workpiece has exceeded the starting area during the tracking of the current workpiece, the robot can extract the corresponding reference encoder value and reference position of the workpiece from the buffer and discard it. This avoids invalid tracking of workpieces that have exceeded the operating area, thereby improving the accuracy and efficiency of tracking.

[0087] In one embodiment of the present invention, when the robot is tracking the current workpiece, if the workpiece moves beyond the set allowable tracking lower limit, the robot can issue an alarm notification to the user without stopping operation, so as to promptly remind the user of possible situations such as workpiece loss, thereby allowing the user to take corresponding measures quickly to prevent potential production interruptions or losses.

[0088] As can be seen from the above embodiments, the robot conveyor belt tracking method provided by the present invention has the following advantages: The tracking method provided by the present invention is not only applicable to arc-shaped conveyor belts, but can also be widely applied to workpiece processing processes on arc-shaped conveyor belts in industrial fields such as spraying, welding, and palletizing. Simultaneously, the present invention can also implement a reverse tracking method, allowing users to quickly achieve reverse operation of the conveyor belt without repeated calibration, thereby improving efficiency in the production process. During robot tracking, the present invention can effectively avoid various factors that may lead to a decrease in tracking accuracy, thus improving tracking accuracy while ensuring that the robot can effectively operate the workpiece through a dynamic compensation mechanism.

[0089] To perform the corresponding steps in the above embodiments and various possible methods, this invention can also provide a robot conveyor belt tracking device 40. This robot conveyor belt tracking device 40 can be specific hardware on a device or software or firmware installed on the device. The robot conveyor belt tracking device 40 provided in this invention has the same implementation principle and technical effects as the aforementioned method embodiments. For the sake of brevity, any parts not mentioned in the device embodiments can be referred to the corresponding content in the aforementioned method embodiments. Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can all be referred to the corresponding processes in the above method embodiments, and will not be repeated here.

[0090] Optionally, the aforementioned robot conveyor tracking device 40 can be stored in the form of software or firmware. Figure 5 The memory shown is either stored in or embedded in the operating system (OS) of robot 101, and can be accessed by... Figure 5 The processor executes the commands. Meanwhile, the data and program code required to execute these modules can be stored in memory.

[0091] This invention also provides a robot 101, please refer to the following embodiments. Figure 5 , Figure 5 The structural block diagram of the robot provided in this embodiment of the invention shows that the robot 101 includes a memory 1011, a processor 1012, and a communication interface 1013. The memory 1011, processor 1012, and communication interface 1013 are electrically connected to each other directly or indirectly to realize data transmission or interaction. For example, these components can be electrically connected to each other through one or more communication buses or signal lines.

[0092] Optionally, the bus can be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of representation, Figure 5 The bus is represented by a single thick line, but this does not mean that there is only one bus or one type of bus.

[0093] In this embodiment of the invention, the processor 1012 may be a general-purpose processor, a digital signal processor, an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components, capable of implementing or executing the methods, steps, and logic block diagrams disclosed in this embodiment of the invention. The general-purpose processor may be a microprocessor or any conventional processor. The steps of the methods disclosed in this embodiment of the invention can be directly manifested as execution by the hardware processor, or as execution by a combination of hardware and software modules within the processor. The software modules may be located in the memory 1011. The processor 1012 reads the program instructions from the memory 1011 and, in conjunction with its hardware, completes the steps of the aforementioned methods.

[0094] In this embodiment of the invention, the memory 1011 can be a non-volatile memory, such as a hard disk drive (HDD) or a solid-state drive (SSD), or it can be volatile memory, such as RAM. The memory can also be any other medium capable of carrying or storing desired executable program code having an instruction or data structure form and accessible by a computer, but is not limited thereto. The memory in this embodiment of the invention can also be a circuit or any other device capable of implementing a storage function for storing instructions and / or data.

[0095] The memory 1011 can be used to store software programs and modules, which can be stored in the memory 1011 in the form of software or firmware, or embedded in the operating system (OS) of the robot 101. The processor 1012 executes various functional applications and data processing by executing the software programs and modules stored in the memory 1011. The communication interface 1013 can be used to communicate with other node devices for signaling or data.

[0096] Understandable. Figure 5 The structure shown is for illustrative purposes only; the robot 101 may also include components larger than those shown. Figure 5 The more or fewer components shown, or having the same Figure 5 The different configurations shown. Figure 5 The components shown can be implemented using hardware, software, or a combination thereof.

[0097] Based on the above embodiments, this invention also provides a computer program that, when run on a computer, causes the computer to execute the robot conveyor belt tracking method provided in the above embodiments. For specific implementation details, please refer to the method embodiments, which will not be repeated here.

[0098] Based on the above embodiments, this invention also provides a chip for reading a computer program stored in a memory and executing the robot conveyor belt tracking method provided in the above embodiments. For specific implementation details, please refer to the method embodiments, which will not be repeated here.

[0099] This invention also provides a computer program product. The computer program product for the robot conveyor belt tracking method provided in this invention includes a computer-readable storage medium storing program code. The instructions included in the program code can be used to execute the methods in the preceding method embodiments. For specific implementation, please refer to the method embodiments, which will not be repeated here.

[0100] In the embodiments provided by this invention, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative. For example, the division of units is only a logical functional division, and there may be other division methods in actual implementation. Furthermore, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interface; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0101] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0102] In addition, the functional units in the embodiments provided by the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0103] If a function is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of this invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0104] It should be noted that similar labels and letters in the following figures indicate similar items. Therefore, once an item is defined in one figure, it does not need to be further defined and explained in subsequent figures. In addition, the terms "first", "second", "third", etc. are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0105] Finally, it should be noted that the above embodiments are merely specific implementations of the present invention, used to illustrate the technical solutions of the present invention, and not to limit it. The scope of protection of the present invention is not limited thereto. Although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that any person skilled in the art can still modify or easily conceive of changes to the technical solutions described in the foregoing embodiments within the scope of the technology disclosed in the present invention, or make equivalent substitutions for some of the technical features; and these modifications, changes, or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention. All should be covered within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

Claims

1. A robot conveyor belt tracking method, characterized in that, The method includes: When the workpiece is located in the start area, the target tracking position of the robot is determined; wherein, the target tracking position is the real-time position of the workpiece in the robot coordinate system; The robot begins tracking motion based on the target tracking position and corrects the endpoint of the tracking trajectory according to the real-time offset of the conveyor belt, so that the robot and the workpiece arrive at the same position synchronously. When it is determined that the tracking effect during the tracking motion does not meet the preset requirements, the current conveyor belt speed is obtained; a dynamic compensation angle is determined based on the current conveyor belt speed; and the target tracking position is compensated based on the dynamic compensation angle. When the workpiece is in the starting area, determine the robot's target tracking position, including: Determine the encoder scale during the calibration of the tracking coordinate system; The reference encoder value and the reference position of the workpiece in the robot coordinate system are obtained when the workpiece passes the sensor; wherein, the reference position is obtained by rotating the starting position of the starting area in the tracking coordinate system, that is: taking a reference point close to the sensor during the calibration process as the starting position; constructing a rotation matrix based on the difference between the reference encoder value and the encoder value corresponding to the starting position and the encoder ratio, and taking the position after rotating the reference position according to the rotation matrix as the reference position; When the workpiece is in the start area, a rotation matrix is ​​constructed based on the difference between the reference encoder value and the current encoder value and the encoder ratio. The position after rotating the reference position according to the rotation matrix is ​​used as the target tracking position.

2. The robot conveyor belt tracking method according to claim 1, characterized in that, Determining the robot's target tracking position when the workpiece is in the starting area also includes: After the workpiece passes the sensor, it is determined whether the workpiece has passed the starting position based on the current encoder value; Once the workpiece reaches the starting position, it is determined that the workpiece is located in the starting area.

3. The robot conveyor belt tracking method according to claim 1, characterized in that, The robot begins tracking motion based on the target tracking position and corrects the endpoint of the tracking trajectory according to the real-time offset of the conveyor belt, so that the robot and the workpiece arrive at the same position synchronously, including: The conveyor belt offset is calculated by comparing the encoder values ​​read in real time during the tracking motion with the pre-obtained reference encoder values. The endpoint is corrected within the robot's interpolation cycle based on the conveyor belt offset.

4. The robot conveyor belt tracking method according to claim 1, characterized in that, To obtain the current conveyor belt speed, including: The difference between the encoder value of the current interpolation cycle and the encoder value of the previous interpolation cycle is multiplied by the encoder ratio, and the ratio between the product and the interpolation cycle duration is taken as the current conveyor belt speed.

5. The robot conveyor belt tracking method according to claim 1, characterized in that, The method further includes: When the next workpiece passes the sensor during the tracking of the workpiece, the reference encoder value and reference position corresponding to the next workpiece are written into the buffer. When the next workpiece exceeds the start area, the reference encoder value and reference position corresponding to the next workpiece are retrieved from the buffer and discarded.

6. A robot, characterized in that, include: At least one processor; And a memory communicatively connected to the at least one processor; wherein the memory stores a computer program executable by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the robot conveyor tracking method as described in any one of claims 1 to 5.

7. A readable storage medium for storing a computer program, characterized in that, When executed by a processor, the computer program is used to implement the robot conveyor belt tracking method as described in any one of claims 1 to 5.