A robot path memory control method, device, system and equipment

By collecting and fitting operation path and parameter data in real time in industrial robots, and automatically updating operation procedures, the problems of robot trajectory deviation and low efficiency are solved, and automatic path memory and operation quality are improved.

CN114647247BActive Publication Date: 2024-10-29CHINA RAILWAY CONSTR HEAVY IND
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210497411.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-05-09
Publication Date
2024-10-29
Estimated Expiration
2042-05-09

AI Technical Summary

Technical Problem

Industrial robots are prone to trajectory deviations and poor work quality during operation, which requires manual intervention and adjustment, increasing the operator's labor intensity and reducing work efficiency.

Method used

When receiving the adjustment instruction, the path memory function is started, the operating path and parameter data are collected and saved in real time, a new operating program is generated through time sequential fitting, and subsequent operating programs are automatically updated to realize path memory and automatic adjustment.

Benefits of technology

It reduces the labor intensity of the operator and improves the quality and efficiency of the operation. It is especially suitable for repeated operations or operations that deviate from the original trajectory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114647247B_ABST
    Figure CN114647247B_ABST
Patent Text Reader

Abstract

The present application relates to the field of automation control technology, and discloses a robot path memory control method, device, system and equipment, the method comprising: during the operation process, when receiving an adjustment instruction, starting the path memory function; real-time acquisition of each set of data; each set of data includes the acquisition time, the real-time position of each motion mechanism corresponding to the acquisition time, and the operation parameters; saving the confirmed data in chronological order; after the operation path is completed, fitting the saved data into a new operation path according to the chronological order, and generating a new operation program; the operation program includes the operation path and operation parameters; according to the new operation program, automatically updating the subsequent operation program until all operations are completed. In this way, the operation path and operation parameters of the previous fitting can be recorded, and on this basis, the subsequent operation path and operation parameters are automatically updated, which can not only reduce the labor intensity of the operator, but also effectively improve the operation quality and efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of automation control technology, and in particular to a robot path memory control method, device, system and equipment. Background Art

[0002] At present, industrial robots are widely used in the production field. Due to their high precision, repeatability and programmability, they have brought great convenience. The robot operation mode is divided into manual teaching or positioning and tracking with the help of sensors. If there is a trajectory deviation or poor operation quality during the operation, manual intervention is required to correct the trajectory or adjust the parameters without stopping the machine, so that the operation can be carried out continuously with high quality. For the same operation object, if the previous trajectory is manually adjusted, the subsequent trajectories must be adjusted accordingly. The process is very cumbersome, which increases the labor intensity of the operator and greatly reduces the operation efficiency.

[0003] Therefore, how to solve the problem of poor operation quality and low operation efficiency of the robot during operation is a technical problem that needs to be urgently solved by technical personnel in this field. Summary of the invention

[0004] In view of this, the purpose of the present invention is to provide a robot path memory control method, device, system and equipment, which can reduce the labor intensity of the operator and effectively improve the work quality and efficiency. The specific scheme is as follows:

[0005] A robot path memory control method, comprising:

[0006] During the operation, when an adjustment instruction is received, the path memory function is activated; the adjustment instruction includes that the operation path or operation parameters are offset to a certain extent from the preset operation path or operation parameters;

[0007] Collect each set of data in real time; each set of data includes the collection time, the real-time position of each motion mechanism corresponding to the collection time, and the operation parameters;

[0008] Save the confirmed data in chronological order;

[0009] After the operation path is completed, the saved data is fitted into a new operation path according to the chronological order to generate a new operation program; the operation program includes the operation path and operation parameters;

[0010] According to the new operation procedure, the subsequent operation procedures are automatically updated until all operations are completed.

[0011] Preferably, in the robot path memory control method provided in the embodiment of the present invention, before saving the confirmed data, it also includes:

[0012] From the sampling time of the previous set of data to the sampling time of the current set of data, it is determined whether a confirmation control instruction is received and the collected data has no drift;

[0013] If yes, then this group of data is confirmed; if no, then this group of data is discarded.

[0014] Preferably, in the robot path memory control method provided by the embodiment of the present invention, the confirmed data is saved in chronological order, including:

[0015] The confirmed data is saved in a cache area in chronological order; there are multiple cache areas, and data is written into the cache areas in a cyclic manner; after the cache area is full, the newly written data overwrites the first data in the cache area until the last set of data is saved.

[0016] Preferably, in the robot path memory control method provided by the embodiment of the present invention, automatically updating the subsequent operation program according to the new operation program includes:

[0017] In subsequent operations, determine whether the new operating procedures still need to be adjusted;

[0018] If yes, then regenerate a new operation program according to the above steps to automatically update the subsequent operation programs until all operations are completed;

[0019] If not, complete all operations according to the new operating procedures.

[0020] Preferably, in the robot path memory control method provided by an embodiment of the present invention, fitting the saved data into a new working path according to the chronological order includes:

[0021] Establishing a spatial coordinate system, and setting the real-time position of the motion mechanism in the saved data as a discrete point in the spatial coordinate system;

[0022] Project the preset three-dimensional curve onto the xy plane and the yz plane respectively to obtain two projection equations;

[0023] The three-dimensional curve equation is obtained according to the two projection equations;

[0024] According to the three-dimensional curve equation, a fitting trajectory is obtained;

[0025] According to the preset operation path and the fitted trajectory, a new operation path is obtained.

[0026] Preferably, in the above robot path memory control method provided by the embodiment of the present invention, it also includes:

[0027] When the robot operates according to the preset operation path and operation parameters, it receives the real-time position and operation parameters of each motion mechanism collected by the motor encoder, and determines whether the collected data and operation parameters need to be saved.

[0028] The embodiment of the present invention further provides a robot path memory control device controlled by the robot path memory control method provided by the embodiment of the present invention, comprising:

[0029] A function start module is used to start the path memory function when receiving an adjustment instruction during the operation process; the adjustment instruction includes a certain degree of deviation between the operation path or operation parameters and the preset operation path or operation parameters;

[0030] A data acquisition module, used to collect each set of data in real time; each set of data includes the acquisition time, the real-time position of each motion mechanism corresponding to the acquisition time, and the operation parameters;

[0031] A data storage module, used to store confirmed data in chronological order;

[0032] The path fitting module is used to fit the saved data into a new operation path according to the chronological order after the operation path is completed, and generate a new operation program; the operation program includes the operation path and operation parameters.

[0033] Preferably, in the above-mentioned robot path memory control device provided in an embodiment of the present invention, the data acquisition module is also used to determine whether a confirmation control instruction is received and the collected data has no drift from the sampling time of the previous set of data to the sampling time of the current set of data; if so, the current set of data is confirmed; if not, the current set of data is discarded.

[0034] The embodiment of the present invention further provides a robot control system, comprising: a robot, a drive system, and the robot path memory control device provided by the embodiment of the present invention;

[0035] The drive system includes a motor and a controller;

[0036] The motor is used to drive the various motion mechanisms of the robot to move;

[0037] The controller is used to control the start, stop, speed and direction of the motor.

[0038] An embodiment of the present invention further provides a robot path memory control device, comprising a processor and a memory, wherein the processor implements the above-mentioned robot path memory control method provided in the embodiment of the present invention when executing a computer program stored in the memory.

[0039] It can be seen from the above technical scheme that a robot path memory control method provided by the present invention includes: during the operation process, when an adjustment instruction is received, the path memory function is started; the adjustment instruction contains an operation path or operation parameter that has a certain degree of deviation from the preset operation path or operation parameter; each set of data is collected in real time; each set of data includes the collection time, the real-time position of each motion mechanism corresponding to the collection time, and the operation parameters; the confirmed data is saved in chronological order; after the operation path is completed, the saved data is fitted into a new operation path according to the chronological order, and a new operation program is generated; the operation program includes the operation path and operation parameters; according to the new operation program, the subsequent operation program is automatically updated until all operations are completed.

[0040] The robot path memory control method provided by the present invention can record the previously fitted operation path and operation parameters without stopping the machine, so as to realize the memory of the path. On this basis, the subsequent operation path and operation parameters are automatically updated without adjusting them one by one. This can not only reduce the labor intensity of the operator, but also effectively improve the operation quality and efficiency. This method is particularly suitable for scenarios where repeated operations are performed on a path or operations are offset on the original trajectory.

