Method, device and vehicle-mounted terminal for updating hard stop position of vehicle gear
By performing the adaptation of the second gear when the vehicle is powered off and the first gear adaptation when the vehicle is powered on, the hard stop position update is solved, and the problem of inaccurate storage position is ensured that the vehicle is in every driving cycle Complete the adaptive process to improve the accuracy and safety of shifting.
Patent Information
- Application Number
- CN202211363106.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-02
- Publication Date
- 2024-11-08
- Estimated Expiration
- 2042-11-02
AI Technical Summary
During the long-term dynamic driving of the vehicle, wear of devices such as forks and synchronization rings leads to inaccurate stored hard stop position values, affecting the accuracy of the vehicle's gear shift, which is inconvenient for safe driving.
By controlling the gear position to switch to the second gear position every time the vehicle is powered off, the adaptive process of the second gear position is performed, the hard dead point position information in the memory is updated, and the self-self of the first gear position is completed when powered on. Adapt to ensure that the adaptive process is completed in each driving cycle and optimize the adaptive process.
Ensure that the stored hard dead point position information is accurate and effective after each re-powering, ensuring that the vehicle can shift gears accurately in the next driving cycle, and improving safety.
Smart Images

Figure CN115750770B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of vehicle technology, and in particular, relates to a method, device and vehicle-mounted terminal for updating the hard stop position of a vehicle gear. Background Art
[0002] The gearbox is an important part of the vehicle drive system. The gearbox can change the driving force and driving speed of the vehicle without changing the engine speed and torque, that is, to achieve gear shifting. The two-speed reduction gearbox can achieve full speed range gear shifting, large torque output at the start, and make the vehicle run at the high efficiency range speed of the motor, thereby optimizing the power of the vehicle. Therefore, two-speed reduction gearboxes are gradually being used in large quantities in electric vehicles with higher configurations.
[0003] When the two-speed reduction gearbox shifts, the shift fork can be moved to the corresponding position according to the hard stop position value of the gear stored in the vehicle. During the long-term dynamic driving of the vehicle, the shift fork, synchronizer ring or other devices may wear out, resulting in inaccurate stored hard stop position value. Therefore, it is necessary to make timely adaptive adjustment to the hard stop position value of the vehicle.
[0004] When adjusting the hard stop position value of a two-speed reduction gearbox, the hard stop position value of each gear needs to be adjusted, so the vehicle needs to be able to engage in each gear. However, the vehicle may not engage in each gear during operation, so the adaptive adjustment of the hard stop position during driving may not be completed, resulting in inaccurate hard stop position. When the hard stop position is inaccurate, the vehicle cannot shift gears accurately, which is not conducive to safe driving. Summary of the invention
[0005] In view of this, the embodiments of the present application provide a method, device and vehicle-mounted terminal for updating the hard stop position of a vehicle gear, so as to complete the adaptive process in each driving cycle of the vehicle, thereby ensuring that the hard stop position information stored in the memory is accurate and ensuring accurate gear shifting of the vehicle.
[0006] A first aspect of an embodiment of the present application provides a method for updating a hard stop position of a vehicle gear, comprising:
[0007] When receiving a power-off command of the vehicle, controlling the gear position of the vehicle to be in the second gear position;
[0008] adaptively acquiring second hard stop position information corresponding to the second gear position;
[0009] The second hard stop point position information stored in the memory is updated according to the second hard stop point position information adaptively acquired.
[0010] In a possible implementation, when a power-off instruction of the vehicle is received, controlling the gear position of the vehicle to be in the second gear position includes:
[0011] When receiving a shift instruction from a vehicle gear to a neutral gear, determining the gear position of the vehicle;
[0012] If the vehicle is in the first gear, obtaining the second hard stop position information currently stored in the memory;
[0013] determining a shift fork position of the second gear position according to the second hard stop position information obtained from the memory;
[0014] The shift fork is controlled to move to the shift fork position to shift the vehicle to the second gear.
[0015] In a possible implementation, the method further includes:
[0016] If the vehicle is in the second gear position, the vehicle is controlled to remain in the second gear position.
[0017] In a possible implementation, determining the gear position of the vehicle includes:
[0018] determining a speed of the vehicle;
[0019] If the vehicle speed is less than a first vehicle speed threshold, determining that the vehicle is in the first gear;
[0020] If the vehicle speed is greater than a second vehicle speed threshold, determining that the vehicle is in the second gear position;
[0021] If the vehicle speed is not less than the first vehicle speed threshold and not greater than the second vehicle speed threshold, the current position of the shift fork is determined; and the gear position of the vehicle is determined according to the current position of the shift fork.
[0022] In a possible implementation, the adaptively acquiring the second hard stop position information corresponding to the second gear position includes:
[0023] Controlling the driving motor of the shift fork to drive the shift fork to move toward the hard stop point direction of the second gear position;
[0024] When it is detected that the current of the drive motor is greater than a preset current value and the rotation speed of the drive motor is less than a preset rotation speed, determining that the shift fork reaches a hard stop point of the second gear position;
[0025] The position information corresponding to the hard stop point of the second gear is used as the second hard stop point position information adaptively acquired.
[0026] In a possible implementation manner, after updating the second hard stop point position information stored in the memory according to the adaptively acquired second hard stop point position information, the method further includes:
[0027] The vehicle is shifted into neutral gear to complete powering off of the vehicle.
[0028] In a possible implementation, the method further includes:
[0029] When the vehicle is powered on, controlling the vehicle to shift into the first gear;
[0030] After the vehicle is shifted to the first gear, controlling the shift fork to continue to move toward the hard stop point of the first gear until the shift fork reaches the hard stop point of the first gear;
[0031] The first hard stop point position information stored in the memory is updated according to the position information corresponding to the hard stop point of the first gear.
[0032] A second aspect of an embodiment of the present application provides a device for updating a hard stop position of a vehicle gear, comprising:
[0033] A gear shift module, configured to control the vehicle to shift to a second gear position when receiving a power-off command of the vehicle;
[0034] A second gear position adaptive module, used for adaptively acquiring second hard stop position information corresponding to the second gear position;
[0035] An updating module is used to update the second hard stop point position information stored in the memory according to the second hard stop point position information adaptively acquired.
[0036] A third aspect of an embodiment of the present application provides a vehicle-mounted terminal, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method described in the first aspect when executing the computer program.
[0037] A fourth aspect of an embodiment of the present application provides a vehicle, wherein the hard stop position of the vehicle is updated by the method described in the first aspect above.
[0038] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method described in the first aspect above is implemented.
[0039] A sixth aspect of the embodiments of the present application provides a computer program product. When the computer program product is run on a vehicle-mounted terminal, the vehicle-mounted terminal executes the method described in the first aspect above.
[0040] Compared with the prior art, the embodiments of the present application have the following advantages:
[0041] In the embodiment of the present application, when the vehicle is powered off, the vehicle can be controlled to shift to the second gear first, and then the adaptive process of the second gear is performed, and the second hard stop position information stored in the memory is updated according to the second hard stop position information obtained by the adaptive process. In this embodiment, each time the vehicle is powered off, the adaptive process of the second gear is performed, thereby updating the hard stop position stored in the memory. Since the vehicle will shift to the first gear after powering on, thereby completing the adaptive process of the first gear, the vehicle completes the adaptive process of the second gear once when the power is off, so that in each driving cycle of the vehicle, the vehicle can complete the adaptive process of the first gear and the adaptive process of the second gear, so that the first hard stop position information and the second hard stop position information stored in the memory can be updated in each driving cycle, ensuring that the hard stop position information stored in the memory is valid hard stop position information after powering off, so as to facilitate the vehicle to accurately shift gears in the next driving cycle. By optimizing the adaptive process, this embodiment ensures that the stored hard stop position is accurate and effective after each power-on, thereby ensuring accurate gear shifting of the vehicle and ensuring vehicle safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art.
[0043] Figure 1 It is a schematic diagram of the steps of a method for updating the hard stop position of a vehicle gear provided in an embodiment of the present application;
[0044] Figure 2 It is a schematic diagram of the steps of another method for updating the hard stop position of a vehicle gear provided in an embodiment of the present application;
[0045] Figure 3 is a flow chart of another method for updating the hard stop position of a vehicle gear provided in an embodiment of the present application;
[0046] Figure 4 is a schematic diagram of a hard stop position updating device for a vehicle gear provided in an embodiment of the present application;
[0047] Figure 5 It is a schematic diagram of a vehicle-mounted terminal provided in an embodiment of the present application. DETAILED DESCRIPTION
[0048] In the following description, specific details such as specific system structures, technologies, etc. are proposed for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from hindering the description of the present application.
[0049] Unlike the gearbox of a traditional fuel vehicle, a two-speed reduction gearbox has only three gears: N gear, 1st gear and 2nd gear. During the operation of the two-speed reduction gearbox, the gear shift fork position needs to be self-learned. The self-learning process of the two-speed reduction gearbox is a process in which the brushless direct current motor (BLDC / BLDCM) shift fork pushes the synchronizer ring to the hard stop position of the 2nd gear, and then pushes it back to the hard stop point of the 1st gear. The actual fork target position of the 1st and 2nd gears is calculated by the position of the two hard stops, thereby achieving gear shifting. However, for the shift point position of the 1st and 2nd gears, each time the vehicle is powered off and then powered on, the validity of the last stored value will be checked. If it is judged to be invalid, self-learning is required. The hard stop position of the gear obtained by self-learning can be stored in a preset memory, so that the vehicle can read the hard stop position information stored in the memory during driving, thereby determining the fork position corresponding to the gear and achieving gear shifting. During the use of the vehicle, there will be wear and tear, which will cause the hard stop point position information of the gear to change. Therefore, during the driving process of the vehicle, the hard stop point position information of the gear needs to be adaptively adjusted.
[0050] The adaptive process is as follows: when the vehicle receives a shift command, the vehicle's shift controller (Actuator Control Unit for Electrical Axle Actuator, ACU) can shift the vehicle to the target gear. After the vehicle shifts to the target gear, the BLDC will continue to give the shift fork a certain voltage, so that the shift fork continues to move toward the hard stop point direction of the current gear, thereby obtaining the hard stop point value of the current gear, and based on the obtained hard stop point value of the current gear, the hard stop point position value learned by self-learning is corrected.
[0051] The adaptive shift controller is a very important part of determining the position of the shift fork during the driving process of the two-speed reduction gearbox of the P4 structure vehicle. In order to ensure that the shift fork movement position is effective during the gear shift, a more effective adaptive value is required. However, during the adaptive process, the vehicle needs to be engaged in 1st gear and 2nd gear in order to correct the hard stop position information of the 1st gear and the hard stop position information of the 2nd gear of the two-speed reduction gearbox of the vehicle. However, the vehicle may not necessarily shift to each gear during driving, so the adaptive process of a certain gear may not be executed for a long time, resulting in errors in the hard stop position information stored in the memory, which is not conducive to the accurate gear shifting of the vehicle. For example, when the vehicle is driving in the city, the vehicle speed may always be lower than the shift line of the 2nd gear, resulting in the inability of the vehicle to engage in the 2nd gear, and the hard stop position value of the 2nd gear cannot be adjusted, resulting in inaccurate hard stop position of the 2nd gear.
[0052] In summary, the adaptive process of the two-speed reduction gearbox needs to be optimized. Based on this, the present application proposes a method for updating the hard stop position of a vehicle gear.
[0053] The technical solution of the present application is described below through specific embodiments.
[0054] Reference Figure 1 , shows a schematic flow chart of the steps of a method for updating the hard stop position of a vehicle gear provided in an embodiment of the present application. The execution subject of the method in this embodiment may be a vehicle-mounted terminal, and specifically may include the following steps:
[0055] S101, when a power-off command of a vehicle is received, controlling the gear position of the vehicle to be in a second gear position.
[0056] The vehicle may include a hybrid vehicle control unit (HCU) and a shift controller. The vehicle controller may send a shift command to the shift controller according to the current driving state of the vehicle or according to the user's instruction. The shift controller may shift the vehicle to the corresponding gear according to the received shift command. In this embodiment, the first gear is the first gear of the two-speed reduction gearbox, the second gear is the second gear of the two-speed reduction gearbox, and the neutral gear is the N gear of the two-speed reduction gearbox. In this embodiment, the hard stop position update method of the vehicle gear can be executed by the shift controller in the vehicle terminal.
[0057] The vehicle may include a memory, which may be an electrically erasable programable read only memory (EEPROM), in which the first hard stop position information of the first gear and the second hard stop position information of the second gear may be stored; wherein the shift controller may determine the first fork position of the first gear according to the first hard stop position information, and determine the second fork position of the second gear according to the second hard stop position information. When the vehicle is engaged in the first gear, the shift controller may control the fork to move to the first fork position; when the vehicle is engaged in the second gear, the shift controller may control the fork to move to the second fork position.
[0058] When the user leaves the vehicle or the vehicle controller detects that the vehicle is no longer in use, the vehicle controller can send a power-down command to the shift controller. For example, the vehicle controller can send HCU_PowertrainSts=0x3:power down to the shift controller. In addition, when the vehicle controller sends a shift-to-neutral gear command to the shift controller, the shift controller can also determine that a power-down command has been received.
[0059] When the vehicle receives a power-off command, the current gear position of the vehicle can be determined first. If the vehicle is currently in the first gear position, the vehicle can be controlled to shift to the second gear position first, and then the power can be turned off after the adaptation of the second gear position is completed. Exemplarily, when the vehicle receives a power-off command, a shift command to shift to the second gear position can be sent to the vehicle shift controller. After receiving the shift command, the shift controller can obtain the second hard stop position information of the second gear position from the memory, and then determine the second shift fork position of the second gear position according to the second hard stop position information, thereby controlling the shift fork to move to the second shift fork position; after the shift fork moves to the second shift fork position, the vehicle shifts to the second gear position.
[0060] When the vehicle receives the power-off command, if the vehicle is currently in the second gear, there is no need to change gears, and the gear of the vehicle can be maintained. For example, when the vehicle receives the power-off command, the vehicle speed can be detected. If the vehicle speed reaches a preset speed threshold, it is determined that the vehicle is currently in the second gear, and the vehicle can be controlled to continue to maintain the second gear.
[0061] S102: adaptively obtain second hard stop position information corresponding to the second gear position.
[0062] After the vehicle is shifted to the second gear for a preset time, the shift fork can continue to be controlled to move toward the hard stop point of the second gear. When the shift fork moves to the hard stop point of the second gear, the second hard stop point position information of the second gear can be obtained. The second hard stop point position information is the second hard stop point position information obtained adaptively.
[0063] S103: Update the second hard stop point position information stored in the memory according to the second hard stop point position information adaptively acquired.
[0064] The second hard stop point position information obtained by adaptive means is used to replace the second hard stop point position information currently stored in the memory, thereby updating the second hard stop point position information stored in the memory. Of course, in a possible implementation, the second hard stop point position information currently stored in the memory may be compared with the second hard stop point position information obtained by adaptive means to determine whether the two are the same. If the two are the same, the value currently in the memory is maintained; if the two are different, it is determined that the second hard stop point position information needs to be corrected, and the second hard stop point position information obtained by adaptive means may be used to replace the second hard stop point position information currently stored in the memory.
[0065] Generally, after the vehicle is powered on, it can be shifted into the first gear. After the vehicle is powered on, a shift command to switch to the first gear can be sent to the shift controller; after receiving the shift command, the shift controller can obtain the first hard stop point position information of the first gear from the memory, and then determine the first fork position of the first gear according to the first hard stop point position information, thereby controlling the fork to move to the first fork position; after the fork moves to the first fork position, the vehicle is shifted into the first gear. After the vehicle is shifted into the first gear for a preset time, the fork can continue to be controlled to move toward the hard stop point of the first gear. When the fork moves to the hard stop point of the first gear, the first hard stop point position information of the first gear can be obtained, and the first hard stop point position information is the first hard stop point position information obtained adaptively. The first hard stop point position information currently stored in the memory is replaced with the first hard stop point position information obtained adaptively, thereby updating the first hard stop point position information stored in the memory. Of course, in a possible implementation, the first hard stop point position information currently stored in the memory may be compared with the first hard stop point position information obtained adaptively to determine whether the two are the same. If the two are the same, the value currently in the memory continues to be maintained; if the two are different, it is determined that the first hard stop point position information needs to be corrected, and the first hard stop point position information obtained adaptively may be used to replace the first hard stop point position information currently stored in the memory.
[0066] In a possible implementation, the shift fork may have a maximum movable range, and the movable range has two end points. When the shift fork moves to the end point position, the shift fork continues to be subjected to pressure, and the shift fork undergoes a certain elastic deformation, and then cannot move, which indicates that the shift fork has reached the hard stop point. At one end point, when the shift fork cannot move, the position coordinates of the shift fork can be used as the first hard stop point position information corresponding to the first gear; at the other end point, when the shift fork cannot move, the position coordinates of the shift fork can be used as the second hard stop point position information corresponding to the second gear.
[0067] In this embodiment, regardless of whether the vehicle executes the adaptation of the second gear during driving, the vehicle can be shifted to the second gear when the vehicle is powered off and the adaptation of the second gear is executed, and the adaptation of the first gear will be executed after the vehicle is powered on. Therefore, the method in this embodiment can optimize the vehicle gear adaptation and ensure that the vehicle completes the entire adaptation process in the driving cycle, so that even if the vehicle cannot shift to the second gear during driving, the entire adaptation process can be completed, which ensures that the hard stop position information of the gear stored in the memory can be updated in time to ensure accurate gear shifting of the vehicle.
[0068] Reference Figure 2 , shows a schematic flow chart of the steps of another method for updating the hard stop position of a vehicle gear provided in an embodiment of the present application. The method in this embodiment may be executed by a vehicle terminal, and may specifically include the following steps:
[0069] S201, when receiving a gear shift instruction from a vehicle gear to a neutral gear, determining the gear position of the vehicle.
[0070] In this embodiment, the method for updating the hard stop position of the vehicle gear can be specifically executed by the gear shift controller in the vehicle terminal.
[0071] The complete adaptive process may include the adaptation of the first gear and the adaptation of the second gear. The vehicle does not necessarily complete the entire adaptive process in one driving cycle. For example, due to urban traffic congestion, the vehicle has been driving in the city, and the vehicle speed has been lower than the shift line of the second gear for a long time. Therefore, the vehicle can only complete the adaptation of the first gear, but cannot complete the adaptation of the second gear, and cannot complete the complete adaptive process. In this embodiment, when the vehicle is powered off, regardless of whether the vehicle has completed the adaptation of the second gear in the driving cycle, the second gear will be engaged to execute the adaptation of the second gear, thereby ensuring that the vehicle completes the entire adaptive process before the power is turned off.
[0072] When the vehicle is powered off, the vehicle controller may send a shift instruction to the vehicle to shift to neutral. In another possible implementation, the vehicle may determine whether the vehicle is shifted to the second gear before powering off. If the vehicle is not shifted to the second gear before powering off, the vehicle controller may send a shift instruction to the shift controller to shift to neutral. Regardless of whether the shift controller receives a shift to neutral instruction from the vehicle controller or receives a vehicle power-off instruction, it may first shift to the second gear, complete the adaptation of the second gear, update the hard stop position information of the second gear stored in the memory, and then shift to neutral to complete the vehicle power-off.
[0073] When the shift controller receives a shift instruction from a vehicle gear to a neutral gear, the current gear position of the vehicle can be determined.
[0074] In a possible implementation, the current position of the shift fork may be determined, and based on the current position of the shift fork, the gear position that the vehicle is currently in may be determined. If the shift fork is at a shift fork position corresponding to the second gear position, it is determined that the vehicle is currently in the second gear position; if the shift fork is at a shift fork position corresponding to the first gear position, it is determined that the vehicle is currently in the first gear position.
[0075] In a possible implementation, the current gear of the vehicle can be determined according to the current speed of the vehicle. The current speed of the vehicle is obtained. If the speed is less than a preset first speed threshold, it is determined that the vehicle is in the first gear; if the speed is greater than a preset second speed threshold, it is determined that the vehicle is in the second gear. In order to protect the vehicle's starting system, etc., generally when the speed is too high, the vehicle can be forced to shift gear to the second gear; when the speed is too low, the vehicle can be forced to shift gear to the first gear. The above-mentioned first speed threshold is the speed limit value of the vehicle forcibly shifting gear to the first gear; the second speed threshold is the speed limit value of the vehicle forcibly shifting gear to the second gear. Exemplarily, generally when the vehicle is greater than 125kph, the vehicle can be forced to shift gear to the second gear; when the vehicle is less than 60kph, the vehicle can be forced to shift gear from the second gear to the first gear. Therefore, it can be determined that when the speed of the vehicle is less than 60kph, the vehicle is in the first gear; when the speed of the vehicle is greater than 125kph, the gear of the vehicle is in the second gear. However, when determining the current gear position of the vehicle based on the vehicle speed, there is a speed range where the gear position cannot be determined. For example, when the vehicle starts to accelerate continuously and the speed reaches 100kph, the vehicle will shift from the first gear to the second gear when it is not in the full throttle state; but if the vehicle is in the full throttle state, it may not shift to the second gear. Therefore, when the vehicle speed is between 100kph and 125kph, it may be in the first gear or the second gear. Based on this, other methods can also be used to determine the gear position of the vehicle.
[0076] In a possible implementation, the current gear position of the vehicle can be determined based on the vehicle speed and the position of the shift fork. Since the vehicle speed can be easily obtained, the current speed of the vehicle can be obtained first. If the vehicle speed is less than a preset first vehicle speed threshold, it is determined that the vehicle is in the first gear position; if the vehicle speed is greater than a preset second vehicle speed threshold, it is determined that the vehicle is in the second gear position. When the vehicle speed is greater than or equal to the first vehicle speed threshold and less than or equal to the second vehicle speed threshold, the position of the shift fork can be obtained to determine the current gear position of the vehicle.
[0077] In another possible implementation, the vehicle may further include a memory for recording the current gear position of the vehicle. When the vehicle is powered on and starts to move, the current gear position of the vehicle recorded in the memory is the first gear position; when the vehicle performs a gear change, the current gear position of the vehicle is updated in the memory; based on this, when the vehicle is powered off, the value in the memory can be read to determine the current gear position of the vehicle.
[0078] S202: If the vehicle is in the second gear, control the vehicle to remain in the second gear.
[0079] S203: If the vehicle is in the first gear, obtain the second hard stop position information currently stored in the memory.
[0080] If the vehicle is in the first gear, the vehicle can be shifted to the second gear first. Specifically, the second hard stop position information currently stored in the memory can be obtained.
[0081] Before the vehicle is powered off, it may include the power-on and driving processes. When the vehicle is powered on, the vehicle may be shifted into the first gear. The shift controller may determine the first shift fork position of the first gear based on the information stored in the memory. After determining the first shift fork position, the shift fork may be controlled to move to the first shift fork position by applying voltage to the drive motor, thereby shifting the vehicle into the first gear. After the shift fork moves to the first shift fork position, that is, after the vehicle is shifted into the first gear, after a certain period of time, the shift fork may continue to be controlled to continue moving in the original direction of movement during the shift until the shift fork reaches the hard stop point of the first gear, thereby obtaining the updated first hard stop point position information of the first gear; based on the updated first hard stop point position information, the first hard stop point position information stored in the memory is updated.
[0082] During vehicle driving, if the vehicle speed is greater than a preset vehicle speed threshold, the shift fork position of the second gear is determined according to the second hard stop point position information stored in the memory; the shift fork is controlled to move to the shift fork position to shift the vehicle to the second gear; after the shift fork moves to the shift fork position, the shift fork is continued to be controlled to move until the shift fork reaches the hard stop point of the second gear; and the second hard stop point position information stored in the memory is updated according to the position information corresponding to the hard stop point of the second gear.
[0083] In another possible implementation, when the vehicle is powered on, it is shifted into the first gear and the first gear adaptation can be performed; when shifting to the second gear, it can only be shifted into the second gear without performing the second gear adaptation process, and the second gear adaptation can only be performed when getting off the vehicle.
[0084] S204: Determine a shift fork position of the second gear according to the second hard stop position information obtained from the memory.
[0085] The shift fork position may be a position that is a preset length away from the hard stop position, for example, the shift fork position may be a position that is 2.5 mm away from the hard stop position.
[0086] After the second hard stop point position information currently stored in the memory is retrieved, the shift fork position of the second gear may be determined according to the second hard stop point position information.
[0087] S205, controlling the shift fork to move to the shift fork position to shift the vehicle to the second gear.
[0088] In a possible implementation, the movement of the fork can be controlled by pulse width modulation (PWM) control. When the fork moves in the direction corresponding to the first gear, the pulse of the brushless DC motor driving the fork can be controlled to reach a preset first duty cycle, so that the drive motor can drive the fork to move in the direction corresponding to the first gear; when the fork moves in the direction corresponding to the second gear, the pulse of the brushless DC motor driving the fork can be controlled to reach a preset second duty cycle, so that the drive motor can drive the fork to move in the direction corresponding to the second gear. The above-mentioned first duty cycle can be 15%, and the second duty cycle can be 85%. The control of the movement direction of the fork is achieved by controlling the pulse frequency of the brushless DC motor. Therefore, the pulse of the brushless DC motor driving the fork can be controlled to reach a preset second duty cycle, so that the drive motor can drive the fork to move in the direction corresponding to the second gear.
[0089] In another possible implementation, the shift fork may have a corresponding drive motor, such as a brushless DC motor. The drive motor of the shift fork may have two rotation directions, and different rotation directions may drive the shift fork to move in different directions. For example, when the drive motor rotates in a first rotation direction, the shift fork may be controlled to move in a direction corresponding to the first gear, and when the drive motor rotates in a second rotation direction, the shift fork may be controlled to move in a direction corresponding to the second gear. Therefore, the shift controller may control the drive motor of the shift fork to rotate in the second rotation direction under a certain voltage, so that the shift fork moves to the shift fork position corresponding to the second gear. After the shift fork moves to the second gear, the vehicle may be engaged in the second gear.
[0090] S206, after the shift fork reaches the shift fork position, controlling the driving motor of the shift fork to continue to drive the shift fork to move.
[0091] In one or possible implementation manner, the pulse of the brushless DC motor driving the shift fork may be controlled to reach a preset second duty cycle, so that the drive motor can drive the shift fork to move in a direction corresponding to the second gear position.
[0092] In another possible implementation, after the shift fork reaches the shift fork position of the second gear, the drive motor of the shift fork can be controlled to rotate in the second rotation direction under a certain voltage, so that the shift fork continues to move toward the hard stop point of the second gear.
[0093] S207, when it is detected that the current of the drive motor is greater than a preset current value and the rotation speed of the drive motor is less than a preset rotation speed, it is determined that the shift fork reaches a hard stop point of the second gear.
[0094] When the current of the driving motor is greater than the preset current value but the speed of the driving motor is less than the preset speed, it can be determined that the shift fork moves to the hard stop point of the second gear position at this time. At this time, the position information of the second hard stop point can be determined.
[0095] In another possible implementation, during the movement of the shift fork, the current of the drive motor can be monitored. If the current of the drive motor is greater than a preset threshold, it indicates that the shift fork has reached the hard stop of the second gear. When the shift fork reaches the hard stop, since the shift fork can no longer move, the rotation of the drive motor cannot drive the shift fork to move, and the current of the drive motor will be abnormal. Therefore, by monitoring the current of the drive motor, it can be determined whether the shift fork has reached the hard stop.
[0096] S208: Use the position information corresponding to the hard stop point of the second gear as the second hard stop point position information adaptively acquired.
[0097] S209: Update the second hard stop point position information stored in the memory according to the second hard stop point position information adaptively acquired.
[0098] S210, shifting the vehicle into neutral gear to power off the vehicle.
[0099] After the second hard stop position in the memory is updated, the vehicle can be shifted into neutral, thereby completing the power-off of the vehicle.
[0100] In this embodiment, when the vehicle is powered off, the vehicle can be shifted to the second gear and then to neutral, so that the second gear of the vehicle can be adapted when the vehicle is powered off. The second hard stop position information of the second gear obtained based on the adaptation can update the information stored in the memory, ensuring that the vehicle can complete the entire adaptation process in the driving cycle, thereby optimizing the adaptation process.
[0101] It should be noted that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0102] In order to better illustrate the solution in this application, another example can be used to illustrate the solution in this application. Figure 3 As shown, when the vehicle is powered off, the vehicle controller can send a vehicle power-off command to the shift controller, and the vehicle power-off command can be HCU_PowertrainSts=0x3:power down; if the shift controller receives the vehicle power-off command, the shift controller can first return to the 2nd gear and then to the N gear; in the 2nd gear, the shift controller can perform 2nd gear adaptation, thereby learning the 2nd gear hard stop point value, and store the 2nd gear hard stop point value in the memory EEPROM, and then complete the vehicle power-off.
[0103] Based on the method in this embodiment, the vehicle may include the following during driving: Figure 3 The gear adaptation process shown is as follows: when the vehicle is powered on, the vehicle is in gear D, i.e., gear 1. At this time, the gear information of the vehicle's gear shift controller can be gear 1, i.e., ACUactgear=gear 1. After a certain debounce time, the adaptation in gear 1 can be performed; thus, the hard stop value of gear 1 is obtained. During vehicle driving, it can be determined whether the vehicle speed reaches gear 2, thereby determining whether the gear shift controller is in gear 2.
[0104] If the shift controller is engaged in the 2nd gear, the gear information of the shift controller of the vehicle may be the 2nd gear, that is, ACUactgear=2nd gear. After a certain debounce time, the adaptation in the 2nd gear may be performed, thereby obtaining the hard stop value of the 2nd gear.
[0105] When the vehicle is powered off, the hard stop point value of the first gear and the hard stop point value of the second gear obtained by adaptation may be stored in the EEPROM, and the hard stop point position information stored in the memory may be updated.
[0106] If the shift controller has not shifted into the 2nd gear during the entire current driving cycle, that is, during the process of the vehicle powering on and off, the vehicle controller can request the shift controller to return to the N gear when the vehicle is powered off. When the shift controller shifts to the N gear, it can first shift to the 2nd gear. The shift controller can first return to the 2nd gear and then to the N gear. In the 2nd gear, the shift controller can perform 2nd gear adaptation, thereby learning the 2nd gear hard stop point value, and storing the 2nd gear hard stop point value in the memory EEPROM, and then completing the vehicle power off.
[0107] In this embodiment, the vehicle performs adaptation of the 2nd gear when the power is turned off, thereby updating the hard stop position information of the 2nd gear, which can ensure that the vehicle completes the vehicle's adaptation process during the driving cycle, ensure that the hard stop position information stored in the vehicle's memory is new and accurate hard stop position information, and ensure that the vehicle can shift gears accurately.
[0108] Reference Figure 4 , shows a schematic diagram of a hard stop position updating device for a vehicle gear provided in an embodiment of the present application, which may specifically include a gear shifting module 41, a second gear adaptive module 42 and an updating module 43, wherein:
[0109] A gear shift module 41, configured to control the gear position of the vehicle to be in the second gear position when receiving a power-off command of the vehicle;
[0110] A second gear position adaptive module 42, used for adaptively acquiring second hard stop position information corresponding to the second gear position;
[0111] The updating module 43 is configured to update the second hard stop point position information stored in the memory according to the second hard stop point position information adaptively acquired.
[0112] In a possible implementation, the gear shift module 41 includes:
[0113] A gear position determination submodule, for determining the gear position of the vehicle when receiving a gear shift instruction from a vehicle gear to a neutral gear;
[0114] a second hard stop position information acquisition submodule, configured to acquire the second hard stop position information currently stored in the memory if the vehicle is in the first gear position;
[0115] a shift fork position determination submodule, configured to determine a shift fork position of the second gear according to the second hard stop position information acquired from the memory;
[0116] The shift submodule is used to control the shift fork to move to the shift fork position so as to shift the vehicle to the second gear position.
[0117] In a possible implementation, the gear shift module 41 further includes:
[0118] The gear holding submodule is used for controlling the vehicle to remain in the second gear if the vehicle is in the second gear.
[0119] In a possible implementation, the gear position determination submodule includes:
[0120] A vehicle speed determination unit, used to determine the vehicle speed of the vehicle;
[0121] a first judgment unit, configured to determine that the vehicle is in the first gear if the vehicle speed is less than a first vehicle speed threshold;
[0122] a second judgment unit, configured to determine that the vehicle is in the second gear if the vehicle speed is greater than a second vehicle speed threshold;
[0123] The third judgment unit is used to determine the current position of the shift fork if the vehicle speed is not less than the first vehicle speed threshold and not greater than the second vehicle speed threshold; and determine the gear position of the vehicle according to the current position of the shift fork.
[0124] In a possible implementation, the second gear adaptive module 42 includes:
[0125] A control movement submodule, used for controlling a driving motor of the shift fork to drive the shift fork to move toward the hard stop point direction of the second gear position;
[0126] A judgment submodule, configured to determine that the shift fork reaches a hard stop point of the second gear position when it is detected that the current of the drive motor is greater than a preset current value and the speed of the drive motor is less than a preset speed;
[0127] The second hard stop point position information acquisition submodule is used to use the position information corresponding to the hard stop point of the second gear as the second hard stop point position information adaptively acquired.
[0128] In a possible implementation, the above device further includes:
[0129] The power-off module is used to shift the vehicle into neutral gear to complete powering off of the vehicle.
[0130] In a possible implementation, the above device further includes:
[0131] A gear shift module, used for controlling the vehicle to shift into the first gear when the vehicle is powered on;
[0132] a first hard stop point determination module, configured to control the shift fork to continue to move toward the hard stop point direction of the first gear position after the vehicle is shifted to the first gear position, until the shift fork reaches the hard stop point of the first gear position;
[0133] The first hard stop point position information updating module is used to update the first hard stop point position information stored in the memory according to the position information corresponding to the hard stop point of the first gear.
[0134] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment part.
[0135] Figure 5 This is a schematic diagram of the structure of a vehicle-mounted terminal provided in an embodiment of the present application. Figure 5 As shown, the vehicle terminal 5 of this embodiment includes: at least one processor 50 ( Figure 5 Only one is shown in the figure) a processor, a memory 51, and a computer program 52 stored in the memory 51 and executable on the at least one processor 50, and when the processor 50 executes the computer program 52, the steps in any of the above-mentioned method embodiments are implemented.
[0136] The vehicle-mounted terminal may include, but is not limited to, a processor 50 and a memory 51. Those skilled in the art will appreciate that Figure 5 It is only an example of the vehicle-mounted terminal 5 and does not constitute a limitation on the vehicle-mounted terminal 5. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.
[0137] The processor 50 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0138] In some embodiments, the memory 51 may be an internal storage unit of the vehicle-mounted terminal 5, such as a hard disk or memory of the vehicle-mounted terminal 5. In other embodiments, the memory 51 may also be an external storage device of the vehicle-mounted terminal 5, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the vehicle-mounted terminal 5. Further, the memory 51 may also include both an internal storage unit of the vehicle-mounted terminal 5 and an external storage device. The memory 51 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 51 may also be used to temporarily store data that has been output or is to be output.
[0139] An embodiment of the present application also provides a vehicle, which can execute the steps in the above-mentioned method embodiments to achieve optimization of adaptation, thereby updating the hard stop position of the vehicle gear.
[0140] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0141] An embodiment of the present application provides a computer program product. When the computer program product runs on a vehicle-mounted terminal, the vehicle-mounted terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0142] The above-described embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application is described in detail with reference to the above-mentioned embodiments, a person skilled in the art should understand that the technical solutions described in the above-mentioned embodiments can still be modified, or some of the technical features can be replaced by equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method for updating the hard stop position of a vehicle gear, characterized in that: include: After the vehicle is powered on and shifted to a first gear, adaptively acquiring first hard stop position information corresponding to the first gear; updating the first hard stop point position information stored in the memory according to the first hard stop point position information acquired by adaptive means, wherein the first gear position is the first gear of a two-speed reduction gearbox; When a power-off command of the vehicle is received, the gear position of the vehicle is controlled to be a second gear position, where the second gear position is the second gear of a two-speed reduction gearbox; adaptively acquiring second hard stop position information corresponding to the second gear position; The second hard stop point position information stored in the memory is updated according to the second hard stop point position information adaptively acquired.
2. The method according to claim 1, characterized in that When receiving a power-off instruction of the vehicle, controlling the gear position of the vehicle to be in the second gear position comprises: When receiving a shift instruction from a vehicle gear to a neutral gear, determining the gear position of the vehicle; If the vehicle is in the first gear, obtaining the second hard stop position information currently stored in the memory; determining a shift fork position of the second gear position according to the second hard stop position information obtained from the memory; The shift fork is controlled to move to the shift fork position to shift the vehicle to the second gear.
3. The method according to claim 2, characterized in that The method further comprises: If the vehicle is in the second gear position, the vehicle is controlled to remain in the second gear position.
4. The method according to claim 2 or 3, characterized in that Determining the gear position of the vehicle includes: determining a speed of the vehicle; If the vehicle speed is less than a first vehicle speed threshold, determining that the vehicle is in the first gear; If the vehicle speed is greater than a second vehicle speed threshold, determining that the vehicle is in the second gear position; If the vehicle speed is not less than the first vehicle speed threshold and not greater than the second vehicle speed threshold, the current position of the shift fork is determined; and the gear position of the vehicle is determined according to the current position of the shift fork.
5. The method according to claim 2 or 3, characterized in that: The adaptively acquiring the second hard stop position information corresponding to the second gear position includes: Controlling the driving motor of the shift fork to drive the shift fork to move toward the hard stop point direction of the second gear position; When it is detected that the current of the drive motor is greater than a preset current value and the rotation speed of the drive motor is less than a preset rotation speed, determining that the shift fork reaches a hard stop point of the second gear position; The position information corresponding to the hard stop point of the second gear is used as the second hard stop point position information adaptively acquired.
6. The method according to any one of claims 1 to 3, characterized in that: After updating the second hard stop point position information stored in the memory according to the adaptively acquired second hard stop point position information, the method further includes: The vehicle is shifted into neutral gear to complete powering off of the vehicle.
7. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: When the vehicle is powered on, controlling the vehicle to shift into the first gear; After the vehicle is shifted to the first gear, controlling the shift fork to continue to move toward the hard stop point of the first gear until the shift fork reaches the hard stop point of the first gear; The first hard stop point position information stored in the memory is updated according to the position information corresponding to the hard stop point of the first gear.
8. A device for updating the hard stop position of a vehicle gear, characterized in that: include: A gear shift module, for controlling the gear position of the vehicle to be in a second gear position when receiving a power-off command of the vehicle, wherein the second gear position is the second gear of a two-speed reduction gearbox; A second gear position adaptive module, used for adaptively acquiring second hard stop position information corresponding to the second gear position; an updating module, configured to update the second hard stop point position information stored in the memory according to the second hard stop point position information adaptively acquired; The device is also used to perform: After the vehicle is powered on and shifted to a first gear, adaptively acquiring first hard stop position information corresponding to the first gear; The first hard stop point position information stored in the memory is updated according to the first hard stop point position information adaptively acquired, and the first gear position is the first gear of a two-speed reduction gearbox.
9. A vehicle-mounted terminal, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method according to any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 7 is implemented.
