Vehicle space motion trail calculation method, device and equipment and storage medium

By installing multiple accelerometers on the car, calculating the acceleration and angular velocity of the center of mass of the car body, and drawing the three-dimensional coordinates of the vehicle, the problem of inaccurate calculation of the vehicle's spatial motion trajectory caused by the low measurement accuracy of the MEMS angular velocity sensor is solved, and the calculation accuracy is improved.

CN118673250APending Publication Date: 2024-09-20DONGFENG MOTOR CO LTD DONGFENG NISSAN PASSENGER VEHICLE CO
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410699023.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-05-31
Publication Date
2024-09-20

AI Technical Summary

Technical Problem

The measurement accuracy of MEMS angular velocity meters in existing car collision tests is low, resulting in inaccurate calculation of vehicle spatial motion trajectories.

Method used

By installing multiple three-way accelerometers on the vehicle, the acceleration signal is collected, the acceleration and angular velocity of the center of mass of the vehicle body are calculated, the rotation angle and displacement are calculated, the three-dimensional coordinates of the vehicle are drawn, and the spatial motion trajectory of the vehicle is calculated.

Benefits of technology

It improves the accuracy of vehicle spatial motion trajectory calculation and overcomes the problem of low calculation accuracy caused by inaccurate angular velocity measurement.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118673250A
    Figure CN118673250A
Patent Text Reader

Abstract

The invention discloses a vehicle space motion trail calculation method, device and equipment and a storage medium, and belongs to the technical field of vehicle path planning. Comprising the steps that the initial speed of a vehicle at the initial movement moment and acceleration data collected by multiple accelerometers in the movement process of the vehicle are obtained; calculating a target angular acceleration and a target angular velocity of the vehicle at a preset moment according to the acceleration data; calculating a rotation angle of the accelerometer based on the target angular velocity; calculating a rotation matrix through the rotation angle; calculating a displacement vector through the rotation matrix, the acceleration data and the initial speed; and calculating the space motion trail of the vehicle through the rotation angle and the displacement vector. The angular acceleration and the angular velocity are calculated by using the acceleration data acquired by the plurality of accelerometers, so that the angular velocity of the vehicle body is accurately measured, the space motion track of the vehicle is calculated according to the accurate angular acceleration and angular velocity, and the accuracy of motion track measurement in the vehicle collision process is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of vehicle path planning, and in particular to a method, device, equipment and storage medium for calculating a vehicle's spatial motion trajectory. Background Art

[0002] At present, the most widely used angular velocity measuring instrument in automobile collision tests is the MEMS angular velocity meter, which adopts a micro-gyroscope structure and its measurement principle is based on the Coriolis force effect. In the MEMS angular velocity meter, the micro-gyroscope is designed as a tiny mass block, which usually rotates along one or more axes. When an object rotates around an axis at a certain angular velocity, the tiny mass block in the micro-gyroscope will be affected by the Coriolis force and produce tiny vibrations. These tiny vibrations will cause relative displacement or deformation of the micro-gyroscope structure, which can be measured. The deformation or displacement of the micro-gyroscope structure is measured and converted into an electrical signal to obtain the angular velocity value. The accuracy of the angular velocity has a certain influence on the result, resulting in inaccurate calculation of the spatial motion trajectory of the vehicle. Summary of the invention

[0003] The main purpose of this application is to provide a method, device, equipment and storage medium for calculating the spatial motion trajectory of a vehicle, aiming to solve the technical problem that the calculation of the spatial motion trajectory of the vehicle is not accurate enough.

[0004] To achieve the above objectives, the present application proposes a method for calculating a vehicle spatial motion trajectory, the method comprising:

[0005] Obtaining the initial velocity and initial angular velocity of the vehicle at the initial moment of movement and acceleration data collected by multiple accelerometers of the vehicle during movement;

[0006] Calculating a target angular acceleration and a target angular velocity of the vehicle at a preset time according to the acceleration data and the initial angular velocity;

[0007] calculating a rotation angle of the accelerometer based on the target angular velocity;

[0008] Calculate a rotation matrix using the rotation angle;

[0009] Calculating a displacement vector using the rotation matrix, the acceleration data and the initial velocity;

[0010] The spatial motion trajectory of the vehicle is calculated using the rotation angle and the displacement vector.

[0011] In one embodiment, the step of calculating the target angular acceleration and target angular velocity of the vehicle at a preset time according to the acceleration data and the initial angular velocity comprises:

[0012] Obtaining the spacing between the plurality of accelerometers;

[0013] Calculating the acceleration differences between the accelerometers in three axes using the acceleration data;

[0014] The target angular acceleration and target angular velocity of the vehicle at a preset time are calculated according to the initial angular velocity, the distance and the acceleration difference.

[0015] In one embodiment, the step of calculating the target angular acceleration and target angular velocity of the vehicle at a preset time by using the initial angular velocity, the distance and the acceleration difference comprises:

[0016] Calculating the initial angular acceleration of the vehicle at an initial moment by using the distance and the acceleration difference;

[0017] Obtaining an initial horizontal axis angular acceleration, an initial longitudinal axis angular acceleration and an initial vertical axis angular acceleration through the initial angular acceleration;

[0018] The horizontal axis spacing, the longitudinal axis spacing and the vertical axis spacing are obtained by the spacing;

[0019] Obtaining an initial horizontal axis angular velocity, an initial longitudinal axis angular velocity and an initial vertical axis angular velocity through the initial angular velocity;

[0020] Calculating a time interval according to the initial time and the preset time;

