Robot integrated joint control method based on two-way absolute value encoder

The closed-loop control of the servo system is solved through the dual-channel absolute value encoder, which solves the problem of insufficient control accuracy and secondary development freedom in the existing technology, and realizes integrated robot joint control with high precision and low computing power requirements.

CN118990505APending Publication Date: 2024-11-22GUANGZHOU XINHAO PRECISION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411351784.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-26
Publication Date
2024-11-22

AI Technical Summary

Technical Problem

The existing servo systems have shortcomings in terms of control accuracy and secondary development freedom, mainly because most servo systems use one-way absolute value encoder and do not support external third-party encoders, and some dual encoder designs do not have encoder adjustable encoder Resolution function.

Method used

The robot integrated joint control is performed using a dual-channel absolute value encoder. By obtaining the resolution of the two-channel encoder, the number of pulses at the input end is calculated, and the output position of the motor is calculated based on the reduction ratio and relationship coefficient, so that closed-loop control and resolution can be achieved. tuning encoder adaptation.

Benefits of technology

It realizes integrated joint control of robots with high control accuracy and low computing power requirements, improving customer experience and freedom of secondary development.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118990505A_ABST
    Figure CN118990505A_ABST
Patent Text Reader

Abstract

The invention aims at providing a robot integrated joint control method based on two paths of absolute value encoders. The method comprises the steps that the resolution ratios of the two paths of encoders are obtained; calculating the pulse number of the input end according to the resolutions of the two encoders; and calculating the output position of the motor according to the pulse number of the input end. Integrated joint control is conducted on the robot through the two-way encoders, the encoders with different resolutions can be adjusted, the requirement for computing power in the control process is small, and the control precision is high.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of robot control, and in particular to a robot integrated joint control method based on a dual-channel absolute value encoder. Background Art

[0002] The servo system (servomechanism), also known as the follow-up system, is a feedback control system used to accurately follow or reproduce a process. The servo system is an automatic control system that enables the output controlled quantity such as the position, orientation, and state of an object to follow any changes in the input target (or given value). Its main task is to amplify, transform, and regulate the power according to the requirements of the control command, so that the torque, speed, and position control of the drive device output are very flexible and convenient. In many cases, the servo system specifically refers to a feedback control system in which the controlled quantity (the output of the system) is a mechanical displacement or displacement speed or acceleration. Its function is to make the output mechanical displacement (or angle) accurately track the input displacement (or angle). Its structural composition is no different in principle from other forms of feedback control systems.

[0003] At present, most servo systems use an absolute encoder for control, and the encoder is placed at the motor end. However, most of the current usage scenarios are not servo motor direct drive but connected to a reducer. In order to achieve higher control accuracy, it is generally necessary to connect an encoder at the output end of the reducer, but most servo drives do not support external third-party encoders, and the received data does not directly enter the servo system, so servo control cannot be directly implemented. Some servo joint manufacturers also use a dual encoder design, but their solutions do not support the adjustable resolution of the encoder, which affects the customer experience and limits the freedom of secondary development. Summary of the invention

[0004] The purpose of the present invention is to provide a robot integrated joint control method based on a dual-channel absolute encoder. The method uses a dual-channel encoder to perform integrated joint control on the robot, encoders with different resolutions can be adjusted, and the control process has low computing power requirements and high control accuracy. A robot integrated joint control method based on a dual-channel absolute encoder, comprising: Get the resolution of two encoders; Calculate the number of pulses at the input end according to the resolution of the two encoders; The output position of the motor is calculated according to the pulse number of the input terminal.

[0005] Preferably, the step of calculating the number of pulses at the input end according to the resolution of the two encoders comprises: Determine whether the resolutions of the two encoders are equal; If the resolutions of the two encoders are equal, the number of pulses at the input end is calculated based on the reduction ratio; If the resolutions of the two encoders are not equal, the number of pulses at the input end is calculated based on the relationship coefficient between the reduction ratio and the number of pulses at the input end; Preferably, if the resolutions of the two encoders are equal, calculating the number of pulses at the input end according to the reduction ratio comprises: When the two encoder resolvers are equal and the encoders at the input and output ends are the same, the number of pulses of the position encoder and the speed encoder are equal, and the number of pulses at the input end = the number of pulses at the output end × the reduction ratio.

