A torque compensation control method for a robot arm joint servo module
By installing a rotation measuring device on the harmonic reducer and establishing a mathematical relationship of hysteretic characteristics, the torque control problem caused by the flexibility of the harmonic reducer is solved, efficient servo control and position tracking accuracy are improved, and it is suitable for different servo joint models. Group.
Patent Information
- Application Number
- CN202211170596.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-09-23
- Publication Date
- 2024-10-18
- Estimated Expiration
- 2042-09-23
AI Technical Summary
In existing technology, in servo joint modules, the flexible characteristics of harmonic reducers lead to problems such as delayed dynamic response of torque control, reduced position tracking accuracy and mechanical vibration. Moreover, the existing compensation method has low adaptability and needs to be parameterized according to the actual system. adjust.
By installing a rotation measuring device at the input and output ends of the harmonic reducer, measuring the angle difference and calculating the theoretical torque, a continuous mathematical relationship of hysteretic characteristics is established. Based on this relationship, the hysteretic effect of the harmonic reducer is compensated, and AI learning is used The module optimizes mathematical relationships to apply to different servo joint modules.
It achieves efficient compensation for the hysteresis characteristics of the harmonic reducer, improves servo control performance and position tracking accuracy, and does not need to adjust parameters according to the specific system, with high applicability.
Smart Images