[0021] According to the time interval, the initial horizontal axis angular acceleration, the initial longitudinal axis angular acceleration, the initial vertical axis angular acceleration, the horizontal axis spacing, the longitudinal axis spacing and the vertical axis spacing, the initial horizontal axis angular velocity, the initial longitudinal axis angular velocity and the initial vertical axis angular velocity, the target horizontal axis angular acceleration, the target longitudinal axis angular acceleration and the target horizontal axis angular velocity, the target longitudinal axis angular velocity and the target vertical axis angular velocity of the vehicle at a preset time are calculated.

[0022] In one embodiment, the step of calculating the rotation matrix using the rotation angle comprises:

[0023] Calculate the rotation axis and the equivalent rotation angle through the rotation angle;

[0024] A rotation matrix is ​​obtained by using the rotation axis and the equivalent rotation angle.

[0025] In one embodiment, the step of calculating the displacement vector using the rotation matrix, the acceleration data and the initial velocity comprises:

[0026] Calculating a time interval according to the initial time and the preset time;

[0027] Calculating the acceleration vector at a preset time using the rotation matrix and the acceleration data;

[0028] Integrating the acceleration vector to obtain a velocity increment vector;

[0029] Obtaining a target speed of the vehicle at a preset time by calculating the initial speed and the speed increment vector;

[0030] A displacement vector is calculated by using the target velocity, the initial velocity and the time interval.

[0031] In one embodiment, the step of calculating the spatial motion trajectory of the vehicle by using the rotation angle and the displacement vector comprises:

[0032] Obtaining an initial position of the vehicle;

[0033] Calculate the target position of the vehicle at a preset time by using the rotation angle, the displacement vector and the initial position to obtain the spatial position of the vehicle at the preset time;

[0034] The spatial motion trajectory of the vehicle is obtained through the spatial position.

[0035] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle spatial motion trajectory calculation device, the vehicle spatial motion trajectory calculation device comprising:

[0036] An acquisition module is used to acquire the initial velocity and initial angular velocity of the vehicle at the initial moment of movement and acceleration data collected by multiple accelerometers of the vehicle during the movement;

[0037] a calculation module, configured to calculate a target angular acceleration and a target angular velocity of the vehicle at a preset time according to the acceleration data and the initial angular velocity;

[0038] The calculation module is further used to calculate the rotation angle of the accelerometer based on the target angular velocity;

[0039] The calculation module is further used to calculate the rotation matrix according to the rotation angle;

[0040] The calculation module is further used to calculate a displacement vector through the rotation matrix, the acceleration data and the initial velocity;

[0041] The calculation module is further used to calculate the spatial motion trajectory of the vehicle through the rotation angle and the displacement vector.

[0042] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle spatial motion trajectory calculation device, which includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, and the computer program is configured to implement the steps of the vehicle spatial motion trajectory calculation method as described above.

[0043] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the vehicle spatial motion trajectory calculation method as described above are implemented.

[0044] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the vehicle spatial motion trajectory calculation method as described above are implemented.

[0045] The present application obtains the initial velocity of the vehicle at the initial moment of movement and the acceleration data collected by multiple accelerometers during the movement of the vehicle; calculates the target angular acceleration and target angular velocity of the vehicle at a preset moment based on the acceleration data; calculates the rotation angle of the accelerometer based on the target angular velocity; calculates the rotation matrix through the rotation angle; calculates the displacement vector through the rotation matrix, acceleration data and initial velocity; and calculates the spatial motion trajectory of the vehicle through the rotation angle and displacement vector. By calculating the angular acceleration and angular velocity using the acceleration data collected by multiple accelerometers, the angular velocity of the vehicle body can be accurately measured, and the driving path of the vehicle can be predicted based on the accurate angular acceleration and angular velocity, thereby improving the accuracy of the calculation of the spatial motion trajectory of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0046] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

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

[0048] Figure 1 A schematic diagram of a flow chart provided for the first embodiment of the method for calculating the spatial motion trajectory of a vehicle of the present application;

[0049] Figure 2 This is a schematic diagram of the installation position of the accelerometer in the first embodiment of the method for calculating the spatial motion trajectory of a vehicle according to an embodiment of the present application;

[0050] Figure 3 A schematic diagram of a flow chart provided in Embodiment 2 of the method for calculating the spatial motion trajectory of a vehicle of the present application;

[0051] Figure 4 This is a schematic diagram of the distance between the main accelerometer and the auxiliary accelerometer in an embodiment of the vehicle spatial motion trajectory calculation method of the present application;

[0052] Figure 5 A schematic diagram of generating a target angular acceleration and a target angular velocity in an embodiment of a method for calculating a vehicle spatial motion trajectory according to an embodiment of the present application;

[0053] Figure 6 A schematic diagram of a flow chart provided for the third embodiment of the method for calculating the spatial motion trajectory of a vehicle of the present application;

[0054] Figure 7 This is a schematic diagram of the main accelerometer rotation process in an embodiment of the vehicle spatial motion trajectory calculation method of the present application embodiment;

[0055] Figure 8 This is a schematic diagram of the angles that the main accelerometer rotates around the rotation axis in an embodiment of the vehicle spatial motion trajectory calculation method of the present application embodiment;

[0056] Fig. 9 A schematic diagram of a flow chart provided for the fourth embodiment of the method for calculating the spatial motion trajectory of a vehicle of the present application;

[0057] Fig.10 This is a schematic diagram of vehicle motion trajectory generation in an embodiment of a vehicle spatial motion trajectory calculation method according to an embodiment of the present application;

[0058] Fig.11 This is a schematic diagram of the module structure of a vehicle spatial motion trajectory calculation device according to an embodiment of the present application;

[0059] Fig.12 Schematic diagram of the device structure of the hardware operating environment involved in the vehicle spatial motion trajectory calculation method in the embodiment of the present application.

