Vehicle control method, computer readable storage medium and vehicle system

By determining the slope before the vehicle starts, and calculating the load based on the law of conservation of energy after starting, the problem of low vehicle load calculation accuracy is solved, the stability and accuracy of the load is achieved, and the control accuracy of the vehicle is ensured.

CN118579092APending Publication Date: 2024-09-03WEICHAI POWER CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410840032.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-26
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

The accuracy of vehicle load calculation in the existing technology is poor, especially when estimating dynamic slope, the error is large, making it difficult to ensure the accuracy and stability of load calculation.

Method used

The slope is determined by the acceleration sensor when the vehicle has not started, and during a period of operation without braking or shifting after starting, the load is calculated based on the law of conservation of energy to avoid the impact of instantaneous working conditions on the calculation results and achieve stability and accuracy of the load. sex.

Benefits of technology

Through this method, the accurate calculation of vehicle load is achieved, the complexity of dynamic estimation of slope and the error of load calculation are reduced, and the stable and reliable control of the vehicle is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118579092A
    Figure CN118579092A
Patent Text Reader

Abstract

The invention provides a vehicle control method, a computer readable storage medium and a vehicle system. The method comprises the steps that under the condition that a vehicle is not started, the gradient of the position where the vehicle is located is determined according to an acceleration sensor of the vehicle; under the condition that the vehicle meets the initial enabling condition, the driving mode of the vehicle is determined, the initial enabling condition includes that the vehicle is not braked and does not shift within the preset duration after starting, and the driving mode comprises one of the following modes: a pure electric mode, a hybrid mode and a pure oil mode; determining the load of the vehicle based on the law of conservation of energy according to the driving mode, the gradient and the vehicle speed of the vehicle within the preset duration; and executing a control strategy of the vehicle according to the load. The problem that in the prior art, the load calculation precision of the vehicle is poor is at least solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular, to a vehicle control method, a computer-readable storage medium, and a vehicle system. Background Art

[0002] In actual engineering applications, the mechanical load estimation scheme based on Newton's second law is greatly affected by the calibration of the rotational inertia loss of rotating parts and the accuracy of dynamic slope estimation. The rotational inertia needs to be calibrated and corrected, and the quality of the calibration has a great impact on the results. In addition, the mechanical scheme has high requirements on the accuracy of dynamic slope estimation, but the road conditions during dynamic driving are more complicated, and the accuracy of dynamic slope estimation is difficult to guarantee, and the error is large. Therefore, the corresponding algorithm must be used for error correction, but its convergence speed and results are difficult to guarantee. Summary of the invention

[0003] The main purpose of the present application is to provide a vehicle control method, a computer-readable storage medium and a vehicle system, so as to at least solve the problem of poor vehicle load calculation accuracy in the prior art.

[0004] In order to achieve the above-mentioned purpose, according to one aspect of the present application, a vehicle control method is provided, comprising: when the vehicle has not started, determining the slope of the location of the vehicle according to the acceleration sensor of the vehicle; when the vehicle meets the initial enabling condition, determining the driving mode of the vehicle, the initial enabling condition including that the vehicle remains without braking and shifting gears within a predetermined time after starting, and the driving mode includes one of the following: pure electric mode, hybrid mode, pure oil mode; according to the driving mode, the load of the vehicle is determined based on the law of conservation of energy according to the driving mode, the slope and the speed of the vehicle within the predetermined time; and according to the load, executing the control strategy of the vehicle.

[0005] Optionally, the load of the vehicle is determined based on the law of conservation of energy according to the driving mode, the slope and the vehicle speed within the predetermined time period, including: determining the driving energy consumption of the vehicle within the predetermined time period according to the driving mode; establishing a resistance energy consumption model between the driving resistance energy consumption of the vehicle and the load according to the slope and the vehicle speed within the predetermined time period; establishing a mechanical energy model between the mechanical energy of the vehicle and the load according to the slope, the starting speed and the ending speed, the starting speed being the vehicle speed corresponding to the starting time of the predetermined time period, and the ending speed being the vehicle speed corresponding to the ending time of the predetermined time period; based on the law of conservation of energy that the difference between the driving energy consumption and the driving resistance energy consumption is equal to the mechanical energy, the load is calculated according to the driving energy consumption, the resistance energy consumption model and the mechanical energy model.

[0006] Optionally, according to the slope and the vehicle speed within the predetermined time, a resistance energy consumption model between the vehicle's driving resistance energy consumption and the load is established, including: according to the vehicle's wind resistance coefficient, windward area and the vehicle speed within the predetermined time, determining the vehicle's wind resistance energy consumption as Among them, E w is the wind resistance energy consumption, t0 is the starting time, t1 is the ending time, C D is the drag coefficient of the vehicle, A is the frontal area of ​​the vehicle, v i is the vehicle speed; according to the slope, determining the slope angle corresponding to the slope; according to the slope angle and the vehicle speed within the predetermined time, establishing a rolling resistance energy consumption model between the rolling resistance energy consumption of the vehicle and the load as follows: Among them, E f is the rolling resistance energy consumption, u is the rolling friction coefficient of the tire of the vehicle, m is the load, θ is the slope angle, and g is the gravity coefficient; according to the wind resistance energy consumption and the rolling resistance energy consumption model, the resistance energy consumption model is determined as

[0007] Optionally, establishing a mechanical energy model between the mechanical energy of the vehicle and the load according to the slope, the speed at the start time and the speed at the end time includes: establishing a kinetic energy model of the vehicle according to the speed at the start time and the speed at the end time as Where, ΔE k is the kinetic energy of the vehicle, m is the load, v1 is the speed at the end time, and v0 is the speed at the start time; according to the slope, the height value of the vehicle traveling within the predetermined time period is determined; according to the height value, the potential energy model of the vehicle is established as ΔE p = mgΔh, where ΔE p is the potential energy of the vehicle, Δh is the height value, and g is the gravity coefficient; according to the potential energy model and the kinetic energy model, the mechanical energy model is determined to be the sum of the potential energy model and the kinetic energy model.

[0008] Optionally, according to the driving mode, the driving energy consumption of the vehicle within the predetermined time period is determined, including: when the driving mode is the pure electric mode, the driving energy consumption is determined to be the motor energy consumption of the vehicle within the predetermined time period; when the driving mode is the pure oil mode, the driving energy consumption is determined to be the engine energy consumption of the vehicle within the predetermined time period; when the driving mode is the hybrid mode, the driving energy consumption is determined to be the sum of the motor energy consumption and the engine energy consumption of the vehicle within the predetermined time period.

[0009] Optionally, when braking or gear shifting occurs within the predetermined time after the vehicle starts, the method further includes: determining the moving distance of the vehicle from the start of the vehicle to the occurrence of braking or gear shifting; when the moving distance is less than the predetermined distance, retiming to determine whether the vehicle meets the initial enabling condition; when the moving distance is not less than the predetermined distance, clearing the recorded data of the slope, the driving mode and the vehicle speed.

[0010] Optionally, according to the load, the control strategy of the vehicle is executed, including: according to the load, executing at least one of the following: correcting the shift point; allocating the torque for energy recovery; allocating the torque under the driving mode; determining the starting gear; when the driving mode is the hybrid mode, determining the operating strategy of the hybrid mode.

[0011] Optionally, executing the control strategy of the vehicle according to the load includes: when at least two of the loads are obtained, using a fitting method to correct the at least two loads to obtain corrected loads; and executing the control strategy of the vehicle according to the corrected loads.

[0012] According to another aspect of the present application, a computer-readable storage medium is provided, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute any one of the methods described.

[0013] According to another aspect of the present application, a vehicle system is provided, comprising: a vehicle; a controller of the vehicle, comprising one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of the described methods.

