Vehicle gear control method and system, electronic device, and readable storage medium

By dividing the gear sensor into multiple sensor groups, and obtaining and comparing the normal gear signal through the sensor group in normal working conditions in the case of a fault, the gear switching risk caused by Hall sensor failure is solved and the vehicle gear is improved Safety and accuracy of bit control.

WO2024244230A1PCT designated stage expired Publication Date: 2024-12-05DEEPAL AUTOMOBILE TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2023/120952
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-05-31
Filing Date
2023-09-25
Publication Date
2024-12-05

AI Technical Summary

Technical Problem

The failure of the Hall sensor or the failure of the associated parts in the existing self-reset gear shift lever leads to the inability to switch the vehicle gear, which poses safety risks, and the accuracy of the output results of a single potentiometer is low, which reduces the safety of vehicle control.

Method used

Divide the gear sensor into multiple sensor groups, obtain the normal gear signal multiple times through the sensor group in normal working state, and compare its alternative vehicle gears to determine the first shift gear to realize the vehicle gear. safe and efficient control of the bit.

Benefits of technology

When there is a failure of the sensor group, the redundancy mechanism improves control accuracy, avoiding the risk of inability to switch gears due to Hall sensor failure or associated component failure, and improving the safety and efficiency of vehicle gear control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2023120952_05122024_PF_FP_ABST
    Figure CN2023120952_05122024_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to the technical field of vehicle control, and disclosed are a vehicle gear control method and system, an electronic device, and a readable storage medium. The method comprises: dividing a gear sensor into a plurality of sensor groups, and when a sensor group experiences a fault, obtaining normal gear signals a plurality of times by means of normally-operating sensor groups, and comparing alternate vehicle gears corresponding to the normal gear signals, using the comparison result to determine a first switching gear, and thus control the vehicle gear of a vehicle terminal. The invention introduces a redundancy mechanism to vehicle gears, improves control accuracy when only a portion of the sensor groups are operating, avoids in two ways the risk that a Hall sensor fault or associated component failure make it impossible to switch the vehicle gear by means of a self-resetting gear shifting rod, and is safe and efficient.
Need to check novelty before this filing date? Find Prior Art

Description

Vehicle gear control method, system, electronic device and readable storage medium Technical Field

