Gear information storage method and device, storage medium, program product and vehicle

By self-learning of cyclic redundancy checksum gear information when the vehicle is powered on, the gear information loss caused by power feeding or abnormal power down is solved, ensuring the accuracy of gear information and improving the The safety of shifting gears.

CN119196305APending Publication Date: 2024-12-27DONGFENG MOTOR GRP
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202411270532.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-11
Publication Date
2024-12-27

AI Technical Summary

Technical Problem

When the vehicle is powered or powered off abnormally in non-P gear, the gear information stored by the TCU is lost, resulting in the TCU default current gear position in P gear, which does not match the actual gear position, which can easily lead to gear change failure or even transmission damage.

Method used

When the vehicle is powered on, check whether the gear information is normal through cyclic redundancy check. If it is inconsistent, obtain the current gear information and clear the previous verification result. When the sleep power-down command is detected, the current gear position is set. The information and verification results are stored in the transmission control unit.

Benefits of technology

It effectively avoids gear shift failure and gearbox damage caused by loss of gear information, and improves gear shift safety.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119196305A_ABST
    Figure CN119196305A_ABST
Patent Text Reader

Abstract

The invention discloses a gear information storage method and device, a storage medium, a program product and a vehicle, and relates to the technical field of vehicle control. The method comprises the steps that when the vehicle is powered on and started, cyclic redundancy check is conducted according to gear information of a gearbox control unit; if the verification result is inconsistent with the previous verification result stored by the gearbox control unit, obtaining current gear information; zero clearing is carried out on a previous verification result; and when a sleep power-off instruction is detected, storing the current gear information and a verification result of the current gear information to a gearbox control unit. When the vehicle is powered on and started each time, whether the gear information is normal or not is detected, and the previous verification result is synchronously reset; therefore, when the condition that the vehicle is fed or is abnormally powered off at the non-P gear is encountered, the situation that the gear information is not normally stored can be detected, so that the condition that gear shifting fails and even a gearbox is damaged due to mismatching of the gear information can be avoided, and the safety of gear shifting is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to a gear information storage method, device, storage medium, program product and vehicle. Background Art

[0002] The automatic transmission control unit is mainly used to realize the automatic speed control of the car. It helps the transmission decide when and how to shift gears by collecting information from various sensors and engine modules. It mainly generates a shift signal based on the current gear information and sends the shift signal to the execution end. Correspondingly, the execution end executes the shift action according to the shift strategy corresponding to the shift signal to realize the control of the transmission shift, thereby meeting the gear change requirements of the vehicle.

[0003] However, when the vehicle is powered on or powered off abnormally in a non-P gear, the gear information stored in the TCU will be lost. At this time, the TCU will default to the current gear as P gear, which does not match the actual gear, easily leading to gear shift failure or even gearbox damage. Summary of the invention

[0004] The main purpose of the present application is to provide a gear information storage method, device, storage medium, program product and vehicle, aiming to solve the technical problem that when the vehicle is powered on or powered off abnormally in a non-P gear, the gear information stored in the TCU will be lost. At this time, the TCU will default the current gear to P gear, which does not match the actual gear, easily leading to gear shift failure or even gearbox damage.

[0005] To achieve the above purpose, the present application proposes a method for storing gear information, the method comprising:

[0006] When the vehicle is powered on and started, a cyclic redundancy check is performed according to the gear information stored in the gearbox control unit of the vehicle;

[0007] If the verification result is inconsistent with the previous verification result stored in the gearbox control unit, obtaining the current gear position information of the vehicle;

[0008] Clearing the previous verification result;

[0009] When a sleep power-off instruction is detected, the current gear information and a verification result of the current gear information are stored in the gearbox control unit.

[0010] In one embodiment, the step of performing a cyclic redundancy check according to the gear information stored in the transmission control unit of the vehicle when the vehicle is powered on and started includes:

[0011] When the vehicle is powered on, check whether the transmission control unit is powered on;

[0012] If the transmission control unit is powered on, the gear information stored in the non-volatile memory is read;

[0013] The gear information is verified by a cyclic redundancy check algorithm to obtain a verification result.

[0014] In one embodiment, if the verification result is inconsistent with the previous verification result stored in the gearbox control unit, the step of obtaining the current gear information of the vehicle includes:

