A data processing method
By constructing the friction model of the target joint and calculating the compensation current to reduce the friction error, the problem of reduced accuracy caused by joint friction in robot teaching programming is solved, and the accuracy of robot applications is improved.
Patent Information
- Application Number
- CN202111061012.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-09-10
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2041-09-10
AI Technical Summary
During the robot teaching and programming process, the influence of joint friction causes errors and reduces the accuracy of the actual application of the robot.
By constructing the friction model of the target joint under multiple angular velocity intervals, the relationship between the target angular velocity and temperature on the friction model is determined, and the compensation current is calculated to reduce the friction error.
It improves the accuracy of robot teaching programming and reduces application errors caused by friction errors.
Smart Images

Figure CN113742865B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of robotics technology, and in particular to a data processing method. Background Art
[0002] In order to cope with the complex and ever-changing production tasks on the production line, robots are usually programmed using teaching programming so that the robots can quickly make corresponding adjustments according to the task requirements. This drag teaching technology requires that the robot's joints are in a static suspension state or close to zero external force so that the operator can easily drag the robot. However, due to the influence of joint friction, errors will occur when teaching programming in this way, thereby reducing the accuracy of the robot when it is actually applied in practice. Summary of the invention
[0003] The embodiments of the present disclosure at least provide a data processing method and device.
[0004] In a first aspect, an embodiment of the present disclosure provides a data processing method, comprising: constructing friction force models corresponding to a target joint in multiple angular velocity intervals; the friction force model is used to characterize the relationship between the compensation current of the target joint and the angular velocity, the square of the angular velocity, the temperature, and the square of the temperature; in response to obtaining the target angular velocity and the target temperature of the target joint, based on the target angular velocity interval to which the target angular velocity belongs, determining the target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the multiple angular velocity intervals; determining the compensation current for the target joint based on the target angular velocity, the target temperature, and the target friction force model of the target joint.
[0005] In an optional implementation, the method further includes: determining a compensation torque for the target joint based on the compensation current.
[0006] In an optional embodiment, constructing the friction force models corresponding to the target joint in multiple angular velocity intervals includes: obtaining multiple sets of experimental data of the target joint; wherein the multiple sets of experimental data include the experimental angular velocity, experimental temperature, and experimental compensation current of the target joint in multiple angular velocity intervals; based on the multiple sets of experimental data, respectively solving the model parameters of the friction force models to be solved corresponding to the multiple angular velocity intervals to obtain the friction force models corresponding to the target joint in the multiple angular velocity intervals.
[0007] In an optional embodiment, the obtaining of multiple sets of experimental data of the target joint includes: obtaining multiple sets of experimental data of the target joint under each of multiple usage conditions; the usage conditions include: usage environment and / or service life of the target joint; based on the multiple sets of experimental data, respectively solving model parameters of the friction force model to be solved corresponding to the multiple angular velocity intervals to obtain the friction force models corresponding to the target joint in the multiple angular velocity intervals, including: for each usage condition, based on the multiple sets of experimental data under the usage condition, respectively solving model parameters of the friction force model to be solved corresponding to the multiple angular velocity intervals to obtain the friction force models corresponding to the multiple angular velocity intervals of the target joint under the usage condition.
[0008] In an optional embodiment, in response to obtaining the target angular velocity and the target temperature of the target joint, based on the target angular velocity interval to which the target angular velocity belongs, determining the target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the multiple angular velocity intervals respectively, including: in response to obtaining the target angular velocity and the target temperature of the target joint, based on the usage conditions corresponding to the target joint and the target angular velocity interval to which the target angular velocity belongs, determining the target friction force model from the friction force models corresponding to the multiple angular velocity intervals respectively under the usage conditions corresponding to the target joint.
[0009] In an optional embodiment, for each usage condition, based on multiple sets of experimental data under the usage condition, the model parameters of the friction force model to be solved corresponding to the multiple angular velocity intervals are solved respectively, so as to obtain the friction force model corresponding to the multiple angular velocity intervals of the target joint under the usage condition, including: for any angular velocity interval among the multiple angular velocity intervals, based on at least one set of experimental data corresponding to the angular velocity interval, the model parameters of the friction force model to be solved corresponding to the angular velocity interval are solved, so as to obtain the friction force model corresponding to the angular velocity interval.
[0010] In an optional implementation, the model parameters include at least one of the following: a velocity coefficient related to angular velocity, a temperature coefficient related to temperature, and a deviation coefficient.
[0011] In an optional embodiment, obtaining the target angular velocity and target temperature of the target joint includes: obtaining the initial angular velocity and initial temperature obtained by collecting data on the target joint; filtering the initial angular velocity to obtain the target angular velocity of the target joint; and / or filtering the initial temperature to obtain the target temperature of the target joint.
[0012] In an optional embodiment, the initial angular velocity obtained by collecting data on the target joint includes: obtaining a first rotation angle of the target joint corresponding to a first sampling moment, and a second rotation angle corresponding to a second sampling moment adjacent to the first sampling moment; based on the first rotation angle, the second rotation angle, and the time interval between the first sampling moment and the second sampling moment, determining the initial angular velocity of the target joint.
[0013] In an optional embodiment, based on the target angular velocity interval to which the target angular velocity belongs, determining the target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the multiple angular velocity intervals respectively, including: comparing the target angular velocity with a preset angular velocity threshold; in response to the target angular velocity being greater than or equal to the angular velocity threshold, determining the target friction force model corresponding to the target angular velocity interval based on the target angular velocity interval to which the target angular velocity belongs.
[0014] In an optional embodiment, the method further includes: in response to the target angular velocity being less than the angular velocity threshold, determining an excitation current for the target joint; and determining a compensation torque for the target joint based on the excitation current.
[0015] In an optional embodiment, in response to the target angular velocity being less than the angular velocity threshold, determining the excitation current for the target joint includes: determining the static friction force corresponding to the target joint; in response to the target angular velocity being less than the angular velocity threshold, determining the excitation current for the target joint based on the static friction force corresponding to the target joint; wherein the excitation current includes any one of a sinusoidal current, a cosine current, and a pulse current.
[0016] In an optional embodiment, the compensation current for the target joint is determined based on the target angular velocity, target temperature, and target friction model of the target joint, including: inputting the target angular velocity and the target temperature into the target friction model to obtain the compensation current of the target joint.
[0017] In the second aspect, the embodiment of the present disclosure also provides a data processing device, including: a construction module, used to construct friction force models corresponding to the target joint in multiple angular velocity intervals; the friction force model is used to characterize the relationship between the compensation current of the target joint and the angular velocity, the square of the angular velocity, the temperature, and the square of the temperature; a first determination module, used to respond to obtaining the target angular velocity and target temperature of the target joint, and based on the target angular velocity interval to which the target angular velocity belongs, determine the target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the multiple angular velocity intervals; a second determination module, used to determine the compensation current for the target joint based on the target angular velocity, target temperature, and the target friction force model of the target joint.
[0018] In an optional implementation, the device further includes a third determination module, configured to determine a compensation torque for the target joint based on the compensation current.
[0019] In an optional embodiment, when constructing the friction force models corresponding to the target joint in multiple angular velocity intervals, the construction module is used to: obtain multiple sets of experimental data of the target joint; wherein the multiple sets of experimental data include the experimental angular velocity, experimental temperature, and experimental compensation current of the target joint in multiple angular velocity intervals; based on the multiple sets of experimental data, respectively solve the model parameters of the friction force model to be solved corresponding to the multiple angular velocity intervals to obtain the friction force models corresponding to the target joint in the multiple angular velocity intervals.
[0020] In an optional embodiment, when the construction module obtains multiple sets of experimental data of the target joint, it is used to: obtain multiple sets of experimental data of the target joint under each of multiple usage conditions; the usage conditions include: usage environment and / or service life of the target joint; when the construction module solves the model parameters of the friction model to be solved corresponding to the multiple angular velocity intervals based on the multiple sets of experimental data, and obtains the friction models corresponding to the target joint in the multiple angular velocity intervals, the construction module is used to: for each usage condition, based on the multiple sets of experimental data under the usage condition, solve the model parameters of the friction model to be solved corresponding to the multiple angular velocity intervals, and obtain the friction models corresponding to the multiple angular velocity intervals of the target joint under the usage condition.
[0021] In an optional embodiment, the first determination module, in response to obtaining the target angular velocity and target temperature of the target joint, determines the target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the multiple angular velocity intervals based on the target angular velocity interval to which the target angular velocity belongs, and is used to: in response to obtaining the target angular velocity and target temperature of the target joint, based on the usage conditions corresponding to the target joint and the target angular velocity interval to which the target angular velocity belongs, determine the target friction force model from the friction force models corresponding to the multiple angular velocity intervals under the usage conditions corresponding to the target joint.
[0022] In an optional embodiment, the construction module, for each usage condition, solves the model parameters of the friction force model to be solved corresponding to the multiple angular velocity intervals based on multiple sets of experimental data under the usage condition, and obtains the friction force model of the target joint under the usage condition and the multiple angular velocity intervals respectively corresponding to the multiple angular velocity intervals. The construction module is used to: for any angular velocity interval among the multiple angular velocity intervals, based on at least one set of experimental data corresponding to the angular velocity interval, solve the model parameters of the friction force model to be solved corresponding to the angular velocity interval, and obtain the friction force model corresponding to the angular velocity interval.
[0023] In an optional implementation, the model parameters include at least one of the following: a velocity coefficient related to angular velocity, a temperature coefficient related to temperature, and a deviation coefficient.
[0024] In an optional embodiment, when acquiring the target angular velocity and target temperature of the target joint, the first determination module is used to: acquire the initial angular velocity and initial temperature obtained by collecting data on the target joint; filter the initial angular velocity to obtain the target angular velocity of the target joint; and / or filter the initial temperature to obtain the target temperature of the target joint.
[0025] In an optional embodiment, when the first determination module obtains the initial angular velocity obtained by collecting data on the target joint, it is used to: obtain a first rotation angle of the target joint corresponding to a first sampling moment, and a second rotation angle corresponding to a second sampling moment adjacent to the first sampling moment; determine the initial angular velocity of the target joint based on the first rotation angle, the second rotation angle, and the time interval between the first sampling moment and the second sampling moment.
[0026] In an optional embodiment, when the first determination module determines the target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the multiple angular velocity intervals based on the target angular velocity interval to which the target angular velocity belongs, it is used to: compare the target angular velocity with a preset angular velocity threshold; in response to the target angular velocity being greater than or equal to the angular velocity threshold, determine the target friction force model corresponding to the target angular velocity interval based on the target angular velocity interval to which the target angular velocity belongs.
[0027] In an optional implementation, the first determination module is further used to: determine an excitation current for the target joint in response to the target angular velocity being less than the angular velocity threshold; and determine a compensation torque for the target joint based on the excitation current.
[0028] In an optional embodiment, when the first determination module determines the excitation current for the target joint in response to the target angular velocity being less than the angular velocity threshold, it is used to: determine the static friction force corresponding to the target joint; in response to the target angular velocity being less than the angular velocity threshold, determine the excitation current for the target joint based on the static friction force corresponding to the target joint; wherein the excitation current includes any one of a sinusoidal current, a cosine current, and a pulse current.
[0029] In an optional embodiment, when the second determination module determines the compensation current for the target joint based on the target angular velocity, target temperature, and target friction model of the target joint, it is used to: input the target angular velocity and the target temperature into the target friction model to obtain the compensation current of the target joint.
[0030] For a description of the effects of the above-mentioned data processing device, please refer to the description of the above-mentioned data processing method, which will not be repeated here.
[0031] The data processing method and device provided by the disclosed embodiment determine a relatively accurate friction force model corresponding to the target angular velocity of the target joint for the target joint to determine the compensation current for compensating the friction force of the target joint, thereby determining the compensation torque for the target joint. Compared with the prior art in which the friction force cannot be accurately measured, resulting in errors in teaching programming, thereby reducing the accuracy of the robot when it is applied in practice, the compensation current determined by the target friction force model is more accurate for the target joint, and the obtained compensation torque can reduce errors when used for teaching programming, thereby improving the accuracy of the robot when it is actually applied in practice.
[0032] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS
[0033] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.
[0034] Figure 1 A schematic diagram showing the relationship between angular velocity and friction force provided by an embodiment of the present disclosure is shown;
[0035] Figure 2 A flow chart of a data processing method provided by an embodiment of the present disclosure is shown;
[0036] Figure 3 A flowchart showing a specific embodiment of a data processing method provided by an embodiment of the present disclosure is shown;
[0037] Figure 4 A schematic diagram of a data processing device provided by an embodiment of the present disclosure is shown;
[0038] Figure 5 A schematic diagram of a computer device provided by an embodiment of the present disclosure is shown. DETAILED DESCRIPTION
[0039] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure is not intended to limit the scope of the present disclosure claimed for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.
[0040] Research has found that when teaching and programming robots, dragging teaching is usually used so that the robots can cope with complex and changeable production tasks on the production line. In dragging teaching, if the friction at the joints cannot be accurately determined, the robot's joints will not be in or close to a zero external force static suspension state due to the deviation between the measured friction and the actual friction at the joints. When dragging teaching is performed by manual teaching, the friction at the joints also needs to be compensated by the external force applied by humans. Therefore, errors will occur when teaching programming in this way, resulting in reduced accuracy when the robot is actually applied in practice.
[0041] Through experiments, the embodiments of the present disclosure can verify the following two conclusions (1) and (2): (1) the friction force at the joint is related to the angular velocity and temperature; (2) in different angular velocity ranges, as the angular velocity increases, the variation trend of the friction force is different, so the friction force at the joint is also related to different angular velocity ranges; for example, see Figure 1 As shown, a schematic diagram of the relationship between the change of angular velocity and friction force provided in an embodiment of the present invention is shown (in this schematic diagram, only the schematic diagram of the transformation relationship between the positive angular velocity and the corresponding friction force is shown). According to the change of friction force, it can be divided into two different intervals, including interval A and interval B. In interval A, the friction force decreases with the increase of angular velocity, while in interval B, the friction force increases with the increase of angular velocity.
[0042] Based on the above research, the present disclosure provides a data processing method, which can determine the target angular velocity and target temperature of the target joint and the target angular velocity interval to which the target angular velocity belongs, and the target friction force model between the target angular velocity, target temperature and compensation current corresponding to the target angular velocity interval can be determined, thereby determining the compensation current for the target joint according to the determined target friction force model to solve the compensation torque of the target joint. In this way, since the determined target friction force model satisfies the above two conclusions (1) and (2), the compensation current determined by the target friction force model is more accurate for the target joint, and the obtained compensation torque can reduce the error when used for teaching programming, thereby improving the accuracy of the robot when it is actually applied in practice.
[0043] The defects existing in the above solutions are the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions proposed by the present disclosure for the above problems below should be the contributions made by the inventor to the present disclosure during the disclosure process.
[0044] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.
[0045] To facilitate understanding of this embodiment, a data processing method disclosed in the embodiment of the present disclosure is first introduced in detail. The execution subject of the data processing method provided in the embodiment of the present disclosure is generally a robot with certain computing capabilities. The robot may be equipped with a terminal device or a server or other processing device, for example. In some possible implementations, the data processing method may be implemented by a processor calling a computer-readable instruction stored in a memory.
[0046] A data processing method provided by an embodiment of the present disclosure is described below.
[0047] See also Figure 2 FIG. 2 is a flowchart of a data processing method provided by an embodiment of the present disclosure, wherein the method includes steps S201 to S203, wherein:
[0048] S201: constructing friction force models corresponding to the target joint in multiple angular velocity intervals; the friction force model is used to characterize the relationship between the compensation current of the target joint and the angular velocity, the square of the angular velocity, the temperature, and the square of the temperature;
[0049] S202: in response to acquiring the target angular velocity and the target temperature of the target joint, based on the target angular velocity interval to which the target angular velocity belongs, determining a target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the plurality of angular velocity intervals respectively;
[0050] S203: Determine a compensation current for the target joint based on the target angular velocity, target temperature, and target friction force model of the target joint.
[0051] The disclosed embodiment constructs friction models corresponding to the target key under multiple angular velocity intervals, so as to determine the target friction model in this case according to the target angular velocity interval to which the target angular velocity belongs when the target angular velocity and the target temperature of the target joint are obtained, thereby determining the compensation current for the target joint and determining the compensation torque for the target joint. In this way, since the compensation current determined by the target friction model is more accurate for the target joint, the obtained compensation torque can reduce the error when used for teaching programming, thereby improving the accuracy of the robot when it is actually applied in practice.
[0052] The above S201 to S203 are described in detail below.
[0053] With respect to the above S201, the target joint may include, for example, any joint on the robot, such as an arm joint. The robot may include, for example, a walking robot, and when performing tasks such as carrying goods, the robot's arm may, for example, perform actions such as clamping, lifting, and pulling, and the robot's arm joint may swing, bend, and perform other actions in coordination with the robot's arm. In another possible case, the robot may, for example, only include a robotic arm, and the joints included in the robotic arm may, for example, also perform actions such as swinging and bending to perform related tasks.
[0054] In addition, a robot may include one or more joints. For example, if a robot includes multiple joints, different joints are installed at different positions and perform different specific actions. Therefore, for different joints, the relationship information between the angular velocity, temperature, and compensation current that can be determined for them is also different.
[0055] Below, a joint on a robot is used as an example for explanation. Here, the selected joint is the target joint.
[0056] In a specific implementation, when constructing friction force models corresponding to the target joint in multiple angular velocity intervals, for example, the following method can be used: obtaining multiple sets of experimental data of the target joint; wherein the multiple sets of experimental data include the experimental angular velocity, experimental temperature, and experimental compensation current of the target joint in multiple angular velocity intervals; based on the multiple sets of experimental data, the model parameters of the friction force models to be solved corresponding to the multiple angular velocity intervals are solved respectively to obtain the friction force models corresponding to the target joint in the multiple angular velocity intervals.
[0057] When obtaining multiple sets of experimental data of the target joint, for example, multiple sets of experimental data of the target joint under each of multiple usage conditions can be obtained; wherein the usage conditions include: usage environment and / or service life of the target joint.
[0058] Specifically, the friction force corresponding to the target joint under different use conditions is also different. For example, for the use environment of the target joint, factors such as the magnetic field, air pressure, and humidity may affect the friction force of the target joint; for the life of the target joint, the longer the use time, the more serious the wear of the joint, which will also affect the friction force corresponding to the joint. Therefore, in order to more accurately determine the friction force model corresponding to the target joint, multiple sets of experimental data for the target joint under each of the multiple use conditions can be obtained.
[0059] Exemplary, in a possible case, considering the influence of the use environment on the friction of the target joint, the target joint can be placed in different experimental environments to obtain multiple sets of experimental data. For example, a variety of different experimental environments are determined by controlling variables, and at least one of the factors such as magnetic field, air pressure, humidity, etc. in the various experimental environments is different. After determining the various different experimental environments, the target joint is placed in the various different experimental environments and experiments are carried out respectively to obtain multiple sets of experimental data. Among them, corresponding to each experimental environment, multiple sets of experimental data in the experimental environment can also be obtained to reduce the influence of experimental data with large deviations in the experimental data on the determination of the friction model.
[0060] In another possible case, considering the influence of service life on the friction of the target joint, a joint with the same model as the target joint but with a different service life can be determined according to the model of the target joint, and experiments can be conducted synchronously with the target joint to obtain multiple sets of experimental data under different service lives. Among them, for each joint with different service lives, a set of experimental data can be obtained accordingly.
[0061] Here, the usage conditions corresponding to the above-mentioned usage environment and the service life of the target joint can also be combined to determine multiple usage conditions. Specifically, please refer to the above-mentioned methods for determining multiple usage conditions under different usage environments and service lives of the target joint, which will not be repeated here.
[0062] Specifically, when obtaining multiple sets of experimental data of the target joint under various usage conditions, according to Figure 1 From the schematic diagram of the relationship between the angular velocity and friction force corresponding to the joint shown, it can be seen that for the target joint, when the corresponding angular velocity changes, the corresponding friction force changes accordingly, and has different change trends in different angular velocity intervals. Therefore, the relationship between the angular velocity and friction force corresponding to similar target joints can be determined by obtaining experimental data of the target joint, or directly based on the parameter information corresponding to the target joint, and multiple angular velocity intervals can be determined.
[0063] Exemplarily, multiple angular velocity intervals are determined, such as three angular velocity intervals, or four angular velocity intervals. Here, when dividing the angular velocity intervals, if the number of divided angular velocity intervals is small, the friction model corresponding to some angular velocity areas may be inaccurate due to the large granularity of the division; and if the number of divided angular velocity intervals is large, it may cause the computing power required to determine the friction model for each angular velocity interval to be large, thereby reducing the efficiency of data processing. Therefore, when determining the angular velocity intervals, the number of angular velocity intervals that can reduce the waste of computing power while ensuring accuracy can be determined according to actual conditions.
[0064] Below, the determination of four angular velocity intervals is used as an example for explanation. When obtaining multiple groups of experimental data of the target joint under various conditions of use, for example, the experimental angular velocity, experimental temperature, and experimental compensation current of the target joint in multiple angular velocity intervals can be determined by direct measurement, for example, using an experimental device for monitoring the data of the target joint to monitor the angular velocity, temperature, and compensation current of the target joint to obtain the experimental angular velocity, experimental temperature, and experimental compensation current of the target joint. Alternatively, the experimental angular velocity, experimental temperature, and experimental compensation current of the target joint in multiple angular velocity intervals can also be determined in a manner similar to the following determination of the target angular velocity and target temperature of the target joint, as described below, which will not be repeated here.
[0065] When multiple sets of experimental data corresponding to the target joint are obtained, the model parameters of the friction models to be solved corresponding to the multiple angular velocity intervals can be solved respectively, and the friction models corresponding to the target joint in the multiple angular velocity intervals can be obtained. Specifically, for each use condition, based on the multiple sets of experimental data under the use condition, the model parameters of the friction models to be solved corresponding to the multiple angular velocity intervals can be solved respectively, and the friction models corresponding to the multiple angular velocity intervals under the use condition can be obtained. Among them, the friction model is used to characterize the relationship between the compensation current of the target joint and the angular velocity, the square of the angular velocity, the temperature, and the square of the temperature.
[0066] In a specific implementation, under each usage condition, for any angular velocity interval among the multiple angular velocity intervals, based on at least one set of experimental data corresponding to the angular velocity interval, the model parameters of the friction force model to be solved corresponding to the angular velocity interval can be solved to obtain the friction force model corresponding to the angular velocity interval.
[0067] Wherein, for each use condition, the friction force model corresponding to any angular velocity interval may satisfy the following formula (1), for example:
[0068]
[0069] Among them, the compensation current in the friction model can be, for example, positively correlated with the angular velocity and the square of the angular velocity, and positively correlated with the temperature and the square of the temperature. Therefore, in the friction model shown in formula (1), the relationship between the compensation current and the angular velocity, the square of the angular velocity, the temperature, and the square of the temperature is shown. In a possible case, if a higher power of temperature and / or angular velocity is selected, the friction model can also be constructed accordingly, but the corresponding friction model determined will also be more complex and the order will be higher, so the computing power required for calculation is also higher. Therefore, in the embodiment of the present disclosure, the square term is selected as the highest power term for explanation, but in actual application, the selection of the highest power can be determined according to actual conditions and is not limited here.
[0070] For the above formula (1), the square term of angular velocity Pre-inclusion coefficient Angular velocity Pre-inclusion coefficient That is, the superscript of the coefficient related to angular velocity indicates that the coefficient is related to angular velocity, and the subscript indicates the coefficient of different powers of angular velocity. Similarly, the square term of temperature T 2 The coefficient f1 is included before T , including the coefficient before temperature T That is, the superscript of the temperature-related coefficient indicates that the coefficient is temperature-related, and the subscript indicates the coefficient of the different power terms of the temperature. In addition, in order to avoid the influence of other parameters on the friction force, for example, a constant deviation can be added to the formula
[0071] According to the friction force model corresponding to any angular velocity interval, the friction force model to be solved corresponding to the angular velocity interval can be determined accordingly, and the form of the friction force model to be solved is the same as that of the friction force model.
[0072] Below, the process of solving the model parameters of the friction model to be solved corresponding to different angular velocity intervals based on at least one set of experimental data corresponding to different angular velocity intervals in the four angular velocity intervals determined above and obtaining the friction model corresponding to the angular velocity interval is explained.
[0073] When dividing the four angular velocity intervals, the thresholds used include the angular velocity thresholds First threshold Second threshold The third threshold and the fourth threshold
[0074] Among them, the first threshold To the fourth threshold The value of gradually increases, but the difference between two adjacent thresholds can be the same or different.
[0075] In addition, in one possible case, if the angular velocity corresponding to the target joint is less than the angular velocity threshold That is, when the angular velocity is small, the compensation current determined by the friction model may not be able to compensate the target joint well. In this case, the corresponding excitation current can be determined for the target joint accordingly. For details, please refer to the description below and will not be repeated here.
[0076] In another possible case, if the angular velocity corresponding to the target joint is greater than the fourth threshold That is, when the angular velocity is large, the target joint may be faulty or in other abnormal states, and it can be considered that the compensation current determined by the friction model can produce a good compensation effect. Therefore, the maximum threshold is limited to the fourth threshold.
[0077] In a specific implementation, the determined four angular velocity intervals may include, for example:
[0078]
[0079] In this case, according to the above formula (1), for example, the friction force model to be solved corresponding to the angular velocity interval a can be determined, for example, it can satisfy the following formula (2):
[0080]
[0081] In determining the velocity coefficient related to the angular velocity Temperature coefficient f1 related to temperature T , And the deviation coefficient When obtaining multiple sets of experimental data corresponding to the angular velocity interval a, for example, multiple sets of experimental data can be obtained. Here, when obtaining multiple sets of experimental data, for example, the steps of obtaining the target angular velocity and target temperature of the target joint can be performed simultaneously. In a possible case, multiple sets of experimental data can also be obtained first to determine the friction force models corresponding to different angular velocity intervals, and then the target angular velocity and target temperature of the target joint are obtained, so as to calculate the compensation current using the corresponding friction force model.
[0082] The experimental data may include, for example, experimental angular velocities and experimental compensation currents at multiple identical experimental temperatures T0. Substituting the experimental data into the above formula (2), since the experimental temperatures are the same, the velocity coefficient related to the angular velocity may be determined first. as well as In addition, the experimental data may also include, for example, experimental compensation currents at different experimental temperatures and at the same experimental angular velocity, and the corresponding speed coefficients related to the angular velocity are determined. as well as The temperature coefficient f1 is determined in a similar way. T as well as By determining the velocity coefficient related to the angular velocity Temperature coefficient f1 related to temperature T , Substituting any set of experimental data, the deviation coefficient can be solved Thus, the velocity coefficient related to the angular velocity is Temperature coefficient f1 related to temperature T , And the deviation coefficient They can all be solved, that is, corresponding to the angular velocity interval a, the corresponding friction force model can be obtained.
[0083] Here, the remaining three angular velocity intervals include the following b, c, and d:
[0084] b.
[0085] Here, the friction force model corresponding to the angular velocity interval b may satisfy the following formula (3), for example:
[0086]
[0087] c.
[0088] Here, the friction force model corresponding to the angular velocity interval c may satisfy the following formula (4), for example:
[0089]
[0090] d.
[0091] Here, the friction force model corresponding to the angular velocity interval d may satisfy the following formula (5), for example:
[0092]
[0093] For the three angular velocity intervals b, c, and d, when solving the velocity coefficients related to the angular velocity, and For example, the method for solving the speed coefficient related to the angular velocity in the angular velocity interval a can be referred to, and will not be repeated here.
[0094] In this way, by using multiple sets of experimental data obtained under each usage condition and the determined multiple angular velocity intervals, it is possible to determine the friction force models corresponding to the multiple angular velocity intervals of the target joint under different usage conditions.
[0095] Regarding the above S202, after determining the rated friction force models corresponding to the target joint in multiple angular velocity intervals respectively through the above S201, it is also possible to respond to obtaining the target angular velocity and target temperature of the target joint, based on the use conditions corresponding to the target joint and the target angular velocity interval to which the target angular velocity belongs, determine the target friction force model from the friction force models corresponding to the multiple angular velocity intervals respectively under the use conditions corresponding to the target joint.
[0096] Among them, when obtaining the target angular velocity and target temperature of the target joint, for example, the following method can be adopted: obtain the initial angular velocity and initial temperature obtained by data collection on the target joint; filter the initial angular velocity to obtain the target angular velocity of the target joint; and / or filter the initial temperature to obtain the target temperature of the target joint.
[0097] In a specific implementation, when collecting data on a target joint, for example, real-time data collection can be performed on the target joint to ensure real-time data monitoring of the target joint; or, interval data collection can be used, that is, data collection is performed at a preset data collection frequency, such as collecting data on the target joint once every 0.5 seconds. This can further reduce the amount of collected data while ensuring that the angular velocity and temperature corresponding to the target joint can be obtained, thereby reducing the waste of storage resources and computing power.
[0098] Among them, when collecting data on the target joint to obtain the initial angular velocity, for example, the following method can be adopted: obtain a first rotation angle corresponding to the target joint at a first sampling moment, and a second rotation angle corresponding to a second sampling moment adjacent to the first sampling moment; based on the first rotation angle, the second rotation angle, and the time interval between the first sampling moment and the second sampling moment, determine the initial angular velocity of the target joint.
[0099] Specifically, for example, a data acquisition device can be installed at the target joint or other position where the rotation angle of the target joint can be collected. The data acquisition device is used to obtain the first rotation angle and the second rotation angle corresponding to the target joint at the first sampling moment and the second sampling moment respectively.
[0100] The sampling time can be determined, for example, according to the sampling frequency of the data acquisition device itself. For example, if the sampling frequency of the data acquisition device is 0.2 seconds / time, the time interval between the adjacent first sampling time t1 and the second sampling time t2 can be determined to be 0.2 seconds. For example, if the first sampling time t1 is 0 seconds, the determined second sampling time t2 is 0.2 seconds.
[0101] In addition, at different sampling moments, the data acquisition device can be used to determine the rotation angles corresponding to the target joints. In one possible case, the position of the target joint when the rotation angle is 0 degrees can be determined first, and the rotation angle at this place can be determined to be 0, so that when the target joint performs actions such as rotation, the angle offset of the current position of the target joint relative to the position when the rotation angle is 0 degrees is determined, and determined as the rotation angle at this place. The angle offset determined in this way is more accurate. Here, for example, the angle offset can also be determined by using the offset of the posture.
[0102] For example, at the first sampling time t1, the first rotation angle of the target joint can be determined to be θ1, and at the first sampling time t2, the first rotation angle of the target joint can be determined to be θ2. The initial angular velocity corresponding to the target joint For example, the following formula (6) can be satisfied:
[0103]
[0104] In this way, the initial angular velocity of the target joint can be determined more simply by collecting the rotation angle.
[0105] In addition, when determining the initial angular velocity of the target joint by means of data collection, for example, a photoelectric encoder can also be used. The photoelectric encoder's photoelectric code disk is coaxially installed with the rotating shaft of the target joint. When the target joint rotates, the photoelectric encoder's grating disk rotates at the same speed as the target joint. The detection device in the photoelectric encoder composed of electronic components such as light-emitting diodes in the photoelectric encoder can detect the output pulse signal. By calculating the number of pulse signals output by the photoelectric encoder within a preset time (for example, 1 second), the angular velocity of the current target joint can be determined.
[0106] In this way, the method of determining the initial angular velocity of the target joint using a photoelectric encoder has higher accuracy.
[0107] When data is collected on the target joint to obtain the initial temperature, for example, a temperature collection device can be installed at the target joint, or at other locations where the temperature of the target joint can be collected. The temperature collection device is used to obtain the temperature at the target joint, and can include, for example, a temperature sensor (temperature transducer), specifically a thermocouple, a thermistor, or a temperature sensing chip integrating a thermocouple and / or a thermistor, such as a DS18B20 chip.
[0108] In this way, the collected initial temperature can also be transmitted back for subsequent data processing steps, or for data recording.
[0109] After determining the initial angular velocity and initial temperature of the target joint, at least one of them can be filtered to obtain the target angular velocity and target temperature of the target joint. Taking the filtering of the initial angular velocity as an example, for example, the initial angular velocity can be filtered by a preset filter so that the filtered initial angular velocity is limited to a certain frequency range; or, the initial angular velocity can be filtered by an analog electronic circuit, and the frequency characteristics of the analog electronic circuit can be used to select the frequency components in the initial angular velocity. In this way, the initial angular velocity obtained after filtering can retain the target angular velocity within the effective frequency range, which is more conducive to subsequent data processing.
[0110] For the initial temperature, when filtering, for example, a method similar to the above-mentioned method of filtering the initial angular velocity may be used, and the details will not be repeated here.
[0111] When determining the target angular velocity and target temperature corresponding to the target joint, for the usage conditions corresponding to the target joint, the target friction force model corresponding to the target angular velocity interval to which the target angular velocity belongs can be determined from the friction force models corresponding to multiple angular velocity intervals under the usage conditions corresponding to the target joint.
[0112] In a specific implementation, when determining the target angular velocity corresponding to the target joint, for example, the target angular velocity can be compared with a preset angular velocity threshold value, and in response to the target angular velocity being greater than or equal to the angular velocity threshold value, based on the target angular velocity interval to which the target angular velocity belongs, the target friction force model corresponding to the target angular velocity interval is determined.
[0113] For example, Indicates the target angular velocity. With multiple angular velocity thresholds First threshold Second threshold The third threshold and the fourth threshold After comparison, if the target angular velocity can be determined If it falls within the angular velocity interval a, the friction force model corresponding to the angular velocity interval a is used as the target angular velocity. The corresponding target friction model; if the target angular velocity can be determined If it falls within the angular velocity interval b, the friction force model corresponding to the angular velocity interval b is used as the target angular velocity. The corresponding target friction model... By analogy, the target angular velocity can be determined Corresponding target friction model.
[0114] In this way, the angular velocity interval to which the target angular velocity belongs can be determined for the target joint with higher efficiency and accuracy as the target angular velocity interval, and the friction force model corresponding to the target angular velocity interval can be determined as the target friction force model.
[0115] In another embodiment of the present disclosure, when the target angular velocity is less than the angular velocity threshold In the case where, for example, in response to the target angular velocity being less than the angular velocity threshold, an excitation current for the target joint can be determined; and based on the excitation current, a compensation torque for the target joint can be determined.
[0116] In a specific implementation, for example, the static friction force corresponding to the target joint may be determined first. In a possible implementation, for example, the friction force determined when the angular velocity of the target joint is 0 may be used as the static friction force. Figure 1 The position indicated by point a in the coordinate system represents the value of static friction f when the angular velocity is 0.
[0117] After determining the static friction, the excitation current can be determined accordingly. Here, the excitation current can overcome the static friction of the target joint when it is stationary. Among them, the excitation current can, for example, include any one of a sine current, a cosine current, and a pulse current, and the excitation current can, for example, include positive and negative directions so that the joint can move in two directions. In addition, when specifically determining the excitation current, for example, the type of excitation current applied can be determined first, and then the intensity of the excitation current can be gradually increased from 0 until the excitation current can be used to compensate for the static friction. This method can directly compensate for the static friction at the target joint, which is relatively simple.
[0118] With respect to the above S203, when the target friction force model corresponding to the target angular velocity interval is determined, the compensation current for the target joint may be determined based on the target friction force model, the target angular velocity, and the target temperature, for example.
[0119] Specifically, the target angular velocity and the target temperature can be input into the target friction model to obtain the compensation current of the target joint. That is, the target angular velocity and the target temperature are used as input data of the target friction model, and the target friction model calculates the input data to determine the output data, and obtains the compensation current corresponding to the target joint.
[0120] In this way, since the accuracy of the determined target friction force model is relatively high, the compensation current of the target joint determined by using the target friction force model is also relatively accurate.
[0121] In another embodiment of the present disclosure, after the compensation current for the target joint is determined, it can also be solved accordingly as the compensation torque for the target joint.
[0122] Here, the compensation torque T may include, for example, a rotational torque (also referred to as torque or torque). Since the rotational torque is positively correlated with the power, in one possible case, after calculating the compensation current of the target joint, the corresponding power of the target joint can be determined, and then the compensation torque corresponding to the compensation current can be solved.
[0123] In this way, since the determined compensation current is more accurate, the compensation torque obtained can better offset the friction at the target joint at the target angular velocity to ensure that the target joint is in or close to a static suspension state with zero external force during dragging teaching, thereby reducing the error during teaching programming and improving the accuracy of the robot in actual application in practice.
[0124] In another embodiment of the present disclosure, a specific embodiment corresponding to a data processing method is also provided. Figure 3 As shown, it is a flowchart of a specific embodiment of a data processing method provided by an embodiment of the present disclosure, and the flowchart includes two stages, including stage I: determining a friction force model, and stage II: determining a corresponding compensation current for a target joint; wherein:
[0125] Phase I: Determine the friction model.
[0126] In this stage I, the following steps S301 to S304 are included:
[0127] S301: Collect multiple groups of experimental data of the target joint under each of multiple usage conditions.
[0128] S302: Filter the collected experimental data.
[0129] S303: For each angular velocity interval determined for the target joint, determine a friction force model to be solved corresponding to the angular velocity interval.
[0130] S304: For each angular velocity interval in the plurality of angular velocity intervals, using a plurality of sets of experimental data corresponding to the angular velocity interval under each use condition, solve the model parameters of the friction model to be solved to obtain the friction model corresponding to the angular velocity interval.
[0131] Phase II: Determine the corresponding compensation current for the target joint.
[0132] In this stage II, the following steps S305 to S311 are included:
[0133] S305: Collect data on the target joint to obtain an initial angular velocity and an initial temperature.
[0134] S306: Filter the initial angular velocity and / or initial temperature to obtain a target angular velocity and a target temperature of the target joint.
[0135] S307: Determine whether the target angular velocity is greater than or equal to a preset angular velocity threshold; if so, execute step S309; if not, execute step S308.
[0136] S308: Determine an excitation current for the target joint, and determine a compensation torque for the target joint based on the determined excitation current.
[0137] S309: Determine the angular velocity interval to which the target angular velocity belongs as the target angular velocity interval.
[0138] S310: Determine a friction force model corresponding to a target angular velocity interval as a target friction force model, and use the determined target angular velocity, target temperature, and target friction force model to solve and determine a compensation current of a target joint.
[0139] S311: Determine the compensation torque for the target joint according to the determined compensation current.
[0140] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.
[0141] Based on the same inventive concept, a data processing device corresponding to the data processing method is also provided in the embodiment of the present disclosure. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the above-mentioned data processing method in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.
[0142] Reference Figure 4FIG. 4 is a schematic diagram of a data processing device provided by an embodiment of the present disclosure, wherein the device comprises: a construction module 41, a first determination module 42, and a second determination module 43; wherein,
[0143] A construction module 41 is used to construct friction models corresponding to the target joint in multiple angular velocity intervals; the friction model is used to characterize the relationship between the compensation current of the target joint and the angular velocity, the square of the angular velocity, the temperature, and the square of the temperature;
[0144] A first determination module 42 is configured to, in response to obtaining a target angular velocity and a target temperature of the target joint, determine a target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the plurality of angular velocity intervals based on a target angular velocity interval to which the target angular velocity belongs;
[0145] The second determination module 43 is used to determine the compensation current for the target joint based on the target angular velocity, the target temperature and the target friction force model of the target joint.
[0146] In an optional implementation, the device further includes a third determination module 44, configured to determine a compensation torque for the target joint based on the compensation current.
[0147] In an optional embodiment, when constructing the friction force models corresponding to the target joint in multiple angular velocity intervals, the construction module 41 is used to: obtain multiple sets of experimental data of the target joint; wherein the multiple sets of experimental data include the experimental angular velocity, experimental temperature, and experimental compensation current of the target joint in multiple angular velocity intervals; based on the multiple sets of experimental data, respectively solve the model parameters of the friction force model to be solved corresponding to the multiple angular velocity intervals to obtain the friction force models corresponding to the target joint in the multiple angular velocity intervals.
[0148] In an optional embodiment, when the construction module 41 obtains multiple sets of experimental data of the target joint, it is used to: obtain multiple sets of experimental data of the target joint under each of multiple usage conditions; the usage conditions include: usage environment and / or service life of the target joint; when the construction module 41 solves the model parameters of the friction model to be solved corresponding to the multiple angular velocity intervals based on the multiple sets of experimental data, and obtains the friction models corresponding to the target joint in the multiple angular velocity intervals, it is used to: for each usage condition, based on the multiple sets of experimental data under the usage condition, solve the model parameters of the friction model to be solved corresponding to the multiple angular velocity intervals, and obtain the friction models corresponding to the multiple angular velocity intervals of the target joint under the usage condition.
[0149] In an optional embodiment, the first determination module 42, in response to obtaining the target angular velocity and the target temperature of the target joint, determines the target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the multiple angular velocity intervals based on the target angular velocity interval to which the target angular velocity belongs, and is used to: in response to obtaining the target angular velocity and the target temperature of the target joint, based on the usage conditions corresponding to the target joint and the target angular velocity interval to which the target angular velocity belongs, determine the target friction force model from the friction force models corresponding to the multiple angular velocity intervals under the usage conditions corresponding to the target joint.
[0150] In an optional embodiment, the construction module 41 solves the model parameters of the friction force model to be solved corresponding to the multiple angular velocity intervals for each usage condition based on multiple sets of experimental data under the usage condition, and obtains the friction force model corresponding to the multiple angular velocity intervals for the target joint under the usage condition. The construction module 41 is used to: for any angular velocity interval in the multiple angular velocity intervals, based on at least one set of experimental data corresponding to the angular velocity interval, solve the model parameters of the friction force model to be solved corresponding to the angular velocity interval, and obtain the friction force model corresponding to the angular velocity interval.
[0151] In an optional implementation, the model parameters include at least one of the following: a velocity coefficient related to angular velocity, a temperature coefficient related to temperature, and a deviation coefficient.
[0152] In an optional embodiment, when acquiring the target angular velocity and target temperature of the target joint, the first determination module 42 is used to: acquire the initial angular velocity and initial temperature obtained by collecting data on the target joint; filter the initial angular velocity to obtain the target angular velocity of the target joint; and / or filter the initial temperature to obtain the target temperature of the target joint.
[0153] In an optional embodiment, when acquiring the initial angular velocity obtained by collecting data for the target joint, the first determination module 42 is used to: acquire a first rotation angle of the target joint corresponding to a first sampling moment, and a second rotation angle corresponding to a second sampling moment adjacent to the first sampling moment; determine the initial angular velocity of the target joint based on the first rotation angle, the second rotation angle, and the time interval between the first sampling moment and the second sampling moment.
[0154] In an optional embodiment, when the first determination module 42 determines the target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the multiple angular velocity intervals based on the target angular velocity interval to which the target angular velocity belongs, it is used to: compare the target angular velocity with a preset angular velocity threshold; in response to the target angular velocity being greater than or equal to the angular velocity threshold, determine the target friction force model corresponding to the target angular velocity interval based on the target angular velocity interval to which the target angular velocity belongs.
[0155] In an optional implementation, the first determination module 42 is further used to: determine an excitation current for the target joint in response to the target angular velocity being less than the angular velocity threshold; and determine a compensation torque for the target joint based on the excitation current.
[0156] In an optional embodiment, when the first determination module 42 determines the excitation current for the target joint in response to the target angular velocity being less than the angular velocity threshold, it is used to: determine the static friction force corresponding to the target joint; in response to the target angular velocity being less than the angular velocity threshold, determine the excitation current for the target joint based on the static friction force corresponding to the target joint; wherein the excitation current includes any one of a sinusoidal current, a cosine current, and a pulse current.
[0157] In an optional embodiment, when the second determination module 43 determines the compensation current for the target joint based on the target angular velocity, target temperature, and target friction model of the target joint, it is used to: input the target angular velocity and the target temperature into the target friction model to obtain the compensation current of the target joint.
[0158] The present disclosure also provides a computer device, such as Figure 5 FIG. 1 is a schematic diagram of a computer device structure provided in an embodiment of the present disclosure, including:
[0159] A processor 10 and a memory 20; the memory 20 stores machine-readable instructions executable by the processor 10, and the processor 10 is used to execute the machine-readable instructions stored in the memory 20. When the machine-readable instructions are executed by the processor 10, the processor 10 performs the following steps:
[0160] Construct friction force models corresponding to the target joint in multiple angular velocity intervals respectively; the friction force model is used to characterize the correlation between the angular velocity, temperature, compensation current and friction force of the target joint; in response to obtaining the target angular velocity and target temperature of the target joint, based on the target angular velocity interval to which the target angular velocity belongs, determine the target friction force model corresponding to the target angular velocity interval from the friction force models corresponding to the multiple angular velocity intervals respectively; based on the target angular velocity, target temperature of the target joint, and the target friction force model, determine the compensation current for the target joint.
[0161] The above-mentioned memory 20 includes an internal memory 210 and an external memory 220; the internal memory 210 here is also called an internal memory, which is used to temporarily store the calculation data in the processor 10, as well as the data exchanged with the external memory 220 such as a hard disk. The processor 10 exchanges data with the external memory 220 through the internal memory 210.
[0162] The specific execution process of the above instructions can refer to the steps of the data processing method described in the embodiment of the present disclosure, which will not be repeated here.
[0163] The present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the data processing method described in the above method embodiment are executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.
[0164] The embodiments of the present disclosure also provide a computer program product, which carries a program code. The instructions included in the program code can be used to execute the steps of the data processing method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.
[0165] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).
[0166] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and device described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, device and method can be implemented in other ways. The device embodiments described above are merely schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, and the indirect coupling or communication connection of the device or unit can be electrical, mechanical or other forms.
[0167] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0168] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.
[0169] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0170] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.
Claims
1. A data processing method, characterized in that: include: Construct the friction force models corresponding to the target joint in multiple angular velocity ranges; The friction force model is used to characterize the relationship between the compensation current of the target joint and the angular velocity, the square of the angular velocity, the temperature, and the square of the temperature; In response to obtaining the target angular velocity and the target temperature of the target joint, based on the use conditions corresponding to the target joint and the target angular velocity interval to which the target angular velocity belongs, a target friction force model is determined from the friction force models corresponding to the plurality of angular velocity intervals respectively under the use conditions corresponding to the target joint, including: comparing the target angular velocity with a preset angular velocity threshold; in response to the target angular velocity being greater than or equal to the angular velocity threshold, based on the target angular velocity interval to which the target angular velocity belongs, determining the target friction force model corresponding to the target angular velocity interval; Determining a compensation current for the target joint based on a target angular velocity, a target temperature, and a target friction force model of the target joint; The step of constructing the friction force models corresponding to the target joint in multiple angular velocity intervals includes: Acquire multiple sets of experimental data of the target joint under each of multiple use conditions; the use conditions include: use environment and / or service life of the target joint; the multiple sets of experimental data include experimental angular velocity, experimental temperature, and experimental compensation current of the target joint under multiple angular velocity intervals; For each usage condition, based on multiple sets of experimental data under that usage condition, the model parameters of the friction force model to be solved corresponding to the multiple angular velocity intervals are solved respectively, so as to obtain the friction force model corresponding to the multiple angular velocity intervals of the target joint under that usage condition.
2. The data processing method according to claim 1, characterized in that: The method further comprises: Based on the compensation current, a compensation torque applied to the target joint is determined.
3. The data processing method according to claim 1, characterized in that: For each use condition, based on multiple groups of experimental data under the use condition, the model parameters of the friction force models to be solved corresponding to the multiple angular velocity intervals are solved respectively, and the friction force models corresponding to the multiple angular velocity intervals under the use condition of the target joint are obtained, including: For any angular velocity interval among the multiple angular velocity intervals, based on at least one set of experimental data corresponding to the angular velocity interval, model parameters of the friction force model to be solved corresponding to the angular velocity interval are solved to obtain the friction force model corresponding to the angular velocity interval.
4. The data processing method according to claim 3, characterized in that: The model parameters include at least one of the following: A velocity coefficient related to angular velocity, a temperature coefficient related to temperature, and a deviation coefficient.
5. The data processing method according to claim 1, characterized in that: The obtaining of the target angular velocity and the target temperature of the target joint comprises: Acquire the initial angular velocity and initial temperature obtained by data collection of the target joint; Performing filtering on the initial angular velocity to obtain the target angular velocity of the target joint; The initial temperature is filtered to obtain the target temperature of the target joint.
6. The data processing method according to claim 5, characterized in that: The obtaining of the initial angular velocity obtained by collecting data from the target joint includes: Obtaining a first rotation angle of a target joint corresponding to a first sampling moment and a second rotation angle corresponding to a second sampling moment adjacent to the first sampling moment; An initial angular velocity of the target joint is determined based on the first rotation angle, the second rotation angle, and a time interval between the first sampling time and the second sampling time.
7. The data processing method according to claim 1, characterized in that: The determining of the compensation current for the target joint based on the target angular velocity, the target temperature, and the target friction force model of the target joint comprises: The target angular velocity and the target temperature are input into the target friction force model to obtain the compensation current of the target joint.
Citation Information
Patent Citations
Robot joint friction torque compensation method and system
CN109732605A
Improved Stribeck friction model identification method for robot
CN113051673A