[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle gear control method, system, electronic device and readable storage medium. Background Art

[0002] With the continuous development of vehicle technology, vehicle personalization and operability have also become an important part of vehicle evaluation criteria. Since the self-resetting hand-shift lever is set on the steering wheel to replace the traditional physical gear position, it not only takes up less space, but also highlights the vehicle's personalization and operability, and its usage rate in vehicles is also increasing.

[0003] At present, self-resetting hand-held gear shifters usually use Hall sensors as gear position sensors. Since the Hall sensors will output different hard-wired signals as the magnetic poles change, different vehicle gear positions can be identified by collecting the hard-wired signals output by the Hall sensors. However, if any Hall sensor fails or the related parts fail, there is a risk that the vehicle gear position cannot be switched through the self-resetting hand-held gear shift lever, which poses a safety hazard to people and vehicles. Chinese patent CN111316181A discloses a method for detecting the driving state switching conditions before driving and determining whether to switch the driving state based on whether the driving state switching conditions are met. This method cannot operate normally if any condition is not met, and has a low fault tolerance rate. Chinese patent CN107643682A discloses a technical solution for providing a reference to the driver controller by switching to a potentiometer in a normal working state when any potentiometer fails. However, the accuracy of the output result of a single potentiometer in this solution is low, resulting in a decrease in the safety of vehicle control.

[0004] Therefore, in order to avoid the risk of being unable to switch vehicle gears through the self-resetting arm shift lever due to a malfunction of the Hall sensor or failure of related parts, it is necessary to provide a safe and efficient vehicle gear control method for the self-resetting arm shift lever.

[0005] Summary of the Invention

[0006] In order to provide a basic understanding of some aspects of the disclosed embodiments, a brief summary is given below. The summary is not an extensive review, nor is it intended to identify key / critical elements or delineate the scope of protection of these embodiments, but rather serves as a prelude to the detailed description that follows.

[0007] In view of the above-mentioned shortcomings of the prior art, the present invention discloses a vehicle gear control method, system, electronic device and readable storage medium to improve the safety of vehicle gear control.

[0008] The present invention provides a vehicle gear control method, which is applied to a vehicle terminal, wherein the vehicle terminal includes a plurality of sensor groups, and the sensor groups are composed of gear sensors. The method includes: performing fault detection on each of the sensor groups respectively to obtain a fault detection result of each of the sensor groups; if the fault detection result contains both a normal working state and a fault state, the sensor group in the normal working state is determined as the normal working group; normal gear signals are obtained from the normal working group multiple times, and an alternative vehicle gear corresponding to each normal gear signal is determined from the preset vehicle gears of the vehicle terminal, wherein the normal gear signal is obtained by collecting the sensor signals output by each gear sensor in the normal working group in response to the gear shifting operation corresponding to the vehicle terminal; and a first switching gear is determined from the preset vehicle gear according to the comparison result between each of the alternative vehicle gears to control the vehicle terminal to switch to the first switching gear.

[0009] Optionally, before performing fault detection on each sensor group in the vehicle terminal and obtaining the fault detection results of each sensor group, the method further includes: obtaining a sensor base, the sensor base including multiple first base areas, wherein if the gear position sensor is located in the first base area, the gear position sensor outputs a first voltage signal; setting each gear position sensor in each sensor group in a different first base area, and recording the area position of each gear position sensor; determining the second base area corresponding to each preset vehicle gear position from the first base area according to the area position; determining the sensor signal output by each gear position sensor according to the first base area and the second base area corresponding to different preset vehicle gear positions, obtaining the gear position signal threshold corresponding to each preset vehicle gear position, and determining the single group signal threshold corresponding to each sensor group from the gear signal threshold, wherein, in the same sensor group, the single group signal threshold corresponding to each preset vehicle gear position is different.

[0010] Optionally, the method also includes: the preset vehicle gear positions include a reference vehicle gear position and multiple target vehicle gear positions; if it is detected that the sensor signal output by each gear position sensor switches from the gear signal threshold corresponding to the reference vehicle gear position to the gear signal threshold corresponding to any target vehicle gear position, it is determined that the vehicle terminal performs a gear shift operation.

[0011] Optionally, normal gear signals are obtained from the normal working group multiple times, including: pre-setting the number of signal acquisition times; in response to the gear shifting operation corresponding to the vehicle terminal, the sensor signals output by each gear sensor in the normal working group are collected to obtain normal gear signals, and a prompt is given to re-perform the gear shifting operation until the number of signal acquisition times is met.

[0012] Optionally, the alternative vehicle gear corresponding to each normal gear signal is determined from the preset vehicle gears of the vehicle terminal, including: matching each single group signal threshold corresponding to the normal working group according to the normal gear signal, and determining the alternative vehicle gear corresponding to the normal gear signal from each preset vehicle gear according to the matching result.

[0013] Optionally, the alternative vehicle gear position corresponding to the normal gear position signal is determined by the following method, including: if the number of the normal working groups is one, matching the single group signal thresholds corresponding to the normal working group according to the normal gear position signal, and determining the alternative vehicle gear position corresponding to the normal gear position signal from each of the preset vehicle gear positions according to the matching result; if the number of the normal working groups is multiple, splitting the normal gear position signal into working sub-signals corresponding to each of the normal working groups, matching the single group signal thresholds corresponding to the working sub-signals according to each of the working sub-signals, and determining the second vehicle gear position corresponding to each of the preset vehicle gear positions according to the matching result; if any two second vehicle gear positions are the same, then the second vehicle gear position is used as the alternative vehicle gear position corresponding to the normal gear position signal; if there are two different second vehicle gear positions, then the reference vehicle gear position is used as the alternative vehicle gear position corresponding to the normal gear position signal.

[0014] Optionally, the first vehicle gear is determined based on the comparison results between each of the alternative vehicle gears, including: if the comparison results between any two alternative vehicle gears are the same, then the alternative vehicle gear is used as the first vehicle gear; if the comparison results between any two alternative vehicle gears are different, then the reference vehicle gear is used as the first vehicle gear.

[0015] Optionally, after performing fault detection on each sensor group in the vehicle terminal and obtaining the fault detection results of each sensor group, the method further includes: if the fault detection results are all normal working conditions, then in response to the gear shifting operation corresponding to the vehicle terminal, obtaining the sensor signal corresponding to each gear sensor to obtain a complete gear signal; matching the gear signal threshold corresponding to each preset vehicle gear according to the complete gear signal, and determining the third vehicle gear corresponding to the complete gear signal from each preset vehicle gear according to the matching result, so as to control the vehicle terminal to switch to the third vehicle gear.

[0016] Optionally, the gear signal thresholds corresponding to each preset vehicle gear are matched according to the complete gear signal, and the third vehicle gear corresponding to the complete gear signal is determined from each preset vehicle gear according to the matching result, including: determining a single group of gear signals corresponding to each sensor group from the complete gear signal; matching the gear signal thresholds corresponding to the single group of gear signals according to each single group of gear signals, and determining a fourth vehicle gear corresponding to each single group of gear signals from each preset vehicle gear according to the matching result; if any two fourth vehicle gears are the same, the fourth vehicle gear is determined as the third vehicle gear corresponding to the complete gear signal; if there are two fourth vehicle gears that are different, the reference vehicle gear is determined as the third vehicle gear corresponding to the complete gear signal.

[0017] Optionally, after performing fault detection on each sensor group in the vehicle terminal and obtaining the fault detection results of each sensor group, the method further includes: if the fault detection results are all fault states, switching the vehicle terminal to the reference vehicle gear position and issuing a gear abnormality reminder.

[0018] Optionally, fault detection is performed on each sensor group in the vehicle terminal respectively to obtain a fault detection result of each sensor group, including: obtaining a factor to be detected of the sensor group and a state duration corresponding to the factor to be detected, the factor to be detected including one or more of the vehicle power state of the vehicle terminal, the power supply voltage corresponding to the sensor group, the sensor signal corresponding to each gear sensor in the sensor group, and the current vehicle gear corresponding to the sensor group, wherein the current vehicle gear is determined by the sensor signal corresponding to each gear sensor in the sensor group; matching the factor to be detected and / or the state duration according to preset working conditions; if the factor to be detected and / or the state duration both meet the preset working conditions, determining the fault detection result of the sensor group as a normal working state; if there is a factor to be detected and / or the state duration that does not meet the preset working conditions, determining the fault detection result of the sensor group as a fault state.

[0019] The present invention provides a vehicle gear control system, which is applied to a vehicle terminal, wherein the vehicle terminal includes a plurality of sensor groups, and the sensor groups are composed of gear sensors. The system includes: a detection module, which is used to perform fault detection on each of the sensor groups respectively to obtain a fault detection result of each of the sensor groups; a determination module, which is used to determine the sensor group in the normal working state as the normal working group if both a normal working state and a fault state exist in the fault detection result; an acquisition module, which is used to obtain normal gear signals from the normal working group multiple times, and determine the alternative vehicle gear corresponding to each normal gear signal from the preset vehicle gear of the vehicle terminal, wherein the normal gear signal is obtained by collecting the sensor signals output by each gear sensor in the normal working group in response to the gear shifting operation corresponding to the vehicle terminal; a control module, which is used to determine a first switching gear from the preset vehicle gear according to the comparison result between each of the alternative vehicle gears, so as to control the vehicle terminal to switch to the first switching gear.

[0020] The present invention provides an electronic device, comprising: a processor and a memory; the memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device performs the above method.

[0021] The present invention provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method described above is implemented.

[0022] Beneficial effects of the present invention:

[0023] By dividing the gear position sensors into multiple sensor groups, when a sensor group fails, the normally functioning sensor group repeatedly acquires normal gear position signals, compares the corresponding alternative vehicle gear positions, and determines the first shift gear position based on the comparison results, thereby achieving vehicle gear position control for the vehicle terminal. Compared to controlling vehicle gear position using all shift sensors, dividing the gear position sensors into multiple sensor groups not only allows the normally functioning sensor group to acquire normal gear position signals when a sensor group fails, but also verifies the corresponding alternative vehicle gear position by acquiring normal gear position signals multiple times. This introduces a redundancy mechanism for vehicle gear position and improves control accuracy when only a portion of the sensor groups are operating. This avoids the risk of being unable to switch vehicle gears using the self-resetting hand-held gear shift lever due to Hall sensor failure or failure of associated components, achieving safety and efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0024] FIG1 is a flow chart of a vehicle gear control method according to an embodiment of the present invention;

[0025] FIG2 is a system block diagram of a vehicle gear position control method according to an embodiment of the present invention;

[0026] FIG3 is a system block diagram of another method for implementing a vehicle gear position control method according to an embodiment of the present invention;

