Passenger displacement prediction method and device and vehicle

By obtaining and processing statistical parameters within a preset time, generating and normalizing dislocation parameters, and inputting them into the prediction model, the problem of inaccurate occupant dislocation in the existing technology is solved, and effective occupant protection in collisions is achieved. Protection and security improvements.

CN118674104APending Publication Date: 2024-09-20CHONGQING CHANGAN AUTOMOBILE CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410770023.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-14
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

In the existing technology, the trigger signal that actively triggers the seat belt pre-tightening is not fully considered, resulting in an inaccurate amount of occupant dislocation and the inability to accurately pull the occupant back to a safe position.

Method used

By obtaining the statistical parameters within the preset time, a variety of dislocation parameters are generated, including sequence data, categorical variables and numerical variables, and are normalized and input into the trained prediction model to calculate the accurate occupant dislocation amount. , to control seat belt and airbag adjustments.

Benefits of technology

It achieves accurate prediction of the amount of occupant displacement, ensuring that the occupants can be effectively protected during a collision, reducing the amount of displacement and improving occupant safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118674104A
    Figure CN118674104A
Patent Text Reader

Abstract

The invention discloses a passenger off-location amount prediction method and device and a vehicle, and the method comprises the steps: obtaining the statistical parameters of a to-be-detected passenger in a preset time, and generating a plurality of off-location parameters and the type of each off-location parameter according to each statistical parameter; training data are obtained, and according to the training data, each off-location parameter of which the type is sequence data and numerical variables is normalized to obtain a plurality of normalized off-location parameters; obtaining a user demand, selecting a target model from the trained prediction model according to the user demand, and inputting all the normalized off-location parameters and each off-location parameter of which the type is a category variable into the target model to obtain the off-location amount of the to-be-detected passenger; and uploading the displacement amount to a control end of the target vehicle for response. According to the passenger off-location amount prediction method, the accurate off-location amount can be obtained, so that the control end of the target vehicle responds.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle collision, and in particular to a method and device for predicting the amount of occupant displacement, and a vehicle. Background Art

[0002] At present, with the rapid development of automobile intelligence, the installation rate of active safety in automobiles has become increasingly higher. Active safety avoids or mitigates collisions through automatic braking systems (Automatic Emergency Braking, AEB) or steering systems (Automatic Emergency Steering, AES) in dangerous scenarios, thereby reducing the risk of injury to occupants. After the active safety takes effect, the occupants will deviate from the original normal driving or riding position (i.e., the standard position) due to inertia, that is, they will be out of position. The current vehicle occupant protection system is designed for the standard position of the occupants. Once the occupants are out of position before the collision, the effectiveness of the occupant protection system will be reduced to a certain extent. To address this issue, the active seat belts are currently tightened before the collision to restrain the occupants in advance and reduce the amount of occupants out of position.

[0003] However, the triggering of active seat belt pre-tensioning depends on some signals from the vehicle at the current moment, which are not fully considered and the obtained displacement amount is inaccurate, resulting in the inability to accurately pull the corresponding passenger back to a safe position when tightening the seat belt relying on braking or steering-related signals.

[0004] Therefore, the prior art still needs to be improved and developed. Summary of the invention

[0005] The main purpose of the present application is to provide a method, device, vehicle and computer-readable storage medium for predicting the amount of occupant displacement, aiming to solve the problem in the prior art that the triggering of active seat belt pre-tensioning depends on some signals of the vehicle at the current moment, these signals are not fully considered, and the obtained displacement amount is inaccurate, which leads to the inability to accurately pull the corresponding passenger back to a safe position when tightening the seat belt relying on braking or steering-related signals.

[0006] The first aspect of the present application provides a method for predicting the amount of occupant out-of-position, comprising the following steps: obtaining statistical parameters of an occupant to be tested within a preset time, generating multiple out-of-position parameters and types of each out-of-position parameter according to each statistical parameter, wherein the types of the out-of-position parameters include sequence data, categorical variables and numerical variables; obtaining training data, and normalizing each out-of-position parameter of the type of sequence data and numerical variables according to the training data to obtain multiple normalized out-of-position parameters; obtaining user needs, selecting a target model from the trained prediction models according to the user needs, inputting all normalized out-of-position parameters and each out-of-position parameter of the type of categorical variables into the target model to obtain the amount of out-of-position of the occupant to be tested, wherein the prediction model is trained by the training data; uploading the amount of out-of-position to the control end of the target vehicle for response.

[0007] According to the above-mentioned technical means, the embodiment of the present application targets the current situation where a occupant is out of position during driving of a vehicle, obtains multiple parameters within a certain period of time, processes the various parameters, and inputs them into a trained target model, thereby obtaining an accurate amount of out-of-position of the occupant to be tested. The obtained amount of out-of-position can be used to control the safety settings of the vehicle, such as retracting the seat belt or adjusting the airbag, thereby preventing the user from being out of position too much and causing danger.

[0008] Optionally, in one embodiment of the present application, the acquiring of statistical parameters of the occupant to be tested within a preset time, and generating a plurality of out-of-position parameters and a type of each out-of-position parameter according to each statistical parameter, specifically include: acquiring statistical parameters of the occupant to be tested within a preset time, wherein the statistical parameters include scene parameters, restraint system parameters and occupant status parameters, the scene parameters include steering wheel steering angle sequence data, vehicle speed sequence data and vehicle-to-collision time series data, the restraint system parameters include seat belt status and seat belt position parameters, and the occupant status parameters include attention state parameters and driver physical information; generating an attention state according to the attention state parameters of the occupant to be tested within the preset time; generating a plurality of out-of-position parameters according to each statistical parameter and the attention state, and generating a type of each out-of-position parameter, wherein, among the plurality of out-of-position parameters, the types of the steering wheel steering angle sequence data, the vehicle speed sequence data and the vehicle-to-collision time series data are sequence data, the types of the seat belt status and the attention state are categorical variables, and the seat belt position parameters and the driver physical information are numerical variables.

[0009] According to the above-mentioned technical means, when calculating the amount of deviation, the corresponding parameters obtained in the embodiment of the present application include multiple parameters such as scene parameters, restraint system parameters and occupant status parameters, so as to comprehensively consider the parameters that affect the amount of deviation during vehicle driving and obtain them accordingly. After processing through the target model, the accurate amount of deviation can be obtained.

[0010] Optionally, in one embodiment of the present application, the step of obtaining training data and, based on the training data, normalizing each off-position parameter of a type of sequence data and a numerical variable to obtain a plurality of normalized off-position parameters specifically includes: obtaining training data for training the prediction model, and selecting training off-position parameters of a type of sequence data and a numerical variable from the training data; selecting the maximum value and minimum value of each off-position parameter corresponding to the training off-position parameters of a type of sequence data and a numerical variable according to the training off-position parameters of a type of sequence data and a numerical variable, and constructing a parameter range for each off-position parameter corresponding to the training off-position parameters of a type of sequence data and a numerical variable; determining whether each off-position parameter of a type of sequence data and a numerical variable is within a corresponding parameter range; when the off-position parameter of a type of sequence data and a numerical variable is within a corresponding parameter range, normalizing the current off-position parameter according to the maximum value and minimum value of the training off-position parameter corresponding to the current off-position parameter using a preset normalization formula to obtain the corresponding normalized off-position parameter.

[0011] According to the above technical means, in order to prevent data distribution leakage, the embodiments of the present application normalize the parameters corresponding to the sequence data and data variables, and the normalization is implemented by using the maximum and minimum values ​​in the training data, so that the normalized data can better fit the target model and obtain more accurate results.

[0012] Optionally, in one embodiment of the present application, the judgment type is whether each off-position parameter of sequence data and numerical variable is within the corresponding parameter range, and then also includes: when the off-position parameter of the type of sequence data and numerical variable is not within the corresponding parameter range, according to the maximum and minimum values ​​of the training off-position parameter corresponding to the current off-position parameter, clamping the current off-position parameter to obtain the corresponding clamping parameter; according to the maximum and minimum values ​​of the training off-position parameter corresponding to the current off-position parameter, using a pre-set normalization formula, normalizing the current clamping parameter to obtain the corresponding normalized off-position parameter.

[0013] According to the above-mentioned technical means, when performing normalization, the embodiment of the present application determines that the corresponding parameter is not within the parameter range. Then, directly performing normalization at this time will affect the final result. Therefore, in the present application, the maximum and minimum values ​​in the training data are used to clamp the parameters that exceed the parameter range, so that the parameters can be normalized within the range of the training data.

