Wheel-legged balance robot and control method thereof

By adopting five-link wheel legs and advanced control algorithms in wheel leg robots, the problems of poor terrain adaptability and limited maneuverability of wheel leg robots are solved, achieving more efficient motion control and reducing maintenance and consumption Energy cost.

CN118953537APending Publication Date: 2024-11-15ZHONGBEI UNIV
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411018156.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The poor terrain adaptability and limited maneuverability of wheel-leg robots make it difficult to use effectively in some application scenarios, and the maintenance and energy consumption problems are more prominent.

Method used

A wheel-leg balancing robot is designed, using five-link wheel-legs, gimbal yaw shaft, dual-axis multi-functional mounting platform, supercapacitor and circuit board. Through the combination of joint motor and hub motor, combined with sampling filtering, self-direction Detection and fault detection, power control, communication, balance control and motion control algorithms to realize the balance and flexible movement of the robot.

Benefits of technology

It improves the terrain adaptability and maneuverability of the robot, reduces maintenance and energy consumption costs, and enhances its application capabilities in complex scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118953537A_ABST
    Figure CN118953537A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of robots, and particularly relates to a wheel-leg type balance robot and a control method thereof.The wheel-leg type balance robot comprises five-connecting-rod type wheel legs, a holder yaw shaft, a double-shaft multifunctional carrying platform, a super capacitor, a circuit board, joint motors and hub motors, and the five-connecting-rod type wheel legs are connected to the two sides of the holder yaw shaft; the cloud deck yaw shaft is connected with the double-shaft multifunctional carrying platform, the super capacitor and the circuit board are both arranged in the double-shaft multifunctional carrying platform, the super capacitor is electrically connected with the joint motor and the hub motor through the circuit board, and the joint motor and the hub motor are arranged on the five-connecting-rod type wheel leg. The joint motor is additionally arranged at the upper tail end of the thigh, and the shaft system is additionally arranged between the thigh and the shank, so that a five-connecting-rod movement form is formed, and the five-connecting-rod movement is more free and can better adapt to various application scenes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of robots, and in particular relates to a wheel-legged balancing robot and a control method thereof. Background Art

[0002] Wheel-legged robots consume a lot of energy, which affects their endurance. Due to the complex technology and structure, the production cost of wheel-legged robots is high, and the maintenance and repair costs are also high, which limits the development of their commercial applications. There are difficult problems in the current robot movement and terrain adaptation, as well as endurance technology on the market. For example, tracked gas monitoring robots are difficult to maintain, consume a lot of energy and are slow; legged robots cannot respond to emergencies quickly and are expensive; traditional wheeled robots have poor terrain adaptability and limited mobility. Summary of the invention

[0003] In view of the above-mentioned technical problems that the traditional wheeled robots have poor terrain adaptability and limited maneuverability and flexibility, the present invention provides a wheel-legged balancing robot and a control method thereof.

[0004] In order to solve the above technical problems, the technical solution adopted by the present invention is:

[0005] A wheel-legged balancing robot comprises a five-link wheel leg, a pan-tilt yaw axis, a dual-axis multifunctional carrying platform, a supercapacitor, a circuit board, a joint motor and a hub motor, wherein the five-link wheel leg is connected to both sides of the pan-tilt yaw axis, the pan-tilt yaw axis is connected to the dual-axis multifunctional carrying platform, the supercapacitor and the circuit board are both arranged in the dual-axis multifunctional carrying platform, the supercapacitor is electrically connected to the joint motor and the hub motor through the circuit board, and the joint motor and the hub motor are arranged on the five-link wheel leg.

[0006] The five-link wheel leg comprises a thigh, a shank and a rotating wheel. Two thighs are respectively arranged on both sides of the yaw axis of the gimbal. The two thighs are respectively hinged to the shanks through axes. The ends of the two shanks are connected to the rotating wheel. A joint motor is arranged at the end of the thigh, and the rotating wheel is connected to a hub motor.

