Vehicle state observation method and device based on global path search
By establishing a vehicle state observation model through global path search and unscented Kalman filter, the problem of difficulty in quickly determining whether the unknown quantity can be calculated in the existing technology is solved, and the mathematical model of the vehicle state observer is quickly established, simplifying the vehicle state observation process.
Patent Information
- Application Number
- CN202311490324.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-09
- Publication Date
- 2026-11-24
- Estimated Expiration
- 2043-11-09
AI Technical Summary
Existing vehicle state observation methods cannot quickly determine whether the desired quantity is solvable, and even if the desired quantity is solvable, they cannot quickly establish a mathematical model of the target vehicle state observer, usually requiring experience or repeated attempts.
A global path search-based approach is adopted to establish a formula topology graph of state equations and measurement equations through global path search. An unscented Kalman filter is used to observe the vehicle state, quickly determine whether the unknown quantity is solvable, and quickly establish the target state vector if it is solvable.
It can quickly determine whether the quantity to be determined is solvable, and if the quantity to be determined is solvable, it can quickly establish a mathematical model of the target vehicle state observer, which simplifies the vehicle state observation process and improves the observation efficiency.
Smart Images

Figure CN117622173B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of vehicle engineering technology, and in particular to a vehicle state observation method and apparatus based on global path search. Background Technology
[0002] Vehicle stability control systems need to determine the required braking pressure or additional steering angle based on the vehicle's current state, such as the sideslip angle and yaw rate, and the difference between these parameters and the target parameters.
[0003] Vehicle state observation is also a crucial module in autonomous driving systems. These systems require real-time acquisition of vehicle state variables such as speed, sideslip angle, road surface adhesion coefficient, and tire forces to control the vehicle and ensure its safe movement along the planned path. When onboard sensors are unable to measure these state variables, state observation methods are necessary.
[0004] Vehicle state observation is based on modern control theory. It uses vehicle and tire models to establish state-space expressions that describe the mapping relationship between the state variables to be determined, known input variables, and measurable quantities. Then, it uses methods such as Kalman filters or sliding mode observers to estimate the state variables.
[0005] Currently, the problem with vehicle state observation methods is that when the unknown and known quantities change, it is difficult to quickly determine whether the unknown quantity can be observed based on the known quantities, and when the unknown quantity is solvable, which formulas should be used and in what order to achieve the observation of the unknown quantity. Typically, it requires experience or repeated trials to find a method for establishing a vehicle state observation model.
[0006] Therefore, how to solve the problem that existing vehicle state observation methods cannot determine whether the desired quantity is solvable based on arbitrarily set desired and known quantities, and cannot quickly establish a mathematical model of the target vehicle state observer when the desired quantity is solvable, is a technical problem that urgently needs to be solved in the field of vehicle engineering technology. Summary of the Invention
[0007] This invention provides a vehicle state observation method and apparatus based on global path search, which overcomes the shortcomings of existing vehicle state observation methods that cannot determine whether a desired quantity is solvable based on arbitrarily set desired and known quantities, and cannot quickly establish a mathematical model of the target vehicle state observer when the desired quantity is solvable. This invention can not only quickly determine whether a desired quantity is solvable based on arbitrarily set desired and known quantities, but also quickly establish a formula topology graph from the starting point to the ending point when the desired quantity is solvable, thereby observing the target state vector.
[0008] On one hand, the present invention provides a vehicle state observation method based on global path search, comprising: establishing a formula topology graph of the state equation through global path search based on a first unknown quantity, a first known quantity vector, and a vehicle state observation model; establishing a formula topology graph of the measurement equation through global path search based on a second unknown quantity, a second known quantity vector, and a vehicle state observation model; and observing the vehicle state through an unscented Kalman filter based on the formula topology graph of the state equation and the formula topology graph of the measurement equation to obtain a target state vector.
[0009] Furthermore, the vehicle state observation model includes a vehicle model, a tire model, a kinematic model, a slip parameter calculation model, and a vertical load calculation model; wherein, the vehicle model includes a dual-rail vehicle model and a single-rail vehicle model, and the tire model includes a linear tire model and a nonlinear tire model.
[0010] Furthermore, the formula topology graph is a tree structure that grows to the right; the formula topology graph of the state equation has the first unknown quantity as the root node and the formula variables in the vehicle state observation model as leaf nodes and intermediate nodes; the formula topology graph of the measurement equation has the second unknown quantity as the root node and the formula variables in the vehicle state observation model as leaf nodes and intermediate nodes.
[0011] Further, the process of obtaining a target state vector by observing the vehicle state through an unscented Kalman filter, based on the formula topology graph of the state equation and the formula topology graph of the measurement equation, includes: determining a state vector containing the first unknown quantity, a first actual known quantity vector, and a first target formula sequence according to the formula topology graph of the state equation; determining a second actual known quantity vector and a second target formula sequence according to the formula topology graph of the measurement equation; and inputting the first target formula sequence and the second target formula sequence into the unscented Kalman filter to observe and obtain the target state vector.
[0012] Furthermore, during the global path search, for each branch path in the formula topology graph, when the branch path reaches a known quantity or the unknown physical quantity reached appears for the second time on the branch path, the search of the branch path is stopped, and the unknown physical quantity that appears twice is placed in the state vector; when all branch paths in the formula topology graph have stopped searching, the global path search ends.
[0013] Furthermore, after the global path search is completed, the method further includes: for physical quantities that serve as intermediate nodes in the formula topology graph, if the physical quantity appears for the second time in the lower part of the formula topology graph, the branch path corresponding to the physical quantity is cut off.
[0014] Secondly, the present invention also provides a vehicle state observation device based on global path search, comprising: a first formula topology graph construction module, used to establish a formula topology graph of the state equation through global path search based on a first unknown quantity, a first known quantity vector, and a vehicle state observation model; a second formula topology graph construction module, used to establish a formula topology graph of the measurement equation through global path search based on a second unknown quantity, a second known quantity vector, and a vehicle state observation model; and a target state vector observation module, used to observe the vehicle state through an unscented Kalman filter based on the formula topology graph of the state equation and the formula topology graph of the measurement equation to obtain a target state vector.
[0015] Thirdly, the present invention also provides a vehicle stability control system, including the vehicle state observation device based on global path search as described above, or, during operation, employing the vehicle state observation method based on global path search as described in any of the preceding claims.
[0016] Fourthly, the present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the program to implement the vehicle state observation method based on global path search as described above.
[0017] Fifthly, the present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the vehicle state observation method based on global path search as described above.
[0018] The vehicle state observation method based on global path search provided by this invention establishes a formula topology graph of the state equations through global path search based on a first unknown variable, a first known variable vector, and a vehicle state observation model. Similarly, it establishes a formula topology graph of the measurement equations based on a second unknown variable, a second known variable vector, and the vehicle state observation model. Then, based on these formula topology graphs, an unscented Kalman filter is used to observe the vehicle state and obtain the target state vector. This method abstracts the model construction problem of vehicle state observation into a path search problem starting with the unknown variable and ending with the state vector and known variables. For any given unknown variable and known variables, it can quickly determine whether the unknown variable is solvable. Furthermore, if the unknown variable is solvable, it can quickly establish a mathematical model of the target vehicle state observer to obtain the target state vector. This process does not require establishing explicit mathematical relationships between the state vector, input vector, and measurement vector, greatly simplifying the vehicle state observation process. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0020] Figure 1 This is a flowchart illustrating the vehicle state observation method based on global path search provided by the present invention.
[0021] Figure 2 Formula topology diagram of the state equation provided by the present invention;
[0022] Figure 3 A comparison chart of simulated and estimated longitudinal vehicle speeds provided for this invention;
[0023] Figure 4 A comparison chart of simulated and estimated values of lateral vehicle speed provided by this invention;
[0024] Figure 5 A comparison chart of simulated and estimated values of yaw rate provided by this invention;
[0025] Figure 6 A comparison chart of simulated and estimated values of longitudinal acceleration provided for this invention;
[0026] Figure 7 A comparison chart of simulated and estimated values of lateral acceleration provided by this invention;
[0027] Figure 8 A schematic diagram of the vehicle state observation device based on global path search provided by the present invention;
[0028] Figure 9 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0030] It should be noted that existing vehicle state observation methods struggle to quickly determine whether the desired variable can be observed based on the known variable when both the desired and known variables change. Furthermore, when the desired variable is solvable, it's difficult to determine which formulas should be used and in what order to achieve observation. Finding a method for establishing a mathematical model of the target vehicle state observer typically requires experience or repeated trials.
[0031] In view of this, the present invention provides a vehicle state observation method based on global path search, specifically, Figure 1 The flowchart of the vehicle state observation method based on global path search provided by the present invention is shown.
[0032] like Figure 1 As shown, the method includes:
[0033] S110, Based on the first unknown quantity, the first known quantity vector, and the vehicle state observation model, establish the formula topology graph of the state equation through global path search.
[0034] It is understandable that for several physical quantities that need to be estimated... Each time, one of the physical quantities can be used. The quantity to be determined.
[0035] The first quantity to be determined in this step is one of the aforementioned physical quantities that need to be estimated.
[0036] Meanwhile, the initial input vector consisting of several known quantities is denoted as the first known quantity vector u0. These known quantities can be obtained through measurements by onboard sensors.
[0037] The vehicle state observation model is a model related to vehicle state observation. In this embodiment, the vehicle state observation model includes 5 modules.
[0038] Specifically, the vehicle state observation model includes a vehicle model, a tire model, a kinematic model, a slip parameter calculation model, and a vertical load calculation model.
[0039] The vehicle models include dual-rail vehicle models and single-rail vehicle models, and the tire models include linear tire models and nonlinear tire models.
[0040] It should be noted that the vehicle model includes both dual-track and single-track vehicle models, which are related by "or". Only one of them needs to be selected each time the vehicle status is observed.
[0041] Similarly, the linear tire model and the nonlinear tire model included in the tire model are also related by "or", and only one of them needs to be selected each time the vehicle state is observed.
[0042] In other words, after determining the first unknown quantity and the first known quantity vector, it is necessary to select the vehicle model and the tire model, that is, to select a dual-track or single-track vehicle model, and to select a linear tire model or a nonlinear tire model.
[0043] Other models in the vehicle state observation model besides the vehicle model and tire model can be used directly.
[0044] It should be noted that not all modules of the vehicle state observation model listed here will be used in the subsequent solution of the target state vector. The formula sequence corresponding to the formula topology diagram of the state equation is a subset of the above modules.
[0045] It should also be noted that the formula sequence corresponding to each module in the vehicle state observation model will be elaborated in detail in subsequent embodiments.
[0046] Furthermore, a formulaic topology graph T for the state equations is established through global path search. xk Specifically, the formula topology of the state equation presents a complex tree structure that grows to the right. With the first unknown variable as the root node and the formula variables in the vehicle state observation model as leaf nodes and intermediate nodes, a complex tree structure represented by the formulas in the vehicle state observation model is obtained.
[0047] For example, using any formula λ0=f(λ1,λ2,…,λ m Taking the mathematical relationship described by λ0 as an example, this mathematical relationship can be abstracted into a structure with physical quantity λ0 as the parent node (the root node of this simple tree structure), and other physical quantities λ1, λ2, ..., λ3 as the parent node. m A simple tree structure is a tree structure with child nodes (leaf nodes of this simple tree structure), and it is said that there is a one-way path from the parent node to the child node.
[0048] The results of the global path search include multiple formulas, which form a formula sequence and indicate the order in which the formulas are used. Therefore, the final formula topology T of the state equations... xk It is a complex tree structure composed of simple tree structures represented by various formulas.
[0049] S120. Based on the second unknown quantity, the second known quantity vector, and the vehicle state observation model, a formula topology graph of the measurement equation is established through global path search.
[0050] It is understandable that, based on the establishment of the formula topology graph of the state equation through global path search in step S110 according to the first unknown quantity, the first known quantity vector, and the vehicle state observation model, step S120 will further establish the formula topology graph of the measurement equation through global path search according to the second unknown quantity, the second known quantity vector, and the vehicle state observation model.
[0051] Specifically, several physical quantities z1, z2, ..., z that can be directly measured by onboard sensors or indirectly estimated by preceding observers will be included. n The resulting measurement vector is denoted as the second unknown quantity z, and each time it can consist of several physical quantities z1, z2, ..., z n A physical quantity z k The quantity to be determined.
[0052] Among them, the dimension n of the second unknown z is less than that of the temporary state vector. Half the dimension.
[0053] At the same time, the temporary state vector Union with the first known vector u0 As the second known quantity vector.
[0054] The vehicle state observation model, its limitations, and its description in this step are the same as those in step S110 above, and will not be elaborated here.
[0055] Furthermore, a formula topology graph T of the measurement equations is established through global path search. zk Specifically, the formula topology of the measurement equations presents a complex tree structure that grows to the right, with the second unknown quantity as the root node and the formula variables in the vehicle state observation model as leaf nodes and intermediate nodes, thus obtaining a complex tree structure represented by each formula in the vehicle state observation model.
[0056] Formula topology T for establishing measurement equations zk The process can be referenced above regarding λ0=f(λ1,λ2,…,λ). m The process of abstracting the mathematical relationships described by ) into a simple tree structure will not be elaborated here.
[0057] S130, based on the formula topology diagram of the state equation and the formula topology diagram of the measurement equation, the vehicle state is observed through an unscented Kalman filter (UKF) to obtain the target state vector.
[0058] In step S120, based on the second unknown quantity, the second known quantity vector, and the vehicle state observation model, and establishing the formula topology graph of the measurement equation through global path search, step S130 further uses an unscented Kalman filter to observe the vehicle state based on the formula topology graph of the state equation and the measurement equation, so as to obtain the final target state vector.
[0059] Specifically, based on the formula of the state equation, the topological graph T xk Determine whether to include the selected quantity to be determined. Local state vector And the local input vector u consisting of the elements that actually appear in u0. xk Let the vector formed by the first unknown quantity be... like Then only s path searches are needed, and by Obtain the temporary state vector
[0060] Furthermore, from the formula topology graph T xk The formula sequence E can be obtained. xk .
[0061] From the topological diagram T of the measurement equation zk The formula sequence E can be obtained. zk .
[0062] Check the formula topology diagram T zk The vector x is formed by variables that appear twice on a certain branch path. zk ,and And by T zk Determine the local input vector u consisting of the elements that actually appear in u0. zk .
[0063] like Let the initial state vector be... And repeat steps S110 to S120; otherwise, the final state vector is obtained. The final input vector is u = u x1 ∪u x2 …∪u xs ∪u z1 …∪u zn .
[0064] The first objective formula sequence and the second objective formula sequence are input into an unscented Kalman filter, and the objective state vector is observed.
[0065] First objective formula sequence E x1 ~E xsIt describes the mathematical relationship between the state vector x and the input vector u, that is... Second objective formula sequence E z1 ~E zn It describes the mathematical relationship between the measurement vector z and the state vector x and the input vector u, namely z = h(x, u).
[0066] The first objective formula sequence E x1 ~E xs Second objective formula sequence E z1 ~E zn When applied to unscented Kalman filters, the target state vector x can be solved without explicitly expressing the state vector x and the measurement vector z, thus avoiding the construction of state-space expressions and greatly reducing the computational cost of establishing a mathematical model of the target vehicle state observer.
[0067] Among them, the unscented Kalman filter is a nonlinear filtering method that does not require solving the Jacobian matrix to linearize the nonlinear equation at the estimation point, and is suitable for solving the state observation problem of systems with strong nonlinearity.
[0068] In this embodiment, a formula topology graph of the state equation is established through global path search based on the first unknown variable, the first known variable vector, and the vehicle state observation model. Similarly, a formula topology graph of the measurement equation is established through global path search based on the second unknown variable, the second known variable vector, and the vehicle state observation model. Then, based on the formula topology graphs of the state equation and the measurement equation, an unscented Kalman filter is used to observe the vehicle state and obtain the target state vector. This method abstracts the model construction problem of vehicle state observation into a path search problem starting with the unknown variable and ending with the state vector and known variables. For any given unknown variable and known variables, it can quickly determine whether the unknown variable is solvable. Furthermore, if the unknown variable is solvable, it can quickly establish a mathematical model of the target vehicle state observer to obtain the target state vector. This process does not require establishing explicit mathematical relationships between the state vector, input vector, and measurement vector, greatly simplifying the vehicle state observation process.
[0069] Based on the above embodiments, the formula sequence corresponding to the vehicle state observation model will be further elaborated below.
[0070] Understandably, the vehicle state observation model comprises five modules: vehicle model, tire model, kinematic model, slip parameter calculation model, and vertical load calculation model. Specifically:
[0071] (1) The vehicle models include dual-track vehicle models and single-track vehicle models.
[0072] In detail, the tire forces of the four wheels are shown in the dual-rail vehicle model. The formula sequence corresponding to the dual-rail vehicle model is as follows:
[0073]
[0074]
[0075]
[0076] in, For ω r Time derivative, I z Let F be the moment of inertia of the vehicle around its center of mass along the z-axis in the vehicle coordinate system, where a is the distance between the vehicle's center of mass and the front axle. x11 F is the longitudinal force on the left front wheel. x12 F is the longitudinal force on the right front wheel, δ is the front wheel steering angle, and F is the longitudinal force on the right front wheel. y21 F is the lateral force on the left rear wheel. y22 e represents the lateral force on the right rear wheel. f F is the track width of the front axle. y11 The lateral force F is the force on the left front wheel. y12 e represents the lateral force on the right front wheel. r The track width of the rear axle is a. x F is the longitudinal acceleration, m is the mass of the vehicle, and F is the longitudinal acceleration. x21 F is the longitudinal force on the left rear wheel. x22 This is the longitudinal force on the right rear wheel.
[0077] The monorail vehicle model utilizes the resultant force on the left and right tires, which can be represented as follows:
[0078]
[0079]
[0080]
[0081] Among them, F x1 For the longitudinal resultant force of the front wheel, F y1 Let F be the resultant lateral force of the front wheel, b be the distance between the vehicle's center of gravity and the rear axle, and F be the resultant lateral force of the front wheel. x2 For the longitudinal resultant force of the rear wheel, a y For lateral acceleration, F y2 This is the resultant force on the rear wheel's side.
[0082] It should be noted that, since the formula sequence for the tire model and vertical load calculation model defined in this embodiment targets the tire forces on all four wheels, four formulas will be added to the formula sequence for the monorail vehicle model in this embodiment to establish the relationship between the resultant force of the tires and the component forces of the left and right tires. The four added formulas are as follows:
[0083]
[0084] (2) Tire models include nonlinear tire models and linear tire models.
[0085] In detail, the nonlinear tire model considers the relationship between tire force and road adhesion coefficient, slip ratio, and tire slip angle, which can describe tire force characteristics more accurately. The formula sequence corresponding to the nonlinear tire model is as follows:
[0086]
[0087]
[0088]
[0089] Where, ρ ij For a dimensionless variable, c xij For tire longitudinal stiffness, s ij c is the tire slip ratio. yij For tire lateral stiffness, α ij The tire slip angle, μ ij F is the tire adhesion coefficient. zij For the vertical force of the tire, F xij For the longitudinal force of the tire, F yij The force is the lateral force of the tire; i = 1, 2 correspond to the front and rear wheels respectively, and j = 1, 2 correspond to the left and right wheels respectively.
[0090] The formula sequence corresponding to the linear tire model is as follows:
[0091] F xij =c xij s ij (11)
[0092] F yij =c yij α ij (12)
[0093] (3) Kinematic model, used to describe the kinematic relationship between various physical quantities.
[0094] In detail, the formula sequence corresponding to the kinematic model is as follows:
[0095]
[0096]
[0097]
[0098] in, For vy Time derivative, v y For lateral vehicle speed, ω r The yaw rate is angular velocity. For v x Time derivative, v x For longitudinal vehicle speed, a y β is the lateral acceleration, and β is the sideslip angle of the center of mass.
[0099] In order to establish v x v y ω r In addition to the relationship between the time derivative and the kinematic model, the following three formulas were added:
[0100]
[0101] (4) Slip parameter calculation model, used to describe the relationship between tire slip angle, slip ratio and other physical quantities.
[0102] The formula sequence corresponding to the slip parameter calculation model is as follows:
[0103]
[0104]
[0105] Where δ is the front wheel steering angle, α 1j The front wheel slip angle, α 2j R is the rear wheel slip angle. e ω is the effective rolling radius of the tire. ij The speed is the tire rotation speed; i = 1, 2 correspond to the front wheel and the rear wheel respectively, and j = 1, 2 correspond to the left wheel and the right wheel respectively.
[0106] (5) Vertical load calculation model, used to describe the relationship between tire vertical load and vehicle lateral and longitudinal acceleration.
[0107] The formula sequence corresponding to the vertical load calculation model is as follows:
[0108]
[0109] Among them, F z11 For the vertical load on the left front wheel, F z12 For the vertical load on the right front wheel, F z21 For the vertical load on the left rear wheel, F z22 The vertical load on the right rear wheel is given by g, g is the acceleration due to gravity, L is the wheelbase of the vehicle, and h is the vertical load on the right rear wheel. s The height of the center of mass.
[0110] In the above vehicle state observation model, the vehicle's mass, inertia, dimensional parameters, and tire stiffness are all known quantities.
[0111] It should be noted that in this embodiment, only one physical quantity ω is used for each of the four tires' rotational speed, slip ratio, sideslip angle, and road adhesion coefficient. ij s ij α ij and μ ij To represent it, in order to reduce the number of physical quantities.
[0112] In this embodiment, a formula topology graph of the state equation is established through global path search based on the first unknown variable, the first known variable vector, and the vehicle state observation model. Similarly, a formula topology graph of the measurement equation is established through global path search based on the second unknown variable, the second known variable vector, and the vehicle state observation model. Then, based on the formula topology graphs of the state equation and the measurement equation, an unscented Kalman filter is used to observe the vehicle state and obtain the target state vector. This method abstracts the model construction problem of vehicle state observation into a path search problem starting with the unknown variable and ending with the state vector and known variables. For any given unknown variable and known variables, it can quickly determine whether the unknown variable is solvable. Furthermore, if the unknown variable is solvable, it can quickly establish a mathematical model of the target vehicle state observer to obtain the target state vector. This process does not require establishing explicit mathematical relationships between the state vector, input vector, and measurement vector, greatly simplifying the vehicle state observation process.
[0113] Based on the above embodiments, a formula topology graph of the state equations and a formula topology graph of the measurement equations are further established through global path search. The rules for global path search will be described below.
[0114] The so-called global path search algorithm refers to transforming the problem of constructing the mathematical model of the target vehicle state observer into a path search problem starting with the unknown variable and ending with the input variable and state variable, and realizing the search of all possible paths.
[0115] Specifically, on the one hand, when performing a global path search, for each branch path in the formula topology graph (including the formula topology graph of the state equation and the formula topology graph of the measurement equation), when the branch path reaches a known quantity, or when the unknown physical quantity reached appears for the second time on the branch path, the search for that branch path is stopped, and the unknown physical quantity that appears twice is placed in the state vector x.
[0116] The global path search ends when all branch paths in the formula topology graph have stopped being searched.
[0117] On the other hand, after the global path search is completed, for physical quantities that are intermediate nodes in the formula topology graph, if the physical quantity appears for the second time at the bottom of the formula topology graph, the subsequent branch paths of the physical quantity are cut off, so that the formula topology graph can more clearly represent the results of the global path search and the topological relationships between the physical quantities.
[0118] In this embodiment, a formulaic topology graph of the state equation and a formulaic topology graph of the measurement equation are established through global path search. Then, based on these formulaic topologies, an unscented Kalman filter is used to observe the vehicle state and obtain the target state vector. This method abstracts the model construction problem of vehicle state observation into a path search problem starting with the unknown variable and ending with the state vector and known variables. For any given unknown variable and known variables, it can quickly determine whether the unknown variable is solvable. Furthermore, if the unknown variable is solvable, it can quickly establish a mathematical model of the target vehicle state observer to obtain the target state vector. This process does not require establishing explicit mathematical relationships between the state vector, input vector, and measurement vector, greatly simplifying the vehicle state observation process.
[0119] In another embodiment, a specific and complete implementation of a vehicle state observation method based on global path search is shown.
[0120] Specifically, first, we construct the formula topology diagram of the state equations.
[0121] With longitudinal vehicle speed v x Let u0 = [δ, ω] be the unknown variable. ij ,μ ij ] T By selecting a dual-track vehicle model and a nonlinear tire model, and through global path search, a topological graph T, such as the state equation, can be obtained. x .
[0122] In one specific embodiment Figure 2 The formula topology diagram of the state equations provided by this invention is shown.
[0123] according to Figure 2 As can be seen, the formula topology of the state equation is a complex tree structure that grows to the right. In this formula topology, the root node is the variable to be solved, v. x The intermediate nodes and leaf nodes are the formula variables involved in the vehicle state observation model.
[0124] In the formula topology graph, each simple tree structure consisting of a parent node and several child nodes at a single level corresponds to a formula.
[0125] For example It means
[0126]
[0127] It is worth noting that the formula topology diagram reflects the "completeness" of the variables in the formula, that is, for any formula λ0=f(λ1,λ2,…,λ m When λ0 is a parent node in the formula topology graph, λ1, λ2, ..., λ m These m physical quantities will all appear as child nodes directly connected to them.
[0128] exist Figure 2 The pruning effect on the formula topology graph can also be seen. Because F x11 The upper right corner of the diagram has been decomposed into F. z11 μ ij s ij and α ij Therefore, at the bottom of the diagram when F x11 When it appears again, its subsequent branches are pruned so that the formula topology diagram can more clearly reflect the relationship between physical quantities.
[0129] From the formula topology graph T x Based on the rules for determining state variables proposed in the above embodiments, the local state vector can be obtained. Local input vector u x =[δ,ω ij ,μ ij ] T And the required formula sequence E x That is, the first objective formula sequence.
[0130] Wherein, the first objective formula sequence E x It includes the following sets of formulas:
[0131] F zij =f1(a x ,a y ) (twenty one)
[0132] s ij =f2(v x ,ω ij ) (twenty two)
[0133] α ij =f3(v x ,v y ,ω r ,δ) (23)
[0134] F xij =f4(μ ij ,F zij ,s ij,α ij ) (twenty four)
[0135] F yij =f5(μ ij ,F zij ,s ij ,α ij (25)
[0136]
[0137] a x =f7(F x11 ,F x12 ,F x21 ,F x22 ,F y11 ,F y12 ,δ) (27)
[0138] a y =f8(F x11 ,F x12 ,F y11 ,F y12 ,F y21 ,F y22 ,δ) (28)
[0139]
[0140]
[0141] Secondly, establish the formula topology diagram of the measurement equation.
[0142] ω can be directly measured by an onboard IMU (Inertial Measurement Unit). r a x and a y Constructing a measurement vector, therefore z = [ω r ,a x ,a y ] T .
[0143] because therefore and Final state vector
[0144]
[0145] Finally, by u=u x ∪u z1 ∪u z2 ∪u z3 The final state vector u = [δ, ω] can be obtained.ij ,μ ij ] T The first objective formula sequence E x The state equations can be obtained. From the formula sequence E z1 ~E z3 The measurement equation z = h(x,u) is obtained, and then an unscented Kalman filter is used to solve for the target state vector x.
[0146] In another embodiment, to verify the vehicle state observation effect, this example uses the CarSim vehicle model to perform a double lane change scenario simulation and compares it with the vehicle state observation results obtained by using the above steps.
[0147] Specifically, Figures 3-7 The longitudinal vehicle speed v was compared separately. x Lateral vehicle speed v y yaw rate ω r Longitudinal acceleration a x and lateral acceleration a y Simulation and observation results.
[0148] Unfolding Figure 3 A comparison chart of the simulated and estimated values of the longitudinal vehicle speed provided by this invention is shown; Figure 4 A comparison chart of the simulated and estimated values of the lateral vehicle speed provided by this invention is shown; Figure 5 A comparison chart of the simulated and estimated values of the yaw rate provided by this invention is shown; Figure 6 A comparison graph showing the simulated and estimated values of longitudinal acceleration provided by this invention is shown; Figure 7 A comparison graph showing the simulated and estimated values of the lateral acceleration provided by this invention is shown.
[0149] according to Figures 3-7 It is evident that the vehicle state observation method based on global path search provided by this invention can accurately observe the vehicle state.
[0150] Figure 8 A schematic diagram of the vehicle status observation device based on global path search provided by the present invention is shown.
[0151] like Figure 8As shown, the device includes: a first formula topology graph construction module 810, used to establish a formula topology graph of the state equations through global path search based on a first unknown quantity, a first known quantity vector, and a vehicle state observation model; a second formula topology graph construction module 820, used to establish a formula topology graph of the measurement equations through global path search based on a second unknown quantity, a second known quantity vector, and a vehicle state observation model; and a target state vector observation module 830, used to observe the vehicle state through an unscented Kalman filter based on the formula topology graphs of the state equations and the measurement equations to obtain a target state vector.
[0152] In this embodiment, the first formula topology graph construction module 810 establishes a formula topology graph of the state equation based on the first unknown quantity, the first known quantity vector, and the vehicle state observation model through global path search. The second formula topology graph construction module 820 establishes a formula topology graph of the measurement equation based on the second unknown quantity, the second known quantity vector, and the vehicle state observation model through global path search. Then, the target state vector observation module 830 observes the vehicle state using an unscented Kalman filter based on the formula topology graphs of the state equation and the measurement equation to obtain the target state vector. This device abstracts the model construction problem of vehicle state observation into a path search problem starting with the unknown quantity and ending with the state vector and known quantities. For any given unknown quantity and known quantity, it can quickly determine whether the unknown quantity is solvable. And, if the unknown quantity is solvable, it can quickly establish a mathematical model of the target vehicle state observer to obtain the target state vector. This process does not require establishing an explicit mathematical relationship between the state vector, input vector, and measurement vector, which can greatly simplify the vehicle state observation process.
[0153] It should be noted that the vehicle state observation device based on global path search provided in this embodiment can be referred to in correspondence with the vehicle state observation method based on global path search described above, and will not be repeated here.
[0154] In some embodiments, the present invention also provides a vehicle stability control system, including the vehicle state observation device based on global path search described above, or, during operation, employing the vehicle state observation method based on global path search described in any of the above embodiments. This system abstracts the model building problem of vehicle state observation into a path search problem starting with the unknown quantity and ending with the state vector and known quantities. For any given unknown quantity and known quantities, it can quickly determine whether the unknown quantity is solvable, and if the unknown quantity is solvable, it can quickly establish a mathematical model of the target vehicle state observer to obtain the target state vector. This process does not require establishing explicit mathematical relationships between the state vector, input vector, and measurement vector, which greatly simplifies the vehicle state observation process.
[0155] Figure 9 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 9 As shown, the electronic device may include a processor 810, a communication interface 920, a memory 930, and a communication bus 940, wherein the processor 810, the communication interface 920, and the memory 930 communicate with each other through the communication bus 940. The processor 910 can call logical instructions in the memory 930 to execute a vehicle state observation method based on global path search. This method includes: establishing a formula topology graph of the state equations through global path search based on a first unknown variable, a first known variable vector, and a vehicle state observation model; establishing a formula topology graph of the measurement equations through global path search based on a second unknown variable, a second known variable vector, and the vehicle state observation model; and performing vehicle state observation through an unscented Kalman filter based on the formula topology graphs of the state equations and the measurement equations to obtain a target state vector.
[0156] Furthermore, the logical instructions in the aforementioned memory 930 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, essentially, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0157] On the other hand, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program is implemented to perform the vehicle state observation method based on global path search provided by the above methods. The method includes: establishing a formula topology graph of the state equations through global path search based on a first unknown quantity, a first known quantity vector, and a vehicle state observation model; establishing a formula topology graph of the measurement equations through global path search based on a second unknown quantity, a second known quantity vector, and a vehicle state observation model; and performing vehicle state observation through an unscented Kalman filter based on the formula topology graphs of the state equations and the measurement equations to obtain a target state vector.
[0158] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0159] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0160] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A vehicle state observation method based on global path search, characterized in that, include: Based on the first unknown quantity, the first known quantity vector, and the vehicle state observation model, a formula topology graph of the state equation is established through global path search; Based on the second unknown quantity, the second known quantity vector, and the vehicle state observation model, a formula topology graph of the measurement equation is established through global path search; Based on the formula topology diagram of the state equation and the formula topology diagram of the measurement equation, the vehicle state is observed through an unscented Kalman filter to obtain the target state vector. This process does not require establishing an explicit mathematical relationship between the state vector, the input vector and the measurement vector. During the global path search, for each branch path in the formula topology graph, when the branch path reaches a known quantity or the unknown physical quantity reached appears for the second time on the branch path, the search of the branch path is stopped, and the unknown physical quantity that appears twice is placed in the state vector; when all branch paths in the formula topology graph have stopped searching, the global path search ends.
2. The vehicle state observation method based on global path search according to claim 1, characterized in that, The vehicle state observation model includes a vehicle model, a tire model, a kinematic model, a slip parameter calculation model, and a vertical load calculation model; The vehicle model includes a dual-rail vehicle model and a single-rail vehicle model, and the tire model includes a linear tire model and a non-linear tire model.
3. The vehicle state observation method based on global path search according to claim 1, characterized in that, The formula's topology is a tree structure that grows to the right; The formula topology of the state equation has the first unknown variable as the root node and the formula variables in the vehicle state observation model as leaf nodes and intermediate nodes. The formula topology of the measurement equation has the second unknown quantity as the root node and the formula variables in the vehicle state observation model as leaf nodes and intermediate nodes.
4. The vehicle state observation method based on global path search according to claim 1, characterized in that, The formula topology diagram based on the state equation and the formula topology diagram based on the measurement equation are used to observe the vehicle state through an unscented Kalman filter to obtain the target state vector, including: Based on the formula topology diagram of the state equation, determine the state vector containing the first unknown quantity, the first actual known quantity vector, and the first target formula sequence; Based on the formula topology diagram of the measurement equation, determine the second actual known quantity vector and the second target formula sequence; The first target formula sequence and the second target formula sequence are input into the unscented Kalman filter, and the target state vector is observed.
5. The vehicle state observation method based on global path search according to claim 1, characterized in that, After the global path search is completed, it also includes: For a physical quantity that serves as an intermediate node in the formula topology graph, if the physical quantity appears for the second time at the bottom of the formula topology graph, the branch path corresponding to the physical quantity is cut off.
6. A vehicle state observation device based on global path search, characterized in that, include: The first formula topology graph construction module is used to establish the formula topology graph of the state equation through global path search based on the first unknown quantity, the first known quantity vector, and the vehicle state observation model. The second formula topology graph construction module is used to establish the formula topology graph of the measurement equation through global path search based on the second unknown quantity, the second known quantity vector, and the vehicle state observation model. The target state vector observation module is used to observe the vehicle state through an unscented Kalman filter based on the formula topology graph of the state equation and the formula topology graph of the measurement equation to obtain the target state vector. This process does not require establishing an explicit mathematical relationship between the state vector, input vector and measurement vector. When performing a global path search, for each branch path in the formula topology graph, when the branch path reaches a known quantity or the unknown physical quantity reached appears for the second time on the branch path, the search of the branch path is stopped, and the unknown physical quantity that appears twice is placed in the state vector. The global path search ends when all branch paths in the formula topology graph have stopped being searched.
7. A vehicle stability control system, characterized in that, It includes the vehicle state observation device based on global path search as described in claim 6, or, during operation, the vehicle state observation method based on global path search as described in any one of claims 1 to 5 is used.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the program, it implements the vehicle state observation method based on global path search as described in any one of claims 1 to 5.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the vehicle state observation method based on global path search as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Vehicle speed estimation method and system based on unscented Kalman filtering
CN111942399A