[0014] Optionally, in one embodiment of the present application, the acquiring of user needs, selecting a target model from the trained prediction models according to the user needs, inputting all normalized out-of-position parameters and each out-of-position parameter of type categorical variables into the target model, and obtaining the out-of-position amount of the occupant to be tested, specifically includes: constructing first training data and second training data in advance according to the training data, training a first prediction model and a second prediction model according to the first training data and the second training data, and obtaining a trained first prediction model and a trained second prediction model, wherein the prediction model includes a first prediction model and a second prediction model; acquiring user needs, selecting a target model from the trained prediction models according to the user needs; when the target model is the first prediction model, inputting all normalized out-of-position parameters and each out-of-position parameter of type categorical variables into the trained first prediction model, and obtaining the out-of-position amount corresponding to the occupant to be tested; when the target model is the second prediction model, inputting all normalized out-of-position parameters and each out-of-position parameter of type categorical variables into the trained second prediction model, and obtaining the out-of-position amount corresponding to the occupant to be tested.

[0015] According to the above-mentioned technical means, in an embodiment of the present application, training data is used in advance to train the corresponding first prediction model and the second prediction model, and the target model to be used is selected from the first prediction model and the second prediction model according to user needs, and the final deviation of the book is correspondingly output according to the obtained target model. In this process, the first prediction model and the second prediction model are trained in advance, so that the present application can use the trained model to process the data and accurately obtain the final result.

[0016] Optionally, in one embodiment of the present application, the pre-constructing the first training data and the second training data based on the training data specifically includes: obtaining the lateral acceleration, longitudinal acceleration, lateral deviation and longitudinal deviation corresponding to each group of data in the training data within the second preset time; constructing the first training data according to the training data and the lateral deviation and longitudinal deviation corresponding to each group of data within the second preset time; constructing the first model training data according to the statistical parameters of the type of sequence data in the training data and the lateral acceleration and longitudinal acceleration corresponding to each group of statistical parameters within the second preset time, and constructing the second model training data according to the statistical parameters of the types of categorical variables and numerical variables in the training data and the lateral deviation and longitudinal deviation corresponding to the second preset time; constructing the second training data according to the first model training data and the second model training data.

[0017] According to the above-mentioned technical means, in an embodiment of the present application, the first training data is used to train the first prediction model, and the corresponding training data is used to construct the first training data. Since the second prediction model is composed of two models, the two models are trained separately in the present application, and the first model training data and the second model training data are respectively constructed by training data to train the two models in the second prediction model.

[0018] Optionally, in one embodiment of the present application, the training of the first prediction model and the second prediction model according to the first training data and the second training data to obtain a trained first prediction model and a trained second prediction model specifically includes: training the first prediction model according to the first training data to obtain a trained first prediction model; training the acceleration prediction model in the second prediction model according to the first model training data, and training the displacement prediction model in the second prediction model according to the second model training data to obtain a trained acceleration prediction model and a trained displacement prediction model; obtaining a trained second prediction model according to the trained acceleration prediction model and the trained displacement prediction model.

[0019] According to the above-mentioned technical means, the embodiment of the present application adopts the constructed first training data to train the first prediction model, and adopts the constructed first model training data and the second model training data to train the acceleration prediction model and the displacement prediction model in the second prediction model, so as to construct the corresponding second prediction model through the trained model, and since the trained model is used to process the corresponding data, the accurate displacement can be obtained through the corresponding data.

[0020] Optionally, in one embodiment of the present application, when the target model is the first prediction model, all normalized out-of-position parameters and each out-of-position parameter of type categorical variable are input into the trained first prediction model to obtain the out-of-position amount corresponding to the occupant to be tested, specifically including: when the target model is the first prediction model, the normalized out-of-position parameters corresponding to the out-of-position parameters of type sequence data are input into the linear projection layer in the trained first prediction model, and feature dimension addition and sequence feature extraction are performed to obtain the sequence variable hidden layer representation; each out-of-position parameter of type categorical variable is input into the embedding layer in the trained first prediction model, and processed by the first multi-layer perceptron to obtain the categorical variable hidden layer representation; the normalized out-of-position parameters corresponding to the out-of-position parameters of type numerical variable are input into the second multi-layer perceptron in the trained first prediction model to obtain the numerical variable hidden layer representation; the sequence variable hidden layer representation, the categorical variable hidden layer representation and the numerical variable hidden layer representation are feature concatenated and input into the decoder in the trained first prediction model to obtain the out-of-position amount corresponding to the occupant to be tested.

[0021] According to the above-mentioned technical means, after all the normalized off-position parameters and each off-position parameter of the type of categorical variable are input into the target model, when the corresponding target model is the first prediction model, the data will be processed accordingly through a linear projection layer, an embedding layer, and a multi-layer perceptron, and finally a decoder will be used for processing to obtain the final off-position amount.

[0022] Optionally, in one embodiment of the present application, when the target model is the second prediction model, all normalized out-of-position parameters and each out-of-position parameter of type categorical variable are input into the trained second prediction model to obtain the out-of-position amount corresponding to the occupant to be tested, specifically including: when the target model is the second prediction model, the normalized out-of-position parameters corresponding to the out-of-position parameters of type sequence data are input into the trained acceleration prediction model to obtain predicted lateral acceleration and predicted longitudinal acceleration; the predicted lateral acceleration, the predicted longitudinal acceleration, each out-of-position parameter of type categorical variable and the normalized out-of-position parameters corresponding to the out-of-position parameters of type numerical variable are input into the trained out-of-position amount prediction model to obtain the out-of-position amount corresponding to the occupant to be tested.

[0023] According to the above-mentioned technical means, in the embodiment of the present application, after all the normalized out-of-position parameters and each out-of-position parameter of type categorical variable are input into the target model, when the corresponding target model is the second prediction model, the out-of-position amount will be obtained through the trained acceleration module prediction model and the out-of-position amount prediction model.

[0024] A second aspect of the present application provides an occupant out-of-position prediction device, which includes: a data acquisition module, used to obtain statistical parameters of an occupant to be tested within a preset time, and generate multiple out-of-position parameters and types of each out-of-position parameter according to each statistical parameter, wherein the types of out-of-position parameters include sequence data, categorical variables and numerical variables; a normalization module, used to obtain training data, and normalize each out-of-position parameter of the type of sequence data and numerical variables according to the training data to obtain multiple normalized out-of-position parameters; a result generation module, used to obtain user needs, select a target model from the trained prediction models according to the user needs, input all normalized out-of-position parameters and each out-of-position parameter of the type of categorical variables into the target model, and obtain the out-of-position amount of the occupant to be tested, wherein the prediction model is trained by the training data; and a response module, used to upload the out-of-position amount to the control end of the target vehicle for response.

[0025] Optionally, in one embodiment of the present application, the data acquisition module specifically includes: a statistical parameter acquisition unit, used to acquire statistical parameters of the occupant to be tested within a preset time, wherein the statistical parameters include scene parameters, restraint system parameters and occupant status parameters, the scene parameters include steering wheel steering angle sequence data, vehicle speed sequence data and vehicle-to-collision time series data, the restraint system parameters include seat belt status and seat belt point parameters, and the occupant status parameters include attention state parameters and driver physical information; an attention state generation unit, used to generate an attention state according to the attention state parameters of the occupant to be tested within a preset time; a type generation unit, used to generate multiple out-of-position parameters according to each statistical parameter and the attention state, and generate a type of each out-of-position parameter, wherein, among the multiple out-of-position parameters, the types of the steering wheel steering angle sequence data, the vehicle speed sequence data and the vehicle-to-collision time series data are sequence data, the types of the seat belt status and the attention state are categorical variables, and the seat belt point parameters and the driver's physical information are numerical variables.

[0026] Optionally, in one embodiment of the present application, the normalization module specifically includes: a training data acquisition unit, used to acquire training data for training the prediction model, and select training off-position parameters of the type of sequence data and numerical variables from the training data; a parameter range construction unit, used to select the maximum value and minimum value of each off-position parameter corresponding to the training off-position parameters of the type of sequence data and numerical variables according to the training off-position parameters of the type of sequence data and numerical variables, and construct a parameter range of each off-position parameter corresponding to the training off-position parameters of the type of sequence data and numerical variables; a parameter range judgment unit, used to judge whether each off-position parameter of the type of sequence data and numerical variables is within the corresponding parameter range; a first normalized off-position parameter generation unit, used to normalize the current off-position parameter according to the maximum value and minimum value of the training off-position parameter corresponding to the current off-position parameter, using a preset normalization formula, when the off-position parameter of the type of sequence data and numerical variables is within the corresponding parameter range, to obtain the corresponding normalized off-position parameter.

