A method for identifying vehicle gear position and related equipment
By collecting the roll angle and pitch angle of the gear lever to generate a motion trajectory, and using the trajectory overlap comparison to identify the vehicle gear, the problem of gear identification when the vehicle is stationary is solved, and a cost-effective gear identification method is achieved.
Patent Information
- Application Number
- CN202310410666.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-04-17
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2043-04-17
AI Technical Summary
The existing technology makes it difficult to identify the gear position when the vehicle is stationary, and installing a gear position identification sensor increases costs and poses a risk of failure.
By collecting the roll angle and pitch angle of the gear lever and mapping them to the coordinate system to generate a motion trajectory, the gear is identified by comparing the trajectory overlap, and a gear motion trajectory set is constructed for comparison to identify the current gear.
Accurate gear identification is achieved when the vehicle is stationary, avoiding increased hardware costs and failure risks, and improving the reliability of gear identification.
Smart Images

Figure CN116717592B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of data processing, and in particular to a vehicle gear recognition method and related equipment. Background Art
[0002] Vehicle gear data is a crucial feature for analyzing driving behavior. Gear information is essential for extracting specific driving behaviors. However, currently, gasoline-powered vehicles rarely have gear recognition sensors installed. Installing these sensors inevitably increases vehicle manufacturing costs. Furthermore, if these sensors malfunction, they can prevent the acquisition of gear data, leading to an inability to capture driver behavior data.
[0003] Currently, the main method is to use the Kmeans algorithm to cluster the inverse tangent function of the ratio of the transmission output shaft speed to the engine speed to obtain a cluster model, which is then used to identify the vehicle gear position. However, this method can only identify the gear position when the vehicle is in motion and is unable to identify the gear position when the vehicle is stationary. Summary of the Invention
[0004] An embodiment of the present invention provides a method and related equipment for identifying vehicle gear positions, which can not only identify the gear position when the vehicle is in motion, but also identify the current gear position of the vehicle when the vehicle is stationary as long as the gear lever of the vehicle is in a gear state.
[0005] A first aspect of the present invention provides a method for identifying a vehicle gear position, the method comprising:
[0006] Determining a target motion trajectory corresponding to a current gear position of a target vehicle, wherein the target vehicle is a vehicle in a gear position to be identified;
[0007] Determining a gear motion trajectory set corresponding to the target vehicle;
[0008] Comparing the target motion trajectory with a set of gear motion trajectories corresponding to the target vehicle to obtain a degree of overlap between the target motion trajectory and a standard trajectory of each gear in the set of gear motion trajectories;
[0009] The current gear of the target vehicle is identified according to the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set.
[0010] In one possible design, determining the gear motion trajectory set corresponding to the target vehicle includes:
[0011] collecting a roll angle and a pitch angle of a target gear lever at different moments during movement of the target gear lever, wherein the target gear lever is a gear lever of the target vehicle, and the target gear lever is any one of a plurality of gear positions corresponding to the target vehicle;
[0012] A gear motion trajectory set corresponding to the target vehicle is determined according to the roll angle and the pitch angle.
[0013] In one possible design, determining the gear motion trajectory set corresponding to the target vehicle according to the roll angle and the pitch angle includes:
[0014] Mapping the roll angle and the pitch angle to a target coordinate system to obtain coordinate points of the target gear at different times;
[0015] A set of motion trajectories corresponding to the target vehicle is generated according to the coordinate points corresponding to the target gear at different times.
[0016] In one possible design, mapping the roll angle and the pitch angle to a target coordinate system to obtain coordinate points corresponding to the target gear at different times includes:
[0017] Constructing the target coordinate system;
[0018] Mapping a first roll angle to the target coordinate system to obtain an X value of the target gear at a first moment, wherein the first roll angle is the roll angle of the target gear at the first moment, and the first moment is any moment among the different moments;
[0019] Mapping a first pitch angle to the target coordinate system to obtain a Y value of the target gear at the first moment, where the first pitch angle is the pitch angle of the target gear at the first moment;
[0020] The X value of the target gear at the first moment and the Y value of the target gear at the first moment are determined as coordinate values of the coordinate point of the target gear at the first moment.
[0021] In one possible design, mapping the roll angle and the pitch angle to a target coordinate system to obtain coordinate points corresponding to the target gear at different times includes:
[0022] Constructing the target coordinate system;
[0023] Mapping a second roll angle to the target coordinate system to obtain an X value of the target gear at a second moment, wherein the second roll angle is the roll angle of the target gear at the second moment, and the second moment is any one of the different moments;
[0024] Mapping a second pitch angle to the target coordinate system to obtain a Y value of the target gear at the second moment, where the second pitch angle is the pitch angle of the target gear at the second moment;
[0025] The X value of the target gear at the second moment and the Y value of the target gear at the second moment are determined as coordinate values of the coordinate point of the target gear at the second moment.
[0026] In one possible design, identifying the current gear of the target vehicle based on the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set includes:
[0027] Determine the gear position in the gear motion trajectory set that has the greatest overlap with the standard trajectory of the target motion trajectory;
[0028] The gear position in the gear motion trajectory set that has the greatest overlap with the standard trajectory of the target motion trajectory is determined as the current gear position of the target vehicle.
[0029] A second aspect of the present invention provides a vehicle gear position identification device, comprising:
[0030] A first determining unit is configured to determine a target motion trajectory corresponding to a current gear position of a target vehicle, wherein the target vehicle is a vehicle in a gear position to be identified;
[0031] A second determining unit is used to determine a gear motion trajectory set corresponding to the target vehicle;
[0032] a comparison unit, configured to compare the target motion trajectory with a set of gear motion trajectories corresponding to the target vehicle, so as to obtain a degree of overlap between the target motion trajectory and a standard trajectory of each gear in the set of gear motion trajectories;
[0033] An identification unit is used to identify the current gear of the target vehicle according to the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set.
[0034] In one possible design, the second determining unit is specifically configured to:
[0035] collecting a roll angle and a pitch angle of a target gear lever at different moments during movement of the target gear lever, wherein the target gear lever is a gear lever of the target vehicle, and the target gear lever is any one of a plurality of gear positions corresponding to the target vehicle;
[0036] A gear motion trajectory set corresponding to the target vehicle is determined according to the roll angle and the pitch angle.
[0037] In a possible design, the second determining unit determines the gear motion trajectory set corresponding to the target vehicle according to the roll angle and the pitch angle, including:
[0038] Mapping the roll angle and the pitch angle to a target coordinate system to obtain coordinate points of the target gear at different times;
[0039] A set of motion trajectories corresponding to the target vehicle is generated according to the coordinate points corresponding to the target gear at different times.
[0040] In a possible design, the second determining unit maps the roll angle and the pitch angle to a target coordinate system to obtain coordinate points corresponding to the target gear at different times, including:
[0041] Constructing the target coordinate system;
[0042] Mapping a first roll angle to the target coordinate system to obtain an X value of the target gear at a first moment, wherein the first roll angle is the roll angle of the target gear at the first moment, and the first moment is any moment among the different moments;
[0043] Mapping a first pitch angle to the target coordinate system to obtain a Y value of the target gear at the first moment, where the first pitch angle is the pitch angle of the target gear at the first moment;
[0044] The X value of the target gear at the first moment and the Y value of the target gear at the first moment are determined as coordinate values of the coordinate point of the target gear at the first moment.
[0045] In a possible design, the second determining unit maps the roll angle and the pitch angle to a target coordinate system to obtain coordinate points corresponding to the target gear at different times, including:
[0046] Constructing the target coordinate system;
[0047] Mapping a second roll angle to the target coordinate system to obtain an X value of the target gear at a second moment, wherein the second roll angle is the roll angle of the target gear at the second moment, and the second moment is any one of the different moments;
[0048] Mapping a second pitch angle to the target coordinate system to obtain a Y value of the target gear at the second moment, where the second pitch angle is the pitch angle of the target gear at the second moment;
[0049] The X value of the target gear at the second moment and the Y value of the target gear at the second moment are determined as coordinate values of the coordinate point of the target gear at the second moment.
[0050] In one possible design, the identification unit is specifically configured to:
[0051] Determine the gear position in the gear motion trajectory set that has the greatest overlap with the standard trajectory of the target motion trajectory;
[0052] The gear position in the gear motion trajectory set that has the greatest overlap with the standard trajectory of the target motion trajectory is determined as the current gear position of the target vehicle.
[0053] A third aspect of an embodiment of the present invention provides an electronic device, including a memory and a processor, wherein the processor is configured to implement the steps of the vehicle gear identification method as described in the first aspect above when executing a computer management program stored in the memory.
[0054] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having a computer management program stored thereon. When the computer management program is executed by a processor, the steps of the vehicle gear identification method as described in the first aspect above are implemented.
[0055] In summary, it can be seen that in the embodiments provided by the present invention, by constructing the gear movement trajectory of each gear in the target vehicle, the movement trajectory of the gear lever in the target vehicle can be determined when the gear lever moves, and the movement trajectory is compared with the gear movement trajectory of each gear in the target vehicle to obtain the standard trajectory overlap; and the current gear of the target vehicle is identified based on the standard trajectory overlap. Therefore, not only can the gear position be identified when the vehicle is in motion, but also when the vehicle is stationary, as long as the gear lever of the vehicle is in a gear state, the current gear position of the vehicle can be identified. BRIEF DESCRIPTION OF THE DRAWINGS
[0056] Figure 1 A schematic flow chart of a method for identifying a vehicle gear position provided by an embodiment of the present invention;
[0057] Figure 2 A schematic diagram of the motion trajectory of a vehicle gear provided by an embodiment of the present invention;
[0058] Figure 3 A schematic diagram of a virtual structure of a vehicle gear position recognition device provided by an embodiment of the present invention;
[0059] Figure 4 A schematic diagram of the hardware structure of a vehicle gear position recognition device provided by an embodiment of the present invention;
[0060] Figure 5 A schematic diagram of an electronic device according to an embodiment of the present invention;
[0061] Figure 6 A schematic diagram of an embodiment of a computer-readable storage medium provided in an embodiment of the present invention. DETAILED DESCRIPTION
[0062] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without making any creative efforts shall fall within the scope of protection of the present invention.
[0063] In the following description, the specific embodiments of the present invention will be described with reference to steps and symbols performed by one or more computers, unless otherwise stated. Therefore, these steps and operations will be mentioned several times as being performed by a computer, and the computer execution referred to herein includes the operation of a computer processing unit by electronic signals representing data in a structured form. This operation converts the data or maintains it at a location in the computer's memory system, which can be reconfigured or otherwise change the operation of the computer in a manner familiar to testers in the field. The data structure in which the data is maintained is a physical location in the memory, which has specific characteristics defined by the data format. However, the principles of the present invention are described in the above text, which does not represent a limitation, and testers in the field will understand that the various steps and operations described below can also be implemented in hardware.
[0064] The principles of the present invention may be implemented and operated using many other general-purpose or special-purpose computing and communication environments or configurations. Examples of well-known computing systems, environments, and configurations suitable for use with the present invention include, but are not limited to, handheld phones, personal computers, servers, multiprocessor systems, microcomputer-based systems, mainframe computers, and distributed computing environments, including any of the aforementioned systems or devices.
[0065] The terms "first", "second" and "third" in the present invention are used to distinguish different objects rather than to describe a specific order. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusions.
[0066] The following describes a method for identifying a vehicle gear position from the perspective of a vehicle gear position identification device. The vehicle gear position identification device may be a server or a service unit in the server, and is not specifically limited.
[0067] See also Figure 1 , Figure 1 A schematic flow chart of a method for identifying a vehicle gear position provided by an embodiment of the present invention includes:
[0068] 101. Determine a target motion trajectory corresponding to a current gear position of the target vehicle.
[0069] In this embodiment, the vehicle gear position recognition device can collect the target motion trajectory corresponding to the current gear position of the target vehicle in real time. Specifically, a gyroscope can be pre-installed at the gear lever position of the target vehicle. As a result, the vehicle gear position recognition device can collect the roll angle and pitch angle corresponding to the current gear position of the target vehicle at different times through the gyroscope when the gear lever of the target vehicle moves. The roll angle and pitch angle corresponding to the current gear position at different times can then be mapped to a coordinate system. By connecting the coordinate points at different times in the time dimension, the motion trajectory of the target gear lever of the target vehicle when the target vehicle is in the current gear position, that is, the target motion trajectory, can be depicted.
[0070] 102. Determine a gear motion trajectory set corresponding to the target vehicle.
[0071] In this embodiment, the vehicle gear position identification device can determine the gear position motion trajectory set corresponding to the target vehicle. Specifically, the vehicle gear position identification device can collect the roll angle and pitch angle of the target gear lever at different times during the movement of the target gear, and determine the gear position motion trajectory set corresponding to the target vehicle based on the roll angle and pitch angle, wherein the target gear lever position is the gear lever of the target vehicle, and the target gear position is any one of the multiple gear positions corresponding to the target vehicle.
[0072] In one embodiment, the vehicle gear recognition device determines the gear motion trajectory set corresponding to the target vehicle according to the roll angle and the pitch angle, including:
[0073] Map the roll angle and pitch angle to the target coordinate system to obtain the coordinate point of the target gear at different times;
[0074] A set of motion trajectories corresponding to the target vehicle is generated according to the coordinate points of the target gear at different times.
[0075] In this embodiment, the vehicle gear recognition device may first construct the target coordinate system and map the first roll angle to the target coordinate system to obtain an X value of the target gear at a first moment, where the first roll angle is the roll angle of the target gear at the first moment, and the first moment is any of the different moments; and map the first pitch angle to the target coordinate system to obtain a Y value of the target gear at the first moment, where the first pitch angle is the pitch angle of the target gear at the first moment; and then determine the X value and the Y value of the target gear at the first moment as the coordinate values of the coordinate point of the target gear at the first moment.
[0076] It should be noted that the above-mentioned pitch angle is mapped as the Y value of the coordinate point in the coordinate system, and the roll angle is mapped as the X value of the coordinate point in the coordinate system. Of course, the pitch angle can also be mapped as the X value of the coordinate point in the coordinate system, and the roll angle can be mapped as the Y value of the coordinate point in the coordinate system. There is no specific limitation. Figure 2 , Figure 2 A schematic diagram of a gear trajectory provided by an embodiment of the present invention, wherein: Figure 2 The gear motion trajectory shown in the figure is based on the example of mapping the pitch angle as the X value of the coordinate point in the coordinate system and the rolling angle as the Y value of the coordinate point in the coordinate system, and taking the target vehicle including R gear, 1 gear, 2 gear, 3 gear, 4 gear and 5 gear as an example.
[0077] It should be noted that, through step 101, the target motion trajectory corresponding to the current gear of the target vehicle can be collected, and through step 102, the gear motion trajectory set corresponding to the target vehicle can be determined. However, there is no restriction on the order of these two steps. Step 101 can be executed first, or step 102 can be executed first, or they can be executed at the same time. There is no specific limitation.
[0078] 103. Compare the target motion trajectory with the gear motion trajectory set corresponding to the target vehicle to obtain the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set.
[0079] In this embodiment, the vehicle gear recognition device can compare the target motion trajectory corresponding to the current gear of the target vehicle collected with the gear motion trajectory set corresponding to the target vehicle, and then obtain the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set.
[0080] 104. Identify the current gear of the target vehicle based on the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set.
[0081] In this embodiment, after determining the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set, the vehicle gear identification device can determine the gear in the gear motion trajectory set that has the greatest degree of overlap with the standard trajectory of the target motion trajectory; and determine the gear in the gear motion trajectory set that has the greatest degree of overlap with the standard trajectory of the target motion trajectory as the current gear of the target vehicle.
[0082] In summary, it can be seen that in the embodiments provided by the present invention, by constructing the gear movement trajectory of each gear in the target vehicle, the movement trajectory of the gear lever in the target vehicle can be determined when the gear lever moves, and the movement trajectory is compared with the gear movement trajectory of each gear in the target vehicle to obtain the standard trajectory overlap; and the current gear of the target vehicle is identified based on the standard trajectory overlap. Therefore, not only can the gear position be identified when the vehicle is in motion, but also when the vehicle is stationary, as long as the gear lever of the vehicle is in a gear state, the current gear position of the vehicle can be identified.
[0083] The above describes the embodiment of the present invention from the perspective of a vehicle gear position identification method. The following describes the embodiment of the present invention from the perspective of a vehicle gear position identification device.
[0084] See also Figure 3 , a virtual structural diagram of a vehicle gear position identification device according to an embodiment of the present invention, wherein the vehicle gear position identification device 300 comprises:
[0085] The first determining unit 301 is used to determine a target motion trajectory corresponding to the current gear position of a target vehicle, wherein the target vehicle is a vehicle in a gear position to be identified;
[0086] A second determining unit 302 is configured to determine a gear motion trajectory set corresponding to the target vehicle;
[0087] a comparison unit 303 for comparing the target motion trajectory with a gear motion trajectory set corresponding to the target vehicle to obtain a degree of overlap between the target motion trajectory and a standard trajectory of each gear in the gear motion trajectory set;
[0088] The identification unit 304 is configured to identify the current gear of the target vehicle according to the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set.
[0089] In one possible design, the second determining unit 302 is specifically configured to:
[0090] collecting a roll angle and a pitch angle of a target gear lever at different moments during movement of the target gear lever, wherein the target gear lever is a gear lever of the target vehicle, and the target gear lever is any one of a plurality of gear positions corresponding to the target vehicle;
[0091] A gear motion trajectory set corresponding to the target vehicle is determined according to the roll angle and the pitch angle.
[0092] In a possible design, the second determining unit 302 determines the gear motion trajectory set corresponding to the target vehicle according to the roll angle and the pitch angle, including:
[0093] Mapping the roll angle and the pitch angle to a target coordinate system to obtain coordinate points of the target gear at different times;
[0094] A set of motion trajectories corresponding to the target vehicle is generated according to the coordinate points corresponding to the target gear at different times.
[0095] In a possible design, the second determining unit 302 maps the roll angle and the pitch angle to a target coordinate system to obtain coordinate points corresponding to the target gear at different times, including:
[0096] Constructing the target coordinate system;
[0097] Mapping a first roll angle to the target coordinate system to obtain an X value of the target gear at a first moment, wherein the first roll angle is the roll angle of the target gear at the first moment, and the first moment is any moment among the different moments;
[0098] Mapping a first pitch angle to the target coordinate system to obtain a Y value of the target gear at the first moment, where the first pitch angle is the pitch angle of the target gear at the first moment;
[0099] The X value of the target gear at the first moment and the Y value of the target gear at the first moment are determined as coordinate values of the coordinate point of the target gear at the first moment.
[0100] In a possible design, the second determining unit 302 maps the roll angle and the pitch angle to a target coordinate system to obtain coordinate points corresponding to the target gear at different times, including:
[0101] Constructing the target coordinate system;
[0102] Mapping a second roll angle to the target coordinate system to obtain an X value of the target gear at a second moment, wherein the second roll angle is the roll angle of the target gear at the second moment, and the second moment is any one of the different moments;
[0103] Mapping a second pitch angle to the target coordinate system to obtain a Y value of the target gear at the second moment, where the second pitch angle is the pitch angle of the target gear at the second moment;
[0104] The X value of the target gear at the second moment and the Y value of the target gear at the second moment are determined as coordinate values of the coordinate point of the target gear at the second moment.
[0105] In one possible design, the identification unit 304 is specifically configured to:
[0106] Determine the gear position in the gear motion trajectory set that has the greatest overlap with the standard trajectory of the target motion trajectory;
[0107] The gear position in the gear motion trajectory set that has the greatest overlap with the standard trajectory of the target motion trajectory is determined as the current gear position of the target vehicle.
[0108] above Figure 3 The vehicle gear position recognition device in the embodiment of the present invention has been described from the perspective of modular functional entities. The vehicle gear position recognition device in the embodiment of the present invention is described in detail from the perspective of hardware processing. Figure 4 , a schematic diagram of an embodiment of a vehicle gear position identification device 400 in an embodiment of the present invention, the vehicle gear position identification device 400 includes:
[0109] Input device 401, output device 402, processor 403 and memory 404 (wherein the number of processor 403 can be one or more, Figure 4 In some embodiments of the present invention, the input device 401, the output device 402, the processor 403 and the memory 404 may be connected via a communication bus or other means, wherein: Figure 4 The communication bus connection is taken as an example.
[0110] By calling the operation instructions stored in the memory 404, the processor 403 is configured to perform the following steps:
[0111] Determining a target motion trajectory corresponding to a current gear position of a target vehicle, wherein the target vehicle is a vehicle in a gear position to be identified;
[0112] Determining a gear motion trajectory set corresponding to the target vehicle;
[0113] Comparing the target motion trajectory with a set of gear motion trajectories corresponding to the target vehicle to obtain a degree of overlap between the target motion trajectory and a standard trajectory of each gear in the set of gear motion trajectories;
[0114] The current gear of the target vehicle is identified according to the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set.
[0115] By calling the operation instructions stored in the memory 404, the processor 403 is also used to execute Figure 1 Any method in the corresponding embodiment.
[0116] See also Figure 5 , Figure 5 A schematic diagram of an electronic device according to an embodiment of the present invention.
[0117] like Figure 5 As shown, an embodiment of the present invention provides an electronic device, including a memory 510, a processor 520, and a computer program 511 stored in the memory 510 and executable on the processor 520. When the processor 520 executes the computer program 511, the following steps are implemented:
[0118] Determining a target motion trajectory corresponding to a current gear position of a target vehicle, wherein the target vehicle is a vehicle in a gear position to be identified;
[0119] Determining a gear motion trajectory set corresponding to the target vehicle;
[0120] Comparing the target motion trajectory with a set of gear motion trajectories corresponding to the target vehicle to obtain a degree of overlap between the target motion trajectory and a standard trajectory of each gear in the set of gear motion trajectories;
[0121] The current gear of the target vehicle is identified according to the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set.
[0122] In the specific implementation process, when the processor 520 executes the computer program 511, it can achieve Figure 1 Any implementation manner in the corresponding embodiments.
[0123] Since the electronic device introduced in this embodiment is a device used to implement a vehicle gear recognition device in an embodiment of the present invention, based on the method introduced in the embodiment of the present invention, technical personnel in this field can understand the specific implementation method of the electronic device of this embodiment and its various variations. Therefore, how the electronic device implements the method in the embodiment of the present invention will not be introduced in detail here. As long as the equipment used by technical personnel in this field to implement the method in the embodiment of the present invention falls within the scope of protection of the present invention.
[0124] See also Figure 6 , Figure 6 A schematic diagram of an embodiment of a computer-readable storage medium provided in an embodiment of the present invention.
[0125] like Figure 6 As shown, an embodiment of the present invention further provides a computer-readable storage medium 600 on which a computer program 611 is stored. When the computer program 611 is executed by a processor, the following steps are implemented:
[0126] Determining a target motion trajectory corresponding to a current gear position of a target vehicle, wherein the target vehicle is a vehicle in a gear position to be identified;
[0127] Determining a gear motion trajectory set corresponding to the target vehicle;
[0128] Comparing the target motion trajectory with a set of gear motion trajectories corresponding to the target vehicle to obtain a degree of overlap between the target motion trajectory and a standard trajectory of each gear in the set of gear motion trajectories;
[0129] The current gear of the target vehicle is identified according to the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set.
[0130] In the specific implementation process, the computer program 611 is executed by the processor to achieve Figure 1 Any implementation manner in the corresponding embodiments.
[0131] It should be noted that, in the above embodiments, the description of each embodiment has its own focus. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0132] It will be understood by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Thus, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to magnetic disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.
[0133] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowcharts and / or block diagrams, as well as combinations of processes and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowcharts and / or block diagrams. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0134] These computer program instructions may also be stored in a computer readable memory that can direct a computer or other programmable data processing device to work in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 a process or multiple processes and / or boxes Figure 1 The function specified in one or more boxes.
[0135] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operational steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing the instructions executed on the computer or other programmable device for implementing the process. Figure 1 a process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0136] The embodiment of the present invention also provides a computer program product, which includes computer software instructions. When the computer software instructions are executed on a processing device, the processing device executes the following Figure 1 The process in the corresponding embodiment.
[0137] The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in accordance with the embodiments of the present invention are generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions may be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) method. The computer-readable storage medium may be any available medium that can be stored on a computer or a data storage device such as a server or data center that includes one or more available media. The available medium may be a magnetic medium (e.g., a floppy disk, hard disk, tape), an optical medium (e.g., a DVD), or a semiconductor medium (e.g., a solid-state drive (SSD)).
[0138] Those skilled in the art will clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0139] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is merely a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another system, or some features may be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed may be an indirect coupling or communication connection through some interface, device or unit, which may be electrical, mechanical or other forms.
[0140] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this embodiment according to actual needs.
[0141] In addition, the functional units in the various embodiments of the present invention may be integrated into a single processing unit, each unit may exist physically separately, or two or more units may be integrated into a single unit. The aforementioned integrated units may be implemented in the form of hardware or software functional units.
[0142] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to execute all or part of the steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0143] As described above, the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the above embodiments, those skilled in the art should understand that the technical solutions described in the above embodiments can still be modified, or some of the technical features thereof can be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for identifying a vehicle gear position, characterized in that: include: Determining a target motion trajectory corresponding to a current gear position of a target vehicle, wherein the target vehicle is a vehicle in a gear position to be identified; Determining a gear motion trajectory set corresponding to the target vehicle; Comparing the target motion trajectory with a set of gear motion trajectories corresponding to the target vehicle to obtain a degree of overlap between the target motion trajectory and a standard trajectory of each gear in the set of gear motion trajectories; Identifying the current gear of the target vehicle according to the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set; Determining the gear motion trajectory set corresponding to the target vehicle includes: collecting a roll angle and a pitch angle of a target gear lever at different moments during movement of the target gear lever, wherein the target gear lever is a gear lever of the target vehicle, and the target gear lever is any one of a plurality of gear positions corresponding to the target vehicle; Determining a gear motion trajectory set corresponding to the target vehicle according to the roll angle and the pitch angle; The step of determining a gear motion trajectory set corresponding to the target vehicle according to the roll angle and the pitch angle includes: Mapping the roll angle and the pitch angle to a target coordinate system to obtain coordinate points of the target gear at different times; Generating a set of motion trajectories corresponding to the target vehicle according to the coordinate points corresponding to the target gear at different times; The identifying the current gear of the target vehicle according to the degree of overlap between the target motion trajectory and the standard trajectory of each gear in the gear motion trajectory set includes: Determine the gear position in the gear motion trajectory set that has the greatest overlap with the standard trajectory of the target motion trajectory; The gear position in the gear motion trajectory set that has the greatest overlap with the standard trajectory of the target motion trajectory is determined as the current gear position of the target vehicle.
2. The method according to claim 1, characterized in that Mapping the roll angle and the pitch angle to a target coordinate system to obtain coordinate points corresponding to the target gear at different times includes: Constructing the target coordinate system; Mapping a first roll angle to the target coordinate system to obtain an X value of the target gear at a first moment, wherein the first roll angle is the roll angle of the target gear at the first moment, and the first moment is any moment among the different moments; Mapping a first pitch angle to the target coordinate system to obtain a Y value of the target gear at the first moment, where the first pitch angle is the pitch angle of the target gear at the first moment; The X value of the target gear at the first moment and the Y value of the target gear at the first moment are determined as coordinate values of the coordinate point of the target gear at the first moment.
3. The method according to claim 2, characterized in that Mapping the roll angle and the pitch angle to a target coordinate system to obtain coordinate points corresponding to the target gear at different times includes: Constructing the target coordinate system; Mapping a second roll angle to the target coordinate system to obtain an X value of the target gear at a second moment, wherein the second roll angle is the roll angle of the target gear at the second moment, and the second moment is any one of the different moments; Mapping a second pitch angle to the target coordinate system to obtain a Y value of the target gear at the second moment, where the second pitch angle is the pitch angle of the target gear at the second moment; The X value of the target gear at the second moment and the Y value of the target gear at the second moment are determined as coordinate values of the coordinate point of the target gear at the second moment.
4. An electronic device, characterized in that: include: A memory and a processor, wherein the processor is configured to implement the vehicle gear recognition method according to any one of claims 1 to 3 when executing a computer management program stored in the memory.
5. A computer-readable storage medium storing a computer management program, characterized in that: When the computer management program is executed by a processor, the vehicle gear recognition method according to any one of claims 1 to 3 is implemented.
Citation Information
Patent Citations
Electronic gear shifting system and vehicle
CN113669440A
Gear identification method and device for manual gear transmission and computer equipment
CN114321360A