[0007] The circuit board includes a main control chip, a sampling circuit, an auxiliary power supply circuit, a DC-DC converter main circuit, and a gate drive circuit. The main control chip is electrically connected to the sampling circuit, the auxiliary power supply circuit, the DC-DC converter main circuit, and the gate drive circuit, respectively, and the auxiliary power supply circuit is electrically connected to the gate drive circuit.

[0008] The main control chip adopts STM32F334C8T6 chip, and the communication peripheral interface of the main control chip adopts SPI, CAN, and serial communication. The serial communication is directly connected to the GH1.254P terminal lead-out interface through a signal line, the SPI signal is led out through a pin header and arranged according to the SPI screen line sequence, and the CAN signal is finally led out through the GH1.252P terminal through the CAN transceiver circuit. The CAN uses the CAN transceiver chip TJA1050.

[0009] The sampling circuit uses an OPA2350 operational amplifier, which has rail-to-rail input and output, low noise and high-speed operation. The low noise is 5nV / Hz, and the high-speed operation is 38MHz, 22V / μs.

[0010] The auxiliary power supply circuit uses two TPS5430s and one LM1117 as drive power supply, peripheral power supply, and chip power supply. The 12V output of the power supply circuit is used as the power supply for gate drive, and the 5V output is used to power the peripherals and then stepped down by LM1117 to power the main control chip.

[0011] The chip of the main circuit of the DC-DC converter adopts the LM5050 chip, and the MOSFET of the main circuit of the DC-DC converter adopts the BSC070N10NS5 of Infineon. The Vds, Rds and Id of the MOSFET are 100V, 7mΩ and 80A respectively.

[0012] The gate drive circuit uses the UCC27211 chip, which is a 4A, 120V half-bridge gate driver with 8V UVLO and TTL input.

[0013] A control method for a wheel-legged balancing robot, comprising a sampling filtering algorithm, a self-checking and fault detection algorithm, a power control algorithm, a communication algorithm, a balance control system algorithm, a state updating algorithm, a leg length control algorithm and a motion control algorithm;

[0014] The sampling and filtering algorithm is: the data collected by the ADC is processed by the limited mean filtering method, and the linear error model is combined at the same time:

[0015] Y=aX+b

[0016] The error parameters were calculated using the two-point fitting method;

[0017] The self-check and fault detection algorithm is as follows: when the supercapacitor control part is powered on, all sampling parts are self-checked; the over-voltage and under-voltage detection limits are set to 30V and 18V, and the current detection abnormality is when the difference between the input sampling and the output sampling exceeds 0.4A; during the discharge process, the supercapacitor will be judged as virtual power, and if the current is abnormal, the program will not output the drive signal; at the same time, the loop state detection uses the instantaneous value for detection, and the hysteresis is switched. If the difference between the set power and the actual power calculation time is too large, it will be judged as abnormal charging and discharging, and the system will stop output to prevent the MOS tube from breaking down and causing a short circuit;

[0018] The power control algorithm is as follows: charging and discharging are controlled by cascade PID closed loop. The charging process consists of an outer power loop and an inner current loop. First, the voltage and current values ​​collected by the ADC are filtered and the actual power Pin and the set power Pset are calculated to calculate the power loop, and the value calculated by the power loop is passed into the current loop. The feedback calculation formula of the current loop is Iref=Iin-Iout, which is calculated together with the set current value to obtain the duty cycle, and the PWM channel of the Hrtim high-resolution timer is assigned to achieve control over charging; the discharge part consists of a current loop and a voltage loop, which limits the current while calculating the corresponding duty cycle to achieve control over discharge;

[0019] The communication algorithm is: using CAN communication to send the status information of the supercapacitor module, so that the operator can know the module status, and at the same time receiving the power status information of the robot to adjust the supercapacitor charging power, and reserving the serial port part to facilitate debugging and subsequent addition of other functions;

