A gear control method, storage medium and vehicle for electric vehicle
By using multi-speed transmissions to initialize gears and dynamic torque adjustment in low-speed electric vehicles, the problem of slipping and side-slip on low-friction roads is solved, which improves safety and reliability, reduces costs and is applicable In various usage environments.
Patent Information
- Application Number
- CN202210154637.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-02-18
- Publication Date
- 2024-11-12
- Estimated Expiration
- 2042-02-18
AI Technical Summary
Low-speed electric vehicles are prone to slip and side slip on roads with low friction, and the prior art cannot effectively meet various usage environments, resulting in problems of driving safety and high cost.
Multi-speed transmission is used to initialize gears and control the gears, and dynamically adjust the driving torque according to the vehicle speed, slope and friction coefficient to ensure the safe and economical driving of the vehicle under different road conditions.
It improves the safety and reliability of low-speed electric vehicles in different road environments, reduces costs, and avoids wheel slip through dynamic torque adjustment, ensuring the normal driving of the vehicle and the safety of the driver.
Smart Images

Figure CN114379380B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to a gear control technology, and more particularly to a gear control method, a storage medium and a vehicle of an electric vehicle. Background Art
[0002] Existing low-speed electric vehicles refer to sightseeing vehicles, patrol vehicles or battery vehicles. In order to reduce costs, most of these vehicles are not equipped with a transmission. For example, patent CN205768662U discloses the use of a gear switch, and the accelerator pedal and brake pedal directly control the driving state of the drive motor; there are also high-speed gears and low-speed gears in the prior art, such as patent CN110370944A, but it only limits the speed of the drive motor and does not involve a transmission. Secondly, the mass of low-speed electric vehicles is relatively light and the tires are relatively hard. Therefore, on roads with low friction, such as ice or snow, it is easy to slip, side-slip and other dangers, affecting driving safety. Compared with high-performance electric vehicles, the motor torque control accuracy of low-speed electric vehicles is relatively low and most do not have other auxiliary control systems, such as TCS (traction control system) or gear initialization, so the operating experience and driving safety are poor.
[0003] In addition, low-speed electric vehicles are prone to skidding, especially on roads with low friction, such as snow, ice or roads contaminated by oil. Existing electric vehicles often use the TCS control method, that is, controlling the output torque of the drive motor after skidding occurs, but there are some problems. For example, when the electric vehicle starts, the drive motor torque is large. At the moment the wheel rotates, the resistance changes from static friction to dynamic friction, and the resistance suddenly decreases. The drive torque is too large, causing the wheel to slip, and even unstable direction, vehicle side slip and other dangers. Especially when starting on a snowy uphill road, once the wheel slips, the road friction coefficient μ decreases, so it may fail to start or slip backwards. Patent CN1 13246983A discloses a hill start assist method, device, vehicle and storage medium. When the hill start assist function is turned on, the target drive torque is set according to the real-time vehicle speed, and the vehicle is controlled to travel according to the target drive torque to prevent the vehicle from slipping or sliding backward when starting on a slope. The torque can be controlled in advance when the driver steps on the accelerator pedal, which can effectively prevent the drive wheel from slipping too early. At the same time, sufficient drive torque can be provided for acceleration when the vehicle speed is high, so that the vehicle can climb the slope smoothly and prevent slipping and sliding backward, ensuring the safety of the vehicle and the acceleration of starting. However, the wear of the vehicle tires or the different conditions of the snowy road surface cause the friction coefficient to be inconsistent with the set parameters in the controller, and the target torque cannot be accurately obtained, or even if the preset control parameters are used, due to the change of the snowy road surface or the replacement of the tires, the set target torque value is used to control the drive motor, and there is still a risk of vehicle slipping; secondly, if the transmission is not used for speed change, the drive motor directly drives the wheel. Due to the large torque fluctuation of the drive motor, it is also easy to cause static friction to change to dynamic friction, which makes the driving vehicle easy to be dangerous. Summary of the invention
[0004] The purpose of the present invention is to provide a gear control method, storage medium and vehicle for an electric vehicle in view of the above problems. A multi-speed transmission is used to initialize the gears to meet the safety and economy of the electric vehicle under different road conditions, and the change of the driving state of the electric vehicle is completed based on the control of the drive motor. When the vehicle speed is greater than the set value, the transmission upshift process is completed; secondly, the method solves the problem that existing electric vehicles cannot meet a variety of usage environments, and the solution of high-performance electric vehicles will cause the cost of electric vehicles to be too high.
[0005] A first aspect of an embodiment of the present invention provides a gear control method for an electric vehicle, comprising the following steps:
[0006] S1, after the electric vehicle is powered on, the gear position of the transmission is initialized based on the environment in which the electric vehicle is located;
[0007] S2, starting from the initialization state, and controlling the driving system to complete the change of the driving state of the electric vehicle;
[0008] S3: When the vehicle speed is greater than the set value, the transmission is controlled to shift up.
[0009] In a possible implementation, in step S1, when the electric vehicle is powered on a flat road, the transmission is controlled to be initialized to a low gear.
[0010] In a possible implementation, in step S1, when the electric vehicle is in an uphill environment, the transmission is initialized to a low gear and the electric vehicle is controlled to enter a hill assist mode.
[0011] In a possible implementation, in step S1, when the electric vehicle is in a downhill power-on environment, the transmission is controlled to be initialized to a low gear, and when the acceleration of the electric vehicle is greater than a set threshold, the transmission is controlled to be in a high gear.
[0012] In a possible implementation, in step S1, when the electric vehicle is located in an environment where the road friction coefficient is less than a preset friction coefficient, the transmission is controlled to be initialized to a high gear.
[0013] In a possible implementation, in step S1, the gear is in N gear.
[0014] In one possible implementation, in step S2, when the vehicle speed is not greater than the first speed, the gear is shifted from N to D or R, and when the throttle signal is true, the transmission remains in gear, and the drive system responds normally to the throttle signal; when the vehicle speed is greater than the second speed, the gear is shifted from N to R or D, and the transmission remains in gear; if the vehicle's driving direction is the same as the gear-shifting direction, the drive system responds normally to the throttle signal; if the vehicle's driving direction is opposite to the gear-shifting direction, then when the vehicle speed is reduced to no greater than the first speed, the drive system responds normally to the throttle signal.
[0015] In a possible implementation, in step S2, the gear is shifted from D gear or R gear to N gear, the transmission is maintained in gear, and the drive system does not respond to the throttle signal.
[0016] In a possible implementation, in step S2, the gear is shifted from D to R or from R to D, the transmission is maintained in gear, and when the vehicle speed is reduced to no more than the first speed, the drive system responds to the positive torque or negative torque corresponding to the throttle signal.
[0017] In one possible implementation, in step S2, when the electric vehicle is in an environment where the road friction coefficient is less than a preset friction coefficient, the throttle signal is true, and the gear is not in N gear, the controller calculates a first torque value based on the ramp angle, the mass of the electric vehicle, the gear position and the preset friction coefficient, and controls the drive system to slowly increase the torque until the smaller value of the first torque value and the torque value corresponding to the throttle opening.
[0018] In one possible implementation, when the drive motor is controlled by using the smaller value of the first torque value and the torque value corresponding to the throttle opening, the wheel slip rate is greater than a preset value, and the controller recalculates and updates the friction coefficient. After the controller controls the electric vehicle to be stationary for a preset time, the second torque value is recalculated based on the ramp angle, the mass of the electric vehicle, the gear position and the updated friction coefficient, and the drive system is controlled at 70%-95% of the second torque value. If the torque value of the control drive system is insufficient to drive the electric vehicle or causes the electric vehicle to still slip, an alarm is issued.
[0019] A second aspect of an embodiment of the present invention provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned gear control method is implemented.
[0020] A third aspect of an embodiment of the present invention provides a vehicle, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the above-mentioned gear control method when executed by the processor.
[0021] The embodiments of the present invention provide a gear control method, storage medium and vehicle for an electric vehicle. Compared with the existing electric vehicles, a multi-speed transmission is provided to improve the safety and reliability under different road environment conditions. Secondly, since the transmission is initialized to shift into a high gear on a road with less friction, the torque transmitted to the wheels is reduced, and the torque fluctuation problem of the drive motor is improved. The present invention also proposes a gear switching strategy. When the R gear is shifted into the D gear or the D gear is shifted into the R gear, and the vehicle speed is reduced to no more than the first speed, the drive motor can respond to the accelerator pedal signal, thereby improving driving safety. For vehicles on roads with less friction, the present invention also proposes to calculate a first torque value based on the slope angle, vehicle mass, gear and preset friction coefficient, and control the drive motor to shift to a higher gear. The motor slowly increases the torque value until it reaches the smaller value of the first torque value or the torque value corresponding to the throttle opening, so as to prevent the static friction from becoming dynamic friction due to the use of a target torque that does not meet the road conditions when just starting, thereby increasing the difficulty of driving. Secondly, by detecting the wheel slip rate, if the target torque is not suitable for driving on the current road surface, the target torque is recalculated based on the updated friction coefficient to ensure normal driving of the vehicle. If the target torque value is insufficient or the vehicle still slips, an alarm is issued. The safety of the driver and the vehicle is ensured by the above settings. Finally, the method solves the problem that existing electric vehicles cannot meet a variety of usage environments. If the solution of high-performance electric vehicles is adopted, the cost of electric vehicles will be too high. The present invention is suitable for the gear control of low-speed electric vehicles. BRIEF DESCRIPTION OF THE DRAWINGS
[0022] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments are briefly introduced below. It should be understood that the following drawings only show certain embodiments of the present invention and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without creative work.
[0023] Figure 1 A logic diagram of a gear control method provided by an embodiment of the present invention;
[0024] Figure 2 A logic diagram of a gear control method for preventing slipping mode provided by an embodiment of the present invention;
[0025] Figure 3a A schematic diagram of a drive motor provided by an embodiment of the present invention using linearly increasing torque;
[0026] Figure 3b A schematic diagram of a drive motor provided by an embodiment of the present invention using nonlinear torque increase;
[0027] Figure 4 A force analysis diagram of an electric vehicle when it is powered uphill provided by an embodiment of the present invention. DETAILED DESCRIPTION
[0028] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments.
[0029] 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 invention claimed for protection, but merely represents selected embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0030] The idea of the embodiment of the present invention is to use a multi-transmission, complete the gear shifting by initializing the gear position; subsequently, starting from the initialization state, the driving state of the electric vehicle is changed based on the control of the drive motor; when the vehicle speed is greater than the set value, the transmission is controlled to shift up. This method simplifies the difficulty of shifting gears, does not require the installation of many sensors, and meets the driving requirements of different environments. Secondly, compared with existing high-performance electric vehicles, the manufacturing cost is reduced.
[0031] Figure 1 This is a logic diagram of a gear control method for an electric vehicle provided by an embodiment of the present invention. This embodiment is applicable to the field of low-speed electric vehicles. The control method can be stored on a storage medium and executed by a processor, and specifically includes the following steps:
[0032] S1, after the electric vehicle is powered on, the gear position of the transmission is initialized based on the environment in which the electric vehicle is located.
[0033] The environment in which the electric vehicle is located includes but is not limited to the following environments: powering on a flat road, powering on an uphill road, powering on a downhill road, and powering on when the road friction coefficient is less than a preset friction coefficient (anti-skid mode). The anti-skid mode here includes but is not limited to one or more of roads contaminated by oil, ice and snow. When powering on a flat road, the initialization gear of the transmission is controlled to be a low gear to increase the driving torque when the vehicle starts; when powering on an uphill road, the initialization gear of the transmission is controlled to be a low gear, and the electric vehicle is controlled to enter a hill assist mode, by setting a low gear to increase the vehicle's uphill torque, and secondly by controlling the torque of the drive system to prevent the electric vehicle from slipping backward; when powering on a downhill road, the initialization gear of the transmission is controlled to be a low gear, and when the acceleration of the electric vehicle is greater than a set threshold, the transmission is controlled to shift to a high gear; in the anti-skid mode, the initialization gear of the transmission is controlled to be a high gear.
[0034] In this embodiment, when the electric vehicle is powered on downhill, when the acceleration of the electric vehicle is greater than a set threshold, the transmission is controlled to shift into a high gear. Compared with the prior art in which speed is used as a condition for shifting into a high gear, the safety and success rate of the electric vehicle shifting into a high gear are improved. When the acceleration of the electric vehicle is small, it is directly shifted into a low gear for starting; if the acceleration is large, the speed range of safe shifting may be exceeded in a short period of time, and since there is a certain delay in the sensor measuring the vehicle speed, the success rate of shifting into a gear will be reduced. The present invention uses the magnitude of acceleration as a condition for shifting into a gear to improve the success rate of shifting into a gear and prevent the vehicle from speeding; secondly, the calculation of the acceleration can be indirectly calculated by the ECU through parameters, or it can be measured by an acceleration sensor; the set threshold is determined based on information such as the gear position of the transmission, the gear ratio, and the mass of the vehicle. The set threshold is not specifically limited here, and it can be understood that to prevent the vehicle from speeding, when the vehicle speed reaches the preset speed, the transmission is controlled to shift into a high gear.
[0035] Specifically, the low speed gear is the first gear, and the high speed gear is the gear other than the first gear. For the convenience of description, the following text uses a two-speed gearbox for explanation
[0036] It should be pointed out that flat road, uphill and downhill are divided based on the angle of the ramp. When the slope angle of the road is less than the preset slope value, it can be considered a flat road. When the slope angle is greater than the preset slope value, it is considered an uphill or downhill. If the front of the vehicle is facing up, it is an uphill, and if the front of the vehicle is facing down, it is a downhill. The preset ramp value is not specifically limited and can be confirmed based on the parameters of the vehicle. For example, an angle greater than or equal to 20° is considered an uphill or downhill, and an angle less than 20° is considered a flat road.
[0037] The first three environments are primary environments, and the anti-skid mode is a secondary environment. The weight of the secondary environment is greater than that of the primary environment. For example, when the car is powered on a flat road, the transmission is in first gear, but the anti-skid mode is automatically or passively activated, and the anti-skid mode locks the gear in second gear. Since the weight of the secondary environment is greater than that of the primary environment, the gear initialization is directly locked in second gear. The first three modes are preferably autonomous gear initialization controls performed by the electric vehicle based on the driving environment, and the anti-skid mode can be turned on according to the touch operation of the driver on the selection control. The switch of the anti-skid mode can also be a physical button switch, or it can be autonomous gear initialization control performed by the electric vehicle based on the driving environment. The embodiments of the present invention do not impose specific restrictions on this.
[0038] To prevent slipping, such as when an electric vehicle is running on snow or ice, it is necessary to strictly control the output torque of the electric vehicle. The drive motor is directly connected to the drive wheel due to the torque fluctuation of the drive motor, which causes the output torque of the drive motor at a certain moment to be greater than the maximum static friction that the road surface can withstand, resulting in slipping. After slipping, sliding friction is formed between the wheel and the road surface, and the friction is reduced. The electric vehicle may skid or slide freely in an undesirable direction. The present invention can directly lock the gear in the second gear, so that the output torque of the drive motor can be transmitted to the drive wheel after being reduced by a certain proportion. At this time, the torque fluctuation range of the drive motor will be greatly reduced, thereby improving the smoothness of the output torque of the drive motor.
[0039] In the embodiment of the present invention, in the step S1, the gear is in N gear. When the gear is in N gear, even if the transmission has completed the initialization of the gear, the drive signal does not respond to the torque information of the accelerator pedal. It should be pointed out that in the past, at the end of driving, the driver may have forgotten to switch the transmission gear to N gear. At this time, the ECU detects that the electric vehicle is powered on, but the throttle signal is false, and the gear initialization is completed. The gear signal will not affect the initialization of the transmission gear. Low-speed electric vehicles realize the forward and reverse movement of the electric vehicle by controlling the forward or reverse rotation of the drive motor. When the gear signal is N gear, the transmission still maintains the gear initialization state, but the MCU will not respond to the accelerator pedal signal to control the output torque of the drive motor.
[0040] S2, starting from the initialization state, and controlling the driving system to complete the change of the driving state of the electric vehicle.
[0041] When the electric vehicle is in anti-skid mode, Figure 2 As shown, the control method is:
[0042] S21, the MCU calculates a first torque value based on the ramp angle, the mass of the electric vehicle, the gear position and the preset friction coefficient, and controls the drive motor to slowly increase the torque until the smaller value between the first torque value and the torque value corresponding to the throttle opening is reached.
[0043] When in the anti-skid mode, the control system stores the friction coefficient between the tire and the road surface with less friction. The friction coefficient can be a dynamic friction coefficient or a static friction coefficient, which is collectively referred to as the friction coefficient below.
[0044] When the electric vehicle is powered on a flat road, the maximum friction force on the wheels is: F = k1μmg, m is the mass of the vehicle, g is the acceleration of gravity, k1 is the correction coefficient, and the road friction coefficient is μ. This maximum friction force is the driving force for the electric vehicle to move forward. The first torque value output by the drive motor can be calculated based on the maximum friction force and gear position. Figure 3a and 3bAs shown, when the driving motor torque corresponding to the throttle opening is greater than the first torque value, the MCU controls the driving motor to slowly increase the torque until the first torque value is reached and maintained; when the driving motor torque corresponding to the throttle opening is less than the first torque value, the MCU controls the driving motor to slowly increase the torque until the torque value corresponding to the throttle opening. The torque increase method can be linear or nonlinear. Preferably, the torque is increased in a nonlinear manner, that is, the torque increase rate is relatively large at the beginning, and when it approaches the first torque value or the torque value corresponding to the throttle opening, the torque increase rate is relatively small.
[0045] When the electric vehicle is powered uphill, Figure 4 As shown, the maximum friction force on the wheel is F=k2μmgcosα, k2 is the correction coefficient, and α is the slope. The maximum friction force is used to provide the power for the electric vehicle to move forward. The first torque value output by the drive motor is calculated through the maximum friction force, gear position and other information. The drive motor torque value corresponding to the throttle opening is the sum of the drive motor torque value corresponding to the throttle opening when powered on a flat road and the torque value generated by the electric vehicle on the slope due to gravity along the slope. When the drive motor torque corresponding to the throttle opening is greater than the first torque value, the MCU controls the drive motor to slowly increase the torque until the first torque value and maintain it; when the drive motor torque value corresponding to the throttle opening is less than the first torque value, the MCU controls the drive motor to slowly increase the torque until the torque value corresponding to the throttle opening. The torque increase method can be linear or nonlinear. Preferably, the torque is increased in a nonlinear manner, that is, the torque increase rate is large at the beginning, and when it is close to the first torque value or the torque value corresponding to the throttle opening, the torque increase rate is small.
[0046] S22, when the drive motor is controlled by using the smaller value of the first torque value and the torque value corresponding to the throttle opening, the wheel slip rate is greater than the preset value, and the MCU recalculates the friction coefficient and updates it. After the MCU controls the electric vehicle to be stationary for a preset time, the second torque value is recalculated based on the slope angle, the mass of the electric vehicle, the gear position and the updated friction coefficient, and the drive motor is controlled at 70%-95% of the second torque value. If the torque value of controlling the drive motor is insufficient to drive the electric vehicle or causes the electric vehicle to still slip, an alarm is issued.
[0047] Due to the wear or replacement of the wheels and the different actual conditions of the snowy road surface, the preset friction coefficient does not conform to the actual conditions, and even if the first torque value is used as the maximum output torque, the wheel will still slip. In order to solve the above problem, in an embodiment of the present invention, the wheel speed of the electric vehicle collected by the wheel speed sensor is obtained in real time, and the wheel slip rate of the electric vehicle is calculated according to the wheel speed. The formula can be used to calculate the wheel slip rate of the electric vehicle.
[0048] λ=(v1-v2) / v1,
[0049] The wheel slip rate of the electric vehicle is calculated, where λ is the wheel slip rate of the electric vehicle, v1 is the speed of the electric vehicle, and v2 is the wheel speed of the electric vehicle.
[0050] When the wheel slip rate is greater than a preset value, it is determined that the electric vehicle is slipping.
[0051] The MCU recalculates and updates the friction coefficient based on the torque value output by the drive motor when the wheel starts to slip or slips, which is sensed by the sensor. The torque value corresponding to the wheel starting to slip is the maximum torque value during static friction, and the torque value corresponding to the slip is the torque value during sliding friction. After the MCU controls the electric vehicle to be stationary for a preset time, it recalculates the second torque value based on the slope angle, the mass of the electric vehicle, the gear position and the updated friction coefficient, and controls the drive motor according to 70%-95% of the second torque value. If the torque value of the drive motor is not enough to drive the electric vehicle or the electric vehicle still slips, an alarm is issued. The preset time is determined based on test data. On the one hand, the driving state of the electric vehicle is changed from sliding friction to static friction to improve the gripping ability. On the other hand, the road surface state is restored to increase the friction force. For example, on a snowy road surface, continuous driving will make the friction coefficient of the snow surface smaller and smaller. By controlling the electric vehicle to be stationary, the snowy road surface can be re-formed to a certain degree of roughness to increase the gripping ability of the wheel.
[0052] Since the road surface conditions before and after the electric vehicle skids slightly change, there is a certain difference in the friction coefficient. Through multiple tests, 70%-95% of the second torque value can meet the normal driving of the electric vehicle. The calculated drive motor torque value is not enough to drive the electric vehicle, which means that the road surface is too slippery and the vehicle cannot move forward normally. At this time, an alarm is issued; if the electric vehicle still skids when driven at 70%-95% of the second torque value, it means that the first skid has too much impact on the road surface, resulting in a significant reduction in the friction coefficient and cannot support normal driving functions. At this time, an alarm will also be issued.
[0053] In the embodiment of the present invention, in step S2, when the vehicle speed is not greater than the first speed and the throttle signal is true, the gear is shifted from N gear to D gear or R gear, the transmission is maintained in gear, and the drive motor responds normally to the throttle signal.
[0054] When the vehicle speed is not greater than the first speed, the vehicle can be considered to be stationary, or the vehicle speed is small enough to apply a torque different from the driving direction of the electric vehicle to the drive motor. The impact on the transmission and the drive motor will not have any adverse effect on the safety and performance of the electric vehicle. Therefore, whether the vehicle's driving direction is consistent with the gear signal does not affect the above control. For example, when the vehicle is traveling backward but the speed is not greater than the first speed, the drive system can respond to the throttle signal normally. The first speed can be 0-2km / h. It should be noted that the first speed can be set according to actual conditions and is not limited here.
[0055] In step S2, when the vehicle speed is greater than the second speed, the gear is shifted from N to R or D, and the transmission is maintained in gear; if the vehicle driving direction is the same as the gear shifting direction, the drive motor responds normally to the throttle signal; when the vehicle driving direction is opposite to the gear shifting direction, then when the vehicle speed is reduced to no more than the first speed, the drive motor responds normally to the throttle signal.
[0056] When the vehicle speed is greater than the second speed, the vehicle is deemed to be in a driving state. If the driving direction of the electric vehicle is the same as the gear-engaging direction, the drive motor responds to the throttle signal normally. For example, when the vehicle is driving forward and the gear signal is switched from N gear to D gear, the drive motor responds to the throttle signal normally. When the vehicle driving direction is opposite to the gear-engaging direction, when the vehicle speed is reduced to no more than the first speed, the drive motor responds to the throttle signal normally. For example, when the vehicle is driving forward and the gear signal is switched from N gear to R gear, if the drive motor responds normally to the throttle signal to generate negative torque at this time, it will have a greater impact on the transmission and the drive motor. The transmission gears are subjected to greater force or the drive motor generates a greater back electromotive force, which may burn the motor. Therefore, only when the vehicle speed is not greater than the first speed, the drive motor responds normally to the throttle signal of negative torque.
[0057] It should be noted that the second speed is greater than or equal to the first speed, and the first speed is preferably equal to the second speed.
[0058] In step S2, the gear is shifted from D gear or R gear to N gear, the transmission is maintained in the gear state, and the drive motor does not respond to the throttle signal.
[0059] For example, if the electric vehicle is initialized to first gear and the gear signal is D gear, when the throttle signal is true, the drive motor responds to the throttle signal to drive the electric vehicle forward; at this time, if the gear is switched from D gear to N gear, the transmission maintains the first gear state, that is, the transmission maintains the first gear, and the MCU controls the drive motor not to respond to the throttle signal.
[0060] In step S2, when the gear is shifted from D gear to R gear or R gear to D gear, the transmission is maintained in the gear state, and when the vehicle speed is less than the first speed, the drive motor responds to the positive torque or negative torque corresponding to the throttle signal. This setting mainly takes into account that the gear position is different from the driving direction. If the drive motor responds to the gear position signal and outputs a torque different from the driving direction, the transmission and the drive motor will be greatly impacted and damaged. Therefore, only when the vehicle speed is less than the first speed, the drive motor will respond to the positive torque or negative torque corresponding to the throttle signal.
[0061] S3: When the vehicle speed is greater than a certain set value, the transmission is controlled to shift up.
[0062] After powering on a flat road, powering on an uphill road, and powering on a downhill road, the gear initialization is completed, and the vehicle starts normally. When the vehicle speed is greater than the set value, the transmission is controlled to shift up. On the one hand, the gear initialization of steps S1 and S2 and the change of the driving state of the electric vehicle adapt to the starting conditions in different environments. When the electric vehicle is running normally, the shift up action can be completed based on the vehicle speed, so that the drive system works in a high efficiency range.
[0063] It can be understood that the size of the set value is determined based on the power output characteristics of the motor and the electric vehicle's own parameters, and the specific set value is not limited here; secondly, for the anti-slip mode, since it runs in the second gear after initialization, that is, the highest gear of the transmission, there is no need to perform subsequent transmission upshift operations in this operating mode.
[0064] In this embodiment, the electric vehicle also includes cruise control and energy feedback functions. Cruise control combines modules such as speed control system and automatic driving system. After the switch is turned on at the speed required by the driver, the vehicle speed is automatically maintained without stepping on the accelerator pedal, so that the vehicle travels at a fixed speed. Energy feedback uses advanced IGBT devices and phase-amplitude control PWM algorithms to improve the deceleration and braking capabilities of the inverter, and at the same time feeds back the energy generated by the motor during the braking process and input into the inverter to the vehicle power supply, thereby satisfying the effective braking of the inverter while recycling more than 95% of the regenerated electric energy.
[0065] An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the various processes of the above-mentioned gear control method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.
[0066] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0067] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
[0068] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0069] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0070] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0071] The present invention also provides a vehicle, comprising: a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the above-mentioned gear control method when executed by the processor.
[0072] The above are only preferred embodiments of the present invention and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. 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 gear control method for an electric vehicle, characterized in that: The steps include: S1, after the electric vehicle is powered on, the gear position of the transmission is initialized based on the environment in which the electric vehicle is located; S2, starting from the initialization state, and controlling the drive system to complete the change of the driving state of the electric vehicle; S3, when the vehicle speed is greater than the set value, the transmission is controlled to shift up; In step S2, when the electric vehicle is in an environment where the road friction coefficient is less than the preset friction coefficient, the throttle signal is true, and the gear is not in the N gear, the controller calculates a first torque value based on the slope angle, the mass of the electric vehicle, the gear position and the preset friction coefficient, and controls the drive system to slowly increase the torque until the smaller value between the first torque value and the torque value corresponding to the throttle opening; When the smaller value of the first torque value and the torque value corresponding to the throttle opening is used to control the drive motor, if the wheel slip rate is greater than a preset value, the controller recalculates and updates the friction coefficient. After the controller controls the electric vehicle to be stationary for a preset time, the controller recalculates the second torque value based on the slope angle, the mass of the electric vehicle, the gear position and the updated friction coefficient, and controls the drive system according to a certain percentage of the second torque value. If the torque value of the control drive system is insufficient to drive the electric vehicle or causes the electric vehicle to still slip, an alarm is issued; The certain percentage is 70%-95%.
2. The gear control method according to claim 1, characterized in that: In the step S1, when the electric vehicle is powered on a flat road, the transmission is controlled to be initialized to a low speed gear.
3. The gear control method according to claim 1, characterized in that: In the step S1, when the electric vehicle is in an uphill environment, the transmission is controlled to be initialized to a low gear, and the electric vehicle is controlled to enter a hill assist mode.
4. The gear control method according to claim 1, characterized in that: In the step S1, when the electric vehicle is in a downhill power-on environment, the transmission is controlled to be initialized to a low gear, and when the acceleration of the electric vehicle is greater than a set threshold, the transmission is controlled to be in a high gear.
5. The gear control method according to claim 1, characterized in that: In the step S1, when the electric vehicle is in an environment where the road friction coefficient is less than a preset friction coefficient, the transmission is controlled to be initialized to a high gear.
6. The gear control method according to claim 1, characterized in that: In step S1, the gear is in N gear.
7. The gear control method according to any one of claims 1 to 6, characterized in that: In step S2, when the vehicle speed is not greater than the first speed, the gear is shifted from N to D or R, and when the throttle signal is true, the transmission is maintained in gear, and the drive system responds normally to the throttle signal; when the vehicle speed is greater than the second speed, the gear is shifted from N to R or D, and the transmission is maintained in gear; if the vehicle's driving direction is the same as the gear-shifting direction, the drive system responds normally to the throttle signal; if the vehicle's driving direction is opposite to the gear-shifting direction, then when the vehicle speed is reduced to no greater than the first speed, the drive system responds normally to the throttle signal.
8. The gear control method according to any one of claims 1 to 6, characterized in that: In the step S2, the gear is shifted from D gear or R gear to N gear, the transmission is maintained in the gear state, and the drive system does not respond to the throttle signal.
9. The gear control method according to any one of claims 1 to 6, characterized in that: In the step S2, the gear is shifted from D to R or from R to D, the transmission is maintained in gear, and when the vehicle speed is reduced to no more than the first speed, the drive system responds to the positive torque or negative torque corresponding to the throttle signal.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the gear control method according to any one of claims 1 to 9 is implemented.
11. A vehicle, characterized in that: include: A processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program, when executed by the processor, implements the gear control method according to any one of claims 1 to 9.