[0060] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0061] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0062] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0063] The main solutions of the embodiments of this application are:

[0064] In this embodiment, for the convenience of description, the following description is made by taking the vehicle spatial motion trajectory identification calculation device as the execution subject.

[0065] The existing technology is to install an inertial measurement unit on the vehicle body, collect six-degree-of-freedom parameters (three-axis acceleration, three-axis angular velocity), and then use the inertial navigation algorithm to solve the movement process of the vehicle body. However, when the vehicle collides, the measurement accuracy of the angular velocity meter is low, and the instability of the angular velocity data will affect the accurate calculation of the vehicle body's motion state and the accuracy of the calculation of the vehicle's spatial motion trajectory.

[0066] The present application provides a solution, by installing multiple three-axis accelerometers at fixed positions on the vehicle, collecting acceleration signals during the collision process, obtaining acceleration data at different positions, calculating the acceleration and angular velocity (6-DOF motion parameters) of the vehicle's center of mass, and then calculating the rotation angle and displacement of the vehicle's center of mass based on the angular acceleration, thereby drawing the three-dimensional coordinates of the vehicle's center of mass at any time and obtaining the vehicle's spatial motion trajectory.

[0067] It can be seen from the above embodiments that the present application calculates the acceleration data collected by the installed accelerometer to obtain the accurate angular acceleration and angular velocity of the center of mass of the vehicle body, thereby overcoming the technical problem of low accuracy in calculating the spatial motion trajectory due to inaccurate angular velocity measurement, thereby improving the accuracy of the vehicle's spatial motion trajectory calculation.

[0068] It should be noted that the execution subject of this embodiment may be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a vehicle spatial motion trajectory calculation device, etc. The following takes the vehicle spatial motion trajectory calculation device as an example to illustrate this embodiment and the following embodiments.

[0069] Based on this, the present application embodiment provides a method for calculating the spatial motion trajectory of a vehicle, referring to Figure 1 , Figure 1 This is a flow chart of the first embodiment of the method for calculating the spatial motion trajectory of a vehicle of the present application.

[0070] In this embodiment, the vehicle spatial motion trajectory calculation method includes steps S10 to S60:

[0071] Step S10: Acquire the initial velocity and initial angular velocity of the vehicle at the initial moment of movement, and acceleration data collected by multiple accelerometers during the movement of the vehicle.

[0072] It should be noted that the present embodiment obtains angular velocity data in an indirect manner. Before calculating the spatial motion trajectory of the vehicle, multiple accelerometers may be installed at fixed positions of the vehicle. The number of accelerometers may be at least 2, for example, 2, 3 or 4, etc. This embodiment is not limited to this. This embodiment is described by taking 2 as an example. Figure 2 As shown, Figure 2 The figure is a schematic diagram of the installation position of the accelerometer. A three-axis accelerometer module (main accelerometer ①, auxiliary accelerometer ②) is installed at the tailgate lock and the right door sill of the vehicle body. The axes of the two accelerometers are parallel to the axes of the vehicle body coordinate system and do not overlap. Since the sufficient rigidity of the passenger compartment can ensure that the deformation of the vehicle is very small when it is in motion, such as in a collision, it can be assumed that the relative position between the two accelerometers remains unchanged. The main accelerometer and the auxiliary accelerometer can be used to collect data during the vehicle collision process to obtain the acceleration data of the vehicle at any time during the movement. The acceleration data may include the initial acceleration, the initial position of the accelerometer, the acceleration waveform of the vehicle body during the movement, etc., and may also include other data.

[0073] The initial speed of the vehicle at the initial moment of movement can be detected by a speed sensor, and the initial angular velocity of the vehicle at the initial moment of movement is set to 0. The movement state of the vehicle may include collision, stop or other states.

[0074] Step S20: Calculating a target angular acceleration and a target angular velocity of the vehicle at a preset time according to the acceleration data and the initial angular velocity.

[0075] It can be understood that since the measurement values ​​of each accelerometer are equal when the vehicle body is moving horizontally, when the vehicle body collides, it indicates that the vehicle body is rotating or has a tendency to rotate, and there are differences between the measurement values ​​of each accelerometer. Therefore, the angular acceleration of the vehicle body at a preset moment can be calculated through the difference in the measurement values ​​of each accelerometer, and then the angular velocity, that is, the target angular acceleration and target angular velocity, can be obtained by integration.

[0076] Step S30: Calculating the rotation angle of the accelerometer based on the target angular velocity.

[0077] It should be understood that the rotation angle of the accelerometer can be calculated based on the target angular velocity. The initial angular velocity of the vehicle at the initial time t0 can be obtained. The angular velocity of the vehicle at the initial time t0 is assumed to be 0. The rotation angle of the accelerometer can be calculated by the target angular velocity at the preset time t1 and the initial angular velocity. If there are two accelerometers, the rotation angle is calculated as follows:

[0078]