[0020] The balance control system algorithm is as follows: for the LQR controller, the swing angle Theta, the overall displacement X, the upper swing angle Pitch and the differentials of these three variables are set as state variables, so the state space vector is X=[Theta dThetaX dX Pitch d Pitch], and the control vector is the torque of the wheel motor T and the hip joint Tp, that is, u=[T Tp]; the Newton-Euler method is used to perform dynamic analysis on the second-order inverted pendulum, and its Jacobian matrix is ​​calculated to obtain the A and B matrices; MATLAB is used to calculate the LQR gain to obtain 12 K values; but due to the change in leg length, it is necessary to solve the LQR gain value corresponding to the leg length in different situations, and the matlab tool is used to calculate the K value every 1 mm within the range of leg length change, and the cubic term is used for fitting to obtain the corresponding K value under different working conditions; then the system input is superimposed on the control quantity to calculate the torque of the hip joint and the wheel hub motor;

[0021] The state update algorithm is as follows: simplify the five-link into a swing rod, which is the line connecting the center points of the two hip joints and the center of the wheel. The length of each rod of the five-link is known, and the angle and angular velocity of the hip joint can be known through the joint motor; the coordinates of the end of the swing rod can be calculated using a simple geometric relationship, and then the length and angle of the swing rod can be obtained; for the angular velocity and length change rate of the swing rod, the angular velocity of the joint motor and the state update cycle can be used to simply linearly predict the position and angle of the swing rod at the next moment, and the predicted value is subtracted from the current value and divided by the state update cycle to obtain the angular velocity and length change rate;

[0022] The leg length control algorithm is as follows: the actual length of the leg is obtained from the state update part, and the leg length can be controlled by inputting it into the PID controller. The body weight is used as feedforward, and the feedforward output is superimposed on the PID output, which makes it easy to adjust the PID parameters.

[0023] The motion control algorithm is as follows: the robot forward and backward motion control uses qLQR control, and the control quantity is superimposed on the state quantity;

[0024] The jumping motion control adopts different motion strategies for different stages of jumping, which are divided into three stages: leg pushing, leg retraction, and landing cushioning. The jumping height is calculated using the momentum theorem.

[0025] Given the weight of the upper body M, the weight of the swing arm and the wheel Mw, when the leg is extended to L0, the leg length is reduced to L, and the upward displacement of the wheel is dh. In the process of retracting the leg, using the momentum theorem, we can get

[0026]

[0027] By slowing down the video, we can find that the robot has almost no initial upward velocity during the leg retraction process. We can roughly assume that dh is the height of the robot's jump.

[0028] After the jump, the body will always shift to one side. The body is affected by the ROLL axis control during the jump, resulting in unequal leg lengths on both sides, which can easily cause the body to shift. Turn off the ROLL axis compensation during the jump.

[0029] Compared with the prior art, the present invention has the following beneficial effects:

[0030] The present invention forms a five-link motion form by adding a joint motor at the end of the thigh and adding an axis system between the thigh and the calf, making the five-link motion more flexible and more adaptable to various application scenarios. In addition, the present invention uses a five-link and adds two joint motors at the end of the thigh to control the posture of the entire five-link leg. The whole vehicle uses the mechanical kinematics Jacobian matrix to simplify it into a second-order inverted pendulum model, simplifying the computing power, and the motion microcontroller can control the wheel leg state. BRIEF DESCRIPTION OF THE DRAWINGS

[0031] In order to more clearly illustrate the implementation methods of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for the implementation methods or the description of the prior art. Obviously, the drawings in the following description are only exemplary, and for ordinary technicians in this field, other implementation drawings can be derived from the provided drawings without creative work.

[0032] The structures, proportions, sizes, etc. illustrated in this specification are only used to match the contents disclosed in the specification so as to facilitate understanding and reading by persons familiar with the technology. They are not used to limit the conditions under which the present invention can be implemented, and therefore have no substantial technical significance. Any structural modification, change in proportion or adjustment of size shall still fall within the scope of the technical contents disclosed in the present invention without affecting the effects and purposes that can be achieved by the present invention.

[0033] Figure 1 A side structural diagram of the present invention;

[0034] Figure 2 It is a front structural schematic diagram of the present invention;

[0035] Figure 3 It is a structural schematic diagram of the yaw axis of the pan / tilt platform of the present invention;

[0036] Figure 4 This is the overall topological diagram of the supercapacitor of the present invention;