[0015] Reading a previous verification result stored in a non-volatile memory of the transmission control unit;

[0016] Determining whether the verification result is consistent with the previous verification result;

[0017] If they are inconsistent, the current gear information of the vehicle is obtained.

[0018] In one embodiment, if there is inconsistency, the step of obtaining the current gear information of the vehicle comprises:

[0019] If the verification result is inconsistent with the previous verification result, it is determined that the gear information stored in the transmission control unit is abnormally lost;

[0020] Based on the abnormal loss situation, triggering a gear self-learning instruction;

[0021] According to the gear self-learning instruction, the current gear information of the vehicle is obtained.

[0022] In one embodiment, when a sleep power-off instruction is detected, the step of storing the current gear information and the verification result of the current gear information in the transmission control unit includes:

[0023] When a sleep power-off instruction is detected, reading the current gear position information;

[0024] Verifying the current gear information by a cyclic redundancy algorithm to obtain a verification result;

[0025] The current gear position information and the verification result of the current gear position information are stored in the non-volatile memory of the transmission control unit.

[0026] In one embodiment, after the step of storing the current gear information and the verification result of the current gear information in the non-volatile memory of the gearbox control unit, the method further includes:

[0027] After the storage is completed, the transmission control unit is controlled to power off and enter sleep mode in response to the sleep power-off instruction.

[0028] In addition, to achieve the above-mentioned purpose, the present application also proposes a gear information storage device, the device comprising:

[0029] A cyclic check module, used for performing a cyclic redundancy check according to the gear information stored in the gearbox control unit of the vehicle when the vehicle is powered on and started;

[0030] a gear position acquisition module, configured to acquire current gear position information of the vehicle if the verification result is inconsistent with the previous verification result stored in the gearbox control unit;

[0031] A verification and clearing module, used to clear the previous verification result;

[0032] The information storage module is used to store the current gear information and the verification result of the current gear information in the gearbox control unit when a sleep power-off instruction is detected.

[0033] In addition, to achieve the above-mentioned purpose, the present application also proposes a vehicle, which executes the steps of implementing the gear information storage method as described above.

[0034] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by the processor, the steps of the gear information storage method described above are implemented.

[0035] In addition, to achieve the above-mentioned purpose, the present application also provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the steps of the gear information storage method described above are implemented.

[0036] One or more technical solutions proposed in this application have at least the following technical effects: when the vehicle is powered on and started, the application first performs a cyclic redundancy check based on the gear information stored in the transmission control unit of the vehicle; if the check result is inconsistent with the previous check result stored in the transmission control unit, the current gear information of the vehicle is obtained; then the previous check result is cleared; finally, when a sleep power-off instruction is detected, the current gear information and the check result of the current gear information are stored in the transmission control unit. Since the application detects whether the gear information stored in the transmission control unit is normal each time the vehicle is powered on and started, and simultaneously clears the previous check result; therefore, when the vehicle is powered on or powered off abnormally in a non-P gear, it will be detected that the gear information is not stored normally, thereby avoiding the situation where the gear information is lost, the gear information does not match, resulting in a gear shift failure or even gearbox damage, thereby improving the safety of the gear shift. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0038] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following is a brief introduction to the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0039] Figure 1 A flowchart of the first embodiment of the method for storing gear information of the present application is provided;

[0040] Figure 2 A flowchart of the second embodiment of the method for storing gear information of the present application is provided;

[0041] Figure 3 A schematic diagram of NVM information distribution provided in Example 2 of the present application;

[0042] Figure 4 A flow chart of the storage method provided in Example 2 of the present application;

[0043] Figure 5 This is a schematic diagram of the module structure of the gear information storage device according to an embodiment of the present application;

[0044] Figure 6 This is a schematic diagram of the device structure of the hardware operating environment involved in the gear information storage method in the embodiment of the present application.

[0045] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0046] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.

[0047] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.

[0048] The present application aims to solve the deficiencies of the above-mentioned background technology and provides a storage method that can detect whether the gear information in the TCU is normal, so as to realize the function of identifying abnormal gear position when the vehicle is powered on or powered off abnormally when it is not in P gear.