[0027] Optionally, in one embodiment of the present application, the parameter range judgment unit further includes: a clamping parameter generation unit, which is used to clamp the current off-position parameter when the off-position parameter of the type of sequence data and numerical variable is not within the corresponding parameter range, so as to obtain the corresponding clamping parameter according to the maximum and minimum values ​​of the training off-position parameter corresponding to the current off-position parameter; and a second normalized off-position parameter generation unit, which is used to normalize the current clamping parameter according to the maximum and minimum values ​​of the training off-position parameter corresponding to the current off-position parameter, using a pre-set normalization formula, to obtain the corresponding normalized off-position parameter.

[0028] Optionally, in one embodiment of the present application, the result generation module specifically includes: a training unit, which is used to pre-construct first training data and second training data according to the training data, and train a first prediction model and a second prediction model according to the first training data and the second training data to obtain a trained first prediction model and a trained second prediction model, wherein the prediction model includes a first prediction model and a second prediction model; a target model selection unit, which is used to obtain user needs and select a target model from the trained prediction models according to the user needs; a first processing unit, which is used to input all normalized out-of-position parameters and each out-of-position parameter of type categorical variables into the trained first prediction model when the target model is the first prediction model, to obtain the out-of-position amount corresponding to the occupant to be tested; a second processing unit, which is used to input all normalized out-of-position parameters and each out-of-position parameter of type categorical variables into the trained second prediction model when the target model is the second prediction model, to obtain the out-of-position amount corresponding to the occupant to be tested.

[0029] Optionally, in one embodiment of the present application, the training unit specifically includes: a training data content acquisition subunit, used to obtain the lateral acceleration, longitudinal acceleration, lateral deviation and longitudinal deviation corresponding to each group of data in the training data within the second preset time; a first training data construction subunit, used to construct first training data according to the training data and the lateral deviation and longitudinal deviation corresponding to each group of data within the second preset time; a model training data construction subunit, used to construct first model training data according to statistical parameters of the type of sequence data in the training data and the lateral acceleration and longitudinal acceleration corresponding to each group of statistical parameters within the second preset time, and construct second model training data according to statistical parameters of the type of categorical variables and numerical variables in the training data, and the lateral deviation and longitudinal deviation corresponding to the second preset time; a second training data construction subunit, used to construct the second training data according to the first model training data and the second model training data.

[0030] Optionally, in one embodiment of the present application, the training unit further includes: a first prediction model training subunit, used to train the first prediction model according to the first training data to obtain a trained first prediction model; a displacement prediction model training subunit, used to train the acceleration prediction model in the second prediction model according to the first model training data, and train the displacement prediction model in the second prediction model according to the second model training data to obtain a trained acceleration prediction model and a trained displacement prediction model; a second prediction model training subunit, used to obtain a trained second prediction model based on the trained acceleration prediction model and the trained displacement prediction model.

[0031] Optionally, in one embodiment of the present application, the first processing unit specifically includes: a sequence variable hidden layer representation generation subunit, which is used for, when the target model is the first prediction model, inputting the normalized off-position parameter corresponding to the off-position parameter of the type of sequence data into the linear projection layer in the first prediction model that has been trained, and performing feature dimension addition and sequence feature extraction to obtain the sequence variable hidden layer representation; a categorical variable hidden layer representation generation subunit, which is used for inputting each off-position parameter of the type of categorical variable into the embedding layer in the first prediction model that has been trained, and processing it through a first multi-layer perceptron to obtain the categorical variable hidden layer representation; a numerical variable hidden layer representation generation subunit, which is used for inputting the normalized off-position parameter corresponding to the off-position parameter of the type of numerical variable into the second multi-layer perceptron in the first prediction model that has been trained to obtain the numerical variable hidden layer representation; a first prediction model corresponding off-position amount generation subunit, which is used for performing feature splicing on the sequence variable hidden layer representation, the categorical variable hidden layer representation and the numerical variable hidden layer representation, and inputting them into the decoder in the first prediction model that has been trained to obtain the off-position amount corresponding to the occupant to be measured.

[0032] Optionally, in one embodiment of the present application, the second processing unit specifically includes: an acceleration prediction subunit, which is used to, when the target model is the second prediction model, input the normalized out-of-position parameter corresponding to the out-of-position parameter of the type of sequence data into the trained acceleration prediction model to obtain predicted lateral acceleration and predicted longitudinal acceleration; a second prediction model corresponding out-of-position amount generation subunit, which is used to input the predicted lateral acceleration, the predicted longitudinal acceleration, each out-of-position parameter of the type of categorical variable and the normalized out-of-position parameter corresponding to the out-of-position parameter of the type of numerical variable into the trained out-of-position amount prediction model to obtain the out-of-position amount corresponding to the occupant to be measured.

[0033] A third aspect of the present application provides a vehicle, comprising: a memory, a processor, and an occupant departure amount prediction program stored in the memory and executable on the processor, wherein the occupant departure amount prediction program, when executed by the processor, implements the steps of the occupant departure amount prediction method as described in the above embodiment.

[0034] A fourth aspect of the present application provides a computer-readable storage medium storing an occupant departure amount prediction program, which, when executed by a processor, implements the steps of the occupant departure amount prediction method as described in the above embodiments.

[0035] Beneficial effects of this application:

[0036] (1) When calculating the amount of displacement, the embodiment of the present application takes into account that the amount of displacement is affected by a variety of data, and accordingly adopts statistical parameters of the occupants to be tested within a preset time for calculation. Among these parameters, the parameters of the sequence data type have high dimensions and contain rich information, while the parameters corresponding to the numerical variable type and the categorical variable type can reflect the state of the restraint system and the state of the occupants, so that the present application can comprehensively consider the signals and information that affect the amount of displacement, thereby obtaining an accurate amount of displacement, and then allowing the control end of the target vehicle to respond.

[0037] (2) The embodiment of the present application uses a trained prediction model to process multiple parameters accordingly, rather than a linear model, so that the complex relationship between the offset and these parameters can be mapped through a specific first prediction model or a second prediction model, and a high-precision offset can be obtained.

[0038] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0040] Figure 1 It is a flow chart of a preferred embodiment of the method for predicting the amount of occupant leaving the seat of the present application;

[0041] Figure 2 It is a schematic diagram of training sample segmentation in the occupant departure prediction method of the present application;

[0042] Figure 3 It is a schematic diagram of the prediction effect of the occupant departure prediction method of the present application;

[0043] Figure 4 This is a schematic diagram of occupant departure prediction using an end-to-end method in the occupant departure prediction method of the present application;

[0044] Figure 5 It is a framework diagram of the first prediction model in the occupant departure prediction method of the present application;

[0045] Figure 6 This is a schematic diagram of occupant departure prediction using a non-end-to-end method in the occupant departure prediction method of the present application;

[0046] Figure 7 It is a framework diagram of the acceleration prediction model in the occupant departure prediction method of the present application;

[0047] Figure 8 It is a structural schematic diagram of a preferred embodiment of the occupant departure prediction device of the present application;

[0048] Fig. 9 This is a schematic structural diagram of a preferred embodiment of the vehicle of the present application.

[0049] Among them, 10-occupant departure prediction device; 100-data acquisition module, 200-normalization module, 300-result generation module and 400-response module; 901-memory, 902-processor and 903-communication interface. DETAILED DESCRIPTION

[0050] Embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0051] At present, with the rapid development of automobile intelligence, the installation rate of active safety in automobiles has become increasingly higher. Active safety avoids or mitigates collisions through automatic braking systems (Automatic Emergency Braking, AEB) or steering systems (Automatic Emergency Steering, AES) in dangerous scenarios, thereby reducing the risk of injury to occupants. However, after the active safety takes effect, the occupants will deviate from the original normal driving / riding position (hereinafter referred to as the standard position) relative to the vehicle body coordinate system due to inertia, that is, they will be out of position. At present, the occupant protection systems of all vehicles are designed for the standard position of the occupants. Once the occupants are out of position before the collision, the effectiveness of the occupant protection system will be reduced to a certain extent. Correspondingly, the current mainstream solution is: before the collision, tighten the active seat belts, restrain the occupants in advance, and reduce the amount of occupants out of position. However, the triggering of active seat belt pre-tensioning depends on some signals from the vehicle at the current moment, and tightening the seat belt relying on braking / steering related signals will cause a tightening delay. At this time, the occupant has already been out of position to a certain extent and is in the acceleration field, and it is difficult for the seat belt to pull the person back to the original position completely. At the same time, the occupant's state also has a significant impact on the amount of displacement. Therefore, the signals currently obtained when calculating the amount of displacement are not fully considered, and the obtained amount of displacement is inaccurate, which results in the inability to accurately pull the corresponding passenger back to a safe position when tightening the seat belt relying on braking or steering related signals.

