Method and device for controlling vehicle, vehicle and storage medium
By controlling the vehicle into the preset gear during the vehicle hub test and keeping the transmission system unlocked, the test interruption and safety hazards caused by the vehicle's mistaken entry into the P gear are solved, and the sustainability and safety of the hub test are achieved, and the evaluation is carried out. The energy consumption performance of the vehicle.
Patent Information
- Application Number
- CN202411374284.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-29
- Publication Date
- 2024-12-06
AI Technical Summary
During the vehicle hub test, the vehicle's mistaken cutting into P gear will lead to test interruption and damage to parts, affecting the safety and sustainability of the test.
By responding to gear switching operations when the vehicle is in hub mode, determining the target gear and controlling the vehicle to enter the preset gear, ensuring that the electronic braking system is closed and the transmission system is unlocked, avoiding cutting into P gear, ensuring that the vehicle continues to operate, and Exit hub mode under appropriate conditions.
It effectively avoids interruptions and parts damage caused by P-speed switching in the hub test, ensures the sustainability and safety of the test, and evaluates the energy consumption economy of the vehicle.
Smart Images

Figure CN119078783A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle control, and more specifically, to a method, device, vehicle and storage medium for controlling a vehicle in the field of vehicle control. Background Art
[0002] Before a vehicle leaves the factory, the manufacturer will generally conduct a series of performance tests on the vehicle to ensure the safety of the vehicle during actual driving.
[0003] As one of the important tests, the drum test is also called the roller test or chassis dynamometer test. When the vehicle is tested on the drum, it is necessary to place the vehicle on the drum, which can simulate various working conditions of the vehicle in actual road driving, so as to conduct a comprehensive inspection and evaluation of the vehicle, which helps to improve the overall quality of the vehicle and make the vehicle meet regulatory requirements.
[0004] Since the vehicle's driving conditions need to be simulated when performing a rotating hub test on the vehicle, the rotating hub test is a dynamic test of the vehicle. If the vehicle is mistakenly engaged in the parking (P) gear during the test, it will damage the vehicle's parts, causing safety hazards, and will also make the vehicle unable to respond to the test normally, causing serious interference to the rotating hub test process.
[0005] Therefore, when performing a rotating hub test on a vehicle, how to reasonably control the vehicle becomes an urgent problem to be solved. Summary of the invention
[0006] The present application provides a method, device, vehicle and storage medium for controlling a vehicle. When performing a hub test on a vehicle, if the vehicle needs to enter the P gear, the method can prohibit the vehicle from entering the P gear and keep the vehicle in a running state, thereby ensuring that the test process can continue.
[0007] In a first aspect, a method for controlling a vehicle is provided, the method comprising: when the vehicle is in a hub mode, in response to a gear switching operation, obtaining a target gear corresponding to the gear switching operation; judging whether the vehicle satisfies a preset control condition based on the target gear; when the vehicle satisfies the preset control condition, controlling the vehicle to enter a preset gear, the electronic braking system of the vehicle is in an off state, and the transmission system of the vehicle is in an unlocked state, the preset gear being different from the target gear.
[0008] In the above technical solution, when performing a hub test on the vehicle, it is necessary to place the vehicle's drive wheels on the hub and simulate different driving conditions to test the vehicle's performance under different conditions. Therefore, when the vehicle is undergoing a hub test, the vehicle is generally in operation. If the vehicle suddenly switches to P gear, it will inevitably affect the test process. Based on this, the present application proposes a method for controlling a vehicle. It should be understood that when the vehicle switches to P gear, the vehicle's electronic braking system will be activated at the same time, applying a certain braking force to the vehicle's drive wheels to prevent the wheels from rotating. In addition, the vehicle's traditional system will also be locked, preventing the vehicle's power from being transmitted to the drive wheels.
[0009] In the present application, when the vehicle is in the rotating hub mode, if an operation is received to switch to the P gear, in order to prevent the test interruption caused by the vehicle switching into the P gear, the vehicle can be controlled to switch into other gears, and the electronic braking system of the vehicle can be controlled not to be activated, and the transmission system can be controlled not to be locked. Therefore, in the rotating hub mode, even if the vehicle needs to switch into the P gear, the vehicle can still maintain the running state, ensuring the continuation of the test process, so that the test process is not affected by the gear switching, and at the same time avoiding damage to components caused by the sudden stop of the vehicle during operation, thereby improving the safety of the vehicle.
[0010] In combination with the first aspect, in certain possible implementations, the method also includes: in response to a mode exit operation, obtaining a first vehicle speed of the vehicle; judging whether the vehicle satisfies a preset exit condition based on the first vehicle speed; and controlling the vehicle to exit the hub mode if the vehicle satisfies the preset exit condition.
[0011] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination of whether the vehicle satisfies a preset exit condition is made based on the first vehicle speed, including: when the time length during which the first vehicle speed is less than or equal to a first threshold value is greater than a preset time length, determining that the vehicle satisfies the preset exit condition; when the first vehicle speed is greater than the first threshold value, or the time length during which the first vehicle speed is less than or equal to the first threshold value is less than or equal to the preset time length, determining that the vehicle does not satisfy the preset exit condition.
[0012] In the above technical solution, if the vehicle receives a mode exit operation, it can exit the hub mode when the vehicle speed is low and the duration is long. When the vehicle speed is high or the vehicle speed is low for a short time, the hub mode is not exited temporarily. The above control of the vehicle to exit the hub mode at a low speed can reduce the vehicle loss of control caused by sudden exit from the mode, reduce the safety hazards when the vehicle exits the hub mode, and improve the stability and safety of the vehicle when switching modes.
[0013] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: when the vehicle exits the hub mode, obtaining the total energy consumption of the vehicle during the last time it was in the hub mode; obtaining the total mileage of the vehicle during the last time it was in the hub mode; determining the energy consumption economy value of the vehicle during the last time it was in the hub mode based on the total energy consumption and the total mileage; determining the energy consumption level of the vehicle based on the energy consumption economy value; and when the energy consumption level is greater than or equal to a preset level, generating target prompt information based on the energy consumption level.
[0014] In the above technical solution, during the vehicle rotating hub test, the vehicle can also calculate the vehicle's energy economy value based on the total energy consumption and total mileage in the rotating hub mode to obtain the vehicle's energy consumption level. The above process can provide a quantitative evaluation result for the vehicle's energy consumption performance, which is convenient for testers to understand the vehicle's energy consumption performance during the test. Furthermore, when the energy consumption level is high, target prompt information is generated to help the driver or tester understand whether the vehicle's energy consumption performance meets the expected standards, so that the driver or tester can repair the vehicle in time.
[0015] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the vehicle exits the hub mode, the total energy consumption of the vehicle during the last time it was in the hub mode is obtained, including: when the vehicle exits the hub mode, counting the first energy consumption of the vehicle; when the real-time energy consumption of the vehicle increases to be greater than a preset energy consumption, or when the mode entry operation of the hub mode is detected, determining the total energy consumption based on the first energy consumption and the energy consumption difference when the real-time energy consumption increases to the preset energy consumption; or, obtaining the total energy consumption through an energy consumption measuring device connected to the vehicle.
[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: when the vehicle exits the hub mode; if the second vehicle speed of the vehicle is less than or equal to the second threshold and there is no moment when the second vehicle speed is greater than the second threshold before the current moment, the first gear switching function is started, and the first gear switching function is to control the vehicle to switch to the preset gear when it is detected that the vehicle is powered off from a non-parking gear; if it is detected for the first time that the second vehicle speed is greater than the second threshold, the second gear switching function is started, and the second gear switching function is to control the vehicle to switch to the parking gear when it is detected that the vehicle is powered off from the non-parking gear.
[0017] Among them, the preset gear is neutral (Neutral, N) gear.
[0018] In the above technical solution, when the vehicle exits the rotary hub mode, if the vehicle detects that the second vehicle speed is less than or equal to the second threshold value and the second vehicle speed has been less than or equal to the second threshold value since the vehicle exits the rotary hub mode, the first gear switching function is turned on, so that the vehicle can automatically switch to the N gear when the vehicle is powered off from the non-parking gear. In general, when the vehicle is powered off, the user will first switch the vehicle gear to the P gear and then perform the power-off operation. When the vehicle speed is low, the vehicle is powered off from the non-parking gear, which means that the vehicle may be powered off abnormally, such as the battery is exhausted or the oil is exhausted. In this case, in order to ensure that the vehicle can move with external assistance, the vehicle can be controlled to enter the N gear instead of the P gear. If the vehicle speed is detected to be high for the first time, it means that the vehicle starts to drive normally at this time, and the vehicle can turn on the normal power-off function, that is, automatically switch to the P gear after powering off from the non-P gear. In this way, even if the user forgets to switch the gear when getting off the vehicle, it can be ensured that the vehicle does not slip after normal parking, which ensures the safety of the vehicle and improves the user experience.
[0019] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the vehicle is judged whether it meets the preset control conditions based on the target gear position, including: when the target gear position is the parking gear, determining that the vehicle meets the preset control conditions; when the target gear position is not the parking gear, determining that the vehicle does not meet the preset control conditions.
[0020] In a second aspect, a device for controlling a vehicle is provided, the device comprising: a gear acquisition module for acquiring a target gear corresponding to a gear switching operation in response to the gear switching operation when the vehicle is in a hub mode; a condition judgment module for judging whether the vehicle satisfies a preset control condition based on the target gear; and a vehicle control module for controlling the vehicle to enter a preset gear, an electronic braking system of the vehicle to be in an off state, and a transmission system of the vehicle to be in an unlocked state when the vehicle satisfies the preset control condition, the preset gear being different from the target gear.
[0021] In combination with the second aspect, in some possible implementations, the device also includes: a mode exit module, which is used to obtain a first vehicle speed of the vehicle in response to a mode exit operation; determine whether the vehicle meets a preset exit condition based on the first vehicle speed; and control the vehicle to exit the hub mode when the vehicle meets the preset exit condition.
[0022] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the mode exit module is specifically used to: determine that the vehicle meets the preset exit condition when the time length during which the first vehicle speed is less than or equal to the first threshold is greater than the preset time length; determine that the vehicle does not meet the preset exit condition when the first vehicle speed is greater than the first threshold, or the time length during which the first vehicle speed is less than or equal to the first threshold is less than or equal to the preset time length.
[0023] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: an energy consumption determination module, which is used to obtain the total energy consumption of the vehicle during the last time it was in the hub rotation mode when the vehicle exits the hub rotation mode; obtain the total mileage of the vehicle during the last time it was in the hub rotation mode; determine the energy consumption economy value of the vehicle during the last time it was in the hub rotation mode based on the total energy consumption and the total mileage; determine the energy consumption level of the vehicle based on the energy consumption economy value; and generate target prompt information based on the energy consumption level when the energy consumption level is greater than or equal to a preset level.
[0024] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the energy consumption determination module is specifically used to: when the vehicle exits the hub mode, count the first energy consumption of the vehicle; when the real-time energy consumption of the vehicle increases to be greater than the preset energy consumption, or when the mode entry operation of the hub mode is detected, determine the total energy consumption based on the first energy consumption and the energy consumption difference when the real-time energy consumption increases to the preset energy consumption; or, obtain the total energy consumption through an energy consumption measuring device connected to the vehicle.
[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: a gear switching module, which is used to start a first gear switching function when the vehicle exits the hub mode, if the second vehicle speed of the vehicle is less than or equal to a second threshold and there is no moment when the second vehicle speed is greater than the second threshold before the current moment, and the first gear switching function is to control the vehicle to switch to the preset gear when it is detected that the vehicle is powered off from a non-parking gear; if it is detected for the first time that the second vehicle speed is greater than the second threshold, the second gear switching function is started, and the second gear switching function is to control the vehicle to switch to the parking gear when it is detected that the vehicle is powered off from the non-parking gear.
[0026] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the condition judgment module is specifically used to: when the target gear position is the parking gear, determine that the vehicle meets the preset control condition; when the target gear position is not the parking gear, determine that the vehicle does not meet the preset control condition.
[0027] In a third aspect, a vehicle is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the vehicle executes the method in the first aspect or any possible implementation of the first aspect.
[0028] In a fourth aspect, a computer program product is provided, comprising: a computer program code, which, when executed on a computer, enables the computer to execute the method in the first aspect or any possible implementation of the first aspect.
[0029] In a fifth aspect, a computer-readable storage medium is provided, which stores a computer program code. When the computer program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation manner of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 is a schematic flow chart of a method for controlling a vehicle provided in an embodiment of the present application;
[0031] Figure 2 is a schematic flow chart of another method for controlling a vehicle provided in an embodiment of the present application;
[0032] Figure 3 is a schematic diagram of the structure of a device for controlling a vehicle provided in an embodiment of the present application;
[0033] Figure 4 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION
[0034] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.
[0035] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.
[0036] Before introducing the method of the embodiment of the present application, the professional terms that may be involved in the embodiment of the present application are first explained.
[0037] Rolling Road Test: refers to the mode in which the vehicle is in when undergoing a rolling road test, also known as Rolling Road Test or Dynamometer Testing. It is a mode for evaluating vehicle performance in a controlled environment. In this mode, the vehicle's driving wheels are placed on a set of rollers, which are driven by a motor or the vehicle's own driving force to rotate, thereby simulating the conditions of the vehicle driving on the road and accurately measuring various performance parameters of the vehicle. At present, rolling road testing is widely used in vehicle research and development, production and certification processes, and is an important means to ensure vehicle quality and performance.
[0038] Generally speaking, the vehicle is tested for the following aspects:
[0039] (1) Performance evaluation, including power performance, braking performance and handling performance. Power performance refers to the maximum power and torque of the engine; braking performance refers to the braking effect of the vehicle; and handling performance refers to the handling stability of the vehicle.
[0040] (2) Emission testing refers to measuring the emission concentration of a vehicle under different operating conditions, with the aim of ensuring that the vehicle's driving process meets environmental protection standards.
[0041] (3) Energy economy test refers to measuring the fuel consumption or electricity consumption of a vehicle under different operating conditions to evaluate the vehicle's energy economy.
[0042] (4) Durability test refers to testing the durability of a vehicle through long-term simulated driving.
[0043] (5) Noise and vibration test refers to the evaluation of the noise and vibration levels of the vehicle during driving.
[0044] The application scenarios of the embodiments of the present application are introduced below.
[0045] At present, when performing a rotating hub test on a vehicle, in order to evaluate the vehicle's energy efficiency, energy economy testing has become an indispensable part of the vehicle rotating hub test process.
[0046] Generally, before conducting an energy consumption and economy test on a vehicle, it is necessary to preheat the vehicle to normal operating temperature to ensure the accuracy of the test results. In addition, the vehicle needs to be fully fueled or fully charged, and the odometer data on the dashboard needs to be cleared. In the above preparations, ensuring that the vehicle has sufficient fuel or electricity can ensure the smooth progress of the test process; clearing the odometer data on the dashboard is to facilitate recording the total mileage during the test.
[0047] After the preparation work is completed, the tester can place the vehicle's drive wheels on the hub (roller), use a fixture to fix the vehicle to the test bench to prevent the vehicle from sliding, and connect the vehicle to various sensors to facilitate real-time collection of test data.
[0048] During the test, testers can set the roller speed, load and other parameters according to the test requirements, simulate different driving conditions, and collect vehicle operation data in real time through various sensors.
[0049] After the test is completed, by obtaining the total mileage, total power consumption and total fuel consumption of the vehicle during the test, technicians can evaluate the vehicle's fuel economy or electrical energy economy based on these data.
[0050] It can be seen that when conducting energy economy tests on a vehicle, the vehicle needs to be kept in a driving state continuously because different driving conditions need to be simulated.
[0051] However, in some cases, the vehicle may enter the P gear unexpectedly during the rotating hub test. For example, if the tester forces the vehicle to switch gears due to an error during the test, the vehicle may enter the P gear unexpectedly. In this case, on the one hand, the vehicle test process will be forced to be interrupted; on the other hand, if the vehicle suddenly enters the P gear while driving on the rotating hub, the locking of the transmission system may increase the mechanical stress between the roller and the transmission system, causing damage to the transmission system or the roller equipment.
[0052] Based on the above-mentioned problems caused by the vehicle entering the P gear during the rotating hub test, an embodiment of the present application proposes a method for controlling the vehicle. When the vehicle is undergoing a rotating hub test, if the vehicle needs to enter the P gear, the method prohibits the vehicle from entering the P gear and switches to other gears, so that the vehicle continues to be in operation, ensuring that the test process can continue while avoiding damage to the vehicle or test equipment.
[0053] After introducing the application scenarios of the embodiments of the present application, a method for controlling a vehicle provided by the embodiments of the present application is introduced below.
[0054] Figure 1It is a schematic flow chart of a method for controlling a vehicle provided in an embodiment of the present application. It should be understood that the method can be applied to any electronic control unit (Electronic Control Unit, ECU, also known as a controller) in a vehicle. The embodiment of the present application does not limit the execution subject of the method.
[0055] For example, Figure 1 As shown, the method 100 includes:
[0056] 101. When the vehicle is in a hub-turning mode, in response to a gear switching operation, obtaining a target gear corresponding to the gear switching operation.
[0057] It should be understood that the above-mentioned rotating hub mode specifically refers to the operation mode of the vehicle when the vehicle is undergoing a rotating hub test. In the embodiment of the present application, it refers to the operation mode of the vehicle when the vehicle is undergoing an energy consumption economy test during the rotating hub test.
[0058] Exemplarily, entering the hub rotating mode or the hub rotating test process involves the coordination of multiple steps and equipment. The following is a schematic example of a vehicle entering the hub rotating mode or the hub rotating test process.
[0059] First, the technician controls the vehicle to run to normal operating temperature, checks whether the vehicle's fuel, power and other fluids are sufficient, checks whether the vehicle's tire pressure meets the standards, and whether the vehicle's drive wheels can operate normally.
[0060] After inspecting the vehicle, the technician places the vehicle's drive wheels on rollers and secures the vehicle, connects various types of sensors, and turns on the data acquisition equipment.
[0061] After all preparations are completed, the technician can open the vehicle's mode configuration interface and select the control corresponding to the "drum mode". The controller receives the current configuration operation and controls the vehicle to enter the drum mode, that is, the vehicle enters the drum test process. The vehicle's display interface can then display the performance selection interface in the drum mode, including a variety of performance in the drum mode, such as power performance, braking performance, emission performance, energy consumption and economic performance, comfort and stability, noise and vibration performance, etc.
[0062] After entering the hub mode, the technician can select the specific performance test option as "energy consumption economy performance" based on the current performance selection interface, thereby entering the vehicle's energy consumption economy test process.
[0063] During the energy consumption and economy test of the vehicle, combined with the above description, it can be seen that if the vehicle enters the P gear, the test will be interrupted and damage to vehicle parts will occur. Based on this, during the energy consumption and economy test of the vehicle, the embodiment of the present application can prohibit the vehicle from switching to the P gear, thereby ensuring the safety hazards caused by switching into the P gear.
[0064] Specifically, when the vehicle is in the rotating hub mode, if the technician resets the gear of the vehicle based on the gear switching operation, the controller detects the gear switching operation and can first obtain the target gear indicated by the gear switching operation to determine whether the target gear is the P gear that is prohibited from switching.
[0065] 102. Determine whether the vehicle meets a preset control condition according to the target gear position.
[0066] When the controller obtains the target gear position, it can determine whether the target gear position is P gear, so as to facilitate subsequent control.
[0067] In a possible implementation, judging whether the vehicle meets a preset control condition according to the target gear position includes:
[0068] When the target gear is the parking gear, determining that the vehicle meets a preset control condition;
[0069] When the target gear position is not the parking gear, it is determined that the vehicle does not meet the preset control condition.
[0070] For example, when the controller obtains that the current target gear is P gear, it means that the vehicle currently needs to switch to P gear, which is not expected to happen during the vehicle rotation test. Therefore, the controller can control the vehicle in this case to prevent the vehicle from switching to P gear. When the controller obtains that the current target gear is other gears except P gear, it means that the gear switching process will not affect the test process, and the controller can not respond.
[0071] 103. When the vehicle meets the preset control conditions, the vehicle is controlled to enter a preset gear, the electronic brake system of the vehicle is in a closed state, and the transmission system of the vehicle is in an unlocked state, and the preset gear and the target gear are different gears.
[0072] When the controller determines that the vehicle meets the preset control condition, that is, when the current target gear is the P gear, the controller can control the vehicle not to enter the P gear but to enter the preset gear.
[0073] Optionally, the preset gear is N gear.
[0074] It should be understood that when the vehicle is shifted into P gear, the electronic parking brake (EPB) system is usually turned on (or activated) in order to provide additional braking force for the vehicle through the EPB to prevent the vehicle from slipping during parking.
[0075] Therefore, when the vehicle needs to shift into P gear, the controller not only controls the vehicle to shift into N gear, but also needs to control the vehicle's EPB to be in an inactive state so that the vehicle's wheels are in a non-braking state to continue rotating.
[0076] In addition, when the vehicle is generally switched to P gear, in order to keep the vehicle stationary, in addition to activating EPB, the vehicle's transmission system will also be locked. The reason is that the main task of the transmission system is to effectively transmit the power generated by the vehicle's driving equipment (such as the engine or drive motor) to the wheels, thereby driving the vehicle forward or backward. Therefore, when the vehicle is in P gear, the transmission system needs to be locked.
[0077] Optionally, the main components of the transmission system include the vehicle's drive equipment, transmission and clutch, etc.
[0078] Specifically, when the vehicle's transmission system is locked when it is in P gear, it usually means that the parking gear will be inserted into the groove inside the transmission, preventing the rotation of the gears inside the transmission, thereby locking the entire transmission system and making it impossible for the drive device to drive the wheels to continue rotating.
[0079] Therefore, when the vehicle receives an operation to shift into P gear, in addition to switching to N gear and controlling EPB to be in an inactive state, it is also necessary to control the vehicle's transmission system to be in an unlocked state to provide driving force for the rotation of the wheels.
[0080] Therefore, when the vehicle needs to shift into P gear, the controller controls the vehicle to shift into N gear, and controls the vehicle's EPB to release, as well as the operation of the drive equipment, to ensure that the vehicle's drive wheels on the hub continue to rotate, the vehicle's transmission system will not be locked, and testing can continue.
[0081] Therefore, in the embodiment of the present application, when the vehicle is in the rotating hub mode, if an operation to switch to the P gear is received, in order to prevent the test interruption caused by the vehicle switching into the P gear, the vehicle can be controlled to switch into other gears, and the electronic brake system of the vehicle can be controlled not to be activated, and the transmission system is not locked. Therefore, in the rotating hub mode, even if the vehicle needs to switch into the P gear, the vehicle can still maintain the running state, ensuring the continuation of the test process, so that the test process is not affected by the gear switching, and at the same time avoiding damage to components caused by the sudden stop of the vehicle during operation, thereby improving the safety of the vehicle.
[0082] Furthermore, when the vehicle is in the hub-turning mode, the technician can also control the vehicle to exit the hub-turning mode through some control methods, thereby switching to the normal driving mode.
[0083] In a possible implementation manner, the method further includes:
[0084] In response to the mode exit operation, obtaining a first vehicle speed of the vehicle;
[0085] determining, according to the first vehicle speed, whether the vehicle meets a preset exit condition;
[0086] When the vehicle meets the preset exit conditions, the vehicle is controlled to exit the hub mode.
[0087] Specifically, when the technician needs to control the vehicle to exit the hub rotating mode, the technician can exit the hub rotating mode through the mode exit operation corresponding to the hub rotating mode.
[0088] Optionally, the mode exit operation includes at least one of a click operation, a voice command or a rotation operation.
[0089] For example, a technician can change the state of the control corresponding to the "hub mode" to "unselected" through a click operation or voice command on the display interface of the vehicle display screen, thereby causing the vehicle to exit the hub mode.
[0090] As another example, the technician may click the start button of the vehicle to change the state of the start button to "Off", thereby causing the vehicle to enter a high-voltage power-off process, thereby exiting the hub rotation mode.
[0091] After receiving the current mode exit operation, in order to ensure the safety and stability of the vehicle during the mode switching process, the controller can determine whether the mode switching needs to be performed immediately based on the current first vehicle speed, that is, whether the vehicle meets the preset exit conditions.
[0092] The specific process of the controller determining whether the vehicle meets the preset exit condition according to the first vehicle speed is as follows.
[0093] In a possible implementation, judging whether the vehicle meets a preset exit condition according to the first vehicle speed includes:
[0094] When the time duration during which the first vehicle speed is less than or equal to the first threshold is greater than a preset time duration, determining that the vehicle meets a preset exit condition;
[0095] When the first vehicle speed is greater than the first threshold, or the duration during which the first vehicle speed is less than or equal to the first threshold is less than or equal to a preset duration, it is determined that the vehicle does not meet the preset exit condition.
[0096] Optionally, the first threshold is 2 km / h and the preset duration is 15 s.
[0097] For example, if the first vehicle speed is less than or equal to 2 km / h and lasts for more than 15 seconds, it means that the vehicle is currently in a stable low-speed state or a stationary state. The controller can control the vehicle to exit the hub mode, thereby ensuring that the vehicle smoothly transitions from the simulation state to the actual driving state and reducing vibration and impact during the mode switching process.
[0098] When the first vehicle speed is greater than 2km / h, or the first vehicle speed is less than or equal to 2km / h for a duration of less than or equal to 15s, the vehicle is in a dynamically unstable state. In this case, exiting the hub-spinning mode may cause a large impact on the vehicle. Therefore, even if the controller receives a mode switching operation, it will control the vehicle to continue to remain in the hub-spinning mode, or, based on the first threshold and the preset duration, the controller controls the first vehicle speed to be less than or equal to 2km / h and for a duration of more than 15s before exiting the hub-spinning mode.
[0099] In the above technical solution, if the vehicle receives a mode exit operation, it can exit the hub mode when the vehicle speed is low and the duration is long. When the vehicle speed is high or the vehicle speed is low for a short time, the hub mode is not exited temporarily. The above control of the vehicle to exit the hub mode at a low speed can reduce the vehicle loss of control caused by sudden exit from the mode, reduce the safety hazards when the vehicle exits the hub mode, and improve the stability and safety of the vehicle when switching modes.
[0100] In addition, based on the test parameters of the vehicle during the energy consumption performance test, the controller can further evaluate the energy consumption performance of the vehicle.
[0101] In a possible implementation manner, the method further includes:
[0102] When the vehicle exits the rotating hub mode, obtaining the total energy consumption of the vehicle in the previous rotating hub mode;
[0103] Obtain the total mileage of the vehicle during the last time it was in the hub rotation mode;
[0104] According to the total energy consumption and the total mileage, determine the energy consumption economy value of the vehicle during the last time it was in the hub rotation mode;
[0105] Determine the energy consumption level of the vehicle based on the energy consumption economy value;
[0106] When the energy consumption level is greater than or equal to the preset level, target prompt information is generated according to the energy consumption level.
[0107] Specifically, when controlling the vehicle to exit the hub rotating mode, the controller can obtain the total energy consumption and total mileage of the vehicle during the previous hub rotating mode, and further determine the energy consumption economy value of the vehicle during the previous test based on the total energy consumption and total mileage, and obtain the vehicle's energy consumption level to evaluate the vehicle's energy consumption performance.
[0108] For example, when the vehicle is running, the dashboard will usually display the total mileage of the vehicle, so the controller can directly obtain the total mileage of the vehicle when it was in the last hub rotation mode from the dashboard.
[0109] Optionally, the total energy consumption of the vehicle may vary depending on the type of vehicle. When the vehicle is a traditional internal combustion engine vehicle, the total energy consumption of the vehicle refers to the total fuel consumption of the vehicle during the previous hub rotation mode; when the vehicle is a pure electric vehicle, the total energy consumption of the vehicle refers to the total electricity consumption of the vehicle during the previous hub rotation mode; when the vehicle is a hybrid vehicle, the total energy consumption of the vehicle may refer to the total fuel consumption alone or the total electricity consumption alone, or may refer to the total fuel consumption and the total electricity consumption.
[0110] The process of obtaining the total energy consumption is as follows.
[0111] In a possible implementation, when the vehicle exits the hub rotating mode, obtaining the total energy consumption of the vehicle during the last time it was in the hub rotating mode includes:
[0112] When the vehicle exits the rotary mode, the first energy consumption of the vehicle is counted; when the real-time energy consumption of the vehicle increases to be greater than the preset energy consumption, or when the mode entry operation of the rotary mode is detected, the total energy consumption is determined according to the first energy consumption and the energy consumption difference when the real-time energy consumption increases to the preset energy consumption; or,
[0113] The total energy consumption is obtained through energy consumption vehicle equipment connected to the vehicle.
[0114] It should be understood that when the vehicle is undergoing a slewing test, the total energy consumption, whether it is the total fuel consumption or the total power consumption, cannot usually be read directly from the dashboard. This is because the total energy consumption displayed on the dashboard is generally based on the vehicle's driving conditions on the actual road, and is calculated by the ECU in the vehicle based on the energy consumption per kilometer and mileage, rather than for a laboratory test environment.
[0115] Based on this, when obtaining the total energy consumption, the embodiment of the present application, since at the beginning of each test, the total energy consumption of the vehicle reaches the preset energy consumption of the vehicle, such as the vehicle's fuel tank is full of fuel, or the vehicle's power reaches the preset battery state of charge (SOC). Then in theory, after the vehicle exits the hub mode, if the vehicle no longer consumes any power, when the vehicle is charged at the charging pile again, the power difference corresponding to the vehicle being fully charged to the preset SOC displayed on the charging pile is the total power consumption generated by the vehicle during the previous hub mode; similarly, after the vehicle exits the hub mode, if the vehicle does not consume any fuel, when the vehicle is refueled again, the fuel difference corresponding to the vehicle being fully charged to the full fuel displayed on the gas station display is the total fuel generated by the vehicle during the previous hub mode.
[0116] However, in actual use of the vehicle, when the vehicle exits the rotary mode and enters the normal driving mode, power consumption may occur. For example, when the vehicle exits the rotary mode, if the vehicle has sufficient power or fuel, the user may drive a certain distance or turn on electrical equipment in the vehicle (such as air conditioning), resulting in additional power consumption.
[0117] Therefore, when the controller determines that the vehicle has exited the hub mode, the total energy consumption in the vehicle dashboard can be cleared, and then the first energy consumption generated by the vehicle after exiting the hub mode can be counted until the vehicle's battery reaches the preset SOC again or is fully refueled, or the vehicle requests to enter the hub mode again, then the first energy consumption is stopped from being counted, and the total energy consumption is obtained based on the first energy consumption, and the difference in battery level from the time the vehicle exits the hub mode until it is fully recharged or the difference in fuel level from the time the vehicle exits the hub mode until it is fully refueled.
[0118] Alternatively, in another scenario, when the vehicle is subjected to a hub rotation test, the vehicle can be connected to a fuel consumption meter or a power meter, so that the total fuel consumption of the vehicle during the previous hub rotation mode can be directly obtained based on the data measured by the fuel consumption meter; and the total power consumption of the vehicle during the previous hub rotation mode can be directly obtained based on the data measured by the power meter.
[0119] When the total energy consumption and total mileage are obtained, the controller can use the following formulas (1)-(2) to calculate the energy consumption economy value of the vehicle during the rotary mode.
[0120]
[0121] Specifically, when the total energy consumption is only the total fuel consumption, the controller can use formula (1) to calculate the energy consumption economy value of the vehicle during the previous hub rotation mode, and the energy consumption economy value is the fuel economy value; when the total energy consumption is only the total electricity consumption, the controller can use formula (2) to calculate the energy consumption economy value of the vehicle during the previous hub rotation mode, and the energy consumption economy value is the electricity economy value; when the total energy consumption includes both fuel energy consumption and electricity consumption, the fuel consumption can be converted into electricity consumption, the total electricity consumption is obtained as the total energy consumption, and the energy consumption economy value of the vehicle during the previous hub rotation mode is calculated by formula (2); or, the electricity consumption can be converted into fuel consumption, the total fuel consumption is obtained as the total energy consumption, and the energy consumption economy value of the vehicle during the previous hub rotation mode is calculated by formula (1).
[0122] After obtaining the energy consumption economy value, in order to evaluate the energy consumption performance of the vehicle, in the embodiment of the present application, the technician can pre-set the energy consumption economy value intervals corresponding to different energy consumption levels, obtain the corresponding relationship between multiple sets of energy consumption levels and energy consumption economy value intervals, and store them in the controller. After obtaining the energy consumption economy value of the vehicle in the previous process of being in the hub rotation mode, the controller can determine the target interval corresponding to the energy consumption economy value and determine the corresponding energy consumption level by looking up the table.
[0123] Table 1 is a schematic table of the correspondence between energy consumption economy values and energy consumption levels provided in an embodiment of the present application.
[0124] Table 1
[0125]
[0126]
[0127] For example, as shown in Table 1, combined with the calculation formulas of the energy consumption economy values in formulas (1)-(2), it can be seen that when the total mileage remains unchanged, the smaller the total fuel consumption or the smaller the total electricity consumption, the higher the energy consumption economy of the vehicle, the more energy is saved, and the larger the energy consumption economy value. On the contrary, when the total mileage remains unchanged, the greater the total fuel consumption or the greater the total electricity consumption, the smaller the energy consumption economy value, the lower the energy consumption economy of the vehicle, the more energy is consumed, and the smaller the energy consumption economy value. Similarly, when the total fuel consumption or the total electricity consumption remains unchanged, the greater the total mileage, the higher the energy consumption economy of the vehicle, and the more energy is saved; the smaller the total mileage, the lower the energy consumption economy of the vehicle, and the more energy is consumed.
[0128] The higher the energy consumption level in Table 1, the lower the corresponding energy consumption economy value, indicating that the energy consumption performance of the vehicle is worse. After obtaining the energy consumption economy value of the vehicle, the controller can obtain the current energy consumption level by looking up the table.
[0129] Optional, the default level is 3.
[0130] When the energy consumption level is greater than or equal to level 3, it means that the current energy consumption performance of the vehicle is poor. The controller can generate target prompt information based on the current energy consumption level, and provide voice prompts or text prompts, or send them to the user's terminal device, so that the user can repair the vehicle in time.
[0131] In the above technical solution, during the vehicle rotating hub test, the vehicle can also calculate the vehicle's energy economy value based on the total energy consumption and total mileage in the rotating hub mode to obtain the vehicle's energy consumption level. The above process can provide a quantitative evaluation result for the vehicle's energy consumption performance, which is convenient for testers to understand the vehicle's energy consumption performance during the test. Furthermore, when the energy consumption level is high, target prompt information is generated to help the driver or tester understand whether the vehicle's energy consumption performance meets the expected standards, so that the driver or tester can repair the vehicle in time.
[0132] In addition, after the vehicle exits the hub mode, the embodiment of the present application also proposes a gear switching method.
[0133] In a possible implementation manner, the method further includes:
[0134] When the vehicle exits the hub mode, if the second vehicle speed of the vehicle is less than or equal to the second threshold and there is no moment when the second vehicle speed is greater than the second threshold before the current moment, the first gear switching function is turned on. The first gear switching function is to control the vehicle to switch to a preset gear when it is detected that the vehicle is powered off from a non-parking gear; if it is detected for the first time that the second vehicle speed is greater than the second threshold, the second gear switching function is turned on. The second gear switching function is to control the vehicle to switch to a parking gear when it is detected that the vehicle is powered off from a non-parking gear.
[0135] Optionally, the second threshold is 15km / h.
[0136] When the vehicle exits the hub mode, the embodiment of the present application provides different processing methods according to different vehicle speeds for the power-off process of the vehicle in different states.
[0137] In the first case, after the vehicle exits the hub mode, if the controller detects that the second vehicle speed has been less than or equal to 15km / h since the vehicle exits the hub mode, it means that the vehicle may be running slowly due to low energy consumption. In this case, the vehicle may be powered off passively. Directly entering the P gear will cause the vehicle to be unable to move when it needs external force. Therefore, the controller can control the vehicle to enter the N gear so that the user can use other auxiliary methods to enable the vehicle to be charged or refueled in time even when it is out of power or oil.
[0138] In the second case, when the controller detects that the vehicle speed is high for the first time, it means that the vehicle has begun to resume normal driving. In this case, regardless of whether the vehicle speed is still greater than the second threshold during subsequent detections, in order to ensure the user's driving safety, the controller can enable the vehicle to automatically enter P gear when it is powered off from a non-P gear. Because when the vehicle speed is high, the driver may forget to switch gears when the vehicle is powered off from a non-P gear. In order to ensure the safe parking of the vehicle and prevent the vehicle from accidentally moving without the driver's attention, the controller can control the vehicle to enter P gear.
[0139] In another scenario, whether the vehicle speed is high or low, if it is detected that the vehicle is powered off from P gear, it means that the current power-off operation is actively operated by the user. The controller can respond to the user's power-off demand and directly keep the current gear in P gear.
[0140] In the above technical solution, when the vehicle exits the rotary hub mode, if the vehicle detects that the second vehicle speed is less than or equal to the second threshold value and the second vehicle speed has been less than or equal to the second threshold value since the vehicle exits the rotary hub mode, the first gear switching function is turned on, so that the vehicle can automatically switch to the N gear when the vehicle is powered off from the non-parking gear. In general, when the vehicle is powered off, the user will first switch the vehicle gear to the P gear and then perform the power-off operation. When the vehicle speed is low, the vehicle is powered off from the non-parking gear, which means that the vehicle may be powered off abnormally, such as the battery is exhausted or the oil is exhausted. In this case, in order to ensure that the vehicle can move with external assistance, the vehicle can be controlled to enter the N gear instead of the P gear. If the vehicle speed is detected to be high for the first time, it means that the vehicle starts to drive normally at this time, and the vehicle can turn on the normal power-off function, that is, automatically switch to the P gear after powering off from the non-P gear. In this way, even if the user forgets to switch the gear when getting off the vehicle, it can be ensured that the vehicle does not slip after normal parking, which ensures the safety of the vehicle and improves the user experience.
[0141] In order to facilitate understanding of the solution of the embodiment of the present application, Figure 2 The method flow provided in the embodiments of the present application is described.
[0142] Figure 2It is a schematic flowchart of a method for controlling a vehicle provided in an embodiment of the present application.
[0143] For example, Figure 2 As shown, the method 200 includes:
[0144] 201. When the vehicle is in a hub-turning mode, in response to a gear switching operation, obtaining a target gear corresponding to the gear switching operation.
[0145] 202 , judging whether the vehicle meets a preset control condition according to the target gear position.
[0146] 203 , when the vehicle meets the preset control conditions, the vehicle is controlled to enter a preset gear, the electronic brake system of the vehicle is in a closed state, and the transmission system of the vehicle is in an unlocked state.
[0147] 204 , in response to the mode exit operation, obtaining a first vehicle speed of the vehicle.
[0148] 205, judging whether the vehicle meets a preset exit condition according to the first vehicle speed;
[0149] If the vehicle does not meet the preset exit condition, execute step 206;
[0150] When the vehicle meets the preset exit condition, step 207 is executed.
[0151] 206, control the vehicle to continue to be in the hub rotation mode.
[0152] 207, control the vehicle to exit the hub rotation mode.
[0153] When the vehicle exits the hub mode, the controller can also control the vehicle to execute the following process.
[0154] 208 , obtaining the total energy consumption and total mileage of the vehicle during the last time it was in the hub rotation mode.
[0155] 209 , determining the energy consumption level of the vehicle during the last time it was in the hub rotation mode according to the total energy consumption and the total mileage.
[0156] 210, when the second vehicle speed is less than or equal to the second threshold and there is no second vehicle speed greater than the second threshold before the current moment, start the first gear switching function, the first gear switching function is to control the vehicle to switch to a preset gear when it is detected that the vehicle is powered off from a non-parking gear.
[0157] 211, when it is detected for the first time that the second vehicle speed is greater than the second threshold, the second gear shifting function is started, and the second gear shifting function is to control the vehicle to switch to the parking gear when it is detected that the vehicle is powered off from the non-parking gear.
[0158] 201-211 in the above method 200 and 101-103 in the method 100 have the same inventive concept, and the details can be found in the introduction of the method 100, which will not be repeated here.
[0159] Figure 3 It is a structural schematic diagram of a device for controlling a vehicle provided in an embodiment of the present application.
[0160] For example, Figure 3 As shown, the device 300 includes:
[0161] The gear position acquisition module 301 is used to obtain a target gear position corresponding to the gear position switching operation in response to the gear position switching operation when the vehicle is in the hub rotation mode;
[0162] A condition judgment module 302 is used to judge whether the vehicle meets a preset control condition according to the target gear position;
[0163] The vehicle control module 303 is used to control the vehicle to enter a preset gear, the electronic braking system of the vehicle is in a closed state, and the transmission system of the vehicle is in an unlocked state when the vehicle meets the preset control conditions. The preset gear is different from the target gear.
[0164] Optionally, the device also includes: a mode exit module, which is used to obtain a first vehicle speed of the vehicle in response to a mode exit operation; determine whether the vehicle meets a preset exit condition based on the first vehicle speed; and control the vehicle to exit the hub mode when the vehicle meets the preset exit condition.
[0165] In one possible implementation, the mode exit module is specifically used to: determine that the vehicle satisfies the preset exit condition when the time length during which the first vehicle speed is less than or equal to the first threshold is greater than a preset time length; and determine that the vehicle does not satisfy the preset exit condition when the first vehicle speed is greater than the first threshold, or the time length during which the first vehicle speed is less than or equal to the first threshold is less than or equal to the preset time length.
[0166] Optionally, the device also includes: an energy consumption determination module, which is used to obtain the total energy consumption of the vehicle when it was in the hub rotation mode last time, when the vehicle exits the hub rotation mode; obtain the total mileage of the vehicle when it was in the hub rotation mode last time; determine the energy consumption economy value of the vehicle when it was in the hub rotation mode last time based on the total energy consumption and the total mileage; determine the energy consumption level of the vehicle based on the energy consumption economy value; and generate target prompt information based on the energy consumption level when the energy consumption level is greater than or equal to a preset level.
[0167] In one possible implementation, the energy consumption determination module is specifically used to: when the vehicle exits the hub mode, count the first energy consumption of the vehicle; when the real-time energy consumption of the vehicle increases to be greater than a preset energy consumption, or when the hub mode entry operation is detected, determine the total energy consumption based on the first energy consumption and the energy consumption difference when the real-time energy consumption increases to the preset energy consumption; or, obtain the total energy consumption through an energy consumption measuring device connected to the vehicle.
[0168] Optionally, the device also includes: a gear switching module, which is used to start a first gear switching function when the vehicle exits the hub mode, if the second vehicle speed of the vehicle is less than or equal to a second threshold and there is no moment when the second vehicle speed is greater than the second threshold before the current moment, and the first gear switching function is to control the vehicle to switch to the preset gear when it is detected that the vehicle is powered off from a non-parking gear; if it is detected for the first time that the second vehicle speed is greater than the second threshold, the second gear switching function is started, and the second gear switching function is to control the vehicle to switch to the parking gear when it is detected that the vehicle is powered off from the non-parking gear.
[0169] In a possible implementation, the condition judgment module 301 is specifically used to: when the target gear is the parking gear, determine that the vehicle meets the preset control condition; when the target gear is not the parking gear, determine that the vehicle does not meet the preset control condition.
[0170] Figure 4 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application.
[0171] For example, Figure 4 As shown, the vehicle 400 includes: a memory 401 and a processor 402, wherein the memory 401 stores an executable program code 4011, and the processor 402 is used to call and execute the executable program code 4011 to perform a method for controlling a vehicle.
[0172] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to execute a method for controlling a vehicle provided in an embodiment of the present application.
[0173] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.
[0174] In the case of dividing each functional module according to each function, the device may also include a gear acquisition module, a condition judgment module, a vehicle control module, etc. It should be noted that all relevant contents of each step involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.
[0175] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method of controlling a vehicle, and thus can achieve the same effect as the above-mentioned implementation method.
[0176] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a vehicle, the processing module may be used to control and manage the actions of the vehicle. The storage module may be used to support the vehicle in executing relevant program codes, etc.
[0177] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.
[0178] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for controlling a vehicle provided in the above embodiments.
[0179] This embodiment also provides a computer-readable storage medium, in which a computer program code is stored. When the computer program code is run on a computer, the computer executes the above-mentioned related method steps to implement a method for controlling a vehicle provided in the above embodiment.
[0180] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for controlling a vehicle provided in the above embodiment.
[0181] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.
[0182] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0183] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0184] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A method for controlling a vehicle, characterized in that: The method comprises: When the vehicle is in the rotating hub mode, in response to a gear switching operation, obtaining a target gear corresponding to the gear switching operation; According to the target gear position, determining whether the vehicle meets a preset control condition; When the vehicle meets the preset control condition, the vehicle is controlled to enter a preset gear, the electronic braking system of the vehicle is in a closed state, and the transmission system of the vehicle is in an unlocked state, and the preset gear is different from the target gear.
2. The method according to claim 1, characterized in that The method further comprises: In response to a mode exit operation, obtaining a first vehicle speed of the vehicle; determining, according to the first vehicle speed, whether the vehicle meets a preset exit condition; When the vehicle meets the preset exit condition, the vehicle is controlled to exit the rotating hub mode.
3. The method according to claim 2, characterized in that The determining, based on the first vehicle speed, whether the vehicle satisfies a preset exit condition includes: When the time duration during which the first vehicle speed is less than or equal to the first threshold is greater than a preset time duration, determining that the vehicle meets the preset exit condition; When the first vehicle speed is greater than the first threshold, or the duration during which the first vehicle speed is less than or equal to the first threshold is less than or equal to the preset duration, it is determined that the vehicle does not satisfy the preset exit condition.
4. The method according to claim 2, characterized in that: The method further comprises: When the vehicle exits the hub rotating mode, obtaining the total energy consumption of the vehicle in the hub rotating mode the last time; Obtaining the total mileage of the vehicle during the last time the vehicle was in the hub rotation mode; Determining, according to the total energy consumption and the total mileage, an energy consumption economy value of the vehicle during the last time it was in the hub rotating mode; Determining the energy consumption level of the vehicle according to the energy consumption economy value; When the energy consumption level is greater than or equal to a preset level, target prompt information is generated according to the energy consumption level.
5. The method according to claim 4, characterized in that When the vehicle exits the hub rotating mode, obtaining the total energy consumption of the vehicle in the hub rotating mode the last time the vehicle was in the hub rotating mode includes: When the vehicle exits the hub mode, counting the first energy consumption of the vehicle; when the real-time energy consumption of the vehicle increases to be greater than a preset energy consumption, or when a mode entry operation of the hub mode is detected, determining the total energy consumption based on the first energy consumption and the energy consumption difference when the real-time energy consumption increases to the preset energy consumption; or, The total energy consumption is obtained by an energy consumption measuring device connected to the vehicle.
6. The method according to claim 2, characterized in that The method further comprises: When the vehicle exits the hub mode, if the second vehicle speed of the vehicle is less than or equal to a second threshold and there is no moment when the second vehicle speed is greater than the second threshold before the current moment, the first gear switching function is activated, and the first gear switching function is to control the vehicle to switch to the preset gear when it is detected that the vehicle is powered off from a non-parking gear; if it is detected for the first time that the second vehicle speed is greater than the second threshold, the second gear switching function is activated, and the second gear switching function is to control the vehicle to switch to the parking gear when it is detected that the vehicle is powered off from the non-parking gear.
7. The method according to claim 1, characterized in that The step of judging whether the vehicle satisfies a preset control condition according to the target gear position includes: When the target gear is the parking gear, determining that the vehicle satisfies the preset control condition; When the target gear position is not the parking gear, it is determined that the vehicle does not satisfy the preset control condition.
8. A device for controlling a vehicle, characterized in that: The device comprises: a gear position acquisition module, configured to, when the vehicle is in a hub rotation mode, respond to a gear position switching operation and acquire a target gear position corresponding to the gear position switching operation; A condition judgment module, used to judge whether the vehicle meets a preset control condition according to the target gear position; A vehicle control module is used to control the vehicle to enter a preset gear, the electronic braking system of the vehicle is in a closed state, and the transmission system of the vehicle is in an unlocked state when the vehicle meets the preset control conditions, and the preset gear is different from the target gear.
9. A vehicle, characterized in that: The vehicle comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the vehicle executes the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the method according to any one of claims 1 to 7 is implemented.