[0037] Figure 5 This is a circuit diagram of the main control chip of the present invention;

[0038] Figure 6 is a circuit diagram of a sampling circuit of the present invention;

[0039] Figure 7 A circuit diagram of an auxiliary power supply circuit of the present invention;

[0040] Figure 8 A circuit diagram of a main circuit of a DC-DC converter of the present invention;

[0041] Fig. 9 is a circuit diagram of a gate drive circuit of the present invention;

[0042] Among them: 1 is a five-link wheel leg, 101 is a thigh, 102 is a calf, 103 is a rotating wheel, 2 is a gimbal yaw axis, 3 is a dual-axis multifunctional carrying platform, 4 is a super capacitor, 5 is a circuit board, 501 is a main control chip, 502 is a sampling circuit, 503 is an auxiliary power supply circuit, 504 is a DC-DC converter main circuit, and 505 is a gate drive circuit. DETAILED DESCRIPTION

[0043] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below. Obviously, the described embodiments are only part of the embodiments of the present application, rather than all the embodiments. These descriptions are only to further illustrate the features and advantages of the present invention, rather than to limit the claims of the present invention. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0044] The specific implementation of the present invention is further described in detail below in conjunction with the accompanying drawings and examples. The following examples are used to illustrate the present invention, but are not intended to limit the scope of the present invention.

[0045] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, or it can be the internal communication of two components. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0046] A wheel-legged balancing robot, such as Figure 1-4 As shown, it includes a five-link wheel leg 1, a pan-tilt yaw axis 2, a dual-axis multifunctional carrying platform 3, a super capacitor 4, a circuit board 5, a joint motor and a wheel hub motor. The five-link wheel leg 1 is connected to both sides of the pan-tilt yaw axis 2, the pan-tilt yaw axis 2 is connected to the dual-axis multifunctional carrying platform 3, the super capacitor 4 and the circuit board 5 are both arranged in the dual-axis multifunctional carrying platform 3, the super capacitor 4 is electrically connected to the joint motor and the wheel hub motor through the circuit board 5, and the joint motor and the wheel hub motor are arranged on the five-link wheel leg 1. The five-link wheel leg 1 includes a thigh 101, a shank 102 and a rotating wheel 103. Two thighs 101 are respectively arranged on both sides of the pan-tilt yaw axis 2, the two thighs 101 are respectively hinged to the shank 102 through an axis, the ends of the two shanks 102 are connected to the rotating wheel 103, the end of the thigh 101 is provided with a joint motor, and the rotating wheel 103 is connected to the wheel hub motor. By adding a joint motor at the end of the thigh 101 and adding an axis system between the thigh 101 and the calf 102, a five-link motion form is formed, making the five-link motion more flexible and more adaptable to various application scenarios.

[0047] Further, if Figure 5As shown, the main control chip 501 adopts the STM32F334C8T6 chip. The communication peripheral interface of the main control chip 501 adopts SPI, CAN, and serial communication. The serial communication is directly connected to the GH1.254P terminal lead-out interface through the signal line. The SPI signal is led out through the pin header and arranged according to the SPI screen line sequence. The CAN signal is finally led out through the GH1.252P terminal through the CAN transceiver circuit. CAN uses the CAN transceiver chip TJA1050. CAN_H and CAN_L need to pay attention to differential wiring. R6 is a terminal resistor with a resistance of 120Ω. This resistor can improve the anti-interference ability of the CAN signal, ensure that the bus quickly enters the recessive state, and improve the signal quality. Its resistance value is the characteristic impedance of the typical automotive cable twisted pair measured at 120Ω, so its R6 resistance value is always 120Ω by default.

[0048] Further, if Figure 6 As shown, the sampling circuit 502 uses the OPA2350 operational amplifier, which has rail-to-rail input and output, low noise (5nV / √Hz) and high-speed operation (38MHz, 22V / μs), meeting the design requirements. Compared with the previous four-channel AD8608, it has only two channels, and the corresponding chip package is smaller, which can effectively reduce the control board area. At the same time, the two channels of bias voltage division and abnormal voltage reset are removed. The former is because INA240 can obtain the bias voltage through its own circuit connection, and the latter is because this function is not very meaningful and is not used in practice.

