Shifting method, device, controller and storage medium
By implementing speed PID closed-loop control on the shift motor, the problem of long power interruption time during gear shifting in electric vehicles has been solved, resulting in a smoother shifting process and a better driving experience.
Patent Information
- Application Number
- CN202311645288.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-04
- Publication Date
- 2026-11-17
- Estimated Expiration
- 2043-12-04
AI Technical Summary
Electric vehicles experience a prolonged power interruption during gear shifts, resulting in a poor driving experience.
A speed PID closed-loop control strategy is adopted to precisely control the shift motor, reduce the shifting force of the shift fork, avoid overshoot, and shorten the power interruption time during the shifting process.
By precisely controlling the movement of the shift fork, the power interruption time during gear shifting is shortened, thereby improving the driving performance and driving experience of electric vehicles.
Smart Images

Figure CN117537074B_ABST
Abstract
Description
Technical Field
[0001] This application relates to gear shifting technology, and more particularly to a gear shifting method, apparatus, controller, and storage medium. Background Technology
[0002] Electric vehicles (EVs) are cars powered by an onboard power source and propelled by a drive motor. Currently, EVs automatically shift gears based on the vehicle's driving status to meet driving needs. The performance during gear shifting has a crucial impact on the overall performance of the EV and the driving experience. However, currently, EVs suffer from a relatively long power interruption time during gear shifts, resulting in a poor driving experience. Summary of the Invention
[0003] This application provides a gear shifting method, device, controller, and storage medium to solve the problem that the power interruption time during gear shifting in electric vehicles is relatively long, resulting in a poor driving experience.
[0004] In a first aspect, this application provides a gear-shifting method, the method comprising:
[0005] Obtain a shift command for the vehicle's transmission; the shift command is used to request that the transmission be shifted from a first gear to a second gear;
[0006] Unload the torque from the input shaft of the transmission;
[0007] The strategies in the speed PID closed-loop control strategy set are executed sequentially on the shift motor corresponding to the transmission to control the transmission from the first gear to the disengagement position of the first gear; the last speed PID closed-loop control strategy in the speed PID closed-loop control strategy set is used to control the shift fork of the transmission to decelerate.
[0008] Control the transmission from the disengaged position of the first gear to neutral;
[0009] The strategies in the speed PID closed-loop control strategy set are executed sequentially on the shift motor corresponding to the transmission to control the transmission from the neutral position to the second gear position.
[0010] Control the transmission from the disengaged position of the second gear to the second gear.
[0011] Optionally, the speed PID closed-loop control strategy set includes a first speed PID closed-loop control strategy, a second speed PID closed-loop control strategy, and a third speed PID closed-loop control strategy; the third speed PID closed-loop control strategy is the last speed PID closed-loop control strategy.
[0012] The first speed PID closed-loop control strategy is used to control the shift fork to gradually accelerate from the current speed to the maximum target speed during the first control phase;
[0013] The second speed PID closed-loop control strategy is used to control the shift fork to move at the maximum target speed during the second control phase;
[0014] The third-speed PID closed-loop control strategy is used to control the shift fork to gradually decelerate from the maximum target speed to the final target speed during the third control phase.
[0015] Optionally, the method further includes:
[0016] Obtain the optimized parameters for the speed PID closed-loop control strategy set;
[0017] The speed PID closed-loop control strategy set is optimized based on the optimization parameters.
[0018] Optionally, the maximum target speed of the fork movement is related to the final target speed, the duration of the first control phase, and the duration of the third control phase.
[0019] Optionally, after controlling the transmission to shift from the disengaged position of the second gear to the second gear, the method further includes:
[0020] Obtain the required torque for the vehicle;
[0021] The torque of the vehicle's drive motor is restored to the required torque at a preset rate.
[0022] Optionally, controlling the transmission from the disengaged position of the first gear to neutral includes:
[0023] A position PID closed-loop control strategy is used to control the transmission from the disengaged position of the first gear to neutral.
[0024] Optionally, controlling the transmission from the disengaged position of the second gear to the second gear includes:
[0025] A position PID closed-loop control strategy is used to control the transmission from the disengaged position of the second gear to the second gear.
[0026] Secondly, this application provides a gear shifting device, the device comprising:
[0027] An acquisition module is used to acquire a shift command for the vehicle's transmission; the shift command is used to request the transmission to switch from a first gear to a second gear;
[0028] A torque unloading module is used to unload the torque from the input shaft of the transmission;
[0029] The first closed-loop control module is used to sequentially execute the strategies in the speed PID closed-loop control strategy set for the shift motor corresponding to the transmission, so as to control the transmission from the first gear to the disengagement position of the first gear; the last speed PID closed-loop control strategy in the speed PID closed-loop control strategy set is used to control the shift fork of the transmission to decelerate.
[0030] The first control module is used to control the transmission from the disengaged position of the first gear to neutral.
[0031] The second closed-loop control module is used to sequentially execute the strategies in the speed PID closed-loop control strategy set on the shift motor corresponding to the transmission, so as to control the transmission from the neutral position to the disengagement position of the second gear.
[0032] The second control module is used to control the transmission from the disengaged position of the second gear to the second gear.
[0033] The first acquisition module is used to acquire the relative height of at least four wheels of the vehicle when it is traveling on the target road; the relative height is the height relative to a preset reference ground.
[0034] Thirdly, this application provides a controller, including: a processor, and a memory communicatively connected to the processor;
[0035] The memory stores computer-executed instructions;
[0036] The processor executes computer execution instructions stored in the memory to implement the method as described in any one of the first aspects.
[0037] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any of the first aspects.
[0038] Fifthly, this application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement the shifting method described in any of the first aspects.
[0039] The shifting method, apparatus, controller, and storage medium provided in this application, after receiving a shifting command for the vehicle's transmission, executes a strategy from a set of speed PID closed-loop control strategies sequentially on the corresponding shift motor during the processes of controlling the transmission from the first gear position to the disengaged first gear position and from neutral to the disengaged second gear position. The last speed PID closed-loop control strategy in this set is used to control the shift fork to decelerate. In this way, as the shift motor drives the shift fork to move axially, the rotational speed of the shift motor can be reduced before reaching the target position, thereby reducing the shifting force exerted by the shift motor on the shift fork and avoiding overshoot caused by excessive shifting force and excessive shift fork movement speed. Furthermore, this can shorten the power interruption time during the shifting process caused by overshoot, improving the driving performance and driving experience of electric vehicles. Attached Figure Description
[0040] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0041] Figure 1 This is a schematic diagram of a partial architecture of an electric vehicle.
[0042] Figure 2 A flowchart illustrating the first gear-shifting method provided in this application;
[0043] Figure 3 A flowchart illustrating the second gear-shifting method provided in this application;
[0044] Figure 4 A schematic diagram of a positional PID closed-loop control strategy provided in this application;
[0045] Figure 5 A schematic diagram of a speed PID closed-loop control strategy set provided in this application;
[0046] Figure 6 A schematic diagram of a gear shifting device provided in this application;
[0047] Figure 7 This is a schematic diagram of the structure of a controller 700 provided in this application.
[0048] The accompanying drawings illustrate specific embodiments of this application, which will be described in more detail below. These drawings and descriptions are not intended to limit the scope of the concept in any way, but rather to illustrate the concept of this application to those skilled in the art through reference to particular embodiments. Detailed Implementation
[0049] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0050] The following is an explanation of some of the terms used in this application:
[0051] Drive motor: It is the power source for electric vehicles and is the component that converts electrical energy into mechanical energy.
[0052] Gear shift motor: This refers to the motor in a car used to control the shifting of gears.
[0053] Transmission: Also known as gearbox, it is a mechanism used to change the speed and torque of the power unit of a car. It can change the transmission ratio between the output shaft and the input shaft in a fixed or progressively increasing manner, thereby realizing the shifting of gears and the adjustment of the car's speed.
[0054] Transmission shift fork: This is a component in a car's transmission used for shifting gears. During gear shifting, the shift fork moves axially within the transmission to switch between different gears.
[0055] Proportional-Integral-Derivative (PID) control: In industrial process control, PID control is based on the proportional, integral, and derivative of the error generated by comparing the real-time data of the controlled object with the target value, in order to make the controlled object reach the target value. PID control has advantages such as simple principle and strong robustness.
[0056] Figure 1 This is a schematic diagram of a partial architecture of an electric vehicle, such as... Figure 1 As shown, currently, in order to simplify the structure, reduce costs, and improve the overall driving performance of electric vehicles, electric vehicles typically adopt a structure where the drive motor is directly connected to the transmission, and then connected to the shift motor. At the same time, the transmission usually only retains the synchronizer (eliminating friction elements) while eliminating the clutch, further simplifying the structure.
[0057] based on Figure 1The structure shown illustrates that during gear shifting, the controller in the electric vehicle first controls the drive motor to unload torque. Then, it controls the shift motor to move the shift fork axially to the disengagement position between the gear sleeve and gear ring of the transmission. Next, it controls the shift fork to move axially to the neutral position. Subsequently, the controller actively synchronizes the speed of the drive motor, that is, it actively adjusts the speed of the gear sleeve end of the transmission input shaft to quickly stabilize the speed difference between the gear sleeve and gear ring within a reasonable range. Simultaneously, the controller controls the shift motor to move the shift fork axially to the disengagement position between the gear sleeve and gear ring, and by moving the shift fork, the disengaged gear sleeve engages with the gear ring, the shift fork enters the brake groove, and stabilizes in the neutral position, stopping axial movement. Finally, the drive motor torque is restored to the torque required for vehicle operation, thus completing the gear shift.
[0058] Although the above process can achieve gear switching in electric vehicles, there is still a problem of excessively long power interruption time during the process.
[0059] The inventors discovered that, currently, during the aforementioned gear shifting process, while the controller controls the shift motor to rotate and drive the shift fork to move axially to complete the shift, and thus controls the speed of the shift motor and the axial movement of the shift fork, this control is often open-loop. This means that the shift fork is typically moved at a constant speed or acceleration, without considering its movement characteristics at different positions or the resistance encountered during its movement. This results in overshoot when the shift motor drives the shift fork to move near the target position, leading to a longer power interruption time during the shifting process.
[0060] In view of this, this application provides a shifting method that takes into account the movement and force characteristics of the shift fork during the shifting process. The method performs precise speed PID closed-loop control on the working mode of the shifting motor during the shifting process of an electric vehicle, so that the shifting motor can accurately drive the shift fork to move along the axial direction, avoid overshoot, and thus effectively shorten the power interruption time during the shifting process, improve vehicle driving performance, and enhance the driving experience.
[0061] The gear shifting method provided in this application can be executed by any controller of the vehicle, such as an existing vehicle control unit (VCU) or an electronic stability program (ESP); it can also be a newly added controller for executing the gear shifting method. It should be understood that this application can be applied to any vehicle using... Figure 1 The gear shifting process of the electric vehicle with the structure shown.
[0062] The following uses a controller as the executing entity as an example to illustrate the technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems in detail through specific embodiments. The following specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0063] Figure 2 This is a flowchart illustrating the first gear-shifting method provided in this application. Figure 3 A flowchart illustrating the second gear-shifting method provided in this application is shown below. Figure 2 and Figure 3 As shown, the method may include the following steps:
[0064] S101, Obtain the gear shift command for the vehicle's transmission.
[0065] The aforementioned shift command can, for example, be used to request the transmission to shift from the first gear to the second gear. This application does not limit the type or number of gears included in the transmission. The first gear mentioned here can be any gear of the transmission, and the second gear can be, for example, any gear adjacent to the first gear. This application does not limit them.
[0066] In this step, after receiving the shift command for the vehicle's transmission, the controller executes subsequent methods to complete the shift operation. The controller can determine whether a shift is necessary based on the vehicle's driving conditions, and if so, obtain the shift command for the vehicle's transmission. These driving conditions may include, for example, the vehicle's speed. Alternatively, the controller can receive shift commands for the vehicle's transmission from other controllers within the vehicle.
[0067] S102, Unload the torque from the input shaft of the transmission.
[0068] This step corresponds to Figure 3 The "torque unloading" step is shown. In this step, the controller unloads the torque from the transmission input shaft to allow subsequent gear shifting actions to be performed.
[0069] For example, refer to Figure 3 The controller can control the vehicle's drive motor to actively reduce torque, thereby unloading the torque from the transmission's input shaft. The specific value of the torque unloaded from the transmission's input shaft is related to the vehicle's specific performance, and this application does not limit it. For example, it can be zero torque, or it can be zero torque plus or minus a certain offset. This application does not limit the specific value of this offset.
[0070] Optionally, if the current torque of the transmission input shaft is zero, the controller can directly select the moment when the torque crosses zero to execute subsequent shifting actions.
[0071] S103. Execute the speed PID closed-loop control strategy set sequentially on the shift motor corresponding to the transmission to control the transmission from the first gear to the first gear disengagement position.
[0072] The last speed PID closed-loop control strategy in the aforementioned speed PID closed-loop control strategy set is used to control the deceleration movement of the transmission shift fork. Based on this, this application does not limit the specific number of strategies included in the speed PID closed-loop control strategy set, nor the specific control strategies.
[0073] This step corresponds to Figure 3 The diagram shows the "disengagement to the break-even position". In this step, the controller controls the shift motor according to the strategy in the speed PID closed-loop control strategy set to precisely control the operating mode of the shift motor during the shifting process, thereby achieving precise control of the axial movement of the shift fork in the transmission. Since the last speed PID closed-loop control strategy in the speed PID closed-loop control strategy set is used to control the shift fork deceleration, that is, the controller controls the shift motor speed to decrease, thereby providing a smaller shifting force to the shift fork. The shift motor controls the shift fork in the transmission to decelerate and move to the disengagement position of the first gear sleeve and gear ring. In this way, since the shift fork decelerates and moves to the disengagement position of the first gear sleeve and gear ring, overshoot caused by excessive shifting force and excessive shift fork movement speed can be avoided, thus shortening the power interruption time during the shifting process.
[0074] Furthermore, since the last speed PID closed-loop control strategy is used to control the deceleration movement of the transmission shift fork, the shifting force applied to the shift fork during this process is relatively small. Therefore, it can better connect with the subsequent shifting process, achieving precise control and buffering of the shifting process, and realizing smooth and fast shifting.
[0075] S104. Control the transmission from the disengaged position of first gear to neutral.
[0076] This step corresponds to Figure 3 The diagram illustrates the transition from the disengaged first gear position to neutral. This application does not limit the method by which the controller moves the transmission from the disengaged first gear position to neutral. For example, a position-based PID closed-loop control strategy can be used to control the transmission from the disengaged first gear position to neutral. In this case, the target position in the position-based PID closed-loop control strategy is the neutral position. In this way, the controller can precisely move the shift fork of the transmission to the neutral position by controlling the shift motor, thus achieving the transition from the disengaged first gear position to neutral. For example, the controller can perform position-based PID closed-loop control based on the current position of the shift fork and the target position that can move the transmission from the disengaged first gear position to neutral. The target position mentioned here can be, for example, the neutral position of the transmission.
[0077] Figure 4 A schematic diagram of a positional PID closed-loop control strategy provided in this application is shown below. Figure 4 As shown, for example, the controller can perform positional PID closed-loop control according to the following formula (1):
[0078]
[0079] In formula (1), l (t) Let l0 be the position of the fork controlled at time t, l0 be the current actual position of the fork, and K be the position of the fork. P K is the proportionality coefficient. I K is the integral coefficient. D Let be the differential coefficient, e(t) be the error between the current actual position and the target position, and ∫e(t)dt be the sum of historical cumulative errors. This is the difference between the error at the current moment and the error at the previous moment. Specific implementation details can be found in existing technologies and will not be elaborated upon here.
[0080] Optionally, the controller may also employ any other open-loop or closed-loop control strategy to control the transmission from the disengaged position of first gear to neutral; this application does not limit such strategies.
[0081] S105. Execute the speed PID closed-loop control strategy set sequentially on the shift motor corresponding to the transmission to control the disengagement position of the transmission from neutral to second gear.
[0082] This step corresponds to Figure 3 The "speed synchronization control" and "shift to the gear position" are shown.
[0083] In this step, the controller actively adjusts the rotational speed of the gear sleeve end of the transmission input shaft via the drive motor, quickly stabilizing the speed difference between the gear sleeve and the gear ring within a preset speed difference threshold. This application does not limit the specific value of the preset speed difference threshold; those skilled in the art can set it according to actual conditions.
[0084] Subsequently, the controller can, for example, refer to step S103 above, using a speed PID closed-loop control strategy set to control the shift motor to drive the shift fork in the transmission to move axially until the gear sleeve and gear ring of the second gear are disengaged. In this way, because the speed PID closed-loop control strategy set finely controls the operating mode of the shift motor, and finally reduces the shift force by decreasing the speed of the shift motor, thereby controlling the shift fork of the transmission to decelerate and approach the disengagement position of the second gear, overshoot can be avoided, and a smooth transition with the subsequent shifting process can be achieved, reducing the power interruption time during the shifting process.
[0085] S106, Control the transmission from the disengaged position of the second gear to the second gear.
[0086] This step corresponds to Figure 3 The image shows "shifting to the gear position". In this step, the controller drives the shift fork to move by controlling the shift motor, which in turn causes the gear sleeve of the transmission to engage with the gear ring. At the same time, the shift fork moves from the disengaged position of the second gear to the groove of the second gear, and the shift fork stops axial movement. The transmission then switches from the disengaged position of the second gear to the second gear.
[0087] Optional, refer to Figure 3 For example, the controller can use a position PID closed-loop control strategy to control the transmission from the disengaged position of the second gear to the second gear.
[0088] In this embodiment, after receiving a shift command for the vehicle's transmission, the controller sequentially executes a speed PID closed-loop control strategy from the corresponding shift motor during the processes of controlling the transmission from the first gear to the disengaged first gear position and from neutral to the disengaged second gear position. The last speed PID closed-loop control strategy in this strategy set is used to control the shift fork to decelerate. In this way, as the shift motor drives the shift fork to move axially, the shift motor's speed can be reduced before reaching the target position, thereby reducing the shifting force exerted on the shift fork and preventing overshoot caused by excessive shifting force and excessive shift fork movement speed. This further shortens the power interruption time during shifting caused by overshoot, improving the driving performance and driving experience of the electric vehicle.
[0089] Optional, continue to refer to Figure 3 After controlling the transmission to shift from the disengaged second gear to the second gear, the controller can also obtain the required torque of the vehicle; then restore the torque of the vehicle's drive motor to the required torque at a preset rate.
[0090] The required torque mentioned here refers to the torque needed for the vehicle to operate normally after a gear shift. For example, if the vehicle is currently being driven by a driver, the required torque could be determined based on the driver's actions, such as pressing the accelerator or brake pedals. If the vehicle is in autonomous driving mode, the required torque could be determined by the autonomous vehicle based on its driving status, which could include, for example, the vehicle's speed.
[0091] The controller can obtain the vehicle's required torque from other controllers in the vehicle, or it can determine the required torque based on the current vehicle's torque demand itself. For example, if the vehicle is currently being driven by a driver, the controller can determine the required torque based on the driver's driving actions; or, if the vehicle is in autonomous driving mode, the controller can determine the required torque based on the vehicle's driving status.
[0092] This application does not limit the specific value of the preset rate mentioned above; those skilled in the art can determine it according to the actual situation.
[0093] The following section details the specific implementation of the speed PID closed-loop control strategy set. One possible implementation method is... Figure 5 A schematic diagram of a speed PID closed-loop control strategy set provided in this application is shown below. Figure 5 As shown, the speed PID closed-loop control strategy set includes a first speed PID closed-loop control strategy, a second speed PID closed-loop control strategy, and a third speed PID closed-loop control strategy; the third speed PID closed-loop control strategy is the last speed PID closed-loop control strategy.
[0094] The first speed PID closed-loop control strategy is used to control the shift fork to gradually accelerate from the current speed to the maximum target speed in the first control phase; the second speed PID closed-loop control strategy is used to control the shift fork to move at the maximum target speed in the second control phase; and the third speed PID closed-loop control strategy is used to control the shift fork to gradually decelerate from the maximum target speed to the final target speed in the third control phase.
[0095] The aforementioned current speed could, for example, be zero, i.e., referencing Figure 3 When not shifting gears, the shift motor is inactive, and the shift force it provides is zero, resulting in zero movement speed of the shift fork in the transmission.
[0096] The aforementioned maximum target speed is the maximum target speed within the speed PID closed-loop control strategy set. This maximum target speed is preset, and its specific value is related to the vehicle's parameters. Those skilled in the art can determine it through vehicle performance testing and based on actual needs. The vehicle parameters mentioned here may include any one or more of the vehicle's hardware performance parameters and driving parameters. Vehicle hardware performance parameters may include any one or more of the vehicle's transmission performance parameters (e.g., the maximum speed the transmission shift fork can reach) and shift motor performance parameters (e.g., the maximum speed the shift motor can reach). Vehicle driving parameters may include parameters such as the maximum speed the vehicle can achieve during driving. It should be understood that the higher the maximum target speed, the shorter the time required for the shift fork to move to the target position, and the shorter the power interruption time during gear shifting.
[0097] One possible implementation is that the maximum target speed mentioned above can be related to the final target speed, the duration of the first control phase, and the duration of the third control phase. For example, the maximum target speed can be determined by the following formula (2):
[0098]
[0099] Reference Figure 5 In formula (2), v max The maximum target speed. Tar This refers to the distance the shift fork needs to move from its current position to the target position. The target position here has different meanings depending on the scenario. For example, if the current controller is controlling the transmission from first gear to the first gear disengagement position, then the target position here is the first gear disengagement position. If the current controller is controlling the transmission from neutral to second gear disengagement position, then the target position here is the second gear disengagement position. It should be understood that if the vehicle's transmission is fixed, then this distance... Tar It is a known, definite value.
[0100] T inc This refers to the duration of the first control phase. It should be understood that T... inc The larger the value of T, the longer it takes for the shift fork to accelerate to its maximum target speed. This means the shifting force exerted by the shift motor on the shift fork is smaller, and the less likely the shift fork will oscillate due to the shifting force during acceleration. However, T... inc The smaller the value, the shorter the power interruption time during gear shifts. Therefore, those skilled in the art can determine T by balancing vehicle testing and actual usage requirements. inc .
[0101] T dec This refers to the duration of the third control phase. It should be understood that T... dec The larger the value of T, the longer it takes for the shift fork to decelerate to the final target speed. This results in a smaller shifting force from the shift motor to the shift fork. Because the shift fork experiences less shifting force during deceleration, it is less prone to overshoot. However, if T... dec If the value is too high, it will result in an excessively long shifting time, which in turn will lead to a longer power interruption period during shifting. Therefore, those skilled in the art can determine the appropriate value (T) based on vehicle testing and actual usage requirements. inc .
[0102] v final This application does not limit the velocity to the final speed. final The specific value of v can be determined by those skilled in the art based on the actual situation. For example, if the controller still needs to control the shift fork to move along the transmission axis after the third control stage, then v... finalFor example, it can be equal to the initial speed of the subsequent movement. In this way, the time consumed by readjusting the shift fork speed in the next movement can be avoided, thus shortening the power interruption time during gear shifting. Alternatively, after the third control stage, there is no need to control the shift fork to move; then v... final For example, it could be 0.
[0103] T Tar The target time is the total time required to complete the three control phases described above. This value can be determined, for example, through experimentation or based on actual usage requirements. It should be understood that T... Tar The shorter the time, the shorter the power interruption time during gear shifting.
[0104] The aforementioned first-speed PID closed-loop control strategy allows the shift fork to gradually accelerate to its maximum speed. Initially, the shift motor rotates at a low speed, gradually increasing the speed and thus the shifting force applied to the shift fork. This avoids shift fork oscillation caused by directly applying a large shifting force, which would otherwise affect the shifting process. In other words, the first-speed PID closed-loop control strategy enables precise control of the shift fork's movement speed during shifting, preventing shift fork oscillation and reducing power interruption time during shifting.
[0105] The existence of the aforementioned second-speed PID closed-loop control strategy can enable the shift fork to move quickly to the vicinity of the target position, thereby shortening the shifting time, that is, shortening the power interruption time during the shifting process.
[0106] The aforementioned third-speed PID closed-loop control strategy allows the shift fork to decelerate as it approaches the target position. This is achieved by reducing the speed of the shift motor, thereby reducing the shifting force applied to the shift fork. This method ensures the shift fork moves smoothly to the target position without overshoot due to excessive shifting force or excessive speed, thus reducing the prolonged power interruption time caused by overshoot during shifting.
[0107] For example, the controller can control the moving speed of the shift fork using the following formula (3) based on a set of speed PID closed-loop control strategies:
[0108]
[0109] In formula 3, v (t) Let vt be the moving speed of the fork controlled at time t, and v0 be the current actual speed. e(t) is the error between the current actual speed and the target speed, and ∫e(t)dt is the sum of historical cumulative errors. This is the difference between the error at the current moment and the error at the previous moment. Specific implementation details can be found in existing technologies and will not be elaborated upon here.
[0110] Optionally, the controller can also acquire optimized parameters for the speed PID closed-loop control strategy set; and optimize the speed PID closed-loop control strategy set based on these optimized parameters.
[0111] The aforementioned optimization parameters can be, for example, the target speed for any one or more strategies in the speed PID closed-loop control strategy set. After obtaining these optimization parameters, the controller can update and optimize the speed PID closed-loop control strategy set based on them.
[0112] For example, the controller may receive optimized parameters for a set of speed PID closed-loop control strategies sent by other devices. These other devices may be, for example, computers or servers. These other devices may be deployed locally or in the cloud.
[0113] When other devices are deployed locally, the controller and other devices can transmit optimization parameters via wired or wireless connections, for example; when other devices are deployed in the cloud as the backend server for vehicle connectivity, the other devices can transmit optimization parameters with the controller via wireless connections, for example.
[0114] Figure 6 This application provides a schematic diagram of the structure of a gear shifting device, as shown below. Figure 6 As shown, the shifting device includes: an acquisition module 11, a torque unloading module 12, a first closed-loop control module 13, a first control module 14, a second closed-loop control module 15, and a second control module 16. Optionally, the shifting device may also include any one or more of the following modules: an optimization module 17 and a torque recovery module 18.
[0115] The acquisition module 11 is used to acquire a shift command for the vehicle's transmission; the shift command is used to request the transmission to switch from the first gear to the second gear.
[0116] The torque unloading module 12 is used to unload the torque of the input shaft of the transmission;
[0117] The first closed-loop control module 13 is used to sequentially execute the strategies in the speed PID closed-loop control strategy set for the shift motor corresponding to the transmission, so as to control the transmission from the first gear to the disengagement position of the first gear; the last speed PID closed-loop control strategy in the speed PID closed-loop control strategy set is used to control the shift fork of the transmission to decelerate.
[0118] The first control module 14 is used to control the transmission from the disengaged position of the first gear to neutral;
[0119] The second closed-loop control module 15 is used to sequentially execute the strategies in the speed PID closed-loop control strategy set on the shift motor corresponding to the transmission, so as to control the transmission from the neutral position to the second gear position.
[0120] The second control module 16 is used to control the transmission from the disengaged position of the second gear to the second gear.
[0121] Optionally, the speed PID closed-loop control strategy set includes a first speed PID closed-loop control strategy, a second speed PID closed-loop control strategy, and a third speed PID closed-loop control strategy; the third speed PID closed-loop control strategy is the last speed PID closed-loop control strategy.
[0122] The first speed PID closed-loop control strategy is used to control the shift fork to gradually accelerate from the current speed to the maximum target speed during the first control phase;
[0123] The second speed PID closed-loop control strategy is used to control the shift fork to move at the maximum target speed during the second control phase;
[0124] The third-speed PID closed-loop control strategy is used to control the shift fork to gradually decelerate from the maximum target speed to the final target speed during the third control phase.
[0125] Optionally, the optimization module 17 is used to obtain optimization parameters for the speed PID closed-loop control strategy set; and to optimize the speed PID closed-loop control strategy set according to the optimization parameters.
[0126] Optionally, the maximum target speed of the fork movement is related to the final target speed, the duration of the first control phase, and the duration of the third control phase.
[0127] Optionally, after the second control module 16 controls the transmission to shift from the disengaged gear to the second gear, the torque recovery module 18 is used to obtain the required torque of the vehicle and restore the torque of the vehicle's drive motor to the required torque at a preset rate.
[0128] Optionally, the first control module 14 is specifically used to control the transmission from the disengaged position of the first gear to neutral using a position PID closed-loop control strategy.
[0129] Optionally, the second control module 16 is specifically used to control the transmission from the disengaged position of the second gear to the second gear using a position PID closed-loop control strategy.
[0130] The gear shifting device provided in this application can perform the gear shifting method in the above-described method embodiments, and its implementation principle and technical effects are similar, so they will not be repeated here. It should be noted that the above... Figure 6 The division of modules shown is merely illustrative. This application does not limit the division of modules or the naming of modules.
[0131] Figure 7 This is a schematic diagram of the structure of a controller 700 provided in this application. Figure 7 As shown, the controller may include at least one processor 701 and a memory 702.
[0132] The memory 702 is used to store programs. Specifically, the program may include program code, which includes computer operation instructions.
[0133] The memory 702 may include high-speed RAM memory, and may also include non-volatile memory, such as at least one disk storage device.
[0134] The processor 701 is used to execute computer execution instructions stored in the memory 702 to implement the gear shifting method described in the foregoing method embodiments. The processor 701 may be a central processing unit (CPU), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of this application.
[0135] The controller 700 may also include a communication interface 703, through which it can communicate and interact with external devices, such as other devices (e.g., computers, servers, etc.). In specific implementations, if the communication interface 703, memory 702, and processor 701 are implemented independently, they can be interconnected via a bus to complete communication. The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc., but this does not imply that there is only one bus or one type of bus.
[0136] Optionally, in a specific implementation, if the communication interface 703, memory 702, and processor 701 are integrated on a single chip, then the communication interface 703, memory 702, and processor 701 can communicate through an internal interface.
[0137] This application also provides a computer-readable storage medium, which may include various media capable of storing program code, such as a USB flash drive, a portable hard drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk, or an optical disk. Specifically, the computer-readable storage medium stores program instructions, which are used for the gear shifting method in the above embodiments.
[0138] This application also provides a computer program product including executable instructions stored in a readable storage medium. At least one processor of an electronic device can read the executable instructions from the readable storage medium, and the at least one processor executes the executable instructions to cause the electronic device to implement the shifting methods provided in the various embodiments described above.
[0139] Other embodiments of this application will readily occur to those skilled in the art upon consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any variations, uses, or adaptations of this application that follow the general principles of this application and include common knowledge or customary techniques in the art not disclosed herein. The specification and examples are to be considered exemplary only, and the true scope and spirit of this application are indicated by the following claims.
[0140] It should be understood that this application is not limited to the precise structure described above and shown in the accompanying drawings, and various modifications and changes can be made without departing from its scope. The scope of this application is limited only by the appended claims.
Claims
1. A shift method characterized by, The method includes: Obtain a shift command for the vehicle's transmission; the shift command is used to request that the transmission be shifted from a first gear to a second gear; Unload the torque from the input shaft of the transmission; The strategies in the speed PID closed-loop control strategy set are executed sequentially on the shift motor corresponding to the transmission to control the transmission from the first gear to the disengagement position of the first gear; the last speed PID closed-loop control strategy in the speed PID closed-loop control strategy set is used to control the shift fork of the transmission to decelerate. Control the transmission from the disengaged position of the first gear to neutral; The strategies in the speed PID closed-loop control strategy set are executed sequentially on the shift motor corresponding to the transmission to control the transmission from the neutral position to the second gear position. Control the transmission from the disengaged position of the second gear to the second gear; The speed PID closed-loop control strategy set includes a first speed PID closed-loop control strategy, a second speed PID closed-loop control strategy, and a third speed PID closed-loop control strategy; the third speed PID closed-loop control strategy is the last speed PID closed-loop control strategy. The first speed PID closed-loop control strategy is used to control the shift fork to gradually accelerate from the current speed to the maximum target speed during the first control phase; The second speed PID closed-loop control strategy is used to control the shift fork to move at the maximum target speed during the second control phase; The third-speed PID closed-loop control strategy is used to control the shift fork to gradually decelerate from the maximum target speed to the final target speed during the third control phase.
2. The method of claim 1, wherein, The method further includes: Obtain the optimized parameters for the speed PID closed-loop control strategy set; The speed PID closed-loop control strategy set is optimized based on the optimization parameters.
3. The method of claim 2, wherein, The maximum target speed of the fork movement is related to the final target speed, the duration of the first control phase, and the duration of the third control phase.
4. The method of claim 1, wherein, After controlling the transmission to shift from the disengaged position of the second gear to the second gear, the method further includes: Obtain the required torque for the vehicle; The torque of the vehicle's drive motor is restored to the required torque at a preset rate.
5. The method of claim 1, wherein, The control of the transmission from the disengaged position of the first gear to neutral includes: A position PID closed-loop control strategy is used to control the transmission from the disengaged position of the first gear to neutral.
6. The method of claim 5, wherein, The control of the transmission from the disengaged position of the second gear to the second gear includes: A position PID closed-loop control strategy is used to control the transmission from the disengaged position of the second gear to the second gear.
7. A gear shifting device, characterized in that, The device includes: An acquisition module is used to acquire a shift command for the vehicle's transmission; the shift command is used to request the transmission to switch from a first gear to a second gear; A torque unloading module is used to unload the torque from the input shaft of the transmission; The first closed-loop control module is used to sequentially execute the strategies in the speed PID closed-loop control strategy set for the shift motor corresponding to the transmission, so as to control the transmission from the first gear to the disengagement position of the first gear; the last speed PID closed-loop control strategy in the speed PID closed-loop control strategy set is used to control the shift fork of the transmission to decelerate. The first control module is used to control the transmission from the disengaged position of the first gear to neutral. The second closed-loop control module is used to sequentially execute the strategies in the speed PID closed-loop control strategy set on the shift motor corresponding to the transmission, so as to control the transmission from the neutral position to the disengagement position of the second gear. The second control module is used to control the transmission from the disengaged position of the second gear to the second gear; The speed PID closed-loop control strategy set includes a first speed PID closed-loop control strategy, a second speed PID closed-loop control strategy, and a third speed PID closed-loop control strategy; the third speed PID closed-loop control strategy is the last speed PID closed-loop control strategy. The first speed PID closed-loop control strategy is used to control the shift fork to gradually accelerate from the current speed to the maximum target speed during the first control phase; The second speed PID closed-loop control strategy is used to control the shift fork to move at the maximum target speed during the second control phase; The third-speed PID closed-loop control strategy is used to control the shift fork to gradually decelerate from the maximum target speed to the final target speed during the third control phase.
8. A controller characterized by, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the method as described in any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Vehicle gear shift control system and method thereof
CN109505969A
Automatic transmission shift control methods, automatic transmission shift control devices, automatic transmissions and vehicle powertrains
CN111742166B