[0027] FIG4 is a schematic diagram of a positional arrangement method of a gear position sensor according to an embodiment of the present invention;

[0028] FIG5 is a schematic flow chart of a sensor group fault detection method according to an embodiment of the present invention;

[0029] FIG6 is a flow chart of another vehicle gear control method according to an embodiment of the present invention;

[0030] FIG7 is a schematic structural diagram of a vehicle gear control system according to an embodiment of the present invention;

[0031] FIG8 is a schematic diagram of an electronic device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0032] The following describes the embodiments of the present invention through specific examples. Those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through different specific embodiments. The details in this specification can also be modified or changed based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and sub-samples in the embodiments can be combined with each other unless there is a conflict.

[0033] It should be noted that the illustrations provided in the following embodiments are merely schematic illustrations of the basic concept of the present invention. Therefore, the illustrations only show components related to the present invention and are not drawn according to the number, shape, and size of components in actual implementation. In actual implementation, the type, quantity, and proportion of each component may be changed arbitrarily, and the component layout may also be more complex.

[0034] In the following description, numerous details are discussed to provide a more thorough explanation of the embodiments of the present invention. However, it will be apparent to those skilled in the art that the embodiments of the present invention may be practiced without these specific details. In other embodiments, well-known structures and devices are shown in block diagram form rather than in detail to avoid obscuring the embodiments of the present invention.

[0035] In the description and claims of the embodiments of the present disclosure, as well as in the accompanying drawings, the terms "first," "second," and the like are used to distinguish similar items and are not necessarily used to describe a particular order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate to describe the embodiments of the present disclosure herein. In addition, the terms "including," "having," and any variations thereof are intended to cover non-exclusive inclusions.

[0036] Unless otherwise stated, the term "plurality" means two or more.

[0037] In the embodiment of the present disclosure, the character " / " indicates that the preceding and following objects are in an "or" relationship. For example, A / B means: A or B.

[0038] The term "and / or" describes an association between objects, indicating that three relationships can exist. For example, A and / or B means: A or B, or A and B.

[0039] As shown in FIG1 , an embodiment of the present disclosure provides a vehicle gear position control method, which is applied to a vehicle terminal. The vehicle terminal includes multiple sensor groups, each of which is composed of a gear position sensor. The method includes:

[0040] Step S101, performing fault detection on each sensor group respectively to obtain a fault detection result of each sensor group;

[0041] Step S102: If the fault detection result shows both a normal working state and a fault state, the sensor group in the normal working state is determined as the normal working group.

[0042] Step S103, obtaining normal gear position signals from the normal working group multiple times, and determining the alternative vehicle gear position corresponding to each normal gear position signal from the preset vehicle gear positions of the vehicle terminal;

[0043] The normal gear position signal is obtained by collecting the sensor signals output by each gear position sensor in the normal working group in response to the gear shift operation corresponding to the vehicle terminal;

[0044] Step S104: determining a first switching gear from the preset vehicle gears according to the comparison results between the candidate vehicle gears, so as to control the vehicle terminal to switch to the first switching gear.

[0045] The vehicle gear position control method provided by the disclosed embodiment divides the gear position sensors into multiple sensor groups. When a sensor group fails, the sensor group in normal working condition repeatedly obtains normal gear position signals, compares the corresponding alternative vehicle gear positions, and determines the first shift gear position based on the comparison results, thereby achieving vehicle gear position control of the vehicle terminal. Thus, compared to vehicle gear position control using all shift sensors, dividing the gear position sensors into multiple sensor groups not only allows the sensor group in normal working condition to obtain normal gear position signals when a faulty sensor group exists, but also verifies the corresponding alternative vehicle gear position by repeatedly obtaining normal gear position signals. This introduces a redundancy mechanism for vehicle gear position and improves control accuracy when only a portion of the sensor groups are operating. This avoids the risk of being unable to switch vehicle gears using the self-resetting hand-held gear shift lever due to Hall sensor failure or failure of associated components, achieving safety and efficiency.

[0046] In conjunction with Figure 2, an embodiment of the present disclosure provides a system block diagram for implementing the above-mentioned vehicle gear control method, including a hand-operated gear shifter 201 and a vehicle controller 202. The hand-operated gear shifter and the vehicle controller are respectively connected by a power line, a ground line (GND), and a signal transmission line of multiple gear sensors. Among them, the hand-operated gear shifter includes an information acquisition module and a button module. The information acquisition module is used to output the sensor signal of each gear sensor to the vehicle controller through the signal transmission line of the main channel and the redundant channel. The button module is used to communicate with the vehicle controller through the button of the hand-operated gear shifter. The vehicle controller is used to control the vehicle gear of the vehicle terminal based on the sensor signal of the gear sensor.

[0047] In some embodiments, the connection relationship between the hand-operated shifter and the vehicle controller is shown in Figure 3. The hand-operated shifter includes an information acquisition module and a key module. The information acquisition module includes a main channel and a redundant channel. The main channel is a main dual-channel grating, and the redundant channel is a redundant dual-channel grating. The main dual-channel grating is connected to the vehicle controller through power supply 1, CHANNEL 1, CHANNEL 2, and GDN 1 respectively. The redundant dual-channel grating is connected to the vehicle controller through power supply 2, CHANNEL 3, CHANNEL 4, and GDN 2 respectively. The key module includes P gear switch 1 and P gear switch 2. The P gear switch 1 is connected to the vehicle controller through the P gear signal 1 line, and the P gear switch 2 is connected to the vehicle controller through the P gear signal 2 line. At the same time, the key module is connected to the vehicle controller through GND3.

[0048] Optionally, before performing fault detection on each sensor group in the vehicle terminal and obtaining the fault detection result of each sensor group, the method also includes: obtaining a sensor base, the sensor base including multiple first base areas, wherein if the gear position sensor is located in the first base area, the gear position sensor outputs a first voltage signal; setting each gear position sensor in each sensor group in a different first base area, and recording the regional position of each gear position sensor; determining the second base area corresponding to each preset vehicle gear from the first base area according to the regional position; determining the sensor signal output by each gear position sensor according to the first base area and the second base area corresponding to different preset vehicle gears, obtaining the gear position signal threshold corresponding to each preset vehicle gear, and determining the single group signal threshold corresponding to each sensor group from the gear signal threshold, wherein, in the same sensor group, the single group signal threshold corresponding to each preset vehicle gear is different.

[0049] In some embodiments, the gear position sensor is a Hall sensor, the first base area is a magnetic N-pole area, and the second base area is a magnetic S-pole area; if the Hall sensor is located in the magnetic N-pole area, the Hall sensor is turned on and outputs a first voltage signal, wherein the voltage value of the first voltage signal is between 0-1.5V, for example, the voltage value of the first voltage signal is between 0.6-1V; if the Hall sensor is located in the magnetic S-pole area, the Hall sensor is disconnected and outputs a second voltage signal, wherein the voltage value of the second voltage signal is between 3-5V, for example, the voltage value of the second voltage signal is between 4-4.4V.

[0050] Optionally, the method further includes: the preset vehicle gear position includes a reference vehicle gear position (Center, middle position) and a plurality of target vehicle gear positions.

[0051] In some embodiments, the target vehicle gear position includes one step up (Up), two steps up (UpUp), one step down (Down), and two steps down (DownDown).

[0052] Optionally, the method further includes: if it is detected that the sensor signal output by each gear sensor switches from the gear signal threshold corresponding to the reference vehicle gear to the gear signal threshold corresponding to any target vehicle gear, determining that the vehicle terminal performs a gear shift operation.

[0053] 4 , the embodiment of the present disclosure provides a method for arranging a gear position sensor, including: the gear position sensor includes sensor 1, sensor 2, sensor 3, sensor 4, sensor 5 and sensor 6, and sensor 2, sensor 3 and sensor 4 are used as the first group of the sensor group, and sensor 1, sensor 5 and sensor 6 are used as the second group of the sensor group; the Hall sensor is fixed on the base, the hand-shift handle is connected to the magnet, and the Hall sensor is turned on and off by operating the hand-shift position change; if the hand-shift shifter is in the middle position, sensor 1, sensor 2, sensor 4 and sensor 5 are located in the magnetic N pole area (first base area), and sensor 3 and sensor 6 are located in the magnetic S pole area (second base area); if the hand-shift shifter is in the upper level, the magnetic S pole area is moved one grid to the left of the area, so that sensor 1, sensor 2, sensor 3 and sensor 4 are located in the magnetic N pole area, and sensor 5 and sensor 6 are located in the magnetic S pole area; if the hand-shift shifter is in the upper second level , the magnetic S pole area is moved two grids to the left of the area, so that sensor 1, sensor 2, sensor 3, and sensor 6 are located in the magnetic N pole area, and sensor 4 and sensor 5 are located in the magnetic S pole area; if the hand-shift shifter is in the next level, the magnetic S pole area is moved one grid to the right of the area, so that sensor 1, sensor 4, sensor 5, and sensor 6 are located in the magnetic N pole area, and sensor 2 and sensor 3 are located in the magnetic S pole area; if the hand-shift shifter is in the next level, the magnetic S pole area is moved two grids to the right of the area, so that sensor 3, sensor 4, sensor 5, and sensor 6 are located in the magnetic N pole area, and sensor 1 and sensor 2 are located in the magnetic S pole area; the sensor signal output by each gear sensor is determined according to the first base area and the second base area corresponding to different preset vehicle gear positions, and the gear signal threshold corresponding to each preset vehicle gear position is obtained, wherein the gear signal threshold corresponding to each preset vehicle gear position is shown in Table 1, the first voltage signal is represented by "0", and the second voltage signal is represented by "1".

[0054] Table 1

[0055] The shift position sensor arrangement method provided in the disclosed embodiment divides the shift position sensors into multiple sensor groups. When a sensor group fails, the sensor group in normal working order repeatedly acquires normal shift position signals. The normal shift position signals are then compared with the alternative vehicle gear positions corresponding to each normal shift position signal. The first shift position is determined based on the comparison results, thereby achieving vehicle gear position control for the vehicle terminal. Thus, compared to vehicle gear position control using all shift sensors, dividing the shift position sensors into multiple sensor groups not only allows the sensor group in normal working order to acquire normal shift position signals when a sensor group fails, but also verifies the alternative vehicle gear positions corresponding to the normal shift position signals by acquiring normal shift position signals multiple times. This introduces a redundancy mechanism for vehicle gear positions while improving control accuracy when only a portion of the sensor groups are operating. This avoids the risk of being unable to switch vehicle gears using the self-resetting hand-held shift lever due to Hall sensor failure or failure of associated components, achieving both safety and efficiency.

[0056] Optionally, fault detection is performed on each sensor group in the vehicle terminal to obtain a fault detection result of each sensor group, including: obtaining the to-be-detected factor of the sensor group and the state duration corresponding to the to-be-detected factor, the to-be-detected factor including one or more of the vehicle power state of the vehicle terminal, the power supply voltage corresponding to the sensor group, the sensor signal corresponding to each gear sensor in the sensor group, and the current vehicle gear corresponding to the sensor group, wherein the current vehicle gear is determined by the sensor signal corresponding to each gear sensor in the sensor group; matching the to-be-detected factor and / or the state duration according to preset working conditions; if the to-be-detected factor and / or the state duration both meet the preset working conditions, the fault detection result of the sensor group is determined as a normal working state; if there is a to-be-detected factor and / or the state duration that does not meet the preset working conditions, the fault detection result of the sensor group is determined as a fault state.

[0057] 5 , an embodiment of the present disclosure provides a sensor group fault detection method, including:

[0058] Step S501, obtaining a power supply voltage of the sensor group and obtaining a first duration corresponding to the power supply voltage;

[0059] Step S502, setting a first determination condition based on the power supply voltage and the first duration;

[0060] The first determination condition includes that the power supply voltage is within a preset power supply range, and the first duration is greater than or equal to the preset first duration;

[0061] Among them, the preset power supply range includes 4.8-5.2V, and the preset first time length includes 50ms;

[0062] Step S503, determining whether the power supply voltage and the first duration meet the first determination condition, if so, skipping to step S504, if not, skipping to step S514;

[0063] Step S504: obtaining a sensor signal corresponding to each gear position sensor in the sensor, and obtaining a second duration corresponding to each sensor signal;

[0064] Step S505, setting a second determination condition based on the sensor signal and the second duration;

[0065] The second determination condition includes that the sensor signal is within a preset signal voltage range, and the second duration is greater than or equal to the preset second duration;

[0066] Among them, the signal voltage range includes 0.6-1V and 4-4.4V, and the preset second time length includes 80ms;

[0067] Step S506, determining whether the sensor signal and the second duration meet the second determination condition, if so, skip to step S507, if not, skip to step S514;

[0068] Step S507, obtaining the vehicle power status of the vehicle terminal and obtaining a third duration corresponding to the vehicle power status;