[0049] It should be noted that the execution subject of this embodiment can be an electronic device with cyclic redundancy check, check result clearing and information storage functions, such as a controller of an automatic transmission control unit, a vehicle controller, etc., or an electronic device capable of realizing the above functions, a gear information storage device that executes the gear information storage method of this application, etc., and this embodiment does not limit this. The following takes the controller of the automatic transmission control unit as an example to illustrate this embodiment and the following embodiments.

[0050] Based on this, the present application embodiment provides a method for storing gear information. Figure 1 , Figure 1 A flowchart diagram of the first embodiment of the gear information storage method of the present application is provided.

[0051] In this embodiment, the gear information storage method includes steps S10 to S40:

[0052] Step S10: When the vehicle is powered on and started, a cyclic redundancy check is performed according to the gear information stored in the gearbox control unit of the vehicle.

[0053] It should be noted that the transmission control unit (TCU) is a component in the automobile automatic transmission system. It is used to receive and process signals from various sensors, such as vehicle speed, engine speed, accelerator pedal position, etc. Based on this information and preset programs, it accurately controls the shift actuator in the transmission to achieve automatic shifting operations.

[0054] It should be noted that the gear information is a data record of a specific gear status stored in the gearbox.

[0055] When the gearbox is working and in a certain gear, the TCU will store this gear information. For example, when the vehicle is restarted, the control unit can quickly restore to the appropriate gear state based on the previously stored gear information to ensure that the vehicle can start and drive normally.

[0056] In this way, there is a technical problem proposed in this application that when the vehicle is powered on or powered off abnormally in a non-P gear, the gear information stored in the TCU will be lost. At this time, the TCU will default the current gear to the P gear, which does not match the actual gear, easily leading to gear shift failure or even gearbox damage.

[0057] It should be noted that cyclic redundancy check (CRC) is a data verification technology. A check code can be generated by performing specific calculations on the gear information. During data transmission or storage, the check code is calculated according to the same rules and compared with the received or originally stored check code. If the two are consistent, it means that there is a high probability that there is no error in the gear information during transmission or storage; if they are inconsistent, it means that there may be an error in the gear information.

[0058] The cyclic redundancy check can effectively detect whether there is a situation in which the gear information is lost due to power feeding or abnormal power failure in a non-P gear, thereby improving the safety of vehicle gear shifting.

[0059] Exemplarily, the cyclic redundancy check may include a CRC-32 check, a CRC-16 check, etc., which is not limited in this embodiment.

[0060] In one embodiment, when the vehicle is powered on and started, the controller can read the gear information stored in the transmission control unit and perform a cyclic redundancy check on it to obtain a check result.

[0061] Step S20: If the verification result is inconsistent with the previous verification result stored in the transmission control unit, the current gear information of the vehicle is obtained.

[0062] It should be noted that the previous verification result is the result obtained by performing a cyclic redundancy check on the gear information corresponding to the last time the vehicle was powered off and in sleep mode.

[0063] The previous verification result is saved in the memory of the transmission control unit for comparison when the vehicle is started again. It can help determine whether there is a power supply or abnormal power failure in a non-P gear, resulting in loss of gear information.

[0064] It should be noted that the current gear information is the specific gear that the car's transmission is currently in, such as first gear, second gear, third gear, fourth gear, fifth gear, reverse gear, etc.

[0065] In one embodiment, if the above verification result is inconsistent with the previous verification result stored in the transmission control unit, it means that the last time the vehicle was powered off and put into sleep, it was powered on in a non-P gear or was powered off abnormally, and the gear information was lost. Therefore, the current gear information of the vehicle can be self-learned at this time.

[0066] Step S30: clear the previous verification result.

[0067] It should be noted that no matter whether the above comparison results are the same or not, the controller will clear the verification result stored in the transmission control unit to 0.

[0068] The purpose of doing this is to ensure that when the transmission control unit loses power abnormally, the gear information loss can be detected during initialization, to avoid the situation where the transmission control unit stores the gear information from the previous driving cycle or even earlier, but due to accidental circumstances the verification result is correct, resulting in the current gear information being deemed normal.

[0069] Step S40: When a sleep power-off instruction is detected, the current gear information and a verification result of the current gear information are stored in the gearbox control unit.