[0014] Applying the technical solution of the present application, when the vehicle has not started, firstly, according to the acceleration sensor of the vehicle, the slope of the position of the vehicle is determined; then, when the vehicle satisfies the initial enabling conditions including keeping no brakes and no gear shifting within a predetermined time after starting, the driving mode of the vehicle and the vehicle speed information of the vehicle within the predetermined time are determined; then, based on the law of conservation of energy, the load of the vehicle is determined according to the obtained driving mode, the slope and the vehicle speed; finally, according to the determined load, the corresponding control strategy is executed on the vehicle. The present application calculates the slope according to the acceleration sensor before the vehicle starts, avoiding the fluctuation of the detection signal of the acceleration sensor caused by factors such as vehicle vibration after the vehicle starts. Compared with calculating the slope under the dynamic condition of the vehicle, the present application realizes decoupling from the dynamic estimation of the slope, and the slope calculation is less difficult and the obtained slope is more accurate; and, the present application calculates the load of the vehicle based on the energy conservation in a period of operation without braking and gear shifting after starting, which can avoid the influence of the instantaneous working condition on the calculation result, so that the obtained load value is more stable, accurate and reliable, thereby realizing accurate control of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] The drawings constituting part of the present application are used to provide a further understanding of the present application. The exemplary embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0016] Figure 1 A hardware structure block diagram of a mobile terminal for executing a vehicle control method provided in an embodiment of the present application is shown;

[0017] Figure 2 A schematic flow chart of a vehicle control method provided according to an embodiment of the present application is shown;

[0018] Figure 3 A schematic flow chart of another vehicle control method provided according to an embodiment of the present application is shown;

[0019] Figure 4 A schematic flow chart of another vehicle control method provided according to an embodiment of the present application is shown;

[0020] Figure 5 A schematic flow chart of another vehicle control method provided according to an embodiment of the present application is shown;

[0021] Figure 6 A structural block diagram of a vehicle control device provided according to an embodiment of the present application is shown.

[0022] The above drawings include the following reference numerals:

[0023] 102, processor; 104, memory; 106, transmission device; 108, input and output devices. DETAILED DESCRIPTION

[0024] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0025] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequential order. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present application described here. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0027] In the prior art, based on the formula When using mechanical balance calculations, first of all, high requirements are placed on the accuracy of acceleration, because acceleration is in the denominator and has a high sensitivity. Secondly, the calculation of the resultant external force requires a high real-time slope estimation accuracy, and there are high requirements for the slope estimation effect. Therefore, the corresponding algorithm must be used in the model to process the error, and the convergence result and speed are difficult to guarantee.

[0028] As introduced in the background technology and the above content, the load calculation accuracy of the vehicle in the prior art is poor. To solve the above technical problems, the embodiments of the present application provide a vehicle control method, a computer-readable storage medium and a vehicle system.

[0029] The technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present invention.

[0030] The method embodiments provided in the embodiments of the present application can be executed in a mobile terminal, a computer terminal or a similar computing device. Taking running on a mobile terminal as an example, Figure 1FIG. 1 is a hardware structure block diagram of a mobile terminal of a vehicle control method according to an embodiment of the present invention. Figure 1 As shown, the mobile terminal may include one or more ( Figure 1 Only one is shown in the figure) a processor 102 (the processor 102 may include but is not limited to a processing device such as a microprocessor MCU or a programmable logic device FPGA) and a memory 104 for storing data, wherein the mobile terminal may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is for illustration only and does not limit the structure of the mobile terminal. Figure 1 More or fewer components as shown, or with Figure 1 Different configurations are shown.

[0031] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the vehicle control method in the embodiment of the present invention. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, the above method is implemented. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include a memory remotely arranged relative to the processor 102, and these remote memories can be connected to the mobile terminal via a network. Examples of the above-mentioned network include but are not limited to the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. The transmission device 106 is used to receive or send data via a network. The above-mentioned specific examples of the network may include a wireless network provided by a communication provider of the mobile terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 may be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0032] In this embodiment, a control method for a vehicle running on a mobile terminal, a computer terminal or a similar computing device is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0033] Figure 2is a flow chart of a vehicle control method according to an embodiment of the present application. Figure 2 As shown, the method comprises the following steps:

[0034] Step S201, when the vehicle has not started, determining the slope of the location of the vehicle according to the acceleration sensor of the vehicle;

[0035] Specifically, the slope is the tangent of the angle between the plane where the vehicle is located and the horizontal plane. When the vehicle is stationary, the acceleration signal of the acceleration sensor installed in the vehicle will not be affected by vibration, slope changes and other factors, and can more accurately represent the slope of the vehicle's current position.

[0036] Step S202, determining a driving mode of the vehicle when the vehicle meets an initial enabling condition, the initial enabling condition comprising that the vehicle does not brake or shift gears within a predetermined time after starting, and the driving mode comprises one of the following: a pure electric mode, a hybrid mode, and a pure oil mode;

[0037] Specifically, the timing starts when the vehicle starts and travels without braking or shifting gears. When the timing reaches the predetermined time, it is determined that the vehicle meets the initial enabling condition. The pure electric mode is a mode in which the vehicle is driven entirely by electricity. The hybrid mode is a hybrid power mode in which the vehicle is driven by a combination of electricity and oil. The pure oil mode is a mode in which the vehicle is driven entirely by oil.

[0038] Step S203, determining the load of the vehicle based on the law of conservation of energy according to the driving mode, the slope and the speed of the vehicle within the predetermined time period;

[0039] Specifically, the vehicle speed is the vehicle speed value of the vehicle at each moment within the predetermined time period. Based on the energy conservation law, the difference between the driving energy consumption and the resistance energy consumption of the vehicle is equal to the kinetic energy change plus the potential energy change of the vehicle.

[0040] Step S204: executing the control strategy of the vehicle according to the load.

[0041] Specifically, the control strategy is a strategy for controlling the operation of the vehicle determined according to the load of the vehicle.

[0042] Through the above embodiment, when the vehicle is not started, firstly, the slope of the location of the vehicle is determined according to the acceleration sensor of the vehicle; then, when the vehicle satisfies the initial enabling conditions including keeping no brakes and no gear shifting within the predetermined time after starting, the driving mode of the vehicle and the vehicle speed information of the vehicle within the predetermined time are determined; then, based on the law of conservation of energy, the load of the vehicle is determined according to the obtained driving mode, the slope and the vehicle speed; finally, according to the determined load, the corresponding control strategy is executed on the vehicle. The present application calculates the slope according to the acceleration sensor before the vehicle starts, avoiding the fluctuation of the detection signal of the acceleration sensor caused by factors such as vehicle vibration after the vehicle starts. Compared with calculating the slope under the dynamic condition of the vehicle, the present application realizes decoupling from the dynamic estimation of the slope, and the slope calculation is less difficult and the obtained slope is more accurate; and the present application calculates the load of the vehicle based on the energy conservation in a period of operation without braking and gear shifting after starting, which can avoid the influence of the instantaneous working condition on the calculation result, so that the obtained load value is more stable, accurate and reliable, thereby realizing accurate control of the vehicle.

[0043] In addition, the entire process of the present application is not affected by instantaneous acceleration, but only by vehicle speed, which further ensures that the obtained load is relatively stable. Since it is difficult to estimate the energy consumption changes caused by braking and shifting operations, the present application eliminates the influence of energy consumption changes caused by vehicle braking and shifting operations on load calculation, and can easily and accurately calculate the vehicle load according to the law of conservation of energy.

[0044] It should be noted that the above-mentioned predetermined time period is a relatively short period of time, so that the distance traveled by the above-mentioned vehicle from starting to the above-mentioned predetermined time period is shorter, thereby making the slope change caused by the movement of the vehicle smaller, ensuring that the slope before the vehicle starts can represent the actual slope of the position of the above-mentioned vehicle after the predetermined time period of starting.