[0069] Step S508, setting a third determination condition based on the vehicle power state and the third duration;

[0070] The third determination condition includes that the vehicle power state is in the ON state, and the third duration is greater than or equal to the preset third duration;

[0071] Among them, the preset third time length includes 10s;

[0072] Step S509, determining whether the vehicle power state and the third duration meet the third determination condition, if so, skip to step S510, if not, skip to step S514;

[0073] Step S510, obtaining the current vehicle gear position corresponding to the sensor group;

[0074] The current gear position of the vehicle is determined by the sensor signals corresponding to the gear position sensors in the sensor group;

[0075] Step S511, setting a fourth determination condition for the current vehicle gear position;

[0076] The fourth determination condition includes that the current vehicle gear is in the middle position;

[0077] Step S512, determining whether the current vehicle gear position satisfies the fourth determination condition, if so, skipping to step S513, if not, skipping to step S514;

[0078] Step S513: Determine the fault detection result of the sensor group as a normal working state.

[0079] Step S514: determining the fault detection result of the sensor group as a fault state.

[0080] Optionally, normal gear signals are obtained from the normal working group multiple times, including: pre-setting the number of signal acquisition times; in response to the gear shifting operation corresponding to the vehicle terminal, the sensor signals output by each gear sensor in the normal working group are collected to obtain the normal gear signal, and a prompt is given to re-perform the gear shifting operation until the number of signal acquisition times is met.

[0081] Optionally, the alternative vehicle gear corresponding to each normal gear signal is determined from the preset vehicle gears of the vehicle terminal, including: matching each single group signal threshold corresponding to the normal working group according to the normal gear signal, and determining the alternative vehicle gear corresponding to the normal gear signal from each preset vehicle gear according to the matching result.

[0082] Optionally, the alternative vehicle gear position corresponding to the normal gear position signal is determined by the following method, including: if the number of normal working groups is one, matching the single group signal thresholds corresponding to the normal working group according to the normal gear position signal, and determining the alternative vehicle gear position corresponding to the normal gear position signal from each preset vehicle gear position according to the matching result; if the number of normal working groups is multiple, splitting the normal gear position signal into working sub-signals corresponding to each normal working group, matching the single group signal thresholds corresponding to the working sub-signals according to each working sub-signal, and determining the second vehicle gear position corresponding to each working sub-signal from each preset vehicle gear position according to the matching result; if any two second vehicle gear positions are the same, the second vehicle gear position is used as the alternative vehicle gear position corresponding to the normal gear position signal; if there are two different second vehicle gear positions, the reference vehicle gear position is used as the alternative vehicle gear position corresponding to the normal gear position signal.

[0083] Optionally, the first vehicle gear is determined based on the comparison results between the alternative vehicle gears, including: if the comparison results between any two alternative vehicle gears are the same, the alternative vehicle gear is used as the first vehicle gear; if the comparison results between any two alternative vehicle gears are different, the reference vehicle gear is used as the first vehicle gear.

[0084] In some embodiments, if the first group (sensor 2, sensor 3, sensor 4) is in a fault state, the second group including sensor 1, sensor 5, and sensor 6 will be used as a normal working group; in response to the corresponding gear shift operation of the vehicle terminal, the sensor signals output by each gear sensor in the normal working group are collected to obtain a normal gear signal; if the normal gear signal points to the previous level and the duration is greater than the preset gear shift duration, the pending gear position is recorded as the previous level, and the user is reminded that "the gear is abnormal, please re-operate"; if in response to the user's another gear shift operation, the normal gear signal obtained still points to the previous level and the duration is greater than the preset gear shift duration, the previous level is used as the first vehicle gear; a gear control signal representing the previous level is sent, and it is ensured that the duration of the gear control signal is greater than or equal to the preset control duration, so that the vehicle terminal switches to the previous level; after the vehicle terminal switches to the previous level, a gear control signal representing the middle position is sent; if the normal gear signal points to other target vehicle gears, the same operation is performed.

[0085] In some embodiments, the recording time of the pending gear position does not exceed the preset recording time, the reminder to the user "gear abnormality, please try again" does not exceed the preset reminder time, and the reminder stops after the second normal gear signal is collected.

[0086] Optionally, after performing fault detection on each sensor group in the vehicle terminal and obtaining the fault detection results of each sensor group, the method further includes: if the fault detection results are all normal working conditions, then in response to the gear shifting operation corresponding to the vehicle terminal, obtaining the sensor signal corresponding to each gear sensor to obtain a complete gear signal; matching the gear signal threshold corresponding to each preset vehicle gear according to the complete gear signal, and determining the third vehicle gear corresponding to the complete gear signal from each preset vehicle gear according to the matching result, so as to control the vehicle terminal to switch to the third vehicle gear.

[0087] In some embodiments, switching the vehicle gear of a vehicle terminal includes: in response to a gear shift operation corresponding to the vehicle terminal, obtaining a sensor signal corresponding to each gear sensor to obtain a complete gear signal; if the complete gear signal meets the gear signal threshold of the previous level, and the duration of the complete gear signal is greater than or equal to the preset gear shift duration, then the third vehicle gear corresponding to the complete gear signal is determined to be the previous level; sending a gear control signal representing the previous level, and ensuring that the duration of the gear control signal is greater than or equal to the preset control duration, so that the vehicle terminal switches to the previous level; after the vehicle terminal switches to the previous level, sending a gear control signal representing the middle position; the same applies to switching the vehicle gear of the vehicle terminal to other target vehicle gears.

[0088] In some embodiments, if the complete gear signal meets the gear signal threshold of the previous level, and the duration of the complete gear signal is greater than or equal to the preset gear shift duration, the hand-held shifter switches from the previous level to the previous second level, and still uses the previous level as the third vehicle gear corresponding to the complete gear signal.

[0089] Optionally, the gear signal thresholds corresponding to each preset vehicle gear are matched according to the complete gear signal, and the third vehicle gear corresponding to the complete gear signal is determined from each preset vehicle gear according to the matching result, including: determining a single group of gear signals corresponding to each sensor group from the complete gear signal; matching the gear signal thresholds corresponding to the single group of gear signals according to each single group of gear signals, and determining a fourth vehicle gear corresponding to each single group of gear signals from each preset vehicle gear according to the matching result; if any two fourth vehicle gears are the same, the fourth vehicle gear is determined as the third vehicle gear corresponding to the complete gear signal; if there are two fourth vehicle gears that are different, the reference vehicle gear is determined as the third vehicle gear corresponding to the complete gear signal.