[0079] In the above formula 1, the rotation angle θ[θx ,θ y ,θ z ], are the angles of the main accelerometer around the three axes, [ω x ,ω y ,ω z ] is the target angular velocity at the preset time t1, [ω' x ,ω' y ,ω' z ] is the angular velocity at time t0, that is, the initial angular velocity.

[0080] Step S40: Calculate a rotation matrix using the rotation angle.

[0081] It should be noted that the rotation matrix can be obtained by calculating the rotation angle, for example, by using the Rodriguez formula to calculate the rotation matrix.

[0082] Step S50: Calculate a displacement vector using the rotation matrix, the acceleration data and the initial velocity.

[0083] In a specific implementation, the displacement vector can be calculated by the rotation matrix, acceleration data and initial velocity. The displacement vector is the relative displacement of the center of mass of the vehicle body within a preset time.

[0084] Step S60: Calculating the spatial motion trajectory of the vehicle using the rotation angle and the displacement vector.

[0085] It should be noted that the spatial position and posture of the vehicle at a preset time can be solved by the rotation angle and displacement vector, so as to calculate the spatial motion trajectory of the vehicle. By continuously summarizing the spatial position, the spatial motion trajectory of the vehicle can be obtained, thereby improving the accuracy of the spatial motion trajectory calculation.

[0086] In some embodiments, step S60 may include steps A61 to A63:

[0087] Step A61: Obtaining the initial position of the vehicle;

[0088] It can be understood that the initial position of the vehicle can be the initial position of the accelerometer center of mass measured by the accelerometer, and the initial position of the accelerometer center of mass can be the position of the vehicle at the initial movement, or the position at the previous moment before the current moment.

[0089] Step A62: Calculate the target position of the vehicle at a preset time by using the rotation angle, the displacement vector and the initial position to obtain the spatial position of the vehicle at the preset time.

[0090] In a specific implementation, the target position of the vehicle at the next moment can be continuously calculated through the rotation angle, displacement vector and initial position, so as to solve the target position of all subsequent moments and obtain the spatial position of the vehicle at any moment.

[0091] Step A63: Obtain the spatial motion trajectory of the vehicle through the spatial position.

[0092] In a specific implementation, the spatial motion trajectory of the vehicle can be obtained by summarizing the spatial positions.

[0093] Specifically, the step of obtaining the spatial motion trajectory of the vehicle through the spatial position includes: obtaining the spatial motion curve of the vehicle according to the spatial position; and obtaining the spatial motion trajectory of the vehicle through the spatial motion curve.

[0094] It is understandable that the global coordinate system can be obtained by performing coordinate transformation on the displacement vector and establishing a coordinate system according to the initial position, so that the spatial position coordinates of the accelerometer at all times can be calculated by the initial coordinates and the displacement vector after coordinate transformation.

[0095] The spatial motion curve of the vehicle is obtained through the spatial position coordinates, thereby obtaining the spatial motion trajectory of the vehicle.

[0096] This embodiment obtains the initial velocity and initial angular velocity of the vehicle at the initial moment of movement, as well as the acceleration data collected by multiple accelerometers during the movement of the vehicle; calculates the target angular acceleration and target angular velocity of the vehicle at a preset moment based on the acceleration data and the initial angular velocity; calculates the rotation angle of the accelerometer based on the target angular velocity; calculates the rotation matrix through the rotation angle; calculates the displacement vector through the rotation matrix, the acceleration data and the initial velocity; and calculates the spatial motion trajectory of the vehicle through the rotation angle and the displacement vector. By calculating the angular acceleration and angular velocity using the acceleration data collected by multiple accelerometers, the angular velocity of the vehicle body can be accurately measured, and the driving path of the vehicle can be predicted based on the accurate angular acceleration and angular velocity, thereby improving the accuracy of the calculation of the spatial motion trajectory of the vehicle.

[0097] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 3 , step S20 specifically includes steps S201 to S204:

[0098] Step S201: Obtain the distances between the multiple accelerometers.

[0099] It should be noted that the distances between multiple accelerometers may be collected, including the spacings between the accelerometers on the horizontal axis, the longitudinal axis, and the vertical axis.

[0100] If the number of accelerometers is 2, such as Figure 4 As shown, Figure 4 Schematic diagram of the distance between the main accelerometer and the auxiliary accelerometer, where the distance components in the three axes are denoted as l x , l y and z .

[0101] Step S202: Calculate the acceleration difference between the accelerometers using the acceleration data.

[0102] In the specific implementation, the angular acceleration is generated because the measured values ​​of the main accelerometer and the auxiliary accelerometer are not equal, corresponding to the time t0 a m ≠a s Therefore, the initial acceleration of each accelerometer can be obtained through the acceleration data. The initial acceleration of the main accelerometer is a m [a xm ,a ym ,a zm ], the initial acceleration of the auxiliary accelerometer is a s [a xs ,a ys ,a zs ].

[0103] The difference is recorded as a dif [a xdif ,a ydif ,a zdif ], the acceleration difference calculation process is as follows:

[0104]

[0105] In the above formula 2, a m [a xm ,a ym ,a zm ] is the initial acceleration of the main accelerometer, a s [a xs ,a ys ,a zs ] is the initial acceleration of the auxiliary accelerometer.

[0106] Step S203: Calculating the target angular acceleration and target angular velocity of the vehicle at a preset time by using the initial angular velocity, the distance and the acceleration difference.

[0107] It is understandable that the initial angular acceleration of the vehicle at the initial moment can be calculated by the initial angular velocity, the distance and the acceleration difference. For example, the initial angular acceleration of the vehicle at the initial moment can be obtained by calculating according to the components of the distance in each direction and the components of the acceleration difference in each direction.

[0108] In some embodiments, a dif It contains the centripetal acceleration a rotating around the X and Z axes. ωx and a ωz Similarly, a dif It contains the centripetal acceleration a rotating around the Y and Z axes. ωy and a ωz The amount of dif It contains the centripetal acceleration a rotating around the X and Y axes. ωx and a ωy The centripetal acceleration is calculated as follows:

[0109]

[0110] In the above formula 3, [a ωx ,a ωy ,a ωz ] is the centripetal acceleration, [l x ,l y ,l z ] is the component of the spacing in the X, Y, and Z directions, and the part of the difference that is actually used to generate angular acceleration [a xr ,a yr ,a zr ] can be calculated by the following formula 4:

[0111]

[0112] In the above formula 4, ω[ω x ,ω y ,ω z ] is the initial angular velocity or the angular velocity at the previous moment, and the initial angular velocity is set to 0.

[0113] Further, the step of calculating the target angular acceleration and target angular velocity of the vehicle at a preset time by using the initial angular velocity, the distance and the acceleration difference specifically includes:

[0114] Calculating the initial angular acceleration of the vehicle at an initial moment by using the distance and the acceleration difference;

[0115] Obtaining an initial horizontal axis angular acceleration, an initial longitudinal axis angular acceleration and an initial vertical axis angular acceleration through the initial angular acceleration;

[0116] The horizontal axis spacing, the longitudinal axis spacing and the vertical axis spacing are obtained by the spacing;

[0117] Obtaining an initial horizontal axis angular velocity, an initial longitudinal axis angular velocity and an initial vertical axis angular velocity through the initial angular velocity;

[0118] Calculating a time interval according to the initial time and the preset time;

[0119] According to the time interval, the initial horizontal axis angular acceleration, the initial longitudinal axis angular acceleration, the initial vertical axis angular acceleration, the horizontal axis spacing, the longitudinal axis spacing and the vertical axis spacing, the initial horizontal axis angular velocity, the initial longitudinal axis angular velocity and the initial vertical axis angular velocity, the target horizontal axis angular acceleration, the target longitudinal axis angular acceleration and the target horizontal axis angular velocity, the target longitudinal axis angular velocity and the target vertical axis angular velocity of the vehicle at a preset time are calculated.

[0120] It should be noted that solving a xr 、a yr and a zr After that, the angular acceleration of the three axes can be calculated by the distance and acceleration difference. The initial angular acceleration of the X axis is a x The calculation formula is as follows:

[0121]

[0122] In the above formula 5, a x is the initial angular acceleration of the X axis, replacing a in Formula 5 zr 、a yr , and we get the following formula 6:

[0123]

[0124] The initial angular acceleration of the X axis can be calculated by the above formula 6. In the same way, the initial angular acceleration of the Y axis and the Z axis can be calculated as shown in the following formula 7:

[0125]

[0126] Through the above equations 6 and 7, since the initial angular velocity is known, the initial angular acceleration can be calculated by the initial angular velocity and the distance.

[0127] In a specific implementation, the angular acceleration and angular velocity at the preset time are unknown and can be calculated by the initial angular acceleration and the distance. For example, the target angular acceleration and target angular velocity of the vehicle at the preset time are calculated based on the components of the distance in each direction and the components of the initial angular velocity in each direction.

[0128] It should be noted that the time interval can be calculated by the initial time and the preset time, time interval = t1-t0. The initial angular acceleration includes the angular accelerations of the three axes, so the initial horizontal axis angular acceleration a can be obtained by the initial angular acceleration. x , initial longitudinal angular acceleration a y and the initial vertical axis angular acceleration a z .

[0129] It should be noted that the spacing includes the components of the spacing in the X, Y, and Z directions [l x ,l y ,l z ] And the initial horizontal axis angular velocity, the initial longitudinal axis angular velocity and the initial vertical axis angular velocity are obtained through the initial angular velocity.

[0130] In a specific implementation, the target horizontal axis angular acceleration, target vertical axis angular acceleration, target vertical axis angular acceleration and target angular velocity of the vehicle at a preset time can be calculated through the time interval, initial horizontal axis angular acceleration, initial vertical axis angular acceleration, initial vertical axis angular acceleration, horizontal axis spacing, vertical axis spacing, vertical axis spacing, initial horizontal axis angular velocity, initial vertical axis angular velocity and initial vertical axis angular velocity. The target horizontal axis angular acceleration, target vertical axis angular acceleration, target vertical axis angular acceleration and target angular velocity of the vehicle at a preset time can be calculated. The calculation process is as follows8:

[0131]

[0132] In the above formula 8, (t1-t0) is the time interval, a x 、a y and a z is the initial horizontal axis angular acceleration, the initial longitudinal axis angular acceleration and the initial vertical axis angular acceleration, ω x ,ω y ,ω z are the initial horizontal axis angular velocity, the initial longitudinal axis angular velocity and the initial vertical axis angular velocity, respectively, a' xm 、a' ym 、a' zm is the measurement value of the main accelerometer at time t1, a' xs 、a' ys 、a' zs is the auxiliary accelerometer measurement value at time t1, l x , l y and z is the horizontal axis spacing, vertical axis spacing and vertical axis spacing, [a' x ,a' y ,a' z ] is the target horizontal axis angular acceleration, target longitudinal axis angular acceleration, target vertical axis angular acceleration, ω'[ω' x ,ω' y ,ω'z ] is the target angular velocity.

[0133] like Figure 5 As shown, Figure 5 To generate a schematic diagram of the target angular acceleration and target angular velocity, the main accelerometer measurement at time t0 is a xm 、a ym 、a zm , the auxiliary accelerometer measurement value is a xs 、a ys 、a zs , the angular acceleration at time t0 can be calculated, and the angular velocity ω[ω x ,ω y ,ω z ] It is known that the angular velocity and angular acceleration a at time t0 can be used to calculate the x 、a y 、a z and the main accelerometer measurement value a' at time t1 xm 、a' ym 、a' zm and the auxiliary accelerometer measurement value a' xs 、a' ys 、a' zs The target angular acceleration [a' at time t1 is calculated x ,a' y ,a' z ] and the target angular velocity ω'[ω' x ,ω' y ,ω' z ], and the rotation angle θ is calculated by the angular velocity at time t0 and the target angular velocity at time t1 x ,θ y ,θ z .

[0134] This embodiment obtains the spacing between the multiple accelerometers; calculates the acceleration differences between the accelerometers in three axes through the acceleration data; calculates the target angular acceleration and target angular velocity of the vehicle at a preset time through the initial angular velocity, the spacing and the acceleration difference. The target angular acceleration and target angular velocity of the vehicle at each future moment can be accurately calculated through the initial angular velocity, the spacing and the acceleration difference.

[0135] Based on the first embodiment of the present application, in the third embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 6 , step S40 specifically includes steps S401 to S402:

[0136] Step S401: Calculate the rotation axis and the equivalent rotation angle through the rotation angle.

[0137] It should be noted that the acceleration a at time t0 is m becomes the acceleration a' at time t1 m , its magnitude and direction change, the acceleration value changes from a xm 、a ym 、a zm becomes a' xm 、a' ym 、a' zm , and its direction rotates around the three coordinate axes at the same time by angle θ x ,θ y ,θ z , the process of rotating around three axes simultaneously is equivalent to the rotation angle of the rotation axis U, such as Figure 7 and Figure 8 As shown, Figure 7 Schematic diagram of the main accelerometer rotation process. Figure 8 The angle diagram of the main accelerometer around the rotation axis, the rotation axis U[u x ,u y ,u z ] is a unit vector, which can be expressed as the following formula 9:

[0138]

[0139] In the above formula 9, U is the rotation axis, θ x ,θ y ,θ z is the rotation angle.

[0140] In a specific implementation, the angle rotated around the rotation axis U is the equivalent rotation angle, which is calculated as follows:

[0141]

[0142] In the above formula 10, is the equivalent rotation angle.

[0143] Step S402: obtaining a rotation matrix through the rotation axis and the equivalent rotation angle.

[0144] It can be understood that the Rodriguez formula can be used to substitute U and Get the rotation matrix The calculation method is as follows:

[0145]

[0146] This embodiment calculates the rotation axis and the equivalent rotation angle through the rotation angle; the rotation matrix is ​​obtained through the rotation axis and the equivalent rotation angle, and the corresponding rotation matrix can be quickly calculated through the rotation angle and the equivalent rotation angle, thereby improving the efficiency and accuracy of the displacement vector calculation.

[0147] Based on the first embodiment of the present application, in the fourth embodiment of the present application, the same or similar contents as those in the first embodiment can be referred to the above description, and will not be described in detail later. Fig. 9 , step S50 specifically includes steps S501 to S505:

[0148] Step S501: Calculate the time interval according to the initial time and the preset time.

[0149] In a specific implementation, the time interval can be calculated by the initial time and the preset time, and the time interval = t1 - t0.

[0150] Step S502: Calculate the acceleration vector at a preset time using the rotation angle, the rotation matrix and the acceleration data.

[0151] In a specific implementation, the acceleration vector at a preset time can be calculated through the rotation angle, the rotation matrix and the acceleration data. The value of the acceleration vector is related to the time t and the acceleration data.

[0152] Furthermore, the step of calculating the acceleration vector through the rotation angle, the rotation matrix and the acceleration data includes: obtaining an equivalent rotation angle according to the rotation angle, and obtaining a target equivalent rotation angle at a preset time according to the equivalent rotation angle; obtaining initial acceleration data according to the acceleration data; obtaining a proportionality coefficient between the initial acceleration and the acceleration vector; and calculating the acceleration vector through the proportionality coefficient, the initial acceleration data and the rotation matrix.

[0153] It should be understood that the equivalent rotation angle can be obtained by rotating the angle Taking the acceleration in the X direction as an example, it sweeps an area on the cone surface around the rotation axis U, corresponding to the time t between t0 and t1, at this time the acceleration vector is a xt .

[0154] In a specific implementation, the target equivalent rotation angle at a preset time can be determined according to the equivalent rotation angle, and the target equivalent rotation angle is the initial acceleration vector a xm [a xm ,0,0], the process of calculating the target equivalent rotation angle is as follows:

[0155]

[0156] In the above formula 12, is the target equivalent rotation angle, t=t1-t0, is the equivalent rotation angle.

[0157] The acceleration vector is a xt With the initial acceleration vector a xm The proportionality factor is set to k x , the proportional coefficient can be set according to the requirements, the acceleration vector is a xt The calculation is as follows:

[0158]

[0159] Calculate the acceleration vector a by using equations 12 and 13 above xt As shown in formula 14:

[0160]

[0161] Substitute the target rotation axis angle To Matrix In the equation 15, we can get:

[0162]

[0163] Step S503: Integrate the acceleration vector to obtain a velocity increment vector.

[0164] In a specific implementation, the velocity increment vector can be obtained by integrating the acceleration vector, and the velocity increment vector can be obtained by integrating the acceleration vector as shown in Formula 16:

[0165]

[0166] In the above formula 16, v Δx is the velocity increment vector, and the velocity increment vector v can be calculated in the same way Δy 、v Δz , thus obtaining the velocity increment vector v Δ [v Δx ,v Δy ,v Δz ].

[0167] Step S504: Calculate the target speed of the vehicle at a preset time by using the initial speed and the speed increment vector.

[0168] It can be understood that since the initial velocity at time t0 is known, the velocity vector v[v x ,v y ,v z] and the speed increment vector to calculate the target speed of the vehicle at the preset time, which is calculated as follows:

[0169] v'=v+v Δ (Formula 17)

[0170] In the above formula (17), v' is the target speed, v is the initial speed, and v Δ is the velocity increment vector.

[0171] Step S505: Calculate a displacement vector using the target speed, the initial speed and the time interval.

[0172] It should be noted that the displacement vector S of the vehicle at a preset time can be calculated by the target speed, the initial speed and the time interval, as shown in the following formula 18:

[0173]

[0174] Through the above formula 18, the displacement vector of the vehicle at each future moment can be obtained, and the coordinate value at a preset moment can be calculated through the displacement vector, thereby obtaining the position information of the vehicle at the preset moment and realizing the calculation of the vehicle's spatial motion trajectory.

[0175] This embodiment calculates the time interval based on the initial moment and the preset moment; calculates the acceleration vector at the preset moment by using the rotation matrix and the acceleration data; integrates the acceleration vector to obtain the velocity increment data at the preset moment; calculates the target velocity of the vehicle at the preset moment by using the initial velocity and the velocity increment data; and calculates the displacement vector by using the target velocity, the initial velocity and the time interval.

[0176] In some embodiments, the spatial position and posture of the vehicle at a certain moment can be solved through the steps of coordinate transformation, three-dimensional rotation, and vector integration through the collected three-dimensional acceleration data and the converted angular velocity data and the initial velocity and initial coordinates of the vehicle. The spatial position and posture of all subsequent moments can be solved through loop iteration, and the spatial motion trajectory of the vehicle during the collision can be obtained. The relationship between the acceleration data and the angular velocity data and the relationship between the initial velocity, initial position, and displacement vector can be written to the controller, and a vehicle spatial motion trajectory calculation tool can be generated. After opening the calculation tool, the coordinate values ​​of the center of mass of multiple accelerometers, the velocity values ​​at the initial moment, and the accelerometer measurement values ​​are input, so that the vehicle's motion trajectory can be directly generated based on the collected data, such as Fig.10 As shown, Fig.10 Generate a schematic diagram for the vehicle's motion trajectory. Through the measurement values ​​collected by multiple accelerometers and vehicle-related information, the vehicle's path at different times can be quickly generated, improving the accuracy of spatial motion trajectory calculation.

[0177] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the vehicle spatial motion trajectory calculation method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.

[0178] This application also provides a vehicle spatial motion trajectory calculation device, please refer to Fig.11 , the vehicle spatial motion trajectory calculation device comprises:

[0179] The acquisition module 10 is used to acquire the initial velocity and initial angular velocity of the vehicle at the initial moment of movement and the acceleration data collected by multiple accelerometers during the movement of the vehicle.

[0180] The calculation module 20 is used to calculate the target angular acceleration and target angular velocity of the vehicle at a preset time according to the acceleration data and the initial angular velocity.

[0181] The calculation module 20 is further configured to calculate a rotation angle of the accelerometer based on the target angular velocity.

[0182] The calculation module 20 is further configured to calculate a rotation matrix according to the rotation angle.

[0183] The calculation module 20 is further used to calculate a displacement vector through the rotation matrix, the acceleration data and the initial velocity.

[0184] The calculation module 20 is further used to calculate the spatial motion trajectory of the vehicle through the rotation angle and the displacement vector.

[0185] The vehicle spatial motion trajectory calculation device provided by the present application adopts the vehicle spatial motion trajectory calculation method in the above embodiment, which can solve the technical problem that the vehicle spatial motion trajectory calculation is not accurate enough. Compared with the prior art, the beneficial effects of the vehicle spatial motion trajectory calculation device provided by the present application are the same as the beneficial effects of the vehicle spatial motion trajectory calculation method provided by the above embodiment, and other technical features in the vehicle spatial motion trajectory calculation device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0186] The present application provides a vehicle spatial motion trajectory calculation device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the vehicle spatial motion trajectory calculation method in the above-mentioned embodiment 1.

[0187] Reference below Fig.12, which shows a schematic diagram of the structure of a vehicle spatial motion trajectory calculation device suitable for implementing the embodiment of the present application. The vehicle spatial motion trajectory calculation device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Fig.12 The vehicle spatial motion trajectory calculation device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0188] like Fig.12 As shown, the vehicle space motion trajectory calculation device may include a processing device 1001 (such as a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the vehicle space motion trajectory calculation device are also stored. The processing device 1001, ROM1002 and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Typically, the following systems can be connected to the I / O interface 1006: input devices 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices 1008 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 1003 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 1009. The communication device 1009 can allow the vehicle spatial motion trajectory calculation device to communicate wirelessly or wired with other devices to exchange data. Although the figure shows a vehicle spatial motion trajectory calculation device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems may be implemented or have instead.

[0189] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0190] The vehicle spatial motion trajectory calculation device provided by the present application adopts the vehicle spatial motion trajectory calculation method in the above embodiment, which can solve the technical problem that the vehicle spatial motion trajectory calculation is not accurate enough. Compared with the prior art, the beneficial effects of the vehicle spatial motion trajectory calculation device provided by the present application are the same as the beneficial effects of the vehicle spatial motion trajectory calculation method provided by the above embodiment, and the other technical features in the vehicle spatial motion trajectory calculation device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0191] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0192] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0193] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the vehicle spatial motion trajectory calculation method in the above-mentioned embodiment.