[0070] It should be noted that the sleep power-down command is a command to put the vehicle into a low-power "sleep" state and cut off the power supply to some or all electrical systems. When the vehicle receives this command, the TCU will stop running or enter an extremely low power consumption mode to reduce power consumption.

[0071] It should be noted that the verification result of the current gear position information is a result obtained by the controller performing a cyclic redundancy check on the obtained current gear position information.

[0072] The verification result of the current gear information is stored in the transmission control unit, and its purpose is to be used for the detection of the gear information when the vehicle is started next time, that is, for the judgment of step S20. Since the verification result of the current gear information is successfully stored in the transmission control unit, the verification result of step S10 is consistent with the verification result of the current gear information when the vehicle is started next time, so the controller can quickly determine that the gear information is normal when the vehicle is started next time.

[0073] In this embodiment, when the controller detects a sleep power-off command, it can perform a cyclic redundancy check on the current gear information to obtain the verification result of the current gear information, and then store the current gear information and the verification result of the current gear information to the transmission control unit. The purpose is to detect the gear information when the vehicle is started next time.

[0074] This embodiment provides a method for storing gear information. When the vehicle is powered on, the controller can read the gear information stored in the gearbox control unit and perform a cyclic redundancy check on it to obtain the verification result. Then compare the verification result with the previous verification result stored in the gearbox control unit. If the above verification result is inconsistent with the previous verification result, it means that the last time the vehicle was powered off and dormant, it was powered on in a non-P gear or abnormally, and the gear information was lost. Therefore, the current gear information of the vehicle can be self-learned at this time. Then the previous verification result is cleared. When the dormant power-off instruction is detected, a cyclic redundancy check can be performed on the current gear information to obtain the verification result of the current gear information. Finally, the current gear information and the verification result of the current gear information are stored in the gearbox control unit. The purpose is to detect the gear information when the vehicle is started next time. Since this embodiment detects whether the gear information stored in the transmission control unit is normal each time the vehicle is powered on and started, and simultaneously clears the previous verification result, when the vehicle is powered on or powered off abnormally in a non-P gear, it will be detected that the gear information is not stored normally, thereby avoiding the loss of gear information, resulting in gear shift failure or even gearbox damage caused by gear information mismatch, thereby improving the safety of gear shifting.

[0075] Based on the first embodiment of the present application, in the second embodiment of the present application, the same or similar contents as those in the above-mentioned embodiment 1 can be referred to the above introduction, and will not be repeated in the following. Figure 2 , Figure 2 A flow chart of the second embodiment of the gear information storage method of the present application is provided.

[0076] In this example, step S10 includes steps S11 to S13:

[0077] Step S11: When the vehicle is powered on, detect whether the transmission control unit is powered on.

[0078] Step S12: If the transmission control unit is powered on, the gear information stored in the non-volatile memory is read.

[0079] It should be noted that the non-volatile memory (NVM) is a storage space in the transmission control unit for storing gear information and verification results, and can store data of corresponding byte size.

[0080] The characteristic of non-volatile memory is that the data stored in it will not be lost even in the case of power failure, and can be saved for a long time. Therefore, when the transmission control unit is powered off and in sleep mode, the gear information and verification results can still be saved.

[0081] Step S13: verifying the gear information using a cyclic redundancy check algorithm to obtain a verification result.

[0082] It should be noted that the cyclic redundancy check algorithm (CRC) is an algorithm used for error detection of stored gear information and stored check results.

[0083] The cyclic redundancy check algorithm can effectively detect whether there is a situation in which gear information is lost due to power feeding or abnormal power failure in a non-P gear, thereby improving the safety of vehicle gear shifting.

[0084] Exemplarily, the cyclic redundancy check algorithm may include a CRC-32 check, a CRC-16 check, etc., which is not limited in this embodiment.

[0085] For ease of understanding, the CRC-32 check is used as an example for explanation. Figure 3 , Figure 3 This is a schematic diagram of NVM information distribution provided in Example 2 of the present application. At this time, the NVM stores gear information 1-gear information n, as well as the previous CRC check result.

[0086] In this embodiment, after power-on, the controller will read the gear information 1-gear information n stored in the NVM. Then the read gear information 1-gear information n is subjected to a CRC-32 check to obtain a CRC check result. Thus, the cyclic redundancy check algorithm can be used to effectively detect whether there is a situation in which the gear information is lost due to power feeding or abnormal power-off in a non-P gear, thereby improving the safety of vehicle gear shifting.