[0045] In a specific application process, according to the acceleration sensor of the vehicle, the method of determining the slope of the position of the vehicle may include: determining the slope angle before starting to be ? according to the longitudinal acceleration detected by the acceleration sensor. Wherein, θ is the slope angle before starting, a is the longitudinal acceleration value, and g is the gravity coefficient; the percentage of the tangent value of the slope angle before starting is determined as the slope.

[0046] In one alternative, Figure 3 As shown, step S203: according to the driving mode, the slope and the speed of the vehicle within the predetermined time, the load of the vehicle is determined based on the law of conservation of energy, specifically including:

[0047] Step S2031: determining the driving energy consumption of the vehicle within the predetermined time period according to the driving mode;

[0048] Specifically, the above-mentioned driving modes are different, and the corresponding driving energy consumption is also different. According to the above-mentioned driving modes, the specific implementation method of determining the driving energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period may be: when the above-mentioned driving mode is the above-mentioned pure electric mode, the above-mentioned driving energy consumption is determined to be the motor energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period; when the above-mentioned driving mode is the above-mentioned pure oil mode, the above-mentioned driving energy consumption is determined to be the engine energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period; when the above-mentioned driving mode is the above-mentioned hybrid mode, the above-mentioned driving energy consumption is determined to be the sum of the above-mentioned motor energy consumption and the above-mentioned engine energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period.

[0049] Step S2032: establishing a resistance energy consumption model between the driving resistance energy consumption of the vehicle and the load according to the slope and the vehicle speed within the predetermined time period;

[0050] Specifically, the driving resistance energy consumption is the energy consumption generated by the vehicle overcoming the driving resistance during the operation of the vehicle. The driving resistance is related to the load of the vehicle, and specifically may include wind resistance and rolling resistance.

[0051] Step S2033: establishing a mechanical energy model between the mechanical energy of the vehicle and the load according to the slope, the starting speed and the ending speed, wherein the starting speed is the vehicle speed corresponding to the starting time of the predetermined duration, and the ending speed is the vehicle speed corresponding to the ending time of the predetermined duration;

[0052] Specifically, the mechanical energy includes the kinetic energy change and the potential energy change of the vehicle within the predetermined time period. The kinetic energy change and the potential energy change are both related to the load of the vehicle.

[0053] Step S2034: Based on the energy conservation law that the difference between the driving energy consumption and the driving resistance energy consumption is equal to the mechanical energy, the load is calculated according to the driving energy consumption, the resistance energy consumption model and the mechanical energy model.

[0054] Specifically, according to the above-mentioned law of conservation of energy, a relationship can be established that the difference between the above-mentioned driving energy consumption model and the resistance energy consumption model is equal to the above-mentioned mechanical energy model, and the above-mentioned load is obtained by solving the above-mentioned relationship.

[0055] In the above embodiment, according to the driving mode of the vehicle, the driving energy consumption of the vehicle within a predetermined time period is obtained, a model of the vehicle's driving resistance energy consumption with respect to the load and a model of the vehicle's mechanical energy change with respect to the energy consumption are established, and according to the relationship that the difference between mechanical energy and driving energy consumption and resistance energy consumption is equal, the above load is calculated through the driving energy consumption, resistance energy consumption model and mechanical energy model. The above scheme of the present application calculates the vehicle load based on the law of conservation of energy that the difference between mechanical energy and driving energy consumption and resistance energy consumption is equal. It is a load calculated based on the energy consumption of the vehicle within a certain operating cycle. Compared with the method of calculating the vehicle load using Newton's second law, the present application can optimize the disadvantage of large signal jumps in abnormal vehicle conditions, avoid the instantaneous impact caused by the difference in different vehicle operating cycles, and further ensure the high accuracy of load calculation.

[0056] In some optional embodiments, the specific method of determining the motor energy consumption of the vehicle within the predetermined time period may be to use the motor power integral, according to Calculated, E MT is the motor energy consumption, P MT is the power of the motor at time t, t0 is the start time, and t1 is the end time; the specific method of determining the driving energy consumption as the engine energy consumption of the vehicle within the predetermined time period can be to use the engine power integral, according to Calculated, E ENG is the engine energy consumption, P ENG is the power at time t.

[0057] Regarding the calculation method of the motor energy consumption and the engine energy consumption, in addition to the method given above, other methods can also be used to calculate and obtain the required results.

[0058] In order to obtain the above-mentioned resistance energy consumption model that characterizes the corresponding relationship between the driving resistance energy consumption and the vehicle load more efficiently and accurately, further, according to the above-mentioned slope and the above-mentioned vehicle speed within the above-mentioned predetermined time, a resistance energy consumption model between the driving resistance energy consumption of the above-mentioned vehicle and the above-mentioned load is established, including: according to the above-mentioned vehicle's wind resistance coefficient, windward area and each of the above-mentioned vehicle speeds within the above-mentioned predetermined time, determining the wind resistance energy consumption of the above-mentioned vehicle as Among them, E w is the wind resistance energy consumption, t0 is the start time, t1 is the end time, C D is the drag coefficient of the vehicle, A is the frontal area of ​​the vehicle, v i is the vehicle speed corresponding to the time ti, i∈[t0, t1]; according to the slope, the slope angle corresponding to the slope is determined; according to the slope angle and each of the vehicle speeds within the predetermined time, the rolling resistance energy consumption model between the rolling resistance energy consumption of the vehicle and the load is established as Among them, E f is the rolling resistance energy consumption, u is the rolling friction coefficient of the tire of the vehicle, m is the load, θ is the slope angle, and g is the gravity coefficient; according to the wind resistance energy consumption and the rolling resistance energy consumption model, the resistance energy consumption model is determined as follows:

[0059] In the above embodiment, the corresponding relationship between the resistance energy consumption model and the load within a period of time is determined, which can further eliminate the influence of the instantaneous influence caused by the difference in vehicle operation cycles on the load calculation, thereby further ensuring the subsequent load calculation accuracy.

[0060] like Figure 4 As shown, step S2033 of the present application: establishing a mechanical energy model between the mechanical energy of the vehicle and the load according to the slope, the speed at the start time and the speed at the end time, may include the following steps:

[0061] Step S20331: According to the above starting time speed and the above ending time speed, the kinetic energy model of the above vehicle is established as Where, ΔE k is the kinetic energy of the vehicle, m is the load, v1 is the speed at the end time, and v0 is the speed at the start time;

[0062] Step S20332: determining the height value of the vehicle traveling within the predetermined time period according to the slope;

[0063] Specifically, the corresponding slope angle can be determined according to the slope, and then the distance traveled by the vehicle within the predetermined time period can be calculated. Then, based on the slope angle and the distance, the product of the distance and the sine value of the slope angle can be determined as the height value.

[0064] Step S20333: According to the height value, establish the potential energy model of the vehicle as ΔE p = mgΔh, where ΔE p is the potential energy of the vehicle, Δh is the height value, and g is the gravity coefficient; according to the potential energy model and the kinetic energy model, the mechanical energy model is determined to be the sum of the potential energy model and the kinetic energy model.

[0065] In the above embodiment, by establishing a kinetic energy model that represents the relationship between the kinetic energy of the above-mentioned vehicle and the above-mentioned load within a predetermined time period, and establishing a potential energy model that represents the relationship between the potential energy of the above-mentioned vehicle and the above-mentioned load within a predetermined time period, the above-mentioned mechanical energy model can be obtained by adding the two models. The above-mentioned mechanical energy model represents the corresponding relationship between the mechanical energy of the above-mentioned vehicle and the vehicle load within a predetermined time period. The above-mentioned process is not affected by instantaneous acceleration and is only related to the initial and final speeds. In this way, the effect of calculating the vehicle load based on the energy consumption over a period of time can be achieved based on the corresponding relationship, the vehicle's driving energy consumption and the resistance energy consumption model, which further solves the problem of inaccurate load calculation caused by the instantaneous impact caused by the difference in vehicle operation cycles.

