CN108052002A - A kind of intelligent automobile automatic tracking method of improved fuzzy - Google Patents
A kind of intelligent automobile automatic tracking method of improved fuzzy Download PDFInfo
- Publication number
- CN108052002A CN108052002A CN201711164794.5A CN201711164794A CN108052002A CN 108052002 A CN108052002 A CN 108052002A CN 201711164794 A CN201711164794 A CN 201711164794A CN 108052002 A CN108052002 A CN 108052002A
- Authority
- CN
- China
- Prior art keywords
- fuzzy
- deviation
- value
- control
- pid
- 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
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B13/00—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion
- G05B13/02—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric
- G05B13/04—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators
- G05B13/042—Adaptive control systems, i.e. systems automatically adjusting themselves to have a performance which is optimum according to some preassigned criterion electric involving the use of models or simulators in which a parameter or coefficient is automatically adjusted to optimise the performance
Landscapes
- Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Computer Vision & Pattern Recognition (AREA)
- Evolutionary Computation (AREA)
- Medical Informatics (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Automation & Control Theory (AREA)
- Feedback Control In General (AREA)
Abstract
本发明公开了一种改进的模糊PID的智能汽车自动循迹方法。本发明的方法是通过智能车的传感器来测量小车在道路的位置,以及偏移道路的远近。当智能车在道路中间时,传感器检测到此时的偏差e为零,当智能车偏离车道越远时,此时的偏差e也就越大。当智能车偏离车道的速度为零时,此时的传感器检测到偏差的变化率ec为零。同理当智能车偏离车道的速度越大时,此时的偏差变化率ec也就越大。当计算出偏差e及偏差的变化率ec时,就可以通过和模糊PID算法结合,算出最终的PID值。本发明比普通的模糊PID算法更精确的且更实时的反应道路的信息。使智能车驾驶更加流畅精确。
The invention discloses an improved fuzzy PID intelligent car automatic tracking method. The method of the present invention uses the sensor of the smart car to measure the position of the car on the road and the distance from the road. When the smart car is in the middle of the road, the sensor detects that the deviation e at this time is zero, and when the smart car deviates farther from the lane, the deviation e at this time is also greater. When the speed of the smart car deviating from the lane is zero, the rate of change ec of the deviation detected by the sensor at this time is zero. Similarly, when the speed at which the smart car deviates from the lane is greater, the deviation change rate ec at this time is also greater. When the deviation e and the rate of change ec of the deviation are calculated, the final PID value can be calculated by combining with the fuzzy PID algorithm. Compared with common fuzzy PID algorithm, the present invention can reflect road information more accurately and in real time. Make smart car driving smoother and more precise.
Description
技术领域technical field
本发明涉及智能汽车自动驾驶技术领域,具体的说涉及智能汽车自动识别道路、自动循迹的方法,提出一种改进的模糊PID的智能汽车自动循迹方法。The invention relates to the technical field of automatic driving of smart cars, in particular to a method for automatic identification of roads and automatic tracking of smart cars, and proposes an improved fuzzy PID automatic tracking method for smart cars.
背景技术Background technique
以前的智能车自动循迹技术经常采用经典的数字PID算法。随着道路复杂性的加大,现在经常采用模糊PID的方法来检测道路,从而判断道路的复杂性以及判断智能小车偏移道路的大小,通过控制算法将信号输入到单片机。由此控制系统输出打角的值,控制舵机的打角大小,从而控制智能小车自动循迹。The previous automatic tracking technology of smart cars often used the classic digital PID algorithm. With the increase of road complexity, fuzzy PID method is often used to detect the road, so as to judge the complexity of the road and the size of the deviation of the smart car from the road, and input the signal to the single chip microcomputer through the control algorithm. Therefore, the control system outputs the value of the corner, controls the corner size of the steering gear, and thus controls the automatic tracking of the smart car.
PID调节器结构简单,易于工程技术人员理解和掌握。PID的参数易于调整,在长期的智能车应用中工程技术人员积累了丰富的经验,而且PID控制不需被控对象的精确的数学模型。对大多数被控对象有较好的控制效果。特别在智能车控制过程中,由于控制对象的精确数学模型难以建立,运用现代控制理论分析综合要耗费很大的代价进行模型识别,所以人们常采用PID调节器,并根据经验进行在线整定参数。The structure of the PID regulator is simple, and it is easy for engineers and technicians to understand and master. The parameters of PID are easy to adjust, and engineers and technicians have accumulated rich experience in the long-term application of smart cars, and PID control does not require an accurate mathematical model of the controlled object. It has a good control effect on most of the controlled objects. Especially in the process of smart car control, because it is difficult to establish an accurate mathematical model of the control object, it takes a lot of money to identify the model by using modern control theory to analyze and synthesize, so people often use PID regulators and adjust parameters online based on experience.
在过程控制中,按偏差的比例(P)、积分(I)和微分(D)进行控制的PID控制器是应用最为广泛的一种自动控制器。其原理图如图1所示。In process control, the PID controller controlled by the proportional (P), integral (I) and differential (D) of the deviation is the most widely used automatic controller. Its schematic diagram is shown in Figure 1.
PID算法依其具体实现可分为位置式PID和增量式PID。为了降低计算量及得到稳定的结果,我们使用了增量式PID,故以下主要对增量式PID介绍。PID algorithm can be divided into position type PID and incremental type PID according to its specific realization. In order to reduce the amount of calculation and obtain stable results, we use incremental PID, so the following mainly introduces incremental PID.
式中:In the formula:
e(t)为系统偏差,e(t)=r(t)-c(t);e(t) is the system deviation, e(t)=r(t)-c(t);
Kp为比例系数;Ti为积分时间常数;Td为微分时间常数Kp is the proportional coefficient; Ti is the integral time constant; Td is the differential time constant
实际计算时,需将上式离散化,微分用差分代替,积分用和式代替In actual calculation, it is necessary to discretize the above formula, replace the differential with the difference, and replace the integral with the sum formula
如下式:as follows:
式中K——采样次数,K=0,1,2…;r(k)——第k次给定值;In the formula, K——sampling times, K=0,1,2…; r(k)——given value for the kth time;
c(k)——第k次实际输出值;u(k)——第K次输出控制量;c(k)——the actual output value of the kth time; u(k)——the output control value of the kth time;
e(k)——第k次偏差;e(k-1)——第k-1次偏差;e(k)—kth deviation; e(k-1)—k-1 deviation;
Kp——比例系数;TI——积分时间常数;K p —proportional coefficient; T I —integral time constant;
TD——微分时间常数;T——采样周期。T D - differential time constant; T - sampling period.
上式可写成:The above formula can be written as:
其中,Ki=Kp*T/Ti,Kd=Kp*Td/TAmong them, Ki=Kp*T/Ti, Kd=Kp*Td/T
可继续推导:Can continue to deduce:
式中Δe(k)=e(k)-e(k-1); In the formula, Δe(k)=e(k)-e(k-1);
由此可以看出,如果计算机控制系统采用恒定的采样周期T,一旦确定Kp,Ki,Kd只要使用前后三次测量的偏差值,就可以求出控制量。It can be seen from this that if the computer control system adopts a constant sampling period T, once Kp, Ki, and Kd are determined, the control quantity can be obtained only by using the deviation values of the three measurements before and after.
比例系数加大,使系统的动作灵敏,速度加快,稳态误差减小。Kp偏大,振荡次数加多,调节时间加长。Kp太大时,系统会趋于不稳定。Kp太小,又会使系统的动作缓慢。Kp可以选负数,这主要是由执行机构、传感器以控制对象的特性决定的。如果Kc的符号选择不当对象状态(pv值)就会离控制目标的状态(sv值)越来越远,如果出现这样的情况Kp的符号就一定要取反。The increase of the proportional coefficient makes the action of the system sensitive, the speed is accelerated, and the steady-state error is reduced. If Kp is too large, the number of oscillations increases and the adjustment time increases. When Kp is too large, the system tends to be unstable. If Kp is too small, the system will slow down. Kp can choose a negative number, which is mainly determined by the characteristics of the actuator, sensor and control object. If the sign of Kc is improperly selected, the object state (pv value) will be farther and farther away from the state of the control target (sv value), and if such a situation occurs, the sign of Kp must be reversed.
积分作用使系统的稳定性下降,Ti小(积分作用强)会使系统不稳定,但能消除稳态误差,提高系统的控制精度。Integral action will reduce the stability of the system, small Ti (strong integral action) will make the system unstable, but it can eliminate the steady-state error and improve the control accuracy of the system.
微分作用可以改善动态特性,Td偏大时,超调量较大,调节时间较短。Td偏小时,超调量也较大,调节时间也较长。只有Td合适,才能使超调量较小,减短调节时间。所以对于智能汽车自动循迹系统来说,简单的道路上数字PID系统可以高效的控制行驶,但是在复杂的路面时容易控制延迟冲出跑道。The differential action can improve the dynamic characteristics. When Td is too large, the overshoot will be larger and the adjustment time will be shorter. If Td is too small, the overshoot will be larger and the adjustment time will be longer. Only when Td is appropriate can the overshoot be small and the adjustment time shortened. Therefore, for the automatic tracking system of smart cars, the digital PID system can efficiently control the driving on simple roads, but it is easy to control the delay and rush out of the runway on complex roads.
利用模糊数学的基本思想和理论的控制方法。在传统的控制领域里,控制系统动态模式的精确与否是影响控制优劣的最主要关键,系统动态的信息越详细,则越能达到精确控制的目的。然而,对于复杂的系统,由于变量太多,往往难以正确的描述系统的动态,于是工程师便利用各种方法来简化系统动态,以达成控制的目的,但却不尽理想。因此便尝试着以模糊控制来处理这些控制问题。A control method using the basic idea and theory of fuzzy mathematics . In the traditional control field, the accuracy of the dynamic mode of the control system is the most important key to the quality of the control. The more detailed the system dynamic information, the more accurate the control can be achieved. However, for complex systems, due to too many variables, it is often difficult to describe the dynamics of the system correctly, so engineers use various methods to simplify the dynamics of the system to achieve the purpose of control, but it is not ideal. So try to deal with these control problems with fuzzy control.
模糊控制器包括四部分:(1)模糊化。主要作用是选定模糊控制器的输入量,并将其转换为系统可识别的模糊量,具体包含以下三步:第一,对输入量进行满足模糊控制需求的处理;第二,对输入量进行尺度变换;第三,确定各输入量的模糊语言取值和相应的隶属度函数。 (2)规则库。根据人类专家的经验建立模糊规则库。模糊规则库包含众多控制规则,是从实际控制经验过渡到模糊控制器的关键步骤。(3) 模糊推理。主要实现基于知识的推理决策。(4)解模糊。主要作用是将推理得到的控制量转化为控制输出。Fuzzy controller includes four parts: (1) Fuzzy. The main function is to select the input quantity of the fuzzy controller and convert it into a fuzzy quantity recognizable by the system, which specifically includes the following three steps: first, process the input quantity to meet the requirements of fuzzy control; second, process the input quantity Carry out scale transformation; thirdly, determine the fuzzy language value and corresponding membership function of each input quantity. (2) Rule base. Build a fuzzy rule base based on the experience of human experts. The fuzzy rule base contains many control rules, which is a key step from the actual control experience to the fuzzy controller. (3) Fuzzy reasoning. It mainly realizes reasoning and decision-making based on knowledge. (4) Defuzzification. The main function is to convert the control quantity obtained by inference into control output.
发明内容Contents of the invention
本发明所要解决的技术问题是:模糊PID所带来的复杂性,以及模糊PID并不能完全反应道路信息所带来的不准确性。The technical problem to be solved by the present invention is: the complexity brought by the fuzzy PID, and the inaccuracy brought by the fuzzy PID which cannot fully reflect the road information.
针对上述实际情况,本发明提出一种改进的模糊PID的智能汽车自动循迹方法,一种利用偏差,以及偏差的变化率,和模糊PID结合的方法来控制无人汽车自动驾驶,本文的方法比普通的模糊PID算法更精确的且更实时的反应道路的信息。使智能车驾驶更加流畅精确。In view of the above actual situation, the present invention proposes an improved fuzzy PID automatic tracking method for smart cars, a method that uses deviation, and the rate of change of deviation, and fuzzy PID to control the automatic driving of unmanned vehicles. The method in this paper More accurate and real-time response to road information than ordinary fuzzy PID algorithm. Make smart car driving smoother and more precise.
本发明的方法是通过智能车的传感器来测量小车在道路的位置,以及偏移道路的远近。当智能车在道路中间时,传感器检测到此时的偏差e为零,当智能车偏离车道越远时,此时的偏差e也就越大。当智能车偏离车道的速度为零时,此时的传感器检测到偏差的变化率 ec为零。同理当智能车偏离车道的速度越大时,此时的偏差变化率 ec也就越大。当计算出偏差e及偏差的变化率ec时,就可以通过和模糊PID算法结合,算出最终的PID值。由于积分作用具有滞后性,所以我们经常用模糊PD来控制智能汽车的行驶。The method of the present invention uses the sensor of the smart car to measure the position of the car on the road and the distance from the road. When the smart car is in the middle of the road, the sensor detects that the deviation e at this time is zero, and when the smart car deviates farther from the lane, the deviation e at this time is also greater. When the speed of the smart car deviating from the lane is zero, the rate of change ec of the deviation detected by the sensor at this time is zero. Similarly, the greater the speed at which the smart car deviates from the lane, the greater the deviation change rate ec at this time. When the deviation e and the rate of change ec of the deviation are calculated, the final PID value can be calculated by combining with the fuzzy PID algorithm. Due to the hysteresis of integral action, we often use fuzzy PD to control the driving of smart cars.
本发明具体实现包括以下步骤:The concrete implementation of the present invention comprises the following steps:
步骤(1):通过传感器检测到每次智能车传感器采样的偏差e,并通过偏差e计算出偏差的变化率ec。Step (1): Detect the deviation e of each smart car sensor sampling through the sensor, and calculate the change rate ec of the deviation through the deviation e.
具体的:specific:
1-1.通过传感器信号采集,得到智能车偏离轨道的偏差e1。1-1. Obtain the deviation e1 of the smart car's deviation from the track through sensor signal collection.
1-2.当一个采集周期结束后,进行第二次信号采集得到偏差e2。1-2. After one acquisition period ends, the second signal acquisition is performed to obtain the deviation e2.
1-3.计算出此时的偏差变化率ec1=e2-e1。1-3. Calculate the deviation change rate ec1=e2-e1 at this time.
1-4.同理能够得到以后每一个采样周期的偏差e和偏差变化率 ec。1-4. In the same way, the deviation e and deviation change rate ec of each subsequent sampling period can be obtained.
步骤(2):运用模糊控制计算出模糊PID的参数。由于积分环节有滞后作用,所以只要求模糊PD的值。由于本文的最大创新点在于利用偏差和偏差的变化率与模糊PD结合的算法,所以模糊PID的算法简述如下。模糊控制原理图如图2所示。Step (2): Use fuzzy control to calculate the parameters of fuzzy PID. Since the integral link has hysteresis, only the value of fuzzy PD is required. Since the biggest innovation of this paper lies in the algorithm that combines the deviation and the rate of change of the deviation with fuzzy PD, the algorithm of fuzzy PID is briefly described as follows. The schematic diagram of fuzzy control is shown in Figure 2.
具体的:specific:
2-1.模糊化处理,将偏差e的精确量转化为模糊量,将输入量进行尺度变换,使其变换到各自的论域,并用相应的模糊集合语言值来表示。2-1. Fuzzy processing, converting the precise quantity of deviation e into fuzzy quantity, and transforming the input quantity into its respective domain of discourse, and expressing it with the corresponding fuzzy set language value.
2-2.用知识库也就是数据库和模糊控制规则库来写隶属度函数,模糊控制器的规则是根据经验建立的。2-2. Use the knowledge base, that is, the database and the fuzzy control rule base to write the membership function, and the rules of the fuzzy controller are established based on experience.
2-3.进行模糊推理,根据输入模糊量和知识库完成模糊推理,并求解模糊关系方程,从而获得模糊控制量的狗功能部分。2-3. Carry out fuzzy reasoning, complete fuzzy reasoning according to the input fuzzy quantity and knowledge base, and solve the fuzzy relationship equation, so as to obtain the dog function part of the fuzzy control quantity.
2-4.进行清晰化处理,通过模糊决策所得到的输出是模糊量,要进行控制必须必须经过清晰化将其转换成精确量,最终选用加权平均的原则计算出参数模糊P和模糊D。2-4. Carry out clear processing, the output obtained through fuzzy decision-making is fuzzy quantity, which must be converted into precise quantity through clearing in order to control, and finally use the principle of weighted average to calculate the parameters fuzzy P and fuzzy D.
步骤(3):利用步骤(1)得到的偏差e和偏差的变化率ec和步骤(2)得到的模糊P和模糊D的值进行算法融合,得到更精确的循迹算法,由于偏差e代表了当前车子偏离道路的情况,偏差的变化率ec代表了当前车子偏离道路的速度的快慢,所以此算法提高了普通的模糊PID的实时性,反应的是当前时刻的道路情况,弥补了模糊 PID的复杂性和不准确性。本方法流程图如图3所示.Step (3): Use the deviation e and deviation change rate ec obtained in step (1) and the fuzzy P and fuzzy D values obtained in step (2) to perform algorithm fusion to obtain a more accurate tracking algorithm. Since the deviation e represents The current situation of the vehicle deviating from the road, the rate of change ec of the deviation represents the speed of the current vehicle deviating from the road, so this algorithm improves the real-time performance of the ordinary fuzzy PID, reflects the current road conditions, and makes up for the fuzzy PID complexity and inaccuracies. The flowchart of this method is shown in Fig.
具体的:specific:
3-1.步骤(1)得到偏差e和偏差的变化率ec。3-1. Step (1) Obtain the deviation e and the rate of change ec of the deviation.
3-2.步骤(2)得到模糊P和模糊D。3-2. Step (2) to obtain blur P and blur D.
3-3.算法融合得到最终的控制量Value=e*(P+p)/a+ ec*(D+d)/b。其中Value是控制系统得到的输出值,其中e*(P+p) 反映了当前车子的偏差对控制系统作用的影响,ec*(D+d)反映了当前车子的偏差的变化率对控制系统作用的影响,此算法更加代表了车子偏移的当前值,弥补了模糊PID的不精确性,其中a和b是P和D的系数,代表了偏差及偏差变化率的权值,a和b的大小要经过经验调试和车子的性能才能给出具体的数值。p和d表示其最小的基本的P 和D的值。3-3. Algorithm fusion to obtain the final control value Value=e*(P+p)/a+ec*(D+d)/b. Among them, Value is the output value obtained by the control system, where e*(P+p) reflects the influence of the current vehicle deviation on the control system, and ec*(D+d) reflects the impact of the current vehicle deviation change rate on the control system Influenced by the effect, this algorithm more represents the current value of the vehicle offset, making up for the inaccuracy of fuzzy PID, where a and b are the coefficients of P and D, representing the weight of the deviation and the deviation change rate, a and b The size of the car can only be given a specific value after experience debugging and the performance of the car. p and d represent the minimum basic P and D values.
本发明的有益效果:Beneficial effects of the present invention:
本发明所述的方法只需利用传感器信息采集车子当前的偏差值以及计算出偏差的变化率的值。并且利用模糊PID解出模糊P和模糊 D的值。将二者得到的值进行算法融合,计算出控制系统的输出值。本方法极大的提升了普通模糊PID对道路分割的不精确性,并且极大的提高了智能车的控制灵敏度。降低了模糊PID的调参复杂度。The method of the present invention only needs to use the sensor information to collect the current deviation value of the vehicle and calculate the value of the change rate of the deviation. And use the fuzzy PID to solve the fuzzy P and fuzzy D values. The values obtained by the two are fused by algorithm to calculate the output value of the control system. This method greatly improves the inaccuracy of ordinary fuzzy PID for road segmentation, and greatly improves the control sensitivity of smart cars. Reduced the complexity of parameter tuning for fuzzy PID.
附图说明Description of drawings
图1为PID控制器原理图。Figure 1 is a schematic diagram of the PID controller.
图2为模糊控制原理图。Figure 2 is a schematic diagram of fuzzy control.
图3为方法流程图。Figure 3 is a flowchart of the method.
具体实施方式Detailed ways
下面结合具体实施方式对本发明进行详细的说明。The present invention will be described in detail below in combination with specific embodiments.
本发明提出的一种改进的模糊PID的智能汽车自动循迹方法实施流程如图3所示。本发明所述方法包括以下步骤:The implementation process of an improved fuzzy PID intelligent vehicle automatic tracking method proposed by the present invention is shown in FIG. 3 . The method of the present invention comprises the following steps:
步骤(1):通过传感器检测到每次智能车传感器采样的偏差e. 并通过偏差e计算出偏差的变化率ec。通过传感器信号采集,得到智能车偏离轨道的偏差e1。当一个采集周期结束后,进行第二次信号采集得到偏差e2。那么可以计算出此时的偏差变化率ec1=e2-e1。同理可以得到以后每一个采样周期的偏差e和偏差变化率ec。Step (1): Detect the deviation e of each smart car sensor sampling through the sensor, and calculate the change rate ec of the deviation through the deviation e. Through sensor signal collection, the deviation e1 of the smart car's deviation from the track is obtained. When a collection cycle ends, the second signal collection is performed to obtain the deviation e2. Then the deviation change rate ec1=e2-e1 at this time can be calculated. Similarly, the deviation e and deviation change rate ec of each subsequent sampling period can be obtained.
步骤(2):运用模糊控制计算出模糊PID的参数。由于积分环节有滞后作用,所以只要求模糊PD的值。由于本文的最大创新点在于利用偏差和偏差的变化率与模糊PD结合的算法,所以模糊PID的算法简述如下。模糊控制原理图如图2所示。模糊化处理,将偏差e 的精确量转化为模糊量,将输入量进行尺度变换,使其变换到各自的论域,并用相应的模糊集合语言值来表示。用知识库也就是数据库和模糊控制规则库来写隶属度函数,模糊控制器的规则是根据经验建立的。进行模糊推理,根据输入模糊量和知识库完成模糊推理,并求解模糊关系方程,从而获得模糊控制量的狗功能部分。进行清晰化处理,通过模糊决策所得到的输出是模糊量,要进行控制必须必须经过清晰化将其转换成精确量,最终选用加权平均的原则计算出参数模糊P, 和模糊D。Step (2): Use fuzzy control to calculate the parameters of fuzzy PID. Since the integral link has hysteresis, only the value of fuzzy PD is required. Since the biggest innovation of this paper lies in the algorithm that combines the deviation and the rate of change of the deviation with fuzzy PD, the algorithm of fuzzy PID is briefly described as follows. The schematic diagram of fuzzy control is shown in Figure 2. Fuzzy processing, transforming the precise quantity of deviation e into fuzzy quantity, and transforming the input quantity into their respective domains of discourse, and expressing it with the corresponding fuzzy set language value. The membership function is written with the knowledge base, that is, the database and the fuzzy control rule base, and the rules of the fuzzy controller are established based on experience. Carry out fuzzy reasoning, complete the fuzzy reasoning according to the input fuzzy quantity and knowledge base, and solve the fuzzy relationship equation, so as to obtain the dog function part of the fuzzy control quantity. Carry out clear processing, the output obtained through fuzzy decision-making is a fuzzy quantity, which must be converted into a precise quantity through clearing for control, and finally use the principle of weighted average to calculate the parameters fuzzy P, and fuzzy D.
步骤(3):利用步骤(1)得到的偏差e和偏差的变化率ec和步骤(2)得到的模糊P,和模糊D的值进行算法融合,得到更精确的循迹算法,由于偏差e代表了当前车子偏离道路的情况,偏差的变化率ec代表了当前车子偏离道路的速度的快慢,所以此算法提高了普通的模糊PID的实时性,反应的是当前时刻的道路情况,弥补了模糊PID的复杂性和不准确性。本方法流程图如图3所示.通过步骤(1) 得到偏差e和偏差的变化率ec。通过步骤(2)得到模糊P和模糊D。算法融合得到最终的控制量Value=e*(P+p)/a+ec*(D+d)/b。其中 Value是控制系统得到的输出值,其中e*(P+p)反映了当前车子的偏差对控制系统作用的影响,ec*(D+d)反映了当前车子的偏差的变化率对控制系统作用的影响,此算法更加代表了车子偏移的当前值,弥补了模糊PID的不精确性,其中a和b是P和D的系数,代表了偏差及偏差变化率的权值,a和b的大小要经过经验调试和车子的性能才能给出具体的数值。p和d表示其最小的基本的P和D的值。Step (3): Use the deviation e obtained in step (1) and the rate of change ec of the deviation and the fuzzy P obtained in step (2) to perform algorithm fusion with the value of fuzzy D to obtain a more accurate tracking algorithm. Since the deviation e It represents the current situation that the car deviates from the road, and the rate of change ec of the deviation represents the speed at which the current car deviates from the road. Therefore, this algorithm improves the real-time performance of ordinary fuzzy PID, reflects the current road conditions, and makes up for the fuzzy Complexity and inaccuracy of PID. The flow chart of this method is shown in Figure 3. The deviation e and the rate of change ec of the deviation are obtained through step (1). Obtain fuzzy P and fuzzy D through step (2). Algorithm fusion results in the final control value Value=e*(P+p)/a+ec*(D+d)/b. Among them, Value is the output value obtained by the control system, where e*(P+p) reflects the influence of the deviation of the current car on the function of the control system, and ec*(D+d) reflects the effect of the change rate of the deviation of the current car on the control system Influenced by the effect, this algorithm more represents the current value of the vehicle offset, making up for the inaccuracy of fuzzy PID, where a and b are the coefficients of P and D, representing the weight of the deviation and the deviation change rate, a and b The size of the car can only be given a specific value after experience debugging and the performance of the car. p and d represent the minimum basic P and D values.
完成以上步骤后本发明一种改进的模糊PID的智能汽车自动循迹方就完成了。本方法极大的提升了普通模糊PID对道路分割的不精确性,并且极大的提高了智能车的控制灵敏度。降低了模糊PID的调参复杂度。After completing the above steps, the intelligent car automatic tracking side of an improved fuzzy PID of the present invention has just been completed. This method greatly improves the inaccuracy of ordinary fuzzy PID for road segmentation, and greatly improves the control sensitivity of smart cars. Reduced the complexity of parameter tuning for fuzzy PID.
Claims (1)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711164794.5A CN108052002A (en) | 2017-11-21 | 2017-11-21 | A kind of intelligent automobile automatic tracking method of improved fuzzy |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201711164794.5A CN108052002A (en) | 2017-11-21 | 2017-11-21 | A kind of intelligent automobile automatic tracking method of improved fuzzy |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| CN108052002A true CN108052002A (en) | 2018-05-18 |
Family
ID=62120250
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201711164794.5A Pending CN108052002A (en) | 2017-11-21 | 2017-11-21 | A kind of intelligent automobile automatic tracking method of improved fuzzy |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN108052002A (en) |
Cited By (8)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109085823A (en) * | 2018-07-05 | 2018-12-25 | 浙江大学 | The inexpensive automatic tracking running method of view-based access control model under a kind of garden scene |
| CN109283926A (en) * | 2018-08-16 | 2019-01-29 | 郑州轻工业学院 | A method for automatic driving of vehicles along lane lines based on program azimuth |
| CN110471289A (en) * | 2019-08-28 | 2019-11-19 | 湖南大学 | A kind of the Adaptive Path tracking and system of view-based access control model navigation mobile device |
| CN111284339A (en) * | 2018-12-06 | 2020-06-16 | 江苏万帮德和新能源科技股份有限公司 | Electrode contact pressure control method for electric automobile charging bow |
| CN113220048A (en) * | 2021-05-31 | 2021-08-06 | 长安大学 | Boiler temperature adjusting method and system based on numerical differentiation |
| CN113359703A (en) * | 2021-05-13 | 2021-09-07 | 浙江工业大学 | Mobile robot line-following system suitable for various complex paths |
| CN116956978A (en) * | 2023-05-22 | 2023-10-27 | 杭州彩熊医疗科技有限责任公司 | Biological sample traceability system based on RFID label technology |
| CN119511681A (en) * | 2024-11-19 | 2025-02-25 | 蓝星智云(山东)智能科技有限公司 | A PID loop performance rating and diagnosis method based on fluctuation coefficient of variation |
Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1851101A (en) * | 2006-05-17 | 2006-10-25 | 江苏新安电器有限公司 | Drum washing machine speed fuzzy control method |
| CN102707617A (en) * | 2012-06-20 | 2012-10-03 | 北京金自能源科技发展有限公司 | Method for realizing fuzzy PID (Proportion Integration Differentiation) ActiveX control |
| CN103309233A (en) * | 2013-05-13 | 2013-09-18 | 陕西国防工业职业技术学院 | Designing method of fuzzy PID (Proportion-Integration-Differential) controller |
| CN103995535A (en) * | 2014-06-04 | 2014-08-20 | 苏州工业职业技术学院 | Method for controlling PID controller route based on fuzzy control |
| CN105093923A (en) * | 2015-06-23 | 2015-11-25 | 黄红林 | Football robot bottom control method based on fuzzy control |
| CN105955269A (en) * | 2016-05-12 | 2016-09-21 | 武汉理工大学 | Fuzzy PID algorithm based ship course controller |
| CN106020202A (en) * | 2016-07-15 | 2016-10-12 | 东南大学 | Fuzzy PID control method based on Kalman filtering |
| CN106406083A (en) * | 2015-07-28 | 2017-02-15 | 曲阜师范大学 | Fuzzy control coal dressing method |
| CN106527119A (en) * | 2016-11-03 | 2017-03-22 | 东华大学 | Fuzzy control-based differentiation first PID (proportion integration differentiation) control system |
| CN106681136A (en) * | 2017-02-17 | 2017-05-17 | 三峡大学 | Synchronous motor excitation control system based on auto-adjusting fuzzy PID control |
| CN106843227A (en) * | 2017-03-09 | 2017-06-13 | 杭州电子科技大学 | A kind of method of the autonomous tracking path planning of intelligent automobile |
| CN107255920A (en) * | 2017-06-21 | 2017-10-17 | 武汉理工大学 | PID control method and apparatus and system based on network optimization algorithm |
-
2017
- 2017-11-21 CN CN201711164794.5A patent/CN108052002A/en active Pending
Patent Citations (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1851101A (en) * | 2006-05-17 | 2006-10-25 | 江苏新安电器有限公司 | Drum washing machine speed fuzzy control method |
| CN102707617A (en) * | 2012-06-20 | 2012-10-03 | 北京金自能源科技发展有限公司 | Method for realizing fuzzy PID (Proportion Integration Differentiation) ActiveX control |
| CN103309233A (en) * | 2013-05-13 | 2013-09-18 | 陕西国防工业职业技术学院 | Designing method of fuzzy PID (Proportion-Integration-Differential) controller |
| CN103995535A (en) * | 2014-06-04 | 2014-08-20 | 苏州工业职业技术学院 | Method for controlling PID controller route based on fuzzy control |
| CN105093923A (en) * | 2015-06-23 | 2015-11-25 | 黄红林 | Football robot bottom control method based on fuzzy control |
| CN106406083A (en) * | 2015-07-28 | 2017-02-15 | 曲阜师范大学 | Fuzzy control coal dressing method |
| CN105955269A (en) * | 2016-05-12 | 2016-09-21 | 武汉理工大学 | Fuzzy PID algorithm based ship course controller |
| CN106020202A (en) * | 2016-07-15 | 2016-10-12 | 东南大学 | Fuzzy PID control method based on Kalman filtering |
| CN106527119A (en) * | 2016-11-03 | 2017-03-22 | 东华大学 | Fuzzy control-based differentiation first PID (proportion integration differentiation) control system |
| CN106681136A (en) * | 2017-02-17 | 2017-05-17 | 三峡大学 | Synchronous motor excitation control system based on auto-adjusting fuzzy PID control |
| CN106843227A (en) * | 2017-03-09 | 2017-06-13 | 杭州电子科技大学 | A kind of method of the autonomous tracking path planning of intelligent automobile |
| CN107255920A (en) * | 2017-06-21 | 2017-10-17 | 武汉理工大学 | PID control method and apparatus and system based on network optimization algorithm |
Cited By (11)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN109085823A (en) * | 2018-07-05 | 2018-12-25 | 浙江大学 | The inexpensive automatic tracking running method of view-based access control model under a kind of garden scene |
| CN109085823B (en) * | 2018-07-05 | 2020-06-30 | 浙江大学 | A vision-based automatic tracking driving method in a park scene |
| CN109283926A (en) * | 2018-08-16 | 2019-01-29 | 郑州轻工业学院 | A method for automatic driving of vehicles along lane lines based on program azimuth |
| CN111284339A (en) * | 2018-12-06 | 2020-06-16 | 江苏万帮德和新能源科技股份有限公司 | Electrode contact pressure control method for electric automobile charging bow |
| CN110471289A (en) * | 2019-08-28 | 2019-11-19 | 湖南大学 | A kind of the Adaptive Path tracking and system of view-based access control model navigation mobile device |
| CN113359703A (en) * | 2021-05-13 | 2021-09-07 | 浙江工业大学 | Mobile robot line-following system suitable for various complex paths |
| CN113220048A (en) * | 2021-05-31 | 2021-08-06 | 长安大学 | Boiler temperature adjusting method and system based on numerical differentiation |
| CN116956978A (en) * | 2023-05-22 | 2023-10-27 | 杭州彩熊医疗科技有限责任公司 | Biological sample traceability system based on RFID label technology |
| CN116956978B (en) * | 2023-05-22 | 2024-06-04 | 杭州彩熊医疗科技有限责任公司 | Biological sample traceability system based on RFID label technology |
| CN119511681A (en) * | 2024-11-19 | 2025-02-25 | 蓝星智云(山东)智能科技有限公司 | A PID loop performance rating and diagnosis method based on fluctuation coefficient of variation |
| CN119511681B (en) * | 2024-11-19 | 2025-11-04 | 蓝星智云(山东)智能科技有限公司 | A method for performance rating and diagnosis of PID loops based on fluctuation coefficient of variation |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN108052002A (en) | A kind of intelligent automobile automatic tracking method of improved fuzzy | |
| CN101819041B (en) | Self-evolution ANFIS and UKF combined GPS/MEMS-INS integrated positioning error dynamic forecasting method | |
| AU2021100338A4 (en) | Speed tracking control method and system for heavy-haul train | |
| CN110018632B (en) | Vehicle lane change control method and device | |
| CN105676643B (en) | A kind of intelligent automobile turns to and braking self-adaptive wavelet base method | |
| CN101221447A (en) | A kind of mechanical automatic steering control method | |
| CN102141776A (en) | Particle filter and RBF identification-based neural network PID control parameter self-setting method | |
| CN103439884A (en) | A method of intelligent vehicle lateral control based on fuzzy sliding mode | |
| CN106527119A (en) | Fuzzy control-based differentiation first PID (proportion integration differentiation) control system | |
| CN100466010C (en) | Real-time Fusion Method of Heterogeneous Traffic Information | |
| CN103983996A (en) | Tight-integration adaptive filtering method of resisting to outliers of global positioning system, | |
| CN116027669A (en) | A high-speed train adaptive sliding mode control method, system and electronic equipment | |
| CN111459159A (en) | A path following control system and control method | |
| CN102621893A (en) | Motor unbalanced-load fuzzy-control method based on four correction factors | |
| CN117826590A (en) | Unmanned vehicle formation control method and system based on front-follow topology structure | |
| Ding et al. | An Extended Car‐Following Model in Connected and Autonomous Vehicle Environment: Perspective from the Cooperation between Drivers | |
| CN106203684A (en) | A kind of parameter identification for tire magic formula and optimization method | |
| CN115167135A (en) | Feedback and model feedforward cascaded self-optimizing pose control system for unmanned vehicles | |
| CN118711156A (en) | A method and device for quantifying perception uncertainty of an autonomous vehicle | |
| CN103412482A (en) | Dynamic fuzzy control system and control method thereof | |
| CN203350635U (en) | Dynamic fuzzy control system | |
| CN106706957B (en) | Acceleration estimation method, apparatus, motor sport control method and locomotive | |
| CN105676645A (en) | Double-loop water tank liquid level prediction control method based on function type weight RBF-ARX model | |
| CN106842924B (en) | Optimal control method for EMUs based on multi-working condition ANFIS model | |
| CN103777521B (en) | A kind of low speed control method of vehicle based on fuzzy control |
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 | ||
| CB03 | Change of inventor or designer information |
Inventor after: Yan Chenggang Inventor after: Han Guwen Inventor after: Mei Tao Inventor after: Huang Hailiang Inventor after: Zhang Teng Inventor before: Han Guwen Inventor before: Yan Chenggang Inventor before: Mei Tao Inventor before: Huang Hailiang Inventor before: Zhang Teng |
|
| CB03 | Change of inventor or designer information | ||
| RJ01 | Rejection of invention patent application after publication |
Application publication date: 20180518 |
|
| RJ01 | Rejection of invention patent application after publication |