[0087] In a feasible implementation manner, step S20 of this embodiment may include the steps of: reading the previous verification result stored in the non-volatile memory of the transmission control unit; determining whether the verification result is consistent with the previous verification result; if inconsistent, obtaining the current gear information of the vehicle.

[0088] It should be noted that if Figure 3 As shown, the previous check result is the previous CRC check result stored in the NVM.

[0089] In this embodiment, after obtaining the CRC check result of gear information 1-gear information n, the CRC check result can be compared with the previous CRC check result stored in NVM. If they are the same, it means that there is no gear information loss; if they are inconsistent, it means that there is gear information loss, and the current gear information can be obtained for the next check. In this way, the previous CRC check result is saved by non-volatile memory, providing support for the judgment function of gear information loss.

[0090] In another feasible implementation manner, the step of obtaining the current gear information of the vehicle if there is inconsistency described in this embodiment includes: if the verification result is inconsistent with the previous verification result, determining that the gear information stored in the transmission control unit has an abnormal loss situation; based on the abnormal loss situation, triggering a gear self-learning instruction; and obtaining the current gear information of the vehicle according to the gear self-learning instruction.

[0091] It should be noted that gear self-learning is an instruction in the automotive electronic control system that allows the transmission to automatically learn and adapt gear-related parameters.

[0092] In this embodiment, when the controller is just powered on, the software (the program software that executes the gear information storage method of this application) will read the gear information 1-gear information n stored in the NVM during the initialization process, perform a CRC-32 check of the same algorithm on the above information, and compare the check result with the CRC check result stored in the NVM. If the results are different, it is considered that the gear information has not been stored normally, the information is lost, and the gear self-learning action is triggered to learn the actual gear information of the current vehicle. If the results are the same, self-learning will not be performed. Regardless of whether the results are the same, the operation of clearing the CRC-32 check result stored in the NVM to 0 will be executed afterwards.

[0093] In another feasible implementation, step S40 of this embodiment may include the steps of: reading the current gear information when a sleep power-off instruction is detected; verifying the current gear information through a cyclic redundancy algorithm to obtain a verification result; and storing the current gear information and the verification result of the current gear information in the non-volatile memory of the transmission control unit.

[0094] In this embodiment, if the software detects a power-off command during operation, it will read the current gear information 1-gear information n and store it in the corresponding area of ​​NVM. After that, the software will perform a CRC-32 check on the gear information 1-gear information n and store the check result in the corresponding NVM area. The purpose is to detect the gear information when the vehicle is started next time.

[0095] In another feasible implementation manner, after the step of storing the current gear information and the verification result of the current gear information in the non-volatile memory of the transmission control unit described in this embodiment, it also includes: after the storage is completed, responding to the sleep power-off instruction, controlling the transmission control unit to power off and sleep.

[0096] In this embodiment, after the storage is completed, the controller will be powered off normally and enter sleep mode, so as to ensure that the current gear information and the verification result of the current gear information are stored successfully.

[0097] Through the above storage method, the TCU of this embodiment can detect whether the gear information is normal each time the power is turned on. When the vehicle is powered on or powered off abnormally when it is not in the P gear, the TCU will detect that the gear information is not stored normally and trigger gear self-learning to avoid gear shift failure or even gearbox damage caused by gear information mismatch.

[0098] For example, in order to help understand the implementation process of the gear information storage method obtained by combining the above-mentioned embodiment 1 and embodiment 2 in this embodiment, please refer to Figure 4 , Figure 4 The storage method flow chart provided in the second embodiment of the present application is as follows:

[0099] 1. After power-on, the controller will read the gear information 1-gear information n stored in the NVM.

[0100] 2. Then perform a CRC-32 check on the read gear information 1-gear information n, and compare the result with the previous check result stored in NVM.

[0101] 3. Then judge the comparison result. If the result is inconsistent, the gear self-learning action will be triggered to learn the actual gear information of the current vehicle. If the result is consistent, proceed to the next step.

[0102] 4. Clear the previous CRC-32 check result stored in NVM.

[0103] 5. The software runs normally.