[0041] In addition, the present invention also provides corresponding devices, systems and equipment for the robot path memory control method, which further makes the above method more practical. The device, system and equipment have corresponding advantages. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0043] Figure 1 A flow chart of a robot path memory control method provided by an embodiment of the present invention;

[0044] Figure 2 A schematic diagram of a robot model provided by an embodiment of the present invention;

[0045] Figure 3 A schematic diagram of the structure of a robot path memory control device provided in an embodiment of the present invention. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0047] The present invention provides a robot path memory control method, such as Figure 1 As shown, the following steps are included:

[0048] S101, during the operation, when an adjustment instruction is received, a path memory function is started; the adjustment instruction includes that the operation path or operation parameters are offset to a certain extent from the preset operation path or operation parameters;

[0049] In actual applications, the robot includes a first motion mechanism, a second motion mechanism, a third motion mechanism, ..., and an Nth motion mechanism, which are driven by a drive system. Before the operation, the user can preset the operation path and operation parameters through teaching, positioning, etc., and select the operation mode according to specific needs. The operation mode is divided into manual, semi-automatic, and fully automatic. In manual mode, the user can control any motion mechanism individually; in semi-automatic mode, the robot stops at the starting position after operating along the first path, and after manual confirmation, it operates along the second path, and so on; in fully automatic mode, the robot operates along the preset path until all operation paths are completed.

[0050] At the beginning of the operation, the robot operates according to the preset path and parameters, and the motor encoder will collect and feedback the real-time position of each motion mechanism. In specific implementation, the above-mentioned robot path memory control method provided by the embodiment of the present invention also includes: when the robot operates according to the preset operation path and operation parameters, receiving the real-time position and operation parameters of each motion mechanism collected by the motor encoder, and determining whether it is necessary to save the collected data and operation parameters.

[0051] If you need to adjust the operation path or adjust the operation parameters, the user can adjust the operation path or adjust the operation parameters according to the actual situation. This will cause the robot to not operate according to the preset operation path or operation parameters. At this time, the path memory function is turned on.

[0052] S102, collecting each set of data in real time; each set of data includes the collection time, the real-time position of each motion mechanism corresponding to the collection time, and the operation parameters;

[0053] It should be noted that, when executing step S102, the acquisition frequency can be set first, and the data acquisition module can be used to collect each set of adjusted (or regulated) data in real time. The data collected by the data acquisition module includes multiple sets of collected data saved in chronological order, and each set of collected data includes: the collection time T i , the real-time position P of the first motion mechanism 1i , the real-time position P of the second motion mechanism 2i , the real-time position P of the third motion mechanism 3i , ..., the real-time position P of the Nth motion mechanism ni 、Operation parameters F i (a,b,c…).

[0054] Collection time T i and the position P of the motion mechanism i 、Operation parameters F i One to one correspondence forms frame data.

[0055] S103, saving the confirmed data in chronological order;

[0056] It should be noted that, when executing step S103, the data storage module may save the confirmed data in chronological order.

[0057] S104, after the operation path is completed, the saved data is fitted into a new operation path according to the chronological order, and a new operation program is generated; the operation program includes the operation path and operation parameters;

[0058] It should be noted that when executing step S104, the path fitting module may fit the stored data into a new operation path according to the time sequence to generate a new operation program. Among them, the data acquisition module, the data storage module, and the path fitting module may constitute a path memory module.

[0059] S105. Automatically update subsequent operation procedures according to the new operation procedures until all operations are completed.

[0060] In actual application, after all operations are completed, the robot will return to the origin and wait for the next command.

[0061] In the above-mentioned robot path memory control method provided in an embodiment of the present invention, the previously fitted operation path and operation parameters can be recorded without stopping the machine to realize path memory. On this basis, subsequent operation paths and operation parameters are automatically updated without the need to adjust them one by one. This not only reduces the labor intensity of the operator, but also effectively improves the operation quality and efficiency. This method is particularly suitable for scenarios where repeated operations are performed on a path or operations are offset from the original trajectory.