[0066] In addition, in order to further ensure the accuracy of load calculation, in some other embodiments of the present application, when braking or shifting occurs within the predetermined time period after the above-mentioned vehicle starts, the above-mentioned method also includes: determining the moving distance of the above-mentioned vehicle from the start of the above-mentioned vehicle to the time when braking or shifting occurs; when the above-mentioned moving distance is less than the predetermined distance, re-timing to determine whether the above-mentioned vehicle meets the above-mentioned initial enabling condition; when the above-mentioned moving distance is not less than the above-mentioned predetermined distance, clearing the recorded data of the above-mentioned slope, the above-mentioned driving mode and the above-mentioned vehicle speed.

[0067] In the above embodiment, when the moving distance of the vehicle from starting to the occurrence of the braking operation or the moving distance from starting to the occurrence of the gear shifting operation is long, the slope determined before the vehicle starts and the slope of the position where the vehicle is located after the predetermined time period may be greatly different. At this time, re-timing to determine whether the vehicle is in a non-braking and non-shifting condition within the predetermined time period, and the load calculated based on the slope value obtained before starting will be inaccurate, so in this case, the recorded data is cleared, and the load determination process of the present application is executed again after the vehicle is stationary again. When the moving distance of the vehicle from starting to the occurrence of the braking operation or the moving distance from starting to the occurrence of the gear shifting operation is short, the slope determined before the vehicle starts and the slope of the current position of the vehicle are not much different, and the slope can still represent the slope of the position where the vehicle is located after the predetermined time period, so at this time, re-timing can be performed from this position to determine whether the vehicle is in a non-braking and non-shifting condition within the predetermined time period and perform calculation.

[0068] In order to further achieve accurate control of the vehicle, optionally, according to the above-mentioned load, a control strategy of the above-mentioned vehicle is executed, including: according to the above-mentioned load, executing at least one of the following: correcting the shift point; allocating the torque for energy recovery; allocating the torque under the above-mentioned driving mode; determining the starting gear; and when the above-mentioned driving mode is a hybrid mode, determining the operating strategy of the above-mentioned hybrid mode, that is, determining the operating parameters of the motor and the operating parameters of the engine.

[0069] According to some further exemplary embodiments of the present application, the control strategy of the vehicle is executed according to the load, including: when at least two of the loads are obtained, at least two of the loads are corrected by a fitting method to obtain a corrected load; and the control strategy of the vehicle is executed according to the corrected load. The present application avoids the influence of abnormal points on the estimation effect by fitting and correcting the load, and can make the obtained load result more stable and reliable.

[0070] Specifically, the above-mentioned fitting method can be any suitable fitting correction method, including but not limited to the least squares method, Hough transform, RANSAC (Random Sample Consensus) algorithm, endpoint connection method, maximum deviation comparison method and interpolation method. In an optional scheme of the present application, the RLS (Recursive Least Squares) method is used to correct at least two of the above-mentioned loads.

[0071] In order to enable those skilled in the art to more clearly understand the technical solution of the present application, the implementation process of the vehicle control method of the present application will be described in detail below in conjunction with specific embodiments.

[0072] This embodiment relates to a specific vehicle control method, such as Figure 5 As shown, the following steps are included:

[0073] Step S1: After the HCU (ABS actuator) of the vehicle is initialized, the slope of the vehicle when it is stationary is latched;

[0074] Step S2: determining whether the driving mode of the vehicle is one of the following: pure electric mode, hybrid mode, and pure oil mode;

[0075] Step S3: After determining the driving mode and the slope latch, the decision of different driving mode calculation logics is made. If it is a pure electric mode, the pure electric calculation logic is triggered, and the state is recorded as S1; if it is a pure oil mode, the pure oil calculation logic is triggered, and the state is recorded as S2; if it is a hybrid mode, the hybrid calculation logic is triggered, and the state is recorded as S3;

[0076] Step S4: during the operation, determine whether the constraint conditions are met, including the constraints of not stepping on the brakes and not shifting gears. If the constraint conditions are met, perform continuous enabling timing. If the continuous enabling timing reaches a threshold, perform calculation. If the constraint conditions are not met or the threshold is not reached, perform a reset.

[0077] Step S5: If the state is S1, only the motor energy consumption is considered, recorded as E1; if the state is S2, only the engine energy consumption is considered, recorded as E2; if the state is S3, the sum of the motor energy consumption and the engine energy consumption needs to be considered, recorded as E=E1+E2;

[0078] Step S6: The motor energy consumption is calculated using the motor power integral, based on Formula 1: Calculation, engine energy consumption calculation uses engine power integration; based on formula 2: Calculation: The energy consumption of driving resistance is calculated based on the dynamic balance equation in automobile theory, including:

[0079] Wind resistance energy consumption, based on Formula 3: Calculate, record as E4;

[0080] Rolling resistance energy loss, based on Formula 4: calculate;

[0081] Kinetic energy change, based on Formula 5: calculate;

[0082] Potential energy change, based on Equation 6: ΔE p = mgh1-mgh0;

[0083] Based on the principle of energy conservation, the driving energy consumption minus the driving resistance energy consumption equals the kinetic energy change plus the potential energy change, that is, Formula 7: E Drv -E Los =ΔE k +ΔE p , build the load calculation equation;

[0084] Step S7: When the continuous enabling time reaches a certain threshold and meets the calculation requirements, the final enabling state is set to 1; if the continuous enabling time does not reach the certain threshold, the final enabling state is set to 0, and the results of formulas 1-6 are reset;

[0085] Step S8: If the final enable state is set to 1, combine formulas 1-6 to obtain the load If the final enable state is set to 0, reset;

[0086] Step S9: Perform RLS correction on the load calculated in step S8 and output the final load state for reference by other strategies.

[0087] Among them, since the vibration of the vehicle during operation and other factors will cause the acceleration signal to jump, thus affecting the accuracy of slope estimation, and the slope does not change much at the moment of starting, the above step S2 is performed to avoid the slope jumping caused by violent driving behaviors such as sudden acceleration and deceleration during driving. In addition to using RLS for correction, other algorithms can also be replaced to make the obtained load more stable.

[0088] The above scheme first locks the slope when the vehicle is stationary to avoid changes in the slope signal caused by vehicle vibration. It has low requirements on the accuracy of dynamic slope estimation and realizes dynamic decoupling of the slope. Secondly, it calculates the energy consumption of a certain stage, which can avoid the instantaneous impact caused by differences in scheduling cycles and is not affected by instantaneous acceleration. It is only related to the initial and final speeds. At the same time, after RLS correction, the result is further stabilized.

[0089] Compared with the original load estimation scheme, the influence of slope jump on load estimation is further considered to achieve decoupling from the dynamic estimation of slope and reduce errors. Compared with Newton's second law, this application can optimize the shortcomings of large signal jumps in abnormal working conditions. This application performs RLS correction on the initial estimate to make the result more stable. This application can be applied to vehicles of different configurations and has a high degree of platformization.

[0090] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0091] The embodiment of the present application also provides a control device for a vehicle. It should be noted that the control device for a vehicle in the embodiment of the present application can be used to execute the control method for a vehicle provided in the embodiment of the present application. The device is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware for a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceived.

[0092] The following is an introduction to the vehicle control device provided in the embodiments of the present application.

[0093] Figure 6 Schematic diagram of a vehicle control device according to an embodiment of the present application. Figure 6 As shown, the device comprises:

[0094] The first determination unit 10 is used to determine the slope of the position of the vehicle according to the acceleration sensor of the vehicle when the vehicle has not started;