[0090] In some embodiments, if the gear positions indicated by the output signals of different sensor groups are different, the reference vehicle gear position is determined to be the third vehicle gear position corresponding to the complete gear position signal.

[0091] Optionally, after performing fault detection on each sensor group in the vehicle terminal and obtaining the fault detection results of each sensor group, the method further includes: if the fault detection results are all fault states, switching the vehicle terminal to a reference vehicle gear position and issuing a gear abnormality reminder.

[0092] 6 , an embodiment of the present disclosure provides a vehicle gear control method, including:

[0093] Step S601, determining whether the first group in the sensor group is in a normal working state, if so, jump to step S602, if not, jump to step S605;

[0094] Step S602, determining whether the second group in the sensor group is in a normal working state, if so, jump to step S603, if not, jump to step S604;

[0095] Step S603: Control the vehicle gear position through all sensor groups.

[0096] Step S604: Control the vehicle gear position through the first group.

[0097] Step S605, determining whether the second group in the sensor group is in a normal working state, if so, jump to step S606, if not, jump to step S607;

[0098] Step S606: Control the vehicle gear position through the second group.

[0099] Step S607: Gear abnormality reminder.

[0100] The vehicle gear position control method provided by the disclosed embodiment divides the gear position sensors into multiple sensor groups. When a sensor group fails, the sensor group in normal working condition repeatedly obtains normal gear position signals, compares the corresponding alternative vehicle gear positions, and determines the first shift gear position based on the comparison results, thereby achieving vehicle gear position control of the vehicle terminal. Thus, compared to vehicle gear position control using all shift sensors, dividing the gear position sensors into multiple sensor groups not only allows the sensor group in normal working condition to obtain normal gear position signals when a faulty sensor group exists, but also verifies the corresponding alternative vehicle gear position by repeatedly obtaining normal gear position signals. This introduces a redundancy mechanism for vehicle gear position and improves control accuracy when only a portion of the sensor groups are operating. This avoids the risk of being unable to switch vehicle gears using the self-resetting hand-held gear shift lever due to Hall sensor failure or failure of associated components, achieving safety and efficiency.

[0101] In some embodiments, a normal working mode and a redundant working mode are pre-set, wherein the normal working mode is used to control the vehicle gear position through all sensor groups, and the redundant working mode is used to control the vehicle gear position through the sensor group in normal working state; if all sensor groups are in normal working state, the normal working state is entered; if there is a sensor group in a faulty state, the redundant working mode is entered.

[0102] In some embodiments, if the power supply state of the vehicle terminal is in the ON gear, the first group and the second group in the sensor group are detected for faults; if the first group and the second group are both in normal working state, the gear shifter of the vehicle terminal is controlled to switch to normal working mode; if the first group is in normal working state and the second group is in fault state, the gear shifter of the vehicle terminal is controlled to switch to fault working mode one, wherein fault working mode one is used to control the vehicle gear through the first group; if the first group is in fault state and the second group is in normal working state, the gear shifter of the vehicle terminal is controlled to switch to fault working mode two, wherein fault working mode two is used to control the vehicle gear through the second group; if the first group and the second group are both in fault state, the gear shifter of the vehicle terminal is controlled to switch to fault working mode three, wherein fault working mode three is used when the vehicle controller cannot identify whether the gear shift demand is valid, and at the same time sends a text prompt to the user that the gear cannot be shifted, similar to "gear shift fault, please repair" for a preset time period, controls the vehicle terminal to switch to the Center gear, and inputs the gear shift fault information into the vehicle gear switching module.

[0103] As shown in FIG7 , an embodiment of the present disclosure provides a vehicle gear position control system, which is applied to a vehicle terminal. The vehicle terminal includes multiple sensor groups, each of which is composed of gear position sensors. The system includes a detection module 701, a determination module 702, an acquisition module 703, and a control module 704. The detection module 701 is configured to perform fault detection on each sensor group and obtain a fault detection result for each sensor group. The determination module 702 is configured to determine the sensor group in the normal working state as the normal working group if both a normal working state and a faulty state are present in the fault detection result. The acquisition module 703 is configured to repeatedly acquire normal gear position signals from the normal working group and determine the alternative vehicle gear position corresponding to each normal gear position signal from the preset vehicle gear positions of the vehicle terminal. The normal gear position signals are obtained by collecting sensor signals output by each gear position sensor in the normal working group in response to a corresponding gear shift operation of the vehicle terminal. The control module 704 is configured to determine a first switching gear position from the preset vehicle gear positions based on the comparison results between the alternative vehicle gear positions, so as to control the vehicle terminal to switch to the first switching gear position.

[0104] The vehicle gear control system provided by the disclosed embodiment divides the gear sensors into multiple sensor groups. When a sensor group fails, the normally functioning sensor group repeatedly acquires normal gear signals, compares the corresponding alternative vehicle gears, and determines the first shift gear based on the comparison results, thereby achieving vehicle gear control of the vehicle terminal. Thus, compared to vehicle gear control using all shift sensors, dividing the gear sensors into multiple sensor groups not only allows the normally functioning sensor group to acquire normal gear signals when a faulty sensor group exists, but also verifies the corresponding alternative vehicle gear by acquiring normal gear signals multiple times. This introduces a redundancy mechanism for vehicle gear control while improving control accuracy when only a portion of the sensor groups are operating. This avoids the risk of being unable to switch vehicle gears using the self-resetting hand-held gear shift lever due to Hall sensor failure or associated component failure, achieving safety and efficiency.

[0105] Figure 8 shows a schematic diagram of the structure of a computer system of an electronic device suitable for implementing an embodiment of the present application. It should be noted that the computer system 800 of the electronic device shown in Figure 8 is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present application.

[0106] As shown in Figure 8, the computer system 800 includes a central processing unit (CPU) 801, which can perform various appropriate actions and processes according to the program stored in the read-only memory (ROM) 802 or the program loaded from the storage part 808 into the random access memory (RAM) 803, such as executing the method in the above embodiment. Various programs and data required for system operation are also stored in the RAM 803. The CPU 801, ROM 802 and RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0107] The following components are connected to the I / O interface 805: an input section 806 including a keyboard, a mouse, and the like; an output section 807 including devices such as a cathode ray tube (CRT), a liquid crystal display (LCD), and a speaker; a storage section 808 including a hard disk and the like; and a communication section 809 including a network interface card such as a LAN (Local Area Network) card or a modem. The communication section 809 performs communication processing via a network such as the Internet. A drive 810 is also connected to the I / O interface 805 as needed. Removable media 811, such as a magnetic disk, an optical disk, a magneto-optical disk, or a semiconductor memory, is installed in the drive 810 as needed, so that computer programs read therefrom can be installed into the storage section 808 as needed.