[0049] Compared with the four-switch sampling design, the voltage actually sampled by this chip is more accurate, and the chip itself has a smaller packaging area, which allows for better integration into the circuit board. At the same time, the elimination of two channels and their peripheral circuits further reduces the PCB area, making the module density higher.

[0050] Further, if Figure 7 As shown, the auxiliary power supply circuit 503 uses two TPS5430s and one LM1117 as the driving power supply, peripheral power supply, and chip power supply. The 12V output of the power supply circuit 503 is used as the power supply for the gate drive, and the 5V output is used to power the peripherals and then stepped down by the LM1117 to power the main control chip 101. This part of the circuit was originally a TPS5430 that stepped down 12V, and then two LM1117s stepped down 12V to 5V and then to 3.3V. The reason why this part of the design was subsequently abandoned was that the LM1117 was IDO, and the voltage drop from 12V to 5V was too high, and the chip had a current of 80mA when working in HRTIM mode, which would cause serious heating problems. Therefore, two TPS5430 switching power supply chips were used in parallel for stepping down in subsequent optimization.

[0051] Further, if Figure 8As shown, the differences in the design of the DC-DC converter circuit 504 compared to the four-switch solution are: the topology is changed from four switches to two switches, the package of the filter capacitor is changed from 1206 chip capacitor to direct-insert solid capacitor and the parallel connection is changed from 22uF to 100uF. The anti-backflow circuit designed with the LM5050 chip as the main component is retained, but when communicating with the Taigong team, we learned that this part of the circuit is not very meaningful. When the robot chassis brakes suddenly, the reverse electromotive force only needs to turn off the MOS tube to prevent it from pouring into the capacitor group, and pouring into the battery has no effect. In the subsequent optimization, you can choose to remove or retain this part of the design according to the actual effect.

[0052] In view of the problem that the input and output capacitance is too small, resulting in serious voltage drop after loading, the input and output capacitance calculation formula is used in the subsequent design: C> = ΔI / f*ΔUo = 5A / 250000HZ*26V*0.25 = 30.8uF, so two 100uF capacitors are selected in parallel.

[0053] The chip of the DC-DC converter main circuit 504 uses the LM5050 chip, and the MOSFET of the DC-DC converter main circuit 504 uses the Infineon BSC070N10NS5, which has a Vds of 100V, an Rds of 7mΩ, and an Id of 80A. Compared with the MOSFET in the four switches, this device is more expensive, but its other performance parameters are much higher than the other MOSFET, and its safety and reliability are greatly improved.

[0054] like Fig. 9 As shown, the gate drive circuit 505 uses the UCC27211 chip, which is a 4A, 120V half-bridge gate driver with 8V UVLO and TTL input. Compared with the UCC21520 in the four-switch, this chip does not have a strong isolation effect and has a slightly lower safety performance, but its performance index parameters are fully sufficient for use, and the chip package specification is smaller, which will make the PCB board density higher.

[0055] The sampling and filtering algorithm is: the limited mean filtering method is used to process the data collected by the ADC, and the linear error model is combined at the same time:

[0056] Y=aX+b

[0057] The error parameters were calculated using the two-point fitting method.

[0058] The self-check and fault detection algorithm is as follows: when the supercapacitor control part is powered on, all sampling parts are self-checked. The over-voltage and under-voltage detection limits are set to 30V and 18V, and the current detection abnormality is when the difference between the input sampling and the output sampling exceeds 0.4A. During the discharge process, the supercapacitor will be judged as virtual electricity. If the current is abnormal, the program will not output the drive signal. At the same time, the loop status detection uses instantaneous values ​​for detection and hysteresis switching. If the difference between the set power and the actual power calculation time is too large, it will be judged as abnormal charging and discharging, and the system will stop output to prevent the MOS tube from breaking down and causing a short circuit.

