Vehicle control method and device, vehicle and storage medium
By obtaining the driving condition information of the vehicle, judging the vehicle self-weight learning enabling conditions and determining the actual quality, the problem of low vehicle control efficiency is solved, and higher control accuracy and driving safety are achieved.
Patent Information
- Application Number
- CN202410812489.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-21
- Publication Date
- 2024-10-18
AI Technical Summary
Existing vehicle control technology is inefficient and fails to effectively consider changes in vehicle weight when carrying people and objects, resulting in poor acceleration control accuracy.
By obtaining the driving condition information of the vehicle, including acceleration data and driving force data, it is determined whether the vehicle meets the vehicle self-weight learning enabling conditions, multiple data points are generated to determine the actual quality of the vehicle, and control is performed based on the actual quality.
It improves vehicle control accuracy and driving efficiency and ensures driving safety.
Smart Images

Figure CN118790230A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of autonomous driving technology, and in particular to a vehicle control method, a vehicle control device, a vehicle and a computer-readable storage medium. Background Art
[0002] With the continuous growth of the number of cars, there are more and more cars on the road, and traffic congestion is getting worse. Autonomous vehicles are comprehensive systems that integrate environmental perception, decision-making planning, and execution control. As one of the key technologies of autonomous vehicles, the quality of execution control will directly affect the stability, comfort, and speed following accuracy of the vehicle. Summary of the invention
[0003] One of the objects of the present invention is to provide a vehicle control method to solve the problem of low vehicle control efficiency in the prior art; the second object is to provide a vehicle control device; the third object is to provide a vehicle; and the fourth object is to provide a computer-readable storage medium.
[0004] In order to achieve the above object, the technical solution adopted by the present invention is as follows:
[0005] A vehicle control method, comprising:
[0006] Acquiring driving condition information for the vehicle; the driving condition information includes acceleration data and driving force data of the vehicle at multiple time points;
[0007] Determine the conditions for enabling vehicle self-weight learning;
[0008] When it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition, a plurality of the acceleration data and a plurality of the driving force data are used to generate a plurality of data points; the plurality of the data points correspond one-to-one to the plurality of the time points;
[0009] determining an actual mass of the vehicle using a plurality of the data points;
[0010] The vehicle is controlled based on the actual mass.
[0011] Further, the driving condition information includes a driving slope of the vehicle, and when it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition, the step of using the plurality of acceleration data and the plurality of driving force data to generate a plurality of data points includes:
[0012] Acquiring current speed data, current acceleration data, current driving force data and automatic driving state information of the vehicle through the driving condition information;
[0013] Determine whether the current acceleration data and the current driving force data are within a preset range, determine whether the vehicle is in an automatic driving state through the automatic driving state information, and determine whether the current speed of the vehicle reaches a preset speed threshold through the current speed data;
[0014] When it is determined that the current acceleration data and the current driving force data are within a preset range, and when it is determined through the automatic driving state information that the vehicle is in an automatic driving state, and when it is determined through the current speed data that the current speed of the vehicle reaches a preset speed threshold, multiple data points are generated using multiple acceleration data and multiple driving force data.
[0015] Further, the step of using a plurality of the data points to determine the actual mass of the vehicle comprises:
[0016] The number of data points for the data point is determined, and the acceleration data and driving force data corresponding to the data point are input into Formula 1 to obtain the actual mass of the vehicle. Formula 1 is:
[0017]
[0018] Among them, m is the actual mass, n is the number of data points, a is the acceleration data corresponding to the data point, F is the driving force data corresponding to the data point, and i is the index of the data point.
[0019] Further, the step of controlling the vehicle based on the actual quality includes:
[0020] determining a vehicle curb mass and a fully laden mass for the vehicle;
[0021] Determining a target mass range using the vehicle curb mass and fully loaded mass;
[0022] calculating an intercept parameter for the driving force data;
[0023] When the actual mass is within the target mass range and the intercept parameter is less than a preset deviation value, the actual mass is determined to be valid, and the actual mass is determined as the target mass;
[0024] The vehicle is controlled based on the target quality.
[0025] Furthermore, it also includes:
[0026] When it is determined that the current acceleration data and the current driving force data are not within a preset range, or it is determined through the automatic driving state information that the vehicle is not in an automatic driving state, or it is determined through the current speed data that the current speed of the vehicle does not reach a preset speed threshold, obtaining a historical actual mass for the vehicle;
[0027] determining the historical actual quality as the target quality;
[0028] The vehicle is controlled based on the target quality.
[0029] Furthermore, it also includes:
[0030] When the actual mass is not within the target mass range, or the intercept parameter is not less than a preset deviation value, the actual mass is determined to be invalid, and the historical actual mass is determined as the target mass;
[0031] The vehicle is controlled based on the target quality.
[0032] Further, the step of controlling the vehicle based on the target quality includes:
[0033] obtaining a requested acceleration and a drag coefficient for the vehicle;
[0034] calculating a braking coefficient and a driving coefficient for the vehicle based on the target mass, the requested acceleration, and the drag coefficient;
[0035] The vehicle is controlled using the braking coefficient and / or the driving coefficient.
[0036] A vehicle control device, comprising:
[0037] A driving condition information acquisition module, used to acquire driving condition information for the vehicle; the driving condition information includes acceleration data and driving force data of the vehicle at multiple time points;
[0038] A vehicle self-weight learning enabling condition determination module, used to determine the vehicle self-weight learning enabling condition;
[0039] a data point generating module, configured to generate a plurality of data points by using a plurality of the acceleration data and a plurality of the driving force data when it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition; the plurality of the data points correspond one-to-one to the plurality of the time points;
[0040] An actual mass removal module, for determining the actual mass of the vehicle using a plurality of the data points;
[0041] A vehicle control module is used to control the vehicle based on the actual mass.
[0042] A vehicle comprising:
[0043] one or more processors;
[0044] and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the vehicle to perform one or more of the methods described above.
[0045] A computer-readable storage medium stores instructions, which, when executed by one or more processors, enable the processors to execute the method according to the embodiment of the present invention.
[0046] Beneficial effects of the present invention:
[0047] According to an embodiment of the present invention, driving condition information of the vehicle is obtained; the driving condition information includes acceleration data and driving force data of the vehicle at multiple time points; a vehicle self-weight learning enabling condition is determined; when it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition, multiple data points are generated using multiple acceleration data and multiple driving force data; multiple data points correspond one-to-one to multiple time points; the actual mass of the vehicle is determined using multiple data points; the vehicle is controlled based on the actual mass, thereby improving the control accuracy of the vehicle and ensuring the driving efficiency and driving safety of the vehicle during driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] Figure 1 is a flow chart of steps of a vehicle control method provided in an embodiment of the present invention;
[0049] Figure 2 is a flow chart of a vehicle control method provided in an embodiment of the present invention;
[0050] Figure 3 It is a structural block diagram of a vehicle control device provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0051] The following will describe the embodiments of the present invention with reference to the accompanying drawings and preferred embodiments. Those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be understood that the preferred embodiments are only for illustrating the present invention, not for limiting the scope of protection of the present invention.
[0052] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.
[0053] In practical applications, vehicle longitudinal control mainly controls the vehicle speed, acceleration and driving distance by coordinating the driving and braking of the vehicle, so that the vehicle can travel at a predetermined speed. At present, most vehicle longitudinal control uses a fixed vehicle mass to control the vehicle, without considering the changes in vehicle weight when carrying people or goods during actual driving, resulting in poor accuracy of acceleration control in some cases.
[0054] Reference Figure 1 , shows a flow chart of the steps of a vehicle control method provided in an embodiment of the present invention, which may specifically include the following steps:
[0055] Step 101, obtaining driving condition information for the vehicle; the driving condition information includes acceleration data and driving force data of the vehicle at multiple time points;
[0056] Step 102, determining vehicle self-weight learning enabling conditions;
[0057] Step 103, when it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition, multiple data points are generated using the multiple acceleration data and the multiple driving force data; the multiple data points correspond to the multiple time points one by one;
[0058] Step 104, using a plurality of the data points to determine the actual mass of the vehicle;
[0059] Step 105: Control the vehicle based on the actual mass.
[0060] In a specific implementation, the embodiments of the present invention can be applied to a vehicle equipped with an intelligent driving system, and can also be applied to a server that controls the vehicle.
[0061] In actual applications, vehicles can be equipped with various sensors, which can be used to collect information about the engine, power system, environment, etc. For example, speed sensors, acceleration sensors, level sensors, and wheel-end driving force sensors installed near the wheels, etc.
[0062] The embodiment of the present invention may use sensors to obtain driving condition information, and the vehicle condition data may include but is not limited to:
[0063] Basic information: including vehicle identification number (VIN), vehicle model, engine model, transmission model, vehicle speed, time, date, mileage, etc.
[0064] Engine information: including engine speed, intake volume, fuel injection volume, ignition advance angle, exhaust emissions, etc.
[0065] Power system information: including wheel speed, wheel driving force, torque, drive wheel slip rate, etc.
[0066] Environmental information: including atmospheric temperature, pressure, humidity, wind speed, wind direction, etc.
[0067] Driver behavior information: including accelerator pedal position, brake pedal position, steering wheel angle, etc.
[0068] Specifically, vehicle operating data can be broken down into the following items:
[0069] Speed-time curve: describes the change of vehicle speed over time during driving.
[0070] Acceleration-time curve: describes the change of vehicle acceleration over time during driving.
[0071] Engine speed-torque curve: describes the torque output of the engine at different speeds.
[0072] Fuel consumption rate: indicates the fuel consumption of a vehicle per kilometer traveled under specific working conditions.
[0073] Tail gas emissions: refers to the amount of pollutants emitted by a vehicle under specific operating conditions.
[0074] It can be seen from the above that the driving condition information may at least include acceleration data and driving force data of the vehicle at multiple time points.
[0075] After obtaining the driving condition information, the vehicle self-weight learning enabling conditions can be determined, and the driving state of the vehicle can be judged through the condition information to determine whether it meets the vehicle self-weight learning enabling conditions. For example, the vehicle weight self-learning enabling conditions require that the vehicle wheel-end driving force, vehicle acceleration and slope acceleration meet a certain range of conditions, and the change amplitude should be small over a period of time. At the same time, the vehicle weight self-learning enabling should also include that the automatic driving function is currently activated and the vehicle speed reaches a certain threshold. When the automatic driving function is exited and the vehicle speed is 0, the vehicle weight self-learning reset is triggered to ensure that the vehicle weight is re-estimated under the condition of parking and function exit.
[0076] When it is determined through the driving condition information and the operating state information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition, multiple acceleration data and multiple driving force data are used to generate multiple data points, wherein the multiple data points can correspond to the multiple time points one by one;
[0077] Since data points can be used to determine the quality of the vehicle, obtaining multiple data points can ensure that when individual abnormal points appear, the large number of data points can effectively reduce the excessive impact of the abnormal points on the results.
[0078] The actual mass of the vehicle is determined using multiple data points. For example, the actual mass of the vehicle can be determined using a least square method based on the multiple data points.
[0079] Of course, the above examples are only examples, and those skilled in the art may use any other algorithm to determine the actual mass of the vehicle based on the data points, and the embodiments of the present invention are not limited to this.
[0080] After determining the actual mass, the embodiment of the present invention can control the vehicle based on the mass. For example, the braking or acceleration of the vehicle can be controlled according to the current actual mass of the vehicle to improve the control accuracy of the vehicle and ensure the driving efficiency and safety of the vehicle during driving.
[0081] According to an embodiment of the present invention, driving condition information of the vehicle is obtained; the driving condition information includes acceleration data and driving force data of the vehicle at multiple time points; a vehicle self-weight learning enabling condition is determined; when it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition, multiple data points are generated using multiple acceleration data and multiple driving force data; multiple data points correspond one-to-one to multiple time points; the actual mass of the vehicle is determined using multiple data points; the vehicle is controlled based on the actual mass, thereby improving the control accuracy of the vehicle and ensuring the driving efficiency and driving safety of the vehicle during driving.
[0082] Based on the above embodiment, a variant embodiment of the above embodiment is proposed. It should be noted that in order to make the description concise, only the differences from the above embodiment are described in the variant embodiment.
[0083] In an optional embodiment of the present invention, when it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition, the step of using the plurality of acceleration data and the plurality of driving force data to generate a plurality of data points includes:
[0084] Acquiring current speed data, current acceleration data, current driving force data and automatic driving state information of the vehicle through the driving condition information;
[0085] Determine whether the current acceleration data and the current driving force data are within a preset range, determine whether the vehicle is in an automatic driving state through the automatic driving state information, and determine whether the current speed of the vehicle reaches a preset speed threshold through the current speed data;
[0086] When it is determined that the current acceleration data and the current driving force data are within a preset range, and when it is determined through the automatic driving state information that the vehicle is in an automatic driving state, and when it is determined through the current speed data that the current speed of the vehicle reaches a preset speed threshold, multiple data points are generated using multiple acceleration data and multiple driving force data.
[0087] In a specific implementation, an embodiment of the present invention can obtain the vehicle's current speed data, current acceleration data, current driving force data and automatic driving status information through driving condition information. The above information can be real-time information used to characterize the current driving status of the vehicle.
[0088] Determine whether the current acceleration data and the current driving force data are within the preset range, determine whether the vehicle is in the automatic driving state through the automatic driving state information, and determine whether the current speed of the vehicle reaches the preset speed threshold through the current speed data; this judgment process can be used to determine whether the vehicle's driving state meets the vehicle self-weight learning enabling conditions, and if so, the vehicle can be started to calculate the vehicle weight.
[0089] When it is determined that the current acceleration data and the current driving force data are within a preset range, and the vehicle is determined to be in an automatic driving state through the automatic driving state information, and when it is determined through the current speed data that the current speed of the vehicle reaches a preset speed threshold, it means that the driving state of the vehicle meets the vehicle self-weight learning enabling conditions, and multiple acceleration data and multiple driving force data are used to generate multiple data points.
[0090] In an embodiment of the present invention, the current speed data, current acceleration data, current driving force data and automatic driving state information of the vehicle are obtained through the driving condition information; it is determined whether the current acceleration data and the current driving force data are within a preset range, and it is determined whether the vehicle is in an automatic driving state through the automatic driving state information, and it is determined whether the current speed of the vehicle reaches a preset speed threshold through the current speed data; when it is determined that the current acceleration data and the current driving force data are within the preset range, and it is determined that the vehicle is in an automatic driving state through the automatic driving state information, and it is determined that the current speed of the vehicle reaches a preset speed threshold through the current speed data, multiple acceleration data and multiple driving force data are used to generate multiple data points, and the determination process of reaching the vehicle self-weight learning enabling condition is refined, so that the vehicle can calculate its own actual mass under better conditions, avoid waste of computing power, and improve the calculation efficiency of the actual mass; further, it is also avoided that the vehicle calculates the actual mass under an inappropriate state, resulting in inaccurate actual mass obtained, further improving the control accuracy for the vehicle, and further ensuring the driving efficiency and driving safety of the vehicle during driving.
[0091] In an optional embodiment of the present invention, the step of using a plurality of the data points to determine the actual mass of the vehicle comprises:
[0092] The number of data points for the data point is determined, and the acceleration data and driving force data corresponding to the data point are input into Formula 1 to obtain the actual mass of the vehicle. Formula 1 is:
[0093]
[0094] Among them, m is the actual mass, n is the number of data points, a is the acceleration data corresponding to the data point, F is the driving force data corresponding to the data point, and i is the index of the data point.
[0095] For the number of data points n, the number of data points n is the total number of observations or measurements used to estimate the parameters of the linear regression model. In the context of the equation, n represents the total number of times the object acceleration ai and force Fi are measured.
[0096] The index i of each data point is a unique identifier that distinguishes each observation or measurement. In the equation, i ranges from 1 to n, indicating that the summation is performed over all n data points.
[0097] In summary, by estimating the mass m of an object, this principle minimizes the sum of the squared errors between the predicted mass value and the actual value obtained from the data. The equation uses the acceleration ai and force Fi measurements of the object at each data point i = 1, 2, ..., n.
[0098] Here is a breakdown of the equation:
[0099] Represents actual quality;
[0100] represents the sum of squared errors between the predicted quality values and the actual values obtained from the data;
[0101] represents the denominator used to normalize the sum of squared errors;
[0102] a i Represents the acceleration of the object at the i-th data point;
[0103] F i represents the force acting on the object at the i-th data point;
[0104] n represents the total number of data points;
[0105] aF represents the average value of the product of acceleration and driving force at all data points;
[0106] a 2 Represents the average of the squared accelerations of all data points.
[0107] In the embodiment of the present invention, the actual quality is calculated in the above manner, and the principle is relatively simple, easy to understand and implement. The model parameters are estimated by minimizing the residual sum of squares, which can be directly interpreted as the degree of influence of the independent variable on the dependent variable, making it easy to understand and interpret the model results.
[0108] In an optional embodiment of the present invention, the step of controlling the vehicle based on the actual mass includes:
[0109] determining a vehicle curb mass and a fully laden mass for the vehicle;
[0110] Determining a target mass range using the vehicle curb mass and fully loaded mass;
[0111] calculating an intercept parameter for the driving force data;
[0112] When the actual mass is within the target mass range and the intercept parameter is less than a preset deviation value, the actual mass is determined to be valid, and the actual mass is determined as the target mass;
[0113] The vehicle is controlled based on the target quality.
[0114] In practical applications, the actual weight just calculated is not necessarily accurate, so its validity needs to be further confirmed.
[0115] In a specific implementation, the embodiment of the present invention can determine the vehicle curb weight and fully loaded weight for the vehicle;
[0116] The vehicle's curb weight refers to the weight of the vehicle when it leaves the factory, under the prescribed technical conditions, with all components such as the body, chassis, power system, electrical system, transmission system, braking system, steering system, suspension system, interior trim, accessories, etc. complete, and with fuel, coolant, lubricating oil and other liquids added as required, but without any passengers or cargo on board.
[0117] The fully loaded mass of a vehicle refers to the mass of the vehicle when, under the prescribed technical conditions, all components such as the body, chassis, power system, electrical system, transmission system, braking system, steering system, suspension system, interior trim, accessories, etc. are complete, and fuel, coolant, lubricating oil and other liquids are added as required, and the vehicle is loaded with the maximum allowable load (including passengers, cargo and luggage).
[0118] Simply put, the vehicle's curb weight is the weight of an empty vehicle, and the vehicle's fully loaded weight is the weight of the vehicle when it is fully loaded with people or cargo.
[0119] The vehicle's curb weight and fully loaded mass are important technical parameters of the vehicle and have the following meanings:
[0120] Reflects the vehicle's overall quality level: vehicle curb weight and fully loaded weight are important indicators for measuring the vehicle's overall quality level. Generally speaking, the smaller the vehicle's curb weight, the better the vehicle's fuel economy and handling; the larger the vehicle's fully loaded weight, the greater the vehicle's load capacity.
[0121] Used to calculate the vehicle's fuel consumption: The vehicle's fuel consumption is closely related to the vehicle's curb weight and fully loaded mass. Generally speaking, the greater the vehicle's curb weight and fully loaded mass, the higher the vehicle's fuel consumption.
[0122] Used to calculate vehicle tolls: In some countries and regions, vehicle tolls are related to the vehicle's fully loaded mass. The greater the fully loaded mass of the vehicle, the higher the toll to be paid.
[0123] Used for vehicle safety evaluation: The vehicle's curb weight and fully loaded mass will affect the vehicle's braking performance, handling stability and other safety performance. Therefore, the vehicle's curb weight and fully loaded mass are important indicators for vehicle safety evaluation.
[0124] After determining the vehicle curb weight and fully loaded weight for the vehicle, the embodiment of the present invention can determine whether the calculated actual weight meets the usage conditions, that is, the actual weight should be greater than the vehicle curb weight and less than the vehicle fully loaded weight.
[0125] In the relationship between acceleration and driving force, the intercept is the value of the driving force when the acceleration is zero. = It represents the initial force that the object needs to overcome even if there is no acceleration.
[0126] In physics, Newton's second law describes the relationship between force, mass, and acceleration: F = ma
[0127] F is the force acting on the object
[0128] m is the mass of the object
[0129] a is the acceleration of the object
[0130] According to this law, if the acceleration is zero (a=0), then the force is also zero (F=0). However, in the real world, even if an object has no acceleration, there may be other forces such as drag or friction. These forces will resist the object's motion, so even if the acceleration is zero, some force needs to be applied to keep the object in motion.
[0131] Calculation of the intercept:
[0132] The intercepts of acceleration and driving force can be calculated experimentally or by fitting the data. For example, if we measure the force on an object at different accelerations, we can plot this data on a graph. The y-axis of the graph represents force and the x-axis represents acceleration. By fitting a linear fit to the data, we can get a straight line. The y-intercept of this line is the intercept of acceleration and driving force.
[0133] The meaning of intercept:
[0134] The intercept of acceleration and driving force is important in many fields of engineering and science. For example, in mechanical design, engineers need to consider factors such as friction to ensure that the machine will work properly. Knowing the intercept of acceleration and driving force can help engineers choose the right motor or drive device to provide enough force for the machine.
[0135] At the same time, since the acceleration and driving force should be in direct proportion, that is, the intercept is 0, the calculated intercept must also be less than the preset deviation value. If the above conditions are met, it means that the calculation is valid, and the self-learning vehicle weight is used as the target mass output. If the conditions are not met, the last self-learning vehicle weight, that is, the historical actual mass, is used as the target mass output.
[0136] In an embodiment of the present invention, the vehicle curb mass and fully loaded mass for the vehicle are determined; a target mass range is determined using the vehicle curb mass and fully loaded mass; an intercept parameter for the driving force data is calculated; when the actual mass is within the target mass range and the intercept parameter is less than a preset deviation value, the actual mass is determined to be valid, and the actual mass is determined as the target mass; the vehicle is controlled based on the target mass, thereby improving the validity of the target mass, further improving the control accuracy for the vehicle, and further ensuring the driving efficiency and driving safety of the vehicle during driving.
[0137] In an optional embodiment of the present invention, it is determined whether the current acceleration data and the current driving force data are within a preset range, and it is determined whether the vehicle is in an automatic driving state through the automatic driving state information, and it is determined whether the current speed of the vehicle reaches a preset speed threshold through the current speed data;
[0138] When it is determined that the current acceleration data and the current driving force data are not within a preset range, or it is determined through the automatic driving state information that the vehicle is not in an automatic driving state, or it is determined through the current speed data that the current speed of the vehicle does not reach a preset speed threshold, obtaining a historical actual mass for the vehicle;
[0139] determining the historical actual quality as the target quality;
[0140] The vehicle is controlled based on the target quality.
[0141] In a specific implementation, if it is determined that the current acceleration data and the current driving force data are not within a preset range, or it is determined through the automatic driving state information that the vehicle is not in the automatic driving state, or it is determined through the current speed data that the current speed of the vehicle does not reach the preset speed threshold, then it means that the current driving state of the vehicle does not meet the vehicle self-weight learning enabling conditions. If the actual vehicle weight is calculated under the current conditions, it is easy to cause inaccuracy. Therefore, the embodiment of the present invention can obtain the historical actual mass for the vehicle in this case, and determine the historical actual mass as the target mass, so as to realize the control of the vehicle based on the historical actual mass, thereby ensuring the continuity of the control of the vehicle.
[0142] In an optional embodiment of the present invention, it also includes:
[0143] Determining whether the actual mass is within the target mass range, and determining whether the intercept parameter is less than a preset deviation value;
[0144] When the actual mass is not within the target mass range, or the intercept parameter is not less than a preset deviation value, the actual mass is determined to be invalid, and the historical actual mass is determined as the target mass;
[0145] The vehicle is controlled based on the target quality.
[0146] In a specific implementation, if the actual mass is not within the target mass range, or the intercept parameter is not less than the preset deviation value, it means that the actual mass is invalid data. Therefore, the embodiment of the present invention can obtain the historical actual mass for the vehicle in this case, and determine the historical actual mass as the target mass, thereby realizing control of the vehicle based on the historical actual mass, thereby ensuring the continuity of control over the vehicle.
[0147] In an optional embodiment of the present invention, the step of controlling the vehicle based on the target quality comprises:
[0148] obtaining a requested acceleration and a drag coefficient for the vehicle;
[0149] calculating a braking coefficient and a driving coefficient for the vehicle based on the target mass, the requested acceleration, and the drag coefficient;
[0150] The vehicle is controlled using the braking coefficient and / or the driving coefficient.
[0151] In a specific implementation, the requested acceleration issued by the requested acceleration intelligent driving system of an embodiment of the present invention may be a target acceleration for the current road condition. The vehicle may determine the driving force based on the target acceleration so that the actual acceleration of the vehicle approaches the target acceleration, and the drag coefficient may be obtained from the driving condition information. By way of example, the drag coefficient may include but is not limited to rolling resistance, air resistance, slope resistance, and acceleration resistance.
[0152] Rolling Resistance: Rolling resistance, also known as rolling friction, refers to the friction between the tire and the road surface when the vehicle tire rolls. It is an important factor that affects fuel efficiency, especially at low speeds. Rolling resistance is mainly affected by factors such as tire type, inflation pressure, road surface conditions and vehicle weight.
[0153] Air Resistance: Air resistance, also called aerodynamic drag, is the opposing force exerted by the air on a moving vehicle. It becomes increasingly important as the speed of the vehicle increases. Air resistance depends on the shape of the vehicle, its frontal area, and the density of the air. Streamlined designs and reduced frontal area can significantly reduce air resistance.
[0154] Grade Resistance: Grade resistance, also known as climbing resistance, is the additional resistance that a vehicle must overcome when going uphill. It is proportional to the weight of the vehicle and the grade of the road. Grade resistance plays an important role in determining a vehicle's climbing ability and fuel consumption on a slope.
[0155] Acceleration Resistance: Acceleration resistance, also known as inertial resistance, is the force that resists a vehicle from accelerating or gaining speed. It is proportional to the mass and acceleration of the vehicle. Acceleration resistance is particularly important when accelerating from a standstill or when overtaking.
[0156] Together, these four drags affect a vehicle's fuel economy, performance, and overall driving experience. Understanding and minimizing these drags is critical to designing and building efficient and responsive vehicles.
[0157] Specifically, the vehicle braking force (braking coefficient) or driving force (driving coefficient) can be calculated in real time based on the target mass output by the front end and the acceleration requested by the intelligent driving system. Based on the longitudinal dynamics analysis of the vehicle;
[0158] When the vehicle is in braking control, the driving force is 0, and the braking coefficient is:
[0159] F bra ke=|-ma-(Ff+Fw+Fi+Fj) (Formula 2)
[0160] In the formula, F f 、F w 、F i 、F j ——They are rolling resistance, air resistance, slope resistance and acceleration resistance;
[0161] When the vehicle is accelerating, the braking force is 0, and the driving coefficient is:
[0162]
[0163] In the formula, K p , K i is the PI control coefficient; e is the ideal and actual control deviation of the driving force;
[0164] In the PI control system, the PI control coefficient refers to the general term for the proportional coefficient (Kp) and the integral coefficient (Ki). They are key parameters that affect the performance of the PI controller and are used to adjust the sensitivity and stability of the controller.
[0165] After determining the vehicle's braking coefficient and driving coefficient, the vehicle's desired braking force and driving force can be coordinated and controlled in real time according to the desired acceleration of autonomous driving (requested acceleration) and the vehicle weight self-learning value, so as to control the target vehicle to accelerate, decelerate or travel at a constant speed, thereby achieving higher longitudinal control accuracy.
[0166] In order to enable those skilled in the art to better understand the embodiments of the present invention, a complete example is used below to illustrate the embodiments of the present invention.
[0167] refer to Figure 2 , Figure 2 is a flow chart of a vehicle control method provided in an embodiment of the present invention;
[0168] The vehicle weight self-learning enabling conditions are set according to the vehicle performance and actual working conditions to ensure that the vehicle weight self-learning is performed under stable vehicle operation conditions. The vehicle weight self-learning enabling conditions require that the vehicle wheel-end driving force, vehicle acceleration and slope acceleration meet a certain range of conditions, and the change amplitude should be small over a period of time. At the same time, the vehicle weight self-learning enabling should also include that the autonomous driving function is currently activated and the vehicle speed reaches a certain threshold. When the autonomous driving function is exited and the vehicle speed is 0, the vehicle weight self-learning reset is triggered to ensure that the vehicle weight is re-estimated under parking and function exit conditions.
[0169] Determine whether the vehicle status meets the vehicle weight self-learning enabling conditions. In the autonomous driving state, the autonomous driving software will use sensor data in real time to determine whether the current vehicle condition meets the vehicle weight self-learning enabling conditions set in the first step. If the enabling conditions are met, the vehicle weight self-learning is triggered, otherwise, the last self-learning vehicle weight is used as the self-learning vehicle weight output. Currently, based on the autonomous driving test experiment, the initialization output vehicle weight uses the sum of the vehicle curb weight and the initialization load to meet the initialization control requirements before self-learning.
[0170] After the vehicle weight self-learning is triggered, the acceleration and driving force that meet the calculation requirements will be selected to form a group of (acceleration, driving force) points. It is worth noting that when the number of points is large enough, individual abnormal numerical points will have little effect on the results.
[0171] A set of (acceleration, driving force) points are selected under the current conditions, recorded as (a, F). The vehicle weight m is calculated using the least squares method. As shown in the following formula:
[0172]
[0173] Determine whether the calculated vehicle weight meets the use conditions, that is, the vehicle weight should be greater than the vehicle curb weight and less than the vehicle fully loaded weight. At the same time, since the acceleration and driving force should be in a positive proportional relationship, that is, the intercept is 0, the calculated intercept must also be less than a certain deviation value. If the above conditions are met, it means that the calculation is valid, and the self-learning vehicle weight is used as the vehicle weight output. If the conditions are not met, the last self-learning vehicle weight is used as the vehicle weight output.
[0174] The vehicle braking force or driving force is calculated in real time based on the front-end output vehicle weight and the acceleration requested by the intelligent driving system. According to the vehicle longitudinal dynamics analysis, when the vehicle is in braking control, the driving force is 0, and the braking force is:
[0175] F bra ke=|-ma-(Ff+Fw+Fi+Fj) (2)
[0176] In the formula, F f 、F w 、F i 、F j ——respectively rolling resistance, air resistance, slope resistance, and acceleration resistance, in N;
[0177] When the vehicle is accelerating, the braking force is 0, and the driving force is:
[0178]
[0179] In the formula, K p , K i ——PI control coefficient; e——the deviation between the ideal and actual control of driving force, N;
[0180] Based on the above method, the desired braking force and driving force of the vehicle can be coordinated and controlled in real time according to the desired acceleration of autonomous driving and the self-learning value of vehicle weight, so as to control the target vehicle to accelerate, decelerate or travel at a constant speed, thereby achieving higher longitudinal control accuracy.
[0181] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.
[0182] Reference Figure 3 , shows a structural block diagram of a vehicle control device provided in an embodiment of the present invention, which may specifically include the following modules:
[0183] A driving condition information acquisition module 301 is used to acquire driving condition information for the vehicle; the driving condition information includes acceleration data and driving force data of the vehicle at multiple time points;
[0184] A vehicle self-weight learning enabling condition determination module 302, used to determine a vehicle self-weight learning enabling condition;
[0185] A data point generating module 303 is used to generate a plurality of data points using a plurality of the acceleration data and a plurality of the driving force data when it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition; the plurality of the data points correspond to the plurality of the time points one by one;
[0186] An actual mass removal module 304 is used to determine the actual mass of the vehicle using a plurality of the data points;
[0187] The vehicle control module 305 is configured to control the vehicle based on the actual mass.
[0188] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0189] The embodiment of the present invention further discloses a vehicle, comprising:
[0190] one or more processors;
[0191] and one or more machine-readable media having instructions stored thereon, which, when executed by the one or more processors, cause the vehicle to perform one or more of the methods described above.
[0192] The embodiment of the present invention further discloses a computer-readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method described in the embodiment of the present invention.
[0193] The above embodiments are only preferred embodiments for fully illustrating the present invention, and the protection scope of the present invention is not limited thereto. Any equivalent substitution or change made by a person skilled in the art on the basis of the present invention is within the protection scope of the present invention.
Claims
1. A vehicle control method, characterized in that: include: Acquiring driving condition information for the vehicle; The driving condition information includes acceleration data and driving force data of the vehicle at multiple time points; Determine the conditions for enabling vehicle self-weight learning; When it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition, a plurality of the acceleration data and a plurality of the driving force data are used to generate a plurality of data points; The plurality of data points correspond one-to-one to the plurality of time points; determining an actual mass of the vehicle using a plurality of the data points; The vehicle is controlled based on the actual mass.
2. The method according to claim 1, characterized in that When it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition, the step of using the plurality of acceleration data and the plurality of driving force data to generate a plurality of data points comprises: Acquiring current speed data, current acceleration data, current driving force data and automatic driving state information of the vehicle through the driving condition information; Determine whether the current acceleration data and the current driving force data are within a preset range, determine whether the vehicle is in an automatic driving state through the automatic driving state information, and determine whether the current speed of the vehicle reaches a preset speed threshold through the current speed data; When it is determined that the current acceleration data and the current driving force data are within a preset range, and when it is determined through the automatic driving state information that the vehicle is in an automatic driving state, and when it is determined through the current speed data that the current speed of the vehicle reaches a preset speed threshold, multiple data points are generated using multiple acceleration data and multiple driving force data.
3. The method according to claim 1, characterized in that The step of using a plurality of the data points to determine the actual mass of the vehicle comprises: The number of data points for the data point is determined, and the acceleration data and driving force data corresponding to the data point are input into Formula 1 to obtain the actual mass of the vehicle. Formula 1 is: Among them, m is the actual mass, n is the number of data points, a is the acceleration data corresponding to the data point, F is the driving force data corresponding to the data point, and i is the index of the data point.
4. The method according to any one of claims 2 to 3, characterized in that: The step of controlling the vehicle based on the actual mass comprises: determining a vehicle curb mass and a fully laden mass for the vehicle; Determining a target mass range using the vehicle curb mass and fully loaded mass; calculating an intercept parameter for the driving force data; When the actual mass is within the target mass range and the intercept parameter is less than a preset deviation value, the actual mass is determined to be valid, and the actual mass is determined as the target mass; The vehicle is controlled based on the target quality.
5. The method according to claim 4, characterized in that Also includes: When it is determined that the current acceleration data and the current driving force data are not within a preset range, or it is determined through the automatic driving state information that the vehicle is not in an automatic driving state, or it is determined through the current speed data that the current speed of the vehicle does not reach a preset speed threshold, obtaining a historical actual mass for the vehicle; determining the historical actual quality as the target quality; The vehicle is controlled based on the target quality.
6. The method according to claim 5, characterized in that Also includes: When the actual mass is not within the target mass range, or the intercept parameter is not less than a preset deviation value, the actual mass is determined to be invalid, and the historical actual mass is determined as the target mass; The vehicle is controlled based on the target quality.
7. The method according to claim 6, characterized in that The step of controlling the vehicle based on the target quality comprises: obtaining a requested acceleration and a drag coefficient for the vehicle; calculating a braking coefficient and a driving coefficient for the vehicle based on the target mass, the requested acceleration, and the drag coefficient; The vehicle is controlled using the braking coefficient and / or the driving coefficient.
8. A vehicle control device, characterized in that: include: A driving condition information acquisition module, used to acquire driving condition information for the vehicle; The driving condition information includes acceleration data and driving force data of the vehicle at multiple time points; A vehicle self-weight learning enabling condition determination module, used to determine the vehicle self-weight learning enabling condition; a data point generating module, configured to generate a plurality of data points by using a plurality of the acceleration data and a plurality of the driving force data when it is determined through the driving condition information that the driving state of the vehicle meets the vehicle self-weight learning enabling condition; The plurality of data points correspond one-to-one to the plurality of time points; An actual mass removal module, for determining the actual mass of the vehicle using a plurality of the data points; A vehicle control module is used to control the vehicle based on the actual mass.
9. A vehicle, characterized in that: include: one or more processors; and One or more machine-readable media having instructions stored thereon, when executed by the one or more processors, cause the vehicle to perform the method of any one of claims 1-7.
10. A computer-readable storage medium, characterized in that: Instructions are stored thereon, which, when executed by one or more processors, cause the processors to perform the method according to any one of claims 1 to 7.
