APP下载

基于粒函数的智能无人驾驶泊车仿真

2018-05-14杨二狼殷业邵志情

关键词:泊车模糊控制无人驾驶

杨二狼 殷业 邵志情

摘要: 首先建立了小车的数学模型,采用传统的模糊控制方法对小车的自动倒车入库进行仿真,分析小车的行驶轨迹,以小车的车身参数、初始位置参数、终止位置参数为约束,对小车泊车过程的轴向角(前轮与车轴之间的夹角)进行调整,并提出基于粒函数的方法,拟合出一条精确的点响应函数,从而设计出一个粒函数控制系统.实验证明粒函数控制系统能够达到良好的效果.

关键词:

智能控制; 自动驾驶; 模糊控制; 粒函数控制; 泊车

Received date: 20171205

Biography: Yang Erlang (1993-),male,master,research area:Fuzzy information granular computation.Email:night_yang@163.com

*Corresponding author: Yin Ye (1961-),male,associate professor,research area:Fuzzy control and granular computation.Email:yinye@188.com

引用格式: 杨二狼,殷业,邵志情.基于粒函数的智能无人驾驶泊车仿真 [J].上海师范大学学报(自然科学版),2018,47(2):263-266.

Citation format: Yang Erlang,Yin Ye,Shao Zhiqing.Parking simulation of intelligent SelfDriving based on the granular function [J].Journal of Shanghai Normal University (Natural Sciences),2018,47(2):263-266.

Intelligent control has been widely used in various fields such as industry,agriculture,service industry and military[1].In recent years,artificial intelligence has been gradually becoming a hot topic.Automatic driving has also occupied one of the focuses in the field of artificial intelligence[2].With the number of vehicles increasing,it is hard to find parking space in the parking lot.If there is an intelligent system that assists the driver in parking,it will greatly reduce the difficulty of parking and the chance of collision during parking.

Mukherjee,et al.[3] studied the nonholonomic constrained path planning of automatic parking.Chang,et al.[4] adopted the method of fuzzy logic for automatic parking control.Zhao,et al.[5] used fuzzy logic method for small parking space by automatic parking control.Guo,et al.[6] combined fuzzy theory with expert experience to verify the feasibility of fuzzy control algorithm.In this paper,it set up the mathematical model in Matlab and simulated the car′s parking process,using a simple parking model.By taking the car′s body parameters,the initial position parameters and the termination position parameters as constraints,it designed a fuzzy controller and constructed a fuzzy control system of the car parking based on the traditional fuzzy control theory.Then,it fit the trajectory of the car,and eventually acquired the particle function[7] on the basis of the fuzzy control system,established the construction of the control system using the granular function,and made relevant parameter analysis of the experiment.

上海師范大学学报(自然科学版)J. Shanghai Normal Univ.(Nat. Sci.)

2018年

第2期杨二狼,殷业,邵志情:基于粒函数的智能无人驾驶泊车仿真

1System design

In the process of car parking,the whole control system is composed of various modules such as car body parameter constraint,parking space position,control system,trajectory planning and car movement.

Once the car automatic parking system is turned on,the car will detect the parking space around.If there is parking space,it will determine the initial position of the car and the parking end position,and will figure out whether the car is already in the parking space.If the car is in parking space,the system will inform the car to stop moving.Otherwise,the system will calculate the car body parameters and send them to the car′s control system.After the control system processing these parameters,the motion variables are sent to the car′s motion model, and the car moves until stops in an empty parking space.

2Granular Function

Granule is the core of granular computation.For different research objects,there are different granule layers and grain structures[8-9].In the same layer of granule,granular function is a mapping between a granule set and another one.

Granular function is represented by a set of precise functions.The number of these precise functions can be infinite.Point responding function is the function that could achieve the optimal output according to a certain rule.This paper tries to solve the conversion function between granular function and point responding function by the fuzzy set.X and Y are ndimensional European space,and {A1,A2…An′},{B1,B2…Nn′} are respectively primitive elements in the set of X and Y.F is the fuzzy rule of mapping between X and Y.Because each fuzzy primitive element is a fuzzy granule,it can acqiure the granular function from fuzzy set X to Y by the fuzzy rule of F[X]→[Y].

However,the granular function obtained cannot be put into practice because it is a set of fuzzy function.Thus,it should be transformed into point responding function through granulation sampling.

3Simulation

This paper runs the system module established by Matlab platform.This system mainly includes parameter initialization,granular function controller,car movement model,animation and display and other major components.

Granular function can be obtained from fuzzy input and output by fuzzy rules.After granular sampling,it is able to acquire the point responding function which can be put into practice.In this paper,the fuzzy variables of the distance between the car and the target position and the axial angle are sampled,and are fitted through polynomial equation,and finally the point responding function is acquired.

The simulation system has three input variables:Distance between current position and target position(d),axial angel(a1),the front wheel rotation angel(a2),thus the point responding function is as follows:

F(d,a1,a2)=∑ni=0∑n-ij=0∑n-i-jpPijpdia1ja2p,(1)

i,j and p donates dimension of d,a1,and a2,n donates maximum dimension and Pijp donates current coefficient respectively.

The simulation sample adoptes fivefold fits(n=5),which can achieve a better fitting output.In order to acquire a perfect control effect,in this paper,the fuzzy variable of distance adopts the piecewise fitting:d<=1.5,1.54.7.

4Experiment & Analysis

The car′s animation simulation inside the Animation & Human Controller module is achieved.Fig.1 is the Animation simulation.

Figure 1Animation simulation

As shown in the animation car simulation in Fig.1,the car can reach the parking space at the appointed target position from the specified starting position,and the parking trajectory of the car is smooth,which means that the simulation is practical and effective.

5Conclusion

On the basis of the original fuzzy control system,a new method of particle function is proposed in this paper.This method not only eliminates the process of establishing a large number of fuzzy rules,but also obtains good control effect.It provides a new method for parking in the field of intelligent control.The car parking system proposed in this paper is based on the car model and parking space model established by theoretical information,however,in reality,the models of vehicles and the parking spaces are varied and diverse,the system should be changed with the circumstances changing.

References:

[1]Wang Y N.Integrated and integrated intelligent control of complex industrial processes [J].Information And Control,1999,28(4):198-304.

[2]Yang R.Autonomous driving into artificial intelligence focus [J].Computer and Network,2017(5):14-15.

[3]Mukherjee R,Anderson D P.A surface integral approach to the motion planning of nonholonomic systems [C].American Control Conference,San Francisco:IEEE,1993.

[4]Chang S J,Li T H S.Design and implementation of fuzzy parallelparking control or a cartype mobile robot [J].Journal of Intelligent and Robotic Systems,2004,34(2):175-194.

[5]Zhao Y N,JrCollins E G.Robust automatic parallel parking in tight space via fuzzy logic [J].Robotics and Autonomous Systems,2005,51:111-127.

[6]Guo K H.Automatic parallel parking steering controller based on fuzzy logic [J].Journal of Jilin University (Engineering Edition).2009,39(S2):236-240.

[7]Yin Y.The essence of fuzzy control [J].Scientific frontier,2015,33(9):16-27.

[8]Tang W.Design and simulation of fuzzy control system based on granular function [J].Journal of Shanghai Normal University (Natural Sciences).2017,46(2):255-261.

[9]Ke D Y.Research on fuzzy control algorithm based on granular function [D].Shanghai:Shanghai Normal University,2016.

(責任编辑:包震宇)

猜你喜欢

泊车模糊控制无人驾驶
基于插电式混动汽车的自动泊车控制策略
基于MATLAB的平行泊车路径规划
我们村的无人驾驶公交
基于CarSim的平行泊车仿真分析
无人驾驶车辆
无人驾驶公园
Arrive平台新增智能泊车推荐引擎 帮助找到最佳泊车地点
T-S模糊控制综述与展望
基于模糊控制的PLC在温度控制中的应用
基于模糊控制的恒压供水系统的研究