[0006] Preferably, if the resolutions of the two encoders are not equal, calculating the number of pulses at the input end according to the relationship coefficient between the reduction ratio and the number of pulses at the input end comprises: When the two encoder resolvers are equal and the encoders at the input and output ends are different, the pulse numbers of the position encoder and the speed encoder are not equal. The pulse number at the input end = relationship coefficient × the pulse number at the output end × reduction ratio.

[0007] Preferably, the step of calculating the output position of the motor according to the number of pulses at the input end comprises: Calculate the target position of the motor under ideal conditions; Calculate the actual position of the motor in actual situations; Calculating an error between a target position of the motor and an actual position of the motor; The output position of the motor is calculated based on the error.

[0008] Preferably, calculating the target position of the motor under an ideal state includes: Target position = actual position = relationship coefficient × motor side output position.

[0009] Preferably, calculating the actual position of the motor under actual circumstances comprises: Target position = actual position + error between actual position and target position; Actual position = relationship coefficient × motor side output position + error between actual position and target position.

[0010] Preferably, the calculating the error between the target position of the motor and the actual position of the motor comprises: The error between the actual position and the target position = target position - actual position; The error between the reducer output and the reducer input = actual position - relationship coefficient × motor side output position × reduction ratio; The error increment is calculated based on a plurality of control coefficients and an error between an actual position and a target position, and an error between a reducer output and a reducer input.

[0011] A robot integrated joint control system based on a dual-channel absolute encoder, comprising: A data acquisition module is used to obtain the resolution of two encoders; A data processing module, used for calculating the number of pulses at the input end according to the resolution of the two encoders; The data output module is used to calculate the output position of the motor according to the pulse number of the input terminal.

[0012] An electronic device comprises: a processor and a memory, wherein the memory is used to store computer program codes, and the computer program codes include computer instructions. When the processor executes the computer instructions, the electronic device executes a robot integrated joint control method based on a dual-channel absolute encoder.

[0013] The beneficial effects of the present invention are: 1. The present invention adopts dual encoders for closed-loop control, and does not require the two encoders to be fixed, and can achieve encoder adaptation with adjustable resolution; 2. The present invention has low computing power requirements when controlling the integrated joints of the robot and has high control accuracy. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention. In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor. Figure 1 This is a flow chart of a robot integrated joint control method based on a dual-channel absolute encoder of the present invention; Figure 2 It is a structural diagram of a robot integrated joint control device based on a dual-channel absolute encoder of the present invention; Figure 3 It is a schematic diagram of the flow of calculating the output position of the motor according to the number of pulses at the input end of the present invention; Figure 4 The figure is a schematic diagram of the hardware structure of an electronic device of the present invention. DETAILED DESCRIPTION

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

[0016] It should be noted that all directional indications (such as up, down, left, right, front, back, etc.) in the embodiments of the present invention are only used to explain the relative position relationship, movement status, etc. between the components under a certain specific posture (as shown in the accompanying drawings). If the specific posture changes, the directional indication will also change accordingly.

[0017] In addition, the descriptions of "first", "second", etc. in the present invention are only used for descriptive purposes and cannot be understood as indicating or implying their relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In addition, the technical solutions between the various embodiments can be combined with each other, but they must be based on the ability of ordinary technicians in the field to implement them. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such a combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0018] At present, most servo systems use an absolute encoder for control, and the encoder is placed at the motor end. However, most of the current usage scenarios are not servo motor direct drive but connected to a reducer. In order to achieve higher control accuracy, it is generally necessary to connect an encoder at the output end of the reducer, but most servo drives do not support external third-party encoders, and the received data does not directly enter the servo system, so servo control cannot be directly implemented. Some servo joint manufacturers also use a dual encoder design, but their solutions do not support the adjustable resolution of the encoder, which affects the customer experience and limits the freedom of secondary development.

[0019] The present invention adopts dual encoders for closed-loop control, and does not require the two encoders to be fixed, so that encoder adaptation with adjustable resolution can be achieved; the present invention has low computing power requirements when controlling the robot's integrated joints, and has high control accuracy.

[0020] Example 1 A robot integrated joint control method based on dual-channel absolute encoder, reference Figure 1 and Figure 2 ,include: S100, obtain the resolution of two encoders; S200, calculates the number of pulses at the input end according to the resolution of the two encoders; S300, calculating the output position of the motor according to the number of pulses at the input end.

[0021] The absolute encoder device can still provide the absolute position after multiple rotations and return to zero when not in use. Each specific position of the absolute encoder determined by the specific position of the mechanical equipment is unique, and does not require memory, reference points, or continuous counting. When the specific position is needed, it can be loaded. In this way, the anti-interference characteristics of the encoder and the reliability of data information are greatly improved.

[0022] ‌Dual absolute encoder‌ is an encoder that can provide absolute position information of two independent channels at the same time. It can still provide absolute position information after multiple rotations and does not need to be reset when used. Dual absolute encoders usually include internal transmission devices, which provide the best solution for users. Its main interface can be BISS-C or SSI. Compared with incremental encoders, absolute encoders do not need to remember, find reference points, or count all the time. It directly provides the actual position information of the mechanical system, so it is called "absolute encoder". The working principle of absolute encoder is based on the photoelectric code disk, which has many optical channel lines on the optical code disk, and each line is arranged in 2 lines, 4 lines, 8 lines, and 16 lines in turn. At each position of the encoder, by reading the brightness of each line, a set of binary codes (Gray code) from 2 to the power of zero to 2 to the power of n-1 is obtained, thus forming an n-bit absolute encoder. This encoder is encoded by mechanical position, without memory, reference points, and counting. When you need to know the position, you can read its position, and the anti-interference characteristics of the encoder and the reliability of the data are greatly improved. The dual-channel absolute encoder has a wide range of applications and is suitable for various fields that require high-precision position measurement, such as textile machinery, irrigation machinery, paper printing, water conservancy gates, robots and mechanical arms, port lifting machinery, steel and metallurgical equipment, heavy machinery and equipment, precision measuring equipment, machine tools, food machinery, elevators and other special equipment. Due to its high precision and reliability, the application of dual-channel absolute encoders in these fields has greatly improved the performance and stability of the system.

[0023] Preferably, S200, calculating the number of pulses at the input end according to the resolution of the two encoders includes: S210, determining whether the resolutions of the two encoders are equal; ‌The resolution of an absolute encoder is determined in bits. ‌The resolution of an absolute encoder refers to the distance produced between each count unit of the encoder, i.e. the smallest distance that the encoder can measure. This parameter represents the smallest angular deviation that the encoder can calculate. In rotary encoders, the resolution is usually determined by the number of pulses per revolution, while in linear rotary encoders it is determined by the distance between two adjacent marks. However, the resolution of an absolute encoder is not measured in pulses, but in bits or codes per complete disk rotation. An absolute encoder has a unique track for each position and measures specific positions and displacements. It uses a binary or Gray code to store encrypted information about its position in the code disk. Therefore, instead of sending pulses, an absolute encoder sends encoded information about the current angular shaft position. The disk of an absolute encoder is divided into different sectors, and each sector uses a binary or Gray code to store encrypted information about its position in the code disk. The more sectors a code disk has, the higher the resolution. The resolution of an absolute encoder is determined by the number of bits per cycle, similar to the working principle of a linear absolute encoder, where the encoded position information is located on their scale and measured in bits. The resolution of a multi-turn absolute encoder is determined by the number of bits, and information about the number of turns that have been made is stored. In this case, the system collects data about the number of turns, providing higher accuracy and a wider measurement range. Therefore, the resolution of an absolute encoder is provided by the code in its code disk sectors, rather than by the traditional pulse counting.

[0024] S220, if the resolutions of the two encoders are equal, the number of pulses at the input end is calculated according to the reduction ratio; S230, if the resolutions of the two encoders are not equal, the number of pulses at the input end is calculated according to the relationship coefficient between the reduction ratio and the number of pulses at the input end; In the initial stage, the resolution of each encoder is obtained, where the resolution of the reducer input is k1=f1 / 360°, the resolution of the reducer output is k2=f2 / 360°, f1 and f2 are not 0, and the reduction ratio is r. It is recommended that the resolution of the output end be greater than or equal to the resolution of the input end to avoid the control accuracy failing to meet expectations.

[0025] Preferably, in S220, if the resolutions of the two encoders are equal, calculating the number of pulses at the input end according to the reduction ratio includes: When the two encoder resolvers are equal and the encoders at the input and output ends are the same, the number of pulses of the position encoder and the speed encoder are equal, and the number of pulses at the input end = the number of pulses at the output end × the reduction ratio.

[0026] Ideally, when the output end runs one circle, the encoder value is the number of pulses in one circle.