[0059] The power control algorithm is: charging and discharging adopts cascade PID closed-loop control. The charging process consists of an outer power loop and an inner current loop. First, the voltage and current values ​​collected by the ADC are filtered and the actual power Pin and the set power Pset are calculated to calculate the power loop, and the value calculated by the power loop is passed to the current loop. The feedback calculation formula of the current loop is Iref = Iin-Iout, which is calculated together with the set current value to obtain the duty cycle, and the PWM channel of the Hrtim high-resolution timer is assigned to achieve charging control. The discharge part consists of a current loop and a voltage loop. While limiting the current, the corresponding duty cycle is calculated to achieve discharge control.

[0060] The communication algorithm is: use CAN communication to send the status information of the supercapacitor module, so that the operator can know the module status, and receive the power status information of the robot to adjust the supercapacitor charging power. The serial port part is reserved to facilitate debugging and subsequent addition of other functions.

[0061] The balance control system algorithm is as follows: For the LQR controller, the swing angle Theta, the overall displacement X, the upper swing angle Pitch and the differentials of these three variables are set as state variables, so the state space vector is X = [Theta dTheta X dXPitch d Pitch], and the control vector is the torque of the wheel motor T and the hip joint Tp, that is, u = [T Tp]. The Newton-Euler method is used to perform dynamic analysis on the second-order inverted pendulum, and its Jacobian matrix is ​​calculated to obtain the A and B matrices. Using MATLAB to calculate the LQR gain, 12 K values ​​can be obtained. However, due to the change in leg length, it is necessary to solve the LQR gain value corresponding to the leg length in different situations. The matlab tool is used to calculate the K value every 1mm within the range of leg length change, and the cubic term is used for fitting to obtain the corresponding K value under different working conditions. Then the system input is superimposed on the control quantity to calculate the torque of the hip joint and the wheel hub motor.

[0062] The state update algorithm is as follows: simplify the five-link into a swing rod, which is the line connecting the center points of the two hip joints and the center of the wheel. The length of each link of the five-link is known, and the angle and angular velocity of the hip joint can be known through the joint motor. The coordinates of the end of the swing rod can be calculated using simple geometric relationships, and then the length and angle of the swing rod can be obtained. For the angular velocity and length change rate of the swing rod, the angular velocity of the joint motor and the state update cycle can be used to simply linearly predict the position and angle of the swing rod at the next moment. The predicted value is subtracted from the current value and divided by the state update cycle to obtain the angular velocity and length change rate.

[0063] The leg length control algorithm is as follows: the actual length of the leg is obtained from the state update part, and the leg length can be controlled by inputting it into the PID controller. The body weight is used as feedforward, and the feedforward output is superimposed on the PID output, which makes it easy to adjust the PID parameters.

[0064] The motion control algorithm is: the robot's forward and backward motion control uses qLQR control, and the control quantity is superimposed on the state quantity.

[0065] Jumping motion control adopts different motion strategies for different stages of jumping, which is divided into three stages: leg pushing, leg retracting, and landing cushioning. The jumping height is calculated using the momentum theorem.

[0066] Given the weight of the upper body M, the weight of the swing arm and the wheel Mw, when the leg is extended to L0, the leg length is reduced to L, and the upward displacement of the wheel is dh. In the process of retracting the leg, using the momentum theorem, we can get

[0067]

[0068] By slowing down the video, we can find that the robot has almost no initial upward velocity during the leg retraction process. We can roughly assume that dh is the height of the robot's jump.

[0069] After the jump, the body will always shift to one side. The body is affected by the ROLL axis control during the jump, resulting in unequal leg lengths on both sides, which can easily cause the body to shift. Turn off the ROLL axis compensation during the jump.

[0070] Only the preferred embodiments of the present invention are described in detail above, but the present invention is not limited to the above embodiments. Various changes can be made within the knowledge scope of ordinary technicians in this field without departing from the purpose of the present invention, and various changes should be included in the protection scope of the present invention.

Claims