[0194] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0195] The computer-readable storage medium may be included in the vehicle spatial motion trajectory calculation device; or may exist independently without being assembled into the vehicle spatial motion trajectory calculation device.

[0196] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the vehicle spatial motion trajectory calculation device, the vehicle spatial motion trajectory calculation device: obtains the initial velocity of the vehicle at the initial moment of collision and the acceleration data collected by multiple accelerometers of the vehicle during the collision process; calculates the target angular acceleration and target angular velocity of the vehicle at a preset moment based on the acceleration data; calculates the rotation angle of the accelerometer based on the target angular velocity; calculates the rotation matrix through the rotation angle; calculates the displacement vector through the rotation angle, the rotation matrix, the acceleration data and the initial velocity; and calculates the spatial motion trajectory of the vehicle through the rotation angle and the displacement vector.

[0197] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0198] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0199] The modules involved in the embodiments described in this application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0200] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned vehicle spatial motion trajectory calculation method, and can solve the technical problem that the vehicle spatial motion trajectory calculation is not accurate enough. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the vehicle spatial motion trajectory calculation method provided by the above-mentioned embodiment, and will not be repeated here.

[0201] The present application also provides a computer program product, including a computer program, which implements the steps of the above-mentioned vehicle spatial motion trajectory calculation method when executed by a processor.