[0027] When the two encoders have the same resolution, take the reduction ratio of 100, and both the input and output are 16-bit encoders as an example. When running one circle, the pulse numbers of the position encoder and the speed encoder are both 2^16=65536. However, due to the reduction ratio at the input, when the input runs 100 circles, the output runs 1 circle.

[0028] A position encoder is a device that compiles and converts position signals or data into a signal form that can be used for communication, transmission and storage. It can convert angular displacement or linear displacement into electrical signals, the former is called a code disk, and the latter is called a yardstick. Position encoders play an important role in the field of computer science and technology, especially in situations where position information needs to be converted into electronic signals for processing and transmission. It has a wide range of applications, including but not limited to industrial control, robotics, automation systems, etc., among which optical and magnetic encoder technologies are two commonly used technologies.

[0029] The main function of a position encoder is to convert changes in mechanical position into electrical signals that can then be used by the control system to monitor and control the position and motion of mechanical parts. In industrial applications, position encoders are often used to measure the position of a shaft, from which the speed of the drive can be derived. They are particularly important in robotics and discrete control systems, which require accurate and repeatable shaft position information. Optical encoders, which consist of a glass disc with fine photoetched grooves, are a type of optical and magnetic encoder technology that is widely used in systems that require high-precision position feedback. Position encoders are used to detect and monitor a variety of non-electrical quantities to ensure the proper operation and safety of equipment.

[0030] Preferably, in S230, if the resolutions of the two encoders are not equal, calculating the number of pulses at the input end according to the relationship coefficient between the reduction ratio and the number of pulses at the input end includes: When the two encoder resolvers are equal and the encoders at the input and output ends are different, the pulse numbers of the position encoder and the speed encoder are not equal. The pulse number at the input end = relationship coefficient × the pulse number at the output end × reduction ratio.

[0031] When the encoders of the two channels have the same resolution, take the reduction ratio of 100, the input end is a 16-bit encoder, and the output end is a 19-bit encoder as an example. When the output end runs one circle, the pulse number of the position encoder is 524288, and when the input end runs one circle, the pulse number of the speed encoder is 2^16=65536. Since there is a reduction ratio at the input end, when the input end runs 100 circles, the output end runs 1 circle. After conversion, the number of pulses at the input end = relationship coefficient (k) * number of pulses at the output end * reduction ratio (r), where k=65536 / 524288=1 / 8.

[0032] It can be concluded that when the resolution is the same, the number of pulses at the input end = the number of pulses at the output end * the reduction ratio (r); when the resolution is different, the number of pulses at the input end = the relationship coefficient (k) * the number of pulses at the output end * the reduction ratio (r).

[0033] The speed encoder is a device that detects the speed of the motor. It reflects the speed of the shaft rotation by outputting pulses. When the shaft rotates, the speed encoder calculates the speed based on the total number of pulses received per unit time. This speed can be calculated by the number of pulses and the actual length of rotation, and the unit can be meters per minute. The speed encoder is generally connected to the shaft, and its pulse quantity is fixed. Therefore, by measuring these pulses, the motor speed can be accurately calculated. The main function of the speed encoder is to provide the control system with the speed information of the motor rotor. It serves as a calculation tool for the back electromotive force of the motor rotor to achieve precise drive control corresponding to the current motor back electromotive force. When the motor starts to accelerate, the feedback of the speed encoder is provided to the inverter to calculate the back electromotive force to ensure that the driving rotation potential energy is just greater than the back electromotive force energy, thereby achieving precise speed control. Each motor has its own specific characteristic constant. The back electromotive force is proportional to the motor rotor speed and this characteristic constant. Therefore, the design and application of the speed encoder is crucial to ensure the efficient and safe operation of the motor. Speed ​​encoders are widely used in industrial automation, robotics, CNC machine tools and other fields. By converting the speed information of mechanical movement into electrical signals, the control system can obtain the position or speed information of the equipment in real time, thereby performing precise control and adjustment. The use of speed encoders not only improves the performance and accuracy of the system, but also promotes the development of automation and intelligence.

