METHOD AND APPARATUS FOR EXPORTING DRIVING PROPERTY INDEX OF AUTONOMOUS VEHICLE
Embodiments of the present disclosure disclose a method and apparatus for exporting a driving property index of an autonomous vehicle. A specific implementation of the method comprises: constructing a driving scenario of an autonomous vehicle by using a preset driving parameter; acquiring a driving state information set of the autonomous vehicle under the driving scenario; fitting a driving curve by using the driving state information set; and acquiring and exporting a driving property index of the autonomous vehicle by analyzing the driving curve. The implementation improves the accuracy of the acquired driving property index of the autonomous vehicle, controls the autonomous vehicle on the basis of the driving property index of high accuracy, and is helpful to realize safe driving of the autonomous vehicle.
This application is a continuation of the U.S. patent application Ser. No. 16/049,374, filed on Jul. 30, 2018, which claims priority to Chinese Patent Application No. 201710841981.6, filed with the State Intellectual Property Office of the People's Republic of China (SIPO) on Sep. 18, 2017. The contents of the patent applications are incorporated herein by reference in their entirety.
TECHNICAL FIELDThe present disclosure relates to the technical field of computers, specifically to the technical field of autonomous driving, and more particularly to a method and apparatus for exporting a driving property index of an autonomous vehicle.
BACKGROUNDAn autonomous vehicle is a new type of intelligent vehicle, which mainly uses a control device (i.e., a vehicle-mounted intelligent controller) to accurately control, algorithmically analyze all parts of the vehicle, and finally uses an electronic control unit (ECU) to send instructions to respectively control the different devices in the autonomous vehicle, to realize an full-automatic operation of the vehicle, and to reach the goal of autonomous driving for the vehicle.
To realize autonomous driving, the vehicle needs to acquire the driving property index of the autonomous vehicle in advance and control the autonomous vehicle on the basis of the property index of the autonomous vehicle. Currently, to realize safe driving of the autonomous vehicle, how to acquire a driving property index of high accuracy becomes an acute problem to be solved.
SUMMARYThe object of embodiments of the present disclosure is to provide an improved method and apparatus for exporting a driving property index of an autonomous vehicle to solve the technical problems mentioned in the above background section.
In a first aspect, the embodiments of the present disclosure provide a method for exporting a driving property index of an autonomous vehicle, and the method includes: constructing a driving scenario of an autonomous vehicle by using a preset driving parameter; acquiring a driving state information set of the autonomous vehicle under the driving scenario; fitting a driving curve by using the driving state information set; and acquiring and exporting the driving property index of the autonomous vehicle by analyzing the driving curve.
In some embodiments, the driving property index includes at least one of a steering driving property index, an acceleration driving property index, or a deceleration driving property index.
In some embodiments, the driving property index includes the steering driving property index, the driving scenario includes a scenario with a steering angle of the autonomous vehicle changing from a first steering angle value to a second steering angle value, and the driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset steering angle value under the driving scenario.
In some embodiments, the fitting a driving curve by using the driving state information set includes: for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a steering angle value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and fitting, through a curve fitting method, a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
In some embodiments, the driving curve includes at least one of a steering time curve, a steering angular velocity curve, or a torque curve; and the steering driving property index includes at least one of a steering response time delay, a steering duration, a steering overshoot, a steering overshoot time, an average angular velocity, a maximum angular velocity, or a maximum torque.
In some embodiments, the driving property index includes the acceleration driving property index, the driving scenario includes a scenario with an accelerator pedal opening of the autonomous vehicle changing from a first accelerator pedal opening value to a second accelerator pedal opening value, and the driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset accelerator pedal opening value under the driving scenario.
In some embodiments, the fitting a driving curve by using the driving state information set includes: for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking an accelerator pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and fitting, through a curve fitting method, a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
In some embodiments, the driving curve includes at least one of an acceleration time curve, an acceleration distance curve, a velocity curve, or an acceleration curve; and the acceleration driving property index includes at least one of an accelerator pedal response time delay, an acceleration response time delay, an acceleration duration, an average velocity, an average acceleration, a maximum velocity, or a maximum acceleration.
In some embodiments, the driving property index includes a deceleration driving property index, the driving scenario includes a scenario with a brake pedal opening of the autonomous vehicle changing from a first brake pedal opening value to a second brake pedal opening value, and the driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset brake pedal opening value under the driving scenario.
In some embodiments, the fitting a driving curve by using the driving state information set includes: for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a brake pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and fitting, through a curve fitting method, a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
In some embodiments, the driving curve includes at least one of a deceleration time curve, a deceleration distance curve, a velocity curve, or a deceleration curve; and the deceleration driving property index includes at least one of a brake pedal response time delay, a deceleration response time delay, a deceleration duration, an average velocity, an average deceleration, a maximum velocity, or a maximum deceleration.
In a second aspect, the embodiments of the present disclosure provide an apparatus for exporting a driving property index of an autonomous vehicle, and the apparatus includes: a constructing unit, for constructing a driving scenario of an autonomous vehicle by using a preset driving parameter; an acquiring unit, for acquiring a driving state information set of the autonomous vehicle under the driving scenario; a fitting unit, for fitting a driving curve by using the driving state information set; and an exporting unit, for acquiring and exporting the driving property index of the autonomous vehicle by analyzing the driving curve.
In some embodiments, the driving property index includes at least one of a steering driving property index, an acceleration driving property index, or a deceleration driving property index.
In some embodiments, the driving property index includes the steering driving property index, the driving scenario includes a scenario with a steering angle of the autonomous vehicle changing from a first steering angle value to a second steering angle value, and the driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset steering angle value under the driving scenario.
In some embodiments, the fitting unit is further configured for: for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a steering angle value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and fitting, through a curve fitting method, a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
In some embodiments, the driving curve includes at least one of a steering time curve, a steering angular velocity curve, or a torque curve; and the steering driving property index includes at least one of a steering response time delay, a steering duration, a steering overshoot, a steering overshoot time, an average angular velocity, a maximum angular velocity, or a maximum torque.
In some embodiments, the driving property index includes the acceleration driving property index, the driving scenario includes a scenario with an accelerator pedal opening of the autonomous vehicle changing from a first accelerator pedal opening value to a second accelerator pedal opening value, and the driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset accelerator pedal opening value under the driving scenario.
In some embodiments, the fitting unit is further configured for: for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking an accelerator pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and fitting, through a curve fitting method, a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
In some embodiments, the driving curve includes at least one of an acceleration time curve, an acceleration distance curve, a velocity curve, or an acceleration curve; and the acceleration driving property index includes at least one of an accelerator pedal response time delay, an acceleration response time delay, an acceleration duration, an average velocity, an average acceleration, a maximum velocity, or a maximum acceleration.
In some embodiments, the driving property index includes a deceleration driving property index, the driving scenario includes a scenario with a brake pedal opening of the autonomous vehicle changing from a first brake pedal opening value to a second brake pedal opening value, and the driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset brake pedal opening value under the driving scenario.
In some embodiments, the fitting unit is further configured for: for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a brake pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and fitting, through a curve fitting method, a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
In some embodiments, the driving curve includes at least one of a deceleration time curve, a deceleration distance curve, a velocity curve, or a deceleration curve;
and the deceleration driving property index includes at least one of a brake pedal response time delay, a deceleration response time delay, a deceleration duration, an average velocity, an average deceleration, a maximum velocity, or a maximum deceleration.
In a third aspect, the embodiments of the present application provide a server including: one or more processors, and a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method described in any implementation in the first aspect.
In a fourth aspect, the embodiments of the present disclosure provide a computer readable storage medium on which computer programs are stored, and when the computer programs are executed by the processors, the method as described in any implementation in the first aspect is implemented.
The method and apparatus for exporting a driving property index of an autonomous vehicle, provided by the embodiments of the present disclosure, first, construct a driving scenario of the autonomous vehicle by using a preset driving parameter to acquire a driving state information set of the autonomous vehicle under the driving scenario; then, fit a driving curve by using the driving state information set; and finally, analyze the driving curve to acquire and export a driving property index of the autonomous vehicle. The implementation improves the accuracy of the acquired driving property index of the autonomous vehicle, controls the autonomous vehicle on the basis of the driving property index of high accuracy, and is helpful to realize safe driving of the autonomous vehicle.
Other features, objects and advantages of the present application will become more apparent by reading a detailed description of the nonrestrictive embodiments made with reference to the following drawings:
The present disclosure will be further described below in detail in combination with the accompanying drawings and the embodiments. It should be appreciated that the specific embodiments described herein are merely used for explaining the relevant disclosure, rather than limiting the disclosure. In addition, it should be noted that, for the ease of description, only the parts related to the relevant disclosure are shown in the accompanying drawings.
It should also be noted that the embodiments in the present disclosure and the features in the embodiments may be combined with each other on a non-conflict basis. The present disclosure will be described below in detail with reference to the accompanying drawings and in combination with the embodiments.
As shown in
The server 103 may be a server that provides various services. For example, the server 103 may be a background management server of the autonomous vehicle 101, and the background management server may acquire a driving state information set of the autonomous vehicle 101 under various driving scenarios, analyze the driving state information set, and export a processing result (e.g., a traveling property index of the autonomous vehicle 101).
It should be noted that the method for exporting a driving property index of an autonomous vehicle, provided by the embodiments of the present disclosure, is generally executed by the server 103, and accordingly, the apparatus for exporting a driving property index of an autonomous vehicle is generally arranged in the server 103.
It should be appreciated that the numbers of the autonomous vehicle, the network, and the server in
Continue to refer to
Step 201, constructing a driving scenario of the autonomous vehicle by using a preset driving parameter.
In the present embodiment, an electronic device (e.g., the server 103 shown in
Step 202, acquiring a driving state information set of the autonomous vehicle under the driving scenario.
In the present embodiment, the electronic device can acquire a driving state information set of the autonomous vehicle under the driving scenario on the basis of the driving scenario constructed in step 201. Specifically, a sensor mounted on the autonomous vehicle can collect the driving state information set of the autonomous vehicle under the driving scenario and send the collected driving state information set to the electronic device. The driving state information set may include a plurality of pieces of travel state information of the autonomous vehicle under the driving scenario. As an example, the sensor of the autonomous vehicle can collect driving state information of the autonomous vehicle at intervals of a preset time interval (for example, a time interval of 1 second).
Step 203, fitting a driving curve by using the driving state information set.
In the present embodiment, the electronic device can fit a driving curve by using the driving state information set on the basis of the driving state information set acquired in step 202. Specifically, the electronic device can first set a coordinate system, for example, using one type of driving state information as the horizontal ordinate and the other type of driving state information as the vertical ordinate, then map each piece of driving state information in the driving state information set as a corresponding coordinate in the coordinate system, and finally, using a continuous curve to approximately depict or match the points indicated by the coordinates in the coordinate system. In general, the weighted sum of squares of distances from the points indicated by the coordinates corresponding to each piece of driving state information in the driving state information set to the fitted driving curve is the smallest.
In the present embodiment, for a same type of driving state information sets of a same type of autonomous vehicles, the electronic device can fit a driving curve by using the driving state information set. For a same type of driving state information sets of different types of autonomous vehicles, the electronic device can fit a plurality of driving curves by using the driving state information sets of various types of autonomous vehicles, where one driving curve corresponds to one type of autonomous vehicle.
Step 204, acquiring and exporting a driving property index of the autonomous vehicle by analyzing the driving curve.
In the present embodiment, the electronic device can analyze the driving curve to acquire and export a driving property index of the autonomous vehicle on the basis of the driving curve fitted in step 203. An identical driving curve can be used to describe a change law of driving state information of the same type of autonomous vehicles. Different driving curves can be used to describe differences between driving state information of different types of autonomous vehicles.
In the present embodiment, for the same type of autonomous vehicles, the driving property index may include certain specific driving state information of the autonomous vehicles under the driving scenario. As an example, in the case of the driving curve including a velocity-time driving curve, the electronic device can acquire at least one of the following specific driving state information from the driving curve: a time when the autonomous vehicle reaches the maximum velocity, a time when the autonomous vehicle reaches the minimum velocity, the maximum velocity of the autonomous vehicle, the minimum velocity of the autonomous vehicle, a time taken for the autonomous vehicle to reach a second velocity from a first velocity, or a distance traveled by the autonomous vehicle from the first velocity to the second velocity.
In the present embodiment, for different types of autonomous vehicles, the driving property index may include differences between the driving state information of different types of autonomous vehicles. As an example, in the case of the driving curve including a velocity-time driving curve, the electronic device can acquire at least one of the following from driving curves of different types of autonomous vehicles: a time difference when the different types of autonomous vehicles reach maximum velocities, a time difference when the different types of autonomous vehicles reach minimum velocities, a maximum velocity difference of the different types of autonomous vehicles, a minimum velocity difference of the different types of autonomous vehicles, a time difference taken by the different types of autonomous vehicles to reach a second velocity from a first velocity, or a distance difference of the different types of autonomous vehicles traveled from the first velocity to the second velocity.
In some optional implementations of the present embodiment, the driving property index may include, but not limited to, at least one of the following: a steering driving property index, an acceleration driving property index, or a deceleration driving property index. The steering driving property index may include certain specific driving state information of the autonomous vehicle under a steering driving scenario. The acceleration driving property index may include certain specific driving state information of the autonomous vehicle under an acceleration driving scenario. The deceleration driving property index may include certain specific driving state information of the autonomous vehicle under a deceleration driving scenario.
The method for exporting a driving property index of an autonomous vehicle, provided by the embodiments of the present disclosure, includes: first, constructing a driving scenario of the autonomous vehicle by using a preset driving parameter to acquire a driving state information set of the autonomous vehicle under the driving scenario; then, fitting a driving curve using the driving state information set; and finally, analyzing the driving curve to acquire and export a driving property index of the autonomous vehicle. The implementation improves the accuracy of the acquired driving property index of the autonomous vehicle, controls the autonomous vehicle on the basis of the driving property index of high accuracy, and is helpful to realize safe driving of the autonomous vehicle.
Further refer to
Step 301, constructing a driving scenario of the autonomous vehicle by using a preset driving parameter.
In the present embodiment, an electronic device (e.g., the server 103 shown in
Step 302, acquiring a driving state information set of the autonomous vehicle under the driving scenario.
In the present embodiment, the electronic device can acquire a driving state information set of the autonomous vehicle under the driving scenario on the basis of the driving scenario constructed in step 301. Specifically, a sensor mounted on the autonomous vehicle can collect the driving state information set of the autonomous vehicle under the driving scenario and send the collected driving state information set to the electronic device. The driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset steering angle value under the driving scenario. As an example, in a process of changing the steering angle of the autonomous vehicle from −470 degrees to 470 degrees, the sensor of the autonomous vehicle collects the driving state information of the autonomous vehicle once at intervals of every 5 degrees.
Step 303, for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a steering angle value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value.
In the present embodiment, on the basis of the driving state information set acquired in step 302, the electronic device can take a steering angle corresponding to each piece of driving state information in the driving state information set as a first coordinate value (e.g., a coordinate value on the horizontal ordinate) and take each piece of driving state information as a second coordinate value (e.g., a coordinate value on the vertical ordinate), thereby to generate coordinates corresponding to each piece of driving state information. As an example, the electronic device can take each steering angle as a horizontal ordinate and take a steering time, an angular velocity, a torque, or the like acquired at each steering angle as a vertical ordinate.
Step 304, fitting, through a curve fitting method, a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
In the present embodiment, on the basis of the coordinates corresponding to each piece of driving state information generated in step 303, the electronic device can use continuous curves to approximately depict or match, through a curve fitting method, the points indicated by the coordinates corresponding to each piece of driving state information. In general, the weighted sum of squares of distances from the points indicated by the coordinates corresponding to each piece of driving state information in the driving state information set to the fitted driving curve is the smallest. The driving curve may include, but not limited to, at least one of the following: a steering time curve, a steering angular velocity curve, or a torque curve. A coordinate system of the steering time curve can take a steering angle as the horizontal ordinate and a steering time as the vertical ordinate. A coordinate system of the steering angular velocity curve can take a steering angle as the horizontal ordinate and a steering angular velocity as the vertical ordinate. A coordinate system of the torque curve can take a steering angle as the horizontal ordinate and a torque as the vertical ordinate.
Step 305, acquiring and exporting a driving property index of the autonomous vehicle by analyzing the driving curve.
In the present embodiment, the electronic device can analyze the driving curve to acquire and export a driving property index of the autonomous vehicle on the basis of the driving curve fitted in step 304. The driving property index may include a steering driving property index. The steering driving property index may include, but not limited to, at least one of the following: a steering response time delay, a steering duration, a steering overshoot, a steering overshoot time, an average angular velocity, a maximum angular velocity, or a maximum torque. The steering response time delay is a time difference between a time point at which the steering angle starts to change and a time point at which a steering instruction is sent. The steering duration is a time difference between a time point at which the steering angle reaches the maximum steering angle value and a time point at which a steering instruction is sent. The steering overshoot is an angle difference between an actual maximum steering angle value and a preset maximum steering angle value. The steering overshoot time is a time difference between a steering time when the autonomous vehicle reaches the actual maximum steering angle value and a steering time when the autonomous vehicle reaches the preset maximum steering angle value. The average angular velocity is a ratio of a steering angle to a steering duration of the autonomous vehicle in the whole steering driving scenario. The maximum angular velocity is the maximum vertical ordinate value on a steering angular velocity curve. The maximum torque is the maximum vertical ordinate value on a torque curve.
Continue to refer to
It can be seen from
Further refer to
Step 501, constructing a driving scenario of the autonomous vehicle by using a preset driving parameter.
In the present embodiment, an electronic device (e.g., the server 103 shown in
Step 502, acquiring a driving state information set of the autonomous vehicle under the driving scenario.
In the present embodiment, the electronic device can acquire a driving state information set of the autonomous vehicle under the driving scenario on the basis of the driving scenario constructed in step 501. Specifically, a sensor mounted on the autonomous vehicle can collect the driving state information set of the autonomous vehicle under the driving scenario and send the collected driving state information set to the electronic device. The driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset accelerator pedal opening value under the driving scenario. As an example, in a process of changing the accelerator pedal opening of the autonomous vehicle from 15% to 85%, the sensor of the autonomous vehicle collects the driving state information of the autonomous vehicle once at intervals of every 1%.
Step 503, for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking an accelerator pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value.
In the present embodiment, on the basis of the driving state information set acquired in step 502, the electronic device can take an accelerator pedal opening value corresponding to each piece of driving state information in the driving state information set as a first coordinate value (e.g., a coordinate value on the horizontal ordinate) and take each piece of driving state information as a second coordinate value (e.g., a coordinate value on the vertical ordinate), thereby to generate coordinates corresponding to each piece of driving state information. As an example, the electronic device can take each accelerator pedal opening as the horizontal ordinate and take an acceleration time, a velocity, an acceleration, or the like acquired at each accelerator pedal opening as the vertical ordinate.
Step 504, fitting, through a curve fitting method, a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
In the present embodiment, on the basis of the coordinates corresponding to each piece of driving state information generated in step 503, the electronic device can use continuous curves to approximately depict or match, through a curve fitting method, the points indicated by the coordinates corresponding to each piece of driving state information. In general, the weighted sum of squares of distances from points indicated by coordinates corresponding to each piece of driving state information in the driving state information set to the fitted driving curve is the smallest. The driving curve may include, but not limited to, at least one of the following: an acceleration time curve, an acceleration distance curve, a velocity curve, or an acceleration curve. A coordinate system of the acceleration time curve can take an accelerator pedal opening as the horizontal ordinate and an acceleration time as the vertical ordinate. A coordinate system of the acceleration distance curve can take an accelerator pedal opening as the horizontal ordinate and an acceleration distance as the vertical ordinate. A coordinate system of the velocity curve can take an accelerator pedal opening as the horizontal ordinate and a velocity as the vertical ordinate. A coordinate system of the acceleration curve can take an accelerator pedal opening as the horizontal ordinate and an acceleration as the vertical ordinate.
Step 505, acquiring and exporting a driving property index of the autonomous vehicle by analyzing the driving curve.
In the present embodiment, the electronic device can analyze the driving curve to acquire and export a driving property index of the autonomous vehicle on the basis of the driving curve fitted in step 504. The driving property index may include an acceleration driving property index. The acceleration driving property index may include, but not limited to, at least one of the following: an accelerator pedal response time delay, an acceleration response time delay, an acceleration duration, an average velocity, an average acceleration, a maximum velocity, or a maximum acceleration. The accelerator pedal response time delay is a time difference between a time point at which the acceleration starts to change and a time point at which an acceleration instruction is sent. The acceleration response time delay is a time difference between a time point at which the velocity starts to change and a time point at which an acceleration instruction is sent. The acceleration duration is a time difference between a time point at which the acceleration reaches the maximum acceleration value and a time point at which a steering instruction is sent. The average velocity is a ratio of a velocity of the autonomous vehicle to the acceleration duration in a whole acceleration driving scenario. The average acceleration is a ratio of an acceleration of the autonomous vehicle to the acceleration duration in a whole acceleration driving scenario. The maximum velocity is the maximum vertical ordinate value on a velocity curve. The maximum acceleration is the maximum vertical ordinate value on an acceleration curve.
Continue to refer to
It can be seen from
Further referring to
Step 701, constructing a driving scenario of the autonomous vehicle by using a preset driving parameter.
In the present embodiment, an electronic device (e.g., the server 103 shown in
Step 702, acquiring a driving state information set of the autonomous vehicle under the driving scenario.
In the present embodiment, the electronic device can acquire a driving state information set of the autonomous vehicle under the driving scenario on the basis of the driving scenario constructed in step 701. Specifically, a sensor mounted on the autonomous vehicle can collect the driving state information set of the autonomous vehicle under the driving scenario and send the collected driving state information set to the electronic device. The driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset brake pedal opening value under the driving scenario. As an example, in a process of changing the brake pedal opening of the autonomous vehicle from 21% to 35%, the sensor of the autonomous vehicle collects the driving state information of the autonomous vehicle once at intervals of every 1%.
Step 703, for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a brake pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value.
In the present embodiment, on the basis of the driving state information set acquired in step 702, the electronic device can take a brake pedal opening value corresponding to each piece of driving state information in the driving state information set as a first coordinate value (e.g., a coordinate value on the horizontal ordinate) and take each piece of driving state information as a second coordinate value (e.g., a coordinate value on the vertical ordinate), thereby to generate a coordinate corresponding to each piece of driving state information. As an example, the electronic device can take each brake pedal opening as the horizontal ordinate and take a deceleration time, a velocity, a deceleration, or the like acquired at each brake pedal opening as the vertical ordinate.
Step 704, fitting, through a curve fitting method, a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
In the present embodiment, on the basis of the coordinates corresponding to each piece of driving state information generated in step 703, the electronic device can use continuous curves to approximately depict or match, through a curve fitting method, the points indicated by the coordinates corresponding to each piece of driving state information. In general, the weighted sum of squares of distances from points indicated by coordinates corresponding to each piece of driving state information in the driving state information set to the fitted driving curve is the smallest. The driving curve may include, but is not limited to, at least one of the following: a deceleration time curve, a deceleration distance curve, a velocity curve, or a deceleration curve. A coordinate system of the deceleration time curve can take a brake pedal opening as the horizontal ordinate and a deceleration time as the vertical ordinate. A coordinate system of the deceleration distance curve can take a brake pedal opening as the horizontal ordinate and a deceleration distance as the vertical ordinate. A coordinate system of the velocity curve can take a brake pedal opening as the horizontal ordinate and a velocity as the vertical ordinate. A coordinate system of the deceleration curve can take a brake pedal opening as the horizontal ordinate and a deceleration as a the vertical ordinate.
Step 705, acquiring and exporting a driving property index of the autonomous vehicle by analyzing the driving curve.
In the present embodiment, the electronic device can analyze the driving curve to acquire and export a driving property index of the autonomous vehicle on the basis of the driving curve fitted in step 704. The driving property index may include a deceleration driving property index. The deceleration driving property index may include, but not limited to, at least one of the following: a brake pedal response time delay, a deceleration response time delay, a deceleration duration, an average velocity, an average deceleration, a maximum velocity, or a maximum deceleration. The brake pedal response time delay is a time difference between a time point at which the deceleration starts to change and a time point at which a deceleration instruction is sent. The deceleration response time delay is a time difference between a time point at which the velocity starts to change and a time point at which a deceleration instruction is sent. The deceleration duration is a time difference between a time point at which the deceleration reaches the maximum deceleration value and a time point at which a deceleration instruction is sent. The average velocity is a ratio of a velocity of the autonomous vehicle to the deceleration duration in a whole deceleration driving scenario. The average deceleration is a ratio of a deceleration of the autonomous vehicle to the deceleration duration in a whole deceleration driving scenario. The maximum velocity is the maximum vertical ordinate value on a velocity curve. The maximum deceleration is the maximum vertical ordinate value on a deceleration curve.
Continue to refer to
It can be seen from
Further referring to
As shown in
In the present embodiment, the specific processing of the constructing unit 901, the acquiring unit 902, the fitting unit 903 and the exporting unit 904 in the apparatus 900 for exporting a driving property index of an autonomous vehicle and technical effects brought by them can refer to related descriptions of steps 201, 202, 203 and 204 in the corresponding embodiment in
In some optional implementations of the present embodiment, the driving property index may include, but not limited to, at least one of the following: a steering driving property index, an acceleration driving property index, or a deceleration driving property index.
In some optional implementations of the present embodiment, the driving property index may include a steering driving property index, the driving scenario may include changing a steering angle of the autonomous vehicle from a first steering angle value to a second steering angle value, and the driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset steering angle value under the driving scenario.
In some optional implementations of the present embodiment, the fitting unit 903 can be further configured for: for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a steering angle value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and fitting, through a curve fitting method, a driving curve by using the points indicated by the coordinates corresponding to each piece of driving state information in the driving state information set.
In some optional implementations of the present embodiment, the driving curve may include, but not limited to, at least one of the following: a steering time curve, a steering angular velocity curve, or a torque curve; and the steering driving property index includes at least one of the following: a steering response time delay, a steering duration, a steering overshoot, a steering overshoot time, an average angular velocity, a maximum angular velocity, or a maximum torque.
In some optional implementations of the present embodiment, the driving property index may include an acceleration driving property index, the driving scenario may include changing an accelerator pedal opening of the autonomous vehicle from a first accelerator pedal opening value to a second accelerator pedal opening value, and the driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset accelerator pedal opening value under the driving scenario.
In some optional implementations of the present embodiment, the fitting unit 903 can be further configured for: for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking an accelerator pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and fitting, through a curve fitting method, a driving curve by using the points indicated by the coordinates corresponding to each piece of driving state information in the driving state information set.
In some optional implementations of the present embodiment, the driving curve may include, but not limited to, at least one of the following: an acceleration time curve, an acceleration distance curve, a velocity curve, or an acceleration curve; and the acceleration driving property index includes at least one of the following: an accelerator pedal response time delay, an acceleration response time delay, an acceleration duration, an average velocity, an average acceleration, a maximum velocity, or a maximum acceleration.
In some optional implementations of the present embodiment, the driving property index may include a deceleration driving property index, the driving scenario may include changing a brake pedal opening of the autonomous vehicle from a first brake pedal opening value to a second brake pedal opening value, and the driving state information set includes driving state information of the autonomous vehicle collected at intervals of every preset brake pedal opening value under the driving scenario.
In some optional implementations of the present embodiment, the fitting unit 903 can be further configured for: for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a brake pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and fitting, through a curve fitting method, a driving curve by using the points indicated by the coordinates corresponding to each piece of driving state information in the driving state information set.
In some optional implementations of the present embodiment, the driving curve may include, but not limited to, at least one of the following: a deceleration time curve, a deceleration distance curve, a velocity curve, or a deceleration curve; and the deceleration driving property index includes at least one of the following: a brake pedal response time delay, a deceleration response time delay, a deceleration duration, an average velocity, an average deceleration, a maximum velocity, or a maximum deceleration.
Referring to
As shown in
The following components are connected to the I/O interface X05: an input portion 1006 including a keyboard, a mouse etc.; an export portion 1007 comprising a cathode ray tube (CRT), a liquid crystal display device (LCD), a speaker etc.; a storage portion 1008 including a hard disk and the like; and a communication portion 1009 comprising a network interface card, such as a LAN card and a modem. The communication portion 1009 performs communication processes via a network, such as the Internet. A driver 1010 is also connected to the I/O interface 1005 as required. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, and a semiconductor memory, may be installed on the driver 1010, to facilitate the retrieval of a computer program from the removable medium 1011, and the installation thereof on the storage portion 1008 as needed.
In particular, according to embodiments of the present disclosure, the process described above with reference to the flow chart may be implemented in a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which comprises a computer program that is tangibly embedded in a machine-readable medium. The computer program comprises program codes for executing the method as illustrated in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion X09, and/or may be installed from the removable media X11. The computer program, when executed by the central processing unit (CPU) X01, implements the above mentioned functionalities as defined by the methods of the present disclosure.
It should be noted that the computer readable medium in the present disclosure may be computer readable signal medium or computer readable storage medium or any combination of the above two. An example of the computer readable storage medium may include, but not limited to: electric, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, elements, or a combination any of the above. A more specific example of the computer readable storage medium may include but is not limited to: electrical connection with one or more wire, 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), a fibre, a portable compact disk read only memory (CD-ROM), an optical memory, a magnet memory or any suitable combination of the above. In the present disclosure, the computer readable storage medium may be any physical medium containing or storing programs which can be used by a command execution system, apparatus or element or incorporated thereto. In the present disclosure, the computer readable signal medium may include data signal in the base band or propagating as parts of a carrier, in which computer readable program codes are carried. The propagating signal may take various forms, including but not limited to: an electromagnetic signal, an optical signal or any suitable combination of the above. The signal medium that can be read by computer may be any computer readable medium except for the computer readable storage medium. The computer readable medium is capable of transmitting, propagating or transferring programs for use by, or used in combination with, a command execution system, apparatus or element. The program codes contained on the computer readable medium may be transmitted with any suitable medium including but not limited to: wireless, wired, optical cable, RF medium etc., or any suitable combination of the above.
The flow charts and block diagrams in the accompanying drawings illustrate architectures, functions and operations that may be implemented according to the systems, methods and computer program products of the various embodiments of the present disclosure. In this regard, each of the blocks in the flow charts or block diagrams may represent a module, a program segment, or a code portion, said module, program segment, or code portion comprising one or more executable instructions for implementing specified logic functions. It should also be noted that, in some alternative implementations, the functions denoted by the blocks may occur in a sequence different from the sequences shown in the figures. For example, any two blocks presented in succession may be executed, substantially in parallel, or they may sometimes be in a reverse sequence, depending on the function involved. It should also be noted that each block in the block diagrams and/or flow charts as well as a combination of blocks may be implemented using a dedicated hardware-based system executing specified functions or operations, or by a combination of a dedicated hardware and computer instructions.
The units or modules involved in the embodiments of the present disclosure may be implemented by means of software or hardware. The described units or modules may also be provided in a processor, for example, described as: a processor, comprising a constructing unit, an acquiring unit, a fitting unit and an exporting unit, where the names of these units or modules do not in some cases constitute a limitation to such units or modules themselves. For example, the constructing unit may also be described as “a unit for constructing a driving scenario of the autonomous vehicle by using a preset parameter.”
In another aspect, the present disclosure further provides a computer-readable storage medium. The computer-readable storage medium may be the computer storage medium included in the apparatus in the above described embodiments, or a stand-alone computer-readable storage medium not assembled into the apparatus. The computer-readable storage medium stores one or more programs. The one or more programs, when executed by a device, cause the device to: construct a driving scenario of the autonomous vehicle by using a preset driving parameter; acquire a driving state information set of the autonomous vehicle under the driving scenario; fit a driving curve by using the driving state information set; and acquire and exporting the driving property index of the autonomous vehicle by analyzing the driving curve.
The above description only provides an explanation of the preferred embodiments of the present disclosure and the technical principles used. It should be appreciated by those skilled in the art that the inventive scope of the present disclosure is not limited to the technical solutions formed by the particular combinations of the above-described technical features. The inventive scope should also cover other technical solutions formed by any combinations of the above-described technical features or equivalent features thereof without departing from the concept of the disclosure. Technical schemes formed by the above-described features being interchanged with, but not limited to, technical features with similar functions disclosed in the present disclosure are examples.
Claims
1. A computer-implemented method for exporting a driving property index of an autonomous vehicle, the method comprising:
- constructing a driving scenario of the autonomous vehicle by using a preset driving parameter;
- acquiring a driving state information set of the autonomous vehicle under the constructed driving scenario, wherein the driving state information set comprises driving state information of the autonomous vehicle under the constructed driving scenario collected by sensors;
- fitting, through a curve fitting method, a mathematical curve used as a driving curve by using the acquired driving state information set of the autonomous vehicle under the constructed driving scenario; and
- analyzing the fitted mathematical curve, to acquire the driving property index of the autonomous vehicle from the fitted mathematical curve, and exporting the acquired driving property index of the autonomous vehicle.
2. The method according to claim 1, wherein the fitting a mathematical curve used as a driving curve by using the acquired driving state information set of the autonomous vehicle under the constructed driving scenario, comprising:
- mapping each piece of the driving state information in the acquired driving state information set as a coordinate in a coordinate system, to obtain coordinates in the coordinate system; and
- fitting, by using a continuous curve, points indicated by the obtained coordinates in the coordinate system, to obtain the fitted driving curve, wherein the weighted sum of squares of distances from the points indicated by the obtained coordinates to the fitted driving curve is minimized.
3. The method according to claim 1, wherein the driving property index comprises at least one of a steering driving property index, an acceleration driving property index, or a deceleration driving property index.
4. The method according to claim 3, wherein the driving property index comprises the steering driving property index, the driving scenario comprises a scenario with a steering angle of the autonomous vehicle changing from a first steering angle value to a second steering angle value, and the driving state information set comprises driving state information of the autonomous vehicle collected at intervals of every preset steering angle value under the driving scenario.
5. The method according to claim 4, wherein the fitting a driving curve by using the driving state information set comprises:
- for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a steering angle value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and
- fitting a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
6. The method according to claim 5, wherein the driving curve comprises at least one of a steering time curve, a steering angular velocity curve, or a torque curve; and the steering driving property index comprises at least one of a steering response time delay, a steering duration, a steering overshoot, a steering overshoot time, an average angular velocity, a maximum angular velocity, or a maximum torque.
7. The method according to claim 3, wherein the driving property index comprises the acceleration driving property index, the driving scenario comprises a scenario with an accelerator pedal opening of the autonomous vehicle changing from a first accelerator pedal opening value to a second accelerator pedal opening value, and the driving state information set comprises driving state information of the autonomous vehicle collected at intervals of every preset accelerator pedal opening value under the driving scenario.
8. The method according to claim 7, wherein the fitting a driving curve by using the driving state information set comprises:
- for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking an accelerator pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and
- fitting a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
9. The method according to claim 8, wherein the driving curve comprises at least one of an acceleration time curve, an acceleration distance curve, a velocity curve, or an acceleration curve; and the acceleration driving property index comprises at least one of an accelerator pedal response time delay, an acceleration response time delay, an acceleration duration, an average velocity, an average acceleration, a maximum velocity, or a maximum acceleration.
10. The method according to claim 3, wherein the driving property index comprises the deceleration driving property index, the driving scenario comprises a scenario with a brake pedal opening of the autonomous vehicle changing from a first brake pedal opening value to a second brake pedal opening value, and the driving state information set comprises driving state information of the autonomous vehicle collected at intervals of every preset brake pedal opening value under the driving scenario.
11. The method according to claim 10, wherein the fitting a driving curve by using the driving state information set comprises:
- for each piece of driving state information in the driving state information set, generating a coordinate corresponding to the driving state information by taking a brake pedal opening value corresponding to the driving state information as a first coordinate value and taking the driving state information as a second coordinate value; and
- fitting a driving curve by using points indicated by coordinates corresponding to each piece of driving state information in the driving state information set.
12. The method according to claim 11, wherein the driving curve comprises at least one of a deceleration time curve, a deceleration distance curve, a velocity curve, or a deceleration curve; and the deceleration driving property index comprises at least one of a brake pedal response time delay, a deceleration response time delay, a deceleration duration, an average velocity, an average deceleration, a maximum velocity, or a maximum deceleration.
13. The method according to claim 1, wherein the driving state information set comprises driving state information of the autonomous vehicle under the constructed driving scenario collected by sensors installed on the autonomous vehicle.
14. An apparatus for exporting a driving property index of an autonomous vehicle, the apparatus comprising:
- at least one processor; and
- a memory storing instructions, the instructions when executed by the at least one processor, cause the at least one processor to perform operations, the operations comprising:
- constructing a driving scenario of the autonomous vehicle by using a preset driving parameter;
- acquiring a driving state information set of the autonomous vehicle under the constructed driving scenario, wherein the driving state information set comprises driving state information of the autonomous vehicle under the constructed driving scenario collected by sensors;
- fitting, through a curve fitting method, a mathematical curve used as a driving curve by using the acquired driving state information set of the autonomous vehicle under the constructed driving scenario; and
- analyzing the fitted mathematical curve, to acquire the driving property index of the autonomous vehicle from the fitted mathematical curve, and exporting the acquired driving property index of the autonomous vehicle.
15. A non-transitory computer readable storage medium storing a computer program, wherein the computer program, when executed by a processor, cause the processor to perform operations, the operation comprising:
- constructing a driving scenario of the autonomous vehicle by using a preset driving parameter;
- acquiring a driving state information set of the autonomous vehicle under the constructed driving scenario, wherein the driving state information set comprises driving state information of the autonomous vehicle under the constructed driving scenario collected by sensors;
- fitting, through a curve fitting method, a mathematical curve used as a driving curve by using the acquired driving state information set of the autonomous vehicle under the constructed driving scenario; and
- analyzing the fitted mathematical curve, to acquire the driving property index of the autonomous vehicle from the fitted driving curve, and exporting the acquired driving property index of the autonomous vehicle.
Type: Application
Filed: Jun 3, 2021
Publication Date: Sep 23, 2021
Inventors: Mingqin Gu (Beijing), Zhixin Zhang (Beijing), Wenda Zeng (Beijing)
Application Number: 17/338,366