[0202] The computer program product provided by the present application can solve the technical problem that the calculation of the vehicle spatial motion trajectory is not accurate enough. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the vehicle spatial motion trajectory calculation method provided by the above embodiment, which will not be repeated here.

[0203] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for calculating vehicle spatial motion trajectory, It is characterized in that The vehicle spatial motion trajectory calculation method comprises: Obtaining the initial velocity and initial angular velocity of the vehicle at the initial moment of movement and acceleration data collected by multiple accelerometers of the vehicle during movement; Calculating a target angular acceleration and a target angular velocity of the vehicle at a preset time according to the acceleration data and the initial angular velocity; calculating a rotation angle of the accelerometer based on the target angular velocity; Calculate a rotation matrix using the rotation angle; Calculating a displacement vector using the rotation matrix, the acceleration data and the initial velocity; The spatial motion trajectory of the vehicle is calculated using the rotation angle and the displacement vector.

2. The method according to claim 1, It is characterized in that The step of calculating the target angular acceleration and target angular velocity of the vehicle at a preset time according to the acceleration data and the initial angular velocity comprises: Obtaining the spacing between the plurality of accelerometers; Calculating the acceleration differences between the accelerometers in three axes using the acceleration data; The target angular acceleration and target angular velocity of the vehicle at a preset time are calculated according to the initial angular velocity, the distance and the acceleration difference.