[0095] Specifically, the slope is the tangent of the angle between the plane where the vehicle is located and the horizontal plane. When the vehicle is stationary, the acceleration signal of the acceleration sensor installed in the vehicle will not be affected by vibration, slope changes and other factors, and can more accurately represent the slope of the vehicle's current position.

[0096] A second determination unit 20 is used to determine a driving mode of the vehicle when the vehicle meets an initial enabling condition, wherein the initial enabling condition includes that the vehicle does not brake or shift gears within a predetermined time after starting, and the driving mode includes one of the following: a pure electric mode, a hybrid mode, and a pure oil mode;

[0097] Specifically, the timing starts when the vehicle starts and travels without braking or shifting gears. When the timing reaches the predetermined time, it is determined that the vehicle meets the initial enabling condition. The pure electric mode is a mode in which the vehicle is driven entirely by electricity. The hybrid mode is a hybrid power mode in which the vehicle is driven by a combination of electricity and oil. The pure oil mode is a mode in which the vehicle is driven entirely by oil.

[0098] a third determining unit 30, configured to determine the load of the vehicle based on the law of conservation of energy according to the driving mode, the slope and the speed of the vehicle within the predetermined time period;

[0099] Specifically, the vehicle speed is the vehicle speed value of the vehicle at each moment within the predetermined time period. Based on the energy conservation law, the difference between the driving energy consumption and the resistance energy consumption of the vehicle is equal to the kinetic energy change plus the potential energy change of the vehicle.

[0100] The execution unit 40 is used to execute the control strategy of the vehicle according to the load.

[0101] Specifically, the control strategy is a strategy for controlling the operation of the vehicle determined according to the load of the vehicle.

[0102] Through the above embodiment, when the above vehicle has not started, the first determination unit determines the slope of the location of the above vehicle according to the acceleration sensor of the above vehicle; the second determination unit determines the driving mode of the above vehicle and the vehicle speed information of the above vehicle within the above predetermined time period when the above vehicle meets the initial enabling conditions including maintaining no braking and no gear shifting within the predetermined time period after starting; the third determination unit determines the load of the vehicle based on the law of conservation of energy according to the obtained driving mode, the above slope and the above speed; and the execution unit executes the corresponding control strategy for the vehicle according to the determined load. The present application calculates the slope based on the acceleration sensor before the vehicle starts, thereby avoiding the fluctuation of the detection signal of the acceleration sensor caused by factors such as vehicle vibration after the vehicle starts. Compared with calculating the slope under the dynamic condition of the vehicle, the present application realizes decoupling from the dynamic estimation of the slope, and the slope calculation difficulty is relatively low and the obtained slope is relatively accurate. In addition, the present application calculates the load of the vehicle based on the conservation of energy during a period of operation without braking or shifting after starting, which can avoid the influence of instantaneous working conditions on the calculation results, so that the obtained load value is relatively stable, accurate and reliable, thereby realizing accurate control of the vehicle.

[0103] In addition, the entire process of the present application is not affected by instantaneous acceleration, but only by vehicle speed, which further ensures that the obtained load is relatively stable. Since it is difficult to estimate the energy consumption changes caused by braking and shifting operations, the present application eliminates the influence of energy consumption changes caused by vehicle braking and shifting operations on load calculation, and can easily and accurately calculate the vehicle load according to the law of conservation of energy.

[0104] It should be noted that the above-mentioned predetermined time period is a relatively short period of time, so that the distance traveled by the above-mentioned vehicle from starting to the above-mentioned predetermined time period is shorter, thereby making the slope change caused by the movement of the vehicle smaller, ensuring that the slope before the vehicle starts can represent the actual slope of the position of the above-mentioned vehicle after the predetermined time period of starting.

[0105] In a specific application process, the first determining unit includes: a first determining module, which is used to determine the slope angle before starting according to the longitudinal acceleration detected by the acceleration sensor. Wherein, θ is the slope angle before starting, a is the longitudinal acceleration value, and g is the gravity coefficient; the second determination module is used to determine the percentage of the tangent value of the slope angle before starting as the slope.

[0106] In an optional solution, the third determining unit includes:

[0107] A third determination module is used to determine the driving energy consumption of the vehicle within the predetermined time period according to the driving mode;

[0108] Specifically, the above-mentioned driving modes are different, and the corresponding driving energy consumption is also different. According to the above-mentioned driving modes, the specific implementation method of determining the driving energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period may be: when the above-mentioned driving mode is the above-mentioned pure electric mode, the above-mentioned driving energy consumption is determined to be the motor energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period; when the above-mentioned driving mode is the above-mentioned pure oil mode, the above-mentioned driving energy consumption is determined to be the engine energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period; when the above-mentioned driving mode is the above-mentioned hybrid mode, the above-mentioned driving energy consumption is determined to be the sum of the above-mentioned motor energy consumption and the above-mentioned engine energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period.

[0109] A first establishing module is used to establish a resistance energy consumption model between the driving resistance energy consumption of the vehicle and the load according to the slope and the vehicle speed within the predetermined time period;

[0110] Specifically, the driving resistance energy consumption is the energy consumption generated by the vehicle overcoming the driving resistance during the operation of the vehicle. The driving resistance is related to the load of the vehicle, and specifically may include wind resistance and rolling resistance.

[0111] A second establishing module is used to establish a mechanical energy model between the mechanical energy of the vehicle and the load according to the slope, the speed at the start time and the speed at the end time, wherein the speed at the start time is the vehicle speed corresponding to the start time of the predetermined time length, and the speed at the end time is the vehicle speed corresponding to the end time of the predetermined time length;

[0112] Specifically, the mechanical energy includes the kinetic energy change and the potential energy change of the vehicle within the predetermined time period. The kinetic energy change and the potential energy change are both related to the load of the vehicle.

[0113] A calculation module is used to calculate the load based on the energy conservation law that the difference between the driving energy consumption and the driving resistance energy consumption is equal to the mechanical energy, according to the driving energy consumption, the resistance energy consumption model and the mechanical energy model.

[0114] Specifically, according to the above-mentioned law of conservation of energy, a relationship can be established that the difference between the above-mentioned driving energy consumption model and the resistance energy consumption model is equal to the above-mentioned mechanical energy model, and the above-mentioned load is obtained by solving the above-mentioned relationship.

[0115] In the above embodiment, according to the driving mode of the vehicle, the driving energy consumption of the vehicle within a predetermined time period is obtained, a model of the vehicle's driving resistance energy consumption with respect to the load and a model of the vehicle's mechanical energy change with respect to the energy consumption are established, and according to the relationship that the difference between mechanical energy and driving energy consumption and resistance energy consumption is equal, the above load is calculated through the driving energy consumption, resistance energy consumption model and mechanical energy model. The above scheme of the present application calculates the vehicle load based on the law of conservation of energy that the difference between mechanical energy and driving energy consumption and resistance energy consumption is equal. It is a load calculated based on the energy consumption of the vehicle within a certain operating cycle. Compared with the method of calculating the vehicle load using Newton's second law, the present application can optimize the disadvantage of large signal jumps in abnormal vehicle conditions, avoid the instantaneous impact caused by the difference in different vehicle operating cycles, and further ensure the high accuracy of load calculation.

[0116] In some optional embodiments, the specific method of determining the motor energy consumption of the vehicle within the predetermined time period may be to use the motor power integral, according to Calculated, E MT is the motor energy consumption, P MT is the power of the motor at time t, t0 is the start time, and t1 is the end time; the specific method of determining the driving energy consumption as the engine energy consumption of the vehicle within the predetermined time period can be to use the engine power integral, according to Calculated, E ENG is the engine energy consumption, P ENG is the power at time t.

[0117] Regarding the calculation method of the motor energy consumption and the engine energy consumption, in addition to the method given above, other methods can also be used to calculate and obtain the required results.

[0118] In order to obtain the above-mentioned resistance energy consumption model that characterizes the corresponding relationship between the driving resistance energy consumption and the vehicle load more efficiently and accurately, the above-mentioned first establishment module further includes: a first determination submodule, which is used to determine the wind resistance energy consumption of the above-mentioned vehicle according to the wind resistance coefficient, the windward area and each of the above-mentioned vehicle speeds within the above-mentioned predetermined time period. Among them, E w is the wind resistance energy consumption, t0 is the start time, t1 is the end time, C D is the drag coefficient of the vehicle, A is the frontal area of ​​the vehicle, v i is the vehicle speed corresponding to the time ti, i∈[t0, t1]; the second determining submodule is used to determine the slope angle corresponding to the slope according to the slope; the first establishing submodule is used to establish the rolling resistance energy consumption model between the rolling resistance energy consumption of the vehicle and the load according to the slope angle and each of the vehicle speeds within the predetermined time period: Among them, E fis the rolling resistance energy consumption, u is the rolling friction coefficient of the tire of the vehicle, m is the load, θ is the slope angle, and g is the gravity coefficient; the third determination submodule is used to determine the resistance energy consumption model according to the wind resistance energy consumption and the rolling resistance energy consumption model.

[0119] In the above embodiment, the corresponding relationship between the resistance energy consumption model and the load within a period of time is determined, which can further eliminate the influence of the instantaneous influence caused by the difference in vehicle operation cycles on the load calculation, thereby further ensuring the subsequent load calculation accuracy.

[0120] The second establishment module of the present application may include:

[0121] The second establishment submodule is used to establish the kinetic energy model of the vehicle according to the speed at the start time and the speed at the end time: Where, ΔE k is the kinetic energy of the vehicle, m is the load, v1 is the speed at the end time, and v0 is the speed at the start time;

[0122] A fourth determination submodule is used to determine the height value of the vehicle traveling within the predetermined time period according to the slope;

[0123] Specifically, the corresponding slope angle can be determined according to the slope, and then the distance traveled by the vehicle within the predetermined time period can be calculated. Then, based on the slope angle and the distance, the product of the distance and the sine value of the slope angle can be determined as the height value.

[0124] The third establishment submodule is used to establish the potential energy model of the vehicle as ΔE according to the height value. p = mgΔh, where ΔE p is the potential energy of the vehicle, Δh is the height value, and g is the gravity coefficient; according to the potential energy model and the kinetic energy model, the mechanical energy model is determined to be the sum of the potential energy model and the kinetic energy model.

[0125] In the above embodiment, by establishing a kinetic energy model that represents the relationship between the kinetic energy of the above-mentioned vehicle and the above-mentioned load within a predetermined time period, and establishing a potential energy model that represents the relationship between the potential energy of the above-mentioned vehicle and the above-mentioned load within a predetermined time period, the above-mentioned mechanical energy model can be obtained by adding the two models. The above-mentioned mechanical energy model represents the corresponding relationship between the mechanical energy of the above-mentioned vehicle and the vehicle load within a predetermined time period. The above-mentioned process is not affected by instantaneous acceleration and is only related to the initial and final speeds. In this way, the effect of calculating the vehicle load based on the energy consumption over a period of time can be achieved based on the corresponding relationship, the vehicle's driving energy consumption and the resistance energy consumption model, which further solves the problem of inaccurate load calculation caused by the instantaneous impact caused by the difference in vehicle operation cycles.

[0126] In addition, in order to further ensure the accuracy of load calculation, in some other embodiments of the present application, the above method also includes: a fourth determination unit, which is used to determine the moving distance of the above vehicle from the start of the above vehicle to the occurrence of braking or gear shifting within the above predetermined time after the above vehicle starts; a timing unit, which is used to re-time and determine whether the above vehicle meets the above initial enabling condition when the above moving distance is less than the predetermined distance; and a clearing unit, which is used to clear the recorded data of the above slope, the above driving mode and the above vehicle speed when the above moving distance is not less than the above predetermined distance.

[0127] In the above embodiment, when the moving distance of the vehicle from starting to the occurrence of the braking operation or the moving distance from starting to the occurrence of the gear shifting operation is long, the slope determined before the vehicle starts and the slope of the position where the vehicle is located after the predetermined time period may be greatly different. At this time, re-timing to determine whether the vehicle is in a non-braking and non-shifting condition within the predetermined time period, and the load calculated based on the slope value obtained before starting will be inaccurate, so in this case, the recorded data is cleared, and the load determination process of the present application is executed again after the vehicle is stationary again. When the moving distance of the vehicle from starting to the occurrence of the braking operation or the moving distance from starting to the occurrence of the gear shifting operation is short, the slope determined before the vehicle starts and the slope of the current position of the vehicle are not much different, and the slope can still represent the slope of the position where the vehicle is located after the predetermined time period, so at this time, re-timing can be performed from this position to determine whether the vehicle is in a non-braking and non-shifting condition within the predetermined time period and perform calculation.

[0128] In order to further achieve accurate control of the vehicle, optionally, the above-mentioned execution unit includes: a first execution module, which is used to execute at least one of the following according to the above-mentioned load: correcting the shift point; allocating the torque for energy recovery; allocating the torque under the above-mentioned driving mode; determining the starting gear; when the above-mentioned driving mode is a hybrid mode, determining the operating strategy of the above-mentioned hybrid mode, that is, determining the operating parameters of the motor and the operating parameters of the engine.

[0129] According to some further exemplary embodiments of the present application, the execution unit includes: a correction module, which is used to correct the at least two loads by a fitting method to obtain the corrected loads when at least two loads are obtained; and a second execution module, which is used to execute the control strategy of the vehicle according to the corrected loads. The present application avoids the influence of abnormal points on the estimation effect by fitting and correcting the loads, and can make the obtained load results more stable and reliable.

[0130] Specifically, the above-mentioned fitting method can be any suitable fitting correction method, including but not limited to the least squares method, Hough transform, RANSAC (Random Sample Consensus) algorithm, endpoint connection method, maximum deviation comparison method and interpolation method. In an optional scheme of the present application, the RLS (Recursive Least Squares) method is used to correct at least two of the above-mentioned loads.

[0131] The control device of the vehicle includes a processor and a memory, and the first determination unit, the second determination unit, the third determination unit, and the execution unit are all stored in the memory as program units, and the processor executes the program units stored in the memory to implement corresponding functions. The modules are all located in the same processor; or, the modules are located in different processors in any combination.

[0132] The processor includes a kernel, and the kernel retrieves the corresponding program unit from the memory. One or more kernels can be provided, and the problem of poor accuracy in vehicle load calculation in the prior art can be at least solved by adjusting kernel parameters.

[0133] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory, such as read-only memory (ROM) or flash RAM, and the memory includes at least one memory chip.

[0134] An embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the vehicle control method.

[0135] Specifically, the vehicle control method includes:

[0136] Step S201, when the vehicle has not started, determining the slope of the location of the vehicle according to the acceleration sensor of the vehicle;

[0137] Specifically, the slope is the tangent of the angle between the plane where the vehicle is located and the horizontal plane. When the vehicle is stationary, the acceleration signal of the acceleration sensor installed in the vehicle will not be affected by vibration, slope changes and other factors, and can more accurately represent the slope of the vehicle's current position.

[0138] Step S202, determining a driving mode of the vehicle when the vehicle meets an initial enabling condition, the initial enabling condition comprising that the vehicle does not brake or shift gears within a predetermined time after starting, and the driving mode comprises one of the following: a pure electric mode, a hybrid mode, and a pure oil mode;

[0139] Specifically, the timing starts when the vehicle starts and travels without braking or shifting gears. When the timing reaches the predetermined time, it is determined that the vehicle meets the initial enabling condition. The pure electric mode is a mode in which the vehicle is driven entirely by electricity. The hybrid mode is a hybrid power mode in which the vehicle is driven by a combination of electricity and oil. The pure oil mode is a mode in which the vehicle is driven entirely by oil.

[0140] Step S203, determining the load of the vehicle based on the law of conservation of energy according to the driving mode, the slope and the speed of the vehicle within the predetermined time period;

[0141] Specifically, the vehicle speed is the vehicle speed value of the vehicle at each moment within the predetermined time period. Based on the energy conservation law, the difference between the driving energy consumption and the resistance energy consumption of the vehicle is equal to the kinetic energy change plus the potential energy change of the vehicle.

[0142] Step S204: executing the control strategy of the vehicle according to the load.

[0143] Specifically, the control strategy is a strategy for controlling the operation of the vehicle determined according to the load of the vehicle.

[0144] An embodiment of the present invention provides a processor, the processor is used to run a program, wherein the vehicle control method is executed when the program is run. Specifically, the vehicle control method includes:

[0145] Step S201, when the vehicle has not started, determining the slope of the location of the vehicle according to the acceleration sensor of the vehicle;

[0146] Specifically, the slope is the tangent of the angle between the plane where the vehicle is located and the horizontal plane. When the vehicle is stationary, the acceleration signal of the acceleration sensor installed in the vehicle will not be affected by vibration, slope changes and other factors, and can more accurately represent the slope of the vehicle's current position.

[0147] Step S202, determining a driving mode of the vehicle when the vehicle meets an initial enabling condition, the initial enabling condition comprising that the vehicle does not brake or shift gears within a predetermined time after starting, and the driving mode comprises one of the following: a pure electric mode, a hybrid mode, and a pure oil mode;

[0148] Specifically, the timing starts when the vehicle starts and travels without braking or shifting gears. When the timing reaches the predetermined time, it is determined that the vehicle meets the initial enabling condition. The pure electric mode is a mode in which the vehicle is driven entirely by electricity. The hybrid mode is a hybrid power mode in which the vehicle is driven by a combination of electricity and oil. The pure oil mode is a mode in which the vehicle is driven entirely by oil.

[0149] Step S203, determining the load of the vehicle based on the law of conservation of energy according to the driving mode, the slope and the speed of the vehicle within the predetermined time period;

[0150] Specifically, the vehicle speed is the vehicle speed value of the vehicle at each moment within the predetermined time period. Based on the energy conservation law, the difference between the driving energy consumption and the resistance energy consumption of the vehicle is equal to the kinetic energy change plus the potential energy change of the vehicle.

[0151] Step S204: executing the control strategy of the vehicle according to the load.

[0152] Specifically, the control strategy is a strategy for controlling the operation of the vehicle determined according to the load of the vehicle.

[0153] An embodiment of the present invention provides a device, the device including a processor, a memory, and a program stored in the memory and executable on the processor, and when the processor executes the program, at least the following steps are implemented:

[0154] Step S201, when the vehicle has not started, determining the slope of the location of the vehicle according to the acceleration sensor of the vehicle;

[0155] Step S202, determining a driving mode of the vehicle when the vehicle meets an initial enabling condition, the initial enabling condition comprising that the vehicle does not brake or shift gears within a predetermined time after starting, and the driving mode comprises one of the following: a pure electric mode, a hybrid mode, and a pure oil mode;

[0156] Step S203, determining the load of the vehicle based on the law of conservation of energy according to the driving mode, the slope and the speed of the vehicle within the predetermined time period;

[0157] Step S204: executing the control strategy of the vehicle according to the load.

[0158] The devices in this article can be servers, PCs, PADs, mobile phones, etc.

[0159] The present application also provides a computer program product, including computer instructions, which, when executed by a processor, at least implement the following method steps:

[0160] Step S201, when the vehicle has not started, determining the slope of the location of the vehicle according to the acceleration sensor of the vehicle;

[0161] Step S202, determining a driving mode of the vehicle when the vehicle meets an initial enabling condition, the initial enabling condition comprising that the vehicle does not brake or shift gears within a predetermined time after starting, and the driving mode comprises one of the following: a pure electric mode, a hybrid mode, and a pure oil mode;

[0162] Step S203, determining the load of the vehicle based on the law of conservation of energy according to the driving mode, the slope and the speed of the vehicle within the predetermined time period;

[0163] Step S204: executing the control strategy of the vehicle according to the load.

[0164] An embodiment of the present application also provides a vehicle system, comprising: a vehicle; a controller of the vehicle, comprising one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and configured to be executed by the one or more processors, and the one or more programs include means for executing any one of the methods described above.

[0165] In the above-mentioned vehicle system, the vehicle controller executes any one of the above-mentioned methods to control the vehicle. This method calculates the slope based on the acceleration sensor before the vehicle starts, thereby avoiding the fluctuation of the detection signal of the acceleration sensor caused by factors such as vehicle vibration after the vehicle starts. Compared with calculating the slope under dynamic conditions of the vehicle, the present application realizes decoupling from dynamic estimation of the slope, and the slope calculation difficulty is relatively low and the obtained slope is relatively accurate; and, the present application calculates the load of the vehicle based on the conservation of energy in a period of operation without braking or shifting after starting, which can avoid the influence of instantaneous working conditions on the calculation results, so that the obtained load value is relatively stable, accurate and reliable, thereby realizing accurate control of the vehicle.

[0166] Optionally, the load of the vehicle is determined based on the law of conservation of energy according to the driving mode, the slope and the speed of the vehicle within the predetermined time period, including: determining the driving energy consumption of the vehicle within the predetermined time period according to the driving mode; establishing a resistance energy consumption model between the driving resistance energy consumption of the vehicle and the load according to the slope and the speed within the predetermined time period; establishing a mechanical energy model between the mechanical energy of the vehicle and the load according to the slope, the starting speed and the ending speed, the starting speed being the vehicle speed corresponding to the starting time of the predetermined time period, and the ending speed being the vehicle speed corresponding to the ending time of the predetermined time period; based on the law of conservation of energy that the difference between the driving energy consumption and the driving resistance energy consumption is equal to the mechanical energy, the load is calculated according to the driving energy consumption, the resistance energy consumption model and the mechanical energy model.

[0167] Optionally, according to the slope and the vehicle speed within the predetermined time, a resistance energy consumption model between the driving resistance energy consumption of the vehicle and the load is established, including: according to the drag coefficient, the frontal area and the vehicle speed within the predetermined time, determining the wind resistance energy consumption of the vehicle as Among them, E w is the wind resistance energy consumption, t0 is the start time, t1 is the end time, C D is the drag coefficient of the vehicle, A is the frontal area of ​​the vehicle, v i is the vehicle speed; according to the slope, the slope angle corresponding to the slope is determined; according to the slope angle and the vehicle speed within the predetermined time, a rolling resistance energy consumption model between the rolling resistance energy consumption of the vehicle and the load is established as Among them, E f is the rolling resistance energy consumption, u is the rolling friction coefficient of the tire of the vehicle, m is the load, θ is the slope angle, and g is the gravity coefficient; according to the wind resistance energy consumption and the rolling resistance energy consumption model, the resistance energy consumption model is determined as follows:

[0168] Optionally, according to the slope, the speed at the start time and the speed at the end time, a mechanical energy model between the mechanical energy of the vehicle and the load is established, including: according to the speed at the start time and the speed at the end time, a kinetic energy model of the vehicle is established as Where, ΔE k is the kinetic energy of the vehicle, m is the load, v1 is the speed at the end time, and v0 is the speed at the start time; according to the slope, the height value of the vehicle traveling within the predetermined time period is determined; according to the height value, the potential energy model of the vehicle is established as ΔE p = mgΔh, where ΔEp is the potential energy of the vehicle, Δh is the height value, and g is the gravity coefficient; according to the potential energy model and the kinetic energy model, the mechanical energy model is determined to be the sum of the potential energy model and the kinetic energy model.

[0169] Optionally, according to the above-mentioned driving mode, the driving energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period is determined, including: when the above-mentioned driving mode is the above-mentioned pure electric mode, the above-mentioned driving energy consumption is determined to be the motor energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period; when the above-mentioned driving mode is the above-mentioned pure oil mode, the above-mentioned driving energy consumption is determined to be the engine energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period; when the above-mentioned driving mode is the above-mentioned hybrid mode, the above-mentioned driving energy consumption is determined to be the sum of the above-mentioned motor energy consumption and the above-mentioned engine energy consumption of the above-mentioned vehicle within the above-mentioned predetermined time period.

[0170] Optionally, when braking or gear shifting occurs within the predetermined time after the vehicle starts, the method further includes: determining the moving distance of the vehicle from the start of the vehicle to the braking or gear shifting; when the moving distance is less than the predetermined distance, retiming to determine whether the vehicle meets the initial enabling condition; when the moving distance is not less than the predetermined distance, clearing the recorded data of the slope, the driving mode and the vehicle speed.

[0171] Optionally, according to the above-mentioned load, the control strategy of the above-mentioned vehicle is executed, including: according to the above-mentioned load, executing at least one of the following: correcting the shift point; allocating the torque for energy recovery; allocating the torque under the above-mentioned driving mode; determining the starting gear; when the above-mentioned driving mode is the hybrid mode, determining the operating strategy of the above-mentioned hybrid mode.

[0172] Optionally, executing the control strategy of the vehicle according to the loads, includes: when at least two of the loads are obtained, correcting the at least two loads using a fitting method to obtain corrected loads; and executing the control strategy of the vehicle according to the corrected loads.

[0173] Obviously, those skilled in the art should understand that the above modules or steps of the present invention can be implemented by a general computing device, they can be concentrated on a single computing device, or distributed on a network composed of multiple computing devices, they can be implemented by a program code executable by a computing device, so that they can be stored in a storage device and executed by the computing device, and in some cases, the steps shown or described can be executed in a different order than here, or they can be made into individual integrated circuit modules, or multiple modules or steps therein can be made into a single integrated circuit module for implementation. Thus, the present invention is not limited to any specific combination of hardware and software.

[0174] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0175] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0176] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0177] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0178] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0179] The memory may include non-permanent memory in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0180] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0181] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0182] The above description is only the preferred embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application shall be included in the protection scope of the present application.

Claims

1. A vehicle control method, characterized in that: include: When the vehicle has not started, determining the slope of the location of the vehicle according to an acceleration sensor of the vehicle; When the vehicle meets an initial enabling condition, determining a driving mode of the vehicle, wherein the initial enabling condition includes that the vehicle does not brake or shift gears within a predetermined time after starting, and the driving mode includes one of the following: a pure electric mode, a hybrid mode, and a pure oil mode; determining the load of the vehicle based on the law of conservation of energy according to the driving mode, the slope, and the speed of the vehicle within the predetermined time period; A control strategy for the vehicle is executed based on the load.

2. The method according to claim 1, characterized in that The method further comprises: determining the load of the vehicle based on the law of conservation of energy according to the driving mode, the slope, and the speed of the vehicle within the predetermined time period, including: Determining the driving energy consumption of the vehicle within the predetermined time period according to the driving mode; Establishing a resistance energy consumption model between the driving resistance energy consumption of the vehicle and the load according to the slope and the vehicle speed within the predetermined time period; A mechanical energy model between the mechanical energy of the vehicle and the load is established according to the slope, the speed at the start time and the speed at the end time, wherein the speed at the start time is the vehicle speed corresponding to the start time of the predetermined time length, and the speed at the end time is the vehicle speed corresponding to the end time of the predetermined time length; Based on the energy conservation law that the difference between the driving energy consumption and the running resistance energy consumption is equal to the mechanical energy, the load is calculated according to the driving energy consumption, the resistance energy consumption model and the mechanical energy model.

3. The method according to claim 2, characterized in that According to the slope and the vehicle speed within the predetermined time period, a resistance energy consumption model between the driving resistance energy consumption of the vehicle and the load is established, including: According to the drag coefficient, the frontal area and the vehicle speed within the predetermined time period, the wind resistance energy consumption of the vehicle is determined as Among them, E w is the wind resistance energy consumption, t0 is the starting time, t1 is the ending time, C D is the drag coefficient of the vehicle, A is the frontal area of ​​the vehicle, v i is the vehicle speed; According to the slope, determining a slope angle corresponding to the slope; According to the slope angle and the vehicle speed within the predetermined time period, a rolling resistance energy consumption model between the rolling resistance energy consumption of the vehicle and the load is established as follows: Among them, E f is the rolling resistance energy consumption, u is the rolling friction coefficient of the vehicle tire, m is the load, θ is the slope angle, g is the gravity coefficient; According to the wind resistance energy consumption and the rolling resistance energy consumption model, the resistance energy consumption model is determined as follows:

4. The method according to claim 2, characterized in that: According to the slope, the speed at the start time and the speed at the end time, a mechanical energy model between the mechanical energy of the vehicle and the load is established, including: According to the starting speed and the ending speed, the kinetic energy model of the vehicle is established as: Among them, ΔE k is the kinetic energy of the vehicle, m is the load, v1 is the speed at the end time, and v0 is the speed at the start time; Determining a travel height value of the vehicle within the predetermined time period according to the slope; According to the height value, the potential energy model of the vehicle is established as ΔE p = mgΔh, where ΔE p is the potential energy of the vehicle, Δh is the height value, and g is the gravity coefficient; According to the potential energy model and the kinetic energy model, the mechanical energy model is determined to be the sum of the potential energy model and the kinetic energy model.

5. The method according to claim 2, characterized in that: Determining the driving energy consumption of the vehicle within the predetermined time period according to the driving mode includes: When the driving mode is the pure electric mode, determining the driving energy consumption as the motor energy consumption of the vehicle within the predetermined time period; When the driving mode is the pure oil mode, determining the driving energy consumption as the engine energy consumption of the vehicle within the predetermined time period; When the driving mode is the hybrid mode, the driving energy consumption is determined as the sum of the motor energy consumption and the engine energy consumption of the vehicle within the predetermined time period.

6. The method according to any one of claims 1 to 5, characterized in that In the case where braking or gear shifting occurs within the predetermined time after the vehicle starts, the method further includes: Determine the distance traveled by the vehicle from the time the vehicle starts to the time braking or shifting occurs; In the case where the moving distance is less than a predetermined distance, re-timing to determine whether the vehicle meets the initial enabling condition; When the moving distance is not less than the predetermined distance, the recorded data of the slope, the driving mode and the vehicle speed are cleared.

7. The method according to any one of claims 1 to 5, characterized in that Executing a control strategy of the vehicle according to the load, including: Based on the load, perform at least one of the following: Corrected shift points; Distribute the energy recovery torque; distributing torque in the driving mode; Determine the starting gear; When the driving mode is a hybrid mode, an operation strategy of the hybrid mode is determined.

8. The method according to any one of claims 1 to 5, characterized in that Executing a control strategy of the vehicle according to the load, including: When at least two of the loads are obtained, a fitting method is used to correct the at least two loads to obtain corrected loads; A control strategy for the vehicle is executed according to the corrected load.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium includes a stored program, wherein when the program is executed, the device where the computer-readable storage medium is located is controlled to execute the method according to any one of claims 1 to 8.

10. A vehicle system, characterized in that: include: vehicle; The controller of the vehicle includes one or more processors, a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by the one or more processors, and the one or more programs include methods for executing any one of claims 1 to 8.