Gear shifting abnormity processing method and electric all-terrain vehicle
Through the collaboration between the gear shift controller and the vehicle controller, the gear shift abnormalities are monitored and handled, and the problem of gear shift errors in electric all-terrain vehicles is solved, improving driving safety and experience.
Patent Information
- Application Number
- CN202510563361.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-30
- Publication Date
- 2025-07-25
AI Technical Summary
Existing electric all-terrain vehicles can easily lead to gear switching errors through switch signals, resulting in inconsistent gear information displayed with the actual gear, affecting the driving experience and posing safety hazards.
Through communication and cooperation between the gear shift controller and the vehicle controller, the shift process is monitored, the signal is sent according to the shift operation, the actual gear position signal is determined, and the electric drive system is prohibited from working in abnormal situations, and the shift abnormal prompt information is displayed.
Effectively prevent potential accidents caused by wrong gears, improve the driving safety of the vehicle and improve the driving experience.
Smart Images

Figure CN120368038A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of vehicle control, and in particular, to a method for handling abnormal shifting and an electric all-terrain vehicle. Background Art
[0002] An electric all-terrain vehicle refers to an all-terrain vehicle powered by electricity, such as an ATV (All Terrain Vehicle) or a UTV (Utility Terrain Vehicle). Existing electric all-terrain vehicles generally control gear shifting through switch signals, but this method is prone to incorrect gear shifting and the gear information displayed on the vehicle may also be inconsistent with the actual gear. Then this will lead to the actual gear not matching the driver's expectation, thus affecting the driving experience, and there may also be incorrect operations because the driver is unaware of the incorrect gear, thus posing a safety hazard. Summary of the Invention
[0003] In view of this, the purpose of the present invention is to provide a method for handling abnormal shifting and an electric all-terrain vehicle.
[0004] To achieve the above purpose, the technical solutions adopted in the embodiments of the present invention are as follows:
[0005] In a first aspect, the present invention provides a method for handling abnormal shifting, which is applied to an electric all-terrain vehicle. The electric all-terrain vehicle includes a shift controller, a vehicle controller, and an electric drive system. The vehicle controller is communicatively connected to the shift controller and the electric drive system respectively. The method includes:
[0006] The shift controller sends a shift signal to the vehicle controller according to a shift operation;
[0007] The vehicle controller determines an actual gear signal based on the shift signal and the current gear, and sends the actual gear signal to the shift controller;
[0008] The shift controller controls the displayed gear indication information according to the actual gear signal, and sends the gear indication information to the vehicle controller;
[0009] The vehicle controller determines whether the shift is abnormal based on the gear indication information and the actual gear signal, and prohibits the electric drive system from working and displays an abnormal shift prompt message in the case of an abnormal shift.
[0010] In an optional implementation, the electric all-terrain vehicle includes a shift control;
[0011] The shift controller sends a shift signal to the vehicle controller according to a shift operation, including:
[0012] When the shift controller operates the shift control in a preset first direction during the shift operation, it sends a shift signal carrying a first flag to the vehicle controller.
[0013] When the shift controller operates the shift control in a preset second direction during the shift operation, it sends a shift signal carrying a second flag to the vehicle controller; where the second direction is opposite to the first direction.
[0014] In an optional implementation, when the shift control is a knob, the first direction is the clockwise direction and the second direction is the counterclockwise direction.
[0015] In an optional implementation, the vehicle controller determines the actual gear signal according to the shift signal and the current gear, including:
[0016] The vehicle controller determines whether the preset shift condition is met according to the current vehicle state, the current brake signal state, and the current vehicle speed;
[0017] When the vehicle controller determines that the shift condition is not met, it does not perform gear shifting and generates an actual gear signal based on the current gear;
[0018] When the vehicle controller determines that the shift condition is met, it determines the target gear based on the flag carried by the shift signal and the current gear, and compares the target gear with the current gear;
[0019] When the target gear is the same as the current gear, the vehicle controller does not perform gear shifting and generates an actual gear signal based on the current gear;
[0020] When the target gear is different from the current gear, the vehicle controller switches from the current gear to the target gear and generates an actual gear signal based on the target gear.
[0021] In an optional implementation, the vehicle controller determines whether the preset shift condition is met according to the current vehicle state, the current brake signal state, and the current vehicle speed, including:
[0022] The vehicle controller determines that the shift condition is met when the current vehicle state is the powered-on state, the current brake signal state is the activated state, and the current vehicle speed does not exceed the preset vehicle speed threshold;
[0023] The vehicle controller determines that the shift condition is met when the current vehicle state is the pre-start state, the current brake signal state is the activated state, and the current vehicle speed does not exceed the vehicle speed threshold;
[0024] When the current vehicle state of the vehicle controller is neither the power-on state nor the pre-start state, it is determined that the shifting condition is not met;
[0025] When the current brake signal state of the vehicle controller is the unactivated state, it is determined that the shifting condition is not met;
[0026] When the current vehicle speed exceeds the vehicle speed threshold, the vehicle controller determines that the shifting condition is not met.
[0027] In an optional embodiment, the gears of the electric all-terrain vehicle include a forward gear, a neutral gear, and a reverse gear, and the shifting control of the electric all-terrain vehicle sequentially includes the gear marks of the reverse gear, the neutral gear, and the forward gear in a preset first direction;
[0028] The vehicle controller determines the target gear based on the flag carried by the shifting signal and the current gear, including:
[0029] When the current gear is the reverse gear, if the flag carried by the shifting signal is the first flag, the vehicle controller determines that the target gear is the neutral gear, or if the flag carried by the shifting signal is the second flag, the vehicle controller determines that the target gear is the reverse gear.
[0030] In an optional embodiment, the vehicle controller determines the target gear based on the flag carried by the shifting signal and the current gear, including:
[0031] When the current gear is the neutral gear, if the flag carried by the shifting signal is the first flag, the vehicle controller determines that the target gear is the forward gear, or if the flag carried by the shifting signal is the second flag, the vehicle controller determines that the target gear is the reverse gear.
[0032] In an optional embodiment, the vehicle controller determines the target gear based on the flag carried by the shifting signal and the current gear, including:
[0033] When the current gear is the forward gear, if the flag carried by the shifting signal is the first flag, the vehicle controller determines that the target gear is the forward gear, or if the flag carried by the shifting signal is the second flag, the vehicle controller determines that the target gear is the neutral gear.
[0034] In an optional embodiment, each gear of the electric all-terrain vehicle has a corresponding indicator light, and each indicator light has an identifier;
[0035] The shifting controller controls the displayed gear indication information according to the actual gear signal and sends the gear indication information to the vehicle controller, including:
[0036] The shift controller controls the corresponding indicator light to be in the lit state according to the actual gear signal, and sends the identifier of the indicator light to the vehicle controller.
[0037] In a second aspect, the present invention provides an electric all-terrain vehicle, including a vehicle controller, a shift controller, and an electric drive system. The vehicle controller is communicatively connected to the shift controller and the electric drive system respectively. The electric all-terrain vehicle is used to implement the shift abnormality handling method described in any one of the foregoing embodiments.
[0038] The shift abnormality handling method and the electric all-terrain vehicle provided by the embodiments of the present invention include: First, the shift controller sends a shift signal to the vehicle controller according to a shift operation; then the vehicle controller determines an actual gear signal based on the shift signal and the current gear, and sends the actual gear signal to the shift controller; then the shift controller controls the displayed gear indication information according to the actual gear signal and sends it to the vehicle controller; finally, the vehicle controller determines whether the shift is abnormal based on the gear indication information and the actual gear signal, and prohibits the electric drive system from working and displays a shift abnormality prompt message in the case of a shift abnormality. Through the communication and cooperation between the shift controller and the vehicle controller, the shift process is monitored, and corresponding protection measures are taken when the shift is abnormal, thereby effectively preventing potential accidents caused by incorrect gears, improving the driving safety of the vehicle and enhancing the driving experience.
[0039] To make the above objects, features, and advantages of the present invention more obvious and understandable, the following specifically enumerates preferred embodiments and, in conjunction with the accompanying drawings, is described in detail as follows. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] To more clearly illustrate the technical solutions of the embodiments of the present invention, the following briefly introduces the drawings required to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.
[0041] Figure 1 Shows a connection block diagram of the electric all-terrain vehicle provided by the embodiment of the present invention;
[0042] Figure 2 Shows a schematic flowchart of the shift abnormality handling method provided by the embodiment of the present invention;
[0043] Figure 3 Shows an example diagram of a shift operation provided by the embodiment of the present invention;
[0044] Figure 4 Shows an example diagram of a shift control provided by the embodiment of the present invention. Detailed implementation manners
[0045] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. Components of the embodiments of the present invention described and illustrated herein can be arranged and designed in a variety of different configurations usually.
[0046] Therefore, the following detailed description of the embodiments of the present invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the embodiments of the present invention without creative efforts belong to the scope of protection of the present invention.
[0047] It should be noted that relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprising", "including" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such process, method, article or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the presence of additional identical elements in the process, method, article or device comprising the element.
[0048] Please refer to Figure 1 , which is a block diagram of an electric all-terrain vehicle provided by an embodiment of the present invention. The electric all-terrain vehicle includes a shift controller, a vehicle controller, and an electric drive system, and the vehicle controller is communicatively connected to the shift controller and the electric drive system respectively. For example, a Controller Area Network (CAN) bus can be used to implement the communication connection between the vehicle controller, the shift controller, and the electric drive system.
[0049] Among them, the shift controller can be an Electronic Shift Module (ESM). The vehicle controller can be an Integrated Control and Communication Unit (ICCU). The electric drive system includes a motor and a motor controller, and the electric drive system controls the torque output by the motor to control vehicle driving by receiving instructions sent by the vehicle controller.
[0050] It can be understood thatFigure 1 The structure shown is only a schematic diagram of the structure of an electric all-terrain vehicle. The electric all-terrain vehicle may also include more or fewer components than those shown in Figure 1 or have a different configuration from that shown in Figure 1 . Figure 1 Each component shown in
[0051] can be implemented by hardware, software, or a combination thereof.
[0052] Please refer to Figure 2 , which is a schematic flowchart of a method for handling abnormal gear shifting provided by an embodiment of the present invention.
[0053] Step S200, the gear shift controller sends a gear shift signal to the vehicle controller according to the gear shift operation.
[0054] Step S202, the vehicle controller determines the actual gear signal according to the gear shift signal and the current gear, and sends the actual gear signal to the gear shift controller.
[0055] Step S204, the gear shift controller controls the displayed gear indication information according to the actual gear signal, and sends the gear indication information to the vehicle controller.
[0056] Step S206, the vehicle controller determines whether the gear shift is abnormal according to the gear indication information and the actual gear signal, and prohibits the operation of the electric drive system and displays an abnormal gear shift prompt message in the case of an abnormal gear shift.
[0057] In this embodiment, when the driver wants to switch gears, a gear shift operation can be performed. Then, the gear shift controller will send a gear shift signal corresponding to the gear shift operation to the vehicle controller according to the gear shift operation. Then, the vehicle controller determines the actual gear signal according to the received gear shift signal and the current gear of the vehicle, and sends it to the vehicle controller. Among them, the current gear refers to the gear state of the electric all-terrain vehicle before receiving the driver's gear shift operation. The actual gear signal is a signal generated by the vehicle controller through comprehensive analysis of the gear shift signal and the current gear, and is used to represent the actual gear of the vehicle.
[0058] Next, the gear shift controller controls the displayed gear indication information according to the received actual gear signal. For example, the gear shift controller can display the actual gear of the vehicle by controlling the instrument panel. And the gear shift controller will also send the gear indication information to the vehicle controller. Finally, the vehicle controller compares the gear represented by the received gear indication information with the actual gear, that is, determines whether the gear shift is abnormal by judging whether the two are consistent.
[0059] If they are consistent, it indicates that the gear position information displayed by the vehicle is the actual gear position of the vehicle, and the gear shift is determined to be normal. If they are inconsistent, it indicates that the gear position information displayed by the vehicle is not the actual gear position of the vehicle, and the gear shift is determined to be abnormal. In this case, the vehicle controller will send a command to the electric drive system to prohibit the electric drive system from working, that is, control the torque output by the motor to zero to ensure that the vehicle cannot be driven. At the same time, the vehicle controller will also control the instrument panel to display a gear shift abnormal prompt message to alert the driver that the gear position is incorrect, so as to avoid potential safety problems caused by the driver's misoperation.
[0060] It should be noted that during the period when the shift controller sends a shift signal to the vehicle controller to determine whether the shift is abnormal, the electric drive system is always in a state where the vehicle cannot be driven to ensure safety.
[0061] It can be seen that based on the above steps, first, the shift controller sends a shift signal to the vehicle controller according to the shift operation; then the vehicle controller determines the actual gear position signal based on the shift signal and the current gear position, and sends the actual gear position signal to the shift controller; then the shift controller controls the displayed gear position indication information according to the actual gear position signal and sends it to the vehicle controller; finally, the vehicle controller determines whether the shift is abnormal based on the gear position indication information and the actual gear position signal, and prohibits the electric drive system from working and displays a gear shift abnormal prompt message in case of an abnormal shift. Through the communication and cooperation between the shift controller and the vehicle controller, the shift process is monitored, and corresponding protection measures are taken in case of an abnormal shift, thus effectively preventing potential accidents caused by incorrect gear positions, improving the driving safety of the vehicle and enhancing the driving experience.
[0062] Optionally, for step S200, an embodiment of the present invention provides a possible implementation manner.
[0063] Step S200-1, when the shift operation is to operate the shift control in a preset first direction, the shift controller sends a shift signal carrying a first flag to the vehicle controller.
[0064] Step S200-2, when the shift operation is to operate the shift control in a preset second direction, the shift controller sends a shift signal carrying a second flag to the vehicle controller; where the second direction is opposite to the first direction.
[0065] In this embodiment, the electric all-terrain vehicle includes a shift control. Different flags can be preset to represent different shift operations, that is, different operations performed by the driver on the shift control. For example, a first flag such as 0x1 can be set to indicate that the driver operates the shift control in a first direction; and a second flag such as 0x2 can be set to indicate that the driver operates the shift control in a second direction; a third flag such as 0x0 can also be set to indicate that the driver does not perform an operation on the shift control. It should be understood that the first flag, the second flag, and the third flag can be set according to the actual situation, and the embodiments of the present invention are not limited thereto.
[0066] Moreover, the shift control can be a knob or a lever. When the shift control is a knob, the first direction can be the clockwise direction and the second direction is the counterclockwise direction. When the shift control is a lever, the first direction can be vertically upward and the second direction is vertically downward, or the first direction can be horizontally forward and the second direction is horizontally backward, or the first direction can be horizontally to the right and the second direction is horizontally to the left. That is, the first direction and the second direction are two opposite directions. It should be understood that the shift control, the first direction, and the second direction can be set according to the actual situation, and the embodiments of the present invention are not limited thereto.
[0067] For ease of understanding, the following takes the shift control as a knob as an example to illustrate steps S200-1 to S200-2. For example, as Figure 3 (a) shows, when the driver rotates the knob in the first direction, that is, the clockwise direction, that is, the driver rotates the knob to the right, the shift controller sends a shift signal carrying the first flag, that is, 0x1, to the vehicle controller based on this shift operation. As Figure 3 (b) shows, when the driver rotates the knob in the counterclockwise direction, that is, rotates the knob to the left, the shift controller sends a shift signal carrying the second flag, that is, 0x2, to the vehicle controller based on this shift operation.
[0068] Optionally, for step S202, the embodiments of the present invention provide a possible implementation manner.
[0069] Step S202-1, the vehicle controller determines whether the preset shift condition is reached according to the current vehicle state, the current brake signal state, and the current vehicle speed.
[0070] Step S202-2, when the vehicle controller determines that the shift condition is not reached, it does not perform a gear shift and generates an actual gear signal based on the current gear.
[0071] Step S202-3, when the vehicle controller determines that the shift condition is reached, it determines the target gear based on the flag carried in the shift signal and the current gear, and compares the target gear with the current gear.
[0072] Step S202-4, when the target gear is the same as the current gear, the vehicle controller does not perform gear shifting and generates an actual gear signal based on the current gear.
[0073] Step S202-5, when the target gear is different from the current gear, the vehicle controller switches from the current gear to the target gear and generates an actual gear signal based on the target gear.
[0074] It can be understood that, in order to ensure the safety of gear shifting, the embodiments of the present invention preset gear shifting conditions, that is, according to the state of the vehicle, the state of the brake signal, and the speed of the vehicle, to determine whether the gear shifting conditions are met. Then, after receiving the gear shifting signal sent by the gear shifting controller, the vehicle controller will determine whether the preset gear shifting conditions are met according to the current vehicle state, the current brake signal state, and the current vehicle speed.
[0075] If the vehicle controller determines that the gear shifting conditions are not met, then the vehicle controller will not perform gear shifting, thereby avoiding causing safety problems, and the vehicle controller will also generate an actual gear signal based on the current gear to send to the gear shifting controller. If the vehicle controller determines that the gear shifting conditions are met, then the vehicle controller will determine the target gear according to the flag carried by the gear shifting signal and the current gear, and compare the target gear with the current gear, that is, determine whether the two are the same.
[0076] If the target gear is the same as the current gear, it means that there is no need to shift gears currently, then the vehicle controller will not perform gear shifting, and generate an actual gear signal based on the current gear to send to the gear shifting controller. If the target gear is different from the current gear, it means that gear shifting is required currently, then the vehicle controller will perform gear shifting, that is, switch the gear of the vehicle from the current gear to the target gear, and generate an actual gear signal based on the target gear to send to the gear shifting controller.
[0077] Optionally, for step S202-1, the embodiments of the present invention provide a possible implementation manner.
[0078] Step S202-1-1, when the current vehicle state is the power-on state, the current brake signal state is the activated state, and the current vehicle speed does not exceed the preset vehicle speed threshold, the vehicle controller determines that the gear shifting conditions are met.
[0079] Step S202-1-2, when the current vehicle state is the pre-start state, the current brake signal state is the activated state, and the current vehicle speed does not exceed the vehicle speed threshold, the vehicle controller determines that the gear shifting conditions are met.
[0080] Step S202-1-3, when the current vehicle state is neither the power-on state nor the pre-start state, the vehicle controller determines that the gear shifting conditions are not met.
[0081] Step S202-1-4, when the current brake signal status is in the unactivated state, the vehicle control unit determines that the shifting condition is not met.
[0082] Step S202-1-5, when the current vehicle speed exceeds the vehicle speed threshold, the vehicle control unit determines that the shifting condition is not met.
[0083] In this embodiment, after the vehicle control unit obtains the current vehicle state, the current brake signal status, and the current vehicle speed, it first determines whether the current vehicle state is the powered-on state or the pre-start state. If the current vehicle state is the powered-on state, it means that the vehicle power supply is in the powered-on mode, i.e., the ON mode; if the current vehicle state is the pre-start state, it means that the vehicle power supply is powered on and the electric drive system is ready and in a state capable of driving the vehicle, i.e., the Ready state.
[0084] It can be understood that when the current vehicle state is the powered-on state or the pre-start state, it means that the vehicle meets the hardware conditions for shifting. Then, when the current vehicle state is neither the powered-on state nor the pre-start state, the vehicle control unit determines that the shifting condition is not met; when the current vehicle state is the powered-on state or the pre-start state, the vehicle control unit makes a further judgment based on the current brake signal status.
[0085] The vehicle control unit determines whether the current brake signal status is the activated state. If the current brake signal status is the unactivated state, it means that the driver has not performed a braking operation, i.e., the driver has no intention of shifting gears; if the current brake signal status is the activated state, it means that the driver has performed a braking operation, i.e., the driver intends to switch gears. It can be understood that in the embodiment of the present invention, the state of the brake signal is used to determine whether the driver has an intention of shifting gears to avoid accidental triggering of shifting. Then, when the current brake signal status is the unactivated state, the vehicle control unit determines that the shifting condition is not met; when the current brake signal status is the activated state, the vehicle control unit makes a further judgment based on the current vehicle speed.
[0086] The vehicle control unit determines whether the current vehicle speed exceeds a preset vehicle speed threshold, such as 1 km / h. If the current vehicle speed exceeds the vehicle speed threshold, it is considered that the vehicle is not in a stationary state currently, i.e., the safety risk of shifting gears is relatively high; if the current vehicle speed does not exceed the vehicle speed threshold, it is considered that the vehicle is in a stationary state currently, i.e., the safety risk of shifting gears is relatively low. It can be understood that in the embodiment of the present invention, the comparison result between the current vehicle speed and the vehicle speed threshold is used to determine whether the vehicle is in a stationary state to ensure the safety of shifting gears. Then, when the current vehicle speed exceeds the vehicle speed threshold, the vehicle control unit determines that the shifting condition is not met to avoid causing safety problems; when the current vehicle speed does not exceed the vehicle speed threshold, the vehicle control unit determines that the shifting condition is met.
[0087] It should be understood that the vehicle speed threshold can be set based on the error of the motor speed itself, and the above vehicle speed threshold of 1 km / h is only an example. The specific value of the vehicle speed threshold can be set according to the actual situation, and the embodiments of the present invention are not limited thereto.
[0088] Optionally, the gears of the electric all-terrain vehicle include a forward gear, a neutral gear, and a reverse gear. Among them, the reverse gear can be represented by R, the neutral gear can be represented by N, and the forward gear can be represented by F. And the shift control of the electric all-terrain vehicle sequentially includes the gear marks of the reverse gear, the neutral gear, and the forward gear in a preset first direction. For the convenience of understanding, in the embodiments of the present invention, taking the shift control as a knob and the first direction as the clockwise direction as an example, an example diagram of the shift control is provided, as Figure 4 .
[0089] Based on the three cases where the current gear can be the reverse gear, the neutral gear, or the forward gear, the embodiments of the present invention provide three possible implementation manners for the process in step S202-3 where the vehicle controller determines the target gear based on the flag carried in the shift signal and the current gear. The following will introduce these three implementation manners separately.
[0090] The first implementation manner: when the current gear is the reverse gear, if the flag carried in the shift signal is the first flag, the vehicle controller determines that the target gear is the neutral gear, or, if the flag carried in the shift signal is the second flag, the vehicle controller determines that the target gear is the reverse gear.
[0091] For the convenience of understanding, the following takes Figure 4 as an example for illustration. In the case where the current gear is the reverse gear, i.e., the R gear. When the driver rotates the knob, i.e., turns the knob to the right, in the first direction, i.e., the clockwise direction, the shift controller sends a shift signal carrying the first flag, i.e., 0x1, to the vehicle controller. That is, the flag in the shift signal received by the vehicle controller is the first flag, i.e., 0x1. Then, according to the first flag, i.e., 0x1, it is determined that the driver expects to switch the gear of the vehicle to the gear whose mark is on the right side of the current gear mark. Based on the current gear being the reverse gear, i.e., the R gear, the mark on the right side of its mark is the mark of the N gear. Then, the N gear, i.e., the neutral gear, is used as the target gear. Since the current gear, i.e., the R gear, is different from the target gear, i.e., the N gear, the vehicle controller will execute the gear shift, i.e., switch the gear of the vehicle from the R gear to the N gear.
[0092] When the driver rotates the knob in the second direction, i.e., counterclockwise (left - hand rotation of the knob), the shift controller sends a shift signal carrying the second flag, i.e., 0x2, to the vehicle controller. That is, the flag in the shift signal received by the vehicle controller is the second flag, i.e., 0x2. Then, based on the second flag, i.e., 0x2, it is determined that the driver expects to switch the gear of the vehicle to the gear whose mark is to the left of the current gear mark. Since the current gear is the reverse gear, i.e., R gear, and there is no other gear mark to its left, that is, the mark of the R gear is at the leftmost position, the R gear, i.e., the reverse gear, is taken as the target gear. Since the current gear and the target gear are the same, both being the R gear, there is no need to shift gears, so the vehicle controller will not perform gear shifting.
[0093] The second implementation method: When the current gear of the vehicle controller is the neutral gear, if the flag carried by the shift signal is the first flag, the target gear is determined to be the forward gear; or, if the flag carried by the shift signal is the second flag, the target gear is determined to be the reverse gear.
[0094] For the sake of easy understanding, the following takes Figure 4 as an example for illustration. When the current gear is the neutral gear, i.e., N gear. When the driver rotates the knob in the first direction, i.e., clockwise (right - hand rotation of the knob), the shift controller sends a shift signal carrying the first flag, i.e., 0x1, to the vehicle controller. That is, the flag in the shift signal received by the vehicle controller is the first flag, i.e., 0x1. Then, based on the first flag, i.e., 0x1, it is determined that the driver expects to switch the gear of the vehicle to the gear whose mark is to the right of the current gear mark. Since the current gear is the neutral gear, i.e., N gear, and the mark to its right is the mark of the F gear, the F gear, i.e., the forward gear, is taken as the target gear. Since the current gear, i.e., N gear, is different from the target gear, i.e., F gear, the vehicle controller will perform gear shifting, that is, switch the gear of the vehicle from N gear to F gear.
[0095] When the driver rotates the knob in the second direction, i.e., counterclockwise (left - hand rotation of the knob), the shift controller sends a shift signal carrying the second flag, i.e., 0x2, to the vehicle controller. That is, the flag in the shift signal received by the vehicle controller is the second flag, i.e., 0x2. Then, based on the second flag, i.e., 0x2, it is determined that the driver expects to switch the gear of the vehicle to the gear whose mark is to the left of the current gear mark. Since the current gear is the neutral gear, i.e., N gear, and the mark to its left is the mark of the R gear, the R gear, i.e., the reverse gear, is taken as the target gear. Since the current gear, i.e., N gear, is different from the target gear, i.e., R gear, the vehicle controller will perform gear shifting, that is, switch the gear of the vehicle from N gear to R gear.
[0096] The third implementation method: When the current gear of the vehicle controller is the forward gear, if the flag carried by the shift signal is the first flag, the target gear is determined to be the forward gear; or, if the flag carried by the shift signal is the second flag, the target gear is determined to be the neutral gear.
[0097] For ease of understanding, the following takes Figure 4 as an example for illustration. When the current gear position is the forward gear, i.e., the F gear. When the driver rotates the knob in the first direction, i.e., clockwise (right rotation of the knob), the shift controller sends a shift signal carrying the first flag, i.e., 0x1, to the vehicle controller. That is, the flag in the shift signal received by the vehicle controller is the first flag, i.e., 0x1. Then, according to the first flag, i.e., 0x1, it is determined that the driver expects to switch the gear of the vehicle to the gear whose mark is on the right side of the current gear mark. Based on the fact that the current gear is the forward gear, i.e., the F gear, and there is no mark of other gears on its right side, that is, the mark of the F gear is on the rightmost side, the F gear, i.e., the forward gear, is taken as the target gear. Since the current gear and the target gear are the same, both being the F gear, there is no need to shift gears, so the vehicle controller will not perform gear shifting.
[0098] When the driver rotates the knob in the second direction, i.e., counterclockwise (left rotation of the knob), the shift controller sends a shift signal carrying the second flag, i.e., 0x2, to the vehicle controller. That is, the flag in the shift signal received by the vehicle controller is the second flag, i.e., 0x2. Then, according to the second flag, i.e., 0x2, it is determined that the driver expects to switch the gear of the vehicle to the gear whose mark is on the left side of the current gear mark. Based on the fact that the current gear is the forward gear, i.e., the F gear, and the mark on its left side is the mark of the N gear, the N gear, i.e., the neutral gear, is taken as the target gear. Since the current gear, i.e., the F gear, is different from the target gear, i.e., the N gear, the vehicle controller will perform gear shifting, that is, switch the gear of the vehicle from the F gear to the N gear.
[0099] For ease of understanding, an embodiment of the present invention provides a table showing the relationship between the above shift operations, the current gear position, and the target gear position.
[0100]
[0101]
[0102] It should be understood that the above is only an example with a knob. In the case where the shift control is a lever or other devices, the above implementation method can also be referred to determine the target gear position.
[0103] Optionally, for step S204, an embodiment of the present invention provides a possible implementation method, that is: the shift controller controls the corresponding indicator light to be in the lit state according to the actual gear signal, and sends the identifier of the indicator light to the vehicle controller.
[0104] In this embodiment, the dashboard of the electric all-terrain vehicle has indicator lights corresponding to each gear position. For example, taking the above-mentioned electric all-terrain vehicle with three gear positions: reverse gear (i.e., R gear), neutral gear (i.e., N gear), and forward gear (i.e., F gear) as an example, the R gear has a corresponding indicator light such as indicator light 1, the N gear has a corresponding indicator light such as indicator light 2, and the F gear has a corresponding indicator light such as indicator light 3. Moreover, indicator light 1, indicator light 2, and indicator light 3 each have an identifier.
[0105] Then, when the actual gear position is the reverse gear (i.e., R gear), the shift controller controls the dashboard to turn on indicator light 1 and sends the identifier of indicator light 1 to the vehicle controller. When the actual gear position is the neutral gear (i.e., N gear), the shift controller controls the dashboard to turn on indicator light 2 and sends the identifier of indicator light 2 to the vehicle controller. When the actual gear position is the forward gear (i.e., F gear), the shift controller controls the dashboard to turn on indicator light 3 and sends the identifier of indicator light 3 to the vehicle controller.
[0106] It can be understood that, due to some unexpected situations, the shift controller may not turn on the corresponding indicator light according to the actual gear position. Therefore, the embodiment of the present invention also sends the identifier of the lit indicator light to the vehicle controller, so that the vehicle controller compares the gear position corresponding to the lit indicator light with the actual gear position to determine whether there is an abnormality in shifting, and takes corresponding protection measures when shifting is abnormal, thereby improving the driving safety of the vehicle.
[0107] The embodiment of the present invention also provides an electric all-terrain vehicle, including a vehicle controller, a shift controller, and an electric drive system. The vehicle controller is communicatively connected to the shift controller and the electric drive system respectively. The electric all-terrain vehicle is used to implement the shift abnormality handling method disclosed in the embodiment of the present invention.
[0108] In several embodiments provided by this application, it should be understood that the disclosed method can also be implemented in other ways. The embodiments described above are merely illustrative. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architectures, functions, and operations of the methods and computer program products according to multiple embodiments of the present invention. In this regard, each block in the flowchart or block diagram may represent a module, a program segment, or a part of code, and the module, program segment, or part of code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the blocks may occur in a different order from that marked in the accompanying drawings. For example, two consecutive blocks can actually be executed substantially in parallel, and they can sometimes be executed in the reverse order, depending on the functions involved. It should also be noted that each block in the block diagram and / or flowchart, as well as the combination of blocks in the block diagram and / or flowchart, can be implemented by a dedicated hardware-based system for performing the specified functions or actions, or can be implemented by a combination of dedicated hardware and computer instructions.
[0109] In addition, each functional module in various embodiments of the present invention can be integrated together to form an independent part, or each module can exist alone, or two or more modules can be integrated to form an independent part.
[0110] The above are only the preferred embodiments of the present invention and are not used to limit the present invention. For those skilled in the art, the present invention can have various changes and modifications. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A method for handling abnormal gear shifting, characterized in that, Applied to an electric all-terrain vehicle, the electric all-terrain vehicle includes a shift controller, a vehicle controller, and an electric drive system. The vehicle controller is communicatively connected to the shift controller and the electric drive system respectively. The method includes: The shift controller sends a shift signal to the vehicle controller according to a shift operation; The vehicle controller determines an actual gear position signal based on the shift signal and the current gear position, and sends the actual gear position signal to the shift controller; The shift controller controls the displayed gear position indication information according to the actual gear position signal, and sends the gear position indication information to the vehicle controller; The vehicle controller determines whether the shift is abnormal based on the gear position indication information and the actual gear position signal, and prohibits the electric drive system from working and displays a shift abnormality prompt message in case of a shift abnormality.
2. The abnormal shift handling method according to claim 1, wherein The electric all-terrain vehicle includes a shift control; The shift controller sends a shift signal to the vehicle controller according to a shift operation, including: When the shift operation is to operate the shift control in a preset first direction, the shift controller sends a shift signal carrying a first flag to the vehicle controller; When the shift operation is to operate the shift control in a preset second direction, the shift controller sends a shift signal carrying a second flag to the vehicle controller; wherein, the second direction is opposite to the first direction.
3. The abnormal shift handling method according to claim 2, wherein When the shift control is a knob, the first direction is the clockwise direction and the second direction is the counterclockwise direction.
4. The abnormal shift handling method according to claim 1, wherein The vehicle controller determines an actual gear position signal based on the shift signal and the current gear position, including: The vehicle controller determines whether a preset shift condition is reached according to the current vehicle state, the current brake signal state, and the current vehicle speed; When the vehicle controller determines that the shift condition is not reached, it does not perform gear shifting and generates an actual gear position signal based on the current gear position; When the vehicle controller determines that the shift condition is reached, it determines a target gear position based on the flag carried by the shift signal and the current gear position, and compares the target gear position with the current gear position; When the target gear position is the same as the current gear position, the vehicle controller does not perform gear shifting and generates an actual gear position signal based on the current gear position; When the target gear position is different from the current gear position, the vehicle controller switches from the current gear position to the target gear position and generates an actual gear position signal based on the target gear position.
5. The abnormal gearshift processing method according to claim 4, characterized in that The vehicle controller determines whether a preset shift condition is reached according to the current vehicle state, the current brake signal state, and the current vehicle speed, including: When the current vehicle state is the power-on state, the current brake signal state is the activated state, and the current vehicle speed does not exceed a preset vehicle speed threshold, the vehicle controller determines that the shift condition is reached; When the current vehicle state is the pre-start state, the current brake signal state is the activated state, and the current vehicle speed does not exceed the vehicle speed threshold, the vehicle controller determines that the shift condition is reached; When the current vehicle state is neither the power-on state nor the pre-start state, the vehicle controller determines that the shift condition is not reached; When the current brake signal status is in the unactivated state, the vehicle control unit determines that the shifting condition is not met; When the current vehicle speed exceeds the vehicle speed threshold, the vehicle control unit determines that the shifting condition is not met.
6. The abnormal shift handling method according to claim 4, characterized in that The gears of the electric all-terrain vehicle include a forward gear, a neutral gear, and a reverse gear. The shifting control of the electric all-terrain vehicle sequentially includes the gear marks of the reverse gear, the neutral gear, and the forward gear in a preset first direction; The vehicle control unit determines the target gear based on the flag carried by the shifting signal and the current gear, including: When the current gear is the reverse gear, if the flag carried by the shifting signal is the first flag, the vehicle control unit determines that the target gear is the neutral gear; or if the flag carried by the shifting signal is the second flag, the vehicle control unit determines that the target gear is the reverse gear.
7. The abnormal shift handling method according to claim 6, characterized in that The vehicle control unit determines the target gear based on the flag carried by the shifting signal and the current gear, including: When the current gear is the neutral gear, if the flag carried by the shifting signal is the first flag, the vehicle control unit determines that the target gear is the forward gear; or if the flag carried by the shifting signal is the second flag, the vehicle control unit determines that the target gear is the reverse gear.
8. The abnormal shift handling method according to claim 6, wherein The vehicle control unit determines the target gear based on the flag carried by the shifting signal and the current gear, including: When the current gear is the forward gear, if the flag carried by the shifting signal is the first flag, the vehicle control unit determines that the target gear is the forward gear; or if the flag carried by the shifting signal is the second flag, the vehicle control unit determines that the target gear is the neutral gear.
9. The abnormal shift handling method according to claim 1, characterized in that Each gear of the electric all-terrain vehicle has a corresponding indicator light, and each indicator light has an identifier; The shifting controller controls the displayed gear indication information according to the actual gear signal and sends the gear indication information to the vehicle control unit, including: The shifting controller controls the corresponding indicator light to be in the lit state according to the actual gear signal and sends the identifier of the indicator light to the vehicle control unit.
10. An electric all-terrain vehicle, characterized in that, It includes a vehicle control unit, a shifting controller, and an electric drive system. The vehicle control unit is communicatively connected to the shifting controller and the electric drive system respectively. The electric all-terrain vehicle is used to implement the shifting abnormal handling method according to any one of claims 1 to 9.