[0108] In particular, according to an embodiment of the present application, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present application includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a computer program for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via the communication section 809, and / or installed from a removable medium 811. When the computer program is executed by the central processing unit (CPU) 801, the various functions defined in the system of the present application are executed.

[0109] It should be noted that the computer-readable medium shown in the embodiments of the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium can include a data signal propagated in baseband or as part of a carrier wave, which carries a computer-readable computer program. This propagated data signal can take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.

[0110] The embodiments of the present disclosure further provide a computer-readable storage medium on which a computer program is stored. When the program is executed by a processor, any one of the methods in the embodiments is implemented.

[0111] Regarding the computer-readable storage media in the embodiments of the present disclosure, those skilled in the art will understand that all or part of the steps in implementing the aforementioned method embodiments can be accomplished by hardware associated with the computer program. The aforementioned computer program can be stored in a computer-readable storage medium. When executed, the program performs the steps of the aforementioned method embodiments. The aforementioned storage medium includes various media capable of storing program code, such as ROM, RAM, magnetic disks, or optical disks.

[0112] The electronic device disclosed in this embodiment includes a processor, a memory, a transceiver, and a communication interface. The memory and the communication interface are connected to the processor and the transceiver and complete communication with each other. The memory is used to store computer programs, the communication interface is used to communicate, and the processor and the transceiver are used to run the computer program, so that the electronic device executes each step of the above method.

[0113] In this embodiment, the memory may include a random access memory (RAM), and may also include a non-volatile memory (non-volatile memory), such as at least one disk storage.

