CN115571141A - Distributed electric drive automobile state parameter observation method and device and readable medium - Google Patents
Distributed electric drive automobile state parameter observation method and device and readable medium Download PDFInfo
- Publication number
- CN115571141A CN115571141A CN202211354354.7A CN202211354354A CN115571141A CN 115571141 A CN115571141 A CN 115571141A CN 202211354354 A CN202211354354 A CN 202211354354A CN 115571141 A CN115571141 A CN 115571141A
- Authority
- CN
- China
- Prior art keywords
- wheel
- node
- input
- velocity
- angle
- 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
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/12—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to parameters of the vehicle itself, e.g. tyre models
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/10—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to vehicle motion
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/10—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to vehicle motion
- B60W40/105—Speed
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W40/00—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models
- B60W40/12—Estimation or calculation of non-directly measurable driving parameters for road vehicle drive control systems not related to the control of a particular sub unit, e.g. by using mathematical models related to parameters of the vehicle itself, e.g. tyre models
- B60W40/13—Load or weight
- B60W2040/1315—Location of the centre of gravity
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W2050/0001—Details of the control system
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W2050/0001—Details of the control system
- B60W2050/0019—Control system elements or transfer functions
- B60W2050/0028—Mathematical models, e.g. for simulation
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W2050/0001—Details of the control system
- B60W2050/0019—Control system elements or transfer functions
- B60W2050/0028—Mathematical models, e.g. for simulation
- B60W2050/0031—Mathematical model of the vehicle
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W50/00—Details of control systems for road vehicle drive control not related to the control of a particular sub-unit, e.g. process diagnostic or vehicle driver interfaces
- B60W2050/0001—Details of the control system
- B60W2050/0043—Signal treatments, identification of variables or parameters, parameter estimation or state estimation
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2520/00—Input parameters relating to overall vehicle dynamics
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2520/00—Input parameters relating to overall vehicle dynamics
- B60W2520/10—Longitudinal speed
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2520/00—Input parameters relating to overall vehicle dynamics
- B60W2520/12—Lateral speed
- B60W2520/125—Lateral acceleration
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2720/00—Output or target parameters relating to overall vehicle dynamics
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2720/00—Output or target parameters relating to overall vehicle dynamics
- B60W2720/10—Longitudinal speed
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B60—VEHICLES IN GENERAL
- B60W—CONJOINT CONTROL OF VEHICLE SUB-UNITS OF DIFFERENT TYPE OR DIFFERENT FUNCTION; CONTROL SYSTEMS SPECIALLY ADAPTED FOR HYBRID VEHICLES; ROAD VEHICLE DRIVE CONTROL SYSTEMS FOR PURPOSES NOT RELATED TO THE CONTROL OF A PARTICULAR SUB-UNIT
- B60W2720/00—Output or target parameters relating to overall vehicle dynamics
- B60W2720/12—Lateral speed
Landscapes
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Transportation (AREA)
- Mechanical Engineering (AREA)
- Physics & Mathematics (AREA)
- Mathematical Physics (AREA)
- Human Computer Interaction (AREA)
- Electric Propulsion And Braking For Vehicles (AREA)
Abstract
Description
技术领域technical field
本发明涉及分布式电驱动汽车技术领域,具体涉及一种分布式电驱动汽车状态参数观测方法、装置及可读介质。The invention relates to the technical field of distributed electric drive vehicles, in particular to a method, device and readable medium for observing state parameters of distributed electric drive vehicles.
背景技术Background technique
随着信息技术的进步,智能汽车的发展也取得巨大的进步。在客车领域,电动化、智能化的趋势也越来越明显。分布式电驱动客车相较于传统集中驱动客车而言,最大的优势在于它能灵活地分配4个车轮的转矩,扩展车辆动力学控制的应用范围,提高控制精度和响应速度。安全问题是客车行驶过程中的核心问题之一。客车行驶的工况复杂而多变。因此,对客车需要进行车辆动力学控制。车辆动力学控制是车辆主动安全控制的关键技术,而其中首要的问题就是需要准确获得客车当前的状态等重要参数。With the advancement of information technology, the development of smart cars has also made great progress. In the field of passenger cars, the trend of electrification and intelligence is becoming more and more obvious. Compared with the traditional centralized drive bus, the biggest advantage of the distributed electric drive bus is that it can flexibly distribute the torque of the four wheels, expand the application range of vehicle dynamics control, and improve control accuracy and response speed. Safety is one of the core issues in the process of driving a passenger car. The working conditions of passenger cars are complex and changeable. Therefore, vehicle dynamics control is required for passenger cars. Vehicle dynamics control is the key technology of vehicle active safety control, and the primary problem is to accurately obtain important parameters such as the current state of the bus.
在传统车辆的一些状态参数是可以直接通过传感器测量,但是有些传感器的成本非常高,而且对环境的要求也比较高,严重影响车辆的状态参数的精确获取,这势必会影响控制系统的控制效果。而且还有一些关键参数没有办法直接测量,只能通过一些预测的方法获得。例如车辆质心侧偏角。车辆状态参数估计方法是以最小化易测量状态实测值与估计值之间的残差为目标,实现待估计状态的最优估计。常用的一些估计算法包括卡尔曼滤波算法,滑模观测器等均存在各自的缺陷。如卡尔曼滤波的噪声受外界因素影响很大。滑模观测器的误差容易发生抖振,这些缺点都对观测器的精度产生巨大影响。Some state parameters of traditional vehicles can be directly measured by sensors, but some sensors are very expensive and have relatively high environmental requirements, which seriously affect the accurate acquisition of vehicle state parameters, which will inevitably affect the control effect of the control system . Moreover, there are still some key parameters that cannot be directly measured, and can only be obtained through some predictive methods. For example, the side slip angle of the vehicle center of mass. The vehicle state parameter estimation method aims at minimizing the residual error between the measured value and the estimated value of the easy-to-measure state, and realizes the optimal estimation of the state to be estimated. Some commonly used estimation algorithms, including Kalman filter algorithm and sliding mode observer, have their own defects. For example, the noise of Kalman filter is greatly affected by external factors. The error of the sliding mode observer is prone to chattering, and these shortcomings have a great impact on the accuracy of the observer.
通过对已有研究成果的分析可知,保证估计方法的稳定性,如何进一步提高估计精度是急需解决的关键问题。因此需要开发出车辆在行驶过程能准确估计出客车状态参数的估计方法。Through the analysis of the existing research results, it can be seen that how to ensure the stability of the estimation method and how to further improve the estimation accuracy are the key issues that need to be solved urgently. Therefore, it is necessary to develop an estimation method that can accurately estimate the state parameters of the passenger car during the driving process.
发明内容Contents of the invention
针对以往车辆状态观测器观测精度不高,易受外界因素干扰问题。本申请的实施例的目的在于提出了一种分布式电驱动汽车状态参数观测方法、装置及可读介质,来解决以上背景技术部分提到的技术问题。In view of the low observation accuracy of the previous vehicle state observer, it is easy to be interfered by external factors. The purpose of the embodiments of the present application is to propose a distributed electric drive vehicle state parameter observation method, device and readable medium to solve the technical problems mentioned in the background technology section above.
第一方面,本发明提供了一种分布式电驱动汽车状态参数观测方法,包括以下步骤:In a first aspect, the present invention provides a method for observing state parameters of a distributed electric drive vehicle, comprising the following steps:
S1,获取汽车当前时刻的第一纵向速度、横向加速度、车轮纵向力、车轮转角和车轮侧向力,将当前时刻的车轮纵向力、车轮转角和车轮侧向力输入非线性车辆模型,得到横摆角速度;S1. Obtain the first longitudinal velocity, lateral acceleration, wheel longitudinal force, wheel angle and wheel lateral force of the vehicle at the current moment, input the current wheel longitudinal force, wheel angle and wheel lateral force into the nonlinear vehicle model, and obtain the transverse pendulum speed;
S2,将车轮转角、横向加速度、横摆角速度、第一纵向速度输入状态参数观测模型,得到第一质心侧偏角,状态参数观测模型采用自适应模糊神经网络模型;S2. Input the wheel angle, lateral acceleration, yaw rate, and first longitudinal velocity into the state parameter observation model to obtain the first center-of-mass sideslip angle. The state parameter observation model adopts an adaptive fuzzy neural network model;
S3,以横摆角速度和第一质心侧偏角作为观测向量构造第一滑模观测器;S3, using the yaw rate and the first center-of-mass sideslip angle as observation vectors to construct a first sliding mode observer;
S4,将车轮转角、车轮纵向力、车轮侧向力输入第一滑模观测器,得到第二纵向速度和第二侧向速度,根据第二纵向速度和第二侧向速度得到第二质心侧偏角。S4, input the wheel angle, wheel longitudinal force, and wheel lateral force into the first sliding model observer to obtain the second longitudinal velocity and the second lateral velocity, and obtain the second centroid side according to the second longitudinal velocity and the second lateral velocity declination.
作为优选,自适应模糊神经网络模型包括输入节点层、规则节点层、平均节点层、结论节点层和输出节点层,输入节点层用于模糊化输入变量,每个节点均为拥有特定节点函数的自适应节点,节点函数为:As preferably, the adaptive fuzzy neural network model includes an input node layer, a regular node layer, an average node layer, a conclusion node layer and an output node layer, and the input node layer is used to fuzzify input variables, and each node is a node with a specific node function Adaptive node, the node function is:
其中,x为节点输入,{a,b,c}为可变参数集,称为规则的前提部分参数,能够反映模糊集合中的不同隶属度函数;Among them, x is the node input, and {a, b, c} is a variable parameter set, which is called the premise part parameter of the rule, which can reflect different membership functions in the fuzzy set;
输入节点层的节点输出函数表示为:The node output function of the input node layer is expressed as:
其中,x1,x2,…,xn为节点输出,是模糊变量Ai,Bj和Ck的隶属度函数值,表示了节点输入x1,x2,…,xn对于Ai,Bj和Ck的隶属程度;Among them, x 1 , x 2 ,…, x n are node outputs, which are the membership function values of fuzzy variables A i , B j and C k , which represent the node input x 1 , x 2 ,…, x n for A i , the degree of membership of B j and C k ;
规则节点层的节点是通过标以累乘符号(∏)表示的固定节点,为输入节点层的节点输出函数作为规则节点层的输入信号,规则节点层的输入是规则节点层中所有输入信号的乘积:The node of the regular node layer is a fixed node represented by the multiplication symbol (∏), which is the node output function of the input node layer as the input signal of the regular node layer, and the input of the regular node layer is the sum of all input signals in the regular node layer product:
平均节点层的节点是以标以N的固定节点,节点的输出是激励强度与规则库中的激励强度之和的比值,该比值表示将规则强度归一化:The node of the average node layer is a fixed node marked with N, and the output of the node is the ratio of the sum of the excitation strength and the excitation strength in the rule base, which means that the rule strength is normalized:
结论节点层的节点为带有节点函数的自适应节点,结论节点层的节点输出表示为:The nodes of the conclusion node layer are adaptive nodes with node functions, and the node output of the conclusion node layer is expressed as:
其中,pi,qi和ri为后件参数,fi是表示后件参数与系统输入乘积的符号;Among them, p i , q i and r i are the consequent parameters, and f i is the symbol representing the product of the consequent parameter and the system input;
输出节点层的节点为带有节点函数的自适应节点,输出节点层的节点输出表示为:The nodes of the output node layer are adaptive nodes with node functions, and the node output of the output node layer is expressed as:
自适应模糊神经网络模型的输入为车轮转角、横向加速度、横摆角速度、第一纵向速度输入状态参数观测模型,自适应模糊神经网络模型的输出为第一质心侧偏角βANFIS。The input of the adaptive fuzzy neural network model is the wheel angle, lateral acceleration, yaw rate, and the first longitudinal velocity input state parameter observation model, and the output of the adaptive fuzzy neural network model is the first centroid side slip angle β ANFIS .
作为优选,自适应模糊神经网络模型的训练过程具体包括:As preferably, the training process of adaptive fuzzy neural network model specifically includes:
以横摆角速度作为观测向量构造第二滑模观测器:Construct the second sliding mode observer with the yaw rate as the observation vector:
第二滑模观测器由下式描述:The second sliding mode observer is described by the following equation:
其中,x为状态向量,u为输入变量,z为观测向量,K为鲁棒控制项矩阵;Among them, x is the state vector, u is the input variable, z is the observation vector, and K is the robust control term matrix;
第二滑模观测器的非线性形式表达式为:The nonlinear form expression of the second sliding mode observer is:
其中,输入变量为:Among them, the input variables are:
u=[δ Fx Fy];u = [δ F x F y ];
其中,δ为车轮转角,Fx为作用在车轮的车轮纵向力,Fy为作用在车轮的车轮侧向力;状态向量和观测向量分别为:Among them, δ is the wheel rotation angle, F x is the wheel longitudinal force acting on the wheel, F y is the wheel lateral force acting on the wheel; the state vector and observation vector are respectively:
x=[vx vy r];x=[v x v y r];
y=[r];y = [r];
其中,νx为第三纵向速度,νy为第三横向速度,r为横摆角速度;Wherein, ν x is the third longitudinal velocity, ν y is the third lateral velocity, and r is the yaw rate;
基于滑模变结构理论构造第二滑模观测器如下:Based on the sliding mode variable structure theory, the second sliding mode observer is constructed as follows:
Is=sgn(s);I s =sgn(s);
H为阻尼系数矩阵,Is为切换函数;H is the damping coefficient matrix, I s is the switching function;
第二滑模观测器的阻尼系数矩阵H为:The damping coefficient matrix H of the second sliding mode observer is:
H=[h1 h2 h3];H=[h 1 h 2 h 3 ];
其中,h1、h2、h3分别为仿真过程中得到的阻尼系数;Among them, h 1 , h 2 , h 3 are the damping coefficients obtained in the simulation process;
第二滑模观测器的鲁棒控制项矩阵K为:The robust control term matrix K of the second sliding mode observer is:
K=[k1 k2 k3];K=[k 1 k 2 k 3 ];
其中,k1、k2、k3分别为仿真过程中得到的鲁棒控制项;Among them, k 1 , k 2 , and k 3 are the robust control items obtained in the simulation process;
选择饱和函数作为第二滑模观测器的切换函数,相当于在滑模面附近设置边界层,则有:Selecting the saturation function as the switching function of the second sliding mode observer is equivalent to setting a boundary layer near the sliding mode surface, then:
Is=sat(s/λ);I s =sat(s/λ);
其中,λ为边界层的厚度;where λ is the thickness of the boundary layer;
通过第二滑模观测器估算得到第三纵向速度vx和第三侧向速度vy,再根据下式估算得到第一质心侧偏角:The third longitudinal velocity v x and the third lateral velocity v y are estimated by the second sliding mode observer, and then the first center-of-mass sideslip angle is estimated according to the following formula:
采集汽车运行过程中的车轮转角、横向加速度、横摆角速度和第一纵向速度,将车轮转角、横向加速度、横摆角速度和第一纵向速度与第一质心侧偏角构成训练数据,采用训练数据对自适应模糊神经网络模型进行训练,得到状态参数观测模型。Collect the wheel angle, lateral acceleration, yaw rate and first longitudinal velocity during the operation of the car, and use the wheel angle, lateral acceleration, yaw rate, first longitudinal velocity and the first center of mass sideslip angle to form the training data, and use the training data The adaptive fuzzy neural network model is trained to obtain the state parameter observation model.
作为优选,步骤S1具体包括:Preferably, step S1 specifically includes:
选择三自由度动力学模型作为分布式电驱动汽车的非线性车辆模型:The three-degree-of-freedom dynamics model is chosen as the nonlinear vehicle model for the distributed electric drive vehicle:
其中,m为整车质量,ν0 x为第一纵向速度,ν0 y为第一侧向速度,r为横摆角速度,δ为车轮转角,d为前后轴的轮距,a为车辆质心到前轴的距离,b为车辆质心到后轴的距离,Iz为横摆转动惯量,Fx为作用在车轮的车轮纵向力,Fy为作用在车轮的车轮侧向力,Fxij和Fyij中的ij=fl、fr、rl、rr,分别表示前左车轮,前右车轮、后左车轮、后右车轮。Among them, m is the mass of the vehicle, ν 0 x is the first longitudinal velocity, ν 0 y is the first lateral velocity, r is the yaw rate, δ is the wheel angle, d is the wheelbase of the front and rear axles, and a is the center of mass of the vehicle is the distance from the front axle to the front axle, b is the distance from the center of mass of the vehicle to the rear axle, I z is the yaw moment of inertia, F x is the wheel longitudinal force acting on the wheel, F y is the wheel lateral force acting on the wheel, F xij and ij=fl, fr, rl, rr in F yij represent the front left wheel, the front right wheel, the rear left wheel, and the rear right wheel respectively.
作为优选,车轮纵向力Fx的计算公式如下:Preferably, the calculation formula of the wheel longitudinal force Fx is as follows:
其中,Jw是车轮转动惯量,rw是车轮有效半径,wij和Tij分别表示每个车轮的角速度和车轮扭矩。Among them, J w is the moment of inertia of the wheel, r w is the effective radius of the wheel, w ij and T ij represent the angular velocity and wheel torque of each wheel, respectively.
作为优选,步骤S3具体包括:As preferably, step S3 specifically includes:
第一滑模观测器的非线性形式表达式为:The nonlinear form expression of the first sliding mode observer is:
其中,状态向量为:Among them, the state vector is:
x=[v'x v'y r];x=[v' x v' y r];
观测向量为The observation vector is
y=[r βANFIS];y=[r β ANFIS ];
其中,βANFIS为自适应模糊神经网络预估的第一质心侧偏角;Among them, β ANFIS is the side slip angle of the first center of mass estimated by the adaptive fuzzy neural network;
输入向量为The input vector is
u=[δ Fx Fy];u = [δ F x F y ];
因此,构造第一滑模观测器如下:Therefore, the first sliding mode observer is constructed as follows:
Is=sat(s/λ);I s =sat(s/λ);
作为优选,步骤S4具体包括:As preferably, step S4 specifically includes:
通过第一滑模观测器估算得到汽车的第二纵向速度v’x和第二侧向速度v’y,再根据下式估算得到第二质心侧偏角:The second longitudinal velocity v' x and the second lateral velocity v' y of the vehicle are estimated by the first sliding mode observer, and then the second center-of-mass sideslip angle is estimated according to the following formula:
第二方面,本发明提供了一种分布式电驱动汽车状态参数观测装置,包括:In a second aspect, the present invention provides a distributed electric drive vehicle state parameter observation device, including:
横摆角速度计算模块,被配置为获取汽车当前时刻的第一纵向速度、横向加速度、车轮纵向力、车轮转角和车轮侧向力,将当前时刻的车轮纵向力、车轮转角和车轮侧向力输入非线性车辆模型,得到横摆角速度;The yaw rate calculation module is configured to obtain the first longitudinal velocity, lateral acceleration, wheel longitudinal force, wheel angle and wheel lateral force of the vehicle at the current moment, and input the wheel longitudinal force, wheel angle and wheel lateral force at the current moment Non-linear vehicle model to obtain the yaw rate;
第一质心侧偏角计算模块,被配置为将车轮转角、横向加速度、横摆角速度、第一纵向速度输入状态参数观测模型,得到第一质心侧偏角,状态参数观测模型采用自适应模糊神经网络模型;The first center-of-mass sideslip angle calculation module is configured to input the wheel angle, lateral acceleration, yaw rate, and first longitudinal velocity into the state parameter observation model to obtain the first center-of-mass sideslip angle. The state parameter observation model adopts an adaptive fuzzy neural network network model;
第一滑模观测器构造模块,被配置为以横摆角速度和第一质心侧偏角作为观测向量构造第一滑模观测器;The first sliding mode observer construction module is configured to use the yaw rate and the first center of mass sideslip angle as observation vectors to construct the first sliding mode observer;
第二质心侧偏角计算模块,被配置为将车轮转角、车轮纵向力、车轮侧向力输入第一滑模观测器,得到第二纵向速度和第二侧向速度,根据第二纵向速度和第二侧向速度得到第二质心侧偏角。The second center-of-mass sideslip angle calculation module is configured to input the wheel angle, wheel longitudinal force, and wheel lateral force into the first sliding model observer to obtain the second longitudinal velocity and the second lateral velocity, according to the second longitudinal velocity and The second lateral velocity results in a second center-of-mass slip angle.
第三方面,本发明提供了一种电子设备,包括一个或多个处理器;存储装置,用于存储一个或多个程序,当一个或多个程序被一个或多个处理器执行,使得一个或多个处理器实现如第一方面中任一实现方式描述的方法。In a third aspect, the present invention provides an electronic device, including one or more processors; a storage device for storing one or more programs, when one or more programs are executed by one or more processors, so that a or multiple processors implement the method described in any implementation manner of the first aspect.
第四方面,本发明提供了一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现如第一方面中任一实现方式描述的方法。In a fourth aspect, the present invention provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method described in any implementation manner in the first aspect is implemented.
相比于现有技术,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:
(1)本发明提出的分布式电驱动汽车状态参数观测方法通过设计第二滑模观测器先对车辆状态参数进行预估计,并在此基础上通过引入自适应模糊神经网络模型,通过第二滑模观测器估算得到的第一质心侧偏角结合车轮转角、横向加速度、横摆角速度和第一纵向速度构成训练数据,采用该训练数据对自适应模糊神经网络模型进行训练,得到状态参数观测模型,可以有效地解决滑模观测器由于在滑模面引起的抖振,从而导致估计精度差的问题。(1) The state parameter observation method of the distributed electric drive vehicle proposed by the present invention pre-estimates the vehicle state parameters by designing the second sliding mode observer, and on this basis, introduces the self-adaptive fuzzy neural network model, through the second The first center-of-mass side slip angle estimated by the sliding mode observer is combined with the wheel angle, lateral acceleration, yaw rate and first longitudinal velocity to form training data, and the training data is used to train the adaptive fuzzy neural network model to obtain state parameter observations The model can effectively solve the problem of poor estimation accuracy of the sliding mode observer due to the chattering caused by the sliding mode surface.
(2)本发明提出的分布式电驱动汽车状态参数观测方法最终得到第二质心偏侧角与真实值较为接近,估算精度高,误差小。(2) The state parameter observation method of the distributed electric drive vehicle proposed by the present invention finally obtains the second centroid lateral angle which is relatively close to the real value, with high estimation accuracy and small error.
(3)本发明提出的分布式电驱动汽车状态参数观测方法克服了现有汽车上观测器的不足,提高了汽车状态参数的估计精度,适用于客车的状态参数估计。(3) The method for observing state parameters of distributed electric-driven automobiles proposed by the present invention overcomes the shortcomings of existing observers on automobiles, improves the estimation accuracy of automobile state parameters, and is suitable for state parameter estimation of passenger cars.
附图说明Description of drawings
为了更清楚地说明本发明实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简要介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域的普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings that need to be used in the description of the embodiments will be briefly introduced below. Obviously, the drawings in the following description are only some embodiments of the present invention. For Those of ordinary skill in the art can also obtain other drawings based on these drawings without making creative efforts.
图1是本申请的一个实施例可以应用于其中的示例性装置架构图;Fig. 1 is an exemplary device architecture diagram to which an embodiment of the present application can be applied;
图2为本申请的实施例的分布式电驱动汽车状态参数观测方法的流程示意图;FIG. 2 is a schematic flow diagram of a method for observing state parameters of a distributed electric drive vehicle according to an embodiment of the present application;
图3为本申请的实施例的分布式电驱动汽车状态参数观测方法的流程框图;Fig. 3 is the block flow diagram of the state parameter observation method of the distributed electric drive vehicle of the embodiment of the present application;
图4为本申请的实施例的分布式电驱动汽车状态参数观测方法的自适应模糊神经网络模型与第一滑模观测器之间数据处理的示意图;4 is a schematic diagram of data processing between the adaptive fuzzy neural network model and the first sliding mode observer of the distributed electric drive vehicle state parameter observation method of the embodiment of the present application;
图5为本申请的实施例的分布式电驱动汽车状态参数观测方法的结果与原方法及真实值的对比图;Fig. 5 is the comparison chart of the result of the state parameter observation method of the distributed electric drive vehicle of the embodiment of the present application and the original method and the true value;
图6为本申请的实施例的分布式电驱动汽车状态参数观测装置的示意图;6 is a schematic diagram of a distributed electric drive vehicle state parameter observation device according to an embodiment of the present application;
图7是适于用来实现本申请实施例的电子设备的计算机装置的结构示意图。Fig. 7 is a schematic structural diagram of a computer device suitable for realizing the electronic equipment of the embodiment of the present application.
具体实施方式detailed description
为了使本发明的目的、技术方案和优点更加清楚,下面将结合附图对本发明作进一步地详细描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其它实施例,都属于本发明保护的范围。In order to make the purpose, technical solutions and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, rather than all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
图1示出了可以应用本申请实施例的分布式电驱动汽车状态参数观测方法或分布式电驱动汽车状态参数观测装置的示例性装置架构100。Fig. 1 shows an
如图1所示,装置架构100可以包括终端设备101、102、103,网络104和服务器105。网络104用以在终端设备101、102、103和服务器105之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线、无线通信链路或者光纤电缆等等。As shown in FIG. 1 , the
用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种应用,例如数据处理类应用、文件处理类应用等。Users can use
终端设备101、102、103可以是硬件,也可以是软件。当终端设备101、102、103为硬件时,可以是各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。当终端设备101、102、103为软件时,可以安装在上述所列举的电子设备中。其可以实现成多个软件或软件模块(例如用来提供分布式服务的软件或软件模块),也可以实现成单个软件或软件模块。在此不做具体限定。The
服务器105可以是提供各种服务的服务器,例如对终端设备101、102、103上传的文件或数据进行处理的后台数据处理服务器。后台数据处理服务器可以对获取的文件或数据进行处理,生成处理结果。The
需要说明的是,本申请实施例所提供的分布式电驱动汽车状态参数观测方法可以由服务器105执行,也可以由终端设备101、102、103执行,相应地,分布式电驱动汽车状态参数观测装置可以设置于服务器105中,也可以设置于终端设备101、102、103中。It should be noted that the distributed electric drive vehicle state parameter observation method provided in the embodiment of the present application can be executed by the
应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。在所处理的数据不需要从远程获取的情况下,上述装置架构可以不包括网络,而只需服务器或终端设备。It should be understood that the numbers of terminal devices, networks and servers in Fig. 1 are only illustrative. According to the implementation needs, there can be any number of terminal devices, networks and servers. In the case that the data to be processed does not need to be acquired from a remote location, the above device architecture may not include a network, but only need a server or a terminal device.
图2示出了本申请的实施例提供的一种分布式电驱动汽车状态参数观测方法,包括以下步骤:Fig. 2 shows a method for observing state parameters of a distributed electric drive vehicle provided by an embodiment of the present application, including the following steps:
S1,获取汽车当前时刻的第一纵向速度、横向加速度、车轮纵向力、车轮转角和车轮侧向力,将当前时刻的车轮纵向力、车轮转角和车轮侧向力输入非线性车辆模型,得到横摆角速度。S1. Obtain the first longitudinal velocity, lateral acceleration, wheel longitudinal force, wheel angle and wheel lateral force of the vehicle at the current moment, input the current wheel longitudinal force, wheel angle and wheel lateral force into the nonlinear vehicle model, and obtain the transverse pendulum speed.
在具体的实施例中,步骤S1具体包括:In a specific embodiment, step S1 specifically includes:
选择三自由度动力学模型作为分布式电驱动汽车的非线性车辆模型:The three-degree-of-freedom dynamics model is chosen as the nonlinear vehicle model for the distributed electric drive vehicle:
其中,m为整车质量,ν0 x为第一纵向速度,ν0 y为第一侧向速度,r为横摆角速度,δ为车轮转角,d为前后轴的轮距,a为车辆质心到前轴的距离,b为车辆质心到后轴的距离,Iz为横摆转动惯量,Fx为作用在车轮的车轮纵向力,Fy为作用在车轮的车轮侧向力,Fxij和Fyij中的ij=fl、fr、rl、rr,分别表示前左车轮,前右车轮、后左车轮、后右车轮。Among them, m is the mass of the vehicle, ν 0 x is the first longitudinal velocity, ν 0 y is the first lateral velocity, r is the yaw rate, δ is the wheel angle, d is the wheelbase of the front and rear axles, and a is the center of mass of the vehicle is the distance from the front axle to the front axle, b is the distance from the center of mass of the vehicle to the rear axle, I z is the yaw moment of inertia, F x is the wheel longitudinal force acting on the wheel, F y is the wheel lateral force acting on the wheel, F xij and ij=fl, fr, rl, rr in F yij represent the front left wheel, the front right wheel, the rear left wheel, and the rear right wheel respectively.
在具体的实施例中,车轮纵向力Fx的计算公式如下:In a specific embodiment, the calculation formula of the wheel longitudinal force Fx is as follows:
其中,Jw是车轮转动惯量,rw是车轮有效半径,wij和Tij分别表示每个车轮的角速度和车轮扭矩。Among them, J w is the moment of inertia of the wheel, r w is the effective radius of the wheel, w ij and T ij represent the angular velocity and wheel torque of each wheel, respectively.
具体的,参考图3,通过直接通过安装在客车上的GPS系统、陀螺仪、轮胎力传感器、前轮转角等传感器或车载CAN获取汽车的车轮纵向力、车轮侧向力以及车轮转角,作为优选,车轮转角为前轮转角。车轮纵向力通过上式计算得到,车轮侧向力可直接测量得到,将当前时刻的车轮纵向力、车轮转角和车轮侧向力输入分布式电驱动汽车的非线性车辆模型,得到横摆角速度r。Specifically, with reference to Fig. 3, the wheel longitudinal force, the wheel lateral force and the wheel angle of the automobile are acquired directly through sensors such as GPS system, gyroscope, tire force sensor, front wheel angle or vehicle-mounted CAN installed on the passenger car, as a preferred , the wheel angle is the front wheel angle. The longitudinal force of the wheel is calculated by the above formula, and the lateral force of the wheel can be directly measured. Input the longitudinal force of the wheel, the wheel angle and the lateral force of the wheel at the current moment into the nonlinear vehicle model of the distributed electric drive vehicle to obtain the yaw rate r .
S2,将车轮转角、横向加速度、横摆角速度、第一纵向速度输入状态参数观测模型,得到第一质心侧偏角,状态参数观测模型采用自适应模糊神经网络模型。S2. Input the wheel angle, lateral acceleration, yaw rate, and first longitudinal velocity into the state parameter observation model to obtain the first center of mass sideslip angle. The state parameter observation model adopts an adaptive fuzzy neural network model.
具体的,参考图4,自适应模糊神经网络模型是一类结合模糊推理系统、神经网络的智能系统。该系统涵盖了多输入、单输出以及多规则的五层结构网络。Specifically, referring to FIG. 4 , the adaptive fuzzy neural network model is a type of intelligent system combined with a fuzzy reasoning system and a neural network. The system covers a multi-input, single-output and multi-rule five-layer network.
在具体的实施例中,自适应模糊神经网络模型包括输入节点层、规则节点层、平均节点层、结论节点层和输出节点层,输入节点层用于模糊化输入变量,每个节点均为拥有特定节点函数的自适应节点,节点函数为:In a specific embodiment, the adaptive fuzzy neural network model includes an input node layer, a rule node layer, an average node layer, a conclusion node layer and an output node layer, and the input node layer is used to fuzzify input variables, and each node has An adaptive node for a specific node function, the node function is:
其中,x为节点输入,{a,b,c}为可变参数集,称为规则的前提部分参数,能够反映模糊集合中的不同隶属度函数;Among them, x is the node input, and {a, b, c} is a variable parameter set, which is called the premise part parameter of the rule, which can reflect different membership functions in the fuzzy set;
输入节点层的节点输出函数表示为:The node output function of the input node layer is expressed as:
其中,x1,x2,…,xn为节点输出,是模糊变量Ai,Bj和Ck的隶属度函数值,表示了节点输入x1,x2,…,xn对于Ai,Bj和Ck的隶属程度;Among them, x 1 , x 2 ,…, x n are node outputs, which are the membership function values of fuzzy variables A i , B j and C k , which represent the node input x 1 , x 2 ,…, x n for A i , the degree of membership of B j and C k ;
规则节点层的节点是通过标以累乘符号(∏)表示的固定节点,为输入节点层的节点输出函数作为规则节点层的输入信号,规则节点层的输入是规则节点层中所有输入信号的乘积:The node of the regular node layer is a fixed node represented by the multiplication symbol (∏), which is the node output function of the input node layer as the input signal of the regular node layer, and the input of the regular node layer is the sum of all input signals in the regular node layer product:
平均节点层的节点是以标以N的固定节点,节点的输出是激励强度与规则库中的激励强度之和的比值,该比值表示将规则强度归一化:The node of the average node layer is a fixed node marked with N, and the output of the node is the ratio of the sum of the excitation strength and the excitation strength in the rule base, which means that the rule strength is normalized:
结论节点层的节点为带有节点函数的自适应节点,结论节点层的节点输出表示为:The nodes of the conclusion node layer are adaptive nodes with node functions, and the node output of the conclusion node layer is expressed as:
其中,pi,qi和ri为后件参数,fi是表示后件参数与系统输入乘积的符号;Among them, p i , q i and r i are the consequent parameters, and f i is the symbol representing the product of the consequent parameter and the system input;
输出节点层的节点为带有节点函数的自适应节点,输出节点层的节点输出表示为:The nodes of the output node layer are adaptive nodes with node functions, and the node output of the output node layer is expressed as:
自适应模糊神经网络模型的输入为车轮转角、横向加速度、横摆角速度、第一纵向速度v°x输入状态参数观测模型,自适应模糊神经网络模型的输出为第一质心侧偏角βANFIS。The input of the adaptive fuzzy neural network model is the wheel angle, lateral acceleration, yaw rate, and the first longitudinal velocity v° x input state parameter observation model, and the output of the adaptive fuzzy neural network model is the first centroid side slip angle β ANFIS .
具体的,自适应模糊神经网络模型选择输入参数考虑的准则为:选择输入的最小数目,选择车载传感器可测量的信号。综合考虑之后,选择以下参数作为输入:车轮转角、横向加速度、横摆角速度和第一纵向速度,输出为第一质心侧偏角βANFIS。其中,第一质心侧偏角从构造的第二滑模观测器计算得到。Specifically, the criteria considered for selecting input parameters of the adaptive fuzzy neural network model are: select the minimum number of inputs, and select signals that can be measured by the vehicle sensor. After comprehensive consideration, the following parameters are selected as input: wheel rotation angle, lateral acceleration, yaw rate and first longitudinal velocity, and the output is the first center-of-mass sideslip angle β ANFIS . Among them, the first center-of-mass sideslip angle is calculated from the constructed second sliding mode observer.
最后从车辆运行中产生的大量数据中提取上述输入、输出参数的数据,进行整理形成状态输入和状态输出数据集,构成训练数据。采用训练数据对自适应模糊神经网络模型进行训练,获得状态参数观测模型。Finally, the data of the above-mentioned input and output parameters are extracted from a large amount of data generated during vehicle operation, and then sorted out to form a state input and state output data set to form training data. The adaptive fuzzy neural network model is trained by using the training data to obtain the state parameter observation model.
在具体的实施例中,自适应模糊神经网络模型的训练过程具体包括:In a specific embodiment, the training process of the adaptive fuzzy neural network model specifically includes:
以横摆角速度作为观测向量构造第二滑模观测器:Construct the second sliding mode observer with the yaw rate as the observation vector:
第二滑模观测器由下式描述:The second sliding mode observer is described by the following equation:
其中,x为状态向量,u为输入变量,z为观测向量,K为鲁棒控制项矩阵;Among them, x is the state vector, u is the input variable, z is the observation vector, and K is the robust control term matrix;
第二滑模观测器的非线性形式表达式为:The nonlinear form expression of the second sliding mode observer is:
其中,输入变量为:Among them, the input variables are:
u=[δ Fx Fy];u = [δ F x F y ];
其中,δ为车轮转角,Fx为作用在车轮的车轮纵向力,Fy为作用在车轮的车轮侧向力;状态向量和观测向量分别为:Among them, δ is the wheel rotation angle, F x is the wheel longitudinal force acting on the wheel, F y is the wheel lateral force acting on the wheel; the state vector and observation vector are respectively:
x=[vx vy r];x=[v x v y r];
y=[r];y = [r];
其中,νx为第三纵向速度,νy为第三横向速度,r为横摆角速度;Wherein, ν x is the third longitudinal velocity, ν y is the third lateral velocity, and r is the yaw rate;
基于滑模变结构理论构造第二滑模观测器如下:Based on the sliding mode variable structure theory, the second sliding mode observer is constructed as follows:
Is=sgn(s);I s =sgn(s);
H为阻尼系数矩阵,Is为切换函数;H is the damping coefficient matrix, I s is the switching function;
第二滑模观测器的阻尼系数矩阵H为:The damping coefficient matrix H of the second sliding mode observer is:
H=[h1 h2 h3];H=[h 1 h 2 h 3 ];
其中,h1、h2、h3分别为仿真过程中得到的阻尼系数;Among them, h 1 , h 2 , h 3 are the damping coefficients obtained in the simulation process;
第二滑模观测器的鲁棒控制项矩阵K为:The robust control term matrix K of the second sliding mode observer is:
K=[k1 k2 k3];K=[k 1 k 2 k 3 ];
其中,k1、k2、k3分别为仿真过程中得到的鲁棒控制项;Among them, k 1 , k 2 , and k 3 are the robust control items obtained in the simulation process;
选择饱和函数作为第二滑模观测器的切换函数,相当于在滑模面附近设置边界层,则有:Selecting the saturation function as the switching function of the second sliding mode observer is equivalent to setting a boundary layer near the sliding mode surface, then:
Is=sat(s/λ);I s =sat(s/λ);
其中,λ为边界层的厚度;where λ is the thickness of the boundary layer;
通过第二滑模观测器估算得到汽车的第三纵向速度vx和第三侧向速度vy,再根据下式估算得到第一质心侧偏角:The third longitudinal velocity v x and the third lateral velocity v y of the vehicle are estimated by the second sliding mode observer, and then the first center-of-mass sideslip angle is estimated according to the following formula:
采集汽车运行过程中的车轮转角、横向加速度、横摆角速度和第一纵向速度,将车轮转角、横向加速度、横摆角速度和第一纵向速度与第一质心侧偏角构成训练数据,采用该训练数据对自适应模糊神经网络模型进行训练,得到状态参数观测模型。第一纵向速度为实际测量得到的数据,第三纵向速度是通过第二滑模观测器估算得到的数据。Collect the wheel angle, lateral acceleration, yaw rate and first longitudinal velocity during the operation of the car, and use the wheel angle, lateral acceleration, yaw rate, first longitudinal velocity and the first side slip angle of the center of mass to form the training data. The data is used to train the adaptive fuzzy neural network model to obtain the state parameter observation model. The first longitudinal velocity is data obtained through actual measurement, and the third longitudinal velocity is data estimated through the second sliding mode observer.
具体的,调整增益矩阵K可消除系统的不确定项,并通过切换函数Is在滑模面附件高速切换达到滑动条件。在设计第二滑模观测器时应为了消除抖振,选择饱和函数作为第二滑模观测器的切换函数,相当于在滑模面附件设置边界层,可以通过合理地选择边界层的厚度λ,来获取满意的第二滑模观测器性能。以横摆角速度作为观测向量构造第二滑模观测器,将车轮转角、车轮纵向力、车轮侧向力输入第二滑模观测器估计得到第一质心侧偏角,将该第一质心侧偏角结合汽车运行过程中的车轮转角、横向加速度、横摆角速度和第一纵向速度构成自适应模糊神经网络模型的训练数据,对自适应模糊神经网络模型进行训练,得到状态参数观测模型。Specifically, adjusting the gain matrix K can eliminate the uncertain terms of the system, and achieve the sliding condition by switching the switching function I s at high speed near the sliding mode surface. In order to eliminate chattering when designing the second sliding mode observer, the saturation function should be selected as the switching function of the second sliding mode observer, which is equivalent to setting a boundary layer near the sliding mode surface, and the thickness of the boundary layer λ can be reasonably selected , to obtain satisfactory performance of the second sliding mode observer. The second sliding mode observer is constructed with the yaw rate as the observation vector, and the wheel angle, wheel longitudinal force, and wheel lateral force are input into the second sliding mode observer to estimate the side slip angle of the first center of mass, and the first center of mass sideslip Combined with the wheel angle, lateral acceleration, yaw angular velocity and first longitudinal velocity during the operation of the vehicle, the training data of the adaptive fuzzy neural network model is formed, and the adaptive fuzzy neural network model is trained to obtain the state parameter observation model.
S3,以横摆角速度和第一质心侧偏角作为观测向量构造第一滑模观测器。S3, using the yaw rate and the first center-of-mass sideslip angle as observation vectors to construct a first sliding mode observer.
在具体的实施例中,步骤S3具体包括:In a specific embodiment, step S3 specifically includes:
第一滑模观测器的非线性形式表达式为:The nonlinear form expression of the first sliding mode observer is:
其中,状态向量为:Among them, the state vector is:
x=[v'x v'y r];x=[v' x v' y r];
观测向量为The observation vector is
y=[r βANFIS];y=[r β ANFIS ];
其中,βANFIS为自适应模糊神经网络预估的第一质心侧偏角;Among them, β ANFIS is the side slip angle of the first center of mass estimated by the adaptive fuzzy neural network;
输入向量为The input vector is
u=[δ Fx Fy];u = [δ F x F y ];
因此,构造第一滑模观测器如下:Therefore, the first sliding mode observer is constructed as follows:
Is=sat(s/λ);I s =sat(s/λ);
S4,将车轮转角、车轮纵向力、车轮侧向力输入第一滑模观测器,得到第二纵向速度和第二侧向速度,根据第二纵向速度和第二侧向速度得到第二质心侧偏角。S4, input the wheel angle, wheel longitudinal force, and wheel lateral force into the first sliding model observer to obtain the second longitudinal velocity and the second lateral velocity, and obtain the second centroid side according to the second longitudinal velocity and the second lateral velocity declination.
在具体的实施例中,步骤S4具体包括:In a specific embodiment, step S4 specifically includes:
通过第一滑模观测器估算得到汽车的第二纵向速度v’x和第二侧向速度v’y,再根据下式估算得到第二质心侧偏角:The second longitudinal velocity v' x and the second lateral velocity v' y of the vehicle are estimated by the first sliding mode observer, and then the second center-of-mass sideslip angle is estimated according to the following formula:
图5是本申请的实施例提出的分布式电驱动汽车状态参数观测方法与原方法的结果对比图,从图5可以看出,本申请的实施例提出的分布式电驱动汽车状态参数观测方法得到的反应汽车状态的质心侧偏角估计结果好于原方法,与真实值非常逼近。Fig. 5 is a result comparison chart of the state parameter observation method of the distributed electric drive vehicle proposed by the embodiment of the present application and the original method, as can be seen from Fig. 5, the state parameter observation method of the distributed electric drive vehicle proposed by the embodiment of the present application The obtained estimation result of the side slip angle of the center of mass reflecting the state of the vehicle is better than the original method, and is very close to the real value.
进一步参考图6,作为对上述各图所示方法的实现,本申请提供了一种分布式电驱动汽车状态参数观测装置的一个实施例,该装置实施例与图2所示的方法实施例相对应,该装置具体可以应用于各种电子设备中。Further referring to FIG. 6, as an implementation of the methods shown in the above-mentioned figures, the present application provides an embodiment of a distributed electric drive vehicle state parameter observation device, which is similar to the method embodiment shown in FIG. 2 Correspondingly, the device can be specifically applied to various electronic devices.
本申请实施例提供了一种分布式电驱动汽车状态参数观测装置,包括:An embodiment of the present application provides a distributed electric drive vehicle state parameter observation device, including:
横摆角速度计算模块1,被配置为获取汽车当前时刻的第一纵向速度、横向加速度、车轮纵向力、车轮转角和车轮侧向力,将当前时刻的车轮纵向力、车轮转角和车轮侧向力输入非线性车辆模型,得到横摆角速度;The yaw rate calculation module 1 is configured to obtain the first longitudinal velocity, lateral acceleration, wheel longitudinal force, wheel angle and wheel lateral force of the vehicle at the current moment, and calculate the current wheel longitudinal force, wheel angle and wheel lateral force Input the nonlinear vehicle model to get the yaw rate;
第一质心侧偏角计算模块2,被配置为将车轮转角、横向加速度、横摆角速度、第一纵向速度输入状态参数观测模型,得到第一质心侧偏角,状态参数观测模型采用自适应模糊神经网络模型;The first center-of-mass sideslip
第一滑模观测器构造模块3,被配置为以横摆角速度和第一质心侧偏角作为观测向量构造第一滑模观测器;The first sliding mode observer construction module 3 is configured to construct a first sliding mode observer using the yaw rate and the first center-of-mass sideslip angle as observation vectors;
第二质心侧偏角计算模块4,被配置为将车轮转角、车轮纵向力、车轮侧向力输入第一滑模观测器,得到第二纵向速度和第二侧向速度,根据第二纵向速度和第二侧向速度得到第二质心侧偏角。The second center-of-mass sideslip
下面参考图7,其示出了适于用来实现本申请实施例的电子设备(例如图1所示的服务器或终端设备)的计算机装置700的结构示意图。图7示出的电子设备仅仅是一个示例,不应对本申请实施例的功能和使用范围带来任何限制。Referring now to FIG. 7 , it shows a schematic structural diagram of a
如图7所示,计算机装置700包括中央处理单元(CPU)701和图形处理器(GPU)702,其可以根据存储在只读存储器(ROM)703中的程序或者从存储部分709加载到随机访问存储器(RAM)704中的程序而执行各种适当的动作和处理。在RAM 704中,还存储有装置700操作所需的各种程序和数据。CPU 701、GPU702、ROM 703以及RAM704通过总线705彼此相连。输入/输出(I/O)接口706也连接至总线705。As shown in FIG. 7, a
以下部件连接至I/O接口706:包括键盘、鼠标等的输入部分707;包括诸如、液晶显示器(LCD)等以及扬声器等的输出部分708;包括硬盘等的存储部分709;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分710。通信部分710经由诸如因特网的网络执行通信处理。驱动器711也可以根据需要连接至I/O接口706。可拆卸介质712,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器711上,以便于从其上读出的计算机程序根据需要被安装入存储部分709。The following components are connected to the I/O interface 706: an
特别地,根据本公开的实施例,上文参考流程图描述的过程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分710从网络上被下载和安装,和/或从可拆卸介质712被安装。在该计算机程序被中央处理单元(CPU)701和图形处理器(GPU)702执行时,执行本申请的方法中限定的上述功能。In particular, according to an embodiment of the present disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product, which includes a computer program carried on a computer-readable medium, where the computer program includes program codes for executing the methods shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via communication portion 710 and/or installed from
需要说明的是,本申请所述的计算机可读介质可以是计算机可读信号介质或者计算机可读介质或者是上述两者的任意组合。计算机可读介质例如可以是——但不限于——电、磁、光、电磁、红外线或半导体的装置、装置或器件,或者任意以上的组合。计算机可读介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件或者上述的任意合适的组合。在本申请中,计算机可读介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行装置、装置或者器件使用或者与其结合使用。而在本申请中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读介质以外的任何计算机可读介质,该计算机可读介质可以发送、传播或者传输用于由指令执行装置、装置或者器件使用或者与其结合使用的程序。计算机可读介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、电线、光缆、RF等等,或者上述的任意合适的组合。It should be noted that the computer-readable medium described in this application may be a computer-readable signal medium or a computer-readable medium or any combination of the above two. A computer readable medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor device, device, or device, or a combination of any of the above. More specific examples of computer readable media may include, but are not limited to, electrical connections with one or more conductors, portable computer diskettes, hard disks, random access memory (RAM), read only memory (ROM), erasable programmable Read Only Memory (EPROM or Flash), fiber optics, portable compact disk read only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination of the above. In this application, a computer-readable medium may be any tangible medium that contains or stores a program that can be used by or in conjunction with an instruction execution device, apparatus, or device. In this application, however, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, in which computer-readable program codes are carried. Such propagated data signals may take many forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the foregoing. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable medium that can transmit, propagate, or transport a program for use by or in conjunction with an instruction execution apparatus, apparatus, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
可以以一种或多种程序设计语言或其组合来编写用于执行本申请的操作的计算机程序代码,所述程序设计语言包括面向对象的程序设计语言—诸如Java、Smalltalk、C++,还包括常规的过程式程序设计语言—诸如“C”语言或类似的程序设计语言。程序代码可以完全地在用户计算机上执行、部分地在用户计算机上执行、作为一个独立的软件包执行、部分在用户计算机上部分在远程计算机上执行、或者完全在远程计算机或服务器上执行。在涉及远程计算机的情形中,远程计算机可以通过任意种类的网络——包括局域网(LAN)或广域网(WAN)—连接到用户计算机,或者,也可以连接到外部计算机(例如利用因特网服务提供商来通过因特网连接)。Computer program code for carrying out the operations of this application may be written in one or more programming languages, or combinations thereof, including object-oriented programming languages—such as Java, Smalltalk, C++, and conventional A procedural programming language—such as "C" or a similar programming language. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In cases involving a remote computer, the remote computer can be connected to the user computer through any kind of network, including a local area network (LAN) or a wide area network (WAN), or it can be connected to an external computer (for example, using an Internet service provider to connected via the Internet).
附图中的流程图和框图,图示了按照本申请各种实施例的装置、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段或代码的一部分,该模块、程序段或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图和/或流程图中的每个方框以及框图和/或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的装置来实现,或者可以用专用硬件与计算机指令的组合来实现。The flowchart and block diagrams in the figures illustrate the architecture, functions and operations of possible implementations of apparatuses, methods and computer program products according to various embodiments of the present application. In this regard, each block in a flowchart or block diagram may represent a module, program segment, or part of code that contains one or more programmable logic functions for implementing specified logical functions. Execute instructions. It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or they may sometimes be executed in the reverse order, depending upon the functionality involved. It should also be noted that each block in the block diagrams and/or flowcharts, and combinations of blocks in the block diagrams and/or flowcharts, can be implemented by dedicated hardware-based devices that perform the specified functions or operations, Or it can be implemented using a combination of special purpose hardware and computer instructions.
描述于本申请实施例中所涉及到的模块可以通过软件的方式实现,也可以通过硬件的方式来实现。所描述的模块也可以设置在处理器中。The modules involved in the embodiments described in the present application may be implemented by means of software or hardware. The described modules may also be provided in a processor.
作为另一方面,本申请还提供了一种计算机可读介质,该计算机可读介质可以是上述实施例中描述的电子设备中所包含的;也可以是单独存在,而未装配入该电子设备中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被该电子设备执行时,使得该电子设备:获取汽车当前时刻的第一纵向速度、横向加速度、车轮纵向力、车轮转角和车轮侧向力,将当前时刻的车轮纵向力、车轮转角和车轮侧向力输入非线性车辆模型,得到横摆角速度;将车轮转角、横向加速度、横摆角速度、第一纵向速度输入状态参数观测模型,得到第一质心侧偏角,状态参数观测模型采用自适应模糊神经网络模型;以横摆角速度和第一质心侧偏角作为观测向量构造第一滑模观测器;将车轮转角、车轮纵向力、车轮侧向力输入第一滑模观测器,得到第二纵向速度和第二侧向速度,根据第二纵向速度和第二侧向速度得到第二质心侧偏角。As another aspect, the present application also provides a computer-readable medium. The computer-readable medium may be included in the electronic device described in the above-mentioned embodiments; or it may exist independently without being assembled into the electronic device. middle. The above-mentioned computer-readable medium carries one or more programs, and when the above-mentioned one or more programs are executed by the electronic device, the electronic device: acquires the first longitudinal velocity, lateral acceleration, wheel longitudinal force, wheel Rotation angle and wheel lateral force, input the current wheel longitudinal force, wheel rotation angle and wheel lateral force into the nonlinear vehicle model to obtain the yaw rate; input the wheel angle, lateral acceleration, yaw rate, and the first longitudinal velocity into the state Parameter observation model, the first center of mass side slip angle is obtained, and the state parameter observation model adopts an adaptive fuzzy neural network model; the first sliding mode observer is constructed with the yaw rate and the first center of mass side slip angle as the observation vector; the wheel angle, The wheel longitudinal force and wheel lateral force are input into the first sliding mode observer to obtain the second longitudinal velocity and the second lateral velocity, and the second center-of-mass sideslip angle is obtained according to the second longitudinal velocity and the second lateral velocity.
以上描述仅为本申请的较佳实施例以及对所运用技术原理的说明。本领域技术人员应当理解,本申请中所涉及的发明范围,并不限于上述技术特征的特定组合而成的技术方案,同时也应涵盖在不脱离上述发明构思的情况下,由上述技术特征或其等同特征进行任意组合而形成的其它技术方案。例如上述特征与本申请中公开的(但不限于)具有类似功能的技术特征进行互相替换而形成的技术方案。The above description is only a preferred embodiment of the present application and an illustration of the applied technical principles. Those skilled in the art should understand that the scope of the invention involved in this application is not limited to the technical solution formed by the specific combination of the above-mentioned technical features, and should also cover the technical solutions formed by the above-mentioned technical features or without departing from the above-mentioned inventive concept. Other technical solutions formed by any combination of equivalent features. For example, a technical solution formed by replacing the above-mentioned features with technical features with similar functions disclosed in (but not limited to) this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211354354.7A CN115571141A (en) | 2022-11-01 | 2022-11-01 | Distributed electric drive automobile state parameter observation method and device and readable medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202211354354.7A CN115571141A (en) | 2022-11-01 | 2022-11-01 | Distributed electric drive automobile state parameter observation method and device and readable medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN115571141A true CN115571141A (en) | 2023-01-06 |
Family
ID=84588811
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202211354354.7A Pending CN115571141A (en) | 2022-11-01 | 2022-11-01 | Distributed electric drive automobile state parameter observation method and device and readable medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN115571141A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116923428A (en) * | 2023-09-07 | 2023-10-24 | 华东交通大学 | Combined estimation method for electric automobile centroid side deflection angle and tire side force |
-
2022
- 2022-11-01 CN CN202211354354.7A patent/CN115571141A/en active Pending
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN116923428A (en) * | 2023-09-07 | 2023-10-24 | 华东交通大学 | Combined estimation method for electric automobile centroid side deflection angle and tire side force |
CN116923428B (en) * | 2023-09-07 | 2023-11-28 | 华东交通大学 | Combined estimation method for electric automobile centroid side deflection angle and tire side force |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
Xiao et al. | Deep neural networks with Koopman operators for modeling and control of autonomous vehicles | |
Alcala et al. | Gain‐scheduling LPV control for autonomous vehicles including friction force estimation and compensation mechanism | |
Guo et al. | Design of a reduced‐order non‐linear observer for vehicle velocities estimation | |
Noci et al. | The shaped transformer: Attention models in the infinite depth-and-width limit | |
He et al. | Nonlinear robust control of integrated vehicle dynamics | |
CN113408047B (en) | Vehicle dynamics prediction model based on time-lag feedback neural network, training data acquisition method and training method | |
CN112784483B (en) | Identification model modeling and using method of tire performance margin and related equipment | |
Fang et al. | A high-performance neural network vehicle dynamics model for trajectory tracking control | |
Chen et al. | Robust sideslip angle observer with regional stability constraint for an uncertain singular intelligent vehicle system | |
Liu et al. | Vehicle state estimation based on unscented Kalman filtering and a genetic-particle swarm algorithm | |
CN114021840A (en) | Lane-changing strategy generation method and apparatus, computer storage medium, and electronic device | |
Sakthivel et al. | Non‐fragile control design and state estimation for vehicle dynamics subject to input delay and actuator faults | |
Li et al. | Decoupling control in velocity-varying four-wheel steering vehicles with H∞ performance by longitudinal velocity and yaw rate feedback | |
Gong et al. | A novel method for identifying inertial parameters of electric vehicles based on the dual H infinity filter | |
Mohanapriya et al. | Repetitive control design for vehicle lateral dynamics with state‐delay | |
CN115534925A (en) | Vehicle control method, device, equipment and computer readable medium | |
Zhang et al. | Robust ℋ∞ filtering for vehicle sideslip angle estimation with sampled-data measurements | |
CN114834467A (en) | Control operation method and device for automatic driving vehicle and unmanned vehicle | |
CN115571141A (en) | Distributed electric drive automobile state parameter observation method and device and readable medium | |
Guo et al. | Modular scheme for four‐wheel‐drive electric vehicle tire‐road force and velocity estimation | |
Leanza et al. | On the vehicle dynamics prediction via model-based observation | |
Zhang et al. | Path tracking control for autonomous vehicles with saturated input: A fuzzy fixed‐time learning control approach | |
CN117272525A (en) | Intelligent electric automobile road adhesion coefficient estimation method | |
Yu et al. | DGPR‐MPC: Learning‐based model predictive controller for autonomous vehicle path following | |
Fu et al. | Real‐time estimation and prediction of lateral stability of coaches: a hybrid approach based on EKF, BPNN, and online autoregressive integrated moving average algorithm |
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 |