[0062] Furthermore, in a specific implementation, in the above-mentioned robot path memory control method provided in an embodiment of the present invention, before executing step S102 to collect each group of data in real time, and before executing step S103 to save the confirmed data, it may also include: from the sampling time of the previous group of data to the sampling time of the current group of data, judging whether a "confirmation" control instruction is received and the collected data has no drift; if so, the current group of data is confirmed; if not, the current group of data is discarded.

[0063] Specifically, because the amount of collected data is large, if all of it is saved, it will occupy storage space and affect the computing speed, so it is necessary to eliminate useless data and redundant data. In the present invention, the data acquisition module can determine whether the group of data is saved or not. The basis for judgment is: from the sampling time of the previous group of collected data to the sampling time of the current group of collected data, if the "confirmation" control instruction is received and the data has no drift, then the current group of collected data is saved, otherwise the current group of collected data is discarded. The data storage obtained by this method is small in size and high in reliability. When storing a very small amount of data, it can effectively realize the memory of the operation path, further improving the operation quality and operation efficiency.

[0064] In the specific implementation, in the above robot path memory control method provided by the embodiment of the present invention, step S103 saves the confirmed data in chronological order, which may specifically include: saving the confirmed data in a cache area in chronological order. There are multiple cache areas, and data is written to the cache area in a cyclic manner, first in and last out. When the cache area is full, the newly written data overwrites the first data in the cache area, and so on, until the last set of data is saved.

[0065] In specific implementation, in the above-mentioned robot path memory control method provided by the embodiment of the present invention, step S105 automatically updates the subsequent operation program according to the new operation program, which can specifically include: in the subsequent operation, determine whether the new operation program still needs to be adjusted; if so, after the adjustment, re-collect each set of data in real time, that is, jump to step S102 until a new operation program is regenerated to automatically update the subsequent operation program and complete all operations; if not, complete all operations according to the new operation program. In other words, the subsequent operation can be automatically updated based on the new operation program without manual adjustment, and all operations can be completed in this way.

[0066] In specific implementation, in the above-mentioned robot path memory control method provided in an embodiment of the present invention, step S104 fits the saved data into a new operating path according to the chronological order, which may specifically include: first establishing a spatial coordinate system, and setting the real-time position of the motion mechanism in the saved data as a discrete point in the spatial coordinate system; then projecting the preset three-dimensional curve to the xy plane and the yz plane respectively to obtain two projection equations; obtaining a three-dimensional curve equation based on the two projection equations; then obtaining a fitting trajectory based on the three-dimensional curve equation; finally, obtaining a new operating path based on the preset operating path and the fitting trajectory.

[0067] Specifically, a spatial coordinate system is established, and the position data is regarded as discrete points in the spatial coordinate system. The coordinate values ​​of the points are set as: [(x 1 ,y 1 ,z 1 ),(x 2 ,y 2 ,z 2 )……(x n ,y n ,z n )].

[0068] Assume the equation of the three-dimensional curve is: z = f(x, y);

[0069] Projecting the three-dimensional curve onto the xy plane, the projection equation is:

[0070] y=a 0 +a 1 x+a 2 x 2 +……+a n x k (1)

[0071] Projecting the three-dimensional curve onto the yz plane, the projection equation is:

[0072] z=b 0 +b 1 y+b 2 y 2 +……+b n y k (2)

[0073] According to equations (1) and (2), the three-dimensional curve equation is obtained:

[0074] z=c 0 +c 1 x+c 2 x 2 +……+c n x k +d 0 +d 1 y+d2 y 2 +……+d n y k (3)

[0075] According to formula (3), a fitting trajectory is obtained, and a new operation trajectory is obtained according to the original operation path and the fitting trajectory. A new operation program is generated according to the new operation trajectory and the saved and adjusted operation parameters.

[0076] The following uses the multi-layer and multi-pass welding operation of a three-axis welding robot as an example to illustrate the characteristics of the present invention. However, the present invention is by no means limited to the path memory of the three-axis robot, nor is it limited to welding operations. Any replacement or improvement based on the present invention shall be deemed to be within the scope of protection of the present invention.

[0077] like Figure 2 As shown, the three-axis welding robot of the present invention may include a walking mechanism 1, a telescopic mechanism 2, a lifting mechanism 3, and a welding gun 6. The walking mechanism 1 moves horizontally along the guide rail, the telescopic mechanism 2 drives the shaft 5 to move left and right in the horizontal plane, and the lifting mechanism 3 drives the shaft 5 to move up and down along the shaft 4. The present invention also includes a drive system, which includes a motor and a controller. The motor drives the walking mechanism 1, the telescopic mechanism 2 and the lifting mechanism 3, and the controller controls the start and stop, speed and direction of the motor.

[0078] It should be noted that the characteristic of multi-layer and multi-pass welding is that the first welding path is used as the basis, and the subsequent welding paths are repeated or offset on this basis.

[0079] Before welding, you can plan the welding path and set welding parameters by teaching, positioning or calling programs from the expert library. Select the operation mode, which is divided into manual, semi-automatic and fully automatic. In manual mode, the user can operate each axis individually; in semi-automatic mode, the robot will stay at the welding starting point after welding from the starting point to the end point, and then weld the second pass after the user confirms, and so on, until the operation is completed; in fully automatic mode, the user starts with one button, and the robot welds until it completes multiple layers and multiple passes of welding, unless there is a fault or human interruption.

[0080] During welding, the robot performs welding according to the planned welding path and set welding parameters. At the same time, the real-time position of each axis of the robot is collected and fed back to the control system. In the path memory mode, if the welding parameters need to be adjusted, the path memory module will save the welding parameters at this position; if the welding path needs to be adjusted, the path memory module will record the position information and time information of the corresponding motion mechanism.

[0081] The data to be recorded include multiple sets of collected data saved in chronological order, each set of collected data includes: collection time T i, the position P of the walking mechanism 1 1i , the position P of telescopic mechanism 2 2i , the position P of the lifting mechanism 3 3i , welding parameters F i (a, b, c, d). Among them, a is welding current, b is welding voltage, c is welding speed, and d is swing parameter, including swing amplitude, frequency, and dwell time.

[0082] From the moment the start button is pressed, the collection time T i and the positions P of the three kinematic mechanisms i , welding parameters F i (a,b,c,d) correspond one to one.

[0083] The data acquisition module in the path memory module collects each set of data in real time and determines whether the set of data is saved or not. The basis for judgment is: from the sampling time of the previous set of collected data to the sampling time of the current set of collected data, if the "confirmation" control instruction is received and the data has no drift, then the current set of collected data is saved, otherwise the current set of collected data is discarded.

[0084] The data storage module in the path memory module saves the confirmed collected data and saves it in the data storage module buffer area in chronological order. After a weld is completed, the path fitting module in the path memory module fits a new welding operation path based on the stored data of a weld and generates a new welding operation program. Subsequent welding operation programs can be automatically updated on this basis.

[0085] The following still takes the multi-layer and multi-pass welding operation of a three-axis welding robot as an example to describe in detail the robot path memory control method provided by an embodiment of the present invention. The specific steps are as follows:

[0086] Step 1: Perform initial settings;

[0087] Specifically, edit multi-layer and multi-pass programs for specific workpieces, set welding parameters for each layer and each pass, or scan groove information and call corresponding multi-layer and multi-pass programs from the expert library. Users select the operation mode according to specific needs, which can be manual, semi-automatic or fully automatic.

[0088] Step 2: The robot starts welding according to the preset operation path and parameters; the operation path is the operation path planned in step 1 and can be adjusted at any time according to the operation situation.

[0089] Step 3: During the operation, if an adjustment instruction is received, the path memory function is enabled and the path memory module starts to work;

[0090] Specifically, the path memory module includes a data acquisition module, a data storage module, and a path fitting module. The data acquisition module is used to collect data adjusted during the operation; the data storage module is used to store the screened data; and the path fitting module is used to automatically fit the stored data to generate a new operation program. The operation program includes the operation path and operation parameters.

[0091] Step 4: The user controls each motion axis to adjust the welding operation path or adjust the welding parameters;

[0092] Specifically, if the user finds that the operation trajectory is deviated or the welding condition is not ideal during the operation, the user can use the operation box to adjust the operation path or welding parameters without stopping the machine.

[0093] Step 5: The data acquisition module starts to collect data;