[0052] The following describes an occupant out-of-position prediction method, device, vehicle and computer-readable storage medium according to an embodiment of the present application with reference to the accompanying drawings. The present application provides an occupant out-of-position prediction method, in which statistical parameters of an occupant to be tested within a preset time are obtained, and multiple out-of-position parameters and types of each out-of-position parameter are generated according to each statistical parameter, wherein the types of out-of-position parameters include sequence data, categorical variables and numerical variables; training data are obtained, and each out-of-position parameter of the type of sequence data and numerical variables is normalized according to the training data to obtain multiple normalized out-of-position parameters; user needs are obtained, and a target model is selected from the trained prediction models according to the user needs, and all normalized out-of-position parameters and each out-of-position parameter of the type of categorical variables are input into the target model to obtain the out-of-position amount of the occupant to be tested, wherein the prediction model is trained by the training data; and the out-of-position amount is uploaded to the control end of the target vehicle for response.

[0053] Specifically, Figure 1 A flowchart of a method for predicting occupant displacement provided in an embodiment of the present application.

[0054] like Figure 1 As shown, the occupant departure amount prediction method comprises the following steps:

[0055] In step S100, statistical parameters of the occupant to be tested within a preset time are obtained, and a plurality of out-of-position parameters and the type of each out-of-position parameter are generated according to each statistical parameter, wherein the type of the out-of-position parameter includes sequence data, categorical variables and numerical variables.

[0056] It should be noted that the preset time t in this application is W It is a pre-selected time period immediately before the current moment. The statistical parameters include scene parameters, restraint system parameters and occupant status parameters. After these parameters are obtained, their types are generated accordingly. W is the value selected by the user based on prior data, t W Too large a value will result in high computational complexity, while too small a value will result in insufficient information being obtained. In one embodiment of the present application, t W Take 1000ms.

[0057] Furthermore, the above step S100 specifically includes:

[0058] Step S101, obtaining statistical parameters of the occupant to be tested within a preset time, wherein the statistical parameters include scene parameters, restraint system parameters and occupant status parameters, the scene parameters include steering wheel steering angle sequence data, vehicle speed sequence data and vehicle head-to-collision time sequence data, the restraint system parameters include seat belt status and seat belt position parameters, and the occupant status parameters include attention status parameters and driver body information;

[0059] Step S102, generating an attention state according to the attention state parameters of the occupant to be tested within a preset time;

[0060] Step S103, generating a plurality of out-of-position parameters according to each statistical parameter and the attention state, and generating a type of each out-of-position parameter, wherein, among the plurality of out-of-position parameters, the types of the steering wheel steering angle series data, the vehicle speed series data and the vehicle-to-collision time series data are sequence data, the types of the seat belt status and the attention state are categorical variables, and the seat belt position parameters and the driver's physical information are numerical variables.

[0061] It should be noted that in this application, statistical parameters include scene parameters, restraint system parameters and occupant status parameters. Scene parameters include steering wheel steering angle sequence data, vehicle speed sequence data and vehicle-to-collision time series data, among which steering wheel steering angle sequence data and vehicle speed sequence data are the most basic data of the car and can be directly read from the CAN bus, and vehicle-to-collision time series data can be obtained from the driver assistance system (ADAS). Restraint system parameters mainly affect the occupant's lateral and longitudinal movement, including seat belt status and seat belt point parameters, the seat belt status refers to whether the seat belt is fastened, 0 means no seat belt, 1 means fastened; seat belt point parameters refer to the projection distance of the seat belt fixed point (the seat belt fixed point includes the seat belt ring, buckle, anchor point and retractor) from the seat R point in the X, Y and Z directions; the seat belt status can be obtained from the buckle status, and the seat belt point parameters are fixed for each vehicle model and can be obtained from the storage device. The occupant status parameters include attention status parameters and driver physical information. The attention status parameters are obtained from the DMS. The driver physical information includes height, age and weight, which can be obtained from the cockpit terminal. The attention status parameters refer to the time window (t W ) is usually provided with a signal by the driver attention status detection system (DMS), which gives a status in each cycle (0 represents concentration and 1 represents distraction).

[0062] After obtaining the attention state parameters, at time t W Within, the statistical attention state parameters give the final value input to the prediction model: in, is the final state value input to the prediction model, that is, the attention state, which is a categorical variable, i is the i-th cycle, S i is the state of DMS in the i-th period, N is the W The total number of states collected in the period. By acquiring the attention state, the robustness of the prediction results given by the driver attention state detection system can be improved, because the results given by the driver attention state detection system may jump and are different in each cycle; therefore, the above formula counts all the states given in the past period of time. If most of them are 1, the state is considered to be 1, and if most of them are 0, the state is considered to be 0.

[0063] After obtaining the attention state, multiple out-of-position parameters are generated according to each statistical parameter and attention state, including steering wheel steering angle sequence data, vehicle speed sequence data, vehicle-to-collision time series data, seat belt status, attention state, seat belt position parameters and driver's physical information. Among the multiple out-of-position parameters, the steering wheel steering angle sequence data, vehicle speed sequence data and vehicle-to-collision time series data are of the type of sequence data, the seat belt status and attention state are of the type of categorical variables, and the seat belt position parameters and driver's physical information are of the type of numerical variables.

[0064] In step S200, training data is obtained, and each type of off-position parameter of sequence data and numerical variable is normalized according to the training data to obtain a plurality of normalized off-position parameters.

[0065] It should be noted that, in the present application, each out-of-position parameter of the type of sequence data and numerical variable is normalized to obtain a plurality of normalized out-of-position parameters, wherein the training data is used for normalization in the normalization, and the training data is the data used to train the first prediction model and the second prediction model. In addition, in the present application, in the training process of the first prediction model and the second prediction model, the corresponding statistical parameters also need to be normalized according to the type.

[0066] Furthermore, the above step S200 specifically includes:

[0067] Step S201, obtaining training data for training the prediction model, and selecting training parameters of sequence data and numerical variables from the training data;

[0068] Step S202: According to the training off-position parameters of the type of sequence data and numerical variables, the maximum value and the minimum value of each off-position parameter corresponding to the training off-position parameters of the type of sequence data and numerical variables are selected, and the parameter range of each off-position parameter corresponding to the training off-position parameters of the type of sequence data and numerical variables is constructed;

[0069] Step S203, determining whether each out-of-position parameter of the type of sequence data and numerical variable is within the corresponding parameter range;

[0070] Step S204: When the off-position parameter of the type of sequence data and numerical variable is within the corresponding parameter range, the current off-position parameter is normalized using a preset normalization formula according to the maximum and minimum values ​​of the training off-position parameter corresponding to the current off-position parameter to obtain the corresponding normalized off-position parameter.

[0071] Specifically, in the present application, training data of the type of sequence data and numerical variables, i.e., training out-of-position parameters, are screened out from the training building data used to train the prediction model, and the maximum and minimum values ​​of each type of data are selected from these data, and the parameter range of each out-of-position parameter is formed by the maximum and minimum values, and it is determined whether each out-of-position parameter of the type of sequence data and numerical variables is within the corresponding parameter range. If so, normalization is performed accordingly. MinMax normalization is adopted in the present application, i.e., the corresponding normalization formula is: Where X min , X max They are the minimum and maximum values ​​of the training data X, norm is the normalized corresponding out-of-position parameter after normalization, and in this application, only the training data X is used to calculate X in order to prevent data distribution leakage. min , X max .

[0072] Furthermore, the above step S203 further includes:

[0073] Step S2031: when the out-of-position parameter of the type of sequence data and numerical variable is not within the corresponding parameter range, the current out-of-position parameter is clamped according to the maximum and minimum values ​​of the training out-of-position parameter corresponding to the current out-of-position parameter to obtain the corresponding clamped parameter;

[0074] Step S2032: according to the maximum and minimum values ​​of the training out-of-position parameters corresponding to the current out-of-position parameters, a preset normalization formula is used to normalize the current clamping parameters to obtain corresponding normalized out-of-position parameters.

[0075] Specifically, in the present application, if some of the off-position parameters of the type of sequence data and numerical variables are not within the corresponding parameter range, the current off-position parameters are clamped according to the maximum and minimum values ​​of the training off-position parameters corresponding to the current off-position parameters to obtain the corresponding clamped parameters. Specifically, when the range of the off-position parameters of the type of sequence data and numerical variables exceeds [X min , X max ], the input is clamped, that is: X1=max(min(X,X max ),Xmin ), where X1 is the corresponding clamping parameter. After obtaining the corresponding clamping parameter, normalization is performed again to obtain the corresponding normalized out-of-position parameter.