1. A wheel-legged balancing robot, characterized in that: The invention comprises a five-link wheel leg (1), a yaw axis of a pan-tilt platform (2), a dual-axis multifunctional carrying platform (3), a super capacitor (4), a circuit board (5), a joint motor and a wheel hub motor. The five-link wheel leg (1) is connected to both sides of the yaw axis of the pan-tilt platform (2), the yaw axis of the pan-tilt platform (2) is connected to the dual-axis multifunctional carrying platform (3), the super capacitor (4) and the circuit board (5) are both arranged in the dual-axis multifunctional carrying platform (3), the super capacitor (4) is electrically connected to the joint motor and the wheel hub motor through the circuit board (5), and the joint motor and the wheel hub motor are arranged on the five-link wheel leg (1).

2. A wheel-legged balancing robot according to claim 1, characterized in that: The five-link wheel leg (1) comprises a thigh (101), a shank (102) and a rotating wheel (103); two thighs (101) are respectively arranged on both sides of the pan-tilt yaw axis (2); the two thighs (101) are respectively hinged to the shanks (102) through axes; the ends of the two shanks (102) are connected to the rotating wheel (103); a joint motor is arranged at the end of the thigh (101); and the rotating wheel (103) is connected to a hub motor.

3. The wheel-legged balancing robot according to claim 1, characterized in that: The circuit board (5) comprises a main control chip (501), a sampling circuit (502), an auxiliary power supply circuit (503), a DC-DC converter main circuit (504), and a gate drive circuit (505); the main control chip (501) is electrically connected to the sampling circuit (502), the auxiliary power supply circuit (503), the DC-DC converter main circuit (504), and the gate drive circuit (505), respectively; and the auxiliary power supply circuit (503) is electrically connected to the gate drive circuit (505).

4. A wheel-legged balancing robot according to claim 3, characterized in that: The main control chip (501) adopts an STM32F334C8T6 chip, and the communication peripheral interface of the main control chip (501) adopts SPI, CAN, and serial communication. The serial communication is directly connected to the GH1.254P terminal lead-out interface through a signal line, the SPI signal is led out through a pin header and arranged according to the SPI screen line sequence, the CAN signal is finally led out through the GH1.252P terminal through a CAN transceiver circuit, and the CAN uses a CAN transceiver chip TJA5050.

5. The wheel-legged balancing robot according to claim 3, characterized in that: The sampling circuit (502) uses an OPA2350 operational amplifier, which has rail-to-rail input and output, low noise and high-speed operation. The low noise is 5nV / Hz, and the high-speed operation is 38MHz, 22V / μs.

6. The wheel-legged balancing robot according to claim 3, characterized in that: The auxiliary power supply circuit (503) uses two TPS5430s and one LM1117 as driving power supply, peripheral power supply, and chip power supply. The 12V output of the power supply circuit (503) is used as the power supply for gate driving, and the 5V output is used to power the peripherals and then stepped down by the LM1117 to power the main control chip (101).

7. The wheel-legged balancing robot according to claim 3, characterized in that: The chip of the DC-DC converter main circuit (504) adopts the LM5050 chip, and the MOSFET of the DC-DC converter main circuit (504) adopts the BSC070N10NS5 of Infineon. The Vds, Rds and Id of the MOSFET are 100V, 7mΩ and 80A respectively.

8. The wheel-legged balancing robot according to claim 3, characterized in that: The gate drive circuit (505) uses a UCC27211 chip, which is a 4A, 120V half-bridge gate driver with 8V UVLO and TTL input.