Figure CN115464654B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of robots, and in particular relates to a torque compensation control method for a mechanical arm joint servo module. Background Art
[0002] The robot arm joint servo system usually consists of a servo motor, encoder, harmonic reducer, etc. to form a servo joint module.
[0003] One of the core components of the servo joint module is the harmonic reducer. Normally, the gears of the harmonic reducer do not have backlash like ordinary gears. The reducer is designed to have zero backlash, but due to the unique working characteristics of this type of gear, it has a certain degree of flexibility during operation and is not completely rigid. This flexibility has a negative impact on the performance of the joint servo system, especially the control accuracy and position tracking accuracy.
[0004] Specifically, when the harmonic reducer is subjected to an external torque, it will exhibit a certain degree of mechanical torsional characteristics and has a certain torsional rigidity. This torsional rigidity, that is, the relationship between the torsional angle and the torsional torque, exhibits a hysteresis characteristic. The existence of the hysteresis characteristic will have an adverse effect on the control performance and control accuracy of the servo drive system, such as torque control dynamic response delay, reduced position tracking accuracy, mechanical vibration, etc.
[0005] Under existing technical conditions, in servo control, the torque control performance is compensated to a certain extent by adopting methods such as feedforward compensation and load torque observation. These methods all construct compensation amounts based on relevant known parameters in the existing control system, thereby compensating and improving the torque dynamic performance to a certain extent. In actual applications, their application effects have certain limitations for different servo joint modules, and they also need to adjust the corresponding parameters according to the actual system, and their adaptability is low. Summary of the invention
[0006] In view of this, the present invention proposes a torque compensation control method for a robot arm joint servo module, wherein a rotation measuring device is set at both ends of a harmonic reducer to obtain the angle difference between the input end and the output end of the harmonic reducer, and the theoretical torque of the harmonic reducer is calculated based on the angle difference and the rigidity coefficient of the harmonic reducer; based on the angle difference and the theoretical torque, a continuous mathematical relationship reflecting the hysteresis characteristic of the harmonic reducer is obtained, and finally the hysteresis effect of the harmonic reducer is compensated based on the hysteresis torque. The present invention can be applied to different servo joint modules without adjusting the corresponding parameters according to the actual system, and has high applicability.
[0007] In order to achieve the above technical objectives, the specific technical solutions adopted by the present invention are:
[0008] A mechanical arm joint servo module torque compensation control method, the joint servo module includes a harmonic reducer, the input end and the output end of the harmonic reducer are respectively installed with an input end rotation measuring device and an output end rotation measuring device; the mechanical arm joint servo module torque compensation control method includes the following steps:
[0009] S101: Calculating the angle difference between the input end and the output end of the harmonic reducer by measuring the rotation characteristics of the input end and the output end of the harmonic reducer based on the input end rotation measuring device and the output end rotation measuring device;
[0010] S102: Calculating the theoretical torque of the harmonic reducer based on the angle difference and the stiffness coefficient of the harmonic reducer;
[0011] S103: Based on the angle difference and the theoretical torque of the harmonic reducer under different working conditions, a continuous mathematical relationship reflecting the hysteresis characteristics of the harmonic reducer is obtained;
[0012] S104: Inputting the hysteresis torque obtained based on the continuous mathematical relationship into the control system of the joint servo module to compensate for the hysteresis effect of the harmonic reducer.
[0013] Further, the theoretical torque is obtained based on the theoretical electromagnetic torque of the motor of the joint servo module, and S103 is specifically:
[0014] S201: Calculating the difference between the theoretical torque and the theoretical electromagnetic torque under different output states of the joint servo module;
[0015] S202: Establishing an angle difference-difference coordinate system, and establishing the continuous mathematical relationship based on the point distribution state of the angle difference-difference coordinate system.
[0016] Furthermore, the theoretical electromagnetic torque is obtained based on the following formula:
[0017]
[0018] in: T eq : Theoretical electromagnetic torque; i qref : Current command; K t : Motor torque coefficient.
[0019] Furthermore, in S202, the continuous mathematical relationship established based on the point distribution state is obtained after optimization based on the AI learning module.
[0020] Furthermore, the theoretical torque is obtained based on a load torque observer of the servo motor of the joint servo module;
[0021] The S103 is specifically:
[0022] S301: establishing a rotation difference-theoretical torque coordinate system, and establishing a continuous mathematical relationship to be compensated based on the point distribution state of the rotation difference-theoretical torque coordinate system;
[0023] S302: Compensating the continuous mathematical relationship to be compensated based on the theoretical torque to obtain the continuous mathematical relationship.
[0024] Furthermore, in S301, the continuous mathematical relationship to be compensated established based on the point distribution state is obtained based on the AI learning module.
[0025] Furthermore, the theoretical torque is obtained based on the following formula:
[0026]
[0027] in: T eh : The theoretical torque output by the harmonic reducer; k : Rigidity coefficient of harmonic reducer; R : reduction ratio of harmonic reducer; : Rotation angle of the harmonic reducer input end; : Rotation angle of the harmonic reducer output end.
[0028] Furthermore, the input end rotation measuring device and the output end rotation measuring device are rotary encoders.
[0029] Furthermore, a modeling process is also included between S102 and S103, and the modeling process is used to establish a Bouc-Wen mathematical model of the joint servo module;
[0030] The Bouc-Wen mathematical model is:
[0031]
[0032]
[0033]
[0034] in:
[0035] T t : Electromagnetic torque of the motor;
[0036] J m : Motor inertia;
[0037] JL : Harmonic reducer and load inertia;
[0038] K: torsional stiffness of harmonic reducer;
[0039] R: reduction ratio of harmonic reducer;
[0040] θ in : The input rotation angle of the harmonic reducer;
[0041] θ out : The output rotation angle of the harmonic reducer;
[0042] T eh : hysteresis torque;
[0043] B m : Viscosity coefficient of the motor;
[0044] B h : Viscosity coefficient of harmonic reducer;
[0045] β: model parameter;
[0046] γ: model parameter. BRIEF DESCRIPTION OF THE DRAWINGS
[0047] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0048] Figure 1 is a data set in the angle difference-theoretical moment coordinate system in a specific embodiment of the present invention;
[0049] Figure 2 A hardware architecture diagram for executing a torque compensation control method for a robot arm joint servo module in a specific embodiment of the present invention;
[0050] Figure 3 It is a block diagram of current control and torque compensation control for executing the torque compensation control method of the robot arm joint servo module in a specific embodiment of the present invention;
[0051] Figure 4 It is a control block diagram for implementing a torque compensation control method of a robot arm joint servo module in a specific embodiment of the present invention;
[0052] Figure 5 It is another implementation control block diagram of a torque compensation control method of a robot arm joint servo module in a specific embodiment of the present invention;
[0053] Figure 6 It is a structural diagram of a load torque observer in a specific implementation mode of the present invention;
[0054] Figure 7 It is a schematic diagram of AI extraction of hysteresis characteristic data curve based on Bouc-Wen model in a specific implementation manner of the present invention. DETAILED DESCRIPTION
[0055] The embodiments of the present disclosure are described in detail below with reference to the accompanying drawings.
[0056] The following describes the embodiments of the present disclosure through specific examples, and those skilled in the art can easily understand other advantages and effects of the present disclosure from the contents disclosed in this specification. Obviously, the described embodiments are only a part of the embodiments of the present disclosure, rather than all of the embodiments. The present disclosure can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present disclosure. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present disclosure.
[0057] It should be noted that various aspects of the embodiments within the scope of the appended claims are described below. It should be apparent that the aspects described herein can be embodied in a wide variety of forms, and any specific structure and / or function described herein is merely illustrative. Based on the present disclosure, it should be understood by those skilled in the art that an aspect described herein can be implemented independently of any other aspect, and two or more of these aspects can be combined in various ways. For example, any number of aspects described herein can be used to implement the device and / or practice the method. In addition, other structures and / or functionalities other than one or more of the aspects described herein can be used to implement this device and / or practice this method.
[0058] It should also be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present disclosure. The illustrations only show components related to the present disclosure rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0059] Additionally, in the following description, specific details are provided to facilitate a thorough understanding of the examples. However, it will be understood by those skilled in the art that the aspects described may be practiced without these specific details.
[0060] In one embodiment of the present invention, a torque compensation control method for a mechanical arm joint servo module is provided, wherein the joint servo module includes a harmonic reducer, and an input end rotary encoder and an output end rotary encoder are installed at the input end and the output end of the harmonic reducer respectively; the torque compensation control method for the mechanical arm joint servo module includes the following steps:
[0061] S101: Calculating the angle difference between the input end and the output end of the harmonic reducer by measuring the rotation characteristics of the input end and the output end of the harmonic reducer based on the input end rotation measuring device and the output end rotation measuring device;
[0062] S102: Calculating the theoretical torque of the harmonic reducer based on the angle difference and the stiffness coefficient of the harmonic reducer;
[0063] S103: Based on the angle difference and the theoretical torque of the harmonic reducer under different working conditions, a continuous mathematical relationship reflecting the hysteresis characteristics of the harmonic reducer is obtained;
[0064] S104: Inputting the hysteresis torque obtained based on the continuous mathematical relationship into the control system of the joint servo module to compensate for the hysteresis effect of the harmonic reducer.
[0065] In this embodiment, the input end rotation measuring device and the output end rotation measuring device may be devices such as encoders and rotary encoders that can distinguish the rotation mode (rotation characteristics) of the harmonic reducer, which is not limited here.
[0066] In one embodiment, the theoretical torque is obtained based on the theoretical electromagnetic torque of the motor of the joint servo module, and S103 is specifically as follows:
[0067] S201: Calculating the difference between the theoretical torque and the theoretical electromagnetic torque under different output states of the joint servo module;
[0068] S202: Establishing an angle difference-difference coordinate system, and establishing the continuous mathematical relationship based on the point distribution state of the angle difference-difference coordinate system.
[0069] In this embodiment, the theoretical electromagnetic torque is obtained based on (Eq.1);
[0070] in: T eq : Theoretical electromagnetic torque; i qref : Current command; K t : Motor torque coefficient.
[0071] In this embodiment, the theoretical torque is obtained based on (Eq.2);
[0072] in: T eh : The theoretical torque output by the harmonic reducer; k : Rigidity coefficient of harmonic reducer; R : reduction ratio of harmonic reducer; : Rotation angle of the harmonic reducer input end; : Rotation angle of the harmonic reducer output end.
[0073] In one embodiment, in S202, the continuous mathematical relationship established based on the point distribution state is obtained after optimization based on an AI learning module.
[0074] In one embodiment, the theoretical torque is obtained based on a load torque observer of a servo motor of the joint servo module;
[0075] The S103 is specifically:
[0076] S301: establishing an angle difference-theoretical moment coordinate system, and establishing a continuous mathematical relationship to be compensated based on the point distribution state of the angle difference-theoretical moment coordinate system;
[0077] S302: Compensating the continuous mathematical relationship to be compensated based on the theoretical torque to obtain the continuous mathematical relationship.
[0078] In this embodiment, in S301, the continuous mathematical relationship to be compensated established based on the point distribution state is obtained based on the AI learning module.
[0079] In one embodiment, the input end rotation measuring device and the output end rotation measuring device are rotary encoders.
[0080] The process between S102 and S103 also includes a data optimization process and a modeling process, wherein the modeling process is used to establish a Bouc-Wen mathematical model of the joint servo module;
[0081] The Bouc-Wen mathematical model is (Eq.3)-(Eq.4)
[0082] in,
[0083] T t : Electromagnetic torque of the motor;
[0084] J m : Motor inertia;
[0085] J L : Harmonic reducer and load inertia;
[0086] K: torsional stiffness of harmonic reducer;
[0087] R: reduction ratio of harmonic reducer;
[0088] θ in : The input rotation angle of the harmonic reducer;
[0089] θ out : The output rotation angle of the harmonic reducer;
[0090] T eh : hysteresis torque;
[0091] B m : Viscosity coefficient of the motor;
[0092] B h : Viscosity coefficient of harmonic reducer;
[0093] β: model parameter;
[0094] γ: model parameter.
[0095] In one embodiment, the input end rotation measuring device and the output end rotation measuring device are rotary encoders.
[0096] The above-mentioned embodiment can utilize an artificial neuron learning algorithm to extract the torsional stiffness data of the harmonic reducer, and perform a torque compensation control method based on this; utilizing this control method, the adverse effects of the torsional stiffness characteristics of the harmonic reducer on the servo performance can be eliminated to a certain extent, thereby improving the servo control performance, improving the dynamic characteristics of the torque control, and improving the servo joint position tracking accuracy.
[0097] The torque compensation control method proposed in the above embodiment is implemented through a servo control hardware platform and software control method. The present invention can utilize the signals of two encoders installed on the input and output sides of the harmonic reducer. When the servo module is working and a certain mechanical torsion phenomenon is caused by the application of external torque, the output angles of the two encoders will have a certain angle difference. The size of the angle difference is associated with the torque received by the harmonic reducer. Through the artificial neuron learning algorithm, the relationship data between the angle difference and the torque is trained and learned, so as to extract the mathematical expression relationship or regular curve that can indicate the deterministic relationship between the two parameters from the characteristic data. Based on this relationship, the processed compensation torque parameter is fed into the current control loop for compensation control, thereby realizing compensation for the adverse effects caused by the torque hysteresis characteristics of the servo module, improving the system torque performance, and improving the position tracking accuracy.
[0098] The robot arm joint servo system usually consists of a servo motor, encoder, harmonic reducer, etc. to form a servo joint module.
[0099] Generally, harmonic reducers are mainly composed of flexible wheels and steel wheels; general harmonic reducers usually have certain flexible transmission characteristics. Compared with the tooth-to-tooth contact transmission method of traditional gears, this transmission method has no tooth gap, but has certain torsional rigidity characteristics. Torsional rigidity means that when a certain torque is applied to the joint, a certain degree of relative mechanical torsion will be generated at the input and output ends of the harmonic reducer. This mechanical torsion can reflect the magnitude of the torque within a certain range. Therefore, it is possible to install high-precision encoders at both ends of the harmonic reducer to judge the magnitude of the torque by the difference in the angles of the two encoders.
[0100] The encoder installed at the input end of the harmonic reducer is called the input end encoder, and the encoder installed at the output end of the harmonic reducer is called the output end encoder.
[0101] Assume that the rotation difference (angle difference) between the input encoder output angle and the output encoder output angle is θ T , which is consistent with the theoretical moment T eh The relationship between Figure 1 shown.
[0102] The data distribution of this hysteresis characteristic relationship data obtained when testing the torsional characteristics of a harmonic reducer is not necessarily very regular. Figure 1 As shown, how to find or extract the mathematical expression or curve that best reflects the regularity of the torsional characteristics of the servo module from these scattered data arrays according to a certain rule, which can then be applied to the actual servo motor control loop, the present invention proposes three execution methods based on this.
[0103] In the technical solution of the above embodiment, an AI artificial neuron learning algorithm can be used to extract the rules by iterating and learning relevant historical data. The rules can more realistically reflect the torsional stiffness characteristics of the servo module, and then perform more accurate torque compensation to improve servo performance.
[0104] In order to run the AI algorithm (artificial neuron learning algorithm) and process the relevant data in parallel, the present invention designs a servo module torque compensation and AI processing module based on FPGA; the processing module exchanges parameters with the DSP to which the motor driver belongs. Figure 2 shown.
[0105] like Figure 2As shown in the figure, the servo module torque compensation and AI processing module run on the FPGA; in order to cooperate with the AI algorithm to implement iteration and learning based on historical data, large-capacity RAM and large-capacity FLASH DISK are configured to store historical data, and both use the data bus to read and store data. The module inputs are: the encoder signal θ at the input side of the harmonic reducer in , output side encoder signal θ out , the current command i from the motor driver qref ; The parameter δT output by the module to the motor driver is the compensation torque (hysteresis torque) component.
[0106] At the same time, the encoder signal θ at the input side of the harmonic reducer in It is also input to the motor driver DSP for motor control.
[0107] After the module output parameter δT enters the control loop running in the DSP, it is fed into the current loop controller for compensation, such as Figure 3 The current loop compensation control block diagram is shown.
[0108] like Figure 3 As shown, the δT output by the servo module torsional torque compensation and AI processing module enters the current loop control running in the DSP to compensate and control the current command.
[0109] The first execution method of the above execution method:
[0110] In general, the torsional stiffness coefficient of the harmonic reducer is a known value; then the theoretical torque of the harmonic reducer can be calculated based on the angle difference of the encoders installed at both ends of the harmonic reducer, as shown in (Eq.2), where:
[0111] T eh : The theoretical torque output by the harmonic reducer; k : Rigidity coefficient of harmonic reducer; R : reduction ratio of harmonic reducer; : Rotation angle of harmonic reducer input end; : Rotation angle of the harmonic reducer output end.
[0112] In the servo control loop, according to the current command in the current control loop, i qref , the theoretical motor electromagnetic torque can be calculated, such as (Eq.1),
[0113] In the formula,
[0114] T eq : Theoretical electromagnetic torque; i qref : Current command; Kt : Motor torque coefficient.
[0115] Then T obtained from Eq.1 eh Compared with T obtained in Eq.2 eq After normalization and data processing, the difference δT of the two parameters is calculated. There is a certain correspondence between the difference and the dual encoder angle difference δθ. The data array is iteratively learned by the artificial neuron module algorithm to extract the deterministic relationship between δθ and δT (either as an expression or a curve). The δT parameter value is used as the parameter value fed into the current loop for torque compensation. The system processing block diagram of this embodiment is shown in FIG. Figure 4 shown.
[0116] In this implementation mode, the two data arrays of the difference between the two torques and the difference between the dual encoder angles are iterated and learned according to certain rules using an artificial intelligence algorithm to obtain a deterministic relationship curve or a regular relationship, thereby achieving the purpose of compensating the servo module torque according to the size of the monitored dual encoder angle difference. The beneficial effect is to improve the dynamic performance of the torque control and eliminate the influence on the position tracking accuracy of the servo system caused by the flexible torsion characteristics of the harmonic reducer.
[0117] In this implementation, the hysteresis characteristics of the torsional stiffness of the harmonic reducer are not considered. Only the flexible torsional characteristics of the harmonic reducer are used as a nonlinear signal data that can reflect the torque size. Through the iteration and learning of the artificial neuron algorithm, the approximate deterministic relationship between the deterministic δθ and δT is extracted from a large amount of historical data, so that δT is introduced into the current loop for compensation control to improve the control performance.
[0118] This technical solution does not take into account the hysteresis characteristics of the torsional stiffness of the harmonic reducer, and only uses current instructions to calculate the theoretical electromagnetic torque. The advantages are simple data processing algorithms, including fast iterative learning speed of the AI algorithm, small amount of historical data required, high real-time performance, and low consumption of FPGA computing resources. The disadvantages are that it is impossible to accurately compensate for the impact of the torsional hysteresis characteristics of the harmonic reducer. It has a better control effect on servo modules with narrow hysteresis characteristics, but has certain limitations in the compensation control effect on servo modules with wider hysteresis characteristics.
[0119] To this end, further on this basis, the present invention proposes a second execution method.
[0120] The second execution method:
[0121] The control architecture of this implementation is as follows Figure 5 shown.
[0122] like Figure 5 As shown, compared to Figure 4 The control architecture of the robot has been improved in two main aspects. First, the AI learning module first calculates the torsional torque based on the angle difference of the dual encoders, and the calculation method is based on Eq. 1; second, based on the encoder signal and current command on the input side of the harmonic reducer, a load torque observer is constructed to calculate the actual joint load size in real time. This method of calculating the load torque through the observer is better than the method of calculating the torque only through the command current. It can more accurately reflect the dynamic size changes of the actual load torque, and during the data processing process, the data is smoother and the noise is smaller.
[0123] The AI learning module directly iterates and learns the torque data and δθ output by the harmonic reducer. By setting certain learning rules, the torque data expression relationship containing hysteresis characteristics can be extracted. This torque can more accurately reflect the torque characteristics of the harmonic reducer. After that, the data processing module subtracts the load torque obtained by the load torque observer to obtain the torque component δT that needs to be compensated. The structure of the load torque observer is as follows: Figure 6 shown.
[0124] The input of the load torque observer module is the encoder signal and the current command. Figure 6 J m is the joint motor inertia, J h is the inertia of the harmonic reducer, s is the Laplace operator, T L is the observer output, the calculated load torque. r is the speed command input to the torque observer, ω f is the feedback speed calculated in the observer model.
[0125] Harmonic reducer input side encoder signal θ in After inputting the load torque observer, it is first converted into a speed command ω r , and then output the speed feedback ω with the module model f The speed closed-loop control is formed. Under the action of the closed-loop controller, the output control quantity is subtracted from the actual motor command torque (current) to form the final control quantity control module model. The output of the speed controller is used as the load torque observation value T L .
[0126] The load torque observer uses the actual joint motor speed as the reference speed value and the electromagnetic torque (or current command) calculated by the actual motor control loop as the load torque, and estimates the theoretical load torque of the actual motor through closed-loop control. When the controller parameters are adjusted appropriately, the load torque calculated by the load torque observer can better track the dynamic changes of the load torque of the actual system.
[0127] In this implementation mode, the AI artificial neuron algorithm is used to implement iterative learning of the torsional torque characteristics of the harmonic reducer, thereby extracting a definite relational expression or curve that can more truly reflect its torque characteristics; then, through the torque calculation based on the load torque observer, the torque compensation amount that can compensate the control torque is finally obtained. Compared with the first implementation mode, this implementation mode has the advantage that the torsional characteristics of the harmonic reducer extracted by learning the AI algorithm are closer to the actual situation, already include the hysteresis characteristics, and the torque compensation control effect is better; but its disadvantage is that it requires enough historical data for iterative learning, the real-time performance is reduced, the computing speed is reduced, and more FPGA resources are consumed.
[0128] Furthermore, in order to more accurately consider the torsional hysteresis characteristics of the harmonic reducer in the torque compensation control, as well as to reduce the computing power burden of AI iterative learning and increase the processing speed to enhance real-time performance, a servo module model based on the Bouc-Wen method was established, as shown in the third execution method below.
[0129] The third execution method:
[0130] The Bouc-Wen method is a common method for modeling data objects with hysteresis characteristics. In the technical solution of the present invention, the Bouc-Wen method is introduced to mathematically model the servo module based on the harmonic reducer. On this basis, the artificial intelligence learning algorithm is used to iteratively learn the theoretical torque and angle difference data array to extract the continuous mathematical relationship that best reflects the torsional torque hysteresis characteristics of the harmonic reducer, so as to more accurately perform torque compensation control and improve the dynamic performance and position tracking control accuracy of the servo system.
[0131] The Bouc-Wen mathematical model expression of the joint servo module in this implementation method is as follows (Eq.3)-(Eq.5), where:
[0132] T t : Electromagnetic torque of the motor;
[0133] J m : Motor inertia;
[0134] J L : Harmonic reducer and load inertia;
[0135] K: torsional stiffness of harmonic reducer;
[0136] R: reduction ratio of harmonic reducer;
[0137] θ in : The input rotation angle of the harmonic reducer;
[0138] θ out : The output rotation angle of the harmonic reducer;
[0139] T eh : hysteresis torque;
[0140] B m : Viscosity coefficient of the motor;
[0141] B h : Viscosity coefficient of harmonic reducer;
[0142] β: model parameter;
[0143] γ: model parameter.
[0144] Based on the Bouc-Wen model shown in (Eq.3)-(Eq.5) above, by inputting the dual encoder angle value, the motor electromagnetic torque value, and setting appropriate related parameters, T can be obtained. eh , which is the hysteresis torque value.
[0145] Afterwards, the obtained T eh Iterative learning is performed on the angle difference data, and finally a more certain and complete hysteresis torque expression relationship or curve is extracted, that is, a data array or curve relationship between the hysteresis torque value and the dual encoder angle difference. The data array more accurately reflects the characteristics of the harmonic reducer module.
[0146] like Figure 7 Shown are the hysteresis characteristic data and curves extracted using the Bouc-Wen model and AI artificial neuron learning algorithm.
[0147] Depend on Figure 7 According to the extracted hysteresis characteristic curve data array and the encoder angle difference δθ, T can be calculated. eh value, thereby utilizing Figure 5 The feedback compensation control method shown can accurately compensate the control torque of the servo module, and can effectively eliminate the adverse effects of the torsional hysteresis characteristics of the module on the servo system, such as limited system dynamic characteristics and reduced position tracking accuracy.
[0148] In this implementation, although the data source is the same as the aforementioned implementation, because the Bouc-Wen model of the harmonic reducer servo joint system is established, its output parameters can more accurately express the hysteresis characteristics of the harmonic reducer torsional characteristics, which is equivalent to combing and standardizing the original rough data first, eliminating the "invalid data" that does not meet the model requirements. Therefore, when using AI for iterative learning, it has the advantages of fast speed, less historical data required, and higher accuracy, thereby improving real-time performance, consuming less FPGA resources, better torque compensation control effect, and improved system position tracking accuracy.
[0149] The above is only a specific implementation of the present disclosure, but the protection scope of the present disclosure is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed in the present disclosure 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 method for controlling torque compensation of a robot arm joint servo module, characterized in that: The joint servo module includes a harmonic reducer, and an input end rotation measuring device and an output end rotation measuring device are installed at the input end and the output end of the harmonic reducer respectively; The mechanical arm joint servo module torque compensation control method comprises the following steps: S101: Calculating the rotation difference between the input end and the output end of the harmonic reducer by measuring the rotation characteristics of the input end and the output end of the harmonic reducer based on the input end rotation measuring device and the output end rotation measuring device; S102: Calculating the theoretical torque of the harmonic reducer based on the rotation difference and the stiffness coefficient of the harmonic reducer; S103: based on the rotation difference and the theoretical torque of the harmonic reducer under different working conditions, obtaining a continuous mathematical relationship reflecting the hysteresis characteristics of the harmonic reducer; S104: inputting the hysteresis torque obtained based on the continuous mathematical relationship into the control system of the joint servo module to compensate for the hysteresis effect of the harmonic reducer; The theoretical torque is obtained based on the theoretical electromagnetic torque of the motor of the joint servo module, and S103 is specifically as follows: S201: Calculating the difference between the theoretical torque and the theoretical electromagnetic torque under different output states of the joint servo module; S202: establishing a rotation difference-difference coordinate system, and establishing the continuous mathematical relationship based on the point distribution state of the angle difference-difference coordinate system; The theoretical electromagnetic torque is obtained based on the following formula: in: T eq : Theoretical electromagnetic torque; i qref : Current command; K t : Motor torque coefficient; The theoretical torque is obtained based on the load torque observer of the servo motor of the joint servo module; The S103 is specifically: S301: establishing an angle difference-theoretical moment coordinate system, and establishing a continuous mathematical relationship to be compensated based on the point distribution state of the angle difference-theoretical moment coordinate system; S302: Compensating the continuous mathematical relationship to be compensated based on the theoretical torque to obtain the continuous mathematical relationship; The theoretical torque is obtained based on the following formula: in: T eh : The theoretical torque output by the harmonic reducer; k : Rigidity coefficient of harmonic reducer; R : reduction ratio of harmonic reducer; : Rotation angle of the harmonic reducer input end; : Rotation angle of the harmonic reducer output end.
2. The method for controlling torque compensation of a robot arm joint servo module according to claim 1, characterized in that: In S202, the continuous mathematical relationship established based on the point distribution state is obtained after optimization based on the AI learning module.
3. The method for controlling torque compensation of a robot arm joint servo module according to claim 1, characterized in that: In S301, the continuous mathematical relationship to be compensated established based on the point distribution state is obtained based on the AI learning module.
4. The method for controlling torque compensation of a robot arm joint servo module according to claim 1, characterized in that: The input end rotation measuring device and the output end rotation measuring device are rotary encoders.
5. The method for controlling torque compensation of a robot arm joint servo module according to claim 1, characterized in that: A modeling process is also included between S102 and S103, and the modeling process is used to establish a Bouc-Wen mathematical model of the joint servo module; The Bouc-Wen mathematical model is: in: T t : Electromagnetic torque of the motor; J m : Motor inertia; J L : Harmonic reducer and load inertia; K: torsional stiffness of harmonic reducer; R: reduction ratio of harmonic reducer; θ in : The input rotation angle of the harmonic reducer; θ out : The output rotation angle of the harmonic reducer; T eh : hysteresis torque; B m : Viscosity coefficient of the motor; B h : Viscosity coefficient of harmonic reducer; β: model parameter; γ: model parameter.
Citation Information
Patent Citations
Double-frame control moment gyro high-precision frame rate servo system based on harmonic reducer torsional rigidity hysteresis model
CN103472730A
Robot joint position control system and dynamic torque feedback compensation method thereof
CN111283687A
Robot joint torque control system and load compensation method thereof
CN111300423A
Transfer error compensation control method for flexible joint containing harmonic reducer
CN111515962A
Hysteresis error compensation control method for flexible joint of industrial robot based on LSTM
CN112171677A