[0076] In step S300, user needs are obtained, and a target model is selected from the trained prediction models according to the user needs. All normalized out-of-position parameters and each out-of-position parameter of type categorical variable are input into the target model to obtain the out-of-position amount of the occupant to be tested, wherein the prediction model is trained using the training data.

[0077] It should be noted that in the present application, the normalized out-of-position parameter processed and each out-of-position parameter of type as a categorical variable are input into the corresponding target, and the out-of-position amount of the occupant to be predicted can be obtained. Wherein, the target model is selected by the user, including two prediction models, the first prediction model, i.e., the prediction model of end-to-end (End-End), and the second prediction model, i.e., the prediction model of non-end-to-end (Not-End-End). In the present application, the prediction model of end-to-end (End-End), i.e., the first prediction model can obtain faster reasoning speed, and the development is also more concise and efficient, but the prediction of the out-of-position amount output to the end does not have interpretability; the prediction model of non-end-to-end (Not-End-End), i.e., the second prediction model, predicts the longitudinal and lateral acceleration of the vehicle in the first step, and these two quantities directly determine the size of the out-of-position amount, and have better interpretability, but the reasoning efficiency is low; in the present application, in actual application, it is selected according to the user's on-site needs.

[0078] Furthermore, the above step S300 specifically includes:

[0079] Step S301, constructing first training data and second training data in advance according to the training data, training a first prediction model and a second prediction model according to the first training data and the second training data, to obtain a trained first prediction model and a trained second prediction model, wherein the prediction model includes the first prediction model and the second prediction model;

[0080] Step S302: obtaining user needs, and selecting a target model from the trained prediction models according to the user needs;

[0081] Step S303: when the target model is the first prediction model, all normalized out-of-position parameters and each out-of-position parameter of a categorical variable type are input into the trained first prediction model to obtain the out-of-position amount corresponding to the occupant to be tested;

[0082] Step S304: when the target model is the second prediction model, all normalized out-of-position parameters and each out-of-position parameter of the type of categorical variable are input into the trained second prediction model to obtain the out-of-position amount corresponding to the occupant to be tested.

[0083] Specifically, in the present application, before applying the prediction model, the first prediction model and the second prediction model are trained accordingly. After the first prediction model and the second prediction model are trained through training data, one of them is selected as the target model, and the corresponding parameters are processed to obtain the displacement amount corresponding to the occupant to be tested.

[0084] Furthermore, the above step S301 specifically includes:

[0085] Step S3011, obtaining the lateral acceleration, longitudinal acceleration, lateral displacement and longitudinal displacement corresponding to each group of data in the training data within a second preset time;

[0086] Step S3012, constructing first training data according to the training data and the lateral displacement amount and the longitudinal displacement amount corresponding to each group of data within the second preset time;

[0087] Step S3013: constructing first model training data according to the statistical parameters of the training data whose type is sequence data and the lateral acceleration and longitudinal acceleration corresponding to each group of statistical parameters within the second preset time, and constructing second model training data according to the statistical parameters of the training data whose types are categorical variables and numerical variables and the lateral displacement and longitudinal displacement corresponding to the second preset time;

[0088] Step S3014: construct the second training data according to the first model training data and the second model training data.

[0089] Specifically, in the present application, by collecting a large amount of natural driving data of the occupants to be tested in different occupant states and different restraint system states, and collecting the amount of departure of the occupants, corresponding training data can be generated, wherein the natural driving data contains the statistical parameters of the occupants. Figure 2 As shown, in this application, the collected natural driving data is sampled and segmented. At any time t0, the time interval t before t0 is w If the following logical expression is satisfied: (In the formula t w The maximum value of the internal displacement, the maximum value of the vehicle longitudinal acceleration and the maximum value of the lateral acceleration, d threshold 、a threshold are the threshold of the displacement and the threshold of the acceleration respectively), then t wThe scene parameters, state parameters and constraint system parameters within the time interval are used as training data, and the parameters after t0 are used as training data. F The longitudinal acceleration of the vehicle during the time interval a x and lateral acceleration a y The predicted value of the first model training data, i.e., the label, is obtained, and the lateral displacement and longitudinal displacement are obtained accordingly, which are used as the predicted values ​​of the first training data and the second model training data, i.e., the label. When obtaining the predicted value of the first model training data, for those satisfying the logical expression, the longitudinal displacement d of the collected occupant is x and lateral displacement d y As the predicted value; for those that do not satisfy the above logical expression, d x d y Assign a 0 vector and use the vector as the label of the first model prediction model, where the length of the vector is equal to t F The number of sampling points within.

[0090] In the present application, after obtaining the training data and the corresponding longitudinal acceleration and lateral acceleration of the vehicle, as well as the longitudinal displacement and lateral displacement, the first training data is constructed according to the training data and the lateral displacement and longitudinal displacement corresponding to each group of data within the second preset time, the first model training data is constructed according to the statistical parameters of the training data of the type of sequence data and the lateral acceleration and longitudinal acceleration corresponding to each group of statistical parameters within the second preset time, and the second model training data is constructed according to the statistical parameters of the training data of the type of categorical variables and numerical variables, and the lateral displacement and longitudinal displacement corresponding to the second preset time, wherein the second preset time is t F .

[0091] Furthermore, the above step S301 specifically includes:

[0092] Step S3015: training the first prediction model according to the first training data to obtain a trained first prediction model;

[0093] Step S3016: training the acceleration prediction model in the second prediction model according to the first model training data, and training the displacement prediction model in the second prediction model according to the second model training data, to obtain a trained acceleration prediction model and a trained displacement prediction model;

[0094] Step S3017: Obtain a trained second prediction model based on the trained acceleration prediction model and the trained displacement prediction model.

[0095] It should be noted that, in the present application, before training the first prediction model, the acceleration prediction model and the displacement prediction model, they are all normalized according to the type of each data in the corresponding training data before being used for training. w The normalized scene parameters, constraint system parameters and state parameters in the time interval are used as the input (features) of the first prediction model. F The longitudinal displacement of the occupant during the time interval d x and lateral displacement d y As the predicted value (label) of the current training process, the training is performed; when training the acceleration prediction model, the first model training data with t w The normalized scene parameters within the time interval are used as the input (feature) of the acceleration prediction model. F The longitudinal acceleration of the vehicle during the time interval a x and lateral acceleration a y As the predicted value (label) of the current training process, training is performed; when training the displacement prediction model, the personnel state parameters and the restraint system parameters (the parameters of the type of numerical variables in the occupant state parameters and the restraint system parameters are normalized accordingly), as well as the longitudinal acceleration and lateral acceleration of the vehicle in the subsequent time interval are used as the input of the displacement prediction model, and the longitudinal displacement and lateral displacement of the occupant in the subsequent time interval are used as the predicted value (label) of the current training process for training. Moreover, in the training process of the three models, the mean square error loss (mean absolute error loss, MAE) is used as the loss function, and adaptive moment estimation (adaptive moment estimation, adam) is used as the optimizer. In order to prevent overfitting, L2 regularization, random node discarding and early stopping processing are used. Moreover, in the present application, when the three models are trained, when the corresponding loss is reduced to a preset threshold, the training is terminated and the trained model is output. In one embodiment of the present application, such as Figure 3 As shown in the figure, based on the first prediction model, a sample is randomly selected from the test set for visual verification. The effect is as follows Figure 3 As shown, the average loss is 2.65.

[0096] Furthermore, the above step S303 specifically includes:

[0097] Step S3031: when the target model is the first prediction model, the normalized out-of-position parameter corresponding to the out-of-position parameter of the type of sequence data is input into the linear projection layer of the first prediction model after training, and feature dimension addition and sequence feature extraction are performed to obtain a hidden layer representation of the sequence variable;

[0098] Step S3032: input each out-of-position parameter of type categorical variable into the embedding layer of the first prediction model that has been trained, and process it through the first multi-layer perceptron to obtain a categorical variable hidden layer representation;

[0099] Step S3033: input the normalized out-of-place parameter corresponding to the out-of-place parameter of the type of numerical variable into the second multi-layer perceptron in the first prediction model that has been trained to obtain a hidden layer representation of the numerical variable;

[0100] Step S3034: After feature concatenation of the sequence variable latent layer representation, the categorical variable latent layer representation and the numerical variable latent layer representation, the features are input into the decoder in the trained first prediction model to obtain the displacement amount corresponding to the occupant to be measured.