[0094] Specifically, the acquisition frequency is set, and the path memory module acquires data. The acquired data includes: acquisition time point, welding parameters, and real-time positions of the three motion mechanisms.

[0095] For example: In T i The data collected at all times D(T i ) consists of two parts: one is the real-time position data P of the three motion mechanisms 1 (P 11 , P 21 , P 31 ), P 2 (P 12 , P 22 , P 32 ),……,P 3 (P 1i , P 2i , P 3i ), the other part is welding parameter F 1 (a,b,c,d),F 2 (a,b,c,d),……,F i (a,b,c,d).

[0096] Step 6: Determine whether to discard or save the group of collected data. The basis for the determination is: the control system receives the "confirmation" control instruction, and the data has no drift;

[0097] Specifically, if the above-mentioned "confirmation" control instruction is received, and at any time T i , data D(T i ) and data D(T i-1 ) is greater than the first threshold and less than the second threshold, then the data D(T i ) is saved, otherwise it is not saved. The first threshold and the second threshold can be set according to actual conditions.

[0098] Step 7: The collected data is stored in the buffer area of ​​the data storage module in chronological order;

[0099] Specifically, the data storage module stores the processed data and stores it in a server buffer area in chronological order.

[0100] Step 8: After the operation path is completed, the collected data is fitted into a new operation path in chronological order.

[0101] Step 9: The subsequent operation procedures are automatically adjusted based on the new operation procedures;

[0102] If adjustment is required in subsequent operations, jump to step 4. If adjustment is not required, complete the operation according to the new operation procedure until the welding operation is completed.

[0103] After executing steps one to nine, the subsequent welding operation procedures can be automatically updated without manual intervention, avoiding manual adjustment of each weld, achieving good welding quality and improving operation efficiency.

[0104] Based on the same inventive concept, an embodiment of the present invention also provides a robot path memory control device that is controlled by the above-mentioned robot path memory control method. Since the principle of solving the problem by the device is similar to that of the aforementioned robot path memory control method, the implementation of the device can refer to the implementation of the robot path memory control method, and the repeated parts will not be repeated.

[0105] In specific implementation, the robot path memory control device provided by the embodiment of the present invention is as follows: Figure 3 As shown, specifically including:

[0106] The function activation module 11 is used to activate the path memory function when receiving an adjustment instruction during the operation process; the adjustment instruction includes that the operation path or operation parameters are offset to a certain extent from the preset operation path or operation parameters;

[0107] The data acquisition module 12 is used to collect each set of data in real time; each set of data includes the collection time, the real-time position of each motion mechanism corresponding to the collection time, and the operation parameters;

[0108] The data storage module 13 is used to store the confirmed data in chronological order;

[0109] The path fitting module 14 is used to fit the saved data into a new operation path according to the chronological order after the operation path is completed, and generate a new operation program; the operation program includes the operation path and operation parameters.

[0110] In the above-mentioned robot path memory control device provided in an embodiment of the present invention, through the interaction of the above-mentioned four modules, the previously fitted operation path and operation parameters can be recorded without stopping the machine to realize path memory. On this basis, subsequent operation paths and operation parameters are automatically updated without the need to adjust them one by one, which not only reduces the labor intensity of the operator, but also effectively improves the operation quality and efficiency. The device is particularly suitable for scenarios where repeated operations are performed on a path or operations are offset on the original trajectory.

[0111] Furthermore, in a specific implementation, in the above-mentioned robot path memory control device provided in an embodiment of the present invention, the data acquisition module 12 can also be used to determine whether a confirmation control instruction is received and the collected data has no drift from the sampling time of the previous set of data to the sampling time of the current set of data; if so, the current set of data is confirmed; if not, the current set of data is discarded.

[0112] Furthermore, in a specific implementation, the robot path memory control device provided in the embodiment of the present invention may further include:

[0113] The program judgment module is used to judge whether the new operation program still needs to be adjusted in the subsequent operation; if so, after the adjustment, the interaction between the data acquisition module 12, the data storage module 13 and the path fitting module 14 is reused to regenerate a new operation program to automatically update the subsequent operation program and complete all operations; if not, all operations are completed according to the new operation program.

[0114] Furthermore, in a specific implementation, the robot path memory control device provided in the embodiment of the present invention may further include:

[0115] The data receiving module is used to receive the real-time position and operating parameters of each motion mechanism collected by the motor encoder when the robot operates according to the preset operating path and operating parameters, and determine whether the collected data and operating parameters need to be saved.

[0116] It should be noted that the above-mentioned robot path memory control device provided in the embodiment of the present invention may also include: a motion control module and an operation box; the motion control module is used to control the movement of each motion mechanism and collect the real-time position of each mechanism; the operation box is used to manually control the motion mechanism.

[0117] For more specific working processes of the above modules, please refer to the corresponding contents disclosed in the above embodiments, which will not be repeated here.

[0118] Correspondingly, an embodiment of the present invention also discloses a robot control system, including: a robot, a drive system, and the above-mentioned robot path memory control device; wherein the drive system may include a motor and a controller; the motor is used to drive the movement of various motion mechanisms of the robot; the controller is used to control the start and stop, speed and direction of the motor, etc.

[0119] For more specific processes of the robot path memory control device, reference may be made to the corresponding contents disclosed in the aforementioned embodiments, which will not be elaborated here.

[0120] Correspondingly, an embodiment of the present invention further discloses a robot path memory control device, comprising a processor and a memory; wherein, when the processor executes a computer program stored in the memory, the robot path memory control method disclosed in the aforementioned embodiment is implemented.

[0121] For more specific processes of the above method, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0122] Furthermore, the present invention also discloses a computer-readable storage medium for storing a computer program; when the computer program is executed by a processor, the robot path memory control method disclosed above is implemented.

[0123] For more specific processes of the above method, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0124] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the devices, systems, equipment, and storage media disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the method part.

[0125] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0126] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0127] In summary, a robot path memory control method provided by an embodiment of the present invention includes: during the operation process, when an adjustment instruction is received, the path memory function is started; each set of data is collected in real time; each set of data includes the collection time, the real-time position of each motion mechanism corresponding to the collection time, and the operation parameters; the confirmed data is saved in chronological order; after the operation path is completed, the saved data is fitted into a new operation path according to the chronological order to generate a new operation program; the operation program includes the operation path and the operation parameters; according to the new operation program, the subsequent operation program is automatically updated until all operations are completed. In this way, the operation path and operation parameters of the previous fitting can be recorded without stopping the machine, and the path memory can be realized. On this basis, the subsequent operation path and operation parameters are automatically updated without adjusting one by one, which can not only reduce the labor intensity of the operator, but also effectively improve the operation quality and efficiency. The method is particularly suitable for the scene of repeating operations on a path or offsetting operations on the original trajectory. In addition, the present invention also provides a corresponding device, system, equipment and storage medium for the robot path memory control method, which further makes the above method more practical, and the device, system, equipment and storage medium have corresponding advantages.

[0128] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0129] The robot path memory control method, device, system and equipment provided by the present invention are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technicians in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A robot path memory control method, characterized in that: include: During the operation, when an adjustment instruction is received, the path memory function is activated; the adjustment instruction includes that the operation path or operation parameters are offset to a certain extent from the preset operation path or operation parameters; Collect each set of data in real time; each set of data includes the collection time, the real-time position of each motion mechanism corresponding to the collection time, and the operation parameters; From the sampling time of the previous set of data to the sampling time of the current set of data, it is determined whether a confirmation control instruction is received and the collected data has no drift; If yes, then this group of data is confirmed; if no, then this group of data is discarded; Save the confirmed data in chronological order; After the operation path is completed, a spatial coordinate system is established, and the real-time position of the motion mechanism in the saved data is set as a discrete point in the spatial coordinate system according to the chronological order; the coordinate values ​​of the discrete points are: [(x1, y1, z1), (x2, y2, z2) ... (x n ,y n ,z n )]; Project the preset three-dimensional curve to the xy plane and the yz plane respectively to obtain two projection equations; suppose the equation of the three-dimensional curve is: z=f(x,y); the two projection equations are: y=a0+a1x+a2x 2 +……+a n x k ; <h2 style=";text-align:left;direction:ltr">z=b0+b1y+b2y<h2 style=";text-align:left;direction:ltr"> 2 <h2 style=";text-align:left;direction:ltr"> +……+b<h2 style=";text-align:left;direction:ltr"> n <h2 style=";text-align:left;direction:ltr"> y<h2 style=";text-align:left;direction:ltr"> k <h2 style=";text-align:left;direction:ltr"> ; The three-dimensional curve equation is obtained according to the two projection equations; the three-dimensional curve equation is: z=c0+c1x+c2x 2 +……+c n x k +d0+d1y+d2y 2 +……+d n y k ; According to the three-dimensional curve equation, a fitting trajectory is obtained; According to the preset operation path and the fitted trajectory, a new operation path is obtained, and a new operation program is generated; the operation program includes the operation path and operation parameters; According to the new operation procedure, the subsequent operation procedures are automatically updated until all operations are completed.