3. The method according to claim 2, It is characterized in that The step of calculating the target angular acceleration and target angular velocity of the vehicle at a preset time by using the initial angular velocity, the distance and the acceleration difference comprises: Calculating the initial angular acceleration of the vehicle at an initial moment by using the distance and the acceleration difference; Obtaining an initial horizontal axis angular acceleration, an initial longitudinal axis angular acceleration and an initial vertical axis angular acceleration through the initial angular acceleration; The horizontal axis spacing, the longitudinal axis spacing and the vertical axis spacing are obtained by the spacing; Obtaining an initial horizontal axis angular velocity, an initial longitudinal axis angular velocity and an initial vertical axis angular velocity through the initial angular velocity; Calculating a time interval according to the initial time and the preset time; According to the time interval, the initial horizontal axis angular acceleration, the initial longitudinal axis angular acceleration, the initial vertical axis angular acceleration, the horizontal axis spacing, the longitudinal axis spacing, the vertical axis spacing, the initial horizontal axis angular velocity, the initial longitudinal axis angular velocity and the initial vertical axis angular velocity, the target horizontal axis angular acceleration, target longitudinal axis angular acceleration, target horizontal axis angular velocity, target vertical axis angular velocity of the vehicle at a preset time are calculated.

4. The method according to claim 1, It is characterized in that The step of calculating the rotation matrix by the rotation angle comprises: Calculate the rotation axis and the equivalent rotation angle through the rotation angle; A rotation matrix is ​​obtained by using the rotation axis and the equivalent rotation angle.

5. The method according to claim 1, It is characterized in that The step of calculating the displacement vector by using the rotation matrix, the acceleration data and the initial velocity comprises: Calculating a time interval according to the initial time and the preset time; Calculating the acceleration vector at a preset time using the rotation matrix and the acceleration data; Integrating the acceleration vector to obtain a velocity increment vector; Obtaining a target speed of the vehicle at a preset time by calculating the initial speed and the speed increment vector; A displacement vector is calculated by using the target velocity, the initial velocity and the time interval.

6. The method according to claim 1, It is characterized in that The step of calculating the spatial motion trajectory of the vehicle by using the rotation angle and the displacement vector comprises: Obtaining an initial position of the vehicle; Calculate the target position of the vehicle at a preset time by using the rotation angle, the displacement vector and the initial position to obtain the spatial position of the vehicle at the preset time; The spatial motion trajectory of the vehicle is obtained through the spatial position.

7. The method according to claim 6, It is characterized in that The step of obtaining the spatial motion trajectory of the vehicle through the spatial position comprises: Obtaining a spatial motion curve of the vehicle according to the spatial position; The spatial motion trajectory of the vehicle is obtained through the spatial motion curve.

8. A vehicle spatial motion trajectory measurement device, It is characterized in that The device comprises: An acquisition module is used to acquire the initial velocity and initial angular velocity of the vehicle at the initial moment of movement and acceleration data collected by multiple accelerometers of the vehicle during the movement; a calculation module, configured to calculate a target angular acceleration and a target angular velocity of the vehicle at a preset time according to the acceleration data and the initial angular velocity; The calculation module is further used to calculate the rotation angle of the accelerometer based on the target angular velocity; The calculation module is further used to calculate the rotation matrix according to the rotation angle; The calculation module is further used to calculate a displacement vector through the rotation matrix, the acceleration data and the initial velocity; The calculation module is further used to calculate the spatial motion trajectory of the vehicle through the rotation angle and the displacement vector.

9. A vehicle spatial motion trajectory calculation device, It is characterized in that The device comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the vehicle spatial motion trajectory calculation method according to any one of claims 1 to 7.

10. A storage medium, It is characterized in that The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the vehicle spatial motion trajectory calculation method according to any one of claims 1 to 7 are implemented.

Citation Information

Cited By

  • Method and device for measuring head motion trail of test object in automobile driving

    CN119374927A