[0101] It should be noted that in this application, Figure 4 As shown in FIG. 1 , it is a schematic diagram of an end-to-end occupant displacement prediction method, i.e., a schematic diagram of an occupant displacement prediction method of a first prediction model. All normalized displacement parameters and each displacement parameter of a categorical variable type are input into the trained first prediction model, i.e., displacement prediction model A, to obtain the longitudinal displacement and lateral displacement of the occupant. Specifically, Figure 5 As shown, in the first prediction model, the first prediction model is a deep learning model based on an encoder-decoder architecture, such as Figure 5 As shown, the encoder inputs each type of off-position parameter of categorical variable into the linear projection layer of the first prediction model after training, adds them in the feature dimension, and sends them to the sequence feature extractor to obtain the hidden layer representation of the sequence variable, which contains the characteristics of the time series in the time dimension; each type of off-position parameter of categorical variable is input into the embedding layer (Embedding, i.e., a linear layer without bias term) in the first prediction model after training, and splices them in the feature dimension, and then inputs them into the first multi-layer perceptron MLP1 for processing to obtain the hidden layer representation of the categorical variable; the normalized off-position parameter corresponding to the off-position parameter of numerical variable type is input into the second multi-layer perceptron MLP2 in the first prediction model after training to obtain the hidden layer representation of the numerical variable; finally, the hidden layer representation of the sequence variable, the hidden layer representation of the categorical variable and the hidden layer representation of the numerical variable are spliced ​​in the feature dimension to obtain the hidden layer representation of the encoder, and the hidden layer representation of the encoder is input into the decoder for transformation, projected into the semantic space of the off-position quantity, and the off-position quantity corresponding to the occupant to be measured is obtained.

[0102] Among them, in the present application, in the first prediction model, the sequence feature extractor is a generalized recurrent neural network (RNN, GRU, LSTM), a convolutional neural network (CNN), or a Transfomer based on an attention mechanism; the first multi-layer perceptron and the second multi-layer perceptron have the same structure, including an input layer, a hidden layer and an output layer, wherein the input and output layers are composed of a linear projection layer, and the hidden layer is composed of a linear projection layer, a batch normalization layer and an activation function layer; the decoder is composed of a multi-layer perceptron, which includes two hidden layers.

[0103] Furthermore, the above step S304 specifically includes:

[0104] Step S3041: when the target model is the second prediction model, input the normalized out-of-position parameter corresponding to the out-of-position parameter of the type of sequence data into the trained acceleration prediction model to obtain the predicted lateral acceleration and the predicted longitudinal acceleration;

[0105] Step S3042: input the predicted lateral acceleration, the predicted longitudinal acceleration, each out-of-position parameter of type categorical variable, and the normalized out-of-position parameter corresponding to the out-of-position parameter of type numerical variable into the trained out-of-position prediction model to obtain the out-of-position amount corresponding to the occupant to be tested.

[0106] It should be noted that in this application, Figure 6 As shown, it is a non-end-to-end prediction model, i.e., the second prediction model. In the second prediction model, the normalized out-of-position parameter corresponding to the out-of-position parameter of the type of sequence data is first input into the trained acceleration prediction model to obtain the predicted lateral acceleration and predicted longitudinal acceleration of the vehicle in the future period of time, and then the predicted lateral acceleration, predicted longitudinal acceleration, each out-of-position parameter of the type of categorical variable and the out-of-position parameter corresponding to the type of numerical variable are input into the out-of-position prediction model B, i.e., the out-of-position prediction model, to obtain the out-of-position amount corresponding to the occupant to be tested, i.e., the longitudinal out-of-position amount and lateral out-of-position amount of the occupant. Specifically, as Figure 7As shown, the structure of the acceleration prediction model in the present application, when the target model is the second prediction model, the normalized out-of-position parameters corresponding to the out-of-position parameters of the type of sequence data are input into the trained acceleration prediction model, the acceleration prediction model inputs the normalized out-of-position parameters corresponding to the out-of-position parameters of the type of sequence data into the encoder of the acceleration prediction model, linearly projects them respectively, adds them in the feature dimension, and inputs them to the sequence feature extractor to obtain the corresponding latent layer representation of the sequence data, the decoder in the acceleration prediction model performs nonlinear transformation on it, projects it into the acceleration semantic space, and obtains the longitudinal acceleration and lateral acceleration of the vehicle; then the predicted lateral acceleration, the predicted longitudinal acceleration, each out-of-position parameter of the type of categorical variable and the normalized out-of-position parameter corresponding to the out-of-position parameter of the type of numerical variable are input into the trained out-of-position amount prediction model to obtain the out-of-position amount corresponding to the occupant to be measured.

[0107] Among them, the sequence feature extractor in the acceleration prediction model has the same structure as the sequence feature extractor in the first prediction model, and the structure of the displacement prediction model is the same as the first prediction model, but in the displacement prediction model, the predicted lateral acceleration and the predicted longitudinal acceleration are input into the linear projection layer of the trained displacement prediction model, and added in the feature dimension and sent to the sequence feature extractor to obtain the corresponding sequence variable hidden layer representation.

[0108] In step S400, the displacement amount is uploaded to the control end of the target vehicle for response.

[0109] It should be noted that, in the present application, after the corresponding displacement amount is obtained, it is uploaded to the controller of the target vehicle for response.

[0110] Correspondingly, the vehicle controller controls the seat belt of the target vehicle to retract according to the amount of displacement, so that protective measures can be taken in advance to reduce or eliminate the impact of displacement on passive safety, and a comfortable driving experience can also be provided. In one embodiment of the present application, after uploading to the control end, the seat belt is tightened according to the amount of displacement. The greater the displacement, the greater the force of tightening the seat belt. At the same time, after the displacement, the driver and passengers are closer to the airbag. If the deployment volume of the adaptive airbag is too large, it will cause harm to the driver and passengers. Therefore, in one embodiment of the present application, the airbag deployment method is adjusted according to the displacement. When the displacement is predicted, only the first stage of the adaptive airbag is detonated when the airbag is deployed, so as to avoid the damage caused by the deployment of multiple stages of the airbag.

[0111] Next, the occupant departure prediction device proposed in accordance with the embodiment of the present application will be described with reference to the accompanying drawings.

[0112] Figure 8 It is a schematic diagram of the structure of the occupant departure amount prediction device according to an embodiment of the present application.

[0113] like Figure 8 As shown, the occupant out-of-position prediction device 10 includes: a data acquisition module 100 , a normalization module 200 , a result generation module 300 and a response module 400 .

[0114] Specifically, the data acquisition module 100 is used to acquire statistical parameters of the occupant to be tested within a preset time, and generate a plurality of out-of-position parameters and the type of each out-of-position parameter according to each statistical parameter, wherein the type of the out-of-position parameter includes sequence data, categorical variables and numerical variables;

[0115] A normalization module 200 is used to obtain training data, and normalize each type of out-of-position parameter of sequence data and numerical variable according to the training data to obtain multiple normalized out-of-position parameters;

[0116] A result generation module 300 is used to obtain user requirements, select a target model from the trained prediction models according to the user requirements, input all normalized out-of-position parameters and each out-of-position parameter of a categorical variable type into the target model, and obtain the out-of-position amount of the occupant to be tested, wherein the prediction model is trained by the training data;

[0117] The response module 400 is used to upload the displacement value to the control end of the target vehicle for response.

[0118] Optionally, in one embodiment of the present application, the data acquisition module 100 specifically includes: a statistical parameter acquisition unit, used to acquire statistical parameters of the occupant to be tested within a preset time, wherein the statistical parameters include scene parameters, restraint system parameters and occupant status parameters, the scene parameters include steering wheel steering angle sequence data, vehicle speed sequence data and vehicle-to-collision time series data, the restraint system parameters include seat belt status and seat belt point parameters, and the occupant status parameters include attention state parameters and driver physical information; an attention state generation unit, used to generate an attention state according to the attention state parameters of the occupant to be tested within a preset time; a type generation unit, used to generate multiple out-of-position parameters according to each statistical parameter and the attention state, and generate a type of each out-of-position parameter, wherein, among the multiple out-of-position parameters, the types of the steering wheel steering angle sequence data, the vehicle speed sequence data and the vehicle-to-collision time series data are sequence data, the types of the seat belt status and the attention state are categorical variables, and the seat belt point parameters and the driver's physical information are numerical variables.

[0119] Optionally, in one embodiment of the present application, the normalization module 200 specifically includes: a training data acquisition unit, used to acquire training data for training the prediction model, and select training off-position parameters of the type of sequence data and numerical variables from the training data; a parameter range construction unit, used to select the maximum value and minimum value of each off-position parameter corresponding to the training off-position parameters of the type of sequence data and numerical variables according to the training off-position parameters of the type of sequence data and numerical variables, and construct a parameter range of each off-position parameter corresponding to the training off-position parameters of the type of sequence data and numerical variables; a parameter range judgment unit, used to judge whether each off-position parameter of the type of sequence data and numerical variables is within the corresponding parameter range; a first normalized off-position parameter generation unit, used to normalize the current off-position parameter according to the maximum value and minimum value of the training off-position parameter corresponding to the current off-position parameter, using a preset normalization formula, when the off-position parameter of the type of sequence data and numerical variables is within the corresponding parameter range, to obtain the corresponding normalized off-position parameter.