[0034] Preferably, reference Figure 3 , S300, calculating the output position of the motor according to the number of pulses at the input end includes: S310, calculating the target position of the motor under an ideal state; The target position of the motor is the set position. Motor control can be divided into two main types: speed control and position control. The goal of speed control is to obtain the motor speed as feedback through the encoder to achieve motor speed control. The goal of position control is to obtain the number of pulses of the motor's cumulative rotation as feedback through the encoder to achieve motor position control. The main difference between the two control methods lies in the difference in control quantity. Speed ​​control focuses on the motor speed, while position control focuses on the motor's ability to reach a specific position. In the application of servo motors, servo motors can control speed and have very accurate position accuracy. It can convert voltage signals into torque and speed to drive the control object. The rotor speed of the servo motor is controlled by the input signal and can respond quickly. In automatic control systems, servo motors are used as actuators with characteristics such as small electromechanical time constants and high linearity. Through the internal feedback system, the servo motor can monitor and adjust the operating status so that the motor can operate at a predetermined position and speed. In position control, the target position of the servo motor is achieved through a preset position value.

[0035] S320, calculating the actual position of the motor in an actual situation; S330, calculating the error between the target position of the motor and the actual position of the motor; S340, calculating the output position of the motor according to the error.

[0036] Under ideal conditions, the number of pulses at the input end Ins_2 = (k2 / k1)*Ins_1(number of pulses at the output end)*r. When k1= k2, Ins_2 =* Ins_1*r.

[0037] Assume that the target output position is P_tgt, which is issued by the controller; the actual output position is P_act, which is obtained through the output end of the reducer; the output position on the motor side is P_demand, which is obtained through the encoder at the input end of the reducer.

[0038] Preferably, S310, calculating the target position of the motor under an ideal state includes: Target position = actual position = relationship coefficient × motor side output position.

[0039] Ideally, when the motor is in place, P_tgt = P_act = (k2 / k1) * P_demand * r.

[0040] Preferably, S320, calculating the actual position of the motor in an actual situation includes: Target position = actual position + error between actual position and target position; Actual position = relationship coefficient × motor side output position + error between actual position and target position.

[0041] In actual state, when the motor is in place, P_tgt = P_act + △E; P_act = (k2 / k1) * P_demand* r + △e; t is the time period, where △E is the error between the actual position and the target position, △E(t) = P_tgt(t) - P_act(t).

[0042] Preferably, S330, calculating the error between the target position of the motor and the actual position of the motor includes: The error between the actual position and the target position = target position - actual position; The error between the reducer output and the reducer input = actual position - relationship coefficient × motor side output position × reduction ratio; The error increment is calculated based on a plurality of control coefficients and an error between an actual position and a target position, and an error between a reducer output and a reducer input.

[0043] △e is the error between the output end and the input end of the reducer, △e(t) = P_act(t) -(k2 / k1)*P_demand (t)*r.

[0044] △U(t) is the error increment, where △U(t)=Kp*(E(t+1)- E(t))+ Ki*E(t) + Kd* (△e(t)-2△e(t-1)+△e(t-2)). Kp, Ki, Kd are control coefficients.

[0045] Compared with single closed-loop PID control, dual closed-loop control is a cascade control method based on the output end. Compared with single closed-loop, this method can better solve the transmission error caused by mechanical factors such as reducer backlash and mechanical deformation. By comparing the error value between the input and output ends of the reducer, the input end is corrected to achieve a more accurate position output.

[0046] Example 2 A robot integrated joint control system based on a dual-channel absolute encoder, comprising: A data acquisition module is used to obtain the resolution of two encoders; A data processing module, used for calculating the number of pulses at the input end according to the resolution of the two encoders; The data output module is used to calculate the output position of the motor according to the number of pulses at the input end.

[0047] Example 3 An electronic device includes: a processor and a memory, the memory is used to store computer program codes, the computer program codes include computer instructions, when the processor executes the computer instructions, the electronic device executes a robot integrated joint control method based on a dual-channel absolute encoder.

[0048] refer to Figure 4 , the electronic device 2 includes a processor 21, a memory 22, an input device 23, and an output device 24. The processor 21, the memory 22, the input device 23, and the output device 24 are coupled via a connector, and the connector includes various interfaces, transmission lines, or buses, etc., which are not limited in the embodiments of the present invention. It should be understood that in various embodiments of the present invention, coupling refers to mutual connection in a specific manner, including direct connection or indirect connection through other devices, for example, through various interfaces, transmission lines, buses, etc.

[0049] The processor 21 may be one or more graphics processing units (GPUs). When the processor 21 is a GPU, the GPU may be a single-core GPU or a multi-core GPU. Optionally, the processor 21 may be a processor group consisting of multiple GPUs, and the multiple processors are coupled to each other via one or more buses. Optionally, the processor may also be other types of processors, etc., which are not limited in the embodiments of the present invention.

[0050] The memory 22 can be used to store computer program instructions and various computer program codes including program codes for executing the scheme of the present invention. Optionally, the memory includes but is not limited to random access memory (RAM), read-only memory (ROM), erasable programmable read only memory (EPROM), or portable read only memory (CD-ROM), which is used for related instructions and data.

[0051] The input device 23 is used to input data and / or signals, and the output device 24 is used to output data and / or signals. The output device 24 and the input device 23 may be independent devices or an integrated device.

[0052] The present invention adopts dual encoders for closed-loop control, and does not require the two encoders to be fixed, so that encoder adaptation with adjustable resolution can be achieved; the present invention has low computing power requirements when controlling the robot's integrated joints, and has high control accuracy.

[0053] The foregoing is merely a specific embodiment of the present invention, which enables those skilled in the art to understand or implement the present invention. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features claimed herein.

Claims

1. A robot integrated joint control method based on dual-channel absolute encoder, characterized in that: include: Get the resolution of two encoders; Calculate the number of pulses at the input end according to the resolution of the two encoders; The output position of the motor is calculated according to the pulse number of the input terminal.

2. A robot integrated joint control method based on a dual-channel absolute encoder according to claim 1, characterized in that: The method of calculating the number of pulses at the input end according to the resolution of the two encoders includes: Determine whether the resolutions of the two encoders are equal; If the resolutions of the two encoders are equal, the number of pulses at the input end is calculated based on the reduction ratio; If the resolutions of the two encoders are not equal, the number of pulses at the input end is calculated based on the relationship coefficient between the reduction ratio and the number of pulses at the input end.

3. A robot integrated joint control method based on dual-channel absolute encoder according to claim 2, characterized in that: If the resolutions of the two encoders are equal, the number of pulses at the input end is calculated according to the reduction ratio, including: When the two encoder resolvers are equal and the encoders at the input and output ends are the same, the number of pulses of the position encoder and the speed encoder are equal, and the number of pulses at the input end = the number of pulses at the output end × the reduction ratio.

4. The robot integrated joint control method based on dual-channel absolute encoder according to claim 2, characterized in that: If the resolutions of the two encoders are not equal, the number of pulses at the input end is calculated according to the relationship coefficient between the reduction ratio and the number of pulses at the input end, including: When the two encoder resolvers are equal and the encoders at the input and output ends are different, the pulse numbers of the position encoder and the speed encoder are not equal. The pulse number at the input end = relationship coefficient × the pulse number at the output end × reduction ratio.

5. The robot integrated joint control method based on dual-channel absolute encoder according to claim 1, characterized in that: Calculating the output position of the motor according to the number of pulses at the input terminal comprises: Calculate the target position of the motor under ideal conditions; Calculate the actual position of the motor in actual situations; Calculating an error between a target position of the motor and an actual position of the motor; The output position of the motor is calculated based on the error.

6. The robot integrated joint control method based on dual-channel absolute encoder according to claim 5, characterized in that: The calculation of the target position of the motor under the ideal state includes: Target position = actual position = relationship coefficient × motor side output position.

7. The robot integrated joint control method based on dual-channel absolute encoder according to claim 5, characterized in that: The calculation of the actual position of the motor in actual situation includes: Target position = actual position + error between actual position and target position; Actual position = relationship coefficient × motor side output position + error between actual position and target position.

8. The robot integrated joint control method based on dual-channel absolute encoder according to claim 5, characterized in that: The calculating the error between the target position of the motor and the actual position of the motor comprises: The error between the actual position and the target position = target position - actual position; The error between the reducer output and the reducer input = actual position - relationship coefficient × motor side output position × reduction ratio; The error increment is calculated based on a plurality of control coefficients and an error between an actual position and a target position, and an error between a reducer output and a reducer input.

9. A robot integrated joint control system based on a dual-channel absolute encoder, characterized in that: include: A data acquisition module is used to obtain the resolution of two encoders; A data processing module, used for calculating the number of pulses at the input end according to the resolution of the two encoders; The data output module is used to calculate the output position of the motor according to the pulse number of the input terminal.

10. An electronic device, characterized in that: include: A processor and a memory, wherein the memory is used to store computer program codes, wherein the computer program codes include computer instructions, and when the processor executes the computer instructions, the electronic device executes a robot integrated joint control method based on a dual-channel absolute encoder as described in any one of claims 1 to 8.