2. The robot path memory control method according to claim 1, characterized in that: Save the confirmed data in chronological order, including: The confirmed data is saved in a cache area in chronological order; there are multiple cache areas, and data is written into the cache areas in a cyclic manner; after the cache area is full, the newly written data overwrites the first data in the cache area until the last set of data is saved.

3. The robot path memory control method according to claim 1, characterized in that: Automatically update subsequent operating procedures based on new operating procedures, including: In subsequent operations, determine whether the new operating procedures still need to be adjusted; If so, after adjustment, each set of data is collected again in real time until a new operation program is regenerated to automatically update subsequent operation programs and complete all operations; If not, complete all operations according to the new operating procedures.

4. The robot path memory control method according to claim 1, characterized in that: Also includes: When the robot operates according to the preset operation path and operation parameters, it receives the real-time position and operation parameters of each motion mechanism collected by the motor encoder, and determines whether the collected data and operation parameters need to be saved.

5. A robot path memory control device controlled by the robot path memory control method according to any one of claims 1 to 4, characterized in that: include: A function start module is used to start the path memory function when receiving an adjustment instruction during the operation process; the adjustment instruction includes that the operation path or operation parameters are offset to a certain extent from the preset operation path or operation parameters; The data acquisition module is used to collect each set of data in real time; each set of data includes the acquisition time, the real-time position of each motion mechanism corresponding to the acquisition time, and the operating parameters; from the sampling time of the previous set of data to the sampling time of the current set of data, it is judged whether the confirmation control instruction is received and the collected data has no drift; if so, the current set of data is confirmed; if not, the current set of data is discarded; A data storage module, used to store confirmed data in chronological order; The path fitting module is used to establish a spatial coordinate system after the operation path is completed, and set the real-time position of the motion mechanism in the saved data as discrete points in the spatial coordinate system according to the chronological order; the coordinate values ​​of the discrete points are: [(x1, y1, z1), (x2, y2, z2) ... (x n ,y n ,z n )]; Project the preset three-dimensional curve to the xy plane and the yz plane respectively to obtain two projection equations; Assume that the equation of the three-dimensional curve is: z=f(x,y); The two projection equations are: y=a0+a1x+a2x 2 +……+a n x k ; z = b0 + b1y + b2y 2 +……+b n y k ; The three-dimensional curve equation is obtained according to the two projection equations; the three-dimensional curve equation is: z=c0+c1x+c2x 2 +……+c n x k +d0+d1y+d2y 2 +……+d n y k ; According to the three-dimensional curve equation, a fitting trajectory is obtained; according to the preset operation path and the fitting trajectory, a new operation path is obtained and a new operation program is generated; the operation program includes an operation path and operation parameters.

6. A robot control system, characterized in that: include: A robot, a drive system, and a robot path memory control device as claimed in claim 5; The drive system includes a motor and a controller; The motor is used to drive the various motion mechanisms of the robot to move; The controller is used to control the start, stop, speed and direction of the motor.

7. A robot path memory control device, characterized in that: The method comprises a processor and a memory, wherein the processor implements the robot path memory control method according to any one of claims 1 to 4 when executing the computer program stored in the memory.

Citation Information

Patent Citations

  • Two-wheeled balance car autonomous patrol method for automatically recording and reappearing path

    CN106200642A

  • Robot automatic control method, device, equipment and computer readable storage medium

    CN109048917A