999精品在线视频,手机成人午夜在线视频,久久不卡国产精品无码,中日无码在线观看,成人av手机在线观看,日韩精品亚洲一区中文字幕,亚洲av无码人妻,四虎国产在线观看 ?

Fuzzy PID control for position tracking of series manipulator based on the PSO algorithm

2020-07-24 05:40:04LiweiTANGHongqinYAN
機床與液壓 2020年12期

Li-wei TANG, Hong-qin YAN

(1Loudi Vocational and Technical College, Loudi 417000, China)(2The College of Electric and Information Engineering, Hunan University, Changsha 410082, China)

Abstract: The PID controller is often used in the motion control of series manipulator, which has the problems of large overshoot and low tracking accuracy. Based on this, a fuzzy PID controller based on particle swarm optimization (PSO) algorithm is designed. First of all, the dynamic equation and transfer function were deduced based on the model of serial manipulator with two arms. Secondly, the system structure of the controller was designed, and the PSO algorithm was used to optimize the control parameters of fuzzy PID controller, which improved the adaptive ability and tracking precision of the system. Finally, the tracking and control of manipulator position were simulated by the MATLAB. The simulation results show that the PID controller has certain oscillation and large overshoot. After fuzzy adjustment, the overshoot becomes small and the stability is better; on this basis, the response speed gets faster, and the overshoot is basically eliminated through PSO optimization.

Key words: Manipulator, Fuzzy-PID control, Particle swarm optimization, MATLAB simulation

1 Introduction

At present, international scholars have carried out relevant research work on manipulator motion control, including PID control [1], sliding mode control [2], fuzzy control [3], neural network control [4], etc. PID control is an algorithm to implement control according to the real-time deviation of system tracking through linear combination of proportion, integral and differential, which advantages are simple structure, easy implementation and strong robustness. However, in actual production, PID controller is troubled by complicated parameter setting, the low accuracy, and the weak adaptability. There is a strong coupling between the joints of the series manipulator, and the grasping load of the manipulator is often changing, so the traditional PID control is difficult to obtain a satisfactory control effect. Sliding mode control has strong robustness and practicability in dealing with the uncertainties and the external disturbances of system, but there are discontinuous switching characteristics in sliding mode control, which causes the vibration of the control system. Fuzzy control has the characteristics of strong robustness and good fault tolerance. It has a good control effect on problems such as non-linearity and lag in manipulator motion control. However, this control method based on fuzzy thinking also leads to low control precision and poor dynamic characteristics. Neural network control has a very obvious control effect in dealing with complicated and uncertain systems, but the control algorithm is relatively complex.

PSO is a new swarm intelligence optimization algorithm proposed by J.Kennedy and R.Eberhart[5], inspired by the foraging and migration of birds. It has characteristics for easy coding, fast calculation speed, high optimization efficiency, and strong global convergence ability in solving complex optimization problems. Therefore, as an efficient parallel search algorithm, PSO is very suitable for solving optimization problems in complex environments and can be widely used in fields such as combinatorial optimization, machine learning, self-adaption control, and artificial intelligence.

In this paper, PSO and fuzzy logic are combined organically, and the quantization factorsKe,Kecand the scale factorKuof the fuzzy controller is adjusted online by PSO algorithm automatically. At the same time, it acts on the PID controller to realize the high-precision trajectory tracking control of the serial manipulator.

2 Establishment of series manipulator dynamic model

The structure of the two-arm series manipulator is shown in Fig.1.m1andm2are the masses of the boom and the forearm respectively;r1andr2are the lengths of the boom and the forearm respectively;θ1is the angle between the boom and theX-axis, andθ2is the angle between the forearm and the extension of the boom.

Fig.1 Structural sketch of two-arm series manipulator

For a two-joint manipulator, when the external interference is ignored, its dynamic equation can be described as follows:

(1)

The dynamic equation of joint 1 is as follows:

(m1+m2)gr1cos(θ2)+m2gr2cos(θ1+θ2)

(2)

The dynamic equation of joint 2 is as follows:

(3)

Assuming that joint 1 remains motionless andθ1is constant, formula (3) can be simplified as follows:

(4)

Taking the joint 2 as the research object, linearize the formula (4):

(5)

(6)

3 Design of fuzzy-PID controller based on PSO

3.1 Structure design of controller system

The structure of the fuzzy PID controller system based on PSO is shown in Fig.2. Among them,θdis an expected value of the position for the manipulator joint;θis the actual position of the manipulator joint;eandecare the position deviation and the deviation change rate respectively;KeandKecare the quantization factors ofeandecrespectively[6],Kuis the scale factor of the fuzzy controller output;τis the moment that controls the joint for the manipulator.

Fig.2 Structure chart of Fuzzy-PID controller based on PSO

Workflow of the system: firstly, the desired position informationθdis inputted, and PSO automatically adjustsKe,KecandKuonline; secondly, the optimizedKp,KiandKdof the fuzzy controller can be output to adjust the PID controller, and the appropriate control torque can be obtained, so that the manipulator can track the desired position accurately.

3.2 Design of the Fuzzy controller

Firstly, the fuzzy command is written in the command line window of MATLAB. Through the Fuzzy Editor, a two-input three-output fuzzy controller is constructed. The interface is shown in Fig.3.

Fig.3 Fuzzy controller setting interface

Then the following operations are performed through the menu item:

(1)Select the membership function and fuzzily the input and output variables [7]. The input domain is [-2,2], the corresponding fuzzy linguistic variables are{NL,NS,Z,PS,PL}; the output domain is [-3,3], and the corresponding fuzzy linguistic variables are {NL,NM,NS,Z,PS,PM,PL}. The triangular membership function with simple calculation and high sensitivity is selected. The interface of membership function setting is shown in Fig.4.

Fig.4 Triangular membership function setting interface

(2)Establish fuzzy rules and conduct fuzzy reasoning [8]. There are two input variables, each with five fuzzy subsets, so there are 25(5×5) combinations, that is, 25 rules. Utilizing the control experience accumulated by engineers for a long time, the fuzzy rules are shown in Table 1.

Table1 Δkp、Δki、Δkd fuzzy rules

The fuzzy regulation rules are written into Rule Editor and Mamdani reasoning is used to obtain fuzzy values of Δkp、Δki、Δkd.

(3)Unambiguous. Using centroid method to convert fuzzy quantities into precise digital quantities.

3.3 Optimum design of PSO

4 Simulation model and analysis

In order to verify the effectiveness of the provided algorithm, a fuzzy-PID controller based on PSO is simulated and compared with PID control.

In the simulation,assuming that joint 1 remains stationary and theta 1 is constant, the trajectory tracking control of joint 2 is simulated. The parameters of the two-arm serial manipulator are set as follows:m1=m2=1 kg,r1=r2=1 m,θ1=1,g=9.82 m/s. By importing the arguments into equations (1~6), the transfer function is obtained as follows:

(7)

Based on the transfer function and controlstrategy, the simulation model of the system is established in the MATLAB/Simulink environment, as shown in Fig.5. Among them,Ke,KecandKuare adjusted by PSO, and PSO.m files are written. The parameters are set as follows:m=50,D=3,G=100, inertia weightw∈[0,1], acceleration constantc1=c2=0.5.

Fig.5 The simulation model of the controller

The sine and step functions are input separately, and the position tracking simulation is performed on the manipulator. The result is shown in Fig.6.

Fig.6 a) is a sinusoidal response curve. The fuzzy-PID(FPID) controller based PSO and PID controller have a good control effect on the position tracking of the manipulator, but the tracking accuracy of the former is obviously higher than the latter. Fig.6 b) is the step response curve. The simulation results show that PID controller has large overshoot and oscillations; after fuzzy adjustment, the overshoot is reduced and the stability is better; the response speed gets higher and the overshoot is basically eliminated after PSO optimization.

Fig.6 Position tracking curve

5 Conclusions

From the simulation results, it can be seen that PID control is easy to cause oscillation. For a serial manipulator whose loads is often changing and the joints are coupled strongly, so it is difficult to obtain a satisfactory control effect. The revised parameters Δkp,Δkiand Δkdare obtained with fuzzy control rules and synthetic reasoning, and PID control parametersKp,KiandKdare modified online, so that the oscillation is weakened and the stability is improved. However, the fuzzy controller is not sensitive to some parameters, the irrational structure of the fuzzy query table, the improper selection of quantization factors and scale factors will lead to oscillation and slow response speed. PSO has a high convergence speed, which will be used to automatically adjust the quantization factorsKeandKecand the scale factorKuof the fuzzy controller online. As a result, the overshoot is small and the rise time is short, and thus the response speed of the system is necessarily faster. The control strategy adopted in this paper is not limited to the position tracking control of serial manipulators, but it can also be applied to other occasions requiring high-precision tracking control.

主站蜘蛛池模板: 久久人与动人物A级毛片| 国产成人区在线观看视频| 暴力调教一区二区三区| 亚洲av日韩av制服丝袜| 亚洲国产日韩一区| 精品亚洲国产成人AV| 亚洲日本www| 一级福利视频| 免费A∨中文乱码专区| 情侣午夜国产在线一区无码| 2020最新国产精品视频| 老色鬼欧美精品| 色AV色 综合网站| 国产系列在线| 999国产精品永久免费视频精品久久 | 谁有在线观看日韩亚洲最新视频| 蝌蚪国产精品视频第一页| 人人艹人人爽| 黄色网在线| 欧美视频免费一区二区三区| www.av男人.com| 青青久久91| 国产亚卅精品无码| 国产丝袜啪啪| 久久国语对白| 欧美成人午夜视频免看| 天天摸夜夜操| 国产在线高清一级毛片| 亚洲va精品中文字幕| 亚洲av无码专区久久蜜芽| 亚洲九九视频| 国产美女自慰在线观看| 国产精品99r8在线观看| 黄色网站不卡无码| 欧美日韩在线亚洲国产人| 日韩精品无码不卡无码| h视频在线观看网站| 亚洲无码免费黄色网址| 亚洲乱强伦| 国产国产人在线成免费视频狼人色| 欧美啪啪网| 国产传媒一区二区三区四区五区| 中文字幕无线码一区| 亚洲二区视频| 欧洲免费精品视频在线| 香蕉在线视频网站| 美女无遮挡拍拍拍免费视频| 欧美日韩亚洲综合在线观看| 精品国产免费第一区二区三区日韩| 亚洲an第二区国产精品| 国产精品美乳| 国产精品99久久久久久董美香| 亚洲精品色AV无码看| 国产极品美女在线播放| 日韩高清一区 | 色妞永久免费视频| 在线观看国产精美视频| 91外围女在线观看| 久久亚洲美女精品国产精品| 国产精品人成在线播放| 亚洲国产日韩在线成人蜜芽| 精品无码视频在线观看| 久久国产精品麻豆系列| 国产剧情无码视频在线观看| 不卡无码h在线观看| 一级做a爰片久久毛片毛片| 国内精品九九久久久精品| 国产黄网永久免费| 在线无码av一区二区三区| 亚洲国产欧美中日韩成人综合视频| 精品国产成人三级在线观看| lhav亚洲精品| 在线免费亚洲无码视频| 99久久成人国产精品免费| 国产精品久久久久婷婷五月| 99热在线只有精品| 高清精品美女在线播放| 就去吻亚洲精品国产欧美| 亚洲狠狠婷婷综合久久久久| 国产精品视频观看裸模| 9999在线视频| 日本道综合一本久久久88|