[0120] Optionally, in one embodiment of the present application, the parameter range judgment unit further includes: a clamping parameter generation unit, which is used to clamp the current off-position parameter when the off-position parameter of the type of sequence data and numerical variable is not within the corresponding parameter range, so as to obtain the corresponding clamping parameter according to the maximum and minimum values ​​of the training off-position parameter corresponding to the current off-position parameter; and a second normalized off-position parameter generation unit, which is used to normalize the current clamping parameter according to the maximum and minimum values ​​of the training off-position parameter corresponding to the current off-position parameter, using a pre-set normalization formula, to obtain the corresponding normalized off-position parameter.

[0121] Optionally, in one embodiment of the present application, the result generation module 300 specifically includes: a training unit, which is used to construct first training data and second training data in advance according to the training data, and train a first prediction model and a second prediction model according to the first training data and the second training data to obtain a trained first prediction model and a trained second prediction model, wherein the prediction model includes a first prediction model and a second prediction model; a target model selection unit, which is used to obtain user needs and select a target model from the trained prediction models according to the user needs; a first processing unit, which is used to input all normalized out-of-position parameters and each out-of-position parameter of type categorical variable into the trained first prediction model when the target model is the first prediction model, to obtain the out-of-position amount corresponding to the occupant to be tested; a second processing unit, which is used to input all normalized out-of-position parameters and each out-of-position parameter of type categorical variable into the trained second prediction model when the target model is the second prediction model, to obtain the out-of-position amount corresponding to the occupant to be tested.

[0122] Optionally, in one embodiment of the present application, the training unit specifically includes: a training data content acquisition subunit, used to obtain the lateral acceleration, longitudinal acceleration, lateral deviation and longitudinal deviation corresponding to each group of data in the training data within the second preset time; a first training data construction subunit, used to construct first training data according to the training data and the lateral deviation and longitudinal deviation corresponding to each group of data within the second preset time; a model training data construction subunit, used to construct first model training data according to statistical parameters of the type of sequence data in the training data and the lateral acceleration and longitudinal acceleration corresponding to each group of statistical parameters within the second preset time, and construct second model training data according to statistical parameters of the type of categorical variables and numerical variables in the training data, and the lateral deviation and longitudinal deviation corresponding to the second preset time; a second training data construction subunit, used to construct the second training data according to the first model training data and the second model training data.

[0123] Optionally, in one embodiment of the present application, the training unit further includes: a first prediction model training subunit, used to train the first prediction model according to the first training data to obtain a trained first prediction model; a displacement prediction model training subunit, used to train the acceleration prediction model in the second prediction model according to the first model training data, and train the displacement prediction model in the second prediction model according to the second model training data to obtain a trained acceleration prediction model and a trained displacement prediction model; a second prediction model training subunit, used to obtain a trained second prediction model based on the trained acceleration prediction model and the trained displacement prediction model.

[0124] Optionally, in one embodiment of the present application, the first processing unit specifically includes: a sequence variable hidden layer representation generation subunit, which is used for, when the target model is the first prediction model, inputting the normalized off-position parameter corresponding to the off-position parameter of the type of sequence data into the linear projection layer in the first prediction model that has been trained, and performing feature dimension addition and sequence feature extraction to obtain the sequence variable hidden layer representation; a categorical variable hidden layer representation generation subunit, which is used for inputting each off-position parameter of the type of categorical variable into the embedding layer in the first prediction model that has been trained, and processing it through a first multi-layer perceptron to obtain the categorical variable hidden layer representation; a numerical variable hidden layer representation generation subunit, which is used for inputting the normalized off-position parameter corresponding to the off-position parameter of the type of numerical variable into the second multi-layer perceptron in the first prediction model that has been trained to obtain the numerical variable hidden layer representation; a first prediction model corresponding off-position amount generation subunit, which is used for performing feature splicing on the sequence variable hidden layer representation, the categorical variable hidden layer representation and the numerical variable hidden layer representation, and inputting them into the decoder in the first prediction model that has been trained to obtain the off-position amount corresponding to the occupant to be measured.

[0125] Optionally, in one embodiment of the present application, the second processing unit specifically includes: an acceleration prediction subunit, which is used to, when the target model is the second prediction model, input the normalized out-of-position parameter corresponding to the out-of-position parameter of the type of sequence data into the trained acceleration prediction model to obtain predicted lateral acceleration and predicted longitudinal acceleration; a second prediction model corresponding out-of-position amount generation subunit, which is used to input the predicted lateral acceleration, the predicted longitudinal acceleration, each out-of-position parameter of the type of categorical variable and the normalized out-of-position parameter corresponding to the out-of-position parameter of the type of numerical variable into the trained out-of-position amount prediction model to obtain the out-of-position amount corresponding to the occupant to be measured.

[0126] It should be noted that the above explanations of the embodiment of the method for predicting the amount of occupant leaving the seat are also applicable to the device for predicting the amount of occupant leaving the seat in this embodiment, and will not be repeated here.

[0127] Fig. 9 A schematic diagram of the structure of a vehicle provided in an embodiment of the present application. The vehicle may include:

[0128] A memory 901 , a processor 902 , and a computer program stored in the memory 901 and executable on the processor 902 .

[0129] When the processor 902 executes the program, the occupant departure amount prediction method provided in the above embodiment is implemented.

[0130] Furthermore, the vehicle also includes:

[0131] The communication interface 903 is used for communication between the memory 901 and the processor 902 .

[0132] The memory 901 is used to store computer programs that can be executed on the processor 902 .

[0133] The memory 901 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0134] If the memory 901, the processor 902 and the communication interface 903 are implemented independently, the communication interface 903, the memory 901 and the processor 502 can be connected to each other through a bus and communicate with each other. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component (PCI) bus or an Extended Industry Standard Architecture (EIS) bus. The bus can be divided into an address bus, a data bus, a control bus, etc. For ease of representation, Fig. 9 Only one thick line is used in the diagram, but this does not mean that there is only one bus or only one type of bus.

[0135] Optionally, in a specific implementation, if the memory 901, the processor 902 and the communication interface 903 are integrated on a chip, the memory 901, the processor 902 and the communication interface 903 can communicate with each other through an internal interface.

[0136] The processor 902 may be a central processing unit (CPU), or an application specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application.

[0137] This embodiment also provides a computer-readable storage medium having a computer program stored thereon, and when the program is executed by a processor, the above-mentioned method for predicting the occupant's departure amount is implemented.

[0138] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or N embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0139] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one of the features. In the description of this application, "N" means at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0140] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or N executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0141] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable storage medium for use by an instruction execution device, apparatus or vehicle (such as a computer-based device, a device including a processor, or other device that can fetch instructions from an instruction execution device, apparatus or vehicle and execute the instructions), or in combination with these instruction execution devices, apparatuses or vehicles. For the purposes of this specification, a "computer-readable storage medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by or in combination with an instruction execution device, apparatus or vehicle. More specific examples (non-exhaustive list) of computer-readable storage media include the following: an electrical connection with one or N wirings (electronic devices), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable storage medium may even be paper or other suitable medium on which the program is printed, since the program can be obtained electronically by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways as necessary, and then storing it in a computer memory.

[0142] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above embodiment, the N steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution device. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0143] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0144] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0145] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

[0146] It should be understood that the application of the present application is not limited to the above examples. For ordinary technicians in this field, improvements or changes can be made based on the above description. All these improvements and changes should fall within the scope of protection of the claims attached to this application.

Claims

1. A method for predicting occupant departure, characterized in that: The occupant departure amount prediction method comprises: Obtaining statistical parameters of the occupant to be tested within a preset time, generating a plurality of out-of-position parameters and the type of each out-of-position parameter according to each statistical parameter, wherein the type of the out-of-position parameter includes sequence data, categorical variables and numerical variables; Acquire training data, and normalize each out-of-position parameter of the type of sequence data and numerical variable according to the training data to obtain a plurality of normalized out-of-position parameters; Obtaining user needs, selecting a target model from the trained prediction models according to the user needs, inputting all normalized out-of-position parameters and each out-of-position parameter of a categorical variable type into the target model, and obtaining the out-of-position amount of the occupant to be tested, wherein the prediction model is trained by the training data; The displacement amount is uploaded to the control terminal of the target vehicle for response.

