Gearbox gear position recognition method, device, equipment, storage medium and program product
By acquiring the current transmission type and gear ratio calculation enable information of vehicles with manual transmissions, the current gear is identified and displayed on the instrument panel, solving the problem that manual transmission vehicles cannot transmit gear information, thus improving driving efficiency and safety.
Patent Information
- Application Number
- CN202510024446.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-07
- Publication Date
- 2025-11-18
- Estimated Expiration
- 2045-01-07
AI Technical Summary
In the existing technology, vehicles equipped with manual transmissions cannot directly transmit the current gear information to the instrument panel through the transmission control unit, which makes it impossible for the driver to obtain accurate gear information, affecting driving efficiency and safety.
By acquiring the vehicle's current transmission type and gear ratio calculation enable information, the current gear ratio is calculated, and the current gear is identified under the current transmission type, providing the driver with accurate gear information.
It improves drivers' understanding of vehicle operating status, helps drivers make appropriate driving decisions, enhances driving experience and vehicle safety, avoids mechanical damage caused by misoperation, and optimizes engine efficiency and fuel economy.
Smart Images

Figure CN119844556B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of vehicle detection technology, and in particular to a method, device, equipment, storage medium, and program product for identifying gearbox gear positions. Background Technology
[0002] In ensuring safe driving, accurate gear information can help drivers better understand the vehicle's operating status, thereby making appropriate driving decisions and reducing safety hazards caused by improper gear shifting.
[0003] In the prior art, vehicles equipped with automatic mechanical transmissions (AMT) typically send the current gear information to the vehicle's instrument panel for display via the transmission control unit (TCU).
[0004] However, for vehicles equipped with a manual transmission (MT), due to the lack of a TCU, it is impossible to directly transmit the current gear information to the instrument panel via the TCU. Summary of the Invention
[0005] This application provides a method, apparatus, device, storage medium, and program product for identifying gearbox gear positions. It is used to obtain the gear ratio calculation enable information at the current moment, and calculate the gear ratio at the current moment when the information indicates that the gear ratio can be calculated, thereby identifying the current gear under the current gearbox type. It can perform gear position detection on vehicles equipped with manual gearboxes, thereby improving driving efficiency and safety.
[0006] In a first aspect, this application provides a method for identifying gearbox gear positions, the method comprising:
[0007] Retrieve the vehicle's current transmission type from the vehicle's target memory;
[0008] When the current transmission type is active, the gear ratio calculation enable information is retrieved from the target memory. The gear ratio calculation enable information is generated in real time based on the current transmission output shaft speed, the current neutral signal, and the current clutch signal. When the transmission output shaft speed is greater than 0, the neutral signal indicates that the gear is not in neutral, and the clutch signal indicates that the clutch is not engaged, the gear ratio calculation enable information indicates that the gear ratio can be calculated.
[0009] When the gear ratio calculation enabling information indicates that the gear ratio is calculable, a first gear ratio is calculated according to the engine speed at the current moment and the transmission output shaft speed at the current moment, and the first gear ratio is matched with first gear ratio information of the current transmission type to obtain a current gear, the first gear ratio information being stored in a target memory, and the first gear ratio information including gear ratios of at least one gear corresponding to the current transmission type.
[0010] In a possible design, matching the first gear ratio with the first gear ratio information of the current transmission type to obtain the current gear includes:
[0011] For each gear ratio, a difference between the first gear ratio and the gear ratio is calculated, and a ratio of the difference to the corresponding gear ratio is calculated as a first difference degree of the first gear ratio and the gear ratio.
[0012] The gear corresponding to the gear ratio with the smallest first difference degree and smaller than or equal to a preset difference threshold is taken as the current gear.
[0013] In a possible design, before matching the first gear ratio with the first gear ratio information of the current transmission type to obtain the current gear, the method further includes:
[0014] When the gear ratio calculation enabling information indicates that the gear ratio is not calculable, and the neutral signal indicates that the gear is not in neutral, a gear ratio calculated last time is taken as the first gear ratio.
[0015] When the gear ratio calculation enabling information indicates that the gear ratio is not calculable, and the neutral signal indicates that the gear is in neutral, a default gear ratio is taken as the first gear ratio.
[0016] In a possible design, before obtaining the current transmission type of the vehicle from the target memory of the vehicle, the method further includes:
[0017] A second gear ratio of the vehicle is calculated, and the current transmission type is determined from preset second gear ratio information according to the second gear ratio, the second gear ratio information including gear ratios of a plurality of gears of at least one transmission type.
[0018] Gear ratios corresponding to the current transmission type are extracted from the second gear ratio information to obtain first gear ratio information.
[0019] The current transmission type and the first gear ratio information are stored in the target memory.
[0020] In a possible design, the second gear ratio of the vehicle is calculated, and the current transmission type is determined from the preset second gear ratio information according to the second gear ratio, including:
[0021] The i-th type determination process is performed, which includes:
[0022] Retrieve the speed ratio calculation enable information at the current moment from the target memory;
[0023] When the gear ratio calculation enable information indicates that the gear ratio can be calculated, calculate the gear ratio of the i-th second gear.
[0024] The gearbox type for the i-th time is determined from the second gear ratio information based on the i-th second gear ratio.
[0025] When the i-th transmission type includes at least two transmission types, the (i+1)-th type determination process is performed;
[0026] When the i-th gearbox type includes a gearbox type, the i-th gearbox type is taken as the current gearbox type, where i is an integer greater than or equal to 1.
[0027] In one possible design, calculating the speed ratio of the i-th second gear includes:
[0028] Calculate the gear ratio of the i-th second gear after the vehicle starts or after the vehicle shifts gears;
[0029] The gearbox type for the i-th gear is determined from the second gear ratio information based on the i-th second gear ratio, including:
[0030] Determine the second degree of difference between the i-th second gear ratio and the j-th second gear ratio, where j is an integer less than i and greater than or equal to 1. The second degree of difference is the ratio of the current difference to the i-th second gear ratio, and the current difference is the difference between the i-th second gear ratio and the j-th second gear ratio.
[0031] When multiple second difference levels are greater than or equal to the preset difference level, the i-th gearbox type is determined from the second gear ratio information based on the i-th second gear ratio.
[0032] Secondly, this application provides a gearbox gear position recognition device, the device comprising:
[0033] The acquisition module is used to obtain the current transmission type of the vehicle from the vehicle's target memory;
[0034] The generation module is used to obtain the gear ratio calculation enable information at the current moment from the target memory when the current gearbox type is an effective type. The gear ratio calculation enable information is generated in real time based on the current gearbox output shaft speed, the current neutral signal, and the current clutch signal. When the gearbox output shaft speed is greater than 0, the neutral signal indicates that it is not in neutral, and the clutch signal indicates that the clutch is not engaged, the gear ratio calculation enable information indicates that the gear ratio can be calculated.
[0035] The calculation module is used to calculate the first gear ratio based on the current engine speed and the current transmission output shaft speed when the gear ratio calculation enable information indicates that the gear ratio can be calculated, and to match the first gear ratio with the first gear ratio information of the current transmission type to obtain the current gear. The first gear ratio information is stored in the target memory and includes the gear ratio of at least one gear corresponding to the current transmission type.
[0036] In one possible design, the calculation module includes: a difference calculation module and a comparison module;
[0037] The difference calculation module is used to calculate the difference between the first gear ratio and the gear ratio for each gear, and to calculate the ratio of the difference to the corresponding gear ratio as the first degree of difference between the first gear ratio and the gear ratio.
[0038] The comparison module is used to select the gear corresponding to the gear ratio with the smallest first difference degree that is less than or equal to a preset difference threshold as the current gear.
[0039] In one possible design, the device further includes: a first replacement module and a second replacement module;
[0040] The first replacement module is used to take the previously calculated gear ratio as the first gear ratio when the gear ratio calculation enable information indicates that the gear ratio cannot be calculated and the neutral signal indicates that it is not in neutral.
[0041] The second replacement module is used to use the default gear ratio as the first gear ratio when the gear ratio calculation enable information indicates that the gear ratio cannot be calculated and the neutral signal indicates that the gear is in neutral.
[0042] In one possible design, the device further includes: a type determination module, an extraction module, and a storage module;
[0043] The type determination module is used to calculate the second gear ratio of the vehicle and determine the current transmission type from the preset second gear ratio information based on the second gear ratio. The second gear ratio information includes the gear ratios of multiple gears of at least one transmission type.
[0044] The extraction module is used to extract the gear ratio corresponding to the current gearbox type from the second gear ratio information to obtain the first gear ratio information;
[0045] The storage module is used to store the current gearbox type and first gear ratio information into the target memory.
[0046] In one possible design, the type determination module includes: an execution module;
[0047] The execution module is used to perform the i-th type determination process;
[0048] The execution module includes: an enable information acquisition module, a second gear ratio calculation module, a gearbox determination module, a continue execution module, and a final determination module;
[0049] The enable information acquisition module is used to acquire the speed ratio calculation enable information at the current moment from the target memory;
[0050] The second gear ratio calculation module is used to calculate the i-th second gear ratio when the gear ratio calculation enable information indicates that the gear ratio can be calculated;
[0051] The gearbox determination module is used to determine the gearbox type for the i-th time from the second gear ratio information based on the i-th second gear ratio.
[0052] Continue execution module, used to execute the (i+1)th type determination process when the i-th gearbox type includes at least two gearbox types;
[0053] The final determination module is used to determine the i-th gearbox type as the current gearbox type when the i-th gearbox type includes a gearbox type, where i is an integer greater than or equal to 1.
[0054] In one possible design, the second gear ratio calculation module is also used to calculate the i-th second gear ratio after the vehicle starts or after the vehicle shifts gears.
[0055] The gearbox determination module includes: a second difference degree determination module and a comparison determination module;
[0056] The second difference degree determination module is used to determine the second difference degree between the i-th second gear ratio and the j-th second gear ratio, where j is an integer less than i and greater than or equal to 1. The second difference degree is the ratio of the current difference to the i-th second gear ratio, and the current difference is the difference between the i-th second gear ratio and the j-th second gear ratio.
[0057] The comparison and determination module is used to determine the gearbox type i-th time from the second gear ratio information based on the i-th second gear ratio when multiple second difference levels are greater than or equal to a preset difference level.
[0058] Thirdly, this application provides an electronic device, including: a processor, and a memory communicatively connected to the processor;
[0059] The memory stores the instructions that the computer executes;
[0060] The processor executes computer execution instructions stored in memory to implement a gearbox gear position recognition method according to the first aspect of the invention.
[0061] Fourthly, this application provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement a gearbox gear position recognition method according to the first aspect of the invention.
[0062] Fifthly, this application provides a computer program product, including a computer program, which, when executed by a processor, is used to implement a gearbox gear position recognition method according to the first aspect of the invention.
[0063] This application provides a method, apparatus, device, storage medium, and program product for identifying gearbox gear positions. The method includes: first, obtaining the current gearbox type of the vehicle from a target memory of the vehicle; then, when the current gearbox type is a valid type, obtaining the gear ratio calculation enable information at the current moment from the target memory. The gear ratio calculation enable information is generated in real time based on the current gearbox output shaft speed, the current neutral signal, and the current clutch signal. When the gearbox output shaft speed is greater than 0, the neutral signal indicates non-neutral, and the clutch signal indicates that the clutch is not engaged, the gear ratio calculation enable information indicates that the gear ratio can be calculated; then, when the gear ratio calculation enable information indicates that the gear ratio can be calculated, calculating the first gear ratio based on the current engine speed and the current gearbox output shaft speed, and matching the first gear ratio with the first gear ratio information of the current gearbox type to obtain the current gear. The first gear ratio information is stored in the target memory and includes the gear ratio of at least one gear corresponding to the current gearbox type. The following technical effects are achieved: By acquiring the vehicle's current transmission type and the current gear ratio calculation enable information, and when the gear ratio calculation enable information indicates that the gear ratio can be calculated, the first gear ratio is calculated. The gear corresponding to the gear ratio with the highest matching degree among the first gear ratio information is then selected as the current gear and displayed on the vehicle's instrument panel. This provides the driver with specific gear information, allowing them to clearly understand the vehicle's current operating status. This helps the driver adjust their driving style according to road conditions and driving needs, shifting gears at appropriate times, such as selecting the appropriate gear when acceleration or deceleration is required. Drivers can also select the most fuel-efficient driving mode based on the gear information displayed on the instrument panel, thereby optimizing engine efficiency and vehicle acceleration performance, and improving fuel economy and driving stability. By allowing the driver to know the current specific gear, it also helps prevent mechanical damage caused by misoperation. For example, it prevents the transmission from accidentally engaging a low gear at high speeds, thus avoiding excessive engine speed and enhancing user experience and vehicle protection. Attached Figure Description
[0064] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0065] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.
[0066] Figure 1 A flowchart illustrating a gearbox gear position recognition method provided in this application embodiment. Figure 1 ;
[0067] Figure 2 A flowchart illustrating a gearbox gear position recognition method provided in this application embodiment. Figure 2 ;
[0068] Figure 3 A flowchart illustrating a method for determining a gearbox type provided in an embodiment of this application;
[0069] Figure 4 This is a schematic diagram of the structure of a gearbox gear position recognition device provided in an embodiment of this application;
[0070] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.
[0071] Figure label:
[0072] 410 - Acquisition Module; 420 - Generation Module; 430 - Calculation Module;
[0073] 510 - Processor; 520 - Memory; 530 - Communication components; 540 - Bus. Detailed Implementation
[0074] Exemplary embodiments will now be described in detail, examples of which are illustrated in the accompanying drawings. When the following description relates to the drawings, unless otherwise indicated, the same numbers in different drawings denote the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0075] In the embodiments of this application, the terms "first" and "second" are used to distinguish identical or similar items with substantially the same function and effect. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that "first" and "second" do not necessarily imply difference. It should be noted that in the embodiments of this application, the words "exemplary" or "for example" are used to indicate that something is being used as an example, illustration, or description. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being better or more advantageous than other embodiments or design schemes. Specifically, the use of "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner. In the embodiments of this application, "at least one" refers to one or more, and "more than one" refers to two or more.
[0076] It should be noted that the phrase "at...time" in the embodiments of this application can refer to the instant at which a certain situation occurs, or to a period of time after the occurrence of a certain situation; the embodiments of this application do not specifically limit this. Furthermore, the gearbox gear position recognition method provided in the embodiments of this application is merely an example; a gearbox gear position recognition method may include more or fewer elements.
[0077] Accurate gear position information is crucial for drivers to understand the vehicle's current operating status. It helps drivers make appropriate driving decisions and reduces potential safety hazards caused by improper gear shifting, thereby ensuring safe driving.
[0078] In existing technologies, vehicles equipped with AMT typically rely on TCU to monitor and send the current gear information to the instrument panel display in real time to provide immediate feedback to the driver.
[0079] However, vehicles equipped with manual transmissions, whose design does not include a TCU (Transmission Control Unit), cannot directly transmit the current gear information to the instrument panel for display via the TCU. This limits the driver's ability to obtain the current gear information, affecting driving efficiency and safety.
[0080] Based on this, this application proposes a transmission gear position recognition method, device, equipment, storage medium, and program product, which can be used in the field of vehicle detection technology and aims to solve the above-mentioned technical problems of the prior art. By introducing a gear ratio calculation enabling mechanism, under the premise that the gear ratio is calculable, the current gear ratio is calculated, and based on the current transmission type, the current gear of the manual transmission is accurately determined based on the current gear ratio. This method compensates for the lack of gear position information caused by the absence of a TCU in manual transmissions, provides drivers with necessary gear position information, and enhances the driving experience and vehicle safety.
[0081] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be described again in some embodiments. The embodiments of this application will now be described with reference to the accompanying drawings.
[0082] Figure 1 A flowchart illustrating a gearbox gear position recognition method provided in this application embodiment. Figure 1 .like Figure 1 As shown, the method includes:
[0083] S101. Obtain the current transmission type of the vehicle from the vehicle's target memory.
[0084] In this embodiment of the application, the executing entity of a gearbox gear position recognition method can be an electronic control unit (ECU) in a vehicle. The ECU can be a controller specifically designed for the gearbox gear position recognition method, or it can be an existing power domain controller (PDC) or powertrain control module (PCM) in the vehicle, etc. There are no specific limitations here.
[0085] Specifically, the target memory can be an electrically erasable programmable read-only memory (EEPROM) in the power domain controller, or other types of memory; no specific restrictions are imposed here. The target memory pre-stores the vehicle's current transmission type, which the controller can directly read from it. If the transmission type stored in the target memory is the initialized type (typically, the default value for the initialized transmission type is 255), it indicates that the current transmission type is unknown, i.e., an invalid type. Therefore, the vehicle's current gear cannot be further determined, and the current gear in the Electronic Transmission Controller Message 2 (ETC2) sent by the controller to the instrument panel is invalid. The instrument panel does not display the specific gear; it only displays the basic gear status based on other signals (such as neutral and reverse signals), such as Drive (D), Neutral (N), or Reverse (R).
[0086] S102. When the current gearbox type is an active type, retrieve the speed ratio calculation enable information at the current moment from the target memory.
[0087] In this embodiment, the gear ratio calculation enable information is generated in real time based on the current gearbox output shaft speed, the current neutral signal, and the current clutch signal. When the gearbox output shaft speed is greater than 0, the neutral signal indicates that the gear is not in neutral, and the clutch signal indicates that the clutch is not engaged, the gear ratio calculation enable information indicates that the gear ratio can be calculated (i.e., the enable signal is 1). Otherwise, the gear ratio calculation enable information indicates that the gear ratio cannot be calculated (i.e., the enable signal is 0).
[0088] Specifically, when the current transmission type is determined (i.e., when the current transmission type is a valid type), the controller can determine the specific type of the current transmission and further retrieve the gear ratio calculation enable information at the current moment from the target memory. The gear ratio calculation enable information includes the current transmission output shaft speed, the current neutral signal, and the current clutch signal.
[0089] S103. When the gear ratio calculation enable information indicates that the gear ratio can be calculated, calculate the first gear ratio based on the current engine speed and the current gearbox output shaft speed, and match the first gear ratio with the first gear ratio information of the current gearbox type to obtain the current gear.
[0090] In this embodiment of the application, the first gear ratio information is stored in the target memory, and the first gear ratio information includes the gear ratio of at least one gear corresponding to the current gearbox type.
[0091] Specifically, when the transmission output shaft speed is greater than 0, the neutral signal is 0 (indicating non-neutral), the clutch signal is 0 (indicating the driver has not depressed the clutch), and the enable signal is 1 (meaning the gear ratio calculation enable information indicates the gear ratio can be calculated), the controller can calculate the first gear ratio based on the current engine speed and the current transmission output shaft speed in the Electronic Engine Controller Message 1 (EEC1) sent by the engine control unit. Specifically, the first gear ratio equals the engine speed divided by the current transmission output shaft speed.
[0092] In addition, the target memory also stores first gear ratio information, which indicates the gear ratios corresponding to each gear in the current transmission type. The controller can match the calculated first gear ratio with the first gear ratio information for the current transmission type, and select the gear corresponding to the gear ratio with the highest matching degree from the first gear ratio information as the current gear. This current gear can then be sent to the vehicle's instrument panel for display, providing the driver with the specific gear position and enhancing the driving experience and vehicle safety. The highest matching degree refers to the first gear ratio value being closest to the gear ratio value in the first gear ratio information.
[0093] This embodiment provides a gearbox gear position recognition method, which includes: first, obtaining the current gearbox type of the vehicle from the vehicle's target memory; then, when the current gearbox type is a valid type, obtaining the gear ratio calculation enable information at the current moment from the target memory. The gear ratio calculation enable information is generated in real time based on the current gearbox output shaft speed, the current neutral signal, and the current clutch signal. When the gearbox output shaft speed is greater than 0, the neutral signal indicates non-neutral, and the clutch signal indicates that the clutch is not engaged, the gear ratio calculation enable information indicates that the gear ratio can be calculated; then, when the gear ratio calculation enable information indicates that the gear ratio can be calculated, calculating the first gear ratio based on the current engine speed and the current gearbox output shaft speed, and matching the first gear ratio with the first gear ratio information of the current gearbox type to obtain the current gear. The first gear ratio information is stored in the target memory, and the first gear ratio information includes the gear ratio of at least one gear corresponding to the current gearbox type.
[0094] The following technical effects are achieved: By acquiring the vehicle's current transmission type and the current gear ratio calculation enable information, and when the gear ratio calculation enable information indicates that the gear ratio can be calculated, the first gear ratio is calculated. The gear corresponding to the gear ratio with the highest matching degree among the first gear ratio information is then selected as the current gear and displayed on the vehicle's instrument panel. This provides the driver with specific gear information, allowing them to clearly understand the vehicle's current operating status. This helps the driver adjust their driving style according to road conditions and driving needs, shifting gears at appropriate times, such as selecting the appropriate gear when acceleration or deceleration is required. Drivers can also select the most fuel-efficient driving mode based on the gear information displayed on the instrument panel, thereby optimizing engine efficiency and vehicle acceleration performance, and improving fuel economy and driving stability. By allowing the driver to know the current specific gear, it also helps prevent mechanical damage caused by misoperation. For example, it prevents the transmission from accidentally engaging a low gear at high speeds, thus avoiding excessive engine speed and enhancing user experience and vehicle protection.
[0095] Figure 2 A flowchart illustrating a gearbox gear position recognition method provided in this application embodiment. Figure 2 In one possible example, such as Figure 1 As shown, in this embodiment... Figure 2 Based on the embodiments, the method for determining the first gear ratio and the current gear is described in detail. For example... Figure 3 As shown, the method includes:
[0096] S201. When the gear ratio calculation enable information indicates that the gear ratio cannot be calculated and the neutral signal indicates that it is not in neutral, the previously calculated gear ratio shall be used as the first gear ratio.
[0097] Specifically, when the enable signal is 0, meaning the gear ratio calculation enable information indicates that the gear ratio cannot be calculated, the first gear ratio cannot be calculated based on the current engine speed and the current transmission output shaft speed. In this case, the controller can determine the first gear ratio based on the neutral signal. Specifically, when the neutral signal is 0, meaning the neutral signal indicates not being in neutral, the controller can use the previously calculated gear ratio as the first gear ratio.
[0098] S202. When the speed ratio calculation enable information indicates that the speed ratio cannot be calculated and the neutral signal indicates neutral, the default gear speed ratio shall be used as the first gear speed ratio.
[0099] Specifically, when the enable signal is 0, meaning the gear ratio calculation enable information indicates that the gear ratio cannot be calculated, and the neutral signal is 1, meaning the neutral signal indicates that the vehicle is in neutral, the controller can use the preset default gear ratio (such as 20) as the first gear ratio.
[0100] S203. For each gear ratio, calculate the difference between the first gear ratio and the gear ratio, and calculate the ratio of the difference to the corresponding gear ratio as the first degree of difference between the first gear ratio and the gear ratio.
[0101] Specifically, after determining the first gear ratio, the controller can determine the degree of difference between the first gear ratio and each gear ratio by calculating the difference between the first gear ratio and each gear ratio for each gear of the current gearbox type.
[0102] Furthermore, the controller can further calculate the ratio of the difference to the corresponding gear ratio to determine the first degree of difference between the first gear ratio and each gear ratio.
[0103] S204. The gear corresponding to the gear ratio with the smallest first difference degree and less than or equal to the preset difference threshold is taken as the current gear.
[0104] Specifically, the preset difference threshold can be a value such as 4% or 3%, which can be set according to different transmission types. There are no specific restrictions here.
[0105] This application provides a method for identifying a gearbox gear position. By using the previously calculated gear ratio as the first gear ratio, or by using the default gear ratio as the first gear ratio, it provides a method for determining the first gear ratio when the gear ratio calculation enable information indicates that the gear ratio cannot be calculated. By calculating the first gear ratio and the first degree of difference between each gear ratio, the gear corresponding to the gear ratio with the smallest first degree of difference that is less than or equal to a preset difference threshold is taken as the current gear. This further refines how to determine the current gear from the first gear ratio information of the current gearbox type.
[0106] The following section provides a more detailed explanation of how the current gearbox type in the target memory is determined.
[0107] Figure 3 This is a flowchart illustrating a method for determining a gearbox type provided in an embodiment of this application. Figure 4 As shown, the method includes:
[0108] S301. Obtain the speed ratio calculation enable information at the current moment from the target memory.
[0109] In this embodiment of the application, the target memory stores second gear ratio information corresponding to at least one gearbox type, and the second gear ratio information includes gear ratios corresponding to multiple gears of each gearbox type.
[0110] Before identifying the vehicle's current gear, the controller can pre-calculate the second gear ratio to determine the vehicle's transmission type. This second gear ratio is then used to determine the transmission type from preset second gear ratio information in the target memory. The second gear ratio has the same meaning as the first gear ratio, both obtained by dividing the current engine speed by the current transmission output shaft speed. However, because the second gear ratio is calculated when the transmission type is pre-determined, the time corresponding to the second gear ratio is usually earlier than the time corresponding to the first gear ratio; that is, the times corresponding to the second gear ratio and the first gear ratio are not the same.
[0111] Specifically, to accurately determine the current transmission type, the controller can execute multiple type determination processes. The i-th type determination process specifically includes:
[0112] The controller first retrieves the gear ratio calculation enable information for the current moment from the target memory. This is to determine whether the second gear ratio can be calculated at this time, where i is an integer greater than or equal to 1.
[0113] S302. When the speed ratio calculation enable information indicates that the speed ratio can be calculated, calculate the speed ratio of the i-th second gear.
[0114] Furthermore, the controller can also calculate the i-th second gear ratio after the vehicle starts or after the vehicle shifts gears.
[0115] Specifically, after the vehicle starts or shifts gears, during the stable driving process, when the controller detects the gear ratio calculation enable information indicating that the gear ratio can be calculated, it can calculate the i-th second gear ratio based on the current engine speed and the current transmission output shaft speed.
[0116] S303. Determine the second degree of difference between the i-th second gear ratio and the j-th second gear ratio.
[0117] In this embodiment of the application, j is an integer less than i and greater than or equal to 1, and the second degree of difference is the ratio of the current difference to the i-th second gear ratio. The current difference is the difference between the i-th second gear ratio and the j-th second gear ratio.
[0118] Specifically, after calculating the i-th second gear ratio, the controller can determine the i-th gearbox type from preset second gear ratio information based on the i-th second gear ratio. The specific process may include: first determining the second difference degree between the i-th and j-th second gear ratios, so as to confirm whether the vehicle shifted to a different gear during the i-th type determination process compared to the j-th type determination process, based on the second difference degree.
[0119] S304. When multiple second difference levels are greater than or equal to the preset difference level, determine the i-th gearbox type from the second gear ratio information based on the i-th second gear ratio.
[0120] Specifically, the preset difference level can be a value such as 5% or 6%, which can be set according to the actual vehicle model. There are no specific restrictions here.
[0121] S305. When the i-th gearbox type includes at least two gearbox types, perform the (i+1)-th type determination process.
[0122] Specifically, if the controller cannot uniquely determine the transmission type through the i-th type determination process, it can continue to execute the (i+1)-th type determination process. This involves continuing gear shifting and calculating the (i+1)-th second gear ratio. If the second difference degree between the (i+1)-th and the first to i-th second gear ratios is greater than or equal to a preset difference degree, the transmission type for the (i+1)-th second gear ratio is determined from the second gear ratio information based on the (i+1)-th second gear ratio. If the (i+1)-th transmission type includes at least two transmission types, the (i+2)-th type determination process continues until the transmission type can be uniquely determined.
[0123] S306. When the i-th gearbox type includes a gearbox type, the i-th gearbox type is taken as the current gearbox type.
[0124] Specifically, after determining the current gearbox type, the controller can extract the gear ratio corresponding to the current gearbox type from the second gear ratio information to obtain the first gear ratio information, and store the current gearbox type and the first gear ratio information in the target memory.
[0125] This application provides a method for identifying a transmission gear position. Before identifying the current gear of a vehicle, the method calculates the second gear ratio of the vehicle and determines the current transmission type from preset second gear ratio information based on the second gear ratio. This allows for the determination of the specific type of the current transmission for vehicles equipped with manual transmissions. By determining the second difference degree between the i-th and j-th second gear ratios, it is convenient to confirm whether the vehicle has shifted to a different gear in the i-th type determination process compared to the j-th type determination process, based on the second difference degree.
[0126] The following specific example will be used to explain in detail how the controller determines the current gear of the vehicle.
[0127] After the vehicle starts and during stable driving, after the transmission operates in a fixed gear for a preset time, the controller can calculate the second gear ratio using the current engine speed and the current transmission output shaft speed. This second gear ratio is then compared with the gear ratios corresponding to all transmission types included in the preset second gear ratio information in the target memory. This allows the controller to filter out all transmission types corresponding to gear ratios whose differences are all less than or equal to a preset difference threshold from the second gear ratio information. Here, the difference threshold refers to the degree of difference between the second gear ratio and each other gear ratio.
[0128] If the transmission type is not unique at this point, after the vehicle shifts gears, the second gear ratio can be calculated again, and this second gear ratio can be compared with the gear ratios corresponding to each transmission type initially selected in the previous step. The transmission type corresponding to gear ratios whose differences are all less than or equal to a preset difference threshold is selected. If the resulting transmission type is unique after this selection, it is adopted as the current transmission type. If the transmission type is not unique, the shifting and selection process continues until the controller can uniquely determine the transmission type.
[0129] After determining the current transmission type, the controller can extract the corresponding gear ratio from the second gear ratio information to obtain the first gear ratio information, and then store the current transmission type and the first gear ratio information in the target memory. This is to facilitate subsequent determination of the vehicle's current gear based on the first gear ratio information.
[0130] During subsequent vehicle operation, the controller can obtain the vehicle's current transmission type from the vehicle's target memory, calculate the first gear ratio based on the current engine speed and the current transmission output shaft speed, and match the first gear ratio with the first gear ratio information of the current transmission type to obtain the current gear.
[0131] In this embodiment of the invention, electronic devices or main control devices can be divided into functional modules according to the above method examples. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing unit. The integrated unit can be implemented in hardware or as a software functional module. It should be noted that the module division in this embodiment of the invention is illustrative and only represents one logical functional division; other division methods may be used in actual implementation.
[0132] Figure 4 This is a schematic diagram of a gearbox gear position recognition device provided in an embodiment of this application. Figure 5 As shown, the device includes: an acquisition module 410; a generation module 420; and a calculation module 430.
[0133] The acquisition module 410 is used to acquire the current transmission type of the vehicle from the vehicle's target memory;
[0134] The generation module 420 is used to obtain the speed ratio calculation enable information at the current moment from the target memory when the current transmission type is an effective type. The speed ratio calculation enable information is generated in real time based on the transmission output shaft speed at the current moment, the neutral signal at the current moment, and the clutch signal at the current moment. When the transmission output shaft speed is greater than 0, the neutral signal indicates that it is not in neutral, and the clutch signal indicates that the clutch is not engaged, the speed ratio calculation enable information indicates that the speed ratio can be calculated.
[0135] The calculation module 430 is used to calculate the first gear ratio based on the current engine speed and the current gearbox output shaft speed when the gear ratio calculation enable information indicates that the gear ratio can be calculated, and to match the first gear ratio with the first gear ratio information of the current gearbox type to obtain the current gear. The first gear ratio information is stored in the target memory and includes the gear ratio of at least one gear corresponding to the current gearbox type.
[0136] In one possible design, the calculation module 430 includes: a difference calculation module and a comparison module;
[0137] The difference calculation module is used to calculate the difference between the first gear ratio and the gear ratio for each gear, and to calculate the ratio of the difference to the corresponding gear ratio as the first degree of difference between the first gear ratio and the gear ratio.
[0138] The comparison module is used to select the gear corresponding to the gear ratio with the smallest first difference degree that is less than or equal to a preset difference threshold as the current gear.
[0139] In one possible design, the device further includes: a first replacement module and a second replacement module;
[0140] The first replacement module is used to take the previously calculated gear ratio as the first gear ratio when the gear ratio calculation enable information indicates that the gear ratio cannot be calculated and the neutral signal indicates that it is not in neutral.
[0141] The second replacement module is used to use the default gear ratio as the first gear ratio when the gear ratio calculation enable information indicates that the gear ratio cannot be calculated and the neutral signal indicates that the gear is in neutral.
[0142] In one possible design, the device further includes: a type determination module, an extraction module, and a storage module;
[0143] The type determination module is used to calculate the second gear ratio of the vehicle and determine the current transmission type from the preset second gear ratio information based on the second gear ratio. The second gear ratio information includes the gear ratios of multiple gears of at least one transmission type.
[0144] The extraction module is used to extract the gear ratio corresponding to the current gearbox type from the second gear ratio information to obtain the first gear ratio information;
[0145] The storage module is used to store the current gearbox type and first gear ratio information into the target memory.
[0146] In one possible design, the type determination module includes: an execution module;
[0147] The execution module is used to perform the i-th type determination process;
[0148] The execution module includes: an enable information acquisition module, a second gear ratio calculation module, a gearbox determination module, a continue execution module, and a final determination module;
[0149] The enable information acquisition module is used to acquire the speed ratio calculation enable information at the current moment from the target memory;
[0150] The second gear ratio calculation module is used to calculate the i-th second gear ratio when the gear ratio calculation enable information indicates that the gear ratio can be calculated;
[0151] The gearbox determination module is used to determine the gearbox type for the i-th time from the second gear ratio information based on the i-th second gear ratio.
[0152] Continue execution module, used to execute the (i+1)th type determination process when the i-th gearbox type includes at least two gearbox types;
[0153] The final determination module is used to determine the i-th gearbox type as the current gearbox type when the i-th gearbox type includes a gearbox type, where i is an integer greater than or equal to 1.
[0154] In one possible design, the second gear ratio calculation module is also used to calculate the i-th second gear ratio after the vehicle starts or after the vehicle shifts gears.
[0155] The gearbox determination module includes: a second difference degree determination module and a comparison determination module;
[0156] The second difference degree determination module is used to determine the second difference degree between the i-th second gear ratio and the j-th second gear ratio, where j is an integer less than i and greater than or equal to 1. The second difference degree is the ratio of the current difference to the i-th second gear ratio, and the current difference is the difference between the i-th second gear ratio and the j-th second gear ratio.
[0157] The comparison and determination module is used to determine the gearbox type i-th time from the second gear ratio information based on the i-th second gear ratio when multiple second difference levels are greater than or equal to a preset difference level.
[0158] The gearbox gear position recognition device provided in this embodiment can execute a gearbox gear position recognition method of the above embodiment. Its implementation principle and technical effect are similar, and will not be described again here.
[0159] In the aforementioned specific implementation of a gearbox gear position recognition device, each module can be implemented as a processor. The processor can execute computer execution instructions stored in the memory, causing the processor to execute the aforementioned gearbox gear position recognition method.
[0160] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. As shown, the electronic device includes at least one processor 510 and a memory 520. The electronic device also includes a communication component 530. The processor 510, memory 520, and communication component 530 are connected via a bus 540.
[0161] In the specific implementation process, at least one processor 510 executes computer execution instructions stored in memory 520, causing at least one processor 510 to execute a gearbox gear position recognition method as executed on the electronic device side as described above.
[0162] The specific implementation process of processor 510 can be found in the above method embodiments, and its implementation principle and technical effect are similar. It will not be repeated here.
[0163] In the above embodiments, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in this invention can be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules within the processor.
[0164] The memory may include high-speed RAM, and may also include non-volatile storage (NVM), such as at least one disk storage.
[0165] The bus can be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, or an Extended Industry Standard Architecture (EISA) bus, etc. Buses can be categorized as address buses, data buses, control buses, etc. For ease of illustration, the buses shown in the accompanying drawings are not limited to a single bus or a single type of bus.
[0166] The above description of the functions implemented by electronic devices and main control devices has introduced the solutions provided by the embodiments of the present invention. It is understood that, in order to implement the above functions, the electronic device or main control device includes hardware structures and / or software modules corresponding to the execution of each function. By combining the units and algorithm steps of the various examples described in the embodiments of the present invention, the embodiments of the present invention can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the technical solutions of the embodiments of the present invention.
[0167] This application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, are used to implement the gearbox gear position recognition method described above.
[0168] The aforementioned readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic storage, flash memory, magnetic disk, or optical disk. The readable storage medium can be any available medium accessible to a general-purpose or special-purpose computer.
[0169] An exemplary readable storage medium is coupled to a processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can reside in an Application Specific Integrated Circuit (ASIC). Alternatively, the processor and the readable storage medium can exist as discrete components in an electronic device or a host device.
[0170] This application also provides a computer program product, which includes a computer program stored in a readable storage medium. At least one processor of an electronic device can read the computer program from the readable storage medium, and the at least one processor executes the computer program to cause the electronic device to perform the solution provided in the above embodiments.
[0171] Those skilled in the art will understand that all or part of the steps of the above method embodiments can be implemented by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it performs the steps of the above method embodiments; and the aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disk, or optical disk.
[0172] The technical solutions of this application have been described above with reference to the preferred embodiments shown in the accompanying drawings. However, it is readily understood by those skilled in the art that the scope of protection of this application is obviously not limited to these specific embodiments. The above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. These modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A method for identifying gearbox gear positions, characterized in that, include: Retrieve the current transmission type of the vehicle from the vehicle's target memory; Before retrieving the current transmission type of the vehicle from the vehicle's target memory, the method further includes: calculating the vehicle's second gear ratio, and determining the current transmission type from preset second gear ratio information based on the second gear ratio, wherein the second gear ratio information includes gear ratios of multiple gears of at least one transmission type; extracting the gear ratio corresponding to the current transmission type from the second gear ratio information to obtain first gear ratio information; and storing the current transmission type and the first gear ratio information in the target memory. The current transmission type includes: performing the i-th type determination process, wherein the i-th type determination process includes: obtaining the gear ratio calculation enable information at the current moment from the target memory; when the gear ratio calculation enable information indicates that the gear ratio can be calculated, calculating the i-th second gear ratio; determining the i-th transmission type from the second gear ratio information based on the i-th second gear ratio; when the i-th transmission type includes at least two transmission types, performing the (i+1)-th type determination process; when the i-th transmission type includes one transmission type, taking the i-th transmission type as the current transmission type, where i is an integer greater than or equal to 1; When the current transmission type is an active type, the gear ratio calculation enable information at the current moment is obtained from the target memory. The gear ratio calculation enable information is generated in real time based on the current transmission output shaft speed, the current neutral signal, and the current clutch signal. When the transmission output shaft speed is greater than 0, the neutral signal indicates that the gear is not in neutral, and the clutch signal indicates that the clutch is not engaged, the gear ratio calculation enable information indicates that the gear ratio can be calculated. When the gear ratio calculation enable information indicates that the gear ratio can be calculated, the first gear ratio is calculated based on the current engine speed and the current gearbox output shaft speed, and the first gear ratio is matched with the first gear ratio information of the current gearbox type to obtain the current gear. The first gear ratio information is stored in the target memory, and the first gear ratio information includes the gear ratio of at least one gear corresponding to the current gearbox type.
2. The method according to claim 1, characterized in that, The step of matching the first gear ratio with the first gear ratio information of the current transmission type to obtain the current gear includes: For each gear ratio, calculate the difference between the first gear ratio and the gear ratio, and calculate the ratio of the difference to the corresponding gear ratio as the first degree of difference between the first gear ratio and the gear ratio; The gear corresponding to the gear ratio with the smallest difference degree that is less than or equal to the preset difference threshold is taken as the current gear.
3. The method according to claim 2, characterized in that, Before matching the first gear ratio with the first gear ratio information of the current transmission type to obtain the current gear, the process further includes: When the gear ratio calculation enable information indicates that the gear ratio cannot be calculated and the neutral signal indicates that it is not in neutral, the previously calculated gear ratio is used as the first gear ratio. When the speed ratio calculation enable information indicates that the speed ratio cannot be calculated and the neutral signal indicates that the gear is in neutral, the default gear ratio is used as the first gear ratio.
4. The method according to any one of claims 1 to 3, characterized in that, The calculation of the i-th second gear ratio includes: Calculate the gear ratio of the i-th second gear after the vehicle starts or after the vehicle shifts gears; The step of determining the gearbox type i-th time from the second gear ratio information based on the i-th second gear ratio includes: Determine a second degree of difference between the i-th second gear ratio and the j-th second gear ratio, where j is an integer less than i and greater than or equal to 1, and the second degree of difference is the ratio of the current difference to the i-th second gear ratio, where the current difference is the difference between the i-th second gear ratio and the j-th second gear ratio; When multiple second difference levels are greater than or equal to a preset difference level, the i-th gearbox type is determined from the second gear ratio information based on the i-th second gear ratio.
5. A gearbox gear position recognition device, characterized in that, The device includes: An acquisition module is used to acquire the current transmission type of the vehicle from a target memory of the vehicle. Before acquiring the current transmission type of the vehicle from the target memory, the module further includes: calculating the second gear ratio of the vehicle, and determining the current transmission type from preset second gear ratio information based on the second gear ratio, wherein the second gear ratio information includes gear ratios of multiple gears of at least one transmission type; extracting the gear ratio corresponding to the current transmission type from the second gear ratio information to obtain first gear ratio information; storing the current transmission type and the first gear ratio information in the target memory; the calculation of the second gear ratio of the vehicle, and determining the current transmission type from preset second gear ratio information based on the second gear ratio; the acquisition module is used to: calculate the second gear ratio of the vehicle, and determine ... Determining the current transmission type from preset second gear ratio information includes: performing the i-th type determination process, wherein the i-th type determination process includes: obtaining the current gear ratio calculation enable information from the target memory; calculating the i-th second gear ratio when the gear ratio calculation enable information indicates that the gear ratio can be calculated; determining the i-th transmission type from the second gear ratio information based on the i-th second gear ratio; performing the (i+1)-th type determination process when the i-th transmission type includes at least two transmission types; and taking the i-th transmission type as the current transmission type when the i-th transmission type includes one transmission type, where i is an integer greater than or equal to 1. The generation module is used to obtain the speed ratio calculation enable information at the current moment from the target memory when the current transmission type is an effective type. The speed ratio calculation enable information is generated in real time based on the transmission output shaft speed at the current moment, the neutral signal at the current moment, and the clutch signal at the current moment. When the transmission output shaft speed is greater than 0, the neutral signal indicates that it is not in neutral, and the clutch signal indicates that the clutch is not engaged, the speed ratio calculation enable information indicates that the speed ratio can be calculated. The calculation module is configured to calculate the first gear ratio based on the current engine speed and the current output shaft speed of the transmission when the gear ratio calculation enable information indicates that the gear ratio can be calculated, and match the first gear ratio with the first gear ratio information of the current transmission type to obtain the current gear. The first gear ratio information is stored in the target memory and includes the gear ratio of at least one gear corresponding to the current transmission type.
6. An electronic device, characterized in that, include: A processor, and a memory communicatively connected to the processor; The memory stores computer-executed instructions; The processor executes computer execution instructions stored in the memory to implement the gearbox gear position recognition method as described in any one of claims 1 to 4.
7. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer-executable instructions, which, when executed by a processor, are used to implement the gearbox gear position recognition method as described in any one of claims 1 to 4.
8. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the gearbox gear identification method as described in any one of claims 1 to 4.
Citation Information
Patent Citations
Gearbox type identification method and system, terminal and storage medium
CN117628172A
Gearbox gear identification method
CN118375730A