TECHNICAL FIELD
The present disclosure relates to the field of active control for pressure and flow of hydraulic power source, specifically to a controlling method for matching pressure and flow control of a robot hydraulic power source.
BACKGROUND
The robot hydraulic power source is driven by a prime mover to drive a hydraulic oil pump, convert mechanical energy into pressure energy. By controlling pressure, flow, and flowing direction of fluid in the system through control components, and regulating temperature of the fluid through auxiliary components, the flow in the system is supplemented and the system components are protected. To this end, the fluid outputs energy to the actuating components of the robot's joints.
During the movement of the robot, the hydraulic power source continuously outputs energy to ensure adequate supply of the pressure and the flow, to achieve the load-bearing and mobility performance of the robot. However, the output pressure and the flow of the hydraulic power source are generally designed to be a maximum value required during the movement of the robot, which is higher than actual demand of the robot for most of the time. This results in severe energy loss and waste, reducing endurance of the robot and thereby affecting the motion performance of the robot's joints and the entire machine.
At present, by using components such as a constant pressure variable displacement pump, a constant power hydraulic pump, and a load-sensitive variable displacement pump, a high-efficient hydraulic power source is established; and the control accuracy of the pressure and the flow can be improved through methods such as PID, adaptive control, fuzzy control, and feedforward compensation, the energy waste caused by excessive steady-state output pressure and the flow has been preliminarily reduced. However, it has not solved the energy loss caused by dynamic pressure and flow mismatch due to changes in robot load. At the same time, due to inherent nonlinear and time-varying characteristics of the hydraulic power source system, and coupling characteristics between the output pressure and the flow, the difficulty and challenge of the control method have been further increased.
SUMMARY
In order to overcome the shortcomings in the prior art, the present disclosure provides a pressure and flow matching control method of a hydraulic power source for a robot, which analyzes and models the hydraulic power source for the robot, completes the trajectory planning and kinematic analysis for the robot, establishes a conversion relationship between the pressure characteristics and the flow characteristics, and achieve the pressure and flow matching control of the hydraulic power source. This can ensure that the pressure and flow are output in match with the actual needs of the robot, and meet the requirements of practical applications.
In order to achieve the above object, the present disclosure discloses the following technical solution:
A pressure and flow matching control method of a hydraulic power source for a robot, includes
- S1: establishing a mathematical model of key components of the hydraulic power source; the key components of the hydraulic power source comprising a servo motor, a piston pump, an accumulator, an overflow valve, sensors, pipelines, a servo valve, and an asymmetric cylinder;
- S2: constructing a trajectory planning model and kinematic model of the robot based on the mathematical model of the key components of the hydraulic power source in step S1, and determining a real-time pressure and flow characteristics of the hydraulic power source;
- S21: analyzing load pressure characteristics of the robot under different gaits and working conditions, calculating a force at joints of the robot through dynamic analysis, and converting it into the pressure required by a hydraulic system at the joints, determining a maximum pressure as the pressure that the hydraulic power source outputs, a calculation formula is as follows:
- wherein pmax represents the pressure that the hydraulic power source outputs; Pai represents pressure of a rodless chamber; Pbi represents pressure of a rod chamber; max represents a function to take a maximum value;
- S22: analyzing load flow characteristics of the robot under the different gaits and working conditions; on a robot model, establishing foot trajectories of the robot under the different gaits and working conditions; obtaining working space of the joints of the robot through calculation of the inverse kinematics, and then, extracting velocity of a hydraulic cylinder of each of the joints, measuring actual velocity of the joints of the robot through a displacement sensor on the hydraulic cylinder, and converting it into the flow as desired for the joints; according to the flow output by the hydraulic power source during actual operation of the robot, superimposing a sum of the flows required by the hydraulic cylinders on the joints, and a desired flow determined according to an opening state of the servo valve being as follows:
- wherein Qd represents the desired flow; vra represents a desired speed when a valve opening is positive; vrb represents a desired speed when the valve opening is negative; Apa represents an area of the rodless chamber of the hydraulic cylinder; Apb represents an area of the rod chamber of the hydraulic cylinder;
- S3: improving a response speed by feedforward compensation and establishing a flow closed-loop control link of the hydraulic power source for the robot; based on the real-time flow characteristics of the hydraulic power source obtained in step S22, establishing a flow closed-loop control link, feedbacking flow signals collected by a flow sensor to the controller, and introducing the feedforward compensation to improve the response speed, forming a flow closed-loop control; performing the control according to a flow deviation of the flow closed-loop control, adding the feedforward compensation to reduce a steady-state error, and a transfer function of constructing the flow closed-loop control being as follows:
- wherein Q represents an actual flow; G2(s) represents a second transfer function of the servo motor; G3(s) represents a third transfer function of the servo motor; GPID(s) represents a transfer function of a PID controller; Qd represents a desired flow; Ps(s) represents a complex pressure function; Vp represents a hydraulic pump displacement; Knq represents a conversion factor between the rotation speed and the flow; ηm represents mechanical efficiency of the hydraulic pump; Gff(s) represents a transfer function of the feedforward compensator;
- S4: establishing a conversion relationship from the pressure to the flow and achieving the pressure and flow matching control of the hydraulic power source for the robot; based on the flow closed-loop control link established in Step S3, and according to the real-time pressure characteristics of the hydraulic power source obtained in Step S21, feedbacking closed-loop pressure control deviation signals that are collected by a pressure sensor of the hydraulic system of the robot to a controller, and making flow corrections based on the pressure, a dimensional coefficient for the conversion from the pressure to the flow being as follows:
- wherein Kpq represents a conversion coefficient between the pressure and the overflow flow; QLmax represents a maximum overflow flow.
- S5: based on the conversion coefficient Kpq between the pressure and the overflow flow, transforming an impact of the pressure on the output into an impact of the flow on the output, utilizing the transfer function of the flow closed-loop control from Step S3 to achieve the pressure and flow matching control of the hydraulic power source for the robot.
Preferably, the servo motor, the piston pump, the accumulator, the overflow valve, the pipelines, and the servo valve in step S1 are as follows:
- the servo motor is a direct current brushless motor, comprising a permanent magnet rotor and a multi-phase AC winding, the servo motor is driven by square waves and three-phase quantities of the motor are transformed into equivalent two-phase quantities in a d-q coordinate system through Clark-Park transformation, a mathematical model is constructed as follows:
- wherein Ud represents a voltage on a d-axis; Rs represents an internal resistance of the motor; id represents a current on the d-axis; Ψd represents a magnetic flux on the d-axis; ωe represents a rotation speed of the motor; Ψq represents a magnetic flux on a q-axis; Uq represents a voltage on the q-axis; iq represents a current on the q-axis; t represents a time parameter;
- the piston pump is used for controlling the hydraulic pump, specifically an axial piston pump;
- the mathematical model for the outlet flow is constructed as follows:
- wherein Qp represents an outlet flow of hydraulic pump; vp represents a hydraulic pump displacement; n represents a rotational speed of the motor and the hydraulic pump; ηv represents a volumetric efficiency of the hydraulic pump;
- the accumulator is a diaphragm-type accumulator, and a mathematical model for a relationship between a pressure of a gas chamber and an initial state is as follows:
- wherein pa_g represents a pressure of a gas chamber of the accumulator; pc represents an atmospheric pressure; Va_t represents a total volume of the accumulator; Va_f represents a volume of a liquid chamber of the accumulator; pa_pr represents a pre-charge pressure in the gas chamber of the accumulator; k represents an adiabatic coefficient;
- a overflow valve is a proportional overflow valve with a pilot valve, and a mathematical model for the dynamic characteristics based on an opening area of a main valve core is as follows:
- wherein Δpv_ab represents a pressure difference on both ends of the overflow valve; Sv_leak represents a leakage area of a valve core of the overflow valve; Sv_max represents a maximum opening area of the valve core of the overflow valve; pv_max represents a maximum pressure of the overflow valve; pv_set represents a set pressure of the overflow valve; S(Δpv_ab) represents an output of the overflow valve;
- a mathematical model for the pipeline is as follows:
- wherein qp represents a flow of the pipeline; pp represents pressure of the pipeline; Cep represents a leakage coefficient of the pipeline; Vp represents a volume of the pipeline; βe represents an effective volume elasticity modulus.
- a transfer function of the servo valve is simplified as a second-order oscillating link, and the transfer function between the input voltage and the valve core displacement is as follows:
- wherein Xv represents a complex function of the valve core displacement; Ug represents a complex function of the input voltage; s represents a complex frequency domain variable; Ka represents a power amplifier gain of the servo valve; Kxv represents a gain of the servo valve; ζ represents a damping ratio of the servo valve; ω represents a natural frequency of the servo valve.
Preferably, the sensor in step S1 includes a pressure sensor and a flow sensor, the pressure sensor is equivalent to a proportional link, and a mathematical model between a feedback voltage and a hydraulic pressure is as follows:
- wherein Kps represents a pressure sensor gain; P represents a hydraulic pressure; Up represents the feedback voltage of the pressure sensor;
- the flow sensor is a first-order link, and a mathematical model between the feedback voltage and a hydraulic flow is as follows:
- wherein Kqu represents a gain of the flow sensor; Qv represents a complex function of an oil source flow; Uq represents a complex function of the feedback voltage of the flow sensor.
Preferably, in step S1, flow equations for an oil intake flow and an intake chamber volume in the rodless chamber and an oil return flow and a return chamber volume in the rod chamber in an asymmetric cylinder are as follows:
- wherein Qf1 represents the oil intake flow of the rodless chamber; Qf2 represents the oil return flow of the rod chamber; A1 represents an effective area of the rodless chamber in the asymmetric cylinder; A2 represents an effective area of the rod chamber in the asymmetric cylinder; xp represents a piston displacement of the asymmetric cylinder; Cim represents an internal leakage coefficient of the asymmetric cylinder; βe represents an effective volume elasticity modulus; V01 represents an initial volume of the rodless chamber in the asymmetric cylinder; V02 represents an initial volume of the rod chamber in the asymmetric cylinder; p1 represents pressure of the rodless chamber; p2 represents pressure of the rod chamber; V1 represents a volume of the oil intake chamber of the rodless chamber; V2 represents a volume of the oil return chamber of the rod chamber;
- the asymmetric cylinder is affected by inertial forces, viscous damping forces, elastic forces, and external load forces, so that a balance equation for an output force and a load force of the asymmetric cylinder is as follows:
- wherein Fp represents a load force of the asymmetric cylinder; P1 represents the pressure in the rodless chamber; P2 represents the pressure in the rod chamber; mt represents a total mass converted to the piston of the asymmetric cylinder; K represents a load stiffness of the asymmetric cylinder; Bp represents a damping coefficient of the load and the asymmetric cylinder; Ff represents a Coulomb friction force of the load and the asymmetric cylinder; FL represents an arbitrary external load force acting on the piston of the asymmetric cylinder.
Preferably, analyzing load characteristics of the robot under different gaits and working conditions in step S21, obtaining the force exerted by joints of the robot through dynamic calculation and converting it into the pressure required by each of the joints as follows:
- wherein based on a virtual model of the robot as a whole, the force at each joint of the robot is determined as:
- wherein Fi represents a ith generalized force of a generalized coordinate; L represents a Lagrangian function; qj represents a jth joint variable;
- the force at the joints is transformed into the pressure required at the joints:
- wherein P represents the pressure in the rodless chamber; Pbi represents the pressure in the rod chamber; Apa represents an area of the rodless chamber; Apb represents an area of the rod chamber.
Preferably, foot trajectories of the robot under different gaits and working conditions in step S22 are established, a working space of each joint of the robot is calculated through inverse kinematics as follows:
- wherein based on the virtual model of the robot as a whole, the foot trajectory of the robot is determined as:
- wherein x(t) represents a displacement in x direction of the foot; z(t) represents a displacement in z direction of the foot; S represents a step length of the robot; a0 represents a first constant coefficient; a1 represents a second constant coefficient; a2 represents a third constant coefficient; a3 represents a fourth constant coefficient; H0 represents a standing height of the robot; H represents a step height; β represents a duty cycle of the gait.
- the inverse kinematics of the robot as a whole is given by:
- wherein θ1 represents a rotation angle of a first joint; θ2 represents a rotation angle of a second joint; θ3 represents a rotation angle of a third joint; 40Px represents a horizontal coordinate value in a pose transformation matrix; 40Py represents a vertical coordinate value in a pose transformation matrix; 40Pz represents a vertical coordinate value in a pose transformation matrix; C1 represents a cosine value of the rotation angle of the first joint θ1; S1 represents a sine value of the rotation angle of the first joint θ1; S3 represents a sine value of the rotation angle of the third joint θ3.
Preferably, the flow deviation of the flow closed-loop control in Step S3 is:
wherein VQ represents the flow deviation of a closed-loop; Qd represents the desired flow; Qr represents an actual output flow.
Preferably, the transfer function of the feedforward compensator in step S3 is as follows:
- wherein Gff(s) represents a transfer function of the feedforward compensation; Lq represents a stator inductance of a q-axis; R represents a stator resistance; Jm represents a rotational inertia of a servo motor rotor; Jp represents a rotational inertia of the hydraulic pump; Bm represents a friction damping coefficient of the servo motor; Bp represents a rotational damping of the hydraulic pump; Kip represents a conversion factor between current and power; Pn represents a number of motor pole pairs; Flux represents a magnetic flux linkage; Kwn represents a conversion factor between the rotation speed of a motor and angular velocity.
Preferably, the closed-loop pressure control deviation in Step S4 is:
- wherein VP represents a pressure control deviation; Pd represents a desired pressure; Pr represents an actual output pressure.
Compared to the prior art, the present disclosure has following beneficial effects: the real-time demand status of the pressure and flow of the robot as a whole can be determined by the analysis and modeling of the hydraulic power source for the robot and based on the trajectory planning and kinematic analysis of the robot; through the feedforward compensation of the flow closed-loop control, the matching degree between the flow output of the hydraulic power source and the demand of the robot as a whole can be enhanced, the energy consumption caused by excessive flow can be reduced, and the flow control precision can be improved; by establishing the conversion and compensation function of the pressure characteristics and the flow characteristics based on the pressure closed-loop control, forming the pressure and flow matching control method of the hydraulic power source, the stable pressure can be achieved while meeting the arbitrary flow output, to provide the stable pressure and the sufficient flow required by the robot as a whole with under various gaits, and meanwhile the pressure and flow output can be ensured to be in match with the actual needs of the robot, thereby reducing energy waste.
BRIEF DESCRIPTION OF THE DRAWINGS
FIG. 1 is a control method for matching flowchart of pressure and flow of a robot hydraulic power source according to the present disclosure;
FIG. 2 is a schematic view of the hydraulic power source according to the present disclosure;
FIG. 3 is a closed-loop control view of the flow of the hydraulic power source according to the present disclosure;
FIG. 4 is a matching control view of pressure and the flow of the hydraulic power source according to the present disclosure;
FIG. 5 is a sensor-based corrected matching control view of the pressure and the flow of the hydraulic power source according to the present disclosure;
FIG. 6 is a matching control sine response curve diagram of the pressure and the flow of the hydraulic power source according to the present disclosure;
FIG. 7 is a matching control gait response curve diagram of the pressure and flow of the hydraulic power source according to the present disclosure;
FIG. 8 is a matching control effect diagram of the pressure and the flow of the hydraulic power source of the present disclosure.
DETAILED DESCRIPTION
Exemplary embodiments, features and aspects of the present disclosure will be described in detail below with reference to the accompanying drawings. Same reference numbers denote elements with the same or similar functions in the figures. Although various aspects of embodiments are shown in the drawings and are not necessarily drawn to scale, unless otherwise specified.
The present disclosure provides a pressure and flow matching control method of a hydraulic power source for a robot. As shown in FIG. 1, it is a flowchart of the pressure and the flow matching control method of the hydraulic power source for the robot according to the present disclosure. A mathematical model of key components of the hydraulic power source is established. Based on the mathematical model of the key components of the hydraulic power source, a robot trajectory planning model and a kinematic model are constructed to determine the real-time pressure and flow characteristics of the hydraulic power source. Feedforward compensation is used to improve response speed, a closed-loop flow control link for the robot hydraulic power source is established, a conversion relationship from the pressure to the flow is established, and the matching control of the pressure and the flow of the robot hydraulic power source is realized, which includes:
Step S1: establishing a mathematical model of the key components of the hydraulic power source.
As shown in FIG. 2, it is a schematic diagram of the hydraulic power source of the present disclosure. The motor drives the pump to rotate, causing hydraulic oil with certain pressure and flow characteristics to enter different valve-controlled cylinders through an integrated valve block from filters, high-pressure sensors, and flow sensors.
An accumulator is used to supplement instantaneous flow, and AN overflow valve serves as a safety valve to protect the circuit; the mathematical model of the key components of the hydraulic power source consists of a servo motor, a piston pump, an accumulator, an overflow valve, a sensor, pipelines, a servo valve, and an asymmetric cylinder.
In an embodiment of the present disclosure, the servo motor is a direct current brushless motor, composed of a permanent magnet rotor and a multi-phase AC winding, driven by square waves, and a three-phase quantity of the motor is converted into an equivalent two-phase quantity in the d-q coordinate system through Clark-Park transformation. The mathematical model is constructed as follows:
Wherein Ud represents d coordinate axis voltage; Rs represents a motor internal resistance; id represents d coordinate axis current; Ψd represents d coordinate axis magnetic flux; ωe represents a motor rotational speed; represents q coordinate axis magnetic flux; Uq represents q coordinate axis voltage; iq represents q coordinate axis current; t represents a time parameter,
In the embodiment of the present disclosure, the piston pump is used for hydraulic pump control, specifically an axial piston pump, establishes a mathematical model for an outlet flow as:
Wherein Qp represents a hydraulic pump outlet flow; Vp represents a hydraulic pump displacement; n represents rotational speed of the motor and the hydraulic pump; ηv represents a volumetric efficiency of the hydraulic pump.
In the embodiment of the present disclosure, a diaphragm-type accumulator is selected, and the mathematical model for the relationship between a gas chamber pressure and an initial state is:
wherein Pa_g represents gas chamber pressure of an accumulator; pc represents an atmospheric pressure; Va_t represents a total volume of the accumulator; Va_f represents a liquid chamber volume of the accumulator; pa_pr represents a gas chamber pre-charge pressure of the accumulator; k represents an adiabatic coefficient.
In the embodiment of the present disclosure, a overflow valve selected is a proportional overflow valve with a pilot valve, and the mathematical model for the dynamic characteristics based on a main valve core opening area is:
wherein Δpv_ab represents a pressure difference on both ends of the overflow valve; Sv_leak represents a leakage area of a valve core of the overflow valve; Sv_max represents a maximum opening area of the valve core of the overflow valve; pv_max represents a maximum pressure of the overflow valve; pv_set represents a set pressure of the overflow valve; S(Δpv_ab) represents output of the overflow valve.
In the embodiment of the present disclosure, the mathematical model of the pipeline is:
wherein qp represents a pipeline flow; pp represents a pipeline pressure; Cep represents a pipeline leakage coefficient; Vp represents a pipeline volume; βe represents an effective volume elasticity modulus.
In the embodiment of the present disclosure, transfer function of a servo valve is simplified to a second-order oscillatory link, and the transfer function of an input voltage and a valve core displacement of is:
wherein Xv represents a complex function of the valve core displacement; Ug represents a complex function of the input voltage; s represents a complex frequency domain variable; Ka represents a power amplifier gain of the servo valve; Kxv represents a gain of the servo valve; ζ represents a damping ratio of the servo valve; ω represents a natural frequency of the servo valve.
In the embodiment of the present disclosure, the pressure sensor is equivalent to a proportional link, and a mathematical model between a feedback voltage and a hydraulic pressure is:
where Kps represents a gain of a pressure sensor; P represents a hydraulic pressure; Up represents a feedback voltage of the pressure sensor.
In the embodiment of the present disclosure, the flow sensor is a first-order link, and the mathematical model between the feedback voltage and the hydraulic flow is:
where Kqu represents a gain of a flow sensor; Qv represents a complex function of the hydraulic flow; Uq represents a complex function of the feedback voltage of the flow sensor.
In the embodiment of the present disclosure, flow equations for the asymmetric cylinder, which are an oil intake flow and an intake chamber volume of a rodless chamber and an oil return flow and a return chamber volume of a rod chamber, are respectively:
where Qf1 represents an oil intake flow of the rodless chamber; Qf2 represents an oil return flow of the rod chamber; A1 represents an effective area of the rodless chamber of the asymmetric cylinder; A2 represents an effective area of the rod chamber of the asymmetric cylinder; xp represents a piston displacement of the asymmetric cylinder; Cim represents an internal leakage coefficient of the asymmetric cylinder; βe represents an effective volume elasticity modulus; V01 represents an initial volume of the rodless chamber of the asymmetric cylinder; V02 represents an initial volume of the rod chamber of the asymmetric cylinder; p1 represents a pressure of the rodless chamber; p2 represents a pressure of the rod chamber; V1 represents a volume of the oil intake chamber of the rodless chamber; V2 represents a volume of the oil return chamber of the rod chamber.
In the embodiment of the present disclosure, the asymmetric cylinder is affected by inertial forces, viscous damping forces, elastic forces, and arbitrary external load forces, etc., so that a balance equation of the output force and a load force of the asymmetric cylinder is:
wherein Fp represents a load force of the asymmetric cylinder; P1 represents a pressure of the rodless chamber; P2 represents a pressure of the rod chamber; mt represents a total mass converted to a piston of the asymmetric cylinder; K represents a load stiffness of the asymmetric cylinder; Bp represents a damping coefficient of the load and the asymmetric cylinder; Ff represents a Coulomb friction force of the load and the asymmetric cylinder; FL represents an arbitrary external load force acting on the piston of the asymmetric cylinder.
Step S2: based on a mathematical model of key components of the hydraulic power source in step S1, constructing a planning model and a kinematic model of the robot's trajectory, in this embodiment, an input speed of the entire robot is 1.2 m/s, and a total load is 0 kg in a diagonal trot gait; analyzing a real-time pressure and flow requirements demanded by the robot from the hydraulic power source, as shown in FIG. 7, for the expected pressure and expected flow.
Step S21: analyzing load pressure characteristics of the robot under different gaits and working conditions, by calculating dynamics, obtaining a force exerted by each joint of the robot and converting it into the pressure required by the hydraulic system of each joint. According to a virtual model of the entire robot, the force exerted by each joint of the robot is determined as:
where Fi is an ith generalized force of a generalized coordinate, L is a Lagrangian function, and qj is a jth joint variable.
- the force exerted by each joint is transformed into the pressure required by each joint:
- where Pai represents a pressure of the rodless chamber; Pbi represents a pressure of the rod chamber; Apa represents an area of the rodless chamber; Apb represents an area of the rod chamber.
- the maximum pressure is determined to be the pressure that the hydraulic power source needs to output, and a calculation formula is as follows:
- where pmax represents a pressure that the hydraulic power source needs to output; Pai represents the pressure of the rodless chamber; Pbi represents the pressure of the rod chamber; max represents a function to take the maximum value.
Step S22: analyzing the load flow characteristics of the robot under different gaits and working conditions; on the robot model, establishing foot trajectory under the different gaits and working conditions; by solving through inverse kinematics, obtaining the working space of each joint of the robot. The inverse kinematics solution for the entire robot is as follows:
wherein θ1 represents a rotation angle of the first joint; θ2 represents a rotation angle of the second joint; θ3 represents a rotation angle of the third joint; 40Px represents a horizontal coordinate value in a pose transformation matrix; 40Py represents a vertical coordinate value in a pose transformation matrix; 40Pz represents a vertical coordinate value in a pose transformation matrix; C1 represents a cosine value of the rotation angle of the first joint θ1; S1 represents a sine value of the rotation angle of the first joint θ1; S3 represents the sine value of the rotation angle of the third joint θ3.
Based on the virtual model of the entire robot, the foot trajectory of the robot is determined as:
wherein x(t) represents a displacement in a direction of the foot; z(t) represents a displacement in a direction of the foot; S represents a step length of the robot; a0 represents a first constant coefficient; a1 represents a second constant coefficient; a2 represents a third constant coefficient; a3 represents a fourth constant coefficient; H0 represents a standing height of the robot; H represents a step height; β represents a duty cycle of the gait.
Then, a velocity of the joint hydraulic cylinders is extracted. An actual velocity of each robot joint is measured by the displacement sensor on the hydraulic cylinder and converted into the required flow for each joint. Based on the output flow of the hydraulic power source during the actual operation of the robot, a sum of the required flows of the hydraulic cylinders on each joint is superimposed. The desired flow, determined according to the opening state of the servo valve, is as follows:
wherein Qd represents a desired flow; vra represents a desired speed when the valve opening is positive; vrb represents a desired speed when the valve opening is negative; Apa represents an area of the rodless chamber of the hydraulic cylinder; Apb represents an area of the rod chamber of the hydraulic cylinder.
Step S3: Improving a response speed by using feedforward compensation and establishing a flow closed-loop control link for the hydraulic power source of the robot. As shown in FIG. 3, it is a flow closed-loop control block view of the present disclosure; based on the real-time flow characteristics of the hydraulic power source obtained in step S22, a flow closed-loop control link is established, the flow signal collected by the flow sensor is fed back to the controller, and feedforward compensation is introduced to improve the response speed, forming a flow closed-loop control.
A flow deviation of the flow closed-loop control is:
where VQ represents a closed-loop flow deviation; Qd represents a desired flow; Qr represents an actual output flow.
Controlling is carried out according to the flow deviation of the closed-loop control, and feedforward compensation is added to reduce a steady-state error. A transfer function of the flow closed-loop control is constructed as follows:
- where Q represents an actual flow; G2(s) represents a second transfer function of the servo motor; G3(s) represents a third transfer function of the servo motor; GPID(s) represents a transfer function of a PID controller; Qd represents a desired flow; Ps(s) represents a pressure complex function; vp represents a hydraulic pump displacement; Knq represents a conversion factor between the rotation speed and the flow; ηm represents a mechanical efficiency of the hydraulic pump; Gff(s) represents a feedforward compensator transfer function.
- wherein the feedforward compensation transfer function Gff(s) is:
- wherein Gff(s) represents the feedforward compensation transfer function; Lq represents a stator inductance (q-axis); R represents a stator resistance; Jm represents a rotational inertia of the servo motor rotor; Jp represents a rotational inertia of the hydraulic pump; Bm represents a friction damping coefficient of the servo motor; Bp represents a rotational damping of the hydraulic pump; Kip represents a conversion factor between the current and the power; Pn represents the number of motor pole pairs; Flux represents a magnetic flux linkage; Kwn represents a conversion factor between a motor speed and an angular velocity.
A tracking performance of the flow closed-loop control has been significantly improved. At an input frequency of 1.25 Hz and an amplitude of 9 L/min, the maximum error within a cycle is 2.7%, which can greatly reduce the error and enhance the flow sine response performance.
Step S4: establishing the conversion relationship from the pressure to the flow to achieve pressure and flow matching control of the hydraulic power source of the robot.
As shown in FIG. 4, it is the hydraulic power source pressure-flow matching control block view of the present disclosure. Based on the flow closed-loop control link in step S3 and the real-time pressure characteristics of the hydraulic power source obtained in step S21, the closed-loop pressure control deviation signal collected by the pressure sensor of the hydraulic system of the robot is fed back to the controller, and flow correction based on pressure is carried out. A dimensional coefficient for the conversion from the pressure to the flow is:
wherein Kpq is a conversion coefficient from the pressure to the overflow flow; QLmax is a maximum value of the overflow flow
The closed-loop pressure control deviation is:
wherein VP is a pressure control deviation; Pd is a desired pressure; Pr is an actual output pressure.
With the actual speed of the entire robot at 1.2 m/s and the total load at 0 kg in a diagonal trot gait, the hydraulic power source mathematical model in step S1 is input to obtain the output pressure and the flow of the hydraulic power source, as shown in the actual pressure and the flow at the pump outlet in FIG. 7. To establish the pressure, the flow at the pump outlet is higher than the desired flow, and the pressure also rises rapidly, and the flow at the pump outlet is slightly higher than the desired flow in the subsequent period.
According to the conversion coefficient Kpq from the pressure to the overflow flow, the impact of the pressure on the output is converted into the impact of flow on the output. Using the transfer function of the flow closed-loop control in step S3, the pressure and the flow matching control of the hydraulic power source of the robot can be achieved. FIG. 5 shows the hydraulic power source sensor-corrected pressure-flow matching control block view of the present disclosure.
As shown in FIG. 6, it is a hydraulic power source pressure-flow matching control sine response curve diagram of the present disclosure, both the desired pressure and the desired flow are set as sinusoidal signals with an amplitude of 3 MPa and a frequency of 1.25 Hz. The result shows that the response time and the accuracy are presented good by following the actual pressure and the flow output. This proves the effectiveness of the method proposed in the present disclosure under typical signal conditions.
As shown in FIG. 7, it is a hydraulic power source pressure-flow matching control gait response curve diagram of the present disclosure. Both the desired pressure and the desired flow are set as the actual requirements of the robot under typical gait conditions. The result shows that the pressure output can achieve closed-loop stable control, the flow output can meet the flow demand, and the matching degree is high. This proves the effectiveness of the method proposed in the present disclosure under the entire machine gait signal conditions.
As shown in FIG. 8, it is a hydraulic power source pressure-flow matching control gait response curve diagram of the present disclosure. Both the desired pressure and the desired flow are set as the actual requirements when the robot is in a diagonal trot gait, a motion speed of the robot as a whole is 1 m/s and the load is 0 kg. The results show that compared to the traditional PID control, the present disclosure can significantly improve distortion phenomenon of peaks and troughs, improve the following performance of the flow, enhance the flow response speed, and reduce the errors.
The present disclosure has following advantageous effects: the pressure and flow matching control method of the hydraulic power source for the robot is proposed in the embodiments of the present disclosure, in which analyze and model are performed by the hydraulic power source of the robot, and the real-time demand status of the pressure and the flow of the entire robot are determined based on the trajectory planning and the kinematic analysis of the robot; the flow closed-loop control with the feedforward compensation can enhance a matching degree between the flow output of the hydraulic power source and the demand of the entire robot, reduce the energy consumption caused by excessive flow, and it proves that the flow control accuracy can be improved through the analysis of the embodiments; the pressure characteristic and the flow conversion and the compensation function based on the pressure closed-loop control is established to form the pressure and flow matching control method of the hydraulic power source, which can achieve stable pressure while meeting any flow output, provide the stable pressure and sufficient flow required by the entire robot under various gaits, and make the pressure and flow output in match with the actual demand of the robot, thereby reducing the energy waste, it proves that the actual application effect of this method is better through the embodiments.
The embodiments described above are merely illustrative preferred implementations of the present disclosure rather than limiting the scope of the present disclosure. Various modifications and improvements made by the person skilled in the art to the technical solution of the present disclosure should all fall within the scope of protection determined by the claims of the present disclosure without departing from its spirit of the present disclosure.