9. A control method for a wheel-legged balancing robot, characterized in that: Including sampling filtering algorithm, self-test and fault detection algorithm, power control algorithm, communication algorithm, balance control system algorithm, state update algorithm, leg length control algorithm and motion control algorithm; The sampling and filtering algorithm is: the data collected by the ADC is processed by the limited mean filtering method, and the linear error model is combined at the same time: Y=aX+b The error parameters were calculated using the two-point fitting method; The self-check and fault detection algorithm is as follows: when the supercapacitor control part is powered on, all sampling parts are self-checked; the over-voltage and under-voltage detection limits are set to 30V and 18V, and the current detection abnormality is when the difference between the input sampling and the output sampling exceeds 0.4A; during the discharge process, the supercapacitor will be judged as virtual power, and if the current is abnormal, the program will not output the drive signal; at the same time, the loop state detection uses the instantaneous value for detection, and the hysteresis is switched. If the difference between the set power and the actual power calculation time is too large, it will be judged as abnormal charging and discharging, and the system will stop output to prevent the MOS tube from breaking down and causing a short circuit; The power control algorithm is as follows: charging and discharging are controlled by cascade PID closed loop. The charging process consists of an outer power loop and an inner current loop. First, the voltage and current values ​​collected by the ADC are filtered and the actual power Pin and the set power Pset are calculated to perform the power loop calculation, and the value calculated by the power loop is passed into the current loop. The feedback calculation formula of the current loop is Iref=Iin-Iout, which is calculated together with the set current value to obtain the duty cycle, and the PWM channel of the Hrtim high-resolution timer is assigned to realize the control of charging; The discharge part consists of a current loop and a voltage loop. It limits the current and calculates the corresponding duty cycle to achieve discharge control. The communication algorithm is: using CAN communication to send the status information of the supercapacitor module, so that the operator can know the module status, and at the same time receiving the power status information of the robot to adjust the supercapacitor charging power, and reserving the serial port part to facilitate debugging and subsequent addition of other functions; The balance control system algorithm is as follows: for the LQR controller, the swing rod angle Theta, the overall displacement X, the upper swing angle Pitch and the differentials of these three variables are set as state variables, so the state space vector is X=[Theta dTheta X dXPitch d Pitch], and the control vector is the torque of the wheel motor T and the hip joint Tp, that is, u=[T Tp]; the Newton-Euler method is used to perform dynamic analysis on the second-order inverted pendulum, and its Jacobian matrix is ​​calculated to obtain the A and B matrices; MATLAB is used to calculate the LQR gain to obtain 12 K values; however, due to the change in leg length, it is necessary to solve the LQR gain value corresponding to the leg length in different situations, and the matlab tool is used to calculate the K value every 1 mm within the range of leg length change, and the cubic term is used for fitting to obtain the corresponding K value under different working conditions; then the system input is superimposed on the control quantity to calculate the torque of the hip joint and the wheel hub motor; The state update algorithm is as follows: simplify the five-link into a swing rod, which is the line connecting the center points of the two hip joints and the center of the wheel. The length of each rod of the five-link is known, and the angle and angular velocity of the hip joint can be known through the joint motor; the coordinates of the end of the swing rod can be calculated using a simple geometric relationship, and then the length and angle of the swing rod can be obtained; for the angular velocity and length change rate of the swing rod, the angular velocity of the joint motor and the state update cycle can be used to simply linearly predict the position and angle of the swing rod at the next moment, and the predicted value is subtracted from the current value and divided by the state update cycle to obtain the angular velocity and length change rate; The leg length control algorithm is as follows: the actual length of the leg is obtained from the state update part, and the leg length can be controlled by inputting it into the PID controller. The body weight is used as feedforward, and the feedforward output is superimposed on the PID output, which makes it easy to adjust the PID parameters. The motion control algorithm is as follows: the robot forward and backward motion control uses qLQR control, and the control quantity is superimposed on the state quantity; The jumping motion control adopts different motion strategies for different stages of jumping, which are divided into three stages: leg pushing, leg retraction, and landing cushioning. The jumping height is calculated using the momentum theorem. Given the weight of the upper body M, the weight of the swing arm and the wheel Mw, when the leg is extended to L0, the leg length is reduced to L, and the upward displacement of the wheel is dh. In the process of retracting the leg, using the momentum theorem, we can get By slowing down the video, we can find that the robot has almost no initial upward velocity during the leg retraction process. We can roughly assume that dh is the height of the robot's jump. After the jump, the body will always shift to one side. The body is affected by the ROLL axis control during the jump, resulting in unequal leg lengths on both sides, which can easily cause the body to shift. Turn off the ROLL axis compensation during the jump.

Citation Information

Cited By

  • Design and control method of wheel-leg balance robot capable of jumping actively

    CN119749738A

  • Two-connecting-rod series connection type wheel-legged robot and rolling and jumping stability control method thereof

    CN122561166A