CN116551695A - A hydraulic swing joint position servo system and its NDOB-SMC control method - Google Patents
A hydraulic swing joint position servo system and its NDOB-SMC control method Download PDFInfo
- Publication number
- CN116551695A CN116551695A CN202310680944.7A CN202310680944A CN116551695A CN 116551695 A CN116551695 A CN 116551695A CN 202310680944 A CN202310680944 A CN 202310680944A CN 116551695 A CN116551695 A CN 116551695A
- Authority
- CN
- China
- Prior art keywords
- swing joint
- joint position
- hydraulic
- servo system
- position servo
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 28
- 238000004088 simulation Methods 0.000 claims abstract description 33
- 239000003921 oil Substances 0.000 claims description 24
- 238000013461 design Methods 0.000 claims description 20
- 239000002131 composite material Substances 0.000 claims description 11
- 238000013178 mathematical model Methods 0.000 claims description 7
- 238000006073 displacement reaction Methods 0.000 claims description 5
- 238000013016 damping Methods 0.000 claims description 4
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 238000010276 construction Methods 0.000 claims description 3
- 239000010720 hydraulic oil Substances 0.000 claims description 3
- 238000011217 control strategy Methods 0.000 abstract description 9
- 230000004044 response Effects 0.000 abstract description 5
- 238000010586 diagram Methods 0.000 description 16
- 238000004458 analytical method Methods 0.000 description 5
- 238000002474 experimental method Methods 0.000 description 5
- 238000011160 research Methods 0.000 description 5
- 230000008859 change Effects 0.000 description 4
- 230000003044 adaptive effect Effects 0.000 description 3
- 238000004364 calculation method Methods 0.000 description 3
- 230000006872 improvement Effects 0.000 description 3
- 238000004422 calculation algorithm Methods 0.000 description 2
- 244000145845 chattering Species 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 238000011161 development Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 239000007788 liquid Substances 0.000 description 2
- 230000008569 process Effects 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 1
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 1
- 230000009471 action Effects 0.000 description 1
- 230000003321 amplification Effects 0.000 description 1
- 238000013528 artificial neural network Methods 0.000 description 1
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000012530 fluid Substances 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000003199 nucleic acid amplification method Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000000725 suspension Substances 0.000 description 1
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1628—Programme controls characterised by the control loop
- B25J9/163—Programme controls characterised by the control loop learning, adaptive, model based, rule based expert control
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J17/00—Joints
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1602—Programme controls characterised by the control system, structure, architecture
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B25—HAND TOOLS; PORTABLE POWER-DRIVEN TOOLS; MANIPULATORS
- B25J—MANIPULATORS; CHAMBERS PROVIDED WITH MANIPULATION DEVICES
- B25J9/00—Programme-controlled manipulators
- B25J9/16—Programme controls
- B25J9/1628—Programme controls characterised by the control loop
- B25J9/1633—Programme controls characterised by the control loop compliant, force, torque control, e.g. combined with position control
Landscapes
- Engineering & Computer Science (AREA)
- Robotics (AREA)
- Mechanical Engineering (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
本发明涉及一种液压摆动关节位置伺服系统及其NDOB‑SMC控制方法,首先设计液压摆动关节位置伺服系统,该系统中伺服阀与液压缸的缸体一体化直连设计,舍弃油管连接,不仅结构更加紧凑,而且减少了部分干扰因素;其次设计一种基于非线性干扰观测器的滑模控制策略,将非线性干扰观测器和滑模控制结合,充分发挥各自优势,提高液压摆动关节的跟踪精度和响应速度;最后结合AMEsim平台丰富的元件模型库和Matlab平台强大的数值运算能力,通过创建S‑Funcution接口,实现两个平台的联合仿真,验证所提出控制方法的有效性和优越性。
The invention relates to a hydraulic swing joint position servo system and its NDOB-SMC control method. Firstly, the hydraulic swing joint position servo system is designed. In the system, the servo valve and the cylinder body of the hydraulic cylinder are integrated and directly connected, and the oil pipe connection is abandoned. The structure is more compact, and some interference factors are reduced; secondly, a sliding mode control strategy based on a nonlinear disturbance observer is designed, which combines the nonlinear disturbance observer and sliding mode control to give full play to their respective advantages and improve the tracking of hydraulic swing joints Accuracy and response speed; Finally, combined with the rich component model library of the AMEsim platform and the powerful numerical computing capabilities of the Matlab platform, the joint simulation of the two platforms is realized by creating the S-Function interface, and the effectiveness and superiority of the proposed control method are verified.
Description
技术领域:Technical field:
本发明涉及液压摆动关节控制技术领域,具体涉及一种液压摆动关节位置伺服系统及其NDOB-SMC控制方法。The invention relates to the technical field of hydraulic swing joint control, and in particular to a hydraulic swing joint position servo system and an NDOB-SMC control method thereof.
背景技术:Background technology:
目前,大多数的机器人关节是由电机驱动,但其输出功率低,特别是在救援、勘探和军事等特殊的任务中,它们的负载容量难以满足需求。经过学者们的研究和发现,电液伺服系统驱动的液压机器人,具有单位功率体积比高、运行稳定、响应速度快的优点,在现代工业、军事等领域中逐步得到了运用,其控制问题也逐渐成为人们关注的焦点。At present, most robot joints are driven by motors, but their output power is low, especially in special tasks such as rescue, exploration and military, their load capacity is difficult to meet the needs. After research and discovery by scholars, hydraulic robots driven by electro-hydraulic servo systems have the advantages of high power-to-volume ratio, stable operation and fast response speed. They have been gradually used in modern industry, military and other fields, and their control issues have gradually become the focus of people's attention.
电液伺服系统受到伺服阀流量的非线性、系统参数和模型的不确定性以及其它干扰因素的影响,增加了电液伺服系统高性能控制器研制的难度。常规PID控制因其算法简单、控制参数较为独立等特点,被广泛应用,但是在电液伺服系统这类非线性领域中,定位控制能力较差。因此,许多学者针对系统的非线性、参数的不确定性以及外界干扰对系统跟踪精度影响的问题,提出了许多控制策略。例如,自适应控制、鲁棒控制、模糊控制、主动抗干扰控制、基于观测器控制与滑模控制等。其中滑模控制相对于其控制而言,对系统参数变化和扰动不敏感,具有很好的适应性与鲁棒性,使其在军事、航空、交通及其它非线性控制领域中得到了广泛应用。然而滑模控制因为滑动模态的存在,在控制输入时,会引起“抖振”现象,因此如何减弱抖振而又不影响滑模控制器的性能,是当今众多学者所研究的课题。例如,Rubagotti等人设计了一种积分形式的滑模面,该积分滑模控制使得系统鲁棒性增强。Xue等人所设计的滑模控制器,在一定时间内,可以使位置误差收敛到零,但是它要求不受外界干扰,且控制器的输出参数仍存在抖振现象。Gao等人提出了一种能更快收敛的终端滑模控制,并研究了自适应滑模控制律。Yang等人提出了一种基于自适应高阶神经网络的滑模控制器,其通过多个控制策略组合的方法,较好地降低了滑模控制器的抖振,取得了更好的控制精度。因此,在系统复杂性和控制需求增加的情况下,许多学者尝试结合多种控制方法,以实现整个控制系统的最优性能。其中一些学者引入了干扰观测器的方法对控制器输入进行补偿,非线性干扰观测器相比线性。The electro-hydraulic servo system is affected by the nonlinearity of the servo valve flow, the uncertainty of system parameters and models, and other interference factors, which increases the difficulty of developing high-performance controllers for electro-hydraulic servo systems. Conventional PID control is widely used because of its simple algorithm and relatively independent control parameters. However, in nonlinear fields such as electro-hydraulic servo systems, the positioning control ability is poor. Therefore, many scholars have proposed many control strategies to address the problems of system nonlinearity, parameter uncertainty, and the influence of external interference on system tracking accuracy. For example, adaptive control, robust control, fuzzy control, active anti-interference control, observer-based control and sliding mode control. Among them, sliding mode control is insensitive to system parameter changes and disturbances compared to its control, and has good adaptability and robustness, making it widely used in military, aviation, transportation and other nonlinear control fields. However, due to the existence of sliding mode, sliding mode control will cause "chattering" phenomenon when controlling input. Therefore, how to reduce chattering without affecting the performance of sliding mode controller is a topic studied by many scholars today. For example, Rubagotti et al. designed an integral sliding mode surface, which enhances the robustness of the system. The sliding mode controller designed by Xue et al. can make the position error converge to zero within a certain period of time, but it requires no external interference, and the output parameters of the controller still have jitter. Gao et al. proposed a terminal sliding mode control that can converge faster, and studied the adaptive sliding mode control law. Yang et al. proposed a sliding mode controller based on an adaptive high-order neural network, which effectively reduced the jitter of the sliding mode controller and achieved better control accuracy by combining multiple control strategies. Therefore, with the increase in system complexity and control requirements, many scholars have tried to combine multiple control methods to achieve the optimal performance of the entire control system. Some of these scholars introduced the disturbance observer method to compensate for the controller input. Nonlinear disturbance observers are more accurate than linear ones.
干扰观测器的设计难度更大,而非线性干扰观测器能更好地消除非线性系统中存在的不确定性及未知干扰,对干扰进行实时估计。例如Zhu等人使用的干扰观测器,成功抑制了外界的干扰,提高了系统的准确性。Bu等人设计了一种基于改进滑模微分器的新型的非线性干扰观测器,该观测器可以有效地抑制非线性干扰,提高了系统的鲁棒性,并通过仿真验证了该观测器的有效性,文中还对所设计的观测器进行了仿真,在弹性状态无法测量问题得到解决后,精度亦有所提高。The design of disturbance observer is more difficult, while nonlinear disturbance observer can better eliminate the uncertainty and unknown disturbance in nonlinear system and estimate the disturbance in real time. For example, the disturbance observer used by Zhu et al. successfully suppressed the external disturbance and improved the accuracy of the system. Bu et al. designed a new type of nonlinear disturbance observer based on improved sliding mode differentiator, which can effectively suppress nonlinear disturbance and improve the robustness of the system. The effectiveness of the observer was verified by simulation. The designed observer was also simulated in this paper. After the problem of elastic state cannot be measured was solved, the accuracy was also improved.
在仿真实验过程中,大多数学者最早是基于单一软件平台进行模拟仿真实验。该方法能有效缩短开发周期、成本和风险以及确保了较好的可靠性。但由于系统复杂性越来越高,要求也在不断提升,电液伺服系统具有内在非线性行为,建模不确定性等特点,使得建立准确的数学模型变得十分困难,采用单一的软件平台进行仿真实验,已经远远不能满足现阶段模拟仿真的需要。因此近几年一些学者采用联合仿真的方法,进行电液伺服系统和其它相关方面的研究与实验,它的应用领域主要涉及汽车悬架、机床及起重执行器等。对于联合仿真的研究,Liu等人研究了虚拟样机的建模方法,以及简化代替它们的动力学系统,但是模型的建立并不精确。Zhang等人通过使用S-function接口调用AMEsim平台,进行了AMEsim与Matlab平台的联合仿真,增强了对电液升举系统的控制策略开发能力,并很好地验证了所提出的观测器-滑模控制策略的控制精度。为了解决阀芯卡死的问题,Chen等人同时采用了Matlab,AMEsim和Fluent三款平台进行联合仿真,通过实验获得了滑阀内各个油口的关键流量数据。In the simulation experiment process, most scholars first conducted simulation experiments based on a single software platform. This method can effectively shorten the development cycle, cost and risk, and ensure good reliability. However, due to the increasing complexity of the system and the continuous improvement of requirements, the electro-hydraulic servo system has inherent nonlinear behavior and modeling uncertainty, which makes it very difficult to establish an accurate mathematical model. The use of a single software platform for simulation experiments is far from meeting the needs of simulation at this stage. Therefore, in recent years, some scholars have adopted the method of joint simulation to conduct research and experiments on electro-hydraulic servo systems and other related aspects. Its application areas mainly involve automobile suspension, machine tools and lifting actuators. For the study of joint simulation, Liu et al. studied the modeling method of virtual prototypes and simplified the dynamic system that replaced them, but the model was not established accurately. Zhang et al. used the S-function interface to call the AMEsim platform and conducted a joint simulation of the AMEsim and Matlab platforms, which enhanced the control strategy development capabilities of the electro-hydraulic lifting system and well verified the control accuracy of the proposed observer-sliding mode control strategy. In order to solve the problem of valve core sticking, Chen et al. used Matlab, AMEsim and Fluent platforms for joint simulation, and obtained the key flow data of each oil port in the sliding valve through experiments.
通过对现有文献的分析研究可知,现有学者已经在滑模控制、非线性干扰观测器以及联合仿真等方面分别做出了大量的研究贡献,但具体到液压摆动关节位置伺服系统上,尤其是针对电液位置伺服系统的非线性及其模型的不确定性,如何实现对其进行高性能控制以及如何对控制策略进行联合仿真验证成为新的技术难题。Through the analysis and research of existing literature, it can be seen that existing scholars have made a lot of research contributions in sliding mode control, nonlinear disturbance observer and joint simulation. However, when it comes to the hydraulic swing joint position servo system, especially the nonlinearity of the electro-hydraulic position servo system and the uncertainty of its model, how to achieve high-performance control and how to conduct joint simulation verification of the control strategy have become new technical challenges.
需要说明的是,上述内容属于发明人的技术认知范畴,并不必然构成现有技术。It should be noted that the above contents belong to the technical knowledge of the inventor and do not necessarily constitute prior art.
发明内容:Summary of the invention:
本发明的目的在于解决现有技术所存在的问题,提供一种液压摆动关节位置伺服系统及其NDOB-SMC控制方法,首先设计液压摆动关节位置伺服系统,该系统中伺服阀与液压缸的缸体一体化直连设计,舍弃油管连接,不仅结构更加紧凑,而且减少了部分干扰因素;其次设计一种基于非线性干扰观测器的滑模控制策略,将非线性干扰观测器和滑模控制结合,充分发挥各自优势,提高液压摆动关节的跟踪精度和响应速度;最后结合AMEsim平台丰富的元件模型库和Matlab平台强大的数值运算能力,通过创建S-Funcution接口,实现两个平台的联合仿真,验证所提出控制方法的有效性和优越性。The purpose of the present invention is to solve the problems existing in the prior art and provide a hydraulic swing joint position servo system and its NDOB-SMC control method. Firstly, a hydraulic swing joint position servo system is designed. In the system, the servo valve and the cylinder body of the hydraulic cylinder are directly connected in an integrated manner, and the oil pipe connection is abandoned, which not only makes the structure more compact, but also reduces some interference factors; secondly, a sliding mode control strategy based on a nonlinear disturbance observer is designed, which combines the nonlinear disturbance observer and the sliding mode control to give full play to their respective advantages and improve the tracking accuracy and response speed of the hydraulic swing joint; finally, combining the rich component model library of the AMEsim platform and the powerful numerical computing ability of the Matlab platform, by creating an S-Funcution interface, the joint simulation of the two platforms is realized, and the effectiveness and superiority of the proposed control method are verified.
本发明通过采取以下技术方案实现上述目的:The present invention achieves the above-mentioned purpose by adopting the following technical solutions:
一种液压摆动关节位置伺服系统,包括液压摆动关节,所述液压摆动关节包括上连接板,所述上连接板上设有摆动式液压缸,所述摆动式液压缸的活塞杆设计成圆弧状,所述活塞杆上设有下连接板,所述下连接板跟随活塞杆做旋转摆动,所述下连接板的旋转摆动中心处设有角度传感器,所述摆动式液压缸的缸体上设有伺服阀,所述伺服阀与液压站连接,所述角度传感器与电脑连接,所述电脑与伺服阀连接。A hydraulic swing joint position servo system comprises a hydraulic swing joint, wherein the hydraulic swing joint comprises an upper connecting plate, a swing hydraulic cylinder is arranged on the upper connecting plate, a piston rod of the swing hydraulic cylinder is designed to be in an arc shape, a lower connecting plate is arranged on the piston rod, the lower connecting plate rotates and swings following the piston rod, an angle sensor is arranged at the rotation and swinging center of the lower connecting plate, a servo valve is arranged on the cylinder body of the swing hydraulic cylinder, the servo valve is connected to a hydraulic station, the angle sensor is connected to a computer, and the computer is connected to the servo valve.
所述缸体对应下连接板的旋转摆动中心处设有空心轴,所述空心轴两端分别设有轴承,每个所述轴承上设有一所述下连接板,所述下连接板外侧壁上设有轴承档盘,两所述下连接板对称安装在活塞杆上。A hollow shaft is provided at the rotation and swing center of the cylinder body corresponding to the lower connecting plate, and bearings are provided at both ends of the hollow shaft. Each bearing is provided with a lower connecting plate, and a bearing stopper is provided on the outer side wall of the lower connecting plate. The two lower connecting plates are symmetrically installed on the piston rod.
所述缸体采用分体设计,包括对称设计的内缸筒和外缸筒,所述内缸筒和外缸筒通过螺纹连接,所述外缸筒侧壁上设有伺服阀,所述角度传感器设置在空心轴内,所述角度传感器的转轴安装在其中一个下连接板上,且转轴与下连接板的旋转摆动中心共线。The cylinder body adopts a split design, including an inner cylinder and an outer cylinder of symmetrical design, the inner cylinder and the outer cylinder are connected by threads, a servo valve is provided on the side wall of the outer cylinder, the angle sensor is arranged in a hollow shaft, the rotating shaft of the angle sensor is installed on one of the lower connecting plates, and the rotating shaft is collinear with the rotation and swing center of the lower connecting plate.
一种液压摆动关节位置伺服系统的NDOB-SMC控制方法,包括如上所述的一种液压摆动关节位置伺服系统,具体步骤如下:An NDOB-SMC control method for a hydraulic swing joint position servo system includes the hydraulic swing joint position servo system as described above, and the specific steps are as follows:
S1、建立液压摆动关节位置伺服系统的数学模型,具体包括:S1. Establish a mathematical model of the hydraulic swing joint position servo system, specifically including:
建立液压摆动关节位置伺服系统的负载力矩平衡方程,其表达式为:The load torque balance equation of the hydraulic swing joint position servo system is established, and its expression is:
PL=p1-p2; PL = p1 - p2 ;
kq=Cdw(1/ρ)1/2 k q =C d w(1/ρ) 1/2
其中,A为活塞有效面积,PL为流量增益,p1为上腔压力,p2为下腔压力,Cd为流量系数,w为伺服阀的面积梯度,ρ为液压油密度,R为活塞杆旋转半径,TL为外部负载扭矩,Bp为等效粘性阻尼系数,JL为转动惯量,为系统中所有未建模的干扰项;Where A is the effective area of the piston, PL is the flow gain, p1 is the upper chamber pressure, p2 is the lower chamber pressure, Cd is the flow coefficient, w is the area gradient of the servo valve, ρ is the hydraulic oil density, R is the piston rod rotation radius, TL is the external load torque, BP is the equivalent viscous damping coefficient, JL is the moment of inertia, are all unmodeled disturbances in the system;
定义状态变量:Define the state variables:
则液压摆动关节位置伺服系统的状态方程表示为:Then the state equation of the hydraulic swing joint position servo system is expressed as:
式中,α=[α1,α2,α3,α4]T,α1=BpR2/JL,d1(t)=[f(t,x1,x2)+TL]/JL,d1(t)为系统不匹配模型的不确定因素的复合干扰,d2(t)=(4ARβe/VtJL)Q(t),d2(t)为系统匹配模型的不确定因素的复合干扰,α2=4ARβekt/VtJL,α3=4A2R2βe/VtJL,α4=4βeCi/Vt,λ1=[ps-x3sign(u) JL/AR]1/2,βe为油液弹性模量,Vt为两腔总容积,Q(t)为时变建模误差,u为系统总控制律,kt为总流量增益,Ci为内部泄漏流量系数,Ce为外部泄漏流量系数,ps为供应压力;In the formula, α=[ α1 , α2 , α3 , α4 ] T , α1=BpR2 / JL , d1 (t)=[f(t, x1 , x2 )+ TL ]/ JL , d1 (t)=( 4ARβe / VtJL )Q(t), d2 ( t ) is the composite interference of the uncertain factors of the system mismatching model, α2 = 4ARβekt / VtJL , α3= 4A2R2βe / VtJL , α4 = 4βeCi / Vt , λ1 = [ ps - x3sign (u ) JL / AR ] 1/2 , βe is the elastic modulus of the oil, V t is the total volume of the two chambers, Q(t) is the time-varying modeling error, u is the total control law of the system, kt is the total flow gain, Ci is the internal leakage flow coefficient, Ce is the external leakage flow coefficient, and ps is the supply pressure;
S2、设计超螺旋干扰观测器,具体包括:S2. Design a super spiral interference observer, specifically including:
构造不匹配模型的超螺旋干扰观测器,其表达式如下:The superhelical interference observer of the mismatched model is constructed, and its expression is as follows:
式中In the formula
其中,参数a1、a2均为正数,则d1(t)的干扰估计为:Where, parameters a 1 and a 2 are both positive numbers, and the interference estimate of d 1 (t) is:
构造匹配模型的超螺旋干扰观测器,其表达式如下:The superhelical interference observer of the matching model is constructed, and its expression is as follows:
式中,In the formula,
其中,参数a3、a4均为正数,则d2(t)的干扰估计为:Wherein, the parameters a 3 and a 4 are both positive numbers, and the interference estimate of d 2 (t) is:
S3、设计滑模控制器,得到系统总控制律,具体包括:S3. Design a sliding mode controller to obtain the overall control law of the system, which includes:
设定液压摆动关节位置伺服系统的角度期望信号为xd,液压摆动关节位置伺服系统的实际角位移输出信号为x1,则液压摆动关节位置伺服系统的误差向量如下:Assuming the angle expected signal of the hydraulic swing joint position servo system is x d , and the actual angular displacement output signal of the hydraulic swing joint position servo system is x 1 , the error vector of the hydraulic swing joint position servo system is as follows:
令则控制对象可以改写为:make Then the control object can be rewritten as:
将该式与液压摆动关节位置伺服系统的状态方程相结合得:Combining this formula with the state equation of the hydraulic swing joint position servo system, we get:
由此式转换式可得:From this conversion formula we can get:
取[c1,c2,1]T均大于零,则选择滑模面的切换函数为:If [c 1 ,c 2 ,1] T are all greater than zero, the switching function of the sliding surface is:
s(x)=c1e1+c2e2+e3 s(x)=c 1 e 1 +c 2 e 2 +e 3
对上式两边进行求导,并将等式代入得到:Derivative both sides of the above equation and Substituting the equation into the equation, we get:
其中:in:
由式和式可得补偿控制律为:By Japanese style The compensation control law can be obtained for:
选择指数趋近律的滑模控制器设计方法为:The design method of sliding mode controller with exponential reaching law is:
求得系统总控制律u为:The overall control law u of the system is obtained as:
式中,k1、k2为滑模控制器不连续增益,且均大于零;Where, k 1 and k 2 are discontinuous gains of the sliding mode controller, and both are greater than zero;
根据系统总控制律u对液压摆动关节进行精准控制;The hydraulic swing joint is precisely controlled according to the system's overall control law u;
S4、进行联合仿真实验,具体包括:S4. Conduct joint simulation experiments, including:
首先,在AMEsim平台上完成液压摆动关节位置伺服系统模型的搭建及参数设置,以及建立SimuCosim接口,操作液压摆动关节位置伺服系统模型产生S函数并输出包括角度、角速度、压强的信息,以与Matlab/Simulink相连;其次,在Matlab/Simulink平台上建立并运行滑模控制模型,产生一个输出控制信号u给AMEsim平台,实现对AMEsim平台的实时控制;最后,AMEsim平台将信息反馈至Matlab平台,从而实现联合仿真。Firstly, the construction and parameter setting of the hydraulic swing joint position servo system model are completed on the AMEsim platform, and the SimuCosim interface is established. The hydraulic swing joint position servo system model is operated to generate the S function and output information including angle, angular velocity, and pressure to connect with Matlab/Simulink; secondly, the sliding mode control model is established and run on the Matlab/Simulink platform to generate an output control signal u to the AMEsim platform to realize real-time control of the AMEsim platform; finally, the AMEsim platform feeds back the information to the Matlab platform to realize joint simulation.
所述步骤S1中,设定1:液压摆动关节位置伺服系统的角度期望信号为xd,xd∈C3,液压摆动关节位置伺服系统正常工作情况下,摆动式液压缸满足:0<pr<p1<ps,0<pr<p2<ps,p1为上腔压力,p2为下腔压力,ps为供应压力,pr为回油压力;且|PL|比ps足够小,以保证α2λ1≠0;In the step S1, setting 1: the angle expected signal of the hydraulic swing joint position servo system is x d , x d ∈ C 3 , and when the hydraulic swing joint position servo system works normally, the swing hydraulic cylinder satisfies: 0< pr <p 1 < ps , 0< pr <p 2 < ps , p 1 is the upper chamber pressure, p 2 is the lower chamber pressure, p s is the supply pressure, p r is the return oil pressure; and | PL | is smaller than p s to ensure that α 2 λ 1 ≠0;
设定2:复合干扰di(t)有界,且di(t)可导。Setting 2: The composite disturbance d i (t) is bounded and d i (t) is differentiable.
所述步骤S1中,引理1为:设定1≤i≤n,考虑受控系统:In step S1, Lemma 1 is: Assume 1≤i≤n, and consider the controlled system:
其中,x~i为状态变量,di(t)为复合干扰,di(t)的一阶导存在;Among them, x~ i is the state variable, d i (t) is the composite disturbance, and the first-order derivative of d i (t) is exist;
采用超螺旋控制律:Using super-helical control law:
usi(t)=u1i(t)+u2i(t);u si (t)=u 1i (t)+u 2i (t);
设定:ai、ai+1为正数且满足:Assume that a i and a i+1 are positive numbers and satisfy:
由此可得:From this we can get:
所以液压摆动关节位置伺服系统稳定,且在有限时间内收敛至零。Therefore, the hydraulic swing joint position servo system is stable and converges to zero in finite time.
所述步骤S2中,设定超螺旋干扰观测器和液压摆动关节位置伺服系统之间的估计误差为:In step S2, the estimated error between the super-helical disturbance observer and the hydraulic swing joint position servo system is set to:
将与Will and
相减得:Subtracting:
将上式与结合得到:Combine the above formula with Combined to get:
根据引理1可知,和将在有限时间内收敛至零,于是得到d1(t)的干扰估计为:According to Lemma 1, and will converge to zero in a finite time, so the interference estimate of d 1 (t) is:
同理,将与Similarly, and
相减得到:Subtracting them gives:
根据引理1可知,和将在有限时间内收敛至零,于是得到d2(t)的干扰估计为:According to Lemma 1, and will converge to zero in a finite time, so the interference estimate of d 2 (t) is:
所述步骤S3中,取液压摆动关节位置伺服系统的Lyapunov函数为:In step S3, the Lyapunov function of the hydraulic swing joint position servo system is taken as:
对式两边同时求导,并将以及Take the derivative of both sides of the equation and as well as
代入可得:Substituting in, we get:
由式可知,当(γ-k2)<0且k1>0,则恒成立,并且只有当s=0时,故闭环系统是稳定的。By It can be seen that when (γ-k 2 )<0 and k 1 >0, then Always holds, and only when s=0, Therefore, the closed-loop system is stable.
本发明采用上述结构,能够带来如下有益效果:The present invention adopts the above structure, which can bring the following beneficial effects:
本文在其它学者研究的基础上,首先创新性的设计了一种液压摆动关节位置伺服系统,该系统最大改进在于将伺服阀与缸体直连,舍弃了伺服阀与传统液压缸之间油液输送管路的使用,极大地提高了空间利用率,削弱了因为油压、油温而导致的输送管路体积变化的非线性问题,减少了部分干扰因素。在上述基础上设计了一种基于非线性干扰观测器的滑模控制策略,建立了液压摆动关节位置伺服系统的数学模型,以此为基础,针对系统的不确定因素及干扰采用干扰观测器的方法进行补偿,以减弱它们对液压摆动关节位置伺服系统产生的影响,整体控制器采用滑模控制,以提高液压摆动关节的跟踪精度和响应速度。最后,使用AMEsim平台构建液压摆动关节位置伺服系统的模型,在Matlab/Simulink平台搭设基于非线性干扰观测器的滑模控制器,最终通过S-function接口调用AMEsim平台,开展联合仿真,验证了所提出的控制方法的有效性和优越性。Based on the research of other scholars, this paper first innovatively designs a hydraulic swing joint position servo system. The biggest improvement of this system is that the servo valve is directly connected to the cylinder body, and the use of the oil delivery pipeline between the servo valve and the traditional hydraulic cylinder is abandoned, which greatly improves the space utilization, weakens the nonlinear problem of the volume change of the delivery pipeline caused by oil pressure and oil temperature, and reduces some interference factors. On the above basis, a sliding mode control strategy based on nonlinear disturbance observer is designed, and the mathematical model of the hydraulic swing joint position servo system is established. On this basis, the method of disturbance observer is used to compensate for the uncertain factors and interference of the system to reduce their influence on the hydraulic swing joint position servo system. The overall controller adopts sliding mode control to improve the tracking accuracy and response speed of the hydraulic swing joint. Finally, the model of the hydraulic swing joint position servo system is constructed using the AMEsim platform, and the sliding mode controller based on the nonlinear disturbance observer is set up on the Matlab/Simulink platform. Finally, the AMEsim platform is called through the S-function interface to carry out joint simulation, and the effectiveness and superiority of the proposed control method are verified.
附图说明:Description of the drawings:
图1为本发明液压摆动关节的结构示意图;FIG1 is a schematic structural diagram of a hydraulic swing joint according to the present invention;
图2为本发明液压摆动关节另一视角的结构示意图;FIG2 is a schematic structural diagram of the hydraulic swing joint of the present invention from another perspective;
图3为本发明液压摆动关节的爆炸图;FIG3 is an exploded view of the hydraulic swing joint of the present invention;
图4为本发明液压摆动关节另一视角的爆炸图;FIG4 is an exploded view of the hydraulic swing joint of the present invention from another perspective;
图5为本发明液压摆动关节安装在穿戴设备上的结构示意图;FIG5 is a schematic diagram of the structure of the hydraulic swing joint of the present invention installed on a wearable device;
图6为本发明液压摆动关节位置伺服系统的工作原理图;FIG6 is a working principle diagram of the hydraulic swing joint position servo system of the present invention;
图7为本发明AMEsim16与Matlab 2016a之间的协同仿真示意图;FIG7 is a schematic diagram of collaborative simulation between AMEsim16 and Matlab 2016a of the present invention;
图8为本发明AMEsim中的液压系统模型示意图;FIG8 is a schematic diagram of a hydraulic system model in AMEsim of the present invention;
图9为本发明Matlab中的NDOB-SMC控制器示意图;FIG9 is a schematic diagram of the NDOB-SMC controller in Matlab of the present invention;
图10为本发明NDOB-SMC恒负载有效性验证的仿真结果图;FIG10 is a simulation result diagram of the effectiveness verification of the NDOB-SMC constant load of the present invention;
图11为本发明变负载子模型及其质量变化曲线图;FIG11 is a graph showing a variable load sub-model and its mass variation curve of the present invention;
图12为本发明采用变负载的联合仿真结果图;FIG12 is a diagram showing the combined simulation results of the present invention using variable load;
图13为本发明变幅值正弦信号下的角度误差对比图;FIG13 is a comparison diagram of angle errors under variable amplitude sinusoidal signals of the present invention;
图14为本发明变幅值正弦信号下的角度跟踪曲线对比图;FIG14 is a comparison diagram of angle tracking curves under variable amplitude sinusoidal signals of the present invention;
图15为本发明三角波信号下的角度跟踪曲线对比图;FIG15 is a comparison diagram of angle tracking curves under a triangular wave signal of the present invention;
图16为本发明变幅值信号下的角度跟踪曲线对比图;FIG16 is a comparison diagram of angle tracking curves under variable amplitude signals of the present invention;
图17为本发明三角波输入信号下的角度误差对比图;FIG17 is a comparison diagram of angle errors under a triangular wave input signal of the present invention;
图18为本发明变幅值输入信号下的角度误差对比图;FIG18 is a comparison diagram of angle errors under variable amplitude input signals of the present invention;
图中,1、上连接板,2、摆动式液压缸,201、缸体,202、活塞杆,203、内缸筒,204、外缸筒,3、下连接板,4、角度传感器,401、转轴,5、伺服阀,6、液压站,601、油箱,602、液压泵,603、电动机,604、安全阀,605、吸油过滤器,7、电脑,8、空心轴,9、轴承,10、轴承档盘,11、穿戴设备。In the figure, 1. upper connecting plate, 2. swing hydraulic cylinder, 201. cylinder body, 202. piston rod, 203. inner cylinder, 204. outer cylinder, 3. lower connecting plate, 4. angle sensor, 401. rotating shaft, 5. servo valve, 6. hydraulic station, 601. oil tank, 602. hydraulic pump, 603. motor, 604. safety valve, 605. oil suction filter, 7. computer, 8. hollow shaft, 9. bearing, 10. bearing stop plate, 11. wearable device.
具体实施方式:Specific implementation method:
为了更清楚的阐释本发明的整体构思,下面结合说明书附图以示例的方式进行详细说明。In order to more clearly illustrate the overall concept of the present invention, a detailed description is given below in an exemplary manner in conjunction with the accompanying drawings.
在下面的描述中阐述了很多具体细节以便于充分理解本发明,但是,本发明还可以采用其他不同于在此描述的其他方式来实施,因此,本发明的保护范围并不受下面公开的具体实施例的限制。In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
本说明书中的各个实施例均采用递进的方式描述,各个实施例之间相同相似的部分互相参见即可,每个实施例重点说明的都是与其他实施例的不同之处。The various embodiments in this specification are described in a progressive manner, and the same or similar parts between the various embodiments can be referenced to each other, and each embodiment focuses on the differences from other embodiments.
此外,术语“上”、“下”、“旋转摆动”、“内”、“外”等仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的位置。Furthermore, the terms "upper", "lower", "rotational swing", "inner", "outer", etc. are used for descriptive purposes only and are not to be understood as indicating or implying relative importance or implicitly indicating the position of the indicated technical features.
在本发明中,需要说明的是,为了便于描述及更好的理解本申请方案,本申请在公式后面设置了(n),n为正整数,(n)仅代表公式的顺序标号。In the present invention, it should be noted that in order to facilitate description and better understand the present application scheme, the present application sets (n) after the formula, n is a positive integer, and (n) only represents the sequence number of the formula.
在本发明中,除非另有明确的规定和限定,术语“设有”、“设置”、“连接”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接;可以是直接相连,也可以通过中间媒介间接相连。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise clearly specified and limited, the terms "provided with", "set", "connected" and the like 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; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
如图1-6所示,一种液压摆动关节位置伺服系统,包括液压摆动关节,所述液压摆动关节包括上连接板1,所述上连接板1上设有摆动式液压缸2,所述摆动式液压缸2的活塞杆202设计成圆弧状,所述活塞杆202上设有下连接板3,所述下连接板3跟随活塞杆202做旋转摆动,所述下连接板3的旋转摆动中心处设有角度传感器4,所述摆动式液压缸2的缸体201上设有伺服阀5,所述伺服阀5通过油路与液压站6连接,所述角度传感器4与电脑7通讯连接,所述电脑7与伺服阀5通讯连接。在液压驱动机器人中,直线伸缩活塞缸式与摆动缸式两种驱动模式最为普遍。使用直线伸缩活塞缸式液压驱动的机器人,间接地实现了机器人关节的运动,但是尺寸过大以及结构上带来的额外非线性问题制约着机器人性能的发挥。针对上述问题,本文设计了一款缸体伺服阀一体化的紧凑型液压摆动关节,将伺服阀5安装在摆动式液压缸2之上,舍弃了伺服阀5与传统液压缸之间油液输送管路的使用,极大地提高了空间利用率,削弱了因为油压、油温而导致的输送管路体积变化的非线性问题,减少了部分干扰因素。液压摆动关节位置伺服系统的工作过程,首先该系统中的油液在液压泵602(液压站6的部件,液压泵602由电动机603驱动,整个油路还设有油箱601、安全阀604、吸油过滤器605等)的作用下流动,而油液的流量和方向受到伺服阀5的控制,然后供给到摆动式液压缸2,使摆动式液压缸2中的活塞杆202开始运作并带动关节的旋转摆动。关节在摆动工作时,角度传感器4观测摆动关节的转动角度,并输出角度信号给电脑7,经过电脑7计算,输出控制信号来调整伺服阀5的开口方向和开度,进而实现对液压摆动关节的角度位置控制。本申请的液压摆动关节位置伺服系统实际应用中需要安装在穿戴设备11,通过穿戴设备实现与人体交互。As shown in Fig. 1-6, a hydraulic swing joint position servo system includes a hydraulic swing joint, the hydraulic swing joint includes an upper connecting plate 1, a swing hydraulic cylinder 2 is provided on the upper connecting plate 1, the piston rod 202 of the swing hydraulic cylinder 2 is designed to be arc-shaped, a lower connecting plate 3 is provided on the piston rod 202, the lower connecting plate 3 rotates and swings following the piston rod 202, an angle sensor 4 is provided at the rotation and swing center of the lower connecting plate 3, a servo valve 5 is provided on the cylinder body 201 of the swing hydraulic cylinder 2, the servo valve 5 is connected to the hydraulic station 6 through an oil circuit, the angle sensor 4 is connected to the computer 7 for communication, and the computer 7 is connected to the servo valve 5 for communication. In hydraulically driven robots, the linear telescopic piston cylinder type and the swing cylinder type are the most common driving modes. Robots using linear telescopic piston cylinder type hydraulic drive indirectly realize the movement of robot joints, but the excessive size and additional nonlinear problems caused by the structure restrict the performance of the robot. In view of the above problems, this paper designs a compact hydraulic swing joint with integrated cylinder servo valve. The servo valve 5 is installed on the swing hydraulic cylinder 2, and the use of the oil delivery pipeline between the servo valve 5 and the traditional hydraulic cylinder is abandoned, which greatly improves the space utilization, weakens the nonlinear problem of the volume change of the delivery pipeline caused by oil pressure and oil temperature, and reduces some interference factors. The working process of the hydraulic swing joint position servo system, first, the oil in the system flows under the action of the hydraulic pump 602 (a component of the hydraulic station 6, the hydraulic pump 602 is driven by the motor 603, and the entire oil circuit is also equipped with an oil tank 601, a safety valve 604, an oil suction filter 605, etc.), and the flow and direction of the oil are controlled by the servo valve 5, and then supplied to the swing hydraulic cylinder 2, so that the piston rod 202 in the swing hydraulic cylinder 2 starts to operate and drives the rotation and swing of the joint. When the joint is swinging, the angle sensor 4 observes the rotation angle of the swing joint and outputs an angle signal to the computer 7. After calculation by the computer 7, a control signal is output to adjust the opening direction and opening degree of the servo valve 5, thereby realizing the angle position control of the hydraulic swing joint. In actual application, the hydraulic swing joint position servo system of the present application needs to be installed on a wearable device 11 to realize interaction with the human body through the wearable device.
所述缸体201对应下连接板3的旋转摆动中心处设有空心轴8,所述空心轴8两端分别设有轴承9,每个所述轴承9上设有一所述下连接板3,所述下连接板3外侧壁上设有轴承档盘10,两所述下连接板3对称安装在活塞杆202上。通过设计空心轴8和轴承9能够对下连接板3旋转进行支撑,下连接板3的结构强度以及旋转摆动稳定性更好。The cylinder body 201 is provided with a hollow shaft 8 at the rotation and swing center of the lower connecting plate 3, and bearings 9 are respectively provided at both ends of the hollow shaft 8, and a lower connecting plate 3 is provided on each bearing 9, and a bearing stopper 10 is provided on the outer wall of the lower connecting plate 3, and the two lower connecting plates 3 are symmetrically mounted on the piston rod 202. By designing the hollow shaft 8 and the bearing 9, the rotation of the lower connecting plate 3 can be supported, and the structural strength and rotation and swing stability of the lower connecting plate 3 are better.
所述缸体201采用分体设计,包括对称设计的内缸筒203和外缸筒204,所述内缸筒203和外缸筒204通过螺纹连接(采用螺栓、螺母等螺纹结构连接,图中示意图了安装孔位),所述外缸筒204与位于外侧的下连接板3之间设有卷簧11,所述内缸筒203与位于内侧的下连接板3之间设有卷簧11,所述外缸筒204侧壁上设有伺服阀5,所述角度传感器4设置在空心轴8内,所述角度传感器4的转轴401安装在其中一个下连接板3上,且所述转轴401与下连接板3的旋转摆动中心共线。缸体201采用分体设计,不仅便于活塞杆202的安装拆装,而且便于在外缸筒204上直接加工出所需油路,实现与伺服阀5直连(不用油管连接)。The cylinder body 201 adopts a split design, including a symmetrically designed inner cylinder 203 and an outer cylinder 204, the inner cylinder 203 and the outer cylinder 204 are connected by threads (connected by bolts, nuts and other threaded structures, the installation holes are schematically shown in the figure), a coil spring 11 is provided between the outer cylinder 204 and the lower connecting plate 3 located on the outside, a coil spring 11 is provided between the inner cylinder 203 and the lower connecting plate 3 located on the inside, a servo valve 5 is provided on the side wall of the outer cylinder 204, the angle sensor 4 is arranged in the hollow shaft 8, the rotating shaft 401 of the angle sensor 4 is installed on one of the lower connecting plates 3, and the rotating shaft 401 is collinear with the rotation and swing center of the lower connecting plate 3. The cylinder body 201 adopts a split design, which is not only convenient for the installation and disassembly of the piston rod 202, but also convenient for directly processing the required oil circuit on the outer cylinder 204 to achieve direct connection with the servo valve 5 (without oil pipe connection).
如图7-9所示,一种液压摆动关节位置伺服系统的NDOB-SMC控制方法,包括如上所述的一种液压摆动关节位置伺服系统,具体步骤如下:As shown in FIGS. 7-9 , a NDOB-SMC control method for a hydraulic swing joint position servo system includes the hydraulic swing joint position servo system as described above, and the specific steps are as follows:
S1、建立液压摆动关节位置伺服系统的数学模型,具体包括:S1. Establish a mathematical model of the hydraulic swing joint position servo system, specifically including:
首先,伺服阀5的流量方程可以表示为:First, the flow equation of the servo valve 5 can be expressed as:
QL=(Q1+Q2)/2 (2)Q L =(Q 1 +Q 2 )/2 (2)
PL=p1-p2 (3)P L = p 1 - p 2 (3)
kq=Cdw(1/ρ)1/2 (4)k q =C d w(1/ρ) 1/2 (4)
式中,QL为负载流量,Q1为高液位腔的流量,Q2为低液位腔的流量,Xv为滑阀的阀芯位移,Ps为供应压力,PL为流量增益,Cd为流量系数,w为伺服阀的面积梯度,ρ为液压油密度;Where, Q L is the load flow, Q 1 is the flow of the high liquid level cavity, Q 2 is the flow of the low liquid level cavity, X v is the valve core displacement of the slide valve, P s is the supply pressure, PL is the flow gain, C d is the flow coefficient, w is the area gradient of the servo valve, and ρ is the hydraulic oil density;
其中,sign(Xv)可描述为:Among them, sign(X v ) can be described as:
本申请使用高响应伺服阀,因此伺服阀5的控制与滑阀位移成比例,即Xv=kvu,其中kv为伺服放大器的放大增益,u为系统总控制律,故公式(1)可以转换为:The present application uses a high-response servo valve, so the control of the servo valve 5 is proportional to the displacement of the slide valve, that is, X v = k v u, where k v is the amplification gain of the servo amplifier and u is the overall control law of the system, so formula (1) can be converted to:
kt=kvkq (7)k t = k v k q (7)
其中,kt为相对于u的总流量增益。Where kt is the total flow gain relative to u.
摆动式液压缸的流量连续性方程为:The flow continuity equation of the swing hydraulic cylinder is:
上述方程式(8)和(9)可以转化为摆动式液压缸两个腔的压力动力学方程:The above equations (8) and (9) can be transformed into the pressure dynamics equations of the two chambers of the swing hydraulic cylinder:
其中,Q(t)为时变建模误差(由内部泄漏、参数偏差、未建模压力动态等引起的),Ci为内部泄漏流量系数,Ce为外部泄漏流量系数,V1为上腔有效容积,V2为下腔有效容积,Vt为两腔总容积,βe为油液弹性模量。Where Q(t) is the time-varying modeling error (caused by internal leakage, parameter deviation, unmodeled pressure dynamics, etc.), Ci is the internal leakage flow coefficient, Ce is the external leakage flow coefficient, V1 is the effective volume of the upper chamber, V2 is the effective volume of the lower chamber, Vt is the total volume of the two chambers, and βe is the elastic modulus of the oil.
本文提出的液压摆动关节是基于弧形液压缸数学模型搭建和控制,相较于传统直杆活塞液压缸的负载力平衡方程,弧形摆动式液压缸采用的是负载弯矩平衡方程。因液压缸动力元件的运动特性受到载荷的影响,其中包括黏滞阻尼力、惯性力、弹性力、缸壁摩擦力和随机载荷力,所以液压摆动关节位置伺服系统的负载力矩平衡方程的负载力矩平衡方程可以表示为:The hydraulic swing joint proposed in this paper is built and controlled based on the mathematical model of the arc hydraulic cylinder. Compared with the load force balance equation of the traditional straight rod piston hydraulic cylinder, the arc swing hydraulic cylinder adopts the load moment balance equation. Because the motion characteristics of the hydraulic cylinder power element are affected by the load, including viscous damping force, inertia force, elastic force, cylinder wall friction force and random load force, the load moment balance equation of the hydraulic swing joint position servo system can be expressed as:
PL=p1-p2 (12)P L = p 1 - p 2 (12)
kq=Cdw(1/ρ)1/2 (13)k q =C d w(1/ρ) 1/2 (13)
其中,A为活塞有效面积,p1为上腔压力,p2为下腔压力,R为活塞杆旋转半径,TL为外部负载扭矩,Bp为等效粘性阻尼系数,JL为转动惯量,为系统中所有未建模的干扰项;Where A is the effective area of the piston, p1 is the upper chamber pressure, p2 is the lower chamber pressure, R is the piston rod rotation radius, TL is the external load torque, BP is the equivalent viscous damping coefficient, JL is the moment of inertia, are all unmodeled disturbances in the system;
定义状态变量:Define the state variables:
则液压摆动关节位置伺服系统的状态方程表示为:Then the state equation of the hydraulic swing joint position servo system is expressed as:
式中,α=[α1,α2,α3,α4]T,α1=BpR2/JL,d1(t)=[f(t,x1,x2)+TL]/JL,d1(t)为系统不匹配模型的不确定因素的复合干扰,d2(t)=(4ARβe/VtJL)Q(t),d2(t)为系统匹配模型的不确定因素的复合干扰,α2=4ARβekt/VtJL,α3=4A2R2βe/VtJL,α4=4βeCi/Vt,λ1=[ps-x3sign(u) JL/AR]12。In the formula, α=[α1,α2,α3,α4]T, α1=BpR2 / JL , d1 ( t ) = [ f(t, x1 , x2 )+ TL ]/ JL , d1 (t) is the composite interference of the uncertain factors of the system mismatching model, d2 (t)=( 4ARβe / VtJL )Q(t), d2 ( t ) is the composite interference of the uncertain factors of the system matching model, α2 = 4ARβekt / VtJL , α3 = 4A2R2βe / VtJL , α4 = 4βeCi / Vt , λ1 =[ ps - x3sign (u ) JL / AR ] 12 .
假设1:液压摆动关节位置伺服系统的角度期望信号为xd,xd∈C3,液压摆动关节位置伺服系统正常工作情况下,摆动式液压缸满足:0<pr<p1<ps,0<pr<p2<ps,其中pr为回油压力;且|PL|比ps足够小,以保证α2λ1≠0;Assumption 1: The angle expected signal of the hydraulic swing joint position servo system is x d , x d ∈ C 3 . When the hydraulic swing joint position servo system works normally, the swing hydraulic cylinder satisfies: 0< pr <p 1 < ps , 0< pr <p 2 < ps , where p r is the return oil pressure; and | PL | is smaller than p s to ensure that α 2 λ 1 ≠0;
假设2:复合干扰di(t)有界,即存在未知正实数ψi>0,使得|di(t)|≤ψi,同时di(t)可导,即存在 Assumption 2: The composite disturbance d i (t) is bounded, that is, there exists an unknown positive real number ψ i >0 such that |d i (t)|≤ψ i , and at the same time d i (t) is differentiable, that is, there exists
引理1:设定1≤i≤n,考虑受控系统:Lemma 1: Let 1≤i≤n and consider the controlled system:
其中,为状态变量,di(t)为复合干扰,di(t)的一阶导存在;in, is the state variable, d i (t) is the composite disturbance, and the first-order derivative of d i (t) is exist;
采用超螺旋控制律:Using super-helical control law:
usi(t)=u1i(t)+u2i(t) (17)u si (t)=u 1i (t)+u 2i (t) (17)
设定:ai、ai+1为正数且满足:Assume that a i and a i+1 are positive numbers and satisfy:
由此可得:From this we can get:
所以液压摆动关节位置伺服系统稳定,且在有限时间内收敛至零。Therefore, the hydraulic swing joint position servo system is stable and converges to zero in finite time.
S2、设计超螺旋干扰观测器,具体包括:S2. Design a super spiral interference observer, specifically including:
根据公式(15)以及在假设1和假设2的前提下,构造不匹配模型的超螺旋干扰观测器,其表达式如下:According to formula (15) and under the premise of assumptions 1 and 2, the superhelical interference observer of the mismatch model is constructed, and its expression is as follows:
式中In the formula
其中,参数a1、a2均为正数,则d1(t)的干扰估计为:Where, parameters a 1 and a 2 are both positive numbers, and the interference estimate of d 1 (t) is:
根据公式(15)以及在假设1和假设2的前提下,构造匹配模型的超螺旋干扰观测器,其表达式如下:According to formula (15) and under the premise of assumptions 1 and 2, the superhelical interference observer of the matching model is constructed, and its expression is as follows:
式中,In the formula,
其中,参数a3、a4均为正数,则d2(t)的干扰估计为:Wherein, the parameters a 3 and a 4 are both positive numbers, and the interference estimate of d 2 (t) is:
对上述计算验证:Verify the above calculations:
设定超螺旋干扰观测器和系统之间的估计误差为:The estimated error between the super-helical disturbance observer and the system is assumed to be:
将式(15)中的与式(22)相减得:In formula (15), Subtracting from formula (22) we get:
将式(23)与式(29)结合得到:Combining equation (23) with equation (29), we can obtain:
根据引理1可知,和将在有限时间内收敛至零,于是得到d1(t)的干扰估计为式(24)。According to Lemma 1, and will converge to zero in a finite time, so the interference estimate of d 1 (t) is obtained as equation (24).
同理,将式(15)中的与式(25)相减得到:Similarly, we can transform Subtracting from formula (25) we get:
根据引理1可知,和将在有限时间内收敛至零,于是得到d2(t)的干扰估计为式(27)。According to Lemma 1, and will converge to zero in a finite time, so the interference estimate of d 2 (t) is obtained as equation (27).
S3、设计滑模控制器,得到系统总控制律,具体包括:S3. Design a sliding mode controller to obtain the overall control law of the system, which includes:
设定液压摆动关节位置伺服系统的角度期望信号为xd,液压摆动关节位置伺服系统的实际角位移输出信号为x1,则液压摆动关节位置伺服系统的误差向量如下:Assuming the angle expected signal of the hydraulic swing joint position servo system is x d , and the actual angular displacement output signal of the hydraulic swing joint position servo system is x 1 , the error vector of the hydraulic swing joint position servo system is as follows:
令则控制对象可以改写为:make Then the control object can be rewritten as:
将该式与液压摆动关节位置伺服系统的状态方程相结合得:Combining this formula with the state equation of the hydraulic swing joint position servo system, we get:
由此式转换式可得:From this conversion formula we can get:
取[c1,c2,1]T均大于零,则选择滑模面的切换函数为:If [c 1 ,c 2 ,1] T are all greater than zero, the switching function of the sliding surface is:
s(x)=c1e1+c2e2+e3 (36)s(x)=c 1 e 1 +c 2 e 2 +e 3 (36)
对上式两边进行求导,并将等式代入得到:Derivative both sides of the above equation and Substituting the equation into the equation, we get:
其中:in:
由式和式可得补偿控制律为:By Japanese style The compensation control law can be obtained for:
选择指数趋近律的滑模控制器设计方法为:The design method of sliding mode controller with exponential reaching law is:
求得系统总控制律u为:The overall control law u of the system is obtained as:
式(41)中,k1、k2为滑模控制器不连续增益,且均大于零;In formula (41), k 1 and k 2 are discontinuous gains of the sliding mode controller, and both are greater than zero;
根据系统总控制律u对液压摆动关节进行精准控制。The hydraulic swing joint is precisely controlled according to the system's overall control law u.
稳定性分析:Stability analysis:
取系统的Lyapunov函数为:Take the Lyapunov function of the system as:
对式(42)两边同时求导,并将式(37)以及式(40)代入可得式(43):Deriving both sides of equation (42) at the same time, and substituting equation (37) and equation (40) into equation (43) we can get:
由式可知,当(γ-k2)<0且k1>0,则恒成立,并且只有当s=0时,故闭环系统是稳定的。By It can be seen that when (γ-k 2 )<0 and k 1 >0, then Always holds, and only when s=0, Therefore, the closed-loop system is stable.
S4、进行联合仿真实验,具体包括:S4. Conduct joint simulation experiments, including:
电液伺服控制系统的非线性和建模的不确定性,使其难以直接建立精确的数学模型,然而AMEsim和Matlab联合仿真平台,它不仅融合了AMEsim对机械和液压系统所凸显的流体仿真能力,而且充分利用到了Matlab强大的数值计算能力,为此,采用S-function接口调用两个平台,汲取两者的优势,可以实现完美的互补。在Matlab 2016a和AMEsim 16中搭建联合仿真模型,验证了所提出控制器的有效性。The nonlinearity and modeling uncertainty of the electro-hydraulic servo control system make it difficult to directly establish an accurate mathematical model. However, the AMEsim and Matlab joint simulation platform not only integrates the fluid simulation capabilities of AMEsim for mechanical and hydraulic systems, but also makes full use of the powerful numerical calculation capabilities of Matlab. For this reason, the S-function interface is used to call the two platforms, drawing on the advantages of both, which can achieve perfect complementarity. A joint simulation model is built in Matlab 2016a and AMEsim 16 to verify the effectiveness of the proposed controller.
首先,在AMEsim平台上完成液压摆动关节位置伺服系统模型的搭建及参数设置,以及建立SimuCosim接口,操作液压摆动关节位置伺服系统模型产生S函数并输出包括角度、角速度、压强等信息,以与Matlab/Simulink相连;其次,在Matlab/Simulink平台上建立并运行滑模控制模型,产生一个输出控制信号u给AMEsim平台,实现对AMEsim平台的实时控制;最后,AMEsim平台将信息反馈至Matlab平台,从而实现联合仿真。Firstly, the construction and parameter setting of the hydraulic swing joint position servo system model are completed on the AMEsim platform, and the SimuCosim interface is established. The hydraulic swing joint position servo system model is operated to generate the S function and output information including angle, angular velocity, pressure, etc. to connect with Matlab/Simulink; secondly, the sliding mode control model is established and run on the Matlab/Simulink platform to generate an output control signal u to the AMEsim platform to realize real-time control of the AMEsim platform; finally, the AMEsim platform feeds back the information to the Matlab platform to realize joint simulation.
AMEsim液压系统主要参数如下表:The main parameters of AMEsim hydraulic system are as follows:
为了验证本文所提出的基于非线性干扰观测器的滑模控制方法,在液压摆动关节位置伺服系统中的有效性和优越性。对NDOB-SMC、传统PID和传统SMC三种控制方案进行了仿真对比实验。本节主要设计了以下两种仿真场景(1)考虑输入信号为正弦信号情况时,NDOB-SMC控制在恒负载与变负载的两种工况下的有效性分析。(2)在变负载前提下,对三种控制方法输入正弦信号、三角波信号及变幅值信号,进行优越性分析。In order to verify the effectiveness and superiority of the sliding mode control method based on nonlinear disturbance observer proposed in this paper in the hydraulic swing joint position servo system. Simulation comparison experiments were carried out on three control schemes: NDOB-SMC, traditional PID and traditional SMC. This section mainly designs the following two simulation scenarios: (1) When the input signal is a sinusoidal signal, the effectiveness analysis of NDOB-SMC control under two working conditions of constant load and variable load is considered. (2) Under the premise of variable load, the three control methods are input with sinusoidal signals, triangular wave signals and variable amplitude signals, and the superiority is analyzed.
(1)有效性分析(1) Effectiveness analysis
当负载力恒定时,使液压摆动关节的摆动时间为t=24s,做-20°~20°的正弦运动,给定幅值为20,频率为π/4,相位为-π/2的正弦信号,恒定负载为15kg。NDOB-SMC控制参数分别为k1=3.9e3,k2=5,c1=4e4,c2=400。干扰观测器参数如下a1=5,a2=3,a3=5,a4=3,干扰观测器的增益分别0.8e-5、0.6e-6。其仿真结果如图10所示。When the load force is constant, the swing time of the hydraulic swing joint is t = 24s, and the sinusoidal motion is -20° to 20°. The given amplitude is 20, the frequency is π/4, and the phase is -π/2. The sinusoidal signal, and the constant load is 15kg. The NDOB-SMC control parameters are k 1 = 3.9e3, k 2 = 5, c 1 = 4e4, c 2 = 400. The disturbance observer parameters are as follows: a 1 = 5, a 2 = 3, a 3 = 5, a 4 = 3, and the gains of the disturbance observer are 0.8e-5 and 0.6e-6 respectively. The simulation results are shown in Figure 10.
同时为了更好地验证所提出控制的有效性,使用变负载来代替恒定负载,但是AMEsim中并不存在一个满足需要的子模型,因此利用AMEsim平台中AMEsim set功能,设计一款变负载的子模型,使它在5kg~25kg的范围内正弦变化,它的子模型设计图及负载变化曲线见图11所示。如图12所示,是采用变负载的联合仿真结果。At the same time, in order to better verify the effectiveness of the proposed control, variable load is used instead of constant load, but there is no sub-model that meets the requirements in AMEsim. Therefore, the AMEsim set function in the AMEsim platform is used to design a sub-model with variable load, so that it changes sinusoidally in the range of 5kg to 25kg. Its sub-model design diagram and load change curve are shown in Figure 11. As shown in Figure 12, it is the joint simulation result using variable load.
通过上述联合仿真试验,无论是在恒定负载还是变负载运行状态下,NDOB-SMC均可使跟踪精度稳定于固定范围内,它的有效性已被证实。Through the above joint simulation experiments, NDOB-SMC can stabilize the tracking accuracy within a fixed range regardless of constant load or variable load operation, and its effectiveness has been confirmed.
(2)优越性分析(2) Superiority Analysis
为了验证所提出的控制算法的优越性,本次实验对比了传统的PID控制和传统SMC控制。PID因其在结构上的优势被广泛应用在控制领域,其参数如下P=0.04,I=0.1,D=0。SMC控制器参数如下k3=3.9e3,k4=5,c3=4e4,c4=400。同样给定正弦信号,幅值为20,频率为π/4,相位为-π/2。负载仍为变负载,其曲线如图10所示。仿真实验的误差曲线结果如图13所示,角度跟踪曲线如图14所示。In order to verify the superiority of the proposed control algorithm, this experiment compares the traditional PID control and the traditional SMC control. PID is widely used in the control field due to its structural advantages. Its parameters are as follows: P = 0.04, I = 0.1, D = 0. The SMC controller parameters are as follows: k 3 = 3.9e3, k 4 = 5, c 3 = 4e4, c 4 = 400. Similarly, a sinusoidal signal is given with an amplitude of 20, a frequency of π/4, and a phase of -π/2. The load is still a variable load, and its curve is shown in Figure 10. The error curve results of the simulation experiment are shown in Figure 13, and the angle tracking curve is shown in Figure 14.
从图13和14中能清晰地观察到,在相同正弦期望信号输入的情况下,SMC控制的角度误差在±0.15°范围内,而传统PID控制角度误差达到了±0.2°。从图11中的数据可知,添加了非线性干扰观测器的滑模控制能将角度误差稳定控制在±0.1°附近,与传统SMC及传统PID控制相比,具有更为出色的跟踪精度。It can be clearly observed from Figures 13 and 14 that, under the same sinusoidal desired signal input, the angle error of SMC control is within the range of ±0.15°, while the angle error of traditional PID control reaches ±0.2°. From the data in Figure 11, it can be seen that the sliding mode control with the addition of a nonlinear disturbance observer can stably control the angle error to around ±0.1°, which has better tracking accuracy than traditional SMC and traditional PID control.
同时为了充分验证本文提出的NDOB-SMC控制,在液压摆动关节位置伺服系统实际应用中的优越性和适应性。实验将期望信号分别采用为±20°的三角波信号以及-20°~90°范围内变化的变幅值正弦信号,对三种控制器的性能进行考察。其仿真实验的三角波信号角度跟踪结果如图15所示、变幅值正弦信号角度跟踪结果如图16所示。两种信号下的角度误差分别如图17、18所示。At the same time, in order to fully verify the superiority and adaptability of the NDOB-SMC control proposed in this paper in the practical application of the hydraulic swing joint position servo system. The experiment uses the expected signal as a triangle wave signal of ±20° and a variable amplitude sine signal ranging from -20° to 90° to investigate the performance of the three controllers. The angle tracking results of the triangle wave signal of the simulation experiment are shown in Figure 15, and the angle tracking results of the variable amplitude sine signal are shown in Figure 16. The angle errors under the two signals are shown in Figures 17 and 18 respectively.
如图15、17所示,在期望信号为三角波时,NDOB-SMC控制相比传统的PID控制(误差±0.1°)和传统的SMC控制(误差±0.15°),尽管在三角波的转折点附近有很大的波动,但是仍能使角度误差稳定在±0.05°内,使跟踪角度快速收敛,并且获得较好的跟踪精度。As shown in Figures 15 and 17, when the expected signal is a triangular wave, compared with the traditional PID control (error ±0.1°) and the traditional SMC control (error ±0.15°), although there is a large fluctuation near the turning point of the triangular wave, the NDOB-SMC control can still stabilize the angle error within ±0.05°, make the tracking angle converge quickly, and obtain better tracking accuracy.
如图16、18直观显示,以变幅值作为期望信号时,NDOB-SMC整体角度误差能稳定控制在±0.5°以内,拥有更好的跟踪精度,而传统PID控制的角度误差在±1°范围内波动,传统SMC控制的角度误差在±0.75°范围内波动,比NDOB-SMC控制的跟踪效果差。NDOB-SMC控制在接受多种信号的输入的同时,又能很好地适应负载质量的多种变化。以上实验结果表明本文提出的控制策略具有更高的控制精度,同时也能使系统获得较好的动态性能及稳定状态,可以满足实际工况需要。As shown in Figures 16 and 18, when the variable amplitude is used as the expected signal, the overall angle error of NDOB-SMC can be stably controlled within ±0.5°, with better tracking accuracy, while the angle error of traditional PID control fluctuates within the range of ±1°, and the angle error of traditional SMC control fluctuates within the range of ±0.75°, which is worse than the tracking effect of NDOB-SMC control. While accepting the input of multiple signals, NDOB-SMC control can adapt well to various changes in load quality. The above experimental results show that the control strategy proposed in this paper has higher control accuracy, and can also enable the system to obtain better dynamic performance and stable state, which can meet the needs of actual working conditions.
上述具体实施方式不能作为对本发明保护范围的限制,对于本技术领域的技术人员来说,对本发明实施方式所做出的任何替代改进或变换均落在本发明的保护范围内。The above specific implementation manner cannot be used as a limitation on the protection scope of the present invention. For those skilled in the art, any substitution, improvement or change made to the implementation manner of the present invention falls within the protection scope of the present invention.
本发明未详述之处,均为本技术领域技术人员的公知技术。The matters not described in detail in the present invention are all known technologies to those skilled in the art.
Claims (8)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310680944.7A CN116551695A (en) | 2023-06-08 | 2023-06-08 | A hydraulic swing joint position servo system and its NDOB-SMC control method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310680944.7A CN116551695A (en) | 2023-06-08 | 2023-06-08 | A hydraulic swing joint position servo system and its NDOB-SMC control method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116551695A true CN116551695A (en) | 2023-08-08 |
Family
ID=87501963
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310680944.7A Pending CN116551695A (en) | 2023-06-08 | 2023-06-08 | A hydraulic swing joint position servo system and its NDOB-SMC control method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116551695A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117193044A (en) * | 2023-09-28 | 2023-12-08 | 广东海洋大学 | Fuzzy active disturbance rejection control joint simulation method for electrohydraulic servo system |
-
2023
- 2023-06-08 CN CN202310680944.7A patent/CN116551695A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117193044A (en) * | 2023-09-28 | 2023-12-08 | 广东海洋大学 | Fuzzy active disturbance rejection control joint simulation method for electrohydraulic servo system |
CN117193044B (en) * | 2023-09-28 | 2024-04-30 | 广东海洋大学 | Fuzzy active disturbance rejection control joint simulation method for electrohydraulic servo system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104345639B (en) | A kind of electro-hydraulic position servo system Robust Adaptive Control method | |
CN104111607B (en) | A kind of control method of the electric machine position servo system considering input delay | |
CN108181818B (en) | Robust adaptive control method for electro-hydraulic position servo system with unmodeled friction dynamics | |
CN110456646B (en) | Design method of anchor rod drilling machine drill arm swing angle self-adaptive sliding mode control system based on EKF | |
Shen et al. | Fuzzy sliding mode control with state estimation for velocity control system of hydraulic cylinder using a new hydraulic transformer | |
CN104932259A (en) | Gain self-adjustment type supercoiling slip form control method for electro-hydraulic positioning servo system | |
CN116551695A (en) | A hydraulic swing joint position servo system and its NDOB-SMC control method | |
CN107092189B (en) | Control method of multivariable input EHA system based on model predictive control | |
CN105068426B (en) | The continuous sliding-mode control of electro-hydraulic position servo system based on interference compensation | |
WO2024244892A1 (en) | Vehicle fuzzy feedforward path tracking control method based on hydraulic steering leakage compensation | |
CN111308889B (en) | Adaptive integral robust control method of spray rod system | |
Cheng et al. | A multi-mode electronic load sensing control scheme with power limitation and pressure cut-off for mobile machinery | |
CN116482983A (en) | Construction method of electro-hydraulic proportional servo reduced-order active disturbance rejection controller with dead zone compensation | |
Ba et al. | Force Compensation Control for Electro-Hydraulic Servo System with pump–valve compound drive via QFT–DTOC | |
Sun et al. | Compensation control of hydraulic manipulator under pressure shock disturbance | |
Ning et al. | Control performance and energy-saving potential analysis of a hydraulic hybrid luffing system for a bergepanzer | |
Liu et al. | Flow match and precision motion control of asymmetric electro-hydrostatic actuators with complex external force in four-quadrants | |
CN106527150B (en) | A kind of non-linear composite control method of Pneumatic servo loading system | |
Meng et al. | Active disturbance rejection decoupling control for independent-metering electro-hydraulic system with online compensation information | |
CN108333919B (en) | An unbalanced barrel pitch position control method considering road surface fluctuation interference | |
Shen et al. | Finite‐time command filtered control combined with pi‐sigma fuzzy neural network for hydraulic control system | |
CN111781836B (en) | An adaptive asymptotic control method for hydraulic pressure preset performance | |
Sun et al. | Optimal energy consumption and response capability assessment for hydraulic servo systems containing counterbalance valves | |
CN117784618B (en) | Tracking and tracking layered robust control method for articulated intelligent road sweeper | |
CN117193044B (en) | Fuzzy active disturbance rejection control joint simulation method for electrohydraulic servo system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |