WO2021135788A1 - Brake table updating method and apparatus, computer device and storage medium - Google Patents

Brake table updating method and apparatus, computer device and storage medium Download PDF

Info

Publication number
WO2021135788A1
WO2021135788A1 PCT/CN2020/133099 CN2020133099W WO2021135788A1 WO 2021135788 A1 WO2021135788 A1 WO 2021135788A1 CN 2020133099 W CN2020133099 W CN 2020133099W WO 2021135788 A1 WO2021135788 A1 WO 2021135788A1
Authority
WO
WIPO (PCT)
Prior art keywords
braking
acceleration
brake
actual
actual braking
Prior art date
Application number
PCT/CN2020/133099
Other languages
French (fr)
Chinese (zh)
Inventor
刘志龙
钟华
王一炜
韩旭
Original Assignee
广州文远知行科技有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 广州文远知行科技有限公司 filed Critical 广州文远知行科技有限公司
Publication of WO2021135788A1 publication Critical patent/WO2021135788A1/en

Links

Images

Classifications

    • BPERFORMING OPERATIONS; TRANSPORTING
    • B60VEHICLES IN GENERAL
    • B60TVEHICLE BRAKE CONTROL SYSTEMS OR PARTS THEREOF; BRAKE CONTROL SYSTEMS OR PARTS THEREOF, IN GENERAL; ARRANGEMENT OF BRAKING ELEMENTS ON VEHICLES IN GENERAL; PORTABLE DEVICES FOR PREVENTING UNWANTED MOVEMENT OF VEHICLES; VEHICLE MODIFICATIONS TO FACILITATE COOLING OF BRAKES
    • B60T17/00Component parts, details, or accessories of power brake systems not covered by groups B60T8/00, B60T13/00 or B60T15/00, or presenting other characteristic features
    • BPERFORMING OPERATIONS; TRANSPORTING
    • B62LAND VEHICLES FOR TRAVELLING OTHERWISE THAN ON RAILS
    • B62DMOTOR VEHICLES; TRAILERS
    • B62D65/00Designing, manufacturing, e.g. assembling, facilitating disassembly, or structurally modifying motor vehicles or trailers, not otherwise provided for

Definitions

  • This application relates to the technical field of automatic driving, for example, to a method, device, computer equipment, and storage medium for updating a brake meter.
  • a brake table When a vehicle is driving automatically, a brake table is usually configured. When a brake command is received, the brake table is used to adjust the brake pedal to achieve braking.
  • the present application provides a method, device, computer equipment, and storage medium for updating a brake table, so as to solve the problem that the process of manually generating a brake table is relatively cumbersome, not only high in cost, but also slower updating of the brake table.
  • an embodiment of the present application provides a method for updating a brake meter, including:
  • an embodiment of the present application also provides a method for updating a brake meter, including:
  • the braking table is updated by using the actual progress value and the actual braking acceleration as actual braking parameters.
  • an embodiment of the present application also provides a device for updating a brake meter, including:
  • the actual braking parameter collection module is used to collect the actual braking parameters of the brake pedal when the vehicle is braking;
  • the actual braking parameter grouping module is used to divide the actual braking parameters into multiple groups according to preset dimensions
  • a reference braking parameter calculation module configured to calculate a reference braking parameter according to the actual braking parameter in the group
  • the brake table update module is used to update the reference brake parameters to the brake table.
  • an embodiment of the present application also provides a device for updating a brake meter, including:
  • the braking command receiving module is used to receive a braking command, and the braking command has a command acceleration;
  • the reference process value search module is configured to search for the reference process value corresponding to the commanded acceleration from a preset brake table in response to the brake command;
  • the brake module is used to brake the brake pedal according to the reference process value
  • the actual braking parameter determination module is used to determine the actual braking acceleration and the actual progress value that the brake pedal bears;
  • the braking table update module is used to update the braking table using the actual progress value and the actual braking acceleration as actual braking parameters.
  • an embodiment of the present application also provides a computer device, and the computer device includes:
  • One or more processors are One or more processors;
  • Memory used to store one or more programs
  • the one or more processors When the one or more programs are executed by the one or more processors, the one or more processors implement the method for updating the brake table as described in any one of the first aspect and the second aspect.
  • the embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored.
  • the computer program can realize the method described in any one of the first and second aspects. How to update the brake table.
  • the actual braking parameters of the brake pedal when the vehicle is braking are collected, the actual braking parameters are divided into multiple groups according to preset dimensions, and the reference braking parameters are calculated according to the actual braking parameters in the groups, and the The reference brake parameters are updated to the brake table, and the actual brake parameters during braking are collected by the vehicle, and the server is provided to analyze and update the brake table, which realizes the framework of automatically updating the brake table, reducing or eliminating the need for technicians to manually update the system.
  • the brake table is updated by different dimensions to ensure the accuracy of the brake table, which can greatly reduce the cost, and the frequency of updating the brake table can be increased to ensure the safety of automatic driving.
  • FIG. 1 is a flowchart of a method for updating a brake table provided by Embodiment 1 of the application;
  • FIG. 2 is a model diagram of acceleration provided in Embodiment 1 of the application.
  • Figure 3 is a schematic diagram of the framework for updating the brake table in this application.
  • FIG. 4 is a flowchart of a method for updating a brake table provided in the second embodiment of the present application.
  • FIG. 5 is a flowchart of a method for updating a brake table provided in the third embodiment of the present application.
  • FIG. 6A is a schematic diagram of monotonicity provided in the second embodiment of the present application.
  • FIG. 6B is another schematic diagram of monotonicity provided in the second embodiment of the present application.
  • FIG. 7 is a schematic structural diagram of a device for updating a brake meter provided in the fourth embodiment of the application.
  • FIG. 8 is a schematic structural diagram of a device for updating a brake meter provided in the fifth embodiment of the application.
  • FIG. 9 is a schematic structural diagram of a computer device provided in Embodiment 6 of this application.
  • Figure 1 is a flow chart of a method for updating a brake meter provided in the first embodiment of the application.
  • This embodiment can be applied to a situation where the vehicle automatically collects data and uploads the server to the server, and the server automatically updates the brake meter.
  • the device for updating the brake table can be implemented by the device for updating the brake table.
  • the device for updating the brake table can be implemented by software and/or hardware, and can be configured in a computer device, which can be configured in a vehicle, such as ADAS (Advanced Driving Assistant System). Specifically include the following steps:
  • a ROS message is published in the gibraltar code base through a control program (Control).
  • Control a control program
  • the ROS message contains the following data and is published at a fixed frequency:
  • AUTO mode Automatic driving mode
  • the speed is greater than a preset threshold, such as 2 meters per second.
  • the automatic driving mode is a mode in which the vehicle itself has environmental awareness, path planning, and autonomously realizes vehicle control, that is, uses electronic technology to control the vehicle for human-like driving.
  • the driving mode can be divided into L0 non-automation (No Automotaion), L1 driver assistance (Driver Assistance), L2 partial automation (Partial Automation), L3 conditional automation (Conditional Automation), L4 high Automation (High Automation), L5 Full Automation (Full Automation).
  • the automatic driving mode in this embodiment can refer to the driving modes in L1-L5, where the system performs auxiliary functions in L1-L3, and when it reaches L4, the vehicle driving will be handed over to the system. Therefore, the automatic driving mode can be L4, Driving mode in L5.
  • the braking command includes a command acceleration, that is, an instruction to adjust the brake pedal.
  • a configuration file is stored in the vehicle, and the configuration file records the correlation between the progress value of the brake pedal and the acceleration.
  • brake pedal is the progress value of the pedal, and a is the reference braking acceleration.
  • the configuration file is a way to read the brake table in the code library.
  • the configuration file of the association relationship in Table 1 is:
  • the configuration file includes a brake table, that is, the brake table is added to the controller as the currently effective configuration file.
  • the command acceleration is used as a key word, and the process value corresponding to the command acceleration is retrieved from the association relationship between the process value of the brake pedal and the acceleration, as the reference process value.
  • the reference process value is taken as the target of braking, and the brake pedal is applied to brake to achieve braking.
  • a solenoid valve is installed on the pipeline between the fluid outlet of the foot brake master valve of the vehicle brake system and the brake, and the solenoid valve is controlled to open and close according to the reference process value to adjust the output fluid pressure. Thereby adjusting the braking force of the brake to reach the reference process value.
  • the brake pedal In addition to the force applied during braking, the brake pedal is also affected by other forces, such as gravity, the force of motion inertia, etc. At this time, the progress value and acceleration may change.
  • the acceleration actually experienced by the brake pedal can be measured as the actual braking acceleration, and the actual progress value of the brake pedal can be measured as the actual progress value.
  • acceleration sensors are installed in the vehicle, such as GPS (Global Positioning System) and IMU (Inertial measurement unit).
  • GPS Global Positioning System
  • IMU Inertial measurement unit
  • the GPS update frequency is low, but there is no error accumulation for each update. , Because each time the information does not depend on the previous value.
  • the IMU update frequency is high, but there is error accumulation in the update process, because the position information and attitude information are obtained by integration. Therefore, the two can be complementary, long-term positioning can be achieved through GPS, and IMU can be used for positioning between two GPS position updates, so as to achieve more accurate real-time positioning.
  • the acceleration output by the acceleration sensor is read to measure the total acceleration a measured the brake pedal bears.
  • the gravitational acceleration borne by the brake pedal in the braking direction is calculated. Further, the gravitational acceleration borne by the brake pedal in the braking direction refers to the component of the gravitational acceleration along the car body as the x-axis direction. At this time, the acceleration can be read
  • the so-called free acceleration that is, at a constant speed
  • the accelerator pedal that is, the accelerator pedal
  • the brake pedal are both released (zero acceleration, zero braking)
  • the vehicle can be accelerated to a certain speed
  • the accelerator pedal and the brake pedal can be released, the vehicle will slide at this speed, and the acceleration sensor readings will be recorded.
  • the free acceleration a pedal free is Raw IMU reading along the car-x axis.
  • the speed can be used as a key word, and the free acceleration associated with the speed can be retrieved in the free acceleration table.
  • the heavy acceleration g body,x and the free acceleration a pedal free can be subtracted to obtain the actual braking acceleration a pedal withstood by the brake pedal, which is:
  • a pedal a measured -a pedal free -g body,x
  • the above method of calculating the actual braking acceleration is just an example.
  • the longitudinal dynamics model of other vehicles can be set according to the actual situation, and the corresponding method of calculating the actual braking acceleration can be used. This is not restricted.
  • those skilled in the art can also use other methods of calculating the actual braking acceleration according to actual needs, and this embodiment does not impose limitations on this.
  • the actual process value and actual braking acceleration are carried as the actual braking parameters, published to the IoT (Internet of Things, Internet of Things) module, and then through the MQTT (Message Queuing Telemetry Transport) , Message queue telemetry transmission) protocol is uploaded to the server in the cloud, the server is used to update the brake table according to the actual braking parameters, and distribute the updated brake table to each vehicle.
  • IoT Internet of Things, Internet of Things
  • MQTT Message Queuing Telemetry Transport
  • the braking command is received, and the braking command contains the command acceleration.
  • the reference process value corresponding to the command acceleration is searched from a preset configuration file.
  • the configuration file includes a braking table, which is paired according to the reference process value.
  • the brake pedal is used for braking, and the actual braking acceleration and actual progress value of the brake pedal are determined, and the actual progress value and actual braking acceleration are used as the actual braking parameters to update the brake table, and the actual braking during braking is collected by the vehicle Parameters, provide the server to analyze and update the brake table, realize the framework of automatically updating the brake table, reduce or eliminate the need for technicians to manually update the brake table, in the case of more vehicles, update the brake table by distinguishing the dimensions to ensure The accuracy of the brake table can greatly reduce the cost, and the frequency of updating the brake table can be increased to ensure the safety of automatic driving.
  • Fig. 4 is a flowchart of a method for updating a brake table provided in the second embodiment of the application. This embodiment is based on the foregoing embodiment and further adds processing operations of feedback braking and replacement of configuration files. The method specifically includes the following step:
  • S405 Adjust the progress value of the brake pedal based on the acceleration error.
  • the brake pedal is braked by the feedforward control pedal feedforward (that is, the reference process value is searched from the brake table).
  • the self-tracking feedback component can be used for feedback control. pedal feedback .
  • the brake pedal is adjusted for the acceleration error a error , that is, the current progress value of the brake pedal is adjusted, so as to reduce the acceleration error a error .
  • the progress value can be applied to the brake pedal.
  • the current process value of the brake pedal can be the reference process value after the feedforward control pedal feedforward , or the process value after the one or more feedback control pedal feedback , which is not limited in this embodiment. .
  • S406 Determine the actual braking acceleration and the actual progress value that the brake pedal bears.
  • the current actual acceleration and progress value of the brake pedal can be measured as the actual braking acceleration and actual progress value.
  • the first and second configuration tables are also stored, and will not be loaded into the controller.
  • the brake table is abnormal, such as loss, operation error, etc., Replace the first or second table with the brake table as a new configuration file to ensure automatic braking.
  • the first configuration table is used to record the process value and braking acceleration configured for a certain vehicle model. This is the default configuration file and is usually used when the vehicle is reconfigured.
  • the second table is used to record the process value and braking acceleration of the current vehicle configuration by the vehicle manufacturer. It is generally generated through standard braking experiments, and is usually configured in the code base of vehicles with poor braking performance.
  • the priority of the first configuration table is higher than the priority of the second configuration table, that is, in the case of both the first configuration table and the second configuration table, the first configuration table is replaced with the brake table as the new one. If the configuration file does not have the first configuration but the second configuration, replace the second configuration with the brake table as a new configuration file.
  • Fig. 5 is a flowchart of a method for updating a brake meter provided in the third embodiment of the application. This embodiment can be applied to a situation where the actual brake parameters of the vehicle brake are collected and the brake meter of the vehicle is automatically updated.
  • the brake meter update device can be implemented by software and/or hardware, and can be configured in computer equipment, such as personal computers, servers, workstations, etc. The method specifically includes the following steps :
  • S501 Collect actual braking parameters of the brake pedal when the vehicle is braking.
  • the MQTT Broker (message forwarder) receives the ROS message sent by the IoT module in the vehicle through the MQTT protocol.
  • the ROS message carries the actual braking parameters.
  • the cloud lambda service (Lambda is a non- The server computing service, which can run code to respond to events) will be triggered, it will push the message to the Logging Service, and the Logging Service will write the ROS message to the log file.
  • the actual braking parameter can be the braking parameter of the vehicle under the action of the feedforward control pedal feedforward , or the braking parameter of the vehicle under the action of the feedback control pedal feedback , or the braking parameter of the vehicle under the action of the feedforward control.
  • Control pedal feedforward and feedback control pedal feedback under the combined effect of braking parameters this embodiment does not impose restrictions on this.
  • the actual braking parameters include the actual process value and the actual braking acceleration.
  • the actual process value and the actual braking acceleration can be the process value and the braking acceleration of the vehicle under the action of the feedforward control pedal feedforward. It can be the process value and braking acceleration of the vehicle under the action of feedback control pedal feedback , and it can also be the process value and braking acceleration of the vehicle under the combined action of feedforward control pedal feedforward and feedback control pedal feedback. This embodiment does not Be restricted.
  • the actual braking parameters are divided into multiple groups according to the preset dimensions, waiting to be analyzed, and the braking table is updated.
  • the log file is split to speed up the performance of subsequent analysis.
  • the log file can be selected according to CAR_ID (vehicle model) and DATE (time), the log file is grouped (Group), and the log file is compressed (Compress) as. Compressed files in formats such as gz are stored in the storage server S3.
  • the actual braking parameters in the first time period such as 1 month
  • the current update time are extracted, and there is a second time period between two adjacent update times ( For example, 1 week)
  • the actual braking parameters belonging to the same vehicle model are divided into the same group.
  • classification dimensions are just examples.
  • other classification dimensions can be set according to actual conditions, for example, the service life of the vehicle, the total driving distance of the vehicle, etc., which are not included in this embodiment. limit.
  • those skilled in the art can also adopt other classification dimensions according to actual needs, and this embodiment does not limit this.
  • S503 Calculate a reference braking parameter according to the actual braking parameter in the group.
  • the actual braking parameters include the actual progress value of the brake pedal during braking and the actual braking acceleration experienced by the brake pedal
  • the reference braking parameters include the reference progress value and the reference braking acceleration
  • S503 includes the following steps:
  • each container (bin) is associated with a process range, and the length of the process range is generally the same and continuous.
  • bin (bin) [0.00, 0.10] represents the process range from 0.00 to 0.10.
  • the actual process value is successively compared with the process range of each container (bin). If the actual process value is within a certain process range, the corresponding actual braking acceleration is written into the container (bin) corresponding to the process range.
  • the container meets the minimum number of data points
  • the container is determined to be valid and the data in the container is retained.
  • the container is confirmed to be invalid and the container is filtered out.
  • the braking acceleration is negative
  • the actual braking acceleration is a non-negative value, the actual braking acceleration is filtered out.
  • filtering criteria are only examples.
  • other filtering criteria can be set according to actual conditions, etc., which is not limited in this embodiment.
  • those skilled in the art can also adopt other filtering standards according to actual needs, and this embodiment does not limit this.
  • certain statistical characteristics can be used to take a value from the process range of the container as the reference process value.
  • the middle value of the process range of the container is calculated as the reference process value.
  • the reference process value of the container (bin) [0.00, 0.10] is 0.05.
  • the reference braking acceleration can be generated by referring to the actual braking acceleration in the container through certain statistical characteristics.
  • the median or average value of the actual braking acceleration in the container is calculated as the reference braking acceleration.
  • S503 further includes the following steps:
  • the reference process values are sorted in ascending order, that is, the reference process value that is sorted first is smaller, and the reference process value that is sorted later is larger.
  • the reference braking acceleration corresponding to the reference process value will also be sorted.
  • the monotonicity of the reference braking acceleration can be determined to check the validity of the reference braking acceleration.
  • the reference braking acceleration decreases monotonically, the reference braking acceleration is considered valid, otherwise, the reference braking acceleration is considered invalid.
  • acceleration difference ⁇ a is negative (that is, less than zero), it is considered to be in conformity with monotonic decline, and if the acceleration difference ⁇ a is non-negative (that is, greater than or equal to zero), it is considered not to conform to the monotonic decline.
  • the reference braking acceleration that does not conform to the monotonic decrease can be corrected.
  • the first acceleration and the second acceleration are sequentially determined from the reference braking accelerations sorted in ascending order, wherein the reference process value corresponding to the first acceleration is sorted before the reference process value corresponding to the second acceleration.
  • the reference process value corresponding to the second acceleration and the second acceleration is deleted.
  • the data points are traversed.
  • the reference braking acceleration corresponding to the reference process value P 5 is the first acceleration
  • the reference braking acceleration corresponding to the reference process value P 4 is the second acceleration.
  • a first acceleration difference by subtracting the second acceleration is greater than zero, it can be shown in Figure 6B, the process of deleting the reference value P 5 and its corresponding braking acceleration, braking to maintain the reference acceleration decreases monotonically.
  • the reference brake parameters calculated for the vehicle model are updated to the brake table corresponding to the vehicle model, and the time when the brake table is generated is recorded .
  • control program such as bash script
  • HTTP Hyper Text Transfer Protocol
  • the vehicle model associated with the brake table is determined, and the brake table is distributed to vehicles belonging to the vehicle model.
  • the actual braking parameters of the brake pedal when the vehicle is braking are collected, the actual braking parameters are divided into multiple groups according to preset dimensions, and the reference braking parameters are calculated according to the actual braking parameters in the groups, and the The reference brake parameters are updated to the brake table, and the actual brake parameters during braking are collected by the vehicle, and the server is provided to analyze and update the brake table, which realizes the framework of automatically updating the brake table, reducing or eliminating the need for technicians to manually update the system.
  • the brake table is updated by different dimensions to ensure the accuracy of the brake table, which can greatly reduce the cost, and the frequency of updating the brake table can be increased to ensure the safety of automatic driving.
  • FIG. 7 is a schematic structural diagram of a device for updating a brake meter provided in the fourth embodiment of the application.
  • the device may specifically include the following modules:
  • the actual braking parameter collection module 701 is used to collect the actual braking parameters of the brake pedal when the vehicle is braking; the actual braking parameter grouping module 702 is used to divide the actual braking parameters into multiple groups according to preset dimensions
  • the reference brake parameter calculation module 703 is used to calculate the reference brake parameters according to the actual brake parameters in the group; the brake table update module 704 is used to update the reference brake parameters to the brake table in.
  • the actual braking parameter grouping module 702 includes:
  • the actual braking parameter extraction sub-module is used to extract the actual braking parameters in the first time period before the current update time if the preset update time is reached, and there is a second time interval between two adjacent update times Segment; model division sub-module, used to divide the actual braking parameters belonging to the same vehicle model into the same group.
  • the actual braking parameter includes the actual progress value of the brake pedal during braking, the actual braking acceleration experienced by the brake pedal, and the reference braking parameter includes a reference progress value, a reference Braking acceleration.
  • the reference braking parameter calculation module 703 includes:
  • the container generation sub-module is used to generate multiple containers for each of the groups, and each of the containers is associated with the process range; the actual braking acceleration write sub-module is used to if the actual process value is within the process range The actual braking acceleration is written into the container; the reference process value setting sub-module is used to take a value in the process range of the container as the reference process value; the reference braking acceleration generation sub-module is used The reference braking acceleration is generated by referring to the actual braking acceleration in the container.
  • the reference braking parameter calculation module 703 further includes:
  • the container validity determination sub-module is used to determine that the container is valid if the actual braking acceleration amount in the container is greater than or equal to a preset threshold; the container filtering sub-module is used to determine if the actual braking acceleration in the container is If the amount of acceleration is less than a preset threshold, the container is filtered out; and/or,
  • the single acceleration valid determination sub-module is used to determine that the actual braking acceleration is valid if the actual braking acceleration is a negative value; the acceleration determination sub-module is used to determine if the actual braking acceleration is a non-negative value, Then filter out the actual braking acceleration.
  • the reference process value setting submodule includes:
  • the median setting sub-module is used to calculate the middle value of the process range of the container as a reference process value.
  • the reference braking acceleration generating submodule includes:
  • the statistical value calculation sub-module is used to calculate the median or average value of the actual braking acceleration in the container as a reference braking acceleration.
  • the reference braking parameter calculation module 703 further includes:
  • the ascending ordering sub-module is used to sort the reference process values in ascending order; the monotonicity determination sub-module is used to determine the monotonicity of the reference braking acceleration associated with the reference process values after the sorting; the overall acceleration valid determination sub-module, It is used to determine that the reference braking acceleration is valid if the monotonicity is monotonically decreasing.
  • the reference braking parameter calculation module 703 further includes:
  • the sorting acceleration determining sub-module is used to sequentially determine the first acceleration and the second acceleration from the reference braking accelerations sorted in ascending order, and the reference process value corresponding to the first acceleration is sorted before the reference process value corresponding to the second acceleration.
  • the data deletion sub-module is configured to delete the reference process value corresponding to the second acceleration and the second acceleration if the difference between the second acceleration and the third acceleration is greater than or equal to zero.
  • it further includes:
  • the brake table is distributed to the module for distributing the brake table to vehicles matching the dimension, and the vehicle is used to brake the brake pedal according to the reference brake parameter when braking.
  • distributing the brake meter to the module includes:
  • the vehicle model determination sub-module is used to determine the vehicle model associated with the brake table; the vehicle model distribution sub-module is used to distribute the brake table to vehicles belonging to the vehicle model.
  • the device for updating the brake table provided by the embodiment of the present application can execute the method for updating the brake table provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 8 is a schematic structural diagram of a device for updating a brake meter provided in the fifth embodiment of the application.
  • the device may specifically include the following modules:
  • the brake command receiving module 801 is used to receive a brake command with command acceleration; the reference process value search module 802 is used to search for the command from a preset brake table in response to the brake command The reference process value corresponding to the acceleration; the braking module 803 is used to brake the brake pedal according to the reference process value; the actual braking parameter determination module 804 is used to determine the actual braking acceleration experienced by the brake pedal , The actual process value; the brake table update module 805, used to update the brake table using the actual process value and the actual braking acceleration as actual braking parameters.
  • the braking command receiving module 801 includes:
  • the conditional receiving sub-module is used to receive the brake command issued when the following conditions are met:
  • it further includes:
  • the acceleration error calculation module is used to calculate the difference between the commanded acceleration and the total acceleration borne by the brake pedal as an acceleration error; the brake pedal adjustment module is used to adjust the brake based on the acceleration error The progress value of the pedal.
  • the actual braking parameter determination module 804 includes:
  • the total acceleration measurement sub-module is used to measure the total acceleration borne by the brake pedal; the gravitational acceleration calculation sub-module is used to calculate the gravitational acceleration borne by the brake pedal in the braking direction; the free acceleration query sub-module is used to Query the free acceleration of the brake pedal at the current speed; the acceleration difference calculation sub-module is used to subtract the heavy acceleration and the free acceleration on the basis of the total acceleration to obtain the brake The actual braking acceleration experienced by the pedal.
  • it further includes:
  • the configuration file replacement module is used to replace the preset first or second configuration table with the brake table if the brake meter is abnormal; wherein, the first configuration table is used to record the The process value and braking acceleration of a vehicle model configuration.
  • the second table is used to record the process value and braking acceleration of the current vehicle configuration by the vehicle manufacturer.
  • the priority of the first table is higher than the first configuration table. The priority of the second configuration table.
  • the device for updating the brake table provided by the embodiment of the present application can execute the method for updating the brake table provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
  • FIG. 9 is a schematic structural diagram of a computer device provided in Embodiment 6 of this application.
  • the computer device includes a processor 900, a memory 901, a communication module 902, an input device 903, and an output device 904; the number of processors 900 in the computer device can be one or more.
  • the processor 900 is taken as an example; the processor 900, the memory 901, the communication module 902, the input device 903, and the output device 904 in the computer equipment may be connected by a bus or other methods. In FIG. 9, the connection by a bus is taken as an example.
  • the memory 901 can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the method for updating the brake table in this embodiment (for example, the brake table shown in FIG. 7).
  • the processor 900 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory 901, that is, realizes the above-mentioned method for updating the brake table.
  • the memory 901 may mainly include a program storage area and a data storage area.
  • the program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of a computer device.
  • the memory 901 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices.
  • the memory 901 may further include a memory remotely provided with respect to the processor 900, and these remote memories may be connected to a computer device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
  • the communication module 902 is used to establish a connection with the display screen and realize data interaction with the display screen.
  • the input device 903 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the computer equipment, and can also be a camera for acquiring images and a pickup device for acquiring audio data.
  • composition of the input device 903 and the output device 904 can be set according to actual conditions.
  • the processor 900 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 901, that is, realizes the above-mentioned method for controlling the connection node of the electronic whiteboard.
  • the computer device provided in this embodiment can execute the method for updating the brake table provided in any embodiment of the present application, with specific corresponding functions and beneficial effects.
  • the seventh embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, a method for updating a brake table is realized.
  • the method includes:
  • the method includes:
  • the brake command has a command acceleration; in response to the brake command, look up the reference process value corresponding to the command acceleration from a preset brake table; perform the brake pedal operation according to the reference process value Braking; determining the actual braking acceleration and the actual progress value that the brake pedal bears; using the actual progress value and the actual braking acceleration as actual braking parameters to update the braking table.
  • the computer program of the computer-readable storage medium provided in the embodiment of the present application is not limited to the method operations described above, and may also perform related operations in the method for updating the brake table provided in any embodiment of the present application.
  • this application can be implemented by software and necessary general-purpose hardware, or can be implemented by hardware.
  • the technical solution of the present application can essentially be embodied in the form of a software product.
  • the computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access Random Access Memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, server, or network device, etc.) execute the various embodiments of this application Methods.
  • the units and modules included are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, each functional unit
  • the specific names are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

Landscapes

  • Engineering & Computer Science (AREA)
  • Transportation (AREA)
  • Mechanical Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Combustion & Propulsion (AREA)
  • Regulating Braking Force (AREA)

Abstract

A brake table updating method and apparatus, a computer device and a storage medium. The method comprises: collecting actual brake parameters of a brake pedal when a vehicle brakes (S501); dividing the actual brake parameters into a plurality of groups according to a preset dimension (S502); calculating reference brake parameters according to the actual brake parameters in the groups (S503); and updating the reference brake parameters to a brake table (S504). Thus, the brake table is automatically updated, the precision of the brake table is ensured, the frequency at which the brake table is updated is improved, and the safety of automatic driving is ensured.

Description

制动表的更新方法、装置、计算机设备和存储介质Method, device, computer equipment and storage medium for updating brake table
本申请要求在2019年12月31日提交中国专利局、申请号为201911418588.1的中国专利申请的优先权,该申请的全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office with application number 201911418588.1 on December 31, 2019. The entire content of this application is incorporated into this application by reference.
技术领域Technical field
本申请涉及自动驾驶的技术领域,例如涉及一种制动表的更新方法、装置、计算机设备和存储介质。This application relates to the technical field of automatic driving, for example, to a method, device, computer equipment, and storage medium for updating a brake meter.
背景技术Background technique
随着高精度传感器与深度学习的不断提高,自动驾驶技术愈发成熟,在封闭园区、点到点线路上的货物运输等应用场景,如港口集装箱运输、干线物流运输、矿区、工业区运输作业等,车辆已逐步应用自动驾驶。With the continuous improvement of high-precision sensors and deep learning, autonomous driving technology is becoming more and more mature, in closed parks, point-to-point line cargo transportation and other application scenarios, such as port container transportation, trunk logistics transportation, mining area, industrial area transportation operations And so on, vehicles have gradually applied autonomous driving.
在车辆进行自动驾驶时,通常会配置制动表(brake table),在接收到刹车指令时,使用该制动表调整制动踏板,实现刹车。When a vehicle is driving automatically, a brake table is usually configured. When a brake command is received, the brake table is used to adjust the brake pedal to achieve braking.
为了生成合理精度的制动表,通常是对车辆执行数十次标准化的制动试验,手动收集相关的数据、并进行分析,将分析的结果写入制动表中。In order to generate a brake table with reasonable accuracy, it is usually to perform dozens of standardized brake tests on the vehicle, manually collect relevant data and analyze it, and write the results of the analysis into the brake table.
随着车辆规模的增长,不同车辆存在差异,使得单一的制动表并不能匹配所有车辆,为了保证制动的精确度,针对不同车辆生成不同的制动表,并允许不同车辆使用不同制动表。As the scale of vehicles grows, there are differences between different vehicles, so that a single brake table cannot match all vehicles. In order to ensure the accuracy of braking, different brake tables are generated for different vehicles, and different vehicles are allowed to use different brakes. table.
但是,手动生成制动表的过程较为繁琐,不仅成本高,而且会导致制动表的更新较为缓慢,在车辆较多的情况下,尤为明显。However, the process of manually generating the brake table is relatively cumbersome, which is not only costly, but also slows the update of the brake table, which is especially obvious when there are more vehicles.
发明内容Summary of the invention
本申请提供一种制动表的更新方法、装置、计算机设备和存储介质,以解决手动生成制动表的过程较为繁琐,不仅成本高,而且会导致制动表的更新较为缓慢的问题。The present application provides a method, device, computer equipment, and storage medium for updating a brake table, so as to solve the problem that the process of manually generating a brake table is relatively cumbersome, not only high in cost, but also slower updating of the brake table.
第一方面,本申请实施例提供了一种制动表的更新方法,包括:In the first aspect, an embodiment of the present application provides a method for updating a brake meter, including:
采集车辆刹车时制动踏板的实际制动参数;Collect the actual braking parameters of the brake pedal when the vehicle is braking;
将所述实际制动参数按照预设的维度划分至多个分组中;Divide the actual braking parameters into multiple groups according to preset dimensions;
根据所述分组中的所述实际制动参数计算参考制动参数;Calculating a reference braking parameter according to the actual braking parameter in the group;
将所述参考制动参数更新至制动表中。Update the reference braking parameters to the braking table.
第二方面,本申请实施例还提供了一种制动表的更新方法,包括:In the second aspect, an embodiment of the present application also provides a method for updating a brake meter, including:
接收刹车命令,所述刹车命令中具有命令加速度;Receiving a braking command, where the braking command has a commanded acceleration;
响应于所述刹车命令,从预设的制动表中查找所述命令加速度对应的参考进程值;In response to the braking command, look up the reference process value corresponding to the commanded acceleration from a preset braking table;
根据所述参考进程值对制动踏板进行制动;Brake the brake pedal according to the reference process value;
确定所述制动踏板承受的实际制动加速度、实际进程值;Determine the actual braking acceleration and the actual progress value that the brake pedal is subjected to;
将所述实际进程值、所述实际制动加速度作为实际制动参数更新所述制动表。The braking table is updated by using the actual progress value and the actual braking acceleration as actual braking parameters.
第三方面,本申请实施例还提供了一种制动表的更新装置,包括:In the third aspect, an embodiment of the present application also provides a device for updating a brake meter, including:
实际制动参数采集模块,用于采集车辆刹车时制动踏板的实际制动参数;The actual braking parameter collection module is used to collect the actual braking parameters of the brake pedal when the vehicle is braking;
实际制动参数分组模块,用于将所述实际制动参数按照预设的维度划分至多个分组中;The actual braking parameter grouping module is used to divide the actual braking parameters into multiple groups according to preset dimensions;
参考制动参数计算模块,用于根据所述分组中的所述实际制动参数计算参考制动参数;A reference braking parameter calculation module, configured to calculate a reference braking parameter according to the actual braking parameter in the group;
制动表更新模块,用于将所述参考制动参数更新至制动表中。The brake table update module is used to update the reference brake parameters to the brake table.
第四方面,本申请实施例还提供了一种制动表的更新装置,包括:In a fourth aspect, an embodiment of the present application also provides a device for updating a brake meter, including:
刹车命令接收模块,用于接收刹车命令,所述刹车命令中具有命令加速度;The braking command receiving module is used to receive a braking command, and the braking command has a command acceleration;
参考进程值查找模块,用于响应于所述刹车命令,从预设的制动表中查找所述命令加速度对应的参考进程值;The reference process value search module is configured to search for the reference process value corresponding to the commanded acceleration from a preset brake table in response to the brake command;
制动模块,用于根据所述参考进程值对制动踏板进行制动;The brake module is used to brake the brake pedal according to the reference process value;
实际制动参数确定模块,用于确定所述制动踏板承受的实际制动加速度、实际进程值;The actual braking parameter determination module is used to determine the actual braking acceleration and the actual progress value that the brake pedal bears;
制动表更新模块,用于将所述实际进程值、所述实际制动加速度作为实际制动参数更新所述制动表。The braking table update module is used to update the braking table using the actual progress value and the actual braking acceleration as actual braking parameters.
第五方面,本申请实施例还提供了一种计算机设备,所述计算机设备包括:In a fifth aspect, an embodiment of the present application also provides a computer device, and the computer device includes:
一个或多个处理器;One or more processors;
存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如第一方面、第二方面中任一所述的制动表的更新方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for updating the brake table as described in any one of the first aspect and the second aspect.
第六方面,本申请实施例还提供了一种计算机可读存储介质,其上存储有 计算机程序,该计算机程序被处理器执行时实现如第一方面、第二方面中中任一所述的制动表的更新方法。In a sixth aspect, the embodiments of the present application also provide a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program can realize the method described in any one of the first and second aspects. How to update the brake table.
在本实施例中,采集车辆刹车时制动踏板的实际制动参数,将实际制动参数按照预设的维度划分至多个分组中,根据分组中的实际制动参数计算参考制动参数,将参考制动参数更新至制动表中,通过车辆采集刹车时的实际制动参数,提供服务器进行分析并更新制动表,实现了自动更新制动表的框架,减少或无需技术人员手动更新制动表,在车辆较多的情况下,区分维度更新制动表,保证了制动表的精确性,可大大降低成本,而且,可提高更新制动表的频率,保证自动驾驶的安全性。In this embodiment, the actual braking parameters of the brake pedal when the vehicle is braking are collected, the actual braking parameters are divided into multiple groups according to preset dimensions, and the reference braking parameters are calculated according to the actual braking parameters in the groups, and the The reference brake parameters are updated to the brake table, and the actual brake parameters during braking are collected by the vehicle, and the server is provided to analyze and update the brake table, which realizes the framework of automatically updating the brake table, reducing or eliminating the need for technicians to manually update the system. In the case of a large number of vehicles, the brake table is updated by different dimensions to ensure the accuracy of the brake table, which can greatly reduce the cost, and the frequency of updating the brake table can be increased to ensure the safety of automatic driving.
附图说明Description of the drawings
图1为本申请实施例一提供的一种制动表的更新方法的流程图;FIG. 1 is a flowchart of a method for updating a brake table provided by Embodiment 1 of the application;
图2为本申请实施例一提供的一种加速度的模型图;FIG. 2 is a model diagram of acceleration provided in Embodiment 1 of the application;
图3为本申请中更新制动表的框架的示意图;Figure 3 is a schematic diagram of the framework for updating the brake table in this application;
图4是本申请实施例二提供的一种制动表的更新方法的流程图;FIG. 4 is a flowchart of a method for updating a brake table provided in the second embodiment of the present application;
图5是本申请实施例三提供的一种制动表的更新方法的流程图;FIG. 5 is a flowchart of a method for updating a brake table provided in the third embodiment of the present application;
图6A是本申请实施例二提供的一种单调性的示意图;FIG. 6A is a schematic diagram of monotonicity provided in the second embodiment of the present application;
图6B是本申请实施例二提供的另一种单调性的示意图;FIG. 6B is another schematic diagram of monotonicity provided in the second embodiment of the present application;
图7为本申请实施例四提供的一种制动表的更新装置的结构示意图;FIG. 7 is a schematic structural diagram of a device for updating a brake meter provided in the fourth embodiment of the application; FIG.
图8为本申请实施例五提供的一种制动表的更新装置的结构示意图;FIG. 8 is a schematic structural diagram of a device for updating a brake meter provided in the fifth embodiment of the application; FIG.
图9为本申请实施例六提供的一种计算机设备的结构示意图。FIG. 9 is a schematic structural diagram of a computer device provided in Embodiment 6 of this application.
具体实施方式Detailed ways
下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释本申请,而非对本申请的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与本申请相关的部分而非全部结构。The application will be further described in detail below with reference to the drawings and embodiments. It can be understood that the specific embodiments described here are only used to explain the application, but not to limit the application. In addition, it should be noted that, for ease of description, the drawings only show a part of the structure related to the present application instead of all of the structure.
实施例一Example one
图1为本申请实施例一提供的一种制动表的更新方法的流程图,本实施例可适用于车辆自动采集数据上传服务器,服务器自动更新制动表的情况,该方法可以由制动表的更新装置来执行,该制动表的更新装置可以由软件和/或硬件实现,可配置在计算机设备中,该计算机设备可配置在车辆中,如ADAS(高 级辅助驾驶系统),该方法具体包括如下步骤:Figure 1 is a flow chart of a method for updating a brake meter provided in the first embodiment of the application. This embodiment can be applied to a situation where the vehicle automatically collects data and uploads the server to the server, and the server automatically updates the brake meter. The device for updating the brake table can be implemented by the device for updating the brake table. The device for updating the brake table can be implemented by software and/or hardware, and can be configured in a computer device, which can be configured in a vehicle, such as ADAS (Advanced Driving Assistant System). Specifically include the following steps:
S101、接收刹车命令。S101. Receive a brake command.
在本实施例中,如图3所示,在本地的工作站中,通过控制程序(Control)在gibraltar代码库中发布ROS消息,该ROS消息包含以下数据,并以固定频率发布:In this embodiment, as shown in Fig. 3, in the local workstation, a ROS message is published in the gibraltar code base through a control program (Control). The ROS message contains the following data and is published at a fixed frequency:
速度;刹车命令;制动踏板承受的实际制动加速度。Speed; brake command; the actual braking acceleration experienced by the brake pedal.
其中,接收在满足如下条件时发布的刹车命令:Among them, it receives the brake command issued when the following conditions are met:
自动驾驶模式(AUTO mode);速度大于预设的阈值,如2米/秒。Automatic driving mode (AUTO mode); the speed is greater than a preset threshold, such as 2 meters per second.
进一步地,自动驾驶模式是车辆本身拥有环境感知、路径规划并且自主实现车辆控制的模式,也就是用电子技术控制车辆进行的仿人驾驶。Further, the automatic driving mode is a mode in which the vehicle itself has environmental awareness, path planning, and autonomously realizes vehicle control, that is, uses electronic technology to control the vehicle for human-like driving.
根据对车辆操控任务的把握程度,驾驶模式可以分为L0非自动化(No Automotaion)、L1驾驶人辅助(Driver Assistance)、L2部分自动化(Partial Automation)、L3有条件自动化(Conditional Automation)、L4高自动化(High Automation)、L5全自动化(Full Automation)。According to the degree of grasp of vehicle control tasks, the driving mode can be divided into L0 non-automation (No Automotaion), L1 driver assistance (Driver Assistance), L2 partial automation (Partial Automation), L3 conditional automation (Conditional Automation), L4 high Automation (High Automation), L5 Full Automation (Full Automation).
本实施例中的自动驾驶模式,可以指L1-L5中的驾驶模式,其中,系统在L1-L3起辅助功能,当到达L4,车辆驾驶将交给系统,因此,自动驾驶模式可为L4、L5中的驾驶模式。The automatic driving mode in this embodiment can refer to the driving modes in L1-L5, where the system performs auxiliary functions in L1-L3, and when it reaches L4, the vehicle driving will be handed over to the system. Therefore, the automatic driving mode can be L4, Driving mode in L5.
S102、响应于所述刹车命令,从预设的制动表中查找所述命令加速度对应的参考进程值。S102. In response to the braking command, look up a reference process value corresponding to the commanded acceleration from a preset braking table.
在本实施例中,刹车命令中具有命令加速度,即指示调整制动踏板。In this embodiment, the braking command includes a command acceleration, that is, an instruction to adjust the brake pedal.
在车辆存储有配置文件,该配置文件记录制动踏板的进程值与加速度之间的关联关系。A configuration file is stored in the vehicle, and the configuration file records the correlation between the progress value of the brake pedal and the acceleration.
在一个示例中,踏板的进程值与加速度之间的关联关系如表1所示:In an example, the relationship between the progress value of the pedal and the acceleration is shown in Table 1:
表1Table 1
brake pedal[-]brake pedal[-] a[m/s2]a[m/s2]
0.000.00 0.000.00
0.050.05 -0.01-0.01
0.100.10 -0.40-0.40
0.150.15 -0.60-0.60
0.200.20 -1.00-1.00
其中,brake pedal为踏板的进程值,a为参考制动加速度。Among them, brake pedal is the progress value of the pedal, and a is the reference braking acceleration.
进一步地,配置文件是读取代码库中的制动表的一种方式,例如,表1中关联关系的配置文件为:Further, the configuration file is a way to read the brake table in the code library. For example, the configuration file of the association relationship in Table 1 is:
Figure PCTCN2020133099-appb-000001
Figure PCTCN2020133099-appb-000001
在本实施例中,配置文件包括制动表,即将制动表添加到控制器中,作为当前生效的配置文件。In this embodiment, the configuration file includes a brake table, that is, the brake table is added to the controller as the currently effective configuration file.
在配置文件(即制动表)中,以命令加速度作为关键词,在制动踏板的进程值与加速度之间的关联关系中检索到该命令加速度对应的进程值,作为参考进程值。In the configuration file (that is, the brake table), the command acceleration is used as a key word, and the process value corresponding to the command acceleration is retrieved from the association relationship between the process value of the brake pedal and the acceleration, as the reference process value.
S103、根据所述参考进程值对制动踏板进行制动。S103: Braking the brake pedal according to the reference process value.
在本实施例中,以参考进程值作为制动的目标,对制动踏板进行制动,实现刹车。In this embodiment, the reference process value is taken as the target of braking, and the brake pedal is applied to brake to achieve braking.
在一个示例中,在车辆制动系统的脚制动总阀的流体出口与制动器之间的管路上,安装有电磁阀,根据参考进程值控制电磁阀的开闭以调整输出的流体压力大小,从而调整制动器的制动力,到达该参考进程值。In an example, a solenoid valve is installed on the pipeline between the fluid outlet of the foot brake master valve of the vehicle brake system and the brake, and the solenoid valve is controlled to open and close according to the reference process value to adjust the output fluid pressure. Thereby adjusting the braking force of the brake to reach the reference process value.
S104、确定所述制动踏板承受的实际制动加速度、实际进程值。S104. Determine the actual braking acceleration and the actual progress value that the brake pedal bears.
制动踏板除了受到制动时施加的力之外,还会受到其他力的作用,如重力、运动惯性的力等等,此时,进程值与加速度均可能发生变化。In addition to the force applied during braking, the brake pedal is also affected by other forces, such as gravity, the force of motion inertia, etc. At this time, the progress value and acceleration may change.
因此,在排除其他力度因素,可测量制动踏板实际承受的加速度,作为实际制动加速度,以及,测量制动踏板实际的进程值,作为实际进程值。Therefore, after excluding other force factors, the acceleration actually experienced by the brake pedal can be measured as the actual braking acceleration, and the actual progress value of the brake pedal can be measured as the actual progress value.
在具体实现中,在车辆中设置有加速度传感器,如GPS(Global Positioning System,全球定位系统)和IMU(Inertial measurement unit,惯性测量单位),GPS更新频率较低,但每次更新不存在误差累积,因为每次信息不依赖于上一次的值。IMU更新频率较高,但更新过程存在误差累积,因为位置信息和姿态信息是积分求得的。所以两者可以实现互补,通过GPS实现长时间定位,在GPS两次位置更新中间可以采取IMU进行定位,从而实现较为准确的实时定位。In the specific implementation, acceleration sensors are installed in the vehicle, such as GPS (Global Positioning System) and IMU (Inertial measurement unit). The GPS update frequency is low, but there is no error accumulation for each update. , Because each time the information does not depend on the previous value. The IMU update frequency is high, but there is error accumulation in the update process, because the position information and attitude information are obtained by integration. Therefore, the two can be complementary, long-term positioning can be achieved through GPS, and IMU can be used for positioning between two GPS position updates, so as to achieve more accurate real-time positioning.
如图2所示,读取加速度传感器输出的加速度,从而测量制动踏板承受的总加速度a measuredAs shown in Figure 2, the acceleration output by the acceleration sensor is read to measure the total acceleration a measured the brake pedal bears.
此外,计算制动踏板在制动方向承受的重力加速度,进一步而言,制动踏板在制动方向承受的重力加速度指沿车身作为x轴方向的重力加速度的分量,此时,可读取加速度传感器输出的俯仰角θ,则制动踏板在制动方向承受的重力加速度g body,x=g×sinθ=9.81×sinθ。 In addition, the gravitational acceleration borne by the brake pedal in the braking direction is calculated. Further, the gravitational acceleration borne by the brake pedal in the braking direction refers to the component of the gravitational acceleration along the car body as the x-axis direction. At this time, the acceleration can be read The pitch angle θ output by the sensor is the gravitational acceleration g body that the brake pedal bears in the braking direction, x = g×sinθ=9.81×sinθ.
再者,查询制动踏板在当前的速度承受的自由加速度a pedal free,所谓自由加速度,即在恒定速度下,加速踏板(即油门踏板)与制动踏板均松开(零加速、零制动)时的加速度,在实验的情况下,可将车辆加速到一定的速度,松开加速踏板和制动踏板,让车辆以该速度滑动,并记录加速度传感器的读数,如自由加速度a pedal free是沿着车身-x轴的原始IMU读数。 Furthermore, query the free acceleration of the brake pedal at the current speed a pedal free , the so-called free acceleration, that is, at a constant speed, the accelerator pedal (that is, the accelerator pedal) and the brake pedal are both released (zero acceleration, zero braking) ). In the case of the experiment, the vehicle can be accelerated to a certain speed, the accelerator pedal and the brake pedal can be released, the vehicle will slide at this speed, and the acceleration sensor readings will be recorded. For example, the free acceleration a pedal free is Raw IMU reading along the car-x axis.
自由加速度a pedal free与车辆的速度v ego之间的关联关系,可记录在一个自由加速度表格中,如表2所示: The correlation between the free acceleration a pedal free and the vehicle speed v ego can be recorded in a free acceleration table, as shown in Table 2:
表2Table 2
v ego[m/s] v ego [m/s] a pedal free[m/s 2] a pedal free [m/s 2 ]
0.00.0 0.30.3
1.31.3 0.00.0
55 -0.4-0.4
1010 -0.6-0.6
3535 -1.0-1.0
……... ……...
在确定车辆当前的速度之后,可以将该速度作为关键词,在该自由加速度表格中检索与该速度关联的自由加速度。After the current speed of the vehicle is determined, the speed can be used as a key word, and the free acceleration associated with the speed can be retrieved in the free acceleration table.
由于制动系统的延时很小,因此,可在总加速度a measured的基础下,减去重加速度g body,x与自由加速度a pedal free,获得制动踏板承受的实际制动加速度a pedal,即: Since the delay of the braking system is very small, based on the total acceleration a measured , the heavy acceleration g body,x and the free acceleration a pedal free can be subtracted to obtain the actual braking acceleration a pedal withstood by the brake pedal, which is:
a pedal=a measured-a pedal free-g body,x a pedal =a measured -a pedal free -g body,x
当然,上述计算实际制动加速度的方式只是作为示例,在实施本实施例时,可以根据实际情况设置其他车辆纵向动力学的模型,并使用相应的计算实际制动加速度的方式,本实施例对此不加以限制。另外,除了上述计算实际制动加速度的方式外,本领域技术人员还可以根据实际需要采用其它计算实际制动加速度的方式,本实施例对此也不加以限制。Of course, the above method of calculating the actual braking acceleration is just an example. When implementing this embodiment, the longitudinal dynamics model of other vehicles can be set according to the actual situation, and the corresponding method of calculating the actual braking acceleration can be used. This is not restricted. In addition, in addition to the foregoing method of calculating the actual braking acceleration, those skilled in the art can also use other methods of calculating the actual braking acceleration according to actual needs, and this embodiment does not impose limitations on this.
S105、将所述实际进程值、所述实际制动加速度作为实际制动参数更新所述制动表。S105. Update the braking table using the actual progress value and the actual braking acceleration as actual braking parameters.
在具体实现中,如图3所示,携带实际进程值、实际制动加速度作为实际制动参数,发布(Publish)到IoT(Internet of Things,物联网)模块,然后通过MQTT(Message Queuing Telemetry Transport,消息队列遥测传输)协议上传到云端的服务器,服务器用于根据实际制动参数更新制动表,并将更新后的制动表分发至各个车辆。In the specific implementation, as shown in Figure 3, the actual process value and actual braking acceleration are carried as the actual braking parameters, published to the IoT (Internet of Things, Internet of Things) module, and then through the MQTT (Message Queuing Telemetry Transport) , Message queue telemetry transmission) protocol is uploaded to the server in the cloud, the server is used to update the brake table according to the actual braking parameters, and distribute the updated brake table to each vehicle.
需要说明的是,服务器根据实际制动参数更新制动表的方式与实施例三的应用基本相似,所以描述的比较简单,相关之处参见实施例三的部分说明即可,本实施例在此不加以详述。It should be noted that the way the server updates the brake table according to the actual brake parameters is basically similar to the application of the third embodiment, so the description is relatively simple, and the relevant parts can be referred to the part of the description of the third embodiment. This embodiment is here. Do not elaborate.
在本实施例中,接收刹车命令,刹车命令中具有命令加速度,响应于刹车命令,从预设的配置文件中查找命令加速度对应的参考进程值,配置文件包括制动表,根据参考进程值对制动踏板进行制动,确定制动踏板承受的实际制动加速度、实际进程值,将实际进程值、实际制动加速度作为实际制动参数更新制动表,通过车辆采集刹车时的实际制动参数,提供服务器进行分析并更新制动表,实现了自动更新制动表的框架,减少或无需技术人员手动更新制动表,在车辆较多的情况下,区分维度更新制动表,保证了制动表的精确性,可大大降低成本,而且,可提高更新制动表的频率,保证自动驾驶的安全性。In this embodiment, the braking command is received, and the braking command contains the command acceleration. In response to the braking command, the reference process value corresponding to the command acceleration is searched from a preset configuration file. The configuration file includes a braking table, which is paired according to the reference process value. The brake pedal is used for braking, and the actual braking acceleration and actual progress value of the brake pedal are determined, and the actual progress value and actual braking acceleration are used as the actual braking parameters to update the brake table, and the actual braking during braking is collected by the vehicle Parameters, provide the server to analyze and update the brake table, realize the framework of automatically updating the brake table, reduce or eliminate the need for technicians to manually update the brake table, in the case of more vehicles, update the brake table by distinguishing the dimensions to ensure The accuracy of the brake table can greatly reduce the cost, and the frequency of updating the brake table can be increased to ensure the safety of automatic driving.
实施例二Example two
图4为本申请实施例二提供的一种制动表的更新方法的流程图,本实施例以前述实施例为基础,进一步增加反馈制动、替换配置文件的处理操作,该方法具体包括如下步骤:Fig. 4 is a flowchart of a method for updating a brake table provided in the second embodiment of the application. This embodiment is based on the foregoing embodiment and further adds processing operations of feedback braking and replacement of configuration files. The method specifically includes the following step:
S401、接收刹车命令。S401. Receive a brake command.
其中,刹车命令中具有命令加速度。Among them, there is a command acceleration in the brake command.
S402、响应于所述刹车命令,从预设的制动表中查找所述命令加速度对应的参考进程值。S402. In response to the braking command, look up a reference process value corresponding to the commanded acceleration from a preset braking table.
S403、根据所述参考进程值对制动踏板进行制动。S403: Braking the brake pedal according to the reference process value.
S404、计算所述命令加速度与所述制动踏板承受的总加速度之间的差值,作为加速度误差。S404. Calculate the difference between the command acceleration and the total acceleration borne by the brake pedal as an acceleration error.
S405、基于所述加速度误差调整所述制动踏板的进程值。S405: Adjust the progress value of the brake pedal based on the acceleration error.
在S403中,以前馈控制pedal feedforward的方式(即从制动表中查找参考进程值)对制动踏板进行制动,除此之外,在S404和S405中,可以自跟踪反馈分量进行反馈控制pedal feedbackIn S403, the brake pedal is braked by the feedforward control pedal feedforward (that is, the reference process value is searched from the brake table). In addition, in S404 and S405, the self-tracking feedback component can be used for feedback control. pedal feedback .
在本实施例中是命令加速度a cmd与制动踏板承受的总加速度a measured之间的加速度误差a errorIn this embodiment, it is the acceleration error a error between the commanded acceleration a cmd and the total acceleration a measured by the brake pedal:
a error=a cmd-a measured a error = a cmd -a measured
此时,针对该加速度误差a error调整制动踏板,即调整制动踏板当前的进程值,从而降低加速度误差a errorAt this time, the brake pedal is adjusted for the acceleration error a error , that is, the current progress value of the brake pedal is adjusted, so as to reduce the acceleration error a error .
一方面,若a error>0,即a cmd>a measured,此时,可对制动踏板施加进程值。 On the one hand, if a error > 0, that is, a cmd > a measured , at this time, the progress value can be applied to the brake pedal.
另一方面,若a error<0,即a cmd<a measured,此时,可对制动踏板减少进程值。 On the other hand, if a error <0, that is, a cmd <a measured , at this time, the process value can be reduced for the brake pedal.
需要说明的是,制动踏板当前的进程值,可以是前馈控制pedal feedforward之后的参考进程值,也可以是一次或多次反馈控制pedal feedback之后的进程值,本实施例对此不加以限制。 It should be noted that the current process value of the brake pedal can be the reference process value after the feedforward control pedal feedforward , or the process value after the one or more feedback control pedal feedback , which is not limited in this embodiment. .
S406、确定所述制动踏板承受的实际制动加速度、实际进程值。S406: Determine the actual braking acceleration and the actual progress value that the brake pedal bears.
在施加了前馈控制pedal feedforward与反馈控制pedal feedback的情况下,可测量制动踏板承受的当前实际的加速度、进程值,作为实际制动加速度、实际进程值。 When the feedforward control pedal feedforward and feedback control pedal feedback are applied, the current actual acceleration and progress value of the brake pedal can be measured as the actual braking acceleration and actual progress value.
S407、将所述参考进程值、所述实际制动加速度作为实际制动参数更新所述制动表。S407. Update the braking table using the reference process value and the actual braking acceleration as actual braking parameters.
S408、若所述制动表发生异常,则将预设的第一配表或第二配表替换所述制动表。S408: If the brake meter is abnormal, replace the brake meter with the preset first or second meter.
在本实施例中,除了制动表之外,还存储第一配表、第二配表,并不会加载到控制器中,在制动表发生异常时,如丢失、运行出错等,则将第一配表或第二配表换该制动表,作为新的配置文件,保证自动制动。In this embodiment, in addition to the brake table, the first and second configuration tables are also stored, and will not be loaded into the controller. When the brake table is abnormal, such as loss, operation error, etc., Replace the first or second table with the brake table as a new configuration file to ensure automatic braking.
其中,第一配表用于记录对某一车辆型号配置的进程值与制动加速度,这个是默认的配置文件,通常在开始重新配置车辆时使用。Among them, the first configuration table is used to record the process value and braking acceleration configured for a certain vehicle model. This is the default configuration file and is usually used when the vehicle is reconfigured.
第二配表用于记录车辆制造商对当前车辆配置的进程值与制动加速度,一般通过标准的制动实验生成,通常配置在制动性能较差的车辆的代码库中。The second table is used to record the process value and braking acceleration of the current vehicle configuration by the vehicle manufacturer. It is generally generated through standard braking experiments, and is usually configured in the code base of vehicles with poor braking performance.
进一步而言,第一配表的优先级高于第二配表的优先级,即在同时具有第一配表、第二配表的情况下,将第一配表替换制动表,作为新的配置文件,在不具有第一配表而具有第二配表的情况下,将第二配表替换制动表,作为新的配置文件。Furthermore, the priority of the first configuration table is higher than the priority of the second configuration table, that is, in the case of both the first configuration table and the second configuration table, the first configuration table is replaced with the brake table as the new one. If the configuration file does not have the first configuration but the second configuration, replace the second configuration with the brake table as a new configuration file.
实施例三Example three
图5为本申请实施例三提供的一种制动表的更新方法的流程图,本实施例可适用于采集车辆刹车的实际制动参数自动更新车辆的制动表的情况,该方法可以由制动表的更新装置来执行,该制动表的更新装置可以由软件和/或硬件实现,可配置在计算机设备中,例如,个人电脑、服务器、工作站,等等,该方法具体包括如下步骤:Fig. 5 is a flowchart of a method for updating a brake meter provided in the third embodiment of the application. This embodiment can be applied to a situation where the actual brake parameters of the vehicle brake are collected and the brake meter of the vehicle is automatically updated. The brake meter update device can be implemented by software and/or hardware, and can be configured in computer equipment, such as personal computers, servers, workstations, etc. The method specifically includes the following steps :
S501、采集车辆刹车时制动踏板的实际制动参数。S501: Collect actual braking parameters of the brake pedal when the vehicle is braking.
如图3所示,在云端的服务器中,MQTT Broker(消息转发器)通过MQTT协议接收车辆中IoT模块发送的ROS消息,ROS消息携带实际制动参数,云端的lambda服务(Lambda是一项无服务器计算服务,可运行代码来响应事件)将触发,它会将消息推送到日志服务(Logging Sevice),日志服务将该ROS消息写入日志文件中。As shown in Figure 3, in the cloud server, the MQTT Broker (message forwarder) receives the ROS message sent by the IoT module in the vehicle through the MQTT protocol. The ROS message carries the actual braking parameters. The cloud lambda service (Lambda is a non- The server computing service, which can run code to respond to events) will be triggered, it will push the message to the Logging Service, and the Logging Service will write the ROS message to the log file.
在本实施例中,该实际制动参数可以为车辆在前馈控制pedal feedforward作用下的制动参数,也可以为车辆在反馈控制pedal feedback作用下的制动参数,还可以为车辆在前馈控制pedal feedforward与反馈控制pedal feedback共同作用下的制动参数,本实施例对此不加以限制。 In this embodiment, the actual braking parameter can be the braking parameter of the vehicle under the action of the feedforward control pedal feedforward , or the braking parameter of the vehicle under the action of the feedback control pedal feedback , or the braking parameter of the vehicle under the action of the feedforward control. Control pedal feedforward and feedback control pedal feedback under the combined effect of braking parameters, this embodiment does not impose restrictions on this.
进一步而言,该实际制动参数包括实际进程值与实际制动加速度,此时,实际进程值与实际制动加速度可以为车辆在前馈控制pedal feedforward作用下的进程值与制动加速度,也可以为车辆在反馈控制pedal feedback作用下的进程值与制动加速度,还可以为车辆在前馈控制pedal feedforward与反馈控制pedal feedback共同作用下的进程值与制动加速度,本实施例对此不加以限制。 Furthermore, the actual braking parameters include the actual process value and the actual braking acceleration. At this time, the actual process value and the actual braking acceleration can be the process value and the braking acceleration of the vehicle under the action of the feedforward control pedal feedforward. It can be the process value and braking acceleration of the vehicle under the action of feedback control pedal feedback , and it can also be the process value and braking acceleration of the vehicle under the combined action of feedforward control pedal feedforward and feedback control pedal feedback. This embodiment does not Be restricted.
S502、将所述实际制动参数按照预设的维度划分至多个分组中。S502. Divide the actual braking parameters into multiple groups according to preset dimensions.
在云端的服务器中,按照预设的维度将实际制动参数划分至多个分组中,等待分析、并更新制动表。In the cloud server, the actual braking parameters are divided into multiple groups according to the preset dimensions, waiting to be analyzed, and the braking table is updated.
其中,如果日志文件的大小超过预设的阈值,如64MB(R1bi),则拆分日志文件,从而加快后续分析的性能。Among them, if the size of the log file exceeds a preset threshold, such as 64MB (R1bi), the log file is split to speed up the performance of subsequent analysis.
在一个示例中,如图3所示,可根据CAR_ID(车辆型号)和DATE(时间)选择(Select)日志文件,对该日志文件进行分组(Group),并将日志文件压缩(Compress)为.gz等格式的压缩文件,存储在存储服务器S3中。In an example, as shown in Figure 3, the log file can be selected according to CAR_ID (vehicle model) and DATE (time), the log file is grouped (Group), and the log file is compressed (Compress) as. Compressed files in formats such as gz are stored in the storage server S3.
具体而言,若到达预设的更新时间,则提取位于当前更新时间之前第一时间段(如1个月)内的实际制动参数,相邻两个更新时间之间间隔第二时间段(如1周),将属于同一个车辆型号的实际制动参数划分至同一个分组中。Specifically, if the preset update time is reached, the actual braking parameters in the first time period (such as 1 month) before the current update time are extracted, and there is a second time period between two adjacent update times ( For example, 1 week), the actual braking parameters belonging to the same vehicle model are divided into the same group.
当然,上述分类的维度只是作为示例,在实施本实施例时,可以根据实际情况设置其他分类的维度,例如,车辆的使用年限、车辆的总行驶距离,等等,本实施例对此不加以限制。另外,除了上述分类的维度外,本领域技术人员还可以根据实际需要采用其它分类的维度,本实施例对此也不加以限制。Of course, the above-mentioned classification dimensions are just examples. When implementing this embodiment, other classification dimensions can be set according to actual conditions, for example, the service life of the vehicle, the total driving distance of the vehicle, etc., which are not included in this embodiment. limit. In addition, in addition to the above-mentioned classification dimensions, those skilled in the art can also adopt other classification dimensions according to actual needs, and this embodiment does not limit this.
S503、根据所述分组中的所述实际制动参数计算参考制动参数。S503: Calculate a reference braking parameter according to the actual braking parameter in the group.
如图3所示,不断地从存储服务器S3中的每个分组,分析该分组中车辆的实际制动参数,自动进行制动的统计、修正,从而生成合理的参考制动参数。As shown in Figure 3, from each group in the storage server S3, the actual braking parameters of the vehicles in the group are continuously analyzed, and the statistics and corrections of the braking are automatically performed, so as to generate reasonable reference braking parameters.
在本申请的一个实施例中,实际制动参数包括刹车时制动踏板的实际进程值、制动踏板承受的实际制动加速度,参考制动参数包括参考进程值、参考制动加速度。In an embodiment of the present application, the actual braking parameters include the actual progress value of the brake pedal during braking and the actual braking acceleration experienced by the brake pedal, and the reference braking parameters include the reference progress value and the reference braking acceleration.
在本实施例中,S503包括如下步骤:In this embodiment, S503 includes the following steps:
S5031、针对每个所述分组,生成多个容器(bin)。S5031. Generate multiple bins for each of the groups.
其中,每个容器(bin)关联进程范围,该进程范围的长度一般相同并且连续。Among them, each container (bin) is associated with a process range, and the length of the process range is generally the same and continuous.
例如,容器(bin)[0.00,0.10]表示进程范围从0.00到0.10。For example, bin (bin) [0.00, 0.10] represents the process range from 0.00 to 0.10.
S5032、若所述实际进程值在所述进程范围内,则将所述实际制动加速度写入所述容器中。S5032. If the actual process value is within the process range, write the actual braking acceleration into the container.
将实际进程值依次与每个容器(bin)进程范围继续比较,如果实际进程值在某个进程范围内,则将相应的实际制动加速度写入该进程范围对应的容器(bin)中。The actual process value is successively compared with the process range of each container (bin). If the actual process value is within a certain process range, the corresponding actual braking acceleration is written into the container (bin) corresponding to the process range.
进一步而言,为了保证统计的准确性,降低统计的误差,可以通过如下两个标准过滤对统计无用的数据:Furthermore, in order to ensure the accuracy of statistics and reduce statistical errors, data that is useless for statistics can be filtered through the following two criteria:
1、容器满足最小数量的数据点1. The container meets the minimum number of data points
若容器中实际制动加速度的数量大于或等于预设的阈值,则确定容器有效,保留该容器中的数据。If the amount of actual braking acceleration in the container is greater than or equal to the preset threshold, the container is determined to be valid and the data in the container is retained.
若容器中实际制动加速度的数量小于预设的阈值,则确认该容器无效,滤除容器。If the amount of actual braking acceleration in the container is less than the preset threshold, the container is confirmed to be invalid and the container is filtered out.
2、制动的加速度为负2. The braking acceleration is negative
若实际制动加速度为负值,则确定实际制动加速度有效。If the actual braking acceleration is a negative value, it is determined that the actual braking acceleration is valid.
若实际制动加速度为非负值,则滤除实际制动加速度。If the actual braking acceleration is a non-negative value, the actual braking acceleration is filtered out.
当然,上述过滤的标准只是作为示例,在实施本实施例时,可以根据实际情况设置其他过滤的标准,等等,本实施例对此不加以限制。另外,除了上述过滤的标准外,本领域技术人员还可以根据实际需要采用其它过滤的标准,本实施例对此也不加以限制。Of course, the foregoing filtering criteria are only examples. When implementing this embodiment, other filtering criteria can be set according to actual conditions, etc., which is not limited in this embodiment. In addition, in addition to the above-mentioned filtering standards, those skilled in the art can also adopt other filtering standards according to actual needs, and this embodiment does not limit this.
S5033、在所述容器的进程范围中取值作为参考进程值。S5033. Take a value in the process range of the container as a reference process value.
在本实施例中,可以通过一定的统计学特性,从容器的进程范围中取值作为参考进程值。In this embodiment, certain statistical characteristics can be used to take a value from the process range of the container as the reference process value.
在一个示例中,计算容器的进程范围的中间值,作为参考进程值。In one example, the middle value of the process range of the container is calculated as the reference process value.
例如,容器(bin)[0.00,0.10]的参考进程值为0.05。For example, the reference process value of the container (bin) [0.00, 0.10] is 0.05.
当然,除了中位数之外,还可以设置其他值作为参考进程值,如众数、平均值,等等,本实施例对此不加以限制。Of course, in addition to the median, other values can also be set as the reference process value, such as the mode, the average, etc., which is not limited in this embodiment.
S5034、参考所述容器中的实际制动加速度生成参考制动加速度。S5034. Generate a reference braking acceleration with reference to the actual braking acceleration in the container.
在本实施例中,可以通过一定的统计学特性,参考容器中的实际制动加速度生成参考制动加速度。In this embodiment, the reference braking acceleration can be generated by referring to the actual braking acceleration in the container through certain statistical characteristics.
在一个示例中,对容器中的实际制动加速度计算中位数或平均值,作为参考制动加速度。In one example, the median or average value of the actual braking acceleration in the container is calculated as the reference braking acceleration.
当然,除了中位数或平均值之外,还可以设置其他值作为参考制动加速度,如众数等,本实施例对此不加以限制。Of course, in addition to the median or average value, other values can also be set as the reference braking acceleration, such as the mode, which is not limited in this embodiment.
在本实施例中,S503还包括如下步骤:In this embodiment, S503 further includes the following steps:
S5035、对所述参考进程值进行升序排序。S5035. Sort the reference process values in ascending order.
S5036、确定排序之后所述参考进程值关联的参考制动加速度的单调性。S5036. Determine the monotonicity of the reference braking acceleration associated with the reference process value after the sorting.
S5037、若所述单调性为单调递减,则确定所述参考制动加速度有效。S5037: If the monotonicity is monotonically decreasing, it is determined that the reference braking acceleration is valid.
在本实施例中,对参考进程值进行升序排序,即排序在先的参考进程值较小,排序在后的参考进程值较大。In this embodiment, the reference process values are sorted in ascending order, that is, the reference process value that is sorted first is smaller, and the reference process value that is sorted later is larger.
与此同时,对该参考进程值对应的参考制动加速度也会进行排序。At the same time, the reference braking acceleration corresponding to the reference process value will also be sorted.
通过对参考制动加速度进行排序,可确定参考制动加速度的单调性,以此检查参考制动加速度的有效性。By sorting the reference braking acceleration, the monotonicity of the reference braking acceleration can be determined to check the validity of the reference braking acceleration.
如果参考制动加速度单调递减,则认为参考制动加速度有效,否则,认为参考制动加速度无效。If the reference braking acceleration decreases monotonically, the reference braking acceleration is considered valid, otherwise, the reference braking acceleration is considered invalid.
在具体实现中,可计算排序之后,相邻两个参考制动加速度之间的加速度差值,即排序在后的参考制动加速度减去排序在先的参考制动加速度,即加速度差值Δa=a i+1-a i,其中,i为正整数。 In a specific implementation, after sorting, the acceleration difference between two adjacent reference braking accelerations can be calculated, that is, the reference braking acceleration of the next sorting minus the reference braking acceleration of the first sorting, that is, the acceleration difference Δa =a i+1 -a i , where i is a positive integer.
如果该加速度差值Δa为负值(即小于零),则认为符合单调递减,如果该加速度差值Δa为非负值(即大于或等于零),则认为不符合单调递减。If the acceleration difference Δa is negative (that is, less than zero), it is considered to be in conformity with monotonic decline, and if the acceleration difference Δa is non-negative (that is, greater than or equal to zero), it is considered not to conform to the monotonic decline.
对于不符合单调递减的参考制动加速度,可以对其进行校正。The reference braking acceleration that does not conform to the monotonic decrease can be corrected.
具体而言,从升序排序之后的参考制动加速度依次确定第一加速度、第二加速度,其中,第一加速度对应的参考进程值排序在第二加速度对应的参考进程值之前。Specifically, the first acceleration and the second acceleration are sequentially determined from the reference braking accelerations sorted in ascending order, wherein the reference process value corresponding to the first acceleration is sorted before the reference process value corresponding to the second acceleration.
若第一加速度与第二加速度之间的差值大于或等于零,则删除第二加速度与第二加速度对应的参考进程值。If the difference between the first acceleration and the second acceleration is greater than or equal to zero, the reference process value corresponding to the second acceleration and the second acceleration is deleted.
依次遍历所有的参考制动加速度,则可以保证参考制动加速度的单调递减。Traversing all the reference braking accelerations in turn can ensure the monotonic decrease of the reference braking accelerations.
例如,如图6A所示,以参考进程值(brake pedal)为X轴,参考制动加速度(a)为Y轴,建立坐标轴,绘制表示参考进程值与参考制动加速度的数据点。For example, as shown in FIG. 6A, taking the reference process value (brake pedal) as the X axis and the reference braking acceleration (a) as the Y axis, a coordinate axis is established, and data points representing the reference process value and the reference braking acceleration are drawn.
在本示例中,遍历数据点,在某次遍历中,参考进程值P 5对应的参考制动加速度为第一加速度,参考进程值P 4对应的参考制动加速度为第二加速度,此时,第一加速度减去第二加速度的差值大于零,则可以如图6B所示,删除参考进程值P 5及其对应的制动加速度,从而保持参考制动加速度的单调递减。 In this example, the data points are traversed. In a certain traversal, the reference braking acceleration corresponding to the reference process value P 5 is the first acceleration, and the reference braking acceleration corresponding to the reference process value P 4 is the second acceleration. At this time, a first acceleration difference by subtracting the second acceleration is greater than zero, it can be shown in Figure 6B, the process of deleting the reference value P 5 and its corresponding braking acceleration, braking to maintain the reference acceleration decreases monotonically.
S504、将所述参考制动参数更新至制动表中。S504. Update the reference braking parameter to the braking table.
如图3所示,在计算出参考制动参数之后,则可以更新至制动表中,在该制动表中建立参考进程值与参考制动加速度之间的关联关系,将其写入(hive)到分析报告(Analysis Report)中。As shown in Figure 3, after the reference braking parameters are calculated, they can be updated to the braking table. The relationship between the reference process value and the reference braking acceleration is established in the braking table, and it is written into ( hive) to the Analysis Report (Analysis Report).
进一步而言,在S502中的维度包括时间、车辆型号时,则将针对该车辆型号统计的参考制动参数,更新至该车辆型号对应的制动表中,并记录生成该制动表的时间。Furthermore, when the dimensions in S502 include time and vehicle model, the reference brake parameters calculated for the vehicle model are updated to the brake table corresponding to the vehicle model, and the time when the brake table is generated is recorded .
如图3所示,当检测到新生成的制动表时,可以通过调用HTTP(Hyper Text Transfer Protocol,超文本传输协议)服务的控制程序(Control,如bash脚本),自动将制动表分发至与S502中的维度匹配的车辆,该车辆存储在本地工作站的car_data文件夹中,该车辆可用于在刹车时、按照参考制动参数对制动踏板进行制动。As shown in Figure 3, when the newly generated brake table is detected, the control program (Control, such as bash script) of the HTTP (Hyper Text Transfer Protocol) service can be called to automatically distribute the brake table To the vehicle that matches the dimension in S502, the vehicle is stored in the car_data folder of the local workstation, and the vehicle can be used to brake the brake pedal according to the reference brake parameters when braking.
进一步而言,在S502中的维度包括车辆型号时,则确定制动表关联的车辆型号,将制动表分发至属于车辆型号的车辆中。Furthermore, when the dimension in S502 includes the vehicle model, the vehicle model associated with the brake table is determined, and the brake table is distributed to vehicles belonging to the vehicle model.
需要说明的是,车辆按照制动表中的参考制动参数进行制动并采集实际制动参数的方式与实施例一、二的应用基本相似,所以描述的比较简单,相关之处参见实施例一、二的部分说明即可,本实施例在此不加以详述。It should be noted that the way the vehicle brakes according to the reference brake parameters in the brake table and collects the actual brake parameters is basically similar to the application in the first and second embodiments, so the description is relatively simple. The first and second part of the description is sufficient, and this embodiment will not be described in detail here.
在本实施例中,采集车辆刹车时制动踏板的实际制动参数,将实际制动参数按照预设的维度划分至多个分组中,根据分组中的实际制动参数计算参考制动参数,将参考制动参数更新至制动表中,通过车辆采集刹车时的实际制动参数,提供服务器进行分析并更新制动表,实现了自动更新制动表的框架,减少或无需技术人员手动更新制动表,在车辆较多的情况下,区分维度更新制动表,保证了制动表的精确性,可大大降低成本,而且,可提高更新制动表的频率,保证自动驾驶的安全性。In this embodiment, the actual braking parameters of the brake pedal when the vehicle is braking are collected, the actual braking parameters are divided into multiple groups according to preset dimensions, and the reference braking parameters are calculated according to the actual braking parameters in the groups, and the The reference brake parameters are updated to the brake table, and the actual brake parameters during braking are collected by the vehicle, and the server is provided to analyze and update the brake table, which realizes the framework of automatically updating the brake table, reducing or eliminating the need for technicians to manually update the system. In the case of a large number of vehicles, the brake table is updated by different dimensions to ensure the accuracy of the brake table, which can greatly reduce the cost, and the frequency of updating the brake table can be increased to ensure the safety of automatic driving.
实施例四Example four
图7为本申请实施例四提供的一种制动表的更新装置的结构示意图,该装置具体可以包括如下模块:FIG. 7 is a schematic structural diagram of a device for updating a brake meter provided in the fourth embodiment of the application. The device may specifically include the following modules:
实际制动参数采集模块701,用于采集车辆刹车时制动踏板的实际制动参数;实际制动参数分组模块702,用于将所述实际制动参数按照预设的维度划分至多个分组中;参考制动参数计算模块703,用于根据所述分组中的所述实际制动参数计算参考制动参数;制动表更新模块704,用于将所述参考制动参数更新至制动表中。The actual braking parameter collection module 701 is used to collect the actual braking parameters of the brake pedal when the vehicle is braking; the actual braking parameter grouping module 702 is used to divide the actual braking parameters into multiple groups according to preset dimensions The reference brake parameter calculation module 703 is used to calculate the reference brake parameters according to the actual brake parameters in the group; the brake table update module 704 is used to update the reference brake parameters to the brake table in.
在本申请的一个实施例中,所述实际制动参数分组模块702包括:In an embodiment of the present application, the actual braking parameter grouping module 702 includes:
实际制动参数提取子模块,用于若到达预设的更新时间,则提取位于当前更新时间之前第一时间段内的实际制动参数,相邻两个所述更新时间之间间隔第二时间段;型号划分子模块,用于将属于同一个车辆型号的所述实际制动参 数划分至同一个分组中。The actual braking parameter extraction sub-module is used to extract the actual braking parameters in the first time period before the current update time if the preset update time is reached, and there is a second time interval between two adjacent update times Segment; model division sub-module, used to divide the actual braking parameters belonging to the same vehicle model into the same group.
在本申请的一个实施例中,所述实际制动参数包括刹车时制动踏板的实际进程值、所述制动踏板承受的实际制动加速度,所述参考制动参数包括参考进程值、参考制动加速度。In an embodiment of the present application, the actual braking parameter includes the actual progress value of the brake pedal during braking, the actual braking acceleration experienced by the brake pedal, and the reference braking parameter includes a reference progress value, a reference Braking acceleration.
所述参考制动参数计算模块703包括:The reference braking parameter calculation module 703 includes:
容器生成子模块,用于针对每个所述分组,生成多个容器,每个所述容器关联进程范围;实际制动加速度写入子模块,用于若所述实际进程值在所述进程范围内,则将所述实际制动加速度写入所述容器中;参考进程值设置子模块,用于在所述容器的进程范围中取值作为参考进程值;参考制动加速度生成子模块,用于参考所述容器中的实际制动加速度生成参考制动加速度。The container generation sub-module is used to generate multiple containers for each of the groups, and each of the containers is associated with the process range; the actual braking acceleration write sub-module is used to if the actual process value is within the process range The actual braking acceleration is written into the container; the reference process value setting sub-module is used to take a value in the process range of the container as the reference process value; the reference braking acceleration generation sub-module is used The reference braking acceleration is generated by referring to the actual braking acceleration in the container.
在本申请的一个实施例中,所述参考制动参数计算模块703还包括:In an embodiment of the present application, the reference braking parameter calculation module 703 further includes:
容器有效确定子模块,用于若所述容器中实际制动加速度的数量大于或等于预设的阈值,则确定所述容器有效;容器滤除子模块,用于若所述容器中实际制动加速度的数量小于预设的阈值,则滤除所述容器;和/或,The container validity determination sub-module is used to determine that the container is valid if the actual braking acceleration amount in the container is greater than or equal to a preset threshold; the container filtering sub-module is used to determine if the actual braking acceleration in the container is If the amount of acceleration is less than a preset threshold, the container is filtered out; and/or,
单体加速度有效确定子模块,用于若所述实际制动加速度为负值,则确定所述实际制动加速度有效;加速度确定子模块,用于若所述实际制动加速度为非负值,则滤除所述实际制动加速度。The single acceleration valid determination sub-module is used to determine that the actual braking acceleration is valid if the actual braking acceleration is a negative value; the acceleration determination sub-module is used to determine if the actual braking acceleration is a non-negative value, Then filter out the actual braking acceleration.
在本申请实施例的一个示例中,所述参考进程值设置子模块包括:In an example of the embodiment of the present application, the reference process value setting submodule includes:
中位数设置子模块,用于计算所述容器的进程范围的中间值,作为参考进程值。The median setting sub-module is used to calculate the middle value of the process range of the container as a reference process value.
在本申请实施例的一个示例中,所述参考制动加速度生成子模块包括:In an example of the embodiment of the present application, the reference braking acceleration generating submodule includes:
统计值计算子模块,用于对所述容器中的实际制动加速度计算中位数或平均值,作为参考制动加速度。The statistical value calculation sub-module is used to calculate the median or average value of the actual braking acceleration in the container as a reference braking acceleration.
在本申请的一个实施例中,所述参考制动参数计算模块703还包括:In an embodiment of the present application, the reference braking parameter calculation module 703 further includes:
升序排序子模块,用于对所述参考进程值进行升序排序;单调性确定子模块,用于确定排序之后所述参考进程值关联的参考制动加速度的单调性;全体加速度有效确定子模块,用于若所述单调性为单调递减,则确定所述参考制动加速度有效。The ascending ordering sub-module is used to sort the reference process values in ascending order; the monotonicity determination sub-module is used to determine the monotonicity of the reference braking acceleration associated with the reference process values after the sorting; the overall acceleration valid determination sub-module, It is used to determine that the reference braking acceleration is valid if the monotonicity is monotonically decreasing.
在本申请的一个实施例中,所述参考制动参数计算模块703还包括:In an embodiment of the present application, the reference braking parameter calculation module 703 further includes:
排序加速度确定子模块,用于从升序排序之后的参考制动加速度依次确定第一加速度、第二加速度,所述第一加速度对应的参考进程值排序在所述第二加速度对应的参考进程值之前;数据删除子模块,用于若所述第二加速度与所 述第三加速度之间的差值大于或等于零,则删除所述第二加速度与所述第二加速度对应的参考进程值。The sorting acceleration determining sub-module is used to sequentially determine the first acceleration and the second acceleration from the reference braking accelerations sorted in ascending order, and the reference process value corresponding to the first acceleration is sorted before the reference process value corresponding to the second acceleration The data deletion sub-module is configured to delete the reference process value corresponding to the second acceleration and the second acceleration if the difference between the second acceleration and the third acceleration is greater than or equal to zero.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
制动表分发至模块,用于将所述制动表分发至与所述维度匹配的车辆,所述车辆用于在刹车时、按照所述参考制动参数对制动踏板进行制动。The brake table is distributed to the module for distributing the brake table to vehicles matching the dimension, and the vehicle is used to brake the brake pedal according to the reference brake parameter when braking.
在本申请的一个实施例中,所述制动表分发至模块包括:In an embodiment of the present application, distributing the brake meter to the module includes:
车辆型号确定子模块,用于确定所述制动表关联的车辆型号;车辆型号分发子模块,用于将所述制动表分发至属于所述车辆型号的车辆。The vehicle model determination sub-module is used to determine the vehicle model associated with the brake table; the vehicle model distribution sub-module is used to distribute the brake table to vehicles belonging to the vehicle model.
本申请实施例所提供的制动表的更新装置可执行本申请任意实施例所提供的制动表的更新方法,具备执行方法相应的功能模块和有益效果。The device for updating the brake table provided by the embodiment of the present application can execute the method for updating the brake table provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
实施例五Example five
图8为本申请实施例五提供的一种制动表的更新装置的结构示意图,该装置具体可以包括如下模块:FIG. 8 is a schematic structural diagram of a device for updating a brake meter provided in the fifth embodiment of the application. The device may specifically include the following modules:
刹车命令接收模块801,用于接收刹车命令,所述刹车命令中具有命令加速度;参考进程值查找模块802,用于响应于所述刹车命令,从预设的制动表件中查找所述命令加速度对应的参考进程值;制动模块803,用于根据所述参考进程值对制动踏板进行制动;实际制动参数确定模块804,用于确定所述制动踏板承受的实际制动加速度、实际进程值;制动表更新模块805,用于将所述实际进程值、所述实际制动加速度作为实际制动参数更新所述制动表。The brake command receiving module 801 is used to receive a brake command with command acceleration; the reference process value search module 802 is used to search for the command from a preset brake table in response to the brake command The reference process value corresponding to the acceleration; the braking module 803 is used to brake the brake pedal according to the reference process value; the actual braking parameter determination module 804 is used to determine the actual braking acceleration experienced by the brake pedal , The actual process value; the brake table update module 805, used to update the brake table using the actual process value and the actual braking acceleration as actual braking parameters.
在本申请的一个实施例中,所述刹车命令接收模块801包括:In an embodiment of the present application, the braking command receiving module 801 includes:
条件接收子模块,用于接收在满足如下条件时发布的刹车命令:The conditional receiving sub-module is used to receive the brake command issued when the following conditions are met:
自动驾驶模式且速度大于预设的阈值。Autopilot mode and the speed is greater than the preset threshold.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
加速度误差计算模块,用于计算所述命令加速度与所述制动踏板承受的总加速度之间的差值,作为加速度误差;制动踏板调整模块,用于基于所述加速度误差调整所述制动踏板的进程值。The acceleration error calculation module is used to calculate the difference between the commanded acceleration and the total acceleration borne by the brake pedal as an acceleration error; the brake pedal adjustment module is used to adjust the brake based on the acceleration error The progress value of the pedal.
在本申请的一个实施例中,所述实际制动参数确定模块804包括:In an embodiment of the present application, the actual braking parameter determination module 804 includes:
总加速度测量子模块,用于测量所述制动踏板承受的总加速度;重力加速度计算子模块,用于计算所述制动踏板在制动方向承受的重力加速度;自由加速度查询子模块,用于查询所述制动踏板在当前的速度承受的自由加速度;加 速度差值计算子模块,用于在所述总加速度的基础下,减去所述重加速度与所述自由加速度,获得所述制动踏板承受的实际制动加速度。The total acceleration measurement sub-module is used to measure the total acceleration borne by the brake pedal; the gravitational acceleration calculation sub-module is used to calculate the gravitational acceleration borne by the brake pedal in the braking direction; the free acceleration query sub-module is used to Query the free acceleration of the brake pedal at the current speed; the acceleration difference calculation sub-module is used to subtract the heavy acceleration and the free acceleration on the basis of the total acceleration to obtain the brake The actual braking acceleration experienced by the pedal.
在本申请的一个实施例中,还包括:In an embodiment of this application, it further includes:
配置文件替换模块,用于若所述制动表发生异常,则将预设的第一配表或第二配表替换所述制动表;其中,所述第一配表用于记录对某一车辆型号配置的进程值与制动加速度,所述第二配表用于记录车辆制造商对当前车辆配置的进程值与制动加速度,所述第一配表的优先级高于所述第二配表的优先级。The configuration file replacement module is used to replace the preset first or second configuration table with the brake table if the brake meter is abnormal; wherein, the first configuration table is used to record the The process value and braking acceleration of a vehicle model configuration. The second table is used to record the process value and braking acceleration of the current vehicle configuration by the vehicle manufacturer. The priority of the first table is higher than the first configuration table. The priority of the second configuration table.
本申请实施例所提供的制动表的更新装置可执行本申请任意实施例所提供的制动表的更新方法,具备执行方法相应的功能模块和有益效果。The device for updating the brake table provided by the embodiment of the present application can execute the method for updating the brake table provided by any embodiment of the present application, and has the corresponding functional modules and beneficial effects of the execution method.
实施例六Example Six
图9为本申请实施例六提供的一种计算机设备的结构示意图。如图9所示,该计算机设备包括处理器900、存储器901、通信模块902、输入装置903和输出装置904;计算机设备中处理器900的数量可以是一个或多个,图9中以一个处理器900为例;计算机设备中的处理器900、存储器901、通信模块902、输入装置903和输出装置904可以通过总线或其他方式连接,图9中以通过总线连接为例。FIG. 9 is a schematic structural diagram of a computer device provided in Embodiment 6 of this application. As shown in Figure 9, the computer device includes a processor 900, a memory 901, a communication module 902, an input device 903, and an output device 904; the number of processors 900 in the computer device can be one or more. The processor 900 is taken as an example; the processor 900, the memory 901, the communication module 902, the input device 903, and the output device 904 in the computer equipment may be connected by a bus or other methods. In FIG. 9, the connection by a bus is taken as an example.
存储器901作为一种计算机可读存储介质,可用于存储软件程序、计算机可执行程序以及模块,如本实施例中的制动表的更新方法对应的模块(例如,如图7所示的制动表的更新装置中的实际制动参数采集模块701、实际制动参数分组模块702、参考制动参数计算模块703和制动表更新模块704;或者,如图8所示的制动表的更新装置中的刹车命令接收模块801、参考进程值查找模块802、制动模块803、实际制动参数确定模块804和制动表更新模块805)。处理器900通过运行存储在存储器901中的软件程序、指令以及模块,从而执行计算机设备的各种功能应用以及数据处理,即实现上述的制动表的更新方法。As a computer-readable storage medium, the memory 901 can be used to store software programs, computer-executable programs, and modules, such as the modules corresponding to the method for updating the brake table in this embodiment (for example, the brake table shown in FIG. 7). The actual braking parameter collection module 701, the actual braking parameter grouping module 702, the reference braking parameter calculation module 703, and the braking table updating module 704 in the table updating device; or, the updating of the braking table as shown in FIG. 8 The braking command receiving module 801, the reference process value searching module 802, the braking module 803, the actual braking parameter determination module 804 and the braking table updating module 805 in the device). The processor 900 executes various functional applications and data processing of the computer device by running the software programs, instructions, and modules stored in the memory 901, that is, realizes the above-mentioned method for updating the brake table.
存储器901可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序;存储数据区可存储根据计算机设备的使用所创建的数据等。此外,存储器901可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他非易失性固态存储器件。在一些实例中,存储器901可进一步包括相对于处理器900远程设置的存储器,这些远程存储器可以通过网络连接至计算机设备。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The memory 901 may mainly include a program storage area and a data storage area. The program storage area may store an operating system and an application program required by at least one function; the data storage area may store data created according to the use of a computer device. In addition, the memory 901 may include a high-speed random access memory, and may also include a non-volatile memory, such as at least one magnetic disk storage device, a flash memory device, or other non-volatile solid-state storage devices. In some examples, the memory 901 may further include a memory remotely provided with respect to the processor 900, and these remote memories may be connected to a computer device through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.
通信模块902,用于与显示屏建立连接,并实现与显示屏的数据交互。The communication module 902 is used to establish a connection with the display screen and realize data interaction with the display screen.
输入装置903可用于接收输入的数字或字符信息,以及产生与计算机设备的用户设置以及功能控制有关的键信号输入,还可以是用于获取图像的摄像头以及获取音频数据的拾音设备。The input device 903 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the computer equipment, and can also be a camera for acquiring images and a pickup device for acquiring audio data.
输出装置904可以包括扬声器等音频设备。The output device 904 may include audio equipment such as a speaker.
需要说明的是,输入装置903和输出装置904的具体组成可以根据实际情况设定。It should be noted that the specific composition of the input device 903 and the output device 904 can be set according to actual conditions.
处理器900通过运行存储在存储器901中的软件程序、指令以及模块,从而执行设备的各种功能应用以及数据处理,即实现上述的电子白板的连接节点控制方法。The processor 900 executes various functional applications and data processing of the device by running the software programs, instructions, and modules stored in the memory 901, that is, realizes the above-mentioned method for controlling the connection node of the electronic whiteboard.
本实施例提供的计算机设备,可执行本申请任一实施例提供的制动表的更新方法,具体相应的功能和有益效果。The computer device provided in this embodiment can execute the method for updating the brake table provided in any embodiment of the present application, with specific corresponding functions and beneficial effects.
实施例七Example Seven
本申请实施例七还提供一种计算机可读存储介质,其上存储有计算机程序,该计算机程序被处理器执行时实现一种制动表的更新方法。The seventh embodiment of the present application also provides a computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, a method for updating a brake table is realized.
若应用于服务器,则该方法包括:If applied to a server, the method includes:
采集车辆刹车时制动踏板的实际制动参数;将所述实际制动参数按照预设的维度划分至多个分组中;根据所述分组中的所述实际制动参数计算参考制动参数;将所述参考制动参数更新至制动表中。Collect the actual braking parameters of the brake pedal when the vehicle is braking; divide the actual braking parameters into multiple groups according to preset dimensions; calculate the reference braking parameters according to the actual braking parameters in the groups; The reference braking parameter is updated to the braking table.
若应用于车辆,则该方法包括:If applied to vehicles, the method includes:
接收刹车命令,所述刹车命令中具有命令加速度;响应于所述刹车命令,从预设的制动表中查找所述命令加速度对应的参考进程值;根据所述参考进程值对制动踏板进行制动;确定所述制动踏板承受的实际制动加速度、实际进程值;将所述实际进程值、所述实际制动加速度作为实际制动参数更新所述制动表。Receive a brake command, the brake command has a command acceleration; in response to the brake command, look up the reference process value corresponding to the command acceleration from a preset brake table; perform the brake pedal operation according to the reference process value Braking; determining the actual braking acceleration and the actual progress value that the brake pedal bears; using the actual progress value and the actual braking acceleration as actual braking parameters to update the braking table.
本申请实施例所提供的计算机可读存储介质,其计算机程序不限于如上所述的方法操作,还可以执行本申请任意实施例所提供的制动表的更新方法中的相关操作。The computer program of the computer-readable storage medium provided in the embodiment of the present application is not limited to the method operations described above, and may also perform related operations in the method for updating the brake table provided in any embodiment of the present application.
通过以上关于实施方式的描述,本申请可借助软件及必需的通用硬件来实现,也可以通过硬件实现。本申请的技术方案本质上可以以软件产品的形式体现出来,该计算机软件产品可以存储在计算机可读存储介质中,如计算机的软 盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、闪存(FLASH)、硬盘或光盘等,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。Based on the above description of the implementation manners, this application can be implemented by software and necessary general-purpose hardware, or can be implemented by hardware. The technical solution of the present application can essentially be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as a computer floppy disk, read-only memory (ROM), random access Random Access Memory (RAM), flash memory (FLASH), hard disk or optical disk, etc., including several instructions to make a computer device (which can be a personal computer, server, or network device, etc.) execute the various embodiments of this application Methods.
上述制动表的更新装置的实施例中,所包括的各个单元和模块只是按照功能逻辑进行划分的,但并不局限于上述的划分,只要能够实现相应的功能即可;另外,各功能单元的具体名称也只是为了便于相互区分,并不用于限制本申请的保护范围。In the above embodiment of the device for updating the brake table, the units and modules included are only divided according to the functional logic, but are not limited to the above division, as long as the corresponding function can be realized; in addition, each functional unit The specific names are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application.

Claims (19)

  1. 一种制动表的更新方法,包括:A method for updating a brake table includes:
    采集车辆刹车时制动踏板的实际制动参数;Collect the actual braking parameters of the brake pedal when the vehicle is braking;
    将所述实际制动参数按照预设的维度划分至多个分组中;Divide the actual braking parameters into multiple groups according to preset dimensions;
    根据所述分组中的所述实际制动参数计算参考制动参数;Calculating a reference braking parameter according to the actual braking parameter in the group;
    将所述参考制动参数更新至制动表中。Update the reference braking parameters to the braking table.
  2. 根据权利要求1所述的方法,其中,所述将所述实际制动参数按照预设的维度划分至多个分组中,包括:The method according to claim 1, wherein the dividing the actual braking parameters into a plurality of groups according to a preset dimension comprises:
    若到达预设的更新时间,则提取位于当前更新时间之前第一时间段内的实际制动参数,相邻两个所述更新时间之间间隔第二时间段;If the preset update time is reached, extract the actual braking parameters in the first time period before the current update time, and there is a second time period between two adjacent update times;
    将属于同一个车辆型号的所述实际制动参数划分至同一个分组中。The actual braking parameters belonging to the same vehicle model are divided into the same group.
  3. 根据权利要求1所述的方法,其中,所述实际制动参数包括刹车时制动踏板的实际进程值、所述制动踏板承受的实际制动加速度,所述参考制动参数包括参考进程值、参考制动加速度;The method according to claim 1, wherein the actual braking parameter includes an actual progress value of the brake pedal during braking, an actual braking acceleration experienced by the brake pedal, and the reference braking parameter includes a reference progress value , Reference braking acceleration;
    所述根据所述分组中的所述实际制动参数计算参考制动参数,包括:The calculation of the reference braking parameter according to the actual braking parameter in the group includes:
    针对每个所述分组,生成多个容器,每个所述容器关联进程范围;For each of the groups, multiple containers are generated, and each of the containers is associated with a process range;
    若所述实际进程值在所述进程范围内,则将所述实际制动加速度写入所述容器中;If the actual process value is within the process range, write the actual braking acceleration into the container;
    在所述容器的进程范围中取值作为参考进程值;Take a value in the process range of the container as a reference process value;
    参考所述容器中的实际制动加速度生成参考制动加速度。A reference braking acceleration is generated with reference to the actual braking acceleration in the container.
  4. 根据权利要求3所述的方法,其中,所述针对每个所述分组,根据所述分组中的实际制动参数计算参考制动参数,还包括:The method according to claim 3, wherein said calculating a reference braking parameter according to the actual braking parameters in said group for each said grouping further comprises:
    若所述容器中实际制动加速度的数量大于或等于预设的阈值,则确定所述容器有效;If the amount of actual braking acceleration in the container is greater than or equal to a preset threshold, it is determined that the container is valid;
    若所述容器中实际制动加速度的数量小于预设的阈值,则滤除所述容器;If the amount of actual braking acceleration in the container is less than a preset threshold, filter out the container;
    和/或,and / or,
    若所述实际制动加速度为负值,则确定所述实际制动加速度有效;If the actual braking acceleration is a negative value, it is determined that the actual braking acceleration is valid;
    若所述实际制动加速度为非负值,则滤除所述实际制动加速度。If the actual braking acceleration is a non-negative value, the actual braking acceleration is filtered out.
  5. 根据权利要求3所述的方法,其中,所述在所述容器的进程范围中取值作为参考进程值,包括:The method according to claim 3, wherein the taking a value in the process range of the container as a reference process value comprises:
    计算所述容器的进程范围的中间值,作为参考进程值。The middle value of the process range of the container is calculated as a reference process value.
  6. 根据权利要求3所述的方法,其中,所述参考所述容器中的实际制动加速度生成参考制动加速度,包括:The method according to claim 3, wherein the generating a reference braking acceleration with reference to the actual braking acceleration in the container comprises:
    对所述容器中的实际制动加速度计算中位数或平均值,作为参考制动加速度。The median or average value of the actual braking acceleration in the container is calculated as the reference braking acceleration.
  7. 根据权利要求3所述的方法,其中,所述根据所述分组中的所述实际制动参数计算参考制动参数,还包括:The method according to claim 3, wherein the calculating a reference braking parameter according to the actual braking parameter in the group further comprises:
    对所述参考进程值进行升序排序;Sort the reference process values in ascending order;
    确定排序之后所述参考进程值关联的参考制动加速度的单调性;Determining the monotonicity of the reference braking acceleration associated with the reference process value after sorting;
    若所述单调性为单调递减,则确定所述参考制动加速度有效。If the monotonicity is monotonically decreasing, it is determined that the reference braking acceleration is valid.
  8. 根据权利要求7所述的方法,其中,所述根据所述分组中的所述实际制动参数计算参考制动参数,还包括:8. The method according to claim 7, wherein said calculating a reference braking parameter according to said actual braking parameter in said grouping further comprises:
    从升序排序之后的参考制动加速度依次确定第一加速度、第二加速度,所述第一加速度对应的参考进程值排序在所述第二加速度对应的参考进程值之前;The first acceleration and the second acceleration are sequentially determined from the reference braking accelerations sorted in ascending order, and the reference process value corresponding to the first acceleration is sorted before the reference process value corresponding to the second acceleration;
    若所述第一加速度与所述第二加速度之间的差值大于或等于零,则删除所述第二加速度与所述第二加速度对应的参考进程值。If the difference between the first acceleration and the second acceleration is greater than or equal to zero, the reference process value corresponding to the second acceleration and the second acceleration is deleted.
  9. 根据权利要求1-8任一项所述的方法,还包括:The method according to any one of claims 1-8, further comprising:
    将所述制动表分发至与所述维度匹配的车辆,所述车辆用于在刹车时、按照所述参考制动参数对制动踏板进行制动。The brake table is distributed to vehicles matching the dimensions, and the vehicle is used to brake the brake pedal according to the reference brake parameter when braking.
  10. 根据权利要求9所述的方法,其中,所述将所述制动表分发至与所述维度匹配的车辆,包括:The method according to claim 9, wherein the distributing the brake meter to vehicles matching the dimension includes:
    确定所述制动表关联的车辆型号;Determine the vehicle model associated with the brake table;
    将所述制动表分发至属于所述车辆型号的车辆。Distribute the brake meter to vehicles belonging to the vehicle model.
  11. 一种制动表的更新方法,包括:A method for updating a brake table includes:
    接收刹车命令,所述刹车命令中具有命令加速度;Receiving a braking command, where the braking command has a commanded acceleration;
    响应于所述刹车命令,从预设的制动表中查找所述命令加速度对应的参考进程值;In response to the braking command, look up the reference process value corresponding to the commanded acceleration from a preset braking table;
    根据所述参考进程值对制动踏板进行制动;Brake the brake pedal according to the reference process value;
    确定所述制动踏板承受的实际制动加速度、实际进程值;Determine the actual braking acceleration and the actual progress value that the brake pedal is subjected to;
    将所述实际进程值、所述实际制动加速度作为实际制动参数更新所述制动 表。Update the braking table with the actual progress value and the actual braking acceleration as actual braking parameters.
  12. 根据权利要求11所述的方法,其中,所述接收刹车命令,包括:The method according to claim 11, wherein said receiving a braking command comprises:
    接收在满足如下条件时发布的刹车命令:Receive the brake command issued when the following conditions are met:
    自动驾驶模式且速度大于预设的阈值。Autopilot mode and the speed is greater than the preset threshold.
  13. 根据权利要求11所述的方法,还包括:The method according to claim 11, further comprising:
    计算所述命令加速度与所述制动踏板承受的总加速度之间的差值,作为加速度误差;Calculating the difference between the commanded acceleration and the total acceleration borne by the brake pedal as an acceleration error;
    基于所述加速度误差调整所述制动踏板的进程值。The progress value of the brake pedal is adjusted based on the acceleration error.
  14. 根据权利要求11-13任一项所述的方法,其中,所述确定所述制动踏板承受的实际制动加速度、实际进程值,包括:The method according to any one of claims 11-13, wherein the determining the actual braking acceleration and the actual progress value experienced by the brake pedal comprises:
    测量所述制动踏板承受的总加速度;Measuring the total acceleration experienced by the brake pedal;
    计算所述制动踏板在制动方向承受的重力加速度;Calculating the acceleration of gravity that the brake pedal bears in the braking direction;
    查询所述制动踏板在当前的速度承受的自由加速度;Query the free acceleration of the brake pedal at the current speed;
    在所述总加速度的基础下,减去所述重加速度与所述自由加速度,获得所述制动踏板承受的实际制动加速度。On the basis of the total acceleration, the heavy acceleration and the free acceleration are subtracted to obtain the actual braking acceleration borne by the brake pedal.
  15. 根据权利要求11-13任一项所述的方法,还包括:The method according to any one of claims 11-13, further comprising:
    若所述制动表发生异常,则将预设的第一配表或第二配表替换所述制动表;If the brake meter is abnormal, replace the brake meter with the preset first or second meter;
    其中,所述第一配表用于记录对某一车辆型号配置的进程值与制动加速度,所述第二配表用于记录车辆制造商对当前车辆配置的进程值与制动加速度,所述第一配表的优先级高于所述第二配表的优先级。Wherein, the first configuration table is used to record the process value and braking acceleration configured for a certain vehicle model, and the second configuration table is used to record the process value and braking acceleration configured by the vehicle manufacturer on the current vehicle. The priority of the first configuration table is higher than the priority of the second configuration table.
  16. 一种制动表的更新装置,包括:A device for updating a brake meter includes:
    实际制动参数采集模块,用于采集车辆刹车时制动踏板的实际制动参数;The actual braking parameter collection module is used to collect the actual braking parameters of the brake pedal when the vehicle is braking;
    实际制动参数分组模块,用于将所述实际制动参数按照预设的维度划分至多个分组中;The actual braking parameter grouping module is used to divide the actual braking parameters into multiple groups according to preset dimensions;
    参考制动参数计算模块,用于根据所述分组中的所述实际制动参数计算参考制动参数;A reference braking parameter calculation module, configured to calculate a reference braking parameter according to the actual braking parameter in the group;
    制动表更新模块,用于将所述参考制动参数更新至制动表中。The brake table update module is used to update the reference brake parameters to the brake table.
  17. 一种制动表的更新装置,包括:A device for updating a brake meter includes:
    刹车命令接收模块,用于接收刹车命令,所述刹车命令中具有命令加速度;The braking command receiving module is used to receive a braking command, and the braking command has a command acceleration;
    参考进程值查找模块,用于响应于所述刹车命令,从预设的制动表中查找所述命令加速度对应的参考进程值;The reference process value search module is configured to search for the reference process value corresponding to the commanded acceleration from a preset brake table in response to the brake command;
    制动模块,用于根据所述参考进程值对制动踏板进行制动;The brake module is used to brake the brake pedal according to the reference process value;
    实际制动参数确定模块,用于确定所述制动踏板承受的实际制动加速度、实际进程值;The actual braking parameter determination module is used to determine the actual braking acceleration and the actual progress value that the brake pedal bears;
    制动表更新模块,用于将所述实际进程值、所述实际制动加速度作为实际制动参数更新所述制动表。The braking table update module is used to update the braking table using the actual progress value and the actual braking acceleration as actual braking parameters.
  18. 一种计算机设备,包括:A computer equipment including:
    一个或多个处理器;One or more processors;
    存储器,用于存储一个或多个程序;Memory, used to store one or more programs;
    当所述一个或多个程序被所述一个或多个处理器执行,使得所述一个或多个处理器实现如权利要求1-15中任一项所述的制动表的更新方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method for updating the brake table according to any one of claims 1-15.
  19. 一种计算机可读存储介质,存储有计算机程序,其中,所述计算机程序被处理器执行时实现如权利要求1-15中任一项所述的制动表的更新方法。A computer-readable storage medium storing a computer program, wherein when the computer program is executed by a processor, the method for updating a braking table according to any one of claims 1-15 is realized.
PCT/CN2020/133099 2019-12-31 2020-12-01 Brake table updating method and apparatus, computer device and storage medium WO2021135788A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201911418588.1A CN110979287B (en) 2019-12-31 2019-12-31 Updating method and device of brake table, computer equipment and storage medium
CN201911418588.1 2019-12-31

Publications (1)

Publication Number Publication Date
WO2021135788A1 true WO2021135788A1 (en) 2021-07-08

Family

ID=70080126

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/133099 WO2021135788A1 (en) 2019-12-31 2020-12-01 Brake table updating method and apparatus, computer device and storage medium

Country Status (2)

Country Link
CN (1) CN110979287B (en)
WO (1) WO2021135788A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302010A (en) * 2023-05-22 2023-06-23 安徽中科星驰自动驾驶技术有限公司 Automatic driving system upgrade package generation method and device, computer equipment and medium

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110979287B (en) * 2019-12-31 2022-02-22 广州文远知行科技有限公司 Updating method and device of brake table, computer equipment and storage medium
CN111831391B (en) * 2020-06-08 2023-09-22 北京百度网讯科技有限公司 Method and device for managing preset containers in automatic driving simulation system
CN112379668A (en) * 2020-10-30 2021-02-19 深圳元戎启行科技有限公司 Vehicle control data calibration method and device, computer equipment and storage medium
CN112698051B (en) * 2021-03-23 2021-06-18 天津所托瑞安汽车科技有限公司 Vehicle speed determination method and device, equipment and medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5193062A (en) * 1990-02-07 1993-03-09 Nissan Motor Co., Ltd. Automatic vehicle driving system and method of driving the same on chassis dynamometer
CN103153723A (en) * 2011-06-27 2013-06-12 日产自动车株式会社 Vehicle brake control device
CN109311458A (en) * 2016-06-28 2019-02-05 日立汽车系统株式会社 Electrical braking device
WO2019043446A1 (en) * 2017-09-04 2019-03-07 Nng Software Developing And Commercial Llc A method and apparatus for collecting and using sensor data from a vehicle
CN109895770A (en) * 2019-04-03 2019-06-18 武汉理工大学 A kind of the vehicle cloud adaptive cruise control system and method for identity-based identification
CN110979287A (en) * 2019-12-31 2020-04-10 广州文远知行科技有限公司 Updating method and device of brake table, computer equipment and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
FR2722894B1 (en) * 1994-07-21 1996-08-23 Gec Alsthom Transport Sa AUTOMATIC STEERING SYSTEM AND METHOD FOR PROVIDING A SPEED SETPOINT IN SUCH A SYSTEM
JP4487956B2 (en) * 2006-03-10 2010-06-23 トヨタ自動車株式会社 Brake control device
JP4415959B2 (en) * 2006-03-15 2010-02-17 トヨタ自動車株式会社 Brake control device
JP4556945B2 (en) * 2006-12-07 2010-10-06 日産自動車株式会社 Acceleration detecting device, drift error correcting method for acceleration sensor, and neutral control device using the same
CN104143011B (en) * 2013-05-09 2016-04-20 广州汽车集团股份有限公司 Brake system Match Analysis and system
CN109556885B (en) * 2018-12-07 2020-05-05 安徽江淮汽车集团股份有限公司 Automatic driving control method and system for electric vehicle performance test

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5193062A (en) * 1990-02-07 1993-03-09 Nissan Motor Co., Ltd. Automatic vehicle driving system and method of driving the same on chassis dynamometer
CN103153723A (en) * 2011-06-27 2013-06-12 日产自动车株式会社 Vehicle brake control device
CN109311458A (en) * 2016-06-28 2019-02-05 日立汽车系统株式会社 Electrical braking device
WO2019043446A1 (en) * 2017-09-04 2019-03-07 Nng Software Developing And Commercial Llc A method and apparatus for collecting and using sensor data from a vehicle
CN109895770A (en) * 2019-04-03 2019-06-18 武汉理工大学 A kind of the vehicle cloud adaptive cruise control system and method for identity-based identification
CN110979287A (en) * 2019-12-31 2020-04-10 广州文远知行科技有限公司 Updating method and device of brake table, computer equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116302010A (en) * 2023-05-22 2023-06-23 安徽中科星驰自动驾驶技术有限公司 Automatic driving system upgrade package generation method and device, computer equipment and medium