2. The method for predicting the occupant's departure amount according to claim 1, characterized in that: The obtaining of statistical parameters of the occupant to be measured within a preset time, and generating a plurality of out-of-position parameters and the type of each out-of-position parameter according to each statistical parameter, specifically includes: Obtaining statistical parameters of the occupant to be tested within a preset time, wherein the statistical parameters include scene parameters, restraint system parameters and occupant status parameters, the scene parameters include steering wheel steering angle sequence data, vehicle speed sequence data and vehicle head-to-collision time sequence data, the restraint system parameters include seat belt status and seat belt position parameters, and the occupant status parameters include attention status parameters and driver body information; generating an attention state according to the attention state parameters of the occupant to be tested within a preset time; A plurality of out-of-position parameters are generated according to each statistical parameter and the attention state, and a type of each out-of-position parameter is generated, wherein, among the plurality of out-of-position parameters, the types of the steering wheel steering angle series data, the vehicle speed series data and the vehicle-to-collision time series data are sequence data, the types of the seat belt status and the attention state are categorical variables, and the seat belt point parameters and the driver's body information are numerical variables.

3. The method for predicting the occupant's departure amount according to claim 2, characterized in that: The obtaining of training data, and normalizing each out-of-position parameter of the type of sequence data and numerical variable according to the training data, to obtain a plurality of normalized out-of-position parameters, specifically includes: Acquire training data for training the prediction model, and select training parameters of sequence data and numerical variables from the training data; According to the training off-position parameters of the type of sequence data and numerical variables, the maximum value and the minimum value of each off-position parameter corresponding to the training off-position parameters of the type of sequence data and numerical variables are selected, and the parameter range of each off-position parameter corresponding to the training off-position parameters of the type of sequence data and numerical variables is constructed; Determine whether each out-of-position parameter of the type of sequence data and numerical variables is within the corresponding parameter range; When the off-position parameter of the type of sequence data and numerical variable is within the corresponding parameter range, the current off-position parameter is normalized using a preset normalization formula according to the maximum and minimum values ​​of the training off-position parameter corresponding to the current off-position parameter to obtain the corresponding normalized off-position parameter.

4. The method for predicting the occupant's departure amount according to claim 3, characterized in that: The judgment type is whether each out-of-position parameter of the sequence data and the numerical variable is within the corresponding parameter range, and then further includes: When the out-of-position parameter of the type of sequence data and numerical variable is not within the corresponding parameter range, the current out-of-position parameter is clamped according to the maximum and minimum values ​​of the training out-of-position parameter corresponding to the current out-of-position parameter to obtain the corresponding clamped parameter; According to the maximum and minimum values ​​of the training out-of-position parameters corresponding to the current out-of-position parameters, the current clamping parameters are normalized using a preset normalization formula to obtain the corresponding normalized out-of-position parameters.

5. The method for predicting the occupant's departure amount according to claim 1, characterized in that: The step of obtaining user needs, selecting a target model from the trained prediction models according to the user needs, inputting all normalized out-of-position parameters and each out-of-position parameter of a categorical variable type into the target model, and obtaining the out-of-position amount of the occupant to be measured specifically includes: Preliminarily constructing first training data and second training data according to the training data, training a first prediction model and a second prediction model according to the first training data and the second training data, and obtaining a trained first prediction model and a trained second prediction model, wherein the prediction model includes the first prediction model and the second prediction model; Obtaining user needs, and selecting a target model from the trained prediction models according to the user needs; When the target model is the first prediction model, all normalized out-of-position parameters and each out-of-position parameter of a categorical variable type are input into the trained first prediction model to obtain the out-of-position amount corresponding to the occupant to be tested; When the target model is the second prediction model, all normalized out-of-position parameters and each out-of-position parameter of type categorical variable are input into the trained second prediction model to obtain the out-of-position amount corresponding to the occupant to be tested.

6. The method for predicting the occupant's departure amount according to claim 5, characterized in that: The step of constructing the first training data and the second training data in advance according to the training data specifically includes: Obtaining the lateral acceleration, longitudinal acceleration, lateral displacement and longitudinal displacement corresponding to each group of data in the training data within a second preset time; Constructing first training data according to the training data and the lateral displacement amount and the longitudinal displacement amount corresponding to each group of data within the second preset time; Constructing first model training data according to the statistical parameters of the training data of the type of sequence data and the lateral acceleration and longitudinal acceleration corresponding to each group of statistical parameters within the second preset time, and constructing second model training data according to the statistical parameters of the training data of the type of categorical variables and numerical variables, and the lateral displacement and longitudinal displacement corresponding to the second preset time; The second training data is constructed according to the first model training data and the second model training data.

7. The method for predicting the occupant's departure amount according to claim 6, characterized in that: The step of training the first prediction model and the second prediction model according to the first training data and the second training data to obtain the trained first prediction model and the trained second prediction model specifically includes: Training the first prediction model according to the first training data to obtain a trained first prediction model; training the acceleration prediction model in the second prediction model according to the first model training data, and training the displacement prediction model in the second prediction model according to the second model training data to obtain a trained acceleration prediction model and a trained displacement prediction model; A trained second prediction model is obtained according to the trained acceleration prediction model and the trained displacement prediction model.

8. The method for predicting the occupant's departure amount according to claim 5, characterized in that: When the target model is the first prediction model, all normalized out-of-position parameters and each out-of-position parameter of a categorical variable type are input into the trained first prediction model to obtain the out-of-position amount corresponding to the occupant to be tested, specifically including: When the target model is the first prediction model, the normalized out-of-position parameter corresponding to the out-of-position parameter of the type of sequence data is input into the linear projection layer of the first prediction model after training, and feature dimension addition and sequence feature extraction are performed to obtain a hidden layer representation of the sequence variable; Inputting each out-of-position parameter of type categorical variable into the embedding layer of the first prediction model after training, and processing it through the first multi-layer perceptron to obtain a categorical variable hidden layer representation; Inputting the normalized out-of-place parameter corresponding to the out-of-place parameter of the type of numerical variable into the second multi-layer perceptron in the first prediction model that has been trained to obtain a hidden layer representation of the numerical variable; After feature concatenation of the sequence variable latent layer representation, the categorical variable latent layer representation and the numerical variable latent layer representation, the features are input into the decoder in the trained first prediction model to obtain the displacement amount corresponding to the occupant to be measured.

9. The method for predicting the occupant's departure amount according to claim 7, characterized in that: When the target model is the second prediction model, all normalized out-of-position parameters and each out-of-position parameter of a categorical variable type are input into the trained second prediction model to obtain the out-of-position amount corresponding to the occupant to be tested, specifically including: When the target model is the second prediction model, a normalized out-of-position parameter corresponding to the out-of-position parameter of the type of sequence data is input into the trained acceleration prediction model to obtain a predicted lateral acceleration and a predicted longitudinal acceleration; The predicted lateral acceleration, the predicted longitudinal acceleration, each out-of-position parameter of type categorical variable and the normalized out-of-position parameter corresponding to the out-of-position parameter of type numerical variable are input into the trained out-of-position prediction model to obtain the out-of-position amount corresponding to the occupant to be tested.

10. An occupant departure prediction device, characterized in that: The occupant departure amount prediction device comprises: A data acquisition module, used for acquiring statistical parameters of the occupant to be tested within a preset time, and generating a plurality of out-of-position parameters and a type of each out-of-position parameter according to each statistical parameter, wherein the type of the out-of-position parameter includes sequence data, categorical variables and numerical variables; A normalization module, used for acquiring training data, and normalizing each out-of-position parameter of the type of sequence data and numerical variable according to the training data to obtain a plurality of normalized out-of-position parameters; a result generation module, for obtaining user requirements, selecting a target model from the trained prediction models according to the user requirements, inputting all normalized out-of-position parameters and each out-of-position parameter of a categorical variable type into the target model, and obtaining the out-of-position amount of the occupant to be tested, wherein the prediction model is trained by the training data; The response module is used to upload the displacement amount to the control end of the target vehicle for response.

11. A vehicle, characterized in that: The vehicle includes: a memory, a processor, and an occupant departure amount prediction program stored in the memory and executable on the processor, wherein the occupant departure amount prediction program, when executed by the processor, implements the steps of the occupant departure amount prediction method as described in any one of claims 1 to 9.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an occupant departure amount prediction program, and when the occupant departure amount prediction program is executed by a processor, the steps of the occupant departure amount prediction method according to any one of claims 1 to 9 are implemented.

Citation Information

Cited By

  • Automobile safety control method based on front-row passenger off-position sensing

    CN119975235A