A method, device, medium and product for predicting off-road driving status
Through the vehicle state prediction model and state prediction network, combined with off-road driving data and vehicle control instructions, the state of the vehicle in the off-road environment is predicted, which solves the problem that traditional methods cannot describe the interaction between the vehicle and the environment, and improves off-road driving The prediction accuracy of the state.
Patent Information
- Application Number
- CN202410909983.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-09
- Publication Date
- 2024-08-30
- Estimated Expiration
- 2044-07-09
AI Technical Summary
Traditional modeling methods cannot effectively describe the complex interactions between vehicles and the environment, resulting in low accuracy in predicting driving conditions in off-road conditions.
The vehicle state prediction model is adopted, and multiple training data sets are used to train the state prediction network, including an encoder, a hidden state prediction network and a decoder. It combines the current off-road driving data and vehicle control instructions to predict the next moment. Body attitude information, considering the complex interaction between the vehicle and the environment.
It improves the prediction accuracy of driving conditions in off-road conditions and can more accurately predict vehicle state changes in different terrains.
Smart Images

Figure CN118457613B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of intelligent driving vehicle technology, and in particular to a method, device, medium and product for predicting off-road driving conditions. Background Art
[0002] Vehicles need to understand the physical properties of the environment to handle the complexity of driving in off-road environments. Off-road autonomous vehicles must not only be able to perceive the geometric and semantic information of the environment, but also have the ability to reason about their own state changes, such as vehicle speed and heading angle, to avoid getting stuck or damaged in off-road terrains such as hills, tall grass, and loose gravel. Traditional modeling methods can only achieve dynamic modeling to predict vehicle state changes, but cannot describe the complex interaction between the vehicle and the environment, resulting in low accuracy in off-road driving state prediction. Summary of the invention
[0003] The purpose of the present invention is to provide a method, device, medium and product for predicting driving state in off-road conditions, thereby improving the prediction accuracy of driving state in off-road conditions.
[0004] To achieve the above object, the present invention provides the following solution.
[0005] A method for predicting an off-road driving state comprises: obtaining off-road driving data and vehicle control instructions at a current moment; the off-road driving data comprises: vehicle body posture information, road type, environmental perception information, suspension information and wheel speed information.
[0006] The vehicle state prediction model and the off-road driving data and vehicle control instructions at the current moment are used to determine the predicted value of the vehicle body posture information at the next moment; the vehicle state prediction model is obtained by training the state prediction network using multiple sets of training data groups, and the training data groups include the actual off-road driving data and vehicle control instructions at the current moment and the actual vehicle body posture information corresponding to the next moment; the state prediction network includes an encoder, a hidden state prediction network and a decoder.
[0007] Optionally, the vehicle body posture information includes: lateral position, longitudinal position, heading angle, lateral speed, longitudinal speed and yaw angular velocity; the road types include: grass, gravel roads and muddy roads; the environmental perception information includes: image information, relative distance information between the vehicle and obstacles and global map information; the vehicle control instructions include: steering wheel angle, accelerator pedal opening and brake pedal opening.
[0008] Optionally, the vehicle state prediction model and the off-road driving data and vehicle control instructions at the current moment are used to determine the predicted value of the vehicle body posture information at the next moment, including: inputting the off-road driving data at the current moment into the encoder to obtain the hidden state at the current moment.
[0009] The hidden state at the current moment and the vehicle control command are input into the hidden state prediction network to obtain the hidden state at the next moment.
[0010] The input at the next moment is input into the decoder to obtain the predicted value of the vehicle body posture information at the next moment.
[0011] Optionally, the encoder includes: a vector encoder, an image encoder and a timing encoder.
[0012] The network structure of the vector encoder is a dense neural network, the network structure of the image encoder is a deconvolutional neural network, and the network structure of the time series encoder is a time series deconvolutional neural network.
[0013] Optionally, the off-road driving data at the current moment is input into the encoder to obtain the hidden state at the current moment, including: inputting the vehicle body posture information and road type at the current moment into the vector encoder to obtain the vector code at the current moment.
[0014] The current environmental perception information is input into the image encoder to obtain the image code at the current moment.
[0015] The current moment's input suspension information and wheel speed information are input to the timing encoder to obtain the current moment's timing code.
[0016] Based on the vector code, image code and timing code at the current moment, the hidden state at the current moment is determined.
[0017] Optionally, the network structure of the decoder is a dense neural network.
[0018] Optionally, the training process of the vehicle state prediction model includes: constructing the state prediction network based on the encoder, the hidden state prediction network and the decoder.
[0019] Taking the actual off-road driving data and vehicle control instructions at each current moment as input and the actual vehicle body posture information corresponding to the next moment as output, the state prediction network is trained to obtain the vehicle state prediction model.
[0020] A computer device comprises: a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement any of the above-mentioned off-road driving state prediction methods.
[0021] A computer-readable storage medium stores a computer program, which, when executed by a processor, implements any of the above-mentioned methods for predicting an off-road driving state.
[0022] A computer program product comprises a computer program, wherein when the computer program is executed by a processor, the computer program implements any of the above-mentioned methods for predicting an off-road driving state.
[0023] According to the specific embodiment provided by the present invention, the present invention discloses the following technical effects: the present invention discloses a method, device, medium and product for predicting off-road driving state, firstly, obtaining off-road driving data and vehicle control instructions at the current moment; the off-road driving data includes: vehicle body posture information, road type, environmental perception information, suspension information and wheel speed information; secondly, using the vehicle state prediction model and the off-road driving data and vehicle control instructions at the current moment, determining the predicted value of the vehicle body posture information at the next moment; the vehicle state prediction model is obtained by training the state prediction network using multiple training data groups, the training data groups include the actual off-road driving data and vehicle control instructions at the current moment and the actual vehicle body posture information corresponding to the next moment; the state prediction network includes an encoder, a hidden state prediction network and a decoder. The present invention predicts the vehicle body posture information at the next moment in combination with the off-road driving data and vehicle control instructions at the current moment, taking into account the complex interaction between the vehicle and the environment, and improving the prediction accuracy of the off-road driving state. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.
[0025] Figure 1 A schematic flow chart of the off-road driving state prediction method provided in Example 1 of the present invention.
[0026] Figure 2 This is a schematic diagram of the specific internal process of the off-road driving state prediction method.
[0027] Figure 3 This is a diagram of the internal structure of a computer device. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] The purpose of the present invention is to provide a method, device, medium and product for predicting off-road driving state, aiming to improve the prediction accuracy of off-road driving state.
[0030] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.
[0031] Embodiment 1 provides a method for predicting driving status in off-road conditions.
[0032] like Figure 1 As shown, the off-road driving state prediction method in this embodiment includes steps 1 and 2.
[0033] Step 1: Obtain the off-road driving data and vehicle control instructions at the current moment; the off-road driving data includes: vehicle body posture information, road type, environmental perception information, suspension information and wheel speed information. Step 1 corresponds to Figure 2 Step 101 in .
[0034] As an optional implementation, the vehicle body posture information includes: lateral position, longitudinal position, heading angle, lateral speed, longitudinal speed and yaw angular velocity; the road types include: grass, gravel roads and muddy roads; the environmental perception information includes: image information, relative distance information between the vehicle and obstacles and global map information; the vehicle control instructions include: steering wheel angle, accelerator pedal opening and brake pedal opening.
[0035] Specifically, the off-road autonomous driving vehicle is taken as the control object, and driving data is collected on different road types, such as gravel roads, grass roads, muddy roads, etc. The data type and size of each frame are shown in Table 1.
[0036] .
[0037] Among them, x is the longitudinal position of the vehicle; y is the lateral position of the vehicle; u is the longitudinal velocity of the vehicle; v is the lateral velocity of the vehicle; φ is the yaw angle of the vehicle; ω is the yaw angular velocity of the vehicle; δ is the front wheel turning angle of the vehicle; a is the opening of the vehicle's drive pedal; b is the opening of the vehicle's brake pedal.
[0038] Step 2: Determine the predicted value of the vehicle body posture information at the next moment by using the vehicle state prediction model and the off-road driving data and vehicle control instructions at the current moment.
[0039] Among them, the vehicle state prediction model is obtained by training the state prediction network using multiple sets of training data groups. The training data groups include the actual off-road driving data and vehicle control instructions at the current moment and the actual vehicle body posture information corresponding to the next moment; the state prediction network includes an encoder, a hidden state prediction network and a decoder.
[0040] As an optional implementation, step 2 includes: step 21-step 23.
[0041] Step 21: Input the off-road driving data at the current moment into the encoder to obtain the hidden state at the current moment. Step 21 corresponds to Figure 2 Step 102 in .
[0042] Specifically, the expression of the encoder is as follows.
[0043] .
[0044] Among them, p(z|O) represents the encoder model; O represents the observed state space, that is, the off-road driving data at the current moment; z represents the hidden state space; represents probability distribution; i Indicates continuous product; q i (z| Oi ) represents the hidden state of the data corresponding to data type i; represents Gaussian distribution; μ i represents the mean of the Gaussian distribution of the codes after encoding the data corresponding to data type i, i=1, 2, 3, data type 1 is a vector, the data corresponding to data type 1 includes vehicle posture information and road type, data type 2 is an image, the data corresponding to data type 2 includes environmental perception information, data type 3 is a time series, the data corresponding to data type 3 includes suspension information and wheel speed information; σ i is the standard deviation of the code after encoding the data corresponding to data type i.
[0045] Step 22: Input the current hidden state and vehicle control command into the hidden state prediction network to obtain the hidden state at the next moment. Step 22 corresponds to Figure 2 Step 103 in .
[0046] Specifically, the hidden state prediction network is a gated recurrent unit, and the training loss function is as follows.
[0047] .
[0048] Where L represents the loss value; Represents the predicted state sequence; o 0 represents the initial observation; s 0 Indicates the initial state; represents the vehicle control instruction sequence, T represents the length of the vehicle control instruction sequence; β i Represents the weight of data type i; represents the state space; represents the hidden state sequence; θ represents the neural network parameters.
[0049] Step 23: Input the next moment into the decoder to obtain the predicted value of the vehicle body posture information at the next moment. Step 23 corresponds to Figure 2 Step 104 in .
[0050] As an optional implementation, the encoder includes: a vector encoder, an image encoder and a timing encoder.
[0051] The network structure of the vector encoder is a dense neural network, the network structure of the image encoder is a deconvolutional neural network, and the network structure of the time encoder is a time deconvolutional neural network.
[0052] As an optional implementation, step 21 includes: step 211-step 214.
[0053] Step 211: Input the vehicle body posture information and road type at the current moment into the vector encoder to obtain the vector code at the current moment.
[0054] Step 212: Input the current environmental perception information into the image encoder to obtain the image code at the current moment.
[0055] Step 213: Input the current suspension information and wheel speed information to the timing encoder to obtain the current timing code.
[0056] Step 214: Determine the hidden state at the current moment based on the vector code, image code and timing code at the current moment.
[0057] As an optional implementation, the network structure of the decoder is a dense neural network.
[0058] As an optional implementation, the training process of the vehicle state prediction model includes: constructing a state prediction network based on an encoder, a hidden state prediction network and a decoder.
[0059] Taking the actual off-road driving data and vehicle control instructions at each current moment as input and the actual vehicle body posture information corresponding to the next moment as output, the state prediction network is trained to obtain a vehicle state prediction model.
[0060] Embodiment 2 provides a computer device, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the off-road driving state prediction method in Embodiment 1.
[0061] Embodiment 3 provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the off-road driving state prediction method in Embodiment 1 is implemented.
[0062] Embodiment 4 provides a computer program product, including a computer program, which, when executed by a processor, implements the off-road driving state prediction method in Embodiment 1.
[0063] Embodiment 5 provides a computer device, which may be a database, and its internal structure diagram may be as follows: Figure 3 As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. Among them, the processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. Among them, the processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store pending transactions. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, the off-road condition driving state prediction method in Example 1 is implemented.
[0064] It should be noted that the object information (including but not limited to object device information, object personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the present invention are all information and data authorized by the object or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant laws, regulations and standards of relevant countries and regions.
[0065] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiments can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided by the present invention can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided by the present invention may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided by the present invention may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.
[0066] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.
[0067] The principles and implementation methods of the present invention are described in this article using specific examples. The description of the above embodiments is only used to help understand the method and core idea of the present invention. At the same time, for those skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as limiting the present invention.
Claims
1. A method for predicting off-road driving conditions, characterized in that: The method comprises: Acquire off-road driving data and vehicle control instructions at the current moment; the off-road driving data includes: vehicle body posture information, road type, environmental perception information, suspension information and wheel speed information; The vehicle state prediction model and the off-road driving data and vehicle control instructions at the current moment are used to determine the predicted value of the vehicle body posture information at the next moment; the vehicle state prediction model is obtained by training the state prediction network using multiple sets of training data groups, the training data groups including the actual off-road driving data and vehicle control instructions at the current moment and the actual vehicle body posture information corresponding to the next moment; the state prediction network includes an encoder, a hidden state prediction network and a decoder; The vehicle body posture information includes: lateral position, longitudinal position, heading angle, lateral speed, longitudinal speed and yaw angular velocity; the road types include: grass, gravel road and muddy road; the environmental perception information includes: image information, relative distance information between the vehicle and obstacles and global map information; the vehicle control instructions include: steering wheel angle, accelerator pedal opening and brake pedal opening.
2. The off-road driving state prediction method according to claim 1, characterized in that: The vehicle state prediction model, the off-road driving data and the vehicle control instructions at the current moment are used to determine the predicted value of the vehicle body posture information at the next moment, including: Inputting the off-road driving data at the current moment into the encoder to obtain the hidden state at the current moment; Inputting the hidden state and vehicle control command at the current moment into the hidden state prediction network to obtain the hidden state at the next moment; The input at the next moment is input into the decoder to obtain the predicted value of the vehicle body posture information at the next moment.
3. The off-road driving state prediction method according to claim 2, characterized in that: The encoder includes: a vector encoder, an image encoder and a timing encoder; The network structure of the vector encoder is a dense neural network, the network structure of the image encoder is a deconvolutional neural network, and the network structure of the time series encoder is a time series deconvolutional neural network.
4. The off-road driving state prediction method according to claim 3, characterized in that: The off-road driving data at the current moment is input into the encoder to obtain the hidden state at the current moment, including: Inputting the vehicle body posture information and road type at the current moment into the vector encoder to obtain the vector code at the current moment; Inputting the current environmental perception information into the image encoder to obtain the current image code; Input the current moment's input suspension information and wheel speed information to the timing encoder to obtain the current moment's timing code; Based on the vector code, image code and timing code at the current moment, the hidden state at the current moment is determined.
5. The off-road driving state prediction method according to claim 1, characterized in that: The network structure of the decoder is a dense neural network.
6. The off-road driving state prediction method according to claim 1, characterized in that: The training process of the vehicle state prediction model includes: Based on the encoder, the hidden state prediction network and the decoder, construct the state prediction network; Taking the actual off-road driving data and vehicle control instructions at each current moment as input and the actual vehicle body posture information corresponding to the next moment as output, the state prediction network is trained to obtain the vehicle state prediction model.
7. A computer device comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the off-road driving state prediction method according to any one of claims 1 to 6.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the off-road driving state prediction method described in any one of claims 1 to 6 is implemented.
9. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the off-road driving state prediction method described in any one of claims 1 to 6 is implemented.
Citation Information
Patent Citations
Vehicle motion state prediction method and device
CN111152796A
Mechanism analysis-data driven vehicle dynamics series hybrid model, intelligent vehicle trajectory tracking control method and controller
CN114684199A