[0114] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a graphics processing unit (GPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, and discrete hardware components.

[0115] The above description and the accompanying drawings fully illustrate the embodiments of the present disclosure to enable those skilled in the art to practice them. Other embodiments may include structural, logical, electrical, process and other changes. The embodiments represent only possible variations. Unless expressly required, individual components and functions are optional, and the order of operations may vary. Parts and subsamples of some embodiments may be included in or replace parts and subsamples of other embodiments. Moreover, the terms used in this application are only used to describe the embodiments and are not used to limit the claims. As used in the description of the embodiments and claims, unless the context clearly indicates otherwise, the singular forms "a", "an" and "the" are intended to also include the plural forms. Similarly, the term "and / or" as used in this application refers to any and all possible combinations of one or more associated listings. In addition, when used in this application, the term "comprise" and its variations "comprises" and / or comprising refer to the presence of a stated subsample, whole, step, operation, element, and / or component, but do not exclude the presence or addition of one or more other subsamples, wholes, steps, operations, elements, components and / or groups of these. In the absence of further restrictions, an element defined by the statement "comprises a..." does not exclude the presence of other identical elements in the process, method or device that includes the element. In this article, each embodiment may focus on the differences from other embodiments, and the same and similar parts between the various embodiments can be referenced to each other. For the methods, products, etc. disclosed in the embodiments, if they correspond to the method part disclosed in the embodiments, then the relevant parts can be found in the description of the method part.

[0116] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software may depend on the specific application and design constraints of the technical solution. Technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the embodiments of the present disclosure. Technicians can 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.

[0117] In the embodiments disclosed herein, the disclosed methods and products (including but not limited to devices, equipment, etc.) can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units can be merely a logical functional division. In actual implementation, there may be other division methods, such as multiple units or components can be combined or integrated into another system, or some sub-samples can be ignored or not executed. In addition, the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms. The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to implement this embodiment. In addition, the functional units in the embodiments of the present disclosure can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit.

[0118] The flowcharts and block diagrams in the accompanying drawings show the possible implementation architectures, functions and operations of the systems, methods and computer program products according to the embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram can represent a module, program segment or part of the code, and the module, program segment or part of the code contains one or more executable instructions for implementing the specified logical functions. In some alternative implementations, the functions marked in the box can also occur in an order different from that marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. In the descriptions corresponding to the flowcharts and block diagrams in the accompanying drawings, the operations or steps corresponding to different boxes can also occur in an order different from that disclosed in the description, and sometimes there is no specific order between different operations or steps. For example, two consecutive operations or steps can actually be executed substantially in parallel, or they can sometimes be executed in the opposite order, which can depend on the functions involved. Each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented by a dedicated hardware-based system that performs the specified function or action, or may be implemented by a combination of dedicated hardware and computer instructions.

Claims

1. A vehicle gear control method, characterized in that: Applied to a vehicle terminal, the vehicle terminal includes a plurality of sensor groups, the sensor group includes a gear position sensor, and the method includes: Performing fault detection on each of the sensor groups respectively to obtain a fault detection result of each of the sensor groups; If the fault detection result includes both a normal working state and a fault state, the sensor group in the normal working state is determined as the normal working group; Acquire normal gear position signals from the normal working group multiple times, and determine the alternative vehicle gear positions corresponding to each normal gear position signal from the preset vehicle gear positions of the vehicle terminal, wherein the normal gear position signal is obtained by collecting sensor signals output by each gear position sensor in the normal working group in response to the gear shift operation corresponding to the vehicle terminal; A first switching gear is determined from the preset vehicle gears according to the comparison results between the alternative vehicle gears, so as to control the vehicle terminal to switch to the first switching gear.

2. The method according to claim 1, characterized in that Before respectively performing fault detection on each sensor group in the vehicle terminal to obtain the fault detection result of each sensor group, the method further includes: Acquire a sensor base, wherein the sensor base includes a plurality of first base areas, wherein if the gear position sensor is located in the first base area, the gear position sensor outputs a first voltage signal; Disposing each gear position sensor in each sensor group in a different first base area, and recording the area position of each gear position sensor; According to the area positions, respectively determining second base areas corresponding to the preset vehicle gear positions from the first base areas; The sensor signals output by each gear sensor are determined respectively according to the first base area and the second base area corresponding to different preset vehicle gear positions, and the gear signal threshold corresponding to each preset vehicle gear position is obtained, and the single group signal threshold corresponding to each sensor group is determined from the gear signal threshold, wherein in the same sensor group, the single group signal threshold corresponding to each preset vehicle gear position is different.

3. The method according to claim 2, characterized in that The method further comprises: The preset vehicle gear position includes a reference vehicle gear position and a plurality of target vehicle gear positions; If it is detected that the sensor signal output by each of the gear sensors switches from the gear signal threshold corresponding to the reference vehicle gear to the gear signal threshold corresponding to any target vehicle gear, it is determined that the vehicle terminal performs a gear shift operation.

4. The method according to claim 3, characterized in that The normal gear position signal is obtained from the normal working group for multiple times, including: Preset the number of signal acquisition times; In response to the gear shift operation corresponding to the vehicle terminal, the sensor signals output by each gear position sensor in the normal working group are collected to obtain a normal gear position signal, and a prompt is given to perform the gear shift operation again until the signal acquisition times are met.

5. The method according to claim 4, characterized in that Determining the candidate vehicle gear positions corresponding to the normal gear position signals from the preset vehicle gear positions of the vehicle terminal respectively includes: The signal thresholds of each single group corresponding to the normal working group are matched according to the normal gear position signal, and the candidate vehicle gear position corresponding to the normal gear position signal is determined from the preset vehicle gear positions according to the matching result.

6. The method according to claim 4, characterized in that The alternative vehicle gear position corresponding to the normal gear position signal is determined by the following method, including: If the number of the normal working groups is one, matching the single signal thresholds corresponding to the normal working groups according to the normal gear position signal, and determining the candidate vehicle gear position corresponding to the normal gear position signal from the preset vehicle gear positions according to the matching result; If there are multiple normal working groups, the normal gear position signal is split into working sub-signals corresponding to each of the normal working groups, and the single group signal threshold corresponding to the working sub-signal is matched according to each of the working sub-signals, and the second vehicle gear position corresponding to each of the working sub-signals is determined from each of the preset vehicle gear positions according to the matching result; If any two second vehicle gear positions are the same, the second vehicle gear position is used as the alternative vehicle gear position corresponding to the normal gear position signal; If there are two different second vehicle gear positions, the reference vehicle gear position is used as the candidate vehicle gear position corresponding to the normal gear position signal.

7. The method according to claim 5, characterized in that Determining the first vehicle gear position according to the comparison results between the candidate vehicle gear positions includes: If the comparison results between any two candidate vehicle gear positions are the same, the candidate vehicle gear position is used as the first vehicle gear position; If the comparison results between any two candidate vehicle gear positions are different, the reference vehicle gear position is used as the first vehicle gear position.

8. The method according to claim 3, characterized in that After performing fault detection on each sensor group in the vehicle terminal and obtaining the fault detection result of each sensor group, the method further includes: If the fault detection results are all in normal working state, in response to the gear shifting operation corresponding to the vehicle terminal, the sensor signal corresponding to each gear position sensor is acquired to obtain a complete gear position signal; According to the complete gear signal, the gear signal threshold corresponding to each preset vehicle gear is matched respectively, and according to the matching result, the third vehicle gear corresponding to the complete gear signal is determined from each preset vehicle gear to control the vehicle terminal to switch to the third vehicle gear.

9. The method according to claim 8, characterized in that Matching the gear signal thresholds corresponding to each preset vehicle gear respectively according to the complete gear signal, and determining the third vehicle gear corresponding to the complete gear signal from each preset vehicle gear according to the matching result, including: Determining a single group of gear position signals corresponding to each of the sensor groups from the complete gear position signals; Matching the gear signal threshold corresponding to the single gear signal according to each of the single gear signals, and determining the fourth vehicle gear corresponding to each of the single gear signals from the preset vehicle gears according to the matching result; If any two fourth vehicle gear positions are the same, the fourth vehicle gear position is determined as the third vehicle gear position corresponding to the complete gear position signal; If there are differences between the two fourth vehicle gear positions, the reference vehicle gear position is determined to be the third vehicle gear position corresponding to the complete gear position signal.

10. The method according to claim 3, characterized in that After performing fault detection on each sensor group in the vehicle terminal and obtaining the fault detection result of each sensor group, the method further includes: If the fault detection results are all fault states, the vehicle terminal is switched to the reference vehicle gear position, and a gear abnormality reminder is issued.

11. The method according to any one of claims 1 to 10, characterized in that: Performing fault detection on each sensor group in the vehicle terminal respectively to obtain the fault detection result of each sensor group includes: Acquire a factor to be detected of the sensor group and a duration of a state corresponding to the factor to be detected, wherein the factor to be detected includes one or more of a vehicle power state of the vehicle terminal, a power supply voltage corresponding to the sensor group, a sensor signal corresponding to each gear position sensor in the sensor group, and a current vehicle gear position corresponding to the sensor group, wherein the current vehicle gear position is determined by a sensor signal corresponding to each gear position sensor in the sensor group; Matching the factor to be detected and / or the duration of the state according to preset working conditions; If the factors to be detected and / or the duration of the state both meet the preset working conditions, the fault detection result of the sensor group is determined as a normal working state; If there are factors to be detected and / or the duration of the state does not satisfy the preset working conditions, the fault detection result of the sensor group is determined as a fault state.

12. A vehicle gear control system, characterized in that: Applied to a vehicle terminal, the vehicle terminal includes a plurality of sensor groups, the sensor group is composed of a gear position sensor, and the system includes: A detection module, used to perform fault detection on each of the sensor groups respectively to obtain a fault detection result of each of the sensor groups; A determination module, configured to determine the sensor group in the normal working state as the normal working group if both the normal working state and the fault state exist in the fault detection result; an acquisition module, configured to acquire normal gear position signals from the normal working group for multiple times, and respectively determine the candidate vehicle gear positions corresponding to each normal gear position signal from the preset vehicle gear positions of the vehicle terminal, wherein the normal gear position signal is acquired by collecting sensor signals output by each gear position sensor in the normal working group in response to a gear shift operation corresponding to the vehicle terminal; A control module is used to determine a first switching gear from the preset vehicle gears according to a comparison result between the candidate vehicle gears, so as to control the vehicle terminal to switch to the first switching gear.

13. An electronic device, characterized in that: include: Processor and memory; The memory is used to store a computer program, and the processor is used to execute the computer program stored in the memory, so that the electronic device executes the method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 11 is implemented.

Citation Information

Patent Citations

  • Control method and device for switching redundant signals of driver controller

    CN107643682A

  • Control method for automatic driving, control device and vehicle

    CN111316181A

  • Arrangement for reading off predetermined positions of a gear lever in a gear selector in a vehicle

    CN109790917A

  • Control method and controller of automobile electronic gear shifter

    CN115126860A

  • Automobile gear identification and diagnosis method and device, electronic equipment and computer readable storage medium

    CN115384531A