[0104] 6. Determine whether a sleep power-off command is received. If not, the software continues to run. If a sleep power-off command is received, read the current gear information 1-gear information n.

[0105] 7. Perform a CRC-32 check on the current gear information 1-gear information n.

[0106] 8. Store the current gear information 1-gear information n together with the verification result into NVM.

[0107] 9. The controller will power off and go into sleep mode normally.

[0108] The following is an example to introduce the effect achieved by this solution:

[0109] When the vehicle starts, the TCU will start normally. The software will read the gear information 1-gear information n in the NVM during the initialization process, and then perform verification and comparison. If the TCU software is running for the first time, the NVM stores invalid data, and the comparison results will be inconsistent and trigger gear self-learning. After the self-learning is completed, the verification results stored in the NVM will be cleared to 0, and then the TCU will operate normally and the vehicle can shift gears normally.

[0110] When the vehicle is running normally, the TCU operates normally.

[0111] When the vehicle is powered off and wants to sleep, the TCU will read the current gear information 1-gear information n and verify it after receiving the sleep command, and then store the gear information and the verification result in NVM, and finally the TCU will sleep normally.

[0112] The above is a normal driving cycle. When the vehicle is started again, the TCU will read the gear information in the NVM during initialization and check and compare. It will be found that the comparison results are consistent, and there is no need to perform gear self-learning. The vehicle can directly change gears and drive, and re-store it when it is dormant, and repeat this cycle.

[0113] When the vehicle is powered off or powered on abnormally during normal driving, the TCU is powered off directly without going through the process of power-off hibernation to store the gear information. At this time, the gear information of the last normal driving cycle will be stored in the NVM, and the stored verification result will be cleared to 0 when the software is initialized. Therefore, when the TCU is powered on again, it will be considered that the gear information is lost due to inconsistent verification results and trigger gear self-learning. After that, the software will cycle normally. In this way, the problem of gear shift failure or even gearbox damage caused by forced gear shifting due to mismatch between the gear information and the actual gear of the vehicle can be avoided.

[0114] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the gear information storage method of the present application. More simple transformations based on this technical concept are all within the protection scope of the present application.

[0115] This application also provides a gear information storage device, please refer to Figure 5 , Figure 5 This is a schematic diagram of the module structure of the gear information storage device according to an embodiment of the present application; the gear information storage device comprises:

[0116] A cyclic check module 501, used for performing a cyclic redundancy check according to the gear information stored in the gearbox control unit of the vehicle when the vehicle is powered on and started;

[0117] The gear position acquisition module 502 is used to acquire the current gear position information of the vehicle if the verification result is inconsistent with the previous verification result stored in the gearbox control unit;

[0118] A verification and clearing module 503 is used to clear the previous verification result;

[0119] The information storage module 504 is used to store the current gear information and the verification result of the current gear information to the gearbox control unit when a sleep power-off instruction is detected.

[0120] In this embodiment, the cyclic verification module 501 is also used to detect whether the transmission control unit is powered on when the vehicle is powered on; if the transmission control unit is powered on, the gear information stored in the non-volatile memory is read; the gear information is verified by a cyclic redundancy check algorithm to obtain a verification result.

[0121] Furthermore, the gear acquisition module 502 is also used to read the previous verification result stored in the non-volatile memory of the transmission control unit; determine whether the verification result is consistent with the previous verification result; if inconsistent, obtain the current gear information of the vehicle.

[0122] Furthermore, the gear acquisition module 502 is also used to determine that the gear information stored in the transmission control unit is abnormally lost if the verification result is inconsistent with the previous verification result; based on the abnormal loss, trigger a gear self-learning instruction; and obtain the current gear information of the vehicle according to the gear self-learning instruction.

[0123] Furthermore, the information storage module 504 is also used to read the current gear information when a sleep power-off command is detected; verify the current gear information through a cyclic redundancy algorithm to obtain a verification result; and store the current gear information and the verification result of the current gear information in the non-volatile memory of the transmission control unit.

[0124] Furthermore, the gear information storage device further includes a power-off sleep module 505 for controlling the transmission control unit to power off and sleep in response to the sleep power-off instruction after the storage is completed.

[0125] Other embodiments or specific implementations of the gear information storage device of the present application can refer to the above-mentioned method embodiments, which will not be repeated here.

[0126] The gear information storage device provided by the present application adopts the gear information storage method in the above embodiment, which can solve the technical problem that when the vehicle is powered on or powered off abnormally in a non-P gear, the gear information stored in the TCU will be lost. At this time, the TCU will default the current gear to the P gear, which does not match the actual gear, and easily lead to gear shift failure or even gearbox damage. Compared with the prior art, the beneficial effects of the gear information storage device provided by the present application are the same as the beneficial effects of the gear information storage method provided by the above embodiment, and the other technical features of the gear information storage device are the same as the features disclosed in the above embodiment method, which will not be repeated here.

[0127] The present application provides a vehicle, wherein the vehicle implements the steps of the gear information storage method described above through a gear information storage device. The gear information storage device includes: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the gear information storage method described in the first embodiment.

[0128] Reference below Figure 6 , Figure 6 The device structure diagram of the hardware operating environment involved in the gear information storage method in the embodiment of the present application shows a schematic diagram of the structure of the gear information storage device suitable for implementing the embodiment of the present application. The gear information storage device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 6 The gear information storage device shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.

[0129] like Figure 6As shown, the gear information storage device may include a processing device 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM: Read Only Memory) 1002 or a program loaded from a storage device 1003 to a random access memory (RAM: Random Access Memory) 1004. In RAM1004, various programs and data required for the operation of the gear information storage device are also stored. The processing device 1001, ROM1002, and RAM1004 are connected to each other through a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus. Generally, the following systems can be connected to the I / O interface 1006: an input device 1007 including, for example, a touch screen, a touchpad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; an output device 1008 including, for example, a liquid crystal display (LCD: Liquid Crystal Display), a speaker, a vibrator, etc.; a storage device 1003 including, for example, a magnetic tape, a hard disk, etc.; and a communication device 1009. The communication device 1009 can allow the gear information storage device to communicate with other devices wirelessly or by wire to exchange data. Although the figure shows a gear information storage device with various systems, it should be understood that it is not required to implement or have all the systems shown. More or fewer systems can be implemented or provided instead.

[0130] In particular, according to the embodiments disclosed in the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device, or installed from a storage device 1003, or installed from a ROM 1002. When the computer program is executed by the processing device 1001, the above-mentioned functions defined in the method of the embodiment disclosed in the present application are executed.

[0131] The gear information storage device provided by the present application adopts the gear information storage method in the above embodiment, which can solve the technical problem that when the vehicle is powered on or powered off abnormally in a non-P gear, the gear information stored in the TCU will be lost. At this time, the TCU will default to the current gear as the P gear, which does not match the actual gear, and easily leads to gear shift failure or even gearbox damage. Compared with the prior art, the beneficial effects of the gear information storage device provided by the present application are the same as the beneficial effects of the gear information storage method provided by the above embodiment, and the other technical features of the gear information storage device are the same as the features disclosed in the method of the previous embodiment, which will not be repeated here.

[0132] It should be understood that the various parts disclosed in this application can be implemented by hardware, software, firmware or a combination thereof. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.

[0133] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

[0134] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the gear information storage method in the above-mentioned embodiment.

[0135] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.

[0136] The computer-readable storage medium may be included in the gear information storage device; or may exist independently without being assembled into the gear information storage device.

[0137] The computer-readable storage medium carries one or more programs. When the one or more programs are executed by the gear information storage device, the gear information storage device: when the vehicle is powered on, performs a cyclic redundancy check according to the gear information stored in the transmission control unit of the vehicle; if the check result is inconsistent with the previous check result stored in the transmission control unit, obtains the current gear information of the vehicle; clears the previous check result; and when a sleep power-off command is detected, stores the current gear information and the check result of the current gear information in the transmission control unit.

[0138] Computer program code for performing the operations of the present application may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, C++, and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0139] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0140] The modules involved in the embodiments described in the present application may be implemented by software or hardware, wherein the name of the module does not constitute a limitation on the unit itself in some cases.

[0141] The readable storage medium provided by the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned gear information storage method, and can solve the technical problem that when the vehicle is powered on or powered off abnormally in a non-P gear, the gear information stored in the TCU will be lost. At this time, the TCU will default to the current gear as the P gear, which does not match the actual gear, and easily leads to gear shift failure or even gearbox damage. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided by the present application are the same as the beneficial effects of the gear information storage method provided in the above-mentioned embodiment, and will not be repeated here.