Also Published As

Publication number Publication date
CN110979287A (en) 2020-04-10
CN110979287B (en) 2022-02-22

Similar Documents

Publication Publication Date Title
WO2021135788A1 (en) Brake table updating method and apparatus, computer device and storage medium
CN108074415B (en) Vehicle destination prediction method and system based on user behaviors
EP3317680B1 (en) System manager to adaptively manage data collection devices in distributed computing systems, corresponding method and corresponding machine readable medium
US20130297788A1 (en) Computer system and data management method
CN109299115A (en) A kind of date storage method, device, server and storage medium
CN110134738B (en) Distributed storage system resource estimation method and device
EP3646187B1 (en) Cost-based garbage collection scheduling in a distributed storage environment
CN111506413B (en) Intelligent task scheduling method and system based on business efficiency optimization
TWI677210B (en) Information loading method and device for enterprise object
CN107368490A (en) Data processing method and device
CN110232130B (en) Metadata management pedigree generation method, apparatus, computer device and storage medium
CN103294749A (en) File list generation method, system, and program, and file list generation device
CN107301094A (en) The dynamic self-adapting data model inquired about towards extensive dynamic transaction
CN115373857B (en) Data optimization system for economic management
CN116679879A (en) Satellite remote sensing data processing method, system and cloud platform
CN116794532A (en) Unmanned aerial vehicle battery electric quantity prediction method based on multi-mode sensor fusion algorithm
CN110909085A (en) Data processing method, device, equipment and storage medium
CN116279410A (en) Heading error compensation method, system, device and storage medium
EP2765517A2 (en) Data stream splitting for low-latency data access
US20210174563A1 (en) Visualizing a time series relation
CN113660237A (en) Industrial Internet data flow abnormity detection method based on dynamic sliding window, memory and processor
CN107391560B (en) Method and device for constructing variance optimization histogram
CN111930137A (en) Real-time optimization method for multi-source telemetering ballistic data frame
CN116719584B (en) Data processing method, apparatus, computer, storage medium, and program product
WO2024073938A1 (en) Vehicle speed prediction method and device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 20911165

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20911165

Country of ref document: EP

Kind code of ref document: A1