Background
Most current vehicles are provided with a driving mode control system, the driving mode control system comprises an economic mode, a standard mode and a motion mode, a driver can experience different driving feelings brought by the vehicle by selecting different driving modes, but in some cases, because a terminal client does not know all the modes, the phenomenon that the driving mode selected by the client is not matched with actual driving behaviors easily occurs, the vehicle cannot meet the expectation of the driver in the case, and the set driving mode cannot fully exert the advantages of the vehicle. For example: the driver selects the economy mode but frequently deep, fast and brake pedals are applied during the driving. In this case, the driver's deep stepping on the accelerator pedal is intended to obtain better acceleration performance, but in the economy mode, the power output of the engine is gentle, the transmission shift point is advanced, in this case, the power output of the whole vehicle may not meet the expectation of rapid acceleration of the driver, and at the same time, the energy loss is increased due to frequent braking, so even if the driver selects the economy mode, the economy of the vehicle is not necessarily improved. Whether the driving mode selected by the driver and the driving behavior of the driver match directly affects the driving experience of the driver. The existing intelligent driving mode recognition system is characterized in that a driver manually selects a certain driving mode, the driving mode of a vehicle is not changed as long as the driver does not actively switch modes no matter whether the driving behavior of the driver is matched with the selected mode or not in the driving process, and the situation that the driving behavior is not matched with the selected mode easily occurs if the driver lacks knowledge about various driving modes, so that the user experience is reduced.
In order to solve the above problems, the prior art mainly judges the driving mode according to two indexes, namely an objective index and a subjective index. The objective index is mainly used for judging the current most suitable driving mode according to the dynamic driving index of the whole vehicle (the degree of violent driving of the whole vehicle is estimated by utilizing the speed, the longitudinal acceleration, the lateral acceleration and the like of the whole vehicle); the subjective index is to judge the driving intention of the driver (such as expecting the vehicle to rapidly output power to improve the acceleration performance) through the behavior of the driver (operating an accelerator pedal, a brake pedal, a steering lamp and the like), and then automatically select the most appropriate driving mode for the driver according to the driving intention of the driver, wherein when the driving intention of the driver is judged, road environment factors (urban roads, suburban roads and expressways) are also considered, and the judgment result is more accurate.
However, the above prior art solution is not reasonable when switching the driving mode in practical application, and the following two aspects are embodied:
1) an unreasonable switching of driving modes is likely to occur at a waiting traffic light or in the case of traffic congestion.
Specifically, when the vehicle is running in the standard mode or the sport mode, if the vehicle is stopped when meeting the traffic lights, the dynamic driving index of the vehicle gradually approaches zero (representing that the vehicle is driven violently to the lowest extent), and the driver cannot monitor the driving intention of the driver without operation in the parking state, so that the final result is that the vehicle is switched from the standard mode or the sport mode to the economy mode, but actually the driver is forced to park due to the waiting of the traffic lights, but the driver may not expect to switch the vehicle to the standard mode. Further, in a traffic jam section, the vehicle runs slowly due to environmental restrictions, and the vehicle does not need large power output, and the optimal mode is the economy mode. In fact, due to the low index of the slow-moving dynamics of the vehicle, the economy mode is automatically selected with the prior art solutions. However, in some cases, for example, in order to prevent other vehicles from getting jammed, even if the vehicle is jammed, it is not excluded that the driver may accelerate suddenly and then follow the vehicle slowly at sudden deceleration, which may cause the dynamic driving index to increase first and then decrease, and it may occur that the driving mode increases at sudden acceleration and then decreases at follow-up slowly, but it is obvious that such mode switching is not reasonable.
2) When launching or overtaking, the prior art scheme can not be switched to a motion mode with faster power output at the first time, and the driving experience of a driver is influenced.
When the driver wants to quickly improve the dynamic property of the vehicle during the catapult starting or overtaking, the most reasonable mode is the motion mode. However, when the vehicle is basically stationary during launch, the dynamic driving index approaches zero, and the current mode is determined according to insufficient driver input information (such as brake pedal input, steering wheel input, accelerator pedal input and the like) when the logical vehicle of the current intelligent driving mode recognition system is stationary. Similarly, the current mode may not be in the sport mode when the driver has just made a cut-in intention. At present, during overtaking or launch starting, the most frequent condition is that the dynamic driving index of the vehicle is increased due to large acceleration and large speed during overtaking or launch starting, and then the mode is switched to the motion mode, but when launch starting or overtaking, a driver expects that the mode of the vehicle can be switched to the motion mode at the first time.
In summary, in order to provide better driving experience for the driver, the driving pattern recognition scheme of the existing intelligent driving pattern recognition system needs to be improved.
Disclosure of Invention
In view of the above, the present invention is directed to a method for controlling a driving mode of a vehicle, so as to at least partially solve the above technical problems.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a vehicle driving mode control method comprising: identifying a driving scene of a vehicle; and controlling the vehicle to enter a corresponding driving mode according to the driving scene of the vehicle.
Further, the driving scenes comprise a long-time parking scene, a traffic light waiting scene, a traffic jam scene, a launch starting scene and an overtaking scene, and the driving scenes for identifying the vehicles comprise: identifying whether the vehicle is in one of the long-time parking scene, the traffic light scene and the traffic jam scene according to the parking times and the vehicle speed of the vehicle; identifying whether the vehicle is in the launch starting scene or not according to the speed, the gear and the opening degree of an accelerator pedal of the vehicle; and judging whether the vehicle is in a passing scene or not according to the vehicle speed, the steering lamp signal, the opening degree of an accelerator pedal, the steering wheel angle and the pressure of a brake cylinder of the vehicle.
Further, the identifying whether the vehicle is in one of the long-time parking scene, the traffic light scene and the traffic jam scene according to the parking times and the vehicle speed of the vehicle comprises: when the vehicle is in a first condition that the parking times are 1 and the vehicle speed is lower than a preset speed threshold value of entering a parking state, judging whether first time when the first condition is continuously established is smaller than a preset time threshold value of entering the parking state, if so, identifying the driving scene as the traffic light scene, otherwise, identifying the driving scene as the long-time parking scene; and/or corresponding to the situation that the driving scene is the traffic light scene, when the vehicle is in a second condition that the vehicle speed is higher than a preset speed threshold value of a quitting traffic light state, judging whether a second time when the second condition is continuously established exceeds a preset time threshold value of quitting the traffic light, if so, setting the parking times to be 0, otherwise, continuously counting the parking times of the vehicle, if the counted parking times is 1, identifying the driving scene as the traffic light scene, and if the counted parking times is more than or equal to 2, identifying the driving scene as the traffic jam scene.
Further, the identifying whether the vehicle is in the launch starting scene according to the vehicle speed, the gear and the accelerator pedal opening degree of the vehicle includes: when the vehicle is in a third condition that the vehicle speed is smaller than a preset starting speed threshold value, the gear is a forward gear, and the accelerator pedal opening is larger than or equal to a preset starting opening threshold value, judging whether a third time that the third condition is continuously established is smaller than or equal to a preset starting delay threshold value, and if so, identifying that the driving scene is the launch starting scene.
Further, the judging whether the vehicle is in the overtaking scene according to the vehicle speed, the turn light signal, the opening degree of an accelerator pedal, the turning angle of a steering wheel and the pressure of a brake cylinder of the vehicle comprises: when the vehicle is in a fourth condition that the vehicle speed is greater than a preset overtaking speed limit, a steering lamp is in an activated state and the opening of an accelerator pedal is greater than a preset overtaking opening threshold value, judging whether a fourth time continuously established by the fourth condition is greater than a preset overtaking time threshold value, if so, continuing to judge as follows:
and when the vehicle is in a fifth condition that the steering wheel angle is larger than a preset overtaking angle threshold value and the pressure of a brake master cylinder before the preset time is larger than a preset turning brake pressure threshold value, judging whether the fifth time that the fifth condition is continuously established is larger than a preset overtaking delay threshold value or not, and if so, identifying that the vehicle is in an overtaking scene.
Further, the driving modes include an economy mode with a power level from low to high, a standard mode and a sport mode, and the controlling the vehicle to enter the corresponding driving mode according to the driving scene of the vehicle includes: under the traffic light scene, if the vehicle is in the standard mode or the motion mode, controlling the vehicle to keep a current driving mode; under the traffic jam scene, prohibiting the vehicle from switching to a driving mode with a power level higher than that of a current driving mode or controlling the vehicle to be in the economic mode; and controlling the vehicle to be switched to the motion mode within preset time in the launch starting scene and the overtaking scene.
Compared with the prior art, the vehicle driving mode control method disclosed by the invention has the advantages that the driving mode is switched by combining the driving scene, so that the switching of the driving mode is more reasonable, the functions of the existing intelligent driving mode recognition system are enriched, the robustness of the system is increased, and the driving experience of a driver is improved.
Another object of the present invention is to provide a vehicle driving mode control system to at least partially solve the above technical problems.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a vehicle driving mode control system comprising: the identification module is used for identifying the driving scene of the vehicle; and the control module is used for controlling the vehicle to enter a corresponding driving mode according to the driving scene of the vehicle identified by the identification module.
Further, the driving scene includes a long-time parking scene, a traffic light waiting scene, a traffic jam scene, a launch starting scene and an overtaking scene, and the identification module includes: the first identification submodule is used for identifying whether the vehicle is in one of the long-time parking scene, the traffic light scene and the traffic jam scene according to the parking times and the vehicle speed of the vehicle; the second identification submodule is used for identifying whether the vehicle is in the launch starting scene or not according to the speed, the gear and the opening degree of an accelerator pedal of the vehicle; and the third identification submodule is used for identifying whether the vehicle is in a passing scene or not according to the speed of the vehicle, a steering lamp signal, the opening degree of an accelerator pedal, the turning angle of a steering wheel and the pressure of a brake cylinder.
Further, the identifying the vehicle in one of the long-time parking scene, the traffic light scene and the traffic jam scene according to the number of parking times and the vehicle speed of the vehicle includes: when the vehicle is in a first condition that the parking times are 1 and the vehicle speed is lower than a preset speed threshold value of entering a parking state, judging whether first time when the first condition is continuously established is smaller than a preset time threshold value of entering the parking state, if so, identifying the driving scene as the traffic light scene, otherwise, identifying the driving scene as the long-time parking scene; and corresponding to the situation that the driving scene is the traffic light scene, when the vehicle is in a second condition that the vehicle speed is higher than a preset speed threshold value of a quitting traffic light state, judging whether a second time continuously satisfied by the second condition exceeds a preset time threshold value of quitting the traffic light, if so, setting the parking times to be 0, otherwise, continuously counting the parking times of the vehicle, if the counted parking times is 1, identifying the driving scene as the traffic light scene, and if the counted parking times is more than or equal to 2, identifying the driving scene as the traffic jam scene.
Further, the second identification submodule is used for identifying whether the vehicle is in the launch starting scene according to the vehicle speed, the gear and the accelerator pedal opening degree of the vehicle, and comprises: when the vehicle is in a third condition that the vehicle speed is smaller than a preset starting speed threshold value, the gear is a forward gear, and the accelerator pedal opening is larger than or equal to a preset starting opening threshold value, judging whether a third time that the third condition is continuously established is smaller than or equal to a preset starting delay threshold value, and if so, identifying that the driving scene is the launch starting scene.
Further, the third identification submodule is used for identifying whether the vehicle is in an overtaking scene according to the vehicle speed, the steering lamp signal, the opening degree of an accelerator pedal, the steering wheel angle and the pressure of a brake cylinder of the vehicle, and comprises the following steps: when the vehicle is in a fourth condition that the vehicle speed is greater than a preset overtaking speed limit, a steering lamp is in an activated state and the opening of an accelerator pedal is greater than a preset overtaking opening threshold value, judging whether a fourth time continuously established by the fourth condition is greater than a preset overtaking time threshold value, if so, continuing to judge as follows: and when the vehicle is in a fifth condition that the steering wheel angle is larger than a preset overtaking angle threshold value and the pressure of a brake master cylinder before the preset time is larger than a preset turning brake pressure threshold value, judging whether the fifth time that the fifth condition is continuously established is larger than a preset overtaking delay threshold value or not, and if so, identifying that the vehicle is in an overtaking scene.
Further, the driving modes include an economy mode with a power level from low to high, a standard mode and a sport mode, and the control module for controlling the vehicle to enter the corresponding driving mode includes: under the traffic light scene, if the vehicle is in the standard mode or the motion mode, controlling the vehicle to keep a current driving mode; under the traffic jam scene, prohibiting the vehicle from switching to a driving mode with a power level higher than that of a current driving mode or controlling the vehicle to be in the economic mode; and controlling the vehicle to be switched to the motion mode within preset time in the launch starting scene and the overtaking scene.
Another object of the present invention is to propose a machine readable storage medium to at least partially solve the above technical problem.
In order to achieve the purpose, the technical scheme of the invention is realized as follows:
a machine-readable storage medium having instructions stored thereon for causing a machine to perform the vehicle driving mode control method described above.
The vehicle driving mode control system and the machine-readable storage medium have the same advantages as the vehicle driving mode control method compared with the prior art, and are not described herein again.
Additional features and advantages of the invention will be set forth in the detailed description which follows.
Detailed Description
In addition, the embodiments of the present invention and the features of the embodiments may be combined with each other without conflict.
The present invention will be described in detail below with reference to the accompanying drawings in conjunction with embodiments.
Fig. 1 is a flowchart illustrating a vehicle driving mode control method according to an embodiment of the present invention. As shown in fig. 1, the vehicle driving mode control method includes:
step S100, a driving scene of the vehicle is recognized.
And S200, controlling the vehicle to enter a corresponding driving mode according to the driving scene of the vehicle.
In the embodiment of the invention, the driving scenes mainly comprise long-time parking scenes, traffic light waiting scenes, traffic jam scenes, catapult starting scenes and overtaking scenes, and the driving modes comprise an economic mode, a standard mode and a motion mode with the power level from low to high.
Corresponding to step S100, the method for recognizing a driving scene of a vehicle according to the embodiment of the present invention mainly includes the following three steps:
aiming at the long-time parking scene, the traffic light scene and the traffic jam scene.
In the embodiment of the invention, whether the vehicle is in one of the long-time parking scene, the traffic light scene and the traffic jam scene is identified according to the parking times and the vehicle speed of the vehicle. In the embodiment of the present invention, the vehicle speed is reduced from a speed threshold value (the speed threshold is close to 0) higher than the speed threshold value entering the parking state to a speed threshold value lower than the speed threshold value, and the vehicle is recorded as one-time parking, that is, the corresponding number of times of parking is 1.
Taking the traffic lights in the actual road as an example, the operation flows mainly involved when waiting for the traffic lights, parking for a long time and traffic jam are as follows: the number of parking times is 1, and when the corresponding time in the parking state is short (for example, the time of a regular equal traffic light, such as 60s, 30s, etc.), the vehicle may be in the equal traffic light state, and if the corresponding time in the parking state is long (for example, greater than 120s), the vehicle may already be in the long parking state; when the vehicle is in a parking state of the traffic lights, if the vehicle speed is higher than the set threshold value within the preset time, the vehicle is likely to start to normally run, otherwise, whether the parking times exist is judged again, if the parking times are still 1, the vehicle is likely to be in the traffic lights, and if the parking times are more than or equal to 2, the vehicle is in a stop-and-go state and is likely to be in a traffic jam scene.
Accordingly, the embodiment of the present invention can determine the following two situations as the traffic light waiting scene, that is:
in a first situation, when the vehicle is in a first condition that the parking times is 1 and the vehicle speed is lower than a preset speed threshold value of entering a parking state, whether first time when the first condition is continuously established is smaller than a preset time threshold value of entering the parking state is judged, if yes, the driving scene is identified as the traffic light scene, and if not, the driving scene is identified as the long-time parking scene.
This first case is described in detail below with reference to fig. 2. Fig. 2 is a schematic diagram of an exemplary process for determining a traffic light scene in a first situation, where Vx represents a vehicle speed, a threshold value of a speed entering a parking state is Ke _ exitwaitingtraffspdthre, and a threshold value of a time entering the parking state is Ke _ EnterParkingMaxTime. As shown in fig. 2, it is first determined whether the number of parking times is 1, if yes, it is continuously determined whether the vehicle speed is lower than a threshold (Ke _ EnterParkingSpdThre), if yes, it is continuously determined whether the first time that the first condition continuously holds is less than a set threshold (Ke _ EnterParkingMaxTime), if yes, it indicates that the current traffic light scene is equal (marked as trafficlightflag 1), and if not, it indicates that the current traffic light scene is long-time parking scene (marked as standstillfflg 1).
And in a second situation, corresponding to the situation that the driving scene is the traffic light scene, when the vehicle is in a second condition that the vehicle speed is higher than a preset speed threshold value of a quitting traffic light state, judging whether a second time when the second condition is continuously satisfied exceeds a preset time threshold value of the quitting traffic light, if so, setting the parking times to be 0, otherwise, continuously counting the parking times of the vehicle, if the counted parking times is 1, identifying the driving scene as the traffic light scene, and if the counted parking times is more than or equal to 2, identifying the driving scene as the traffic jam scene.
This first case is described in detail below with reference to fig. 3. Fig. 3 is a schematic flowchart of an example process for determining a constant traffic light scene in a second case, where the preset speed threshold value of the exiting constant traffic light state is denoted as Ke _ exitwaitngtrafficspdhre, and the preset time threshold value of the exiting constant traffic light, Ke _ exitwaitngtrafficmaxtime. As shown in fig. 3, it is first determined whether the vehicle speed is higher than a threshold value Ke _ exitwaitingtraffspdthre (i.e., a second condition), if the second condition is satisfied, it is continuously determined whether the duration time (i.e., a second time) exceeds a preset time threshold value (Ke _ exitwaitingtraffmaxtime) of the traffic lights such as exit, if so, the number of parking times is set to zero (because the vehicle may have normally traveled), if the duration time does not exceed the threshold value, it is continuously determined whether the number of parking times is 1, if the number of parking times is 1, it indicates that the vehicle is currently an environment with equal traffic lights (trafficlightflag is 1), and if the number of parking times is greater than or equal to 2, it indicates that the vehicle is currently a congested urban section (slowfloflg is 1).
It should be noted that after the vehicle starts to run normally, the driving mode of the vehicle can be continuously monitored and switched by the scheme based on the dynamic driving index of the whole vehicle or the behavior of the driver in the background art.
And secondly, aiming at a launch starting scene.
In the embodiment of the invention, whether the vehicle is in the launch starting scene is identified according to the vehicle speed, the gear and the opening degree of an accelerator pedal of the vehicle.
Launch refers to the driver's attempt to obtain sufficient power in the initial launch stage to enable the vehicle to reach the desired speed in the shortest time. The general operation flow of the launch start comprises the following steps: generally, when a vehicle is in a stationary state, a brake is stepped on, an accelerator pedal is stepped to a deep position, and a brake pedal is released at a proper time, so that the vehicle can rapidly obtain sufficient power at a low gear.
Accordingly, the step of identifying whether the vehicle is in the launch starting scene in the embodiment of the invention comprises the following steps: when the vehicle is in a third condition that the vehicle speed is smaller than a preset starting speed threshold value, the gear is a forward gear, and the accelerator pedal opening is larger than or equal to a preset starting opening threshold value, judging whether a third time that the third condition is continuously established is smaller than or equal to a preset starting delay threshold value, and if so, identifying that the driving scene is the launch starting scene.
Fig. 4 is an exemplary flowchart illustrating a process of determining a launch start scene in the embodiment of the present invention, where the preset start speed threshold is denoted as Ke _ maxracestartvehstdre, the gear signal is denoted as AccGear, the preset start opening threshold is denoted as Ke _ minracestartpos, and the preset start delay threshold is denoted as Ke _ RaceStartDelay. Referring to fig. 4, it is first determined whether the vehicle speed is less than Ke _ maxracestartvehstdtre (the value is small and corresponds to the vehicle starting state), if so, it is further determined whether the gear of the transmission satisfies a condition of being in gear 1 or gear 2 (1 ≦ AccGear ≦ 2, i.e., being in a forward gear), if so, it is further determined whether the accelerator pedal opening is greater than or equal to a threshold value Ke _ minracestartropos, if both are satisfied (i.e., the third condition is satisfied), the timer is set to zero while starting timing to obtain a third time, if the third time is less than or equal to Ke _ RaceStartDelay, the driving scene is identified as the launch starting scene (RaceStartFlg is 1), otherwise, the RaceStartFlg is 0.
It should be noted that the meaning that the third time is less than or equal to Ke _ RaceStartDelay is to give a certain delay time to the selection of the driving mode corresponding to the launch starting scene, and if the launch delay threshold value Ke _ RaceStartDelay is exceeded (for example, 40s), the vehicle may already be in a normal driving state, and it should be considered that the driving mode of the vehicle is continuously monitored and switched based on the dynamic driving index of the entire vehicle or the behavior of the driver.
3) And judging whether the vehicle is in a passing scene or not according to the vehicle speed, the steering lamp signal, the opening degree of an accelerator pedal, the steering wheel angle and the pressure of a brake cylinder of the vehicle.
An important judgment information when the driver overtakes is whether the turn signal is on, but the turn signal needs to be turned on when the vehicle turns, so that when the logic of the overtaking scene identification is formulated, the driver needs to be mainly distinguished to turn or overtake when the turn signal is turned on. For the average driver, overtaking and steering are in large principle the same and different points as follows:
the same points are as follows: a) the left steering lamp signal or the right steering lamp signal can be activated during overtaking and steering; b) the steering wheel is rotated by a certain angle during both overtaking and steering.
The difference is as follows: a) the speed is usually higher than the speed during turning when overtaking, and the speed is usually lower than 50KPH when turning on an urban road; b) in order to increase the speed as soon as possible during overtaking, the opening degree of the accelerator pedal is in a deep position within a short time, but the opening degree of the accelerator pedal does not have the phenomenon for steering; c) the speed is often high before turning, and the vehicle speed is usually reduced by stepping on a brake pedal for smooth turning during turning, so that the vehicle can smoothly complete the turning action.
Accordingly, based on the above principle and the actual driving test overtaking situation, the identifying an overtaking scene in the embodiment of the present invention specifically includes: and when the vehicle is in a fourth condition that the vehicle speed is greater than a preset overtaking speed limit, a steering lamp is in an activated state and the opening of an accelerator pedal is greater than a preset overtaking opening threshold value, judging whether a fourth time continuously established by the fourth condition is greater than a preset overtaking time threshold value or not. If yes, continuing to judge: and when the vehicle is in a fifth condition that the steering wheel angle is larger than a preset overtaking angle threshold value and the pressure of a brake master cylinder before the preset time is larger than a preset turning brake pressure threshold value, judging whether the fifth time that the fifth condition is continuously established is larger than a preset overtaking delay threshold value or not, and if so, identifying that the vehicle is in an overtaking scene.
Fig. 5 is a schematic flowchart of an example process for determining an overtaking scene in the embodiment of the present invention, where a preset overtaking speed limit is denoted by Ke _ overt _ cityspd, an overtaking scene flag is denoted by CityOvertakingFlg, a turn signal state is denoted by TurningLightState, the preset overtaking opening threshold value is denoted by Ke _ overttakingthrottle, the preset overtaking time threshold value is denoted by Ke _ cityovertakingexceedthreime, the preset overtaking rotation angle threshold value is denoted by Ke _ cityovertakingstepingangthrottle, the preset turning braking pressure threshold value is denoted by Ke _ CityBrakingPreThresh, and the preset overtaking delay threshold value is denoted by Ke _ cityroadoverttakingdelay.
As shown in fig. 5, it is first determined whether the vehicle speed is greater than a threshold value Ke _ overturkingcityspd, if not, overturns 0, otherwise, it is continuously determined whether the turn signal is activated (turning lightstate 1. If the turn signal is not activated, the city overtakingFlg is equal to 0, if the turn signal is activated, whether the opening degree of the accelerator pedal is larger than a specific threshold value (Ke _ overtakingThrotthre) is continuously judged, and the fourth condition is finished. If the fourth condition is not true, cityeover kingflg is 0, while the Timer is set to an initial value (e.g., Timer 1000). If the fourth condition is satisfied, the Timer is set to zero and starts to count again to determine a fourth time, and then it is continuously determined whether the fourth time is greater than a specific threshold value Ke _ cityaversakinegtiecemetimetretime, if not, cityaversatgflg is 0, otherwise, it is continuously determined whether the steering wheel angle is greater than a specific threshold value Ke _ cityaversatgenergthrithre, if so, cityaversatgflg is 0, otherwise, it is continuously determined whether a Timer for counting the braking time (the Timer is, for example, Timer1, whose determination logic is: Timer1(0) ═ 1000, if the master cylinder pressure is greater than the threshold value (master cylinder pressure > Ke _ cityabrakingprethresh), then the Timer1 is set to zero and starts to count again, and if the master cylinder pressure is less than the threshold value, then the Timer1 is set to an initial value (i.e., the Timer1 is greater than the threshold value) and the fifth time brakingthresh is completed. If the fifth condition is not satisfied, cityaovertatkingflg is equal to 0, otherwise, Timer2(Timer2(0) ═ 1000) is set to zero and timing is started, if Timer2 is less than or equal to Ke _ cityarodoverkingdelay, citkiflg is equal to 1, otherwise, citkiflg is equal to 0.
It should be noted that the preset overtaking delay threshold value Ke _ cityro overtakingdelay is similar to the significance of the start delay threshold value Ke _ RaceStartDelay in section 2), a certain delay time is provided for selecting the driving mode corresponding to the overtaking scene, if the delay time is exceeded, overtaking may have been completed, and it should be considered to continue monitoring and switching the driving mode of the vehicle based on the dynamic driving index of the entire vehicle or the behavior of the driver.
In addition, it should be noted that the scheme for identifying the driving scene in the embodiment of the present invention may also be applied to other control systems of the vehicle to assist in making a decision, for example, if some vehicle control functions are not suitable to be activated on a congested road section, the corresponding driving scene may be identified first by the scheme of the embodiment of the present invention, and then the corresponding control functions are controlled not to be activated. In addition, if any of the sub-conditions included in the first to fifth conditions is not satisfied, the corresponding process should be exited.
Further, corresponding to step S200, for the above-mentioned long-time parking scene, the traffic light waiting scene, the traffic jam scene, the launch starting scene, and the passing scene, in the embodiment of the present invention, controlling the vehicle to enter the corresponding driving mode according to the driving scene of the vehicle may specifically include: under the traffic light scene, if the vehicle is in the standard mode or the motion mode, controlling the vehicle to keep a current driving mode; under the traffic jam scene, prohibiting the vehicle from switching to a driving mode with a power level higher than that of a current driving mode or controlling the vehicle to be in the economic mode; and controlling the vehicle to be switched to the motion mode within preset time in the launch starting scene and the overtaking scene.
For example, at equal traffic lights, the vehicle is parked such that its dynamic driving index approaches zero, and the driver does not perform driving operations such that the driver's driving intention cannot be monitored, in which case the driving mode switching scheme in the prior art would switch the vehicle from the standard mode or the sport mode to the economy mode, but in fact the driver is simply forced to park for equal traffic lights, and does not expect the vehicle to switch to the standard mode. In this regard, the method of the embodiment of the present invention is used to identify a traffic light scene, and if the vehicle is in the normal mode or the sport mode, the vehicle may be kept in the original mode without switching to the economy mode. Similarly, in the traffic jam scenario, the optimal mode is the economy mode, but in order to prevent other vehicles from being jammed, it is not excluded that the driver may accelerate suddenly, and then follow the vehicle slowly at sudden deceleration, when the prior art driving mode switching scheme is adopted, the vehicle may frequently switch the driving mode. In this regard, the method of the embodiment of the invention is adopted to identify a traffic jam scene, and the mode switching of the vehicle to the higher level is prohibited (if the vehicle is in the standard mode originally, the vehicle is allowed to switch to the economy mode on a jammed road section, but if the vehicle is in the economy mode originally, the vehicle is not allowed to switch to the standard mode or the sport mode even though the driver has the behavior of accelerating for a period of time). Similarly, when the vehicle is started by ejection or overtaking, the driving mode switching scheme in the prior art cannot be switched to the motion mode with faster power output at the first time, so that the driving experience of the driver is influenced.
In summary, the vehicle driving mode control method provided by the embodiment of the invention provides a scheme for switching the driving mode in combination with the driving scene, so that the switching of the driving mode is more reasonable. The vehicle driving mode control method can be applied to the existing intelligent driving mode recognition system of the vehicle, mode switching of the intelligent driving mode recognition system under the traffic light scene or the traffic jam scene can be more reasonable by detecting a plurality of typical driving modes, robustness of the system is improved, meanwhile, the intelligent driving mode recognition system can be switched to a motion mode with faster power output at the first time when launching or overtaking is carried out, and driving experience of a driver is improved. In addition, the vehicle driving mode control method of the embodiment of the invention realizes the improvement of the performance of the intelligent driving mode recognition system on a software level, does not involve the modification of system parts, and has simple and flexible development process.
Fig. 6 is a schematic structural diagram of a vehicle driving mode control system according to an embodiment of the present invention, which is based on the same inventive concept as the vehicle driving mode control method described above. As shown in fig. 6, the vehicle driving mode control system may include: an identification module 100 for identifying a driving scenario of a vehicle; and a control module 200 for controlling the vehicle to enter a corresponding driving mode according to the driving scene of the vehicle identified by the identification module 100.
The driving scenes comprise a long-time parking scene, a traffic light waiting scene, a traffic jam scene, a launch starting scene and an overtaking scene.
Preferably, the identification module 100 comprises: a first identification submodule 110, configured to identify whether the vehicle is in one of the long-time parking scene, the traffic light scene and the traffic jam scene according to the number of times of parking of the vehicle and a vehicle speed; the second identification submodule 120 is configured to identify whether the vehicle is in the launch starting scene according to the vehicle speed, the gear and the accelerator pedal opening of the vehicle; and a third identification submodule 130, configured to identify whether the vehicle is in an overtaking scene according to the vehicle speed, a turn signal, an accelerator pedal opening, a steering wheel angle, and a brake cylinder pressure of the vehicle.
More preferably, the first identifying sub-module 110 identifying whether the vehicle is in one of the long stop scenario, the traffic light scenario, and the traffic congestion scenario comprises: when the vehicle is in a first condition that the parking times are 1 and the vehicle speed is lower than a preset speed threshold value of entering a parking state, judging whether first time when the first condition is continuously established is smaller than a preset time threshold value of entering the parking state, if so, identifying the driving scene as the traffic light scene, otherwise, identifying the driving scene as the long-time parking scene; and corresponding to the situation that the driving scene is the traffic light scene, when the vehicle is in a second condition that the vehicle speed is higher than a preset speed threshold value of a quitting traffic light state, judging whether a second time continuously satisfied by the second condition exceeds a preset time threshold value of quitting the traffic light, if so, setting the parking times to be 0, otherwise, continuously counting the parking times of the vehicle, if the counted parking times is 1, identifying the driving scene as the traffic light scene, and if the counted parking times is more than or equal to 2, identifying the driving scene as the traffic jam scene.
More preferably, the identifying of the vehicle in the launch scene by the second identifying submodule 120 includes: when the vehicle is in a third condition that the vehicle speed is smaller than a preset starting speed threshold value, the gear is a forward gear, and the opening of the accelerator pedal is larger than or equal to a preset starting opening threshold value, judging whether a third time for continuously establishing the third condition is smaller than or equal to a preset starting delay threshold value, and if so, identifying that the driving scene is the launch starting scene;
more preferably, the identifying of whether the vehicle is in the overtaking scene by the third identifying submodule 130 includes: when the vehicle is in a fourth condition that the vehicle speed is greater than a preset overtaking speed limit, a steering lamp is in an activated state and the opening of an accelerator pedal is greater than a preset overtaking opening threshold value, judging whether a fourth time continuously established by the fourth condition is greater than a preset overtaking time threshold value, if so, continuing to judge as follows: and when the vehicle is in a fifth condition that the steering wheel angle is larger than a preset overtaking angle threshold value and the pressure of a brake master cylinder before the preset time is larger than a preset turning brake pressure threshold value, judging whether the fifth time that the fifth condition is continuously established is larger than a preset overtaking delay threshold value or not, and if so, identifying that the vehicle is in an overtaking scene.
Further, the driving modes include an economy mode with a power level from low to high, a standard mode, and a sport mode, and the control module 200 for controlling the vehicle to enter the corresponding driving mode includes: under the traffic light scene, if the vehicle is in the standard mode or the motion mode, controlling the vehicle to keep a current driving mode; under the traffic jam scene, prohibiting the vehicle from switching to a driving mode with a power level higher than that of a current driving mode or controlling the vehicle to be in the economic mode; and controlling the vehicle to be switched to the motion mode within preset time in the launch starting scene and the overtaking scene.
The specific implementation details and effects of the vehicle driving mode control system according to the embodiment of the present invention can refer to the vehicle driving mode control method described above, and are not described herein again.
Embodiments of the present invention also provide a machine-readable storage medium having instructions stored thereon for causing a machine to perform the vehicle driving mode control described above. The machine-readable storage medium includes, but is 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 (Flash Memory) or other Memory technologies, compact disc read only Memory (CD-ROM), Digital Versatile Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, and the like, which can store program code. The device for executing the vehicle driving mode Control may be, for example, a computer, a microcontroller, a microprocessor, or the like, or may be an Electronic Control Unit (ECU) of the vehicle. It can be understood that, when the machine for executing the vehicle driving mode control method is the ECU of the vehicle, the embodiment of the present invention provides a vehicle driving mode selection algorithm that can be embedded in the ECU control program, so as to optimize the performance of the vehicle chassis, which is simple and saves the development cost.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.