A method, apparatus, device, and storage medium for storing the position of a shift drum.
By storing the effective position information of the shift drum after the vehicle is powered off, the problem of the vehicle needing to learn and determine the shift position every time it starts is solved, thus achieving one-button start and extending the lifespan of the hardware.
Patent Information
- Application Number
- CN202410457279.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-16
- Publication Date
- 2026-11-10
- Estimated Expiration
- 2044-04-16
AI Technical Summary
In existing technology, the position of the gear shift drum is lost every time the vehicle is powered off, which means that the vehicle needs to learn and determine the optimal gear shift position before starting the vehicle each time, making one-button start impossible.
After the engine is turned off, the system checks whether the vehicle controller has entered a sleep buffer state, obtains the real-time position information of the shift drum, and stores the valid position information when no self-learning request is detected, so that it can be directly called upon the next start.
This allows for direct gear shifting control upon the next vehicle start, saving startup time, reducing hardware wear and tear, and extending the lifespan of the gear shift drum.
Smart Images

Figure CN118224293B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of automotive technology, and in particular to a method, apparatus, device, and storage medium for storing the position of a gear shift drum. Background Technology
[0002] The shift drum is a crucial component within the reducer, its function being to drive the shift fork to perform gear shifting. When the drive motor rotates the shift drum by a certain angle, the shift fork moves left and right, thereby engaging gear sets with different transmission ratios to achieve gear shifting. In existing technology, to achieve a smoother shifting process, the optimal shift position corresponding to the current shift drum needs to be determined before each vehicle start. However, the shift position is lost every time the vehicle controller is powered off, requiring self-learning to determine the optimal shift position each time the vehicle controller is powered on. This prevents the vehicle from being started with a single button. Summary of the Invention
[0003] The main objective of this invention is to provide a method, apparatus, device, and storage medium for storing the shift drum position, aiming to solve the technical problem of how to automatically store the shift position each time the vehicle is powered off, so as to enable one-button vehicle start-up.
[0004] To achieve the above objectives, embodiments of the present invention provide a method for storing the position of a shift drum, the method comprising:
[0005] After the engine is turned off, check whether the vehicle controller has entered the sleep buffer state normally;
[0006] When the vehicle controller normally enters the sleep buffer state, the real-time position information of the shift drum is obtained;
[0007] Based on the real-time position information, the effective position information of the shift drum is obtained;
[0008] The valid location information is stored when no self-learning request is detected from the learning module.
[0009] Optionally, the step of obtaining the effective position information of the shift drum based on the real-time position information includes:
[0010] Determine whether the real-time location information has changed;
[0011] When the real-time location information is detected to remain unchanged, the acquired real-time location information is set as the valid location information.
[0012] Optionally, after the step of determining whether the real-time location information has changed, the method further includes:
[0013] When the real-time location information is detected to remain unchanged within a preset time, the learning module is controlled to generate the self-learning request, and the self-learning request is set to be received when the vehicle controller is powered on again.
[0014] Optionally, after the step of detecting whether the vehicle controller has entered the sleep buffer state normally after the engine is turned off, the method further includes:
[0015] When the vehicle controller fails to enter the hibernation buffer state normally, the learning module is controlled to generate the self-learning request, and the self-learning request is set to be received when the vehicle controller is powered on again.
[0016] Optionally, after the step of storing the valid location information when no self-learning request is detected from the learning module, the method further includes:
[0017] After the vehicle controller is powered on again, it is determined whether the step of storing the valid location information has been completely executed;
[0018] When it is determined that the valid location information has been successfully stored, it is checked whether the self-learning request has been received;
[0019] When determining that the step of storing the valid location information has been fully executed, it is detected whether the self-learning request has been received;
[0020] Upon receiving the self-learning request, the system acquires the learning location information and clears the stored valid location information.
[0021] Set the learned location information as the latest valid location information and store the latest valid location information;
[0022] Check whether the latest valid location information has been successfully stored;
[0023] Upon detecting that the latest valid position information has been successfully stored, shift control is performed based on the latest valid control information.
[0024] Optionally, after the step of determining whether the step of storing the valid location information has been fully executed after the vehicle controller is powered back on, the method further includes:
[0025] When it is determined that the step of storing the valid location information is incomplete, the learning module is controlled to generate the self-learning request, and the self-learning request sent by the learning module is received.
[0026] Based on the self-learning request, the learned location information is obtained, and the stored valid location information is cleared;
[0027] Set the learned location information as the latest valid location information and store the latest valid location information;
[0028] Check whether the latest valid location information has been successfully stored;
[0029] Upon detecting that the latest valid position information has been successfully stored, shift control is performed based on the latest valid control information.
[0030] Optionally, after the step of detecting whether the latest valid location information has been successfully stored, the method further includes:
[0031] When it is detected that the valid location information has not been successfully stored, the learning module is controlled to regenerate the self-learning request, and the self-learning request sent by the learning module is received.
[0032] Based on the self-learning request, the learned location information is reacquired, and the stored valid location information is cleared.
[0033] Set the learned location information as the latest valid location information and store the latest valid location information;
[0034] Gear shifting control is performed based on the latest effective control information.
[0035] Furthermore, to achieve the above objectives, embodiments of the present invention also propose a shift drum position storage device, the shift drum position storage device comprising:
[0036] The working status detection module is used to detect whether the vehicle controller has entered the sleep buffer state normally after the engine is turned off.
[0037] The position acquisition module is used to acquire the real-time position information of the shift drum when the vehicle controller normally enters the sleep buffer state;
[0038] The position acquisition module is further configured to acquire the effective position information of the shift drum based on the real-time position information;
[0039] The information storage module is used to store the valid location information when no self-learning request sent by the learning module is detected.
[0040] Furthermore, to achieve the above objectives, embodiments of the present invention also propose a shift drum position storage device, the device comprising: a memory, a processor, and a shift drum position storage program stored in the memory and executable on the processor, the shift drum position storage program being configured to implement the steps of the shift drum position storage method described above.
[0041] In addition, to achieve the above objectives, this embodiment of the invention also proposes a storage medium storing a shift drum position storage program, which, when executed by a processor, implements the steps of the shift drum position storage method described above.
[0042] This invention provides a method, apparatus, device, and storage medium for storing the position of a shift drum. The method includes the following steps: after the engine is turned off, detecting whether the vehicle controller has entered a normal sleep buffer state; when the vehicle controller has entered the sleep buffer state, acquiring the real-time position information of the shift drum; based on the real-time position information, acquiring the effective position information of the shift drum; and storing the effective position information when no self-learning request is detected from the learning module. By acquiring the corresponding effective position information based on the real-time position of the shift drum during the period between the vehicle power-off and sleep, and storing the effective position information when no self-learning correction is required, the stored effective position information can be directly called for shift control when the vehicle controller is powered on again. This achieves the effect of one-button vehicle start, saving users the time spent starting the vehicle, and also reducing hardware wear during each shift, thus extending the service life of the shift drum. Attached Figure Description
[0043] Figure 1 This is a schematic diagram of the structure of the shift drum position storage device in the hardware operating environment involved in the embodiments of the present invention;
[0044] Figure 2 This is a flowchart illustrating the first embodiment of the shift drum position storage method of the present invention;
[0045] Figure 3 This is a flowchart illustrating the second embodiment of the shift drum position storage method of the present invention;
[0046] Figure 4 This is a flowchart illustrating the third embodiment of the shift drum position storage method of the present invention;
[0047] Figure 5 This is a structural block diagram of the first embodiment of the shift drum position storage device of the present invention. Detailed Implementation
[0048] It should be understood that the specific embodiments described herein are for illustrative purposes only and are not intended to limit the scope of the invention.
[0049] Reference Figure 1 , Figure 1 This is a schematic diagram of the shift drum position storage device structure in the hardware operating environment involved in the embodiments of the present invention.
[0050] like Figure 1As shown, the shift drum position storage device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. The communication bus 1002 is used to enable communication between these components. The user interface 1003 may include a display screen or an input unit such as a keyboard; optionally, the user interface 1003 may also include a standard wired interface or a wireless interface. The network interface 1004 may optionally include a standard wired interface or a wireless interface (such as a Wireless-Fidelity (Wi-Fi) interface). The memory 1005 may be high-speed random access memory (RAM) or stable non-volatile memory (NVM), such as a disk drive. The memory 1005 may also optionally be a storage device independent of the aforementioned processor 1001.
[0051] Those skilled in the art will understand that Figure 1 The structure shown does not constitute a limitation on the shift drum position storage device and may include more or fewer components than shown, or combine certain components, or have different component arrangements.
[0052] like Figure 1 As shown, the memory 1005, which serves as a storage medium, may include an operating system, a network communication module, a user interface module, and a shift drum position storage program.
[0053] exist Figure 1 In the shift drum position storage device shown, the network interface 1004 is mainly used for data communication with the network server; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the shift drum position storage device of the present invention can be set in the shift drum position storage device, and the shift drum position storage device calls the shift drum position storage program stored in the memory 1005 through the processor 1001 and executes the shift drum position storage method provided in the embodiment of the present invention.
[0054] This invention provides a method for storing the position of a shift drum, referring to... Figure 2 , Figure 2 This is a flowchart illustrating the first embodiment of the shift drum position storage method of the present invention.
[0055] In this embodiment, the steps of the shift drum position storage method include:
[0056] Step S10: After the engine is turned off, check whether the vehicle controller has entered the sleep buffer state normally;
[0057] It should be understood that, in this embodiment, the executing entity may be a transmission control unit or other functional unit, device or apparatus capable of controlling transmission shifting.
[0058] It should be noted that in this embodiment, the engine status can be determined by detecting the KL15 signal of the entire vehicle. The KL15 signal refers to the engine ignition signal or vehicle start signal, corresponding to the vehicle start position when the key is in the "ON" position. If no KL15 signal is detected, it can be considered that the vehicle is powered down, corresponding to the vehicle stop position when the key is in the "OFF" position.
[0059] It is easy to understand that in specific implementation, the power-off status of the vehicle controller can be determined by whether the KL15 signal is received. If the vehicle controller is powered off, a delayed sleep request is sent, and it is determined whether the vehicle controller responds to the delayed sleep request and enters the sleep buffer state normally, that is, it is determined that the vehicle controller is in the state before sleep after power-off.
[0060] Specifically, if the vehicle controller is in a sleep buffer state, it can store the valid shift position of the shift drum. Conversely, if the vehicle controller is powered down by the KL15 signal and has not yet fully entered sleep mode, and the battery connected to it suddenly disconnects the negative terminal and stops supplying power, it is understood that the vehicle controller is abnormally powered down and cannot store the valid shift position of the shift drum in time.
[0061] Step S20: When the vehicle controller normally enters the sleep buffer state, obtain the real-time position information of the shift drum;
[0062] It should be noted that when the KL15 is powered off, a delayed sleep request can be sent, allowing the vehicle controller to enter a normal sleep buffer state instead of directly entering sleep mode. Simultaneously, the real-time position of the shift drum is collected at every moment, i.e., the real-time position information of the shift drum is obtained.
[0063] Step S30: Based on the real-time position information, obtain the effective position information of the shift drum;
[0064] It is easy to understand that when the vehicle controller is in a sleep buffer state, the real-time position of the shift drum may change, but the shift position that best matches the software control of the shift drum with the hardware can still be selected within the range of real-time position changes.
[0065] In practice, the shift position that best matches the software control and hardware can be selected from the real-time position of the changing shift drum, and set as the valid shift position for the current shift drum to perform shift operation. The position information corresponding to the valid shift position is then obtained and set as the valid position information.
[0066] Since the real-time position of the shift drum may change, and there is only one real-time position that best matches the software control and hardware, in order to save storage space, only the selected shift positions that best match the software control and hardware will be effectively saved. The real-time position information of the shift drum that is effectively saved is the effective position information.
[0067] It is worth noting that when the software control of the shift drum is perfectly matched with the hardware, the shift drum can achieve minimal hardware wear during shifting operations, thus extending its service life. If the software control and hardware are incompatible, it may lead to hardware damage.
[0068] Step S40: If no self-learning request is detected from the learning module, store the valid location information.
[0069] It should be noted that, to improve the user experience during gear shifting, before the vehicle goes into sleep mode after each power-off, it may self-learn based on the best match between the software control and hardware during the previous driving period. This allows for adjustments to the shift drum to the appropriate effective shift positions, ensuring smoother gear shifting the next time the vehicle is started and reducing wear and tear on the hardware during each shift. Therefore, a learning module is also installed in the vehicle to self-learn and adjust the shift positions based on the best match between the software control and hardware each time the vehicle is powered on.
[0070] It is easy to understand that if, after the vehicle is powered off, the vehicle controller successfully enters a sleep buffer state and does not detect the receipt of a self-learning request from the learning module, the currently acquired valid position information can be stored. This allows the corresponding shift position to be used as the shift position of the shift drum when the user performs a shift operation the next time the vehicle is started and in motion. This technical solution enables the storage of the most compatible valid position information between the software control and hardware before the vehicle enters sleep mode after power-off. This allows the vehicle to directly call the stored valid position information to set the shift position when powered on again, eliminating the need to first complete self-learning to confirm the valid shift drum position before starting the vehicle each time. This achieves a one-button start effect, saving users time and improving user experience.
[0071] This invention proposes a method for storing the position of a shift drum. The method includes the following steps: after the engine is turned off, detecting whether the vehicle controller has entered a normal sleep buffer state; when the vehicle controller has entered the sleep buffer state, acquiring the real-time position information of the shift drum; based on the real-time position information, acquiring the effective position information of the shift drum; and storing the effective position information when no self-learning request is detected from the learning module. By acquiring the corresponding effective position information based on the real-time position of the shift drum during the period between the vehicle power-off and sleep, and storing the effective position information when no self-learning correction is required, the stored effective position information can be directly called for shift control when the vehicle controller is powered on again. This achieves a one-button vehicle start effect, saving users time in starting the vehicle and reducing hardware wear during each shift, thus extending the lifespan of the shift drum.
[0072] Based on the first embodiment of the shift drum position storage method described above, a second embodiment of the shift drum position storage method of the present invention is proposed, with reference to... Figure 3 , Figure 3 This is a flowchart illustrating the second embodiment of the shift drum position storage method of the present invention.
[0073] In this embodiment, step S30 includes:
[0074] Step S31: Determine whether the real-time location information has changed;
[0075] Step S32: When it is detected that the real-time location information does not change, the acquired real-time location information is set as the valid location information.
[0076] It is easy to understand that after the vehicle controller is powered down, the real-time position of the shift drum may be anywhere within its variable travel range. Therefore, it is necessary to detect the real-time position of the shift drum within a preset time and acquire several real-time position information entries, but these entries are not effectively saved. The process continues until it is determined that the acquired real-time position information no longer changes, indicating that the real-time position corresponding to the current real-time position information has returned to the shift position where the software control and hardware best match. At this point, the acquired real-time position information is confirmed as valid and set as valid position information.
[0077] Furthermore, in this embodiment, after step S31, the method further includes:
[0078] Step S33: When it is detected that the real-time location information remains unchanged within a preset time, control the learning module to generate the self-learning request, and set the self-learning request to be received when the vehicle controller is powered on again.
[0079] It is easy to understand that the preset time refers to a pre-set reasonable time for waiting for the shift drum to stop moving. In this embodiment, if the real-time position of the shift drum keeps changing within the preset time, the corresponding real-time position information will also keep changing, making it impossible to determine which of the real-time position information is valid for matching the software control with the hardware. If the real-time position of the shift drum keeps changing, the real-time position information corresponding to the currently acquired real-time position of the shift drum cannot be used as valid position information. At this time, a control signal is sent to the learning module to generate a self-learning request, so that when the vehicle starts again, it can receive the self-learning request sent by the learning module before the vehicle is fully started and perform self-learning, so as to obtain the valid position information of the shift drum before the vehicle is fully started.
[0080] Furthermore, in this embodiment, step S10 is followed by:
[0081] Step S201: When the vehicle controller fails to enter the hibernation buffer state normally, control the learning module to generate the self-learning request, and set the self-learning request to be received when the vehicle controller is powered on again.
[0082] It's easy to understand that the vehicle controller failing to enter the sleep buffer state means that before it enters sleep mode, the connected battery has stopped supplying power, preventing the controller from storing the effective position information of the shift drum in a timely manner. In this case, a control signal is sent to the learning module to generate a self-learning request. This allows the controller to receive the self-learning request before the vehicle is fully started and perform self-learning, thus acquiring the effective shift drum position information before the vehicle is fully started. In this way, even if the vehicle controller fails to save the effective shift position after power-off, it can quickly learn and acquire the position before starting the vehicle, reducing the time required for the user to start the vehicle.
[0083] Based on the second embodiment of the shift drum position storage method described above, a third embodiment of the shift drum position storage method of the present invention is proposed, with reference to... Figure 4 , Figure 4 This is a flowchart illustrating the third embodiment of the shift drum position storage method of the present invention.
[0084] In this embodiment, after step S40, the method further includes:
[0085] Step S50: After the vehicle controller is powered on again, determine whether the step of storing the valid location information has been fully executed;
[0086] It's easy to understand that if the vehicle controller stores valid location information while in a sleep buffer state, it will enter sleep mode and wait for the next power-on. When the vehicle controller powers on again, to prevent situations like sudden power outages from causing the valid location information to fail to be stored, thus preventing the vehicle from starting and driving normally, a check will be performed to ensure the storage of valid location information was complete.
[0087] Step S61: When determining that the step of storing the valid location information has been fully executed, detect whether the self-learning request has been received;
[0088] It should be noted that in actual situations, there may be abnormal power outages, meaning that the currently stored valid location information may not be updated due to a sudden power outage. The actually detected successfully stored valid location information is the previously stored valid location information, which may not be applicable to the current vehicle travel. This can also be understood as the possibility that the stored valid location information may become invalid and self-learning may be required to reacquire valid location information.
[0089] It is easy to understand that when it is determined that the valid location information has been successfully stored, it is possible to detect whether the learning module has sent a self-learning request in order to determine whether the shift position corresponding to the currently stored valid location information can be used as the shift position corresponding to the shift operation during the current vehicle driving process.
[0090] Step S62: Upon receiving the self-learning request, acquire the learning location information and clear the stored valid location information;
[0091] In essence, if a self-learning request is received, the system relearns and acquires the shift position that best matches the hardware for the software control, setting the corresponding real-time position information as the learned position information. Simultaneously, expired valid position information is cleared from the current storage to prevent erroneous calls to valid position information later. If a self-learning request is not received, the system directly uses the currently stored valid position information, making its corresponding shift position the actual shift position for the current driving process.
[0092] Step S63: Set the learned location information as the latest valid location information and store the latest valid location information;
[0093] It is easy to understand that after clearing the original stored valid location information, the learned location information can be set as the latest valid location information and stored.
[0094] Step S64: Detect whether the latest valid location information has been successfully stored;
[0095] It is easy to understand that, in order to avoid failure to store valid information, after relearning and storing the latest valid location information, it is necessary to check whether the storage was successful.
[0096] Step S65: When the latest valid position information is successfully stored, perform gear shift control based on the latest valid control information.
[0097] It is easy to understand that after the vehicle is started, if the latest valid location information is successfully stored, gear shifting control can be performed based on the latest valid location information, so that the vehicle can shift gears more smoothly when the software control and hardware are best matched.
[0098] Furthermore, in this embodiment, after step S50, the method further includes:
[0099] Step S71: When it is determined that the step of storing the valid location information is incomplete, control the learning module to generate the self-learning request and receive the self-learning request sent by the learning module;
[0100] It's easy to understand that in real-world scenarios, there might be an abnormal power outage, preventing the learning module from generating a self-learning request and failing to detect the storage of valid location information—meaning the process of fully storing valid location information is incomplete. In such cases, when the vehicle is powered back on, the learning module can be controlled to generate a self-learning request first, and the system can receive the self-learning request sent by the learning module.
[0101] It is worth noting that this step can also be performed when the user actively controls the learning module to send a corresponding self-learning request to reacquire valid location information.
[0102] Step S72: Based on the self-learning request, obtain the learning location information and clear the stored valid location information;
[0103] In essence, if a self-learning request is received, the system performs self-learning to reacquire the shift position that best matches the software control and hardware, and sets the real-time position information corresponding to that shift position as the learned position information. Simultaneously, it clears any currently stored invalid position information to prevent erroneous calls to valid position information later.
[0104] Step S73: Set the learned location information as the latest valid location information and store the latest valid location information;
[0105] It is easy to understand that after clearing the original stored valid location information, the learned location information can be set as the latest valid location information and stored.
[0106] Step S74: Detect whether the latest valid location information has been successfully stored;
[0107] It is easy to understand that, in order to avoid failure to store valid information, after relearning and storing the latest valid location information, it is necessary to check whether the storage was successful.
[0108] Step S75: When the latest valid position information is successfully stored, shift control is performed based on the latest valid control information.
[0109] It is easy to understand that after the vehicle is started, if the latest valid location information is successfully stored, gear shifting control can be performed based on the latest valid location information, so that the vehicle can shift gears more smoothly when the software control and hardware are best matched.
[0110] Furthermore, in this embodiment, after step S64, the method further includes:
[0111] Step S81: When it is detected that the valid location information has not been successfully stored, control the learning module to regenerate the self-learning request and receive the self-learning request sent by the learning module;
[0112] It should be noted that, as a solution to the above-mentioned abnormal power-down situation of the whole vehicle, in the case where the current stored valid location information is not updated due to the sudden power-down of the vehicle controller, when it is determined that the valid location information has not been successfully stored, the learning module can be controlled to regenerate the self-learning request and receive the self-learning request sent by the learning module.
[0113] Step S82: Based on the self-learning request, reacquire the learning location information and clear the stored valid location information;
[0114] It's easy to understand that if a self-learning request is received, the system will re-learn and acquire the shift position that best matches the hardware for the software control, and set the corresponding shift position information as the learned position information. Simultaneously, it will clear any currently stored invalid position information to prevent errors when subsequently retrieving valid position information.
[0115] Step S83: Set the learned location information as the latest valid location information and store the latest valid location information;
[0116] It is easy to understand that after clearing the original stored valid location information, the learned location information can be set as the latest valid location information and stored.
[0117] Step S84: Perform gear shift control based on the latest effective control information.
[0118] It is easy to understand that after the vehicle is started, shift control can be performed based on the latest valid location information stored, so that the vehicle can shift gears more smoothly when the software control and hardware are best matched.
[0119] Furthermore, embodiments of the present invention also propose a shift drum position storage device, referring to... Figure 5 , Figure 5 This is a structural block diagram of the first embodiment of the shift drum position storage device of the present invention.
[0120] like Figure 5 As shown, the shift drum position storage device proposed in this embodiment of the invention includes:
[0121] The working status detection module 501 is used to detect whether the vehicle controller has entered the sleep buffer state normally after the engine is turned off.
[0122] The position acquisition module 502 is used to acquire the real-time position information of the shift drum when the vehicle controller normally enters the sleep buffer state;
[0123] The position acquisition module 502 is further configured to acquire the effective position information of the shift drum based on the real-time position information;
[0124] The information storage module 503 is used to store the effective location information when no self-learning request sent by the learning module is detected.
[0125] This invention provides a shift drum position storage device, comprising: a working state detection module for detecting whether the vehicle controller has entered a normal sleep buffer state after the engine is turned off; a position acquisition module for acquiring real-time position information of the shift drum when the vehicle controller has entered the sleep buffer state; the position acquisition module for acquiring valid position information of the shift drum based on the real-time position information; and an information storage module for storing the valid position information when no self-learning request is detected from the learning module. By acquiring the corresponding valid position information based on the real-time position of the shift drum during the period before the vehicle goes into sleep mode after power-off, and storing the valid position information when no self-learning correction is required, the stored valid position information can be directly called for shift control when the vehicle controller is powered on again, achieving one-button vehicle start and saving users time spent starting the vehicle.
[0126] Other embodiments or specific implementations of the shift drum position storage device of the present invention can be referred to the above-described method embodiments, and will not be repeated here.
[0127] Furthermore, this embodiment of the invention also proposes a storage medium storing a shift drum position storage program, which, when executed by a processor, implements the steps of the shift drum position storage method described above.
[0128] The above are merely preferred embodiments of the present invention and do not limit the scope of the patent. Any equivalent structural or procedural transformations made based on the description and drawings of the present invention, or direct or indirect applications in other related technical fields, are similarly included within the scope of patent protection of the present invention.
Claims
1. A method for storing the position of a shift drum, characterized in that, The method for storing the shift drum position includes: After the engine is turned off, check whether the vehicle controller has entered the sleep buffer state normally; When the vehicle controller normally enters the sleep buffer state, the real-time position information of the shift drum is obtained; Based on the real-time position information, the effective position information of the shift drum is obtained; When no self-learning request is detected from the learning module, the valid location information is stored; After the step of storing the valid location information when no self-learning request is detected from the learning module, the method further includes: After the vehicle controller is powered on again, it is determined whether the step of storing the valid location information has been completely executed; When it is determined that the valid location information has been successfully stored, it is checked whether the self-learning request has been received; When determining that the step of storing the valid location information has been fully executed, it is detected whether the self-learning request has been received; Upon receiving the self-learning request, the system acquires the learning location information and clears the stored valid location information. Set the learned location information as the latest valid location information and store the latest valid location information; Check whether the latest valid location information has been successfully stored; Upon detecting that the latest valid position information has been successfully stored, shift control is performed based on the latest valid control information.
2. The shift drum position storage method as described in claim 1, characterized in that, The step of obtaining the effective position information of the shift drum based on the real-time position information includes: Determine whether the real-time location information has changed; When the real-time location information is detected to remain unchanged, the acquired real-time location information is set as the valid location information.
3. The method for storing the position of the shift drum as described in claim 2, characterized in that, After the step of determining whether the real-time location information has changed, the method further includes: When the real-time location information is detected to remain unchanged within a preset time, the learning module is controlled to generate the self-learning request, and the self-learning request is set to be received when the vehicle controller is powered on again.
4. The method for storing the position of the shift drum as described in claim 1, characterized in that, After the step of checking whether the vehicle controller has entered the sleep buffer state normally after the engine is turned off, the method further includes: When the vehicle controller fails to enter the hibernation buffer state normally, the learning module is controlled to generate the self-learning request, and the self-learning request is set to be received when the vehicle controller is powered on again.
5. The method for storing the position of the shift drum as described in claim 1, characterized in that, After the step of determining whether the step of storing the valid location information has been fully executed after the vehicle controller is powered back on, the method further includes: When it is determined that the step of storing the valid location information is incomplete, the learning module is controlled to generate the self-learning request, and the self-learning request sent by the learning module is received. Based on the self-learning request, the learned location information is obtained, and the stored valid location information is cleared; Set the learned location information as the latest valid location information and store the latest valid location information; Check whether the latest valid location information has been successfully stored; Upon detecting that the latest valid position information has been successfully stored, shift control is performed based on the latest valid control information.
6. The method for storing the position of the shift drum as described in claim 1, characterized in that, After the step of detecting whether the latest valid location information has been successfully stored, the method further includes: When it is detected that the valid location information has not been successfully stored, the learning module is controlled to regenerate the self-learning request, and the self-learning request sent by the learning module is received. Based on the self-learning request, the learned location information is reacquired, and the stored valid location information is cleared. Set the learned location information as the latest valid location information and store the latest valid location information; Gear shifting control is performed based on the latest effective control information.
7. A shift drum position storage device, characterized in that, The shift drum position storage device includes: The working status detection module is used to detect whether the vehicle controller has entered the sleep buffer state normally after the engine is turned off. The position acquisition module is used to acquire the real-time position information of the shift drum when the vehicle controller normally enters the sleep buffer state; The position acquisition module is further configured to acquire the effective position information of the shift drum based on the real-time position information; An information storage module is used to store the effective location information when no self-learning request sent by the learning module is detected; The information storage module is further configured to: determine whether the step of storing the valid position information has been fully executed after the vehicle controller is powered on again; detect whether the self-learning request has been received when the valid position information is successfully stored; detect whether the self-learning request has been received when the step of storing the valid position information is fully executed; acquire the learned position information and clear the stored valid position information when the self-learning request is received; set the learned position information as the latest valid position information and store the latest valid position information; detect whether the latest valid position information has been successfully stored; and perform gear shift control based on the latest valid control information when the latest valid position information has been successfully stored.
8. A shift drum position storage device, characterized in that, The shift drum position storage device includes: a memory, a processor, and a shift drum position storage program stored in the memory and executable on the processor, the shift drum position storage program being configured to implement the steps of the shift drum position storage method as described in any one of claims 1 to 6.
9. A storage medium, characterized in that, The storage medium stores a shift drum position storage program, which, when executed by a processor, implements the steps of the shift drum position storage method as described in any one of claims 1 to 6.
Citation Information
Patent Citations
Gear shifting hub and self-adaptive correction method and self-inspection method thereof
CN117722493A