[0142] The present application also provides a computer program product, including a computer program, which implements the steps of the gear information storage method as described above when executed by a processor.

[0143] The computer program product provided by the present application can solve the technical problem that when the vehicle is powered on or powered off abnormally in a non-P gear, the gear information stored in the TCU will be lost. At this time, the TCU will default to the current gear as the P gear, which does not match the actual gear, and easily leads to gear shift failure or even gearbox damage. Compared with the prior art, the beneficial effects of the computer program product provided by the present application are the same as the beneficial effects of the gear information storage method provided in the above embodiment, which will not be repeated here.

[0144] The above descriptions are only some embodiments of the present application, and are not intended to limit the patent scope of the present application. All equivalent structural changes made using the contents of the present application specification and drawings under the technical concept of the present application, or direct / indirect applications in other related technical fields are included in the patent protection scope of the present application.

Claims

1. A method for storing gear information, characterized in that: The method includes: When the vehicle is powered on and started, a cyclic redundancy check is performed according to the gear information stored in the gearbox control unit of the vehicle; If the verification result is inconsistent with the previous verification result stored in the gearbox control unit, obtaining the current gear position information of the vehicle; Clearing the previous verification result; When a sleep power-off instruction is detected, the current gear information and a verification result of the current gear information are stored in the gearbox control unit.

2. The method according to claim 1, characterized in that The step of performing a cyclic redundancy check according to the gear information stored in the gearbox control unit of the vehicle when the vehicle is powered on and started includes: When the vehicle is powered on, check whether the transmission control unit is powered on; If the transmission control unit is powered on, the gear information stored in the non-volatile memory is read; The gear information is verified by a cyclic redundancy check algorithm to obtain a verification result.

3. The method according to claim 1, characterized in that If the verification result is inconsistent with the previous verification result stored in the transmission control unit, the step of obtaining the current gear information of the vehicle comprises: Reading the previous verification result stored in the non-volatile memory of the transmission control unit; Determining whether the verification result is consistent with the previous verification result; If they are inconsistent, the current gear information of the vehicle is obtained.

4. The method according to claim 3, characterized in that If the information is inconsistent, the step of obtaining the current gear position information of the vehicle comprises: If the verification result is inconsistent with the previous verification result, it is determined that the gear information stored in the transmission control unit is abnormally lost; Based on the abnormal loss situation, triggering a gear self-learning instruction; According to the gear self-learning instruction, the current gear information of the vehicle is obtained.

5. The method according to any one of claims 1 to 4, characterized in that The step of storing the current gear information and the verification result of the current gear information in the transmission control unit when a sleep power-off instruction is detected includes: When a sleep power-off instruction is detected, reading the current gear position information; Verifying the current gear information by a cyclic redundancy algorithm to obtain a verification result; The current gear position information and the verification result of the current gear position information are stored in the non-volatile memory of the transmission control unit.

6. The method according to claim 5, characterized in that After the step of storing the current gear information and the verification result of the current gear information in the non-volatile memory of the gearbox control unit, the method further includes: After the storage is completed, the transmission control unit is controlled to power off and enter sleep mode in response to the sleep power-off instruction.

7. A gear information storage device, characterized in that: The device comprises: A cyclic check module, used for performing a cyclic redundancy check according to the gear information stored in the gearbox control unit of the vehicle when the vehicle is powered on and started; a gear position acquisition module, configured to acquire current gear position information of the vehicle if the verification result is inconsistent with the previous verification result stored in the gearbox control unit; A verification and clearing module, used to clear the previous verification result; The information storage module is used to store the current gear information and the verification result of the current gear information in the gearbox control unit when a sleep power-off instruction is detected.

8. A vehicle, characterized in that: The vehicle executes the steps of implementing the gear position information storage method according to any one of claims 1 to 6.

9. A storage medium, characterized in that: The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the gear information storage method according to any one of claims 1 to 6 are implemented.

10. A computer program product, characterized in that The computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the gear information storage method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Gear control method and device after starting of vehicle controller and electronic equipment

    CN119594180A