Driver of humanoid robot four-limb trunk and control method thereof
By adopting motor and helical tooth column structures in the robot's limbs and torso drives, and combining with the BP neural network adaptively tuning the PID controller, the problems of large size and poor universality of traditional drivers are solved, and fast response and high-precision control are achieved. In various robotic applications.
Patent Information
- Application Number
- CN202411152217.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-01
AI Technical Summary
Traditional robot joint drivers are large in size and poor in universality, and slow adjustment speed in the face of unknown loads, which affects the application of robots in various fields.
A driver for the four-limbed trunk of a humanoid robot is designed, using a motor, helical tooth column and internal ring structure, and adaptively adjusts the PID controller parameters in combination with BP neural network to achieve fast response and high-precision control.
It realizes a compact and efficient driver, which can quickly adapt to unknown loads, reduce energy consumption and heat generation, and improves the motion accuracy and reliability of the robotic arm.
Smart Images

Figure CN118876082A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of motor control, and in particular to a driver for the limbs and trunk of a humanoid robot and a control method thereof. Background Art
[0002] Robot joint drives are essential core components in industrial robots, automated production lines, and medical auxiliary equipment. These drives are responsible for providing power to the robot, enabling it to move precisely according to preset trajectories or real-time instructions. The performance of the joint drive directly affects the robot's flexibility, load capacity, and motion accuracy.
[0003] Traditional robot joint drives are usually composed of components such as motors, reducers and sensors. The motor is responsible for providing power; the reducer is used to reduce the speed and increase the torque to meet the joint's needs for high torque and high precision; the sensor is responsible for monitoring the position, speed and acceleration of the joint and providing feedback to the control system.
[0004] However, traditional robot joint drivers have disadvantages such as large size. This is mainly because components such as motors, reducers and sensors have a certain size, and factors such as heat dissipation, installation and maintenance need to be considered during the assembly process, resulting in a relatively large overall structure. In addition, the high degree of integration of joint drivers will lead to excessive heat generation, which is not conducive to heat dissipation.
[0005] Large actuators not only take up valuable space resources, but may also limit the range of motion and work efficiency of the robot arm. In a narrow working environment, large actuators may interfere with surrounding objects, causing them to malfunction. At the same time, heavy actuators can also have a negative impact on the dynamic characteristics of the robot arm, increasing energy consumption and wear.
[0006] In addition, the traditional control method of robot joint drives usually relies on traditional PID controllers for control. This method has problems such as difficult parameter setting, poor adaptability, system overshoot, and poor stability. It will lead to a decrease in drive control performance, slow response speed, and increase debugging time and cost, which will affect the drive's efficiency and service life.
[0007] For example, the prior art uses a PID algorithm to calculate and analyze the expected distance and actual distance of the robot arm, repeatedly analyze whether the robot arm moves to the expected control position, and analyze the control error ratio. Although this method performs well when used under known or fixed loads, it will generate a lot of redundant analysis when facing unknown loads, while increasing the loss of the drive and the heat generation, which will affect the adaptability, efficiency and working accuracy of the drive under unknown loads.
[0008] For example, in the prior art, the actual joint angle signal of the exoskeleton robot is compared with the actual lower limb joint angle signal of a healthy human body to obtain the error and the error change rate, and the error and the error change rate are used as input factors of the fuzzy PID to improve the assistance effect of the exoskeleton robot. Although this method can accurately control the rotation angle of the joint motor, it needs to obtain the actual lower limb joint angle signals of a variety of healthy human bodies with different body shapes and different slopes. There are many problems such as difficulty in collection and complex calibration. At the same time, there are no targeted steps for collecting the actual lower limb angles in its specific implementation.
[0009] In summary, as a key component for achieving high-precision motion, the disadvantage of large size of robot joint actuators has always been an important factor restricting their development and application. At the same time, the existing control methods have the problem of slow adjustment speed when facing unknown loads. Therefore, a smaller, lighter, more compact and more efficient actuator is needed, and a corresponding control method is designed for it to provide strong support for the application of robots in various fields. Summary of the invention
[0010] The purpose of the present invention is to provide a driver for the limbs and trunk of a humanoid robot and a control method thereof in response to the above-mentioned problems in the prior art, thereby solving the problems that the current driver is large in size, has poor universality, and has slow adjustment speed when facing unknown loads.
[0011] In order to solve the above technical problems, the specific technical solutions of the present invention are as follows: The present invention provides a driver for the limbs and trunk of a humanoid robot, which is installed at the joints of the limbs and trunk of the humanoid robot or replaces the skeleton of the robot. The driver includes: a motor, a first gear column, a second gear column, a first inner gear ring and a second inner gear ring; the teeth of the first gear column, the second gear column, the first inner gear ring and the second inner gear ring are all helical teeth; a rotor is provided in the motor, and a hollow motor shaft is connected in the rotor; the first inner gear ring and the second inner gear ring are fixed in the motor shaft; the first gear column passes through the first inner gear ring and meshes with the first inner gear ring, the second gear column passes through the second inner gear ring and meshes with the second inner gear ring, and the ends of the first gear column and the second gear column both extend out of the motor. The helix angles of the first gear column and the second gear column are opposite; the helix angles of the first inner gear ring and the second inner gear ring are opposite, and the number of the first inner gear ring and the second inner gear ring is at least one. The ends of the first gear column and the second gear column extending out of the motor are both connected with ball heads.
[0012] As an improved solution, the motor is integrated and shares a motor case and a stator. Specifically, the motor includes a motor case, end covers fixed at both ends of the motor case, and a stator fixed in the motor case; there is one rotor, and the rotor cooperates with the stator; there is a pair of motor shafts, both of which are connected to the rotor, and the first inner gear ring and the second inner gear ring are respectively fixed in the two motor shafts; the two motor shafts are respectively connected to the end covers through bearings.
[0013] As an improved solution, the motor is integrated and shares a motor housing and a stator. Specifically, the motor includes a motor housing, end covers fixed at both ends of the motor housing, and a stator fixed in the motor housing; the rotor and the motor shaft each have a pair, and the two rotors are respectively matched with the stators; one motor shaft is connected to one rotor, and the first inner gear ring and the second inner gear ring are respectively fixed in the two motor shafts; the two motor shafts are respectively connected to the end covers through bearings.
[0014] As an improved solution, the motor is of a split type. Specifically, the motor includes a first motor and a second motor with a coaxial line passing therethrough. The first motor and the second motor are each provided with a stator and a rotor, and the two rotors respectively cooperate with the stators in the first motor and the second motor; the motor shafts have a pair, a rotor is sleeved on one motor shaft, and the first inner gear ring and the second inner gear ring are respectively fixed in the two motor shafts.
[0015] On the other hand, the present invention also provides a method for controlling a driver of a humanoid robot's limbs and trunk, comprising the following steps: S1, obtaining a current rotation angle and an expected rotation angle, calculating an actual tooth column spacing between the first tooth column and the second tooth column according to the current rotation angle, and calculating an expected tooth column spacing between the first tooth column and the second tooth column according to the expected rotation angle; S2, defining a PID control system based on the actual gear column spacing and the desired gear column spacing; S3, defining a topological structure of a BP neural network based on the actual gear column spacing, the desired gear column spacing and the PID control system; S4, BP neural network offline learning, after completing the learning, the BP neural network that has completed offline learning is added to the control system based on the BP neural network for adaptive tuning of PID controller parameters for use; at the same time, during system operation, the BP neural network performs online learning to optimize the weights and biases of the BP neural network.
[0016] The step S2 further includes: using a classic incremental PID to control the motor output torque so that the first gear column and the second gear column move inward and outward, using the closed-loop feedback principle, taking the actual gear column spacing as the system output value, taking the expected gear column spacing as the system expected value, and taking the difference between the system output value and the system expected value as the system deviation, to correct the control system output value.
[0017] The topological structure of the BP neural network in step S3 is a three-layer structure, namely, input layer Layer 1, hidden layer Layer 2, and output layer Layer 3; in the topological structure of the BP neural network, the number of neurons in the input layer and the output layer are both 3, and the number of nodes in the hidden layer is calculated based on the number of neurons in the input layer and the output layer; the weights and biases in the BP neural network are randomly initialized, but it is ensured that they are not all zero, and the connection weights are continuously updated through learning, so that the BP neural network gradually approaches a nonlinear system; wherein, the learning principle of the BP neural network is a reverse gradient descent algorithm.
[0018] The BP neural network offline learning in step S4 further includes: the learning method is to use the motor sample data that has been collected, and its input values are the actual gear column spacing, the expected gear column spacing and the deviation between the actual gear column spacing and the expected gear column spacing; the output value is the PID control parameter , is the proportionality coefficient, is the integration coefficient, is the differential coefficient; the input value is input into the input layer of the neural network. After calculation through each layer, the error between the output value of the BP neural network and the actual output value is compared, and the weight in the neural network is updated to achieve the learning goal.
[0019] The beneficial effects of the technical solution of the present invention are: 1. The present invention improves the structure of the existing robot driver, and has a simple and compact structure, fast response speed, high operating efficiency, low heat generation and fast heat dissipation. In a narrow working environment, it is not easy to interfere with surrounding components, and has little restriction on the mechanical movement range and working efficiency; in addition, the structure of the present invention can replace the existing humanoid robot's skeleton and other supporting components, reduce the overall weight of the robot, and reduce the number of components.
[0020] 2. When the driver in the present invention is designed as a medium-sized component, the component itself can be used as a humanoid limb skeletal support structure. When the driver in the present invention is designed as a small or micro component, a plurality of small and micro components can be combined to form a bionic muscle group. The present invention can imitate the animal limb and trunk muscle groups to realize the driving of the joints, and can realize the functions of mechanical bionic muscle contraction, varicose contraction, trunk support, walking, jumping and the like.
[0021] 3. Based on the above driver structure, the present invention adopts a motor control method based on BP neural network to adaptively adjust the parameters of the PID controller. In the face of unknown loads, it can respond promptly and quickly, output high-precision torque in real time, and achieve precise control of movement distance, speed, and angle. It can reduce equipment loss and ensure high precision and reliability during application. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0023] Figure 1 It is a perspective structural diagram of a driver for the limbs and trunk of a humanoid robot according to the present invention; Figure 2 It is a cross-sectional schematic diagram of a driver for the limbs and trunk of a humanoid robot according to the present invention; Figure 3 It is a structural schematic diagram of a preferred embodiment of a driver for the limbs and trunk of a humanoid robot according to the present invention; Figure 4 It is a schematic diagram of the enlarged structure of the first inner gear ring and the second inner gear ring in a driver of the limbs and trunk of a humanoid robot according to the present invention; Figure 5 It is a structural diagram of a control method of a driver of a humanoid robot's limbs and trunk according to the present invention; Figure 6 It is a schematic diagram of the topological structure of the BP neural network in the present invention; Figure 7 It is a schematic diagram of the BP neural network offline learning process in the present invention; The markings in the accompanying drawings are explained as follows: 1. first gear column; 2. bearing; 3. stator; 4. second gear column; 5. motor shaft; 6. rotor; 7. motor housing; 8. first inner gear ring; 9. second inner gear ring. DETAILED DESCRIPTION
[0024] The preferred embodiments of the present invention are described in detail below in conjunction with the accompanying drawings so that the advantages and features of the present invention can be more easily understood by those skilled in the art, thereby making a clearer and more definite definition of the protection scope of the present invention.
[0025] In the description of the present invention, it should be noted that the embodiments described in the present invention are only part of the embodiments of the present invention, rather than all of the embodiments; based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in the field without making creative work are within the scope of protection of the present invention.
[0026] In the description of the present invention, it is necessary to understand that the orientations or positional relationships indicated by the terms "inside" and "end" are based on the orientations or positional relationships shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0027] In the present invention, unless otherwise clearly specified and limited, the terms "connection", "fixed" and the like should be understood in a broad sense. For example, it can be a fixed connection, a detachable connection, or an integrated connection. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to the specific circumstances.
[0028] This embodiment provides a driver for the limbs and trunk of a humanoid robot, such as Figure 3 As shown, the driver comprises: a motor, a first gear column 1, a second gear column 4, a first inner gear ring 8 meshing with the first gear column, and a second inner gear ring 9 meshing with the second gear column; a rotor 6 is provided in the motor, and two motor shafts 5 are connected to the rotor 6; see Figure 4 As shown, the motor shaft 5 is hollow, and the first inner gear ring 8 and the second inner gear ring 9 are respectively fixed in the two motor shafts 5; the first gear column 1 and the second gear column 4 respectively pass through the first inner gear ring 8 and the second inner gear ring 9 and are respectively meshed with the first inner gear ring 8 and the second inner gear ring 9, and the ends of the first gear column 1 and the second gear column 4 both extend out of the motor 7, and the ends of the first gear column 1 and the second gear column 4 extending out of the motor are connected with ball heads, and the ball heads are connected to the parts on both sides of the joint.
[0029] The teeth of the first tooth column 1, the second tooth column 4, the first inner gear ring 8 and the second inner gear ring 9 are all helical teeth. The helix angles of the first tooth column 1 and the second tooth column 4 are opposite; the helix angles of the first inner gear ring 8 and the second inner gear ring 9 are opposite, and the number of the first inner gear ring 8 and the second inner gear ring 9 is at least one, and there is no self-locking between the tooth column and the inner gear ring; as an embodiment of the present invention, the helix angle of the tooth column is greater than 45°. It should be noted that the parameters of the tooth column helix angle are only used as a display of the embodiment and are not used to limit the protection scope of this application.
[0030] As a first embodiment, the motor is integrated, sharing a motor housing 7 and a stator 3. Specifically, the motor includes a motor housing 7, end covers fixed at both ends of the motor housing 7, and a stator 3 fixed in the motor housing 7; there is one rotor 6, and the rotor 6 cooperates with the stator 3; there is a pair of motor shafts 5, and both motor shafts 5 are connected to the rotor 6, and the first inner gear ring 8 and the second inner gear ring 9 are respectively fixed in the two motor shafts 5; the two motor shafts 5 are respectively connected to the end covers through bearings 2.
[0031] As a second embodiment, the motor is integrated, sharing a motor housing 7 and a stator 3. Specifically, the motor includes a motor housing 7, end covers fixed at both ends of the motor housing 7, and a stator 3 fixed in the motor housing 7; the rotor 6 and the motor shaft 5 each have a pair, and the two rotors 6 are respectively matched with the stator 3; one motor shaft 5 is connected to one rotor 6, and the first inner gear ring 8 and the second inner gear ring 9 are respectively fixed in the two motor shafts 5; the two motor shafts 5 are respectively connected to the end covers through bearings 2.
[0032] As a third embodiment, the motor is split type, such as Figure 1 and 2 As shown, two motors connected together are used. Specifically, the motor includes a first motor and a second motor with a coaxial line passing therethrough. The first motor and the second motor are each provided with a stator and a rotor 6, and the two rotors 6 are respectively matched with the stators in the first motor and the second motor; the motor shaft 5 has a pair, and one rotor 6 is sleeved on one motor shaft 5, and the first inner gear ring 8 and the second inner gear ring 9 are respectively fixed in the two motor shafts 5.
[0033] In actual application scenarios, when imitating muscle contraction, the control system sends a command to the motor, the motor starts, the motor shaft drives the inner gear ring to rotate, the inner gear ring drives the gear column to move along the axis of the motor shaft, the first gear column and the second gear column move toward the inside of the motor, and the ball heads of the first gear column and the second gear column pull the components on both sides of the joint to achieve the function of driving the joint to rotate. In addition, this application can also be used in bionic robots to play the role of trunk support.
[0034] It should be noted that by adopting first gear columns 1 and second gear columns 4 with different helix angles and first inner gear rings 8 and second inner gear rings 9 respectively matching therewith, and or adopting first gear columns 1 and second gear columns 4 with different sizes and first inner gear rings 8 and second inner gear rings 9 respectively matching therewith, the present application can realize the constant speed motion mode or non-constant speed motion mode of the first gear column 1 and the second gear column 4, and can cope with the constant speed or non-constant speed motion requirements of joints such as legs, arms, and elbows.
[0035] It should be noted that the above-mentioned motors can be circular, square or polygonal.
[0036] Based on the above-mentioned driver for the limbs and trunk of a humanoid robot, the present invention also proposes a control method for the driver for the limbs and trunk of a humanoid robot. Specifically, see Figure 5 The present invention provides a motor control method for adaptively adjusting the parameters of a PID controller based on a BP neural network, ensuring that the motor can output high-precision torque in real time when facing different load conditions. The BP neural network uses the basic principles of input forward propagation, error closed-loop feedback signal back propagation and gradient descent, and uses the chain derivation rule to obtain the weight update change law, so that the weight can be updated and iterated according to a certain function law; by adjusting the PID control parameters on the output of the weight, the purpose of reducing errors, replacing manual adjustment parameters, and making the neural network output PID control parameters corresponding to the optimal control law is achieved. Since it is not restricted by the controlled object, the robustness of the control system can be greatly improved by adding a neural network to perform parameter self-tuning on the PID control.
[0037] Taking the robot arm joint driver as an example, the control method of this scheme specifically includes the following steps: S1: Convert angle and torque.
[0038] First, the current arm rotation angle is obtained from the arm angle sensor; the desired rotation angle is obtained from the joint controller; and the real-time torque of the current motor is obtained from the torque sensor.
[0039] Then Figure 3 Taking the motor structure as an example, the control system sends a command to the motor to rotate the robot arm to a specified angle. When facing an unknown load, the torque during the rotation of the robot arm can be converted to the torque of the left and right gear columns of the motor moving inward and outward, and the rotation angle of the robot arm can be converted to the spacing between the left and right gear columns of the motor through the gear ratio in actual application. It should be noted that the left and right gear columns here are the first gear column and the second gear column.
[0040]
[0041] In the formula, is the tooth column radius, is the helical tooth slope, It is the original spacing between the left and right gear posts.
[0042] S2: Define PID control system.
[0043] The classic incremental PID control motor output torque is used to make the left and right gear columns move inward and outward. Based on the closed-loop feedback principle, the real-time spacing of the left and right gear columns calculated by the real-time rotation angle of the robot arm is used as the system output value, and the expected spacing of the left and right gear columns calculated by the target rotation angle of the robot arm is used as the system expected value. The difference between the system output value and the system expected value is used as the system deviation to correct the control system output value. Its controller logic can be implemented by formula (1).
[0044]
[0045] Formula (1) Where: is the control quantity for this time; is the last control amount; For this deviation; is the expected value of the system; Output the actual value for the control object; is the last deviation; is the previous deviation; is the proportionality coefficient; is the integration coefficient; is the differential coefficient.
[0046] S3: Define the topological structure of the BP neural network.
[0047] The topological structure of the BP neural network defined in the present invention is a three-layer structure, which includes an input layer Layer 1, a hidden layer Layer 2 (a total of one layer), and an output layer Layer 3. Figure 6 shown.
[0048] In the topological structure of the BP neural network, the actual tooth column spacing, the expected tooth column spacing and the deviation are used as the input of the BP neural network, so the input layer has three neurons in total; Among them, considering the motor design analysis, the PID controller has three core parameters: ), so the number of neurons in the output layer of the BP neural network is 3.
[0049] The number of neurons in the hidden layer is an important hyperparameter in the neural network. When considering a 3-layer BP neural network, in order to reduce the error level, it is easier to adjust the number of hidden layer nodes than to increase the number of hidden layers. If the number of hidden layer nodes is too small, the information prediction and learning capabilities of the artificial neural network will be reduced. If the number of hidden layer nodes is too large, the complexity of the artificial neural network will increase, making it very easy for the artificial neural network to fall into local minimization during the learning process, slowing down the network learning speed. In order to solve the above problems, the number of nodes in the hidden layer can be roughly determined by an empirical formula. The specific formula is as follows:
[0050] In the formula, is the number of neurons in the input layer, is the number of neurons in the output layer, is a random number between 1 and 10.
[0051] The input layer input of the BP neural network controller is:
[0052] The input and output of the hidden layer of the BP neural network are:
[0053]
[0054] The hidden layer neurons use the hyperbolic tangent Sigmoid function as the excitation function:
[0055] The input and output of the output layer of the BP neural network controller are:
[0056]
[0057] In the formula, : The activation function of the output layer neurons.
[0058] Among them, the output of the output layer is the PID control parameter, that is:
[0059] The output layer neurons of the BP neural network use the tanh function as the excitation function:
[0060] Then randomly initialize the weights and biases in the network, but make sure they are not all zero. By learning and continuously updating the connection weights, the neural network gradually approaches a nonlinear system. Among them, the learning principle of the BP neural network is the reverse gradient descent algorithm, and its control function is derived from the following mathematical logic.
[0061] First, determine the loss function in the BP neural network that measures the difference between the model prediction value and the actual observation value:
[0062] N is the sample size, is the ith observation, is the i-th predicted value.
[0063] Then, the neuron weight coefficient is corrected by the learning rate η and the inertia factor α gradient descent method, and the performance index function is:
[0064] In the formula, : At time step When, from the output layer To the hidden layer Weight The amount of change.
[0065] : Loss function From the output layer To the hidden layer Weight The partial derivative of , which indicates the influence of the weight on the loss function, is the gradient.
[0066] : At time step The weight change when .
[0067] According to the PID control calculation method, that is, formula (1), we can get:
[0068] Finally, the calculation formula of the weighted coefficient of the BP neural network output layer is:
[0069]
[0070] In the formula, : At time step The error is usually the difference between the expected output and the actual output.
[0071] : Sign function, returns the positive or negative sign of a value, 1 for positive values, -1 for negative values, and 0 for zero.
[0072] :output Control quantity The partial derivative of represents the sensitivity of the output to the change of the control quantity.
[0073] :Control amount For the output layer The activation value The partial derivative of .
[0074] S4: BP neural network offline learning.
[0075] After completing the topological structure design of the BP neural network, the BP neural network is offline learned. The learning method is to use the motor sample data that has been collected. The input values are the actual gear column spacing, the expected gear column spacing, and the deviation between the actual gear column spacing and the expected gear column spacing; the output value is the core parameter of the PID controller. The input value is input into the input layer of the neural network. After calculations in each layer, the error between the output value of the BP neural network and the actual output value is compared, and the weights in the neural network are updated to achieve the learning goal. The specific learning process is as follows: Figure 7 shown.
[0076] After learning is completed, the BP neural network that has completed offline learning is added to the control system based on the BP neural network for adaptive tuning of PID controller parameters for use; at the same time, during system operation, the BP neural network continuously learns online and continuously optimizes the weights and biases of the BP neural network; among them, when the hidden layer neurons use the hyperbolic tangent Sigmoid function as the activation function, the fixed η and α will cause the network training to converge slowly. It takes a long time to collect a large amount of training data many times to adjust the optimal setting coefficient. Therefore, in practical applications, different amplification factors can be multiplied when outputting PID control parameters (the amplification factor is obtained by manual adjustment using the empirical method). After increasing the amplification factor, the control system can increase the convergence speed, reduce the training time, and is not prone to oscillation.
[0077] The three parameters of the motor control system PID controller are no longer fixed, but change with the load based on the BP neural network. Therefore, the tracking control of the control object can be well achieved. This control strategy can achieve better control effect. The system has good self-learning and adaptive decoupling control characteristics.
[0078] In this embodiment, through the above-mentioned structural design and system design, the structure of the existing robotic arm driver is improved, with a compact structure and high operating efficiency; the torque control accuracy facing unknown loads is higher, and in a narrow working environment, it is not easy to interfere with surrounding components, and there are small restrictions on the motion range and work efficiency of the robotic arm; it can realize functions such as bionic muscle contraction and trunk support of the robotic arm; due to its compact structure and high efficiency, the present application has strong universality, makes up for the shortcomings of the existing technology, and has extremely high application value.
[0079] The above descriptions are merely embodiments of the present invention and are not intended to limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A driver for the limbs and trunk of a humanoid robot, installed at the joints of the limbs and trunk of the humanoid robot or replacing the skeleton of the robot, characterized in that: The driver includes: a motor, a first gear column, a second gear column, a first inner gear ring and a second inner gear ring; the teeth of the first gear column, the second gear column, the first inner gear ring and the second inner gear ring are all helical teeth; a rotor is provided in the motor, and a hollow motor shaft is connected to the rotor; the first inner gear ring and the second inner gear ring are fixed in the motor shaft; the first gear column passes through the first inner gear ring and meshes with the first inner gear ring, the second gear column passes through the second inner gear ring and meshes with the second inner gear ring, and the ends of the first gear column and the second gear column both extend out of the motor.
2. The driver for the limbs and trunk of a humanoid robot according to claim 1, characterized in that: The helix angles of the first tooth column and the second tooth column are opposite; the helix angles of the first inner gear ring and the second inner gear ring are opposite, and the number of the first inner gear ring and the number of the second inner gear ring are at least one.
3. The driver for the limbs and trunk of a humanoid robot according to claim 2, characterized in that: The ends of the first gear column and the second gear column extending out of the motor are both connected with ball heads.
4. The driver for the limbs and trunk of a humanoid robot according to claim 3, characterized in that: The motor includes a motor housing, end covers fixed at both ends of the motor housing, and a stator fixed in the motor housing; there is one rotor, and the rotor cooperates with the stator; there is a pair of motor shafts, both of which are connected to the rotor, and the first inner gear ring and the second inner gear ring are respectively fixed in the two motor shafts; the two motor shafts are respectively connected to the end covers through bearings.
5. The driver for the limbs and trunk of a humanoid robot according to claim 3, characterized in that: The motor includes a motor housing, end covers fixed at both ends of the motor housing, and a stator fixed in the motor housing; the rotor and the motor shaft each have a pair, and the two rotors are respectively matched with the stators; one motor shaft is connected to one rotor, and the first inner gear ring and the second inner gear ring are respectively fixed in the two motor shafts; the two motor shafts are respectively connected to the end covers through bearings.
6. The driver for the limbs and trunk of a humanoid robot according to claim 3, characterized in that: The motor includes a first motor and a second motor with a coaxial line passing therethrough, wherein a stator and a rotor are each provided in the first motor and the second motor, and the two rotors respectively cooperate with the stators in the first motor and the second motor; the motor shaft has a pair, a rotor is sleeved on one motor shaft, and the first inner gear ring and the second inner gear ring are respectively fixed in the two motor shafts.
7. A method for controlling a driver for a humanoid robot's limbs and trunk, based on the driver for a humanoid robot's limbs and trunk as claimed in any one of claims 1 to 6, characterized in that: The control method comprises the following steps: S1, obtaining a current rotation angle and an expected rotation angle, calculating an actual tooth column spacing between the first tooth column and the second tooth column according to the current rotation angle, and calculating an expected tooth column spacing between the first tooth column and the second tooth column according to the expected rotation angle; S2, defining a PID control system based on the actual gear column spacing and the desired gear column spacing; S3, defining a topological structure of a BP neural network based on the actual gear column spacing, the desired gear column spacing and the PID control system; S4, BP neural network offline learning, after completing the learning, the BP neural network that has completed offline learning is added to the control system based on the BP neural network for adaptive tuning of PID controller parameters for use; at the same time, during the operation of the system, the BP neural network performs online learning to optimize the weights and biases of the BP neural network.
8. The method for controlling the actuators of the limbs and trunk of a humanoid robot according to claim 7, characterized in that: The step S2 further includes: using a classic incremental PID to control the motor output torque so that the first gear column and the second gear column move inward and outward, using the closed-loop feedback principle, taking the actual gear column spacing as the system output value, taking the expected gear column spacing as the system expected value, and taking the difference between the system output value and the system expected value as the system deviation, to correct the control system output value.
9. The method for controlling the actuators of the limbs and trunk of a humanoid robot according to claim 8, characterized in that: The topological structure of the BP neural network in step S3 is a three-layer structure, namely, input layer Layer 1, hidden layer Layer 2, and output layer Layer 3; in the topological structure of the BP neural network, the number of neurons in the input layer and the output layer are both 3, and the number of nodes in the hidden layer is calculated based on the number of neurons in the input layer and the output layer; the weights and biases in the BP neural network are randomly initialized, but it is ensured that they are not all zero, and the connection weights are continuously updated through learning, so that the BP neural network gradually approaches a nonlinear system; wherein, the learning principle of the BP neural network is a reverse gradient descent algorithm.
10. The method for controlling the actuators of the limbs and trunk of a humanoid robot according to claim 9, characterized in that: The BP neural network offline learning in step S4 further includes: the learning method is to use the motor sample data that has been collected, and its input values are the actual gear column spacing, the expected gear column spacing and the deviation between the actual gear column spacing and the expected gear column spacing; the output value is the PID control parameter , is the proportionality coefficient, is the integration coefficient, is the differential coefficient; the input value is input into the input layer of the neural network. After calculation through each layer, the error between the output value of the BP neural network and the actual output value is compared, and the weight in the neural network is updated to achieve the learning goal.
Citation Information
Patent Citations
Control method of two-dimensional servo valve stepped electro-mechanical converter based on neural network
CN109739080A
Water tank is drive arrangement for flushometer
CN208363206U
Novel linear stepping motor
CN214626757U
Linear driving device and bionic robot
CN221575057U
Decentralised electric rotary actuator and associated methodology for networking of motion systems
US20190222103A1
