Test methods, devices, storage media and processors for vehicle electronic gear shifters

By sending operating condition simulation signals to the electronic shifter control unit to simulate faults and receiving response signals, the problem of low detection efficiency in the electronic shifter fault diagnosis function is solved, and simple and efficient fault diagnosis is achieved.

CN115615716BActive Publication Date: 2026-03-13CHINA FAW CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-10-18
Publication Date
2026-03-13

AI Technical Summary

Technical Problem

The existing technology for fault diagnosis of electronic gear shifters has low detection efficiency, and the detection methods are not simple enough and costly.

Method used

By sending operating condition simulation signals to the electronic shifter control unit, simulating faults and receiving response signals, the test results are determined based on the response signals, eliminating the need for real vehicle testing and simulation environment setup.

Benefits of technology

It enables simple and efficient fault diagnosis, improves the efficiency of electronic gear shifter fault diagnosis, and makes the device more automated.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115615716B_ABST
    Figure CN115615716B_ABST
Patent Text Reader

Abstract

This invention discloses a testing method, apparatus, storage medium, and processor for a vehicle electronic gear shifter. The method includes: sending a simulated operating condition signal to the electronic gear shifter control unit; simulating a fault in the electronic gear shifter in response to the simulated operating condition signal; receiving a response signal from the electronic gear shifter control unit, wherein the response signal indicates the operation performed by the electronic gear shifter control unit after the simulated fault in the electronic gear shifter; and determining a test result for the electronic gear shifter based on the response signal, wherein the test result indicates whether the operation was the expected operation. This invention solves the technical problem of low detection efficiency in the fault diagnosis function of electronic gear shifters.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of electronic gear shifter technology, and more specifically, to a testing method, apparatus, storage medium, and processor for a vehicle electronic gear shifter. Background Technology

[0002] With the rapid development of intelligent connected vehicles in today's era, the electronic gear shifter, as an important accessory of intelligent connected vehicles, plays a crucial role. Therefore, testing the fault diagnosis function of the electronic gear shifter is particularly important.

[0003] Currently, when testing the fault diagnosis function of electronic gear shifters, diagnostic tools or simulated environments can be used. However, the equipment used in this testing method is not simple enough and the cost is high, resulting in low testing efficiency for the fault diagnosis function of electronic gear shifters.

[0004] There is currently no effective solution to the problem of low detection efficiency in the fault diagnosis function of the electronic gear shifter. Summary of the Invention

[0005] This invention provides a testing method, apparatus, storage medium, and processor for vehicle electronic gear shifters, to at least address the technical problem of low testing efficiency in the fault diagnosis function of electronic gear shifters.

[0006] According to one aspect of the present invention, a testing method for a vehicle electronic gear shifter is provided. The method may include: sending a driving condition simulation signal to an electronic gear shifter control unit; receiving a response signal from the electronic gear shifter control unit in response to a simulated fault in the electronic gear shifter caused by the driving condition simulation signal, wherein the response signal is used to indicate the operation performed by the electronic gear shifter control unit after responding to the simulated fault in the electronic gear shifter caused by the driving condition simulation signal; and determining a test result of the electronic gear shifter based on the response signal, wherein the test result is used to indicate whether the operation was the expected operation.

[0007] Optionally, sending a working condition simulation signal to the electronic shifter control unit includes: establishing simulation environment variables; generating a working condition simulation signal based on the simulation environment variables, wherein the working condition simulation signal is used to simulate at least one of an electronic shifter shift lever malfunction and an electronic shifter control unit communication malfunction; matching the working condition simulation signal with multiple preset controls to determine a target control, wherein each of the multiple preset controls corresponds to a malfunction of the electronic shifter; and sending an instruction to the target control, wherein the instruction is used to instruct the target control to send the working condition simulation signal.

[0008] Optionally, determining the test result of the electronic shifter based on the response signal includes: acquiring a reference signal based on the operating condition simulation signal when the electronic shifter control unit performs the expected operation when the electronic shifter malfunctions as simulated by the operating condition simulation signal; determining that the operation of the electronic shifter control unit is the expected operation if the reference signal is consistent with the response signal; and determining that the operation of the electronic shifter control unit is the unexpected operation if the reference signal is inconsistent with the response signal.

[0009] Optionally, when detecting whether the operation of the electronic shift control unit in response to a power supply voltage fault in the electronic shifter is an expected operation, the method further includes: adjusting the power supply voltage to below a first threshold, detecting the operation performed by the electronic shift control unit; and determining that the operation of the electronic shift control unit is an expected operation in response to a fault code reported by the electronic shift control unit.

[0010] Optionally, the method further includes: adjusting the supply voltage to below a second threshold, detecting the operation performed by the electronic shift control unit; and determining that the operation of the electronic shift control unit is the expected operation in response to the cessation of the response signal from the electronic shift control unit.

[0011] Optionally, when the electronic shifter control unit detects a shift paddle malfunction in response to the electronic shifter, the method further includes: adjusting the circuit state of the upshift switch circuit or the downshift switch circuit of the shift paddle to an abnormal circuit state, wherein the abnormal circuit state includes at least one of open circuit and short circuit; and detecting the operation performed by the electronic shifter control unit in the abnormal circuit state.

[0012] According to another aspect of the present invention, a testing system for a vehicle electronic gear shifter is also provided. The testing system includes: a power supply, an electronic gear shifter control unit, and a host computer. The power supply is used to power the electronic gear shifter control unit. The host computer is used to generate a working condition simulation signal and send the working condition simulation signal to the electronic gear shifter control unit, wherein the working condition simulation signal is used to simulate a fault in the electronic gear shifter. The host computer is also used to receive a response signal from the electronic gear shifter control unit and determine the test result of the electronic gear shifter control unit based on the response signal. The test result is used to indicate whether the operation of the electronic gear shifter control unit after responding to a fault in the electronic gear shifter is the expected operation.

[0013] According to another aspect of the present invention, a testing apparatus for a vehicle electronic gear shifter is also provided, comprising: a transmitting module for transmitting a working condition simulation signal to an electronic gear shifter control unit; a receiving module for receiving a response signal from the electronic gear shifter control unit in response to a simulated fault in the electronic gear shifter caused by the working condition simulation signal, wherein the response signal is used to indicate the operation performed by the electronic gear shifter control unit after responding to the simulated fault in the electronic gear shifter caused by the working condition simulation signal; and a determining module for determining a test result of the electronic gear shifter based on the response signal, wherein the test result is used to indicate whether the operation is the expected operation.

[0014] According to another aspect of the present invention, a computer-readable storage medium is also provided. The computer-readable storage medium includes a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to perform the test method for a vehicle electronic gear shifter according to the present invention.

[0015] According to another aspect of the present invention, a processor is also provided. The processor is used to run a program, wherein the program, when running, executes the test method for a vehicle electronic gear shifter according to the embodiments of the present invention.

[0016] According to another aspect of the present invention, a vehicle is also provided for performing the test method of the vehicle electronic shifter of the present invention.

[0017] In this embodiment of the invention, a fault in the electronic gear shifter is simulated by sending a working condition simulation signal to the electronic gear shifter control unit. Then, a response signal from the electronic gear shifter control unit is received, and the test result of the electronic gear shifter is determined based on the received response signal. In other words, the vehicle electronic gear shifter testing method provided by this embodiment of the invention can simulate a fault in the electronic gear shifter by sending a working condition simulation signal to the electronic gear shifter control unit, eliminating the need for actual vehicle testing and the construction of a simulated test environment. The device is simpler, more automated, and achieves the goal of automatically detecting and diagnosing electronic gear shifter faults. This improves the efficiency of electronic gear shifter fault diagnosis and solves the technical problem of low detection efficiency in electronic gear shifter fault diagnosis. Attached Figure Description

[0018] The accompanying drawings, which are included to provide a further understanding of the invention and form part of this application, illustrate exemplary embodiments of the invention and, together with their description, serve to explain the invention and do not constitute an undue limitation thereof. In the drawings:

[0019] Figure 1 This is a flowchart of a test method for a vehicle electronic gear shifter according to an embodiment of the present invention;

[0020] Figure 2This is a schematic diagram of a test system for an electronic gear shifter according to an embodiment of the present invention;

[0021] Figure 3 This is a flowchart illustrating how a host computer generates simulated operating conditions signals according to an embodiment of the present invention.

[0022] Figure 4 This is a schematic diagram of a test device for a vehicle electronic gear shifter according to an embodiment of the present invention. Detailed Implementation

[0023] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.

[0024] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.

[0025] Example 1

[0026] According to an embodiment of the present invention, an embodiment of a test method for a vehicle electronic gear shifter is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.

[0027] Figure 1 This is a flowchart of a test method for a vehicle electronic gear shifter according to an embodiment of the present invention, such as... Figure 1 As shown, the method may include the following steps:

[0028] Step S101: Send a working condition simulation signal to the electronic shifter control unit.

[0029] In the technical solution provided in step S101 of the present invention, the host computer can generate a working condition simulation signal and send the generated working condition simulation signal to the electronic shifter control unit. The working condition simulation signal is used to simulate a fault in the electronic shifter. Based on this, the electronic shifter control unit can receive the working condition simulation signal sent by the host computer. When the electronic shifter controller receives the working condition simulation signal, it responds to the fault in the electronic shifter simulated by the working condition simulation signal.

[0030] Optionally, when generating simulated operating condition signals, the host computer can first establish simulation environment variables, and then generate simulated operating condition signals based on the established simulation environment variables. These simulated operating condition signals are used to simulate at least one of the following: a malfunction in the electronic shifter lever and a communication malfunction in the electronic shifter control unit. After generating the simulated operating condition signals, the host computer can edit preset controls, such that each preset control corresponds to a malfunction of the electronic shifter. In this case, the host computer can match the simulated operating condition signals to be sent with the multiple preset controls, determine the target control that matches the simulated operating condition signals to be sent from the multiple preset controls, and then send the simulated operating condition signals by operating the controls.

[0031] For example, suppose the operating condition simulation signal is used to simulate an electronic shifter fault, which is an electronic shifter lever fault. Based on this, the host computer can search for the preset control corresponding to the fault that matches the electronic shifter lever fault from multiple preset control electronic shifter faults based on the electronic shifter lever fault simulated by the operating condition simulation signal. Then, the found preset control is used as the target control. After that, the host computer can send a command to the target control. After receiving the command, the target control can send the operating condition simulation signal to the electronic shifter control unit.

[0032] Step S102: In response to the simulated fault of the electronic shifter caused by the operating condition simulation signal, a response signal is received from the electronic shifter control unit, wherein the response signal is used to indicate the operation to be performed by the electronic shifter control unit after responding to the simulated fault of the electronic shifter caused by the operating condition simulation signal.

[0033] In the technical solution provided in step S102 of the present invention, as described above, the operating condition simulation signal generated by the host computer can be used to simulate a fault in the electronic shifter. The host computer can send the generated operating condition simulation signal to the electronic shifter control unit. When the electronic shifter control unit receives the operating condition simulation signal, it means that the electronic shifter control unit has responded to the fault of the electronic shifter simulated by the operating condition simulation signal. Based on this, the electronic shifter control unit can feed back its response signal to the host computer after responding to the fault of the electronic shifter. The host computer can receive the response signal fed back by the electronic shifter control unit. After that, the electronic shifter control unit can determine the test result of the electronic shifter based on the received response signal.

[0034] Optionally, after the electronic shifter control unit receives a fault in the electronic shifter simulated by the operating condition simulation signal, it can perform corresponding operations to deal with the fault. At the same time, the electronic shifter control unit can also generate a response signal, which can be used to instruct the electronic shifter control unit to perform the operation after receiving a fault in the electronic shifter simulated by the operating condition simulation signal.

[0035] Step S103: Determine the test result of the electronic shifter based on the response signal, wherein the test result is used to indicate whether the operation of the electronic shifter is the expected operation.

[0036] In the technical solution provided by step S103 of the present invention, as can be seen from the foregoing description, the electronic shifter control unit can feed back a response signal to the host computer. The response signal can be used to instruct the electronic shifter control unit to perform the operation after responding to the fault of the electronic shifter simulated by the working condition simulation signal. Based on this, after receiving the response signal, the host computer can determine the test result of the electronic shifter based on the response signal.

[0037] Optionally, the vehicle stores reference signals when the electronic shifter control unit performs the expected operation when the electronic shifter malfunctions. Based on this, the host computer can obtain the reference signal corresponding to the fault that is consistent with the electronic shifter fault simulated by the operating condition simulation signal from multiple reference signals pre-stored in the vehicle, based on the electronic shifter fault simulated by the operating condition simulation signal. After obtaining the reference signal, the host computer can determine the test result of the electronic shifter based on the obtained reference signal and the received response signal.

[0038] Optionally, the host computer can compare the reference signal with the response signal. When the response signal matches the reference signal, it can be determined that the operation of the electronic shifter control unit is the expected operation. When the response signal does not match the reference signal, it can be determined that the operation of the electronic shifter control unit is the unexpected operation.

[0039] Optionally, when detecting the operation performed by the electronic shifter control unit in response to a power supply voltage fault, the power supply voltage can be adjusted to simulate a power supply voltage fault. Then, by analyzing the response signal of the electronic shifter control unit in response to a power supply voltage fault, it can be determined whether the operation performed by the electronic shifter control unit in response to a power supply voltage fault is the expected operation.

[0040] For example, the power supply voltage can be adjusted to below a first threshold to detect the operation performed by the electronic shift control unit. If a fault code is reported by the electronic shift control unit, the operation performed by the electronic shift control unit is determined to be the expected operation. Conversely, if no fault code is reported by the electronic shift control unit, the operation performed by the electronic shift control unit is determined to be the unexpected operation.

[0041] Optionally, the power supply voltage can be adjusted to below a second threshold to detect the operation performed by the electronic shifter control unit. If the response signal from the electronic shifter control unit stops being sent, it is determined that the operation of the electronic shifter control unit is the expected operation. If the response signal from the electronic shifter control unit stops being sent, it is determined that the operation of the electronic shifter control unit is the unexpected operation, that is, the electronic shifter has malfunctioned.

[0042] Optionally, when a paddle shifter malfunction occurs in the electronic shifter, and the electronic shifter control unit is checking the operations it performs, the circuit state of the upshift switch circuit or downshift switch circuit of the electronic shifter's paddle shifter can be adjusted to an abnormal circuit state to simulate a paddle shifter malfunction. Then, by checking the operations performed by the electronic shifter control unit under the abnormal circuit state, it can be determined whether the operations performed by the electronic shifter are the expected operations. The abnormal circuit state includes at least one of open circuit or short circuit.

[0043] In steps S101 to S103 of this application, a fault in the electronic gear shifter is simulated by sending a working condition simulation signal to the electronic gear shifter control unit. Then, a response signal from the electronic gear shifter control unit is received, and the test result of the electronic gear shifter is determined based on the received response signal. In other words, the vehicle electronic gear shifter testing method provided by this embodiment of the invention can simulate a fault in the electronic gear shifter by sending a working condition simulation signal to the electronic gear shifter control unit. This eliminates the need for actual vehicle testing and the construction of a simulated test environment. The device is simpler, more automated, and achieves the goal of automatically detecting and diagnosing electronic gear shifter faults. This improves the efficiency of electronic gear shifter fault diagnosis and solves the technical problem of low detection efficiency in electronic gear shifter fault diagnosis.

[0044] The method described in this embodiment will be further described below.

[0045] As an optional embodiment, step S101, sending a working condition simulation signal to the electronic shifter control unit, includes: establishing simulation environment variables; generating a working condition simulation signal based on the simulation environment variables, wherein the working condition simulation signal is used to simulate at least one of a fault in the electronic shifter shift lever and a communication fault in the electronic shifter control unit; matching the working condition simulation signal with multiple preset controls to determine a target control, wherein each preset control corresponds to a fault in the electronic shifter.

[0046] Optionally, when generating the operating condition simulation signal, the host computer can first establish a simulation environment variable, which can be a preset path. After generating the environment variable, the host computer can generate the operating condition simulation signal based on the generated simulation environment variable, that is, generate the operating condition simulation signal simulating an electronic shifter fault under the preset path. The operating condition simulation signal is used to simulate at least one of the electronic shifter shift lever fault and the electronic shifter control unit communication fault. After generating the operating condition simulation signal, preset controls can also be edited so that each preset control corresponds to a fault of the electronic shifter. Then, the generated simulated operating condition signal is matched with multiple preset controls to determine the target control. Then, an instruction can be sent to the target control, wherein the instruction is used to instruct the target control to send the operating condition simulation signal.

[0047] Optionally, as described above, the operating condition simulation signal can be used to simulate at least one of the following: a fault in the electronic shift lever and a communication fault in the electronic shift control unit. The fault in the electronic shift lever simulated by the operating condition simulation signal can include faults such as low voltage fault, overvoltage fault, P gear fault, and fault in the lever unlocking mechanism. The communication fault in the electronic shift control unit simulated by the operating condition simulation signal can include powertrain controller area network (PT-CAN) communication fault and local interconnect network (LIN) fault.

[0048] For example, consider any fault in the electronic shifter lever, such as a low-voltage fault. After the host computer generates a simulated operating condition signal corresponding to the low-voltage fault, it can search for a corresponding preset control among multiple preset controls. This found preset control is then used as the target control for the low-voltage fault. A command is then sent to this target control. Upon receiving the command, the target control can send a simulated operating condition signal to the electronic shifter control unit, which simulates the low-voltage fault. Using this method, the host computer can send various simulated operating condition signals corresponding to different electronic shifter lever faults to the electronic shifter control unit.

[0049] For example, when the operating condition simulation signal is used to simulate a PT-CAN bus fault, the host computer can simulate a PT-CAN bus error by stopping the transmission of all messages received by the electronic shifter control unit. For instance, it can simulate stopping the transmission of messages from the Anti-lock Braking System (ABS), the Transmission Control Unit (TCU), and the instrument cluster, thereby simulating a PT-CAN bus fault. After simulating the fault, the host computer can send the operating condition simulation signal to the electronic shifter control unit according to the method described above.

[0050] For example, when the operating condition simulation signal is used to simulate a LIN bus fault, it can simulate a short circuit, open circuit, or closed circuit to ground on the LIN bus to simulate a LIN bus fault. After simulating the fault, the host computer can send the operating condition simulation signal to the electronic shifter control unit according to the method described above.

[0051] Optionally, after responding to a simulated electronic shifter fault by various operating condition simulation signals, the electronic shifter control unit can send a response signal to the host computer. This response signal is used to instruct the electronic shifter control unit to perform the operation after responding to the simulated electronic shifter fault by the operating condition simulation signals.

[0052] Optionally, the power supply voltage of the electronic shifter control unit can also be adjusted to simulate a power supply voltage fault in the electronic shifter. For example, the power supply voltage can be adjusted to below a first threshold or below a second threshold to simulate a power supply voltage fault in the electronic shifter. The first and second thresholds can be preset; for example, the first threshold can be 9V and the second threshold can be 6V, without specific limitations.

[0053] Optionally, the power supply voltage can be adjusted to a level above the third threshold or the fourth threshold to simulate a power supply voltage fault in the electronic shifter. The third and fourth thresholds can be preset, for example, the third threshold can be 15V and the fourth threshold can be 20V.

[0054] Optionally, the upshift switch circuit and downshift switch circuit of the shift paddles in the electronic shifter control unit can be adjusted to simulate a shift paddle malfunction in the electronic shifter. For example, the circuit state of the upshift switch circuit or downshift switch circuit of the electronic shifter can be adjusted to short-circuit to ground or open-circuit to ground to simulate a shift paddle malfunction in the electronic shifter.

[0055] As an optional embodiment, step S103, determining the test result of the electronic shifter based on the response signal, includes: acquiring a reference signal simulated by the operating condition simulation signal when the electronic shifter control unit performs the expected operation when the electronic shifter malfunctions; determining that the operation of the electronic shifter control unit is the expected operation if the reference signal is consistent with the response signal; and determining that the operation of the electronic shifter control unit is the unexpected operation if the reference signal is inconsistent with the response signal.

[0056] In this embodiment, after receiving the response signal from the electronic shifter, the host computer can determine whether the operation performed by the electronic shifter when the fault occurs is the expected operation based on the response signal and the operation expected to be performed by the electronic shifter when the fault occurs corresponding to the operating condition simulation signal.

[0057] Optionally, the vehicle stores reference signals when the electronic shifter control unit performs the expected operation when the electronic shifter malfunctions. Based on this, the host computer can obtain the reference signal corresponding to the fault that is consistent with the electronic shifter fault simulated by the operating condition simulation signal from multiple reference signals pre-stored in the vehicle, based on the electronic shifter fault simulated by the operating condition simulation signal. After obtaining the reference signal, the host computer can determine the test result of the electronic shifter based on the obtained reference signal and the received response signal.

[0058] Optionally, the host computer can compare the reference signal with the response signal. When the response signal matches the reference signal, it can be determined that the operation of the electronic shifter control unit is the expected operation. When the response signal does not match the reference signal, it can be determined that the operation of the electronic shifter control unit is the unexpected operation.

[0059] For example, suppose the simulated fault of the electronic shifter is a low voltage fault in the shift lever. When a low voltage fault occurs in the shift lever, the expected action of the electronic shifter control unit is to report a fault code and send an error signal to the instrument panel, which will illuminate a warning indicator. Based on this, the host computer can analyze the received response signal to determine whether the operation indicated by the response signal is consistent with the expected operation of the electronic shifter control unit. If they are consistent, it means that the electronic shifter control unit can operate as expected after responding to the fault, that is, the electronic shifter control unit is in normal working condition. Conversely, if the operation indicated by the response signal is inconsistent with the expected operation of the electronic shifter control unit, it means that the electronic shifter control unit cannot operate as expected after responding to the fault, that is, the electronic shifter control unit is in abnormal working condition.

[0060] Optionally, if the electronic shifter control unit is determined to be in an abnormal operating state—that is, the electronic shifter control unit fails to operate as expected after responding to a fault—then the logs generated by the electronic shifter control unit during operation can be obtained and analyzed to pinpoint the cause of the fault. Using the same method, the host computer can analyze various faults reported by the electronic shifter control unit to determine the test results of the electronic shifter.

[0061] Optionally, when the electronic shifter experiences a power supply voltage fault, and the response signal of the electronic shifter control unit is detected, the reference signal corresponding to when the electronic shifter control unit performs the expected operation when the power supply voltage fault occurs can be obtained first, and then the test result of the electronic shifter can be determined based on the reference signal and the received response signal.

[0062] For example, suppose the power supply voltage of the electronic shifter is lower than a first threshold. In this case, the host computer can first obtain the reference signal corresponding to the expected operation of the electronic shifter control unit when the power supply voltage of the electronic shifter is lower than the first threshold from the reference signal pre-stored in the vehicle. Assuming that the expected operation indicated by the reference signal is reporting a fault code, the host computer can compare the operation indicated by the received response signal with the operation indicated by the reference signal to determine the test result of the electronic shifter control unit. Specifically, if the fault code reported by the electronic shifter control unit matches the fault code contained in the reference signal, the operation of the electronic shifter control unit is determined to be the expected operation. Conversely, if the fault code reported by the electronic shifter control unit does not match the fault code contained in the reference signal, or if the electronic shifter control unit does not report a fault code, the operation of the electronic shifter control unit is determined to be an unexpected operation. According to this method, it can be determined whether the operation performed by the electronic shifter control unit when the electronic shifter experiences a power supply voltage fault is the expected operation.

[0063] Optionally, when the electronic shifter experiences a communication failure, when detecting the response signal of the electronic shifter control unit, the reference signal corresponding to when the electronic shifter control unit performs the expected operation when the communication failure occurs can be obtained first, and then the test result of the electronic shifter can be determined based on the reference signal and the received response signal.

[0064] For example, suppose the communication fault caused by the electronic shifter is a PT-CAN bus fault. In this case, the host computer can first obtain the reference signal corresponding to the expected operation of the electronic shifter control unit when the PT-CAN bus fault value is generated by the electronic shifter from the reference signal pre-stored in the vehicle. Assuming that the expected operation indicated by the reference signal is to report a fault code and send an error signal to the instrument panel, the host computer can compare the operation indicated by the received response signal with the operation indicated by the reference signal to determine the test result of the electronic shifter control unit. Specifically, when the fault code reported by the electronic shifter control unit is consistent with the fault code contained in the reference signal and an error signal is sent to the instrument panel, the operation of the electronic shifter control unit is determined to be the expected operation. Conversely, when the fault code reported by the electronic shifter control unit is inconsistent with the fault code contained in the reference signal, or the electronic shifter control unit does not report a fault code, or does not send an error signal to the instrument panel, the operation of the electronic shifter control unit is determined to be the unexpected operation. Based on this method, it can be determined whether the operation performed by the electronic shifter control unit when a communication failure occurs in the electronic shifter is the expected operation.

[0065] In this embodiment, a fault in the electronic gear shifter is simulated by sending a working condition simulation signal to the electronic gear shifter control unit. Then, a response signal from the electronic gear shifter control unit is received, and the test result of the electronic gear shifter is determined based on the received response signal. In other words, the vehicle electronic gear shifter testing method provided by this embodiment can simulate a fault in the electronic gear shifter by sending a working condition simulation signal to the electronic gear shifter control unit, eliminating the need for actual vehicle testing and the construction of a simulated test environment. The device is simpler, more automated, and achieves the goal of automatically detecting and diagnosing electronic gear shifter faults. This improves the efficiency of electronic gear shifter fault diagnosis and solves the technical problem of low detection efficiency in electronic gear shifter fault diagnosis.

[0066] Example 2

[0067] The technical solutions of the embodiments of the present invention will be illustrated below with reference to preferred embodiments.

[0068] Currently, with the rapid development of intelligent connected vehicles, the electronic gear shifter, as an important accessory, plays a crucial role in intelligent connected vehicles. Therefore, when the electronic gear shifter malfunctions, it is particularly important whether it can operate as expected to maintain the basic operation of the vehicle.

[0069] Therefore, in order to overcome the above problems, there are methods for diagnosing faults in the electronic shifter of intelligent connected vehicles in related technologies. For example, diagnostic tools or a simulation environment can be used to test the operation mode of the electronic shifter after responding to a fault, so as to determine whether the electronic shifter can operate as expected after a fault occurs. However, the device for this testing method is not simple enough and the cost is high, which makes the detection efficiency of the fault diagnosis function of the electronic shifter low.

[0070] However, this invention proposes a testing method for a vehicle electronic gear shifter. A host computer can generate a simulated operating condition signal, which can be used to simulate a fault in the electronic gear shifter. The host computer can send the generated simulated operating condition signal to the electronic gear shifter control unit. When the electronic gear shifter control unit receives the simulated operating condition signal from the host computer, i.e., responds to a fault in the electronic gear shifter, the electronic gear shifter control unit then feeds back a response signal to the host computer. This response signal can be used to indicate the operation performed by the electronic gear shifter control unit after responding to the simulated fault in the electronic gear shifter. Based on this, after receiving the response signal from the electronic gear shifter, the host computer can determine the test result of the electronic gear shifter based on the response signal. The test result can be used to indicate whether the operation of the electronic gear shifter control unit is the expected operation. This method simulates faults in the electronic shifter by using operating condition simulation signals, eliminating the need for real vehicle testing and the construction of a simulation test environment. The device is simpler and more automated, achieving the goal of automatically detecting and diagnosing electronic shifter faults. This improves the efficiency of electronic shifter fault diagnosis and solves the technical problem of low detection efficiency in electronic shifter fault diagnosis.

[0071] The following describes the testing system used in the testing method for the electronic gear shifter provided in the embodiments of the present invention. Figure 2 This is a schematic diagram of a test system for an electronic gear shifter according to an embodiment of the present invention, as shown below. Figure 2 As shown, the test system may include a power supply 201, an electronic shifter control unit 202, and a host computer 203. The power supply 201 is connected to the electronic shifter control unit 202 and is used to supply power to the electronic shifter control unit 202. The host computer 203 is connected to the electronic shifter control unit 202 and is used to generate operating condition simulation signals and send the operating condition simulation signals to the electronic shifter control unit 202. The electronic shifter control unit 202 is mainly used to receive the operating condition simulation signals and to feed back corresponding response signals based on the electronic shifter faults simulated by the operating condition simulation signals. The host computer 203 is also used to receive the response signals fed back by the electronic shifter control unit 202 and to determine the test results of the electronic shifter control unit 202 based on the response signals.

[0072] Figure 3 This is a flowchart illustrating how a host computer generates simulated operating condition signals according to an embodiment of the present invention, such as... Figure 3 As shown, the method may include the following steps:

[0073] Step S301: Set environment variables.

[0074] Step S302: Edit message information.

[0075] In this embodiment, the host computer can edit message information based on the set environmental variables. This message information is the operating condition simulation signal, which is used to simulate a fault in the electronic shifter.

[0076] Step S303: Edit panel controls.

[0077] In this embodiment, the host computer can add controls to the control panel and set a fault for each control.

[0078] Step S304: Matching signal.

[0079] In this embodiment, the host computer can match the generated operating condition simulation signal with the controls on the panel based on the fault simulated by the operating condition simulation signal and the fault corresponding to the controls on the panel, determine the target control that matches the operating condition simulation signal, and send the operating condition simulation signal to the electronic shifter control unit through the target control.

[0080] The following section introduces several test methods for fault diagnosis functions of the electronic shifter control unit.

[0081] The first method involves testing the electronic shifter control unit's diagnostic capabilities for electrical faults.

[0082] When a vehicle experiences battery aging or an open circuit fault occurs between the wiring and connectors, the power supply voltage to the electronic shift control unit will change. In this situation, the electronic shift control unit can perform corresponding operations after responding to the fault. In this embodiment of the invention, this electrical fault can be created by adjusting the power supply voltage. The host computer can observe in real time the changes in the feedback signal from the electronic shift control unit after responding to the fault, and then determine whether the electronic shift control unit is operating as expected based on the signal changes. For example, assuming the normal operating voltage of an electronic gear shifter is around 12V, an electrical fault can be created by adjusting the supply voltage to below 9V. The changes in signals monitored by the host computer can then be used to determine whether the electronic gear shifter control unit (EFS) detects this fault and receives a fault code. If the EFS responds to the low-voltage fault and receives the reported fault code, it indicates that the EFS is operating as expected. Conversely, if it doesn't, it indicates that the EFS is not operating as expected. In this case, logs generated during the EFS's operation can be extracted and analyzed to pinpoint the reason for the non-operational behavior. Similarly, the supply voltage can be adjusted to above 15V, and the changes in signals monitored by the host computer can be observed to determine whether the EFS receives an overvoltage fault and reports a fault code. This allows for assessment of whether the EFS operates as expected after responding to the overvoltage fault.

[0083] Optionally, the power supply voltage can be adjusted to below 9V or above 20V to detect whether the electronic shifter control unit stops sending messages, thereby determining whether the electronic shifter control unit is operating as expected.

[0084] The second method involves testing the electronic shifter control unit's diagnostic function for shift lever malfunctions.

[0085] In this embodiment, the signal interaction between the gear shift lever and the electronic gear shifter can be simulated using a host computer to simulate messages. Based on this, the gear shift lever malfunction can be simulated by modifying the signals received by the electronic gear shifter, eliminating the need for a real gear shift lever connector and simplifying the testing equipment. For example, simulation environment variables can be established first, and then simulation messages can be generated based on these variables. Panel controls can then be edited so that each control corresponds to a specific fault. The gear shift lever malfunction signal to be sent can then be matched with the controls to determine the corresponding control. By operating the control, the gear shift lever malfunction signal can be sent to the electronic gear shifter control unit. The gear shift lever malfunction signal can be used to simulate a low-voltage fault, an overvoltage fault, a faulty P-file component, or a faulty unlock button. After the handle fault signal is sent to the electronic shifter control unit, the host computer can observe whether the electronic shifter control unit reports the corresponding fault code and sends an error signal to the instrument IC, and whether the instrument IC illuminates the alarm indicator. If no fault code is reported by the electronic shifter control unit, and no error signal is detected from the control unit to the instrument IC, it indicates that the electronic shifter controller is not operating as expected. In this case, the logs generated during the operation of the electronic shifter control unit can be extracted, and the extracted logs can be analyzed to locate the reason why the electronic shifter control unit is not operating as expected.

[0086] The third method involves testing the electronic shifter control unit's diagnostic function for paddle shifter malfunctions.

[0087] In this embodiment, the upshift switch circuit of the electronic shifter can be short-circuited to ground, short-circuited to the power supply, or open-circuited; or the downshift switch circuit of the electronic shifter can be short-circuited to ground, short-circuited to the power supply, or open-circuited. This simulates a paddle shifter malfunction, allowing observation of whether the electronic shifter control unit sends an error signal to the instrument panel and whether the manual shift switch error signal is set. Simultaneously, it can also detect whether the electronic shifter control unit can continue to control gear shifting when a paddle shifter malfunction occurs. Based on the observed signals, it can be determined whether the electronic shifter control unit can operate according to the expected mode after responding to the paddle shifter malfunction.

[0088] The fourth method is to test the electronic shifter control unit's diagnostic function for communication faults.

[0089] In this embodiment, the host computer can generate operating condition simulation signals to simulate communication failures. For example, the host computer can simulate a PT-CAN bus error by stopping the transmission of all messages received by the electronic shifter control unit (EFB). Then, it observes whether the fault code reported by the EEB matches the expected one, and whether the current gear position of the EEB changes and whether the control unit sends an error signal to the instrument IC when a PT-CAN bus error occurs. If the fault code reported by the control unit does not match the expected fault code, or if the control unit does not send an error signal to the instrument IC, it indicates that the control unit is not operating as expected. In this case, the logs generated during the operation of the EEB can be extracted and analyzed to pinpoint the reason why the EEB does not operate as expected.

[0090] Optionally, the host computer can also simulate a gateway CAN bus open-circuit fault. That is, the host computer can simulate the cessation of message transmission from other control units that have a communication connection with the electronic shifter control unit. These other control units can be the transmission control unit, the shift lever control unit, the instrument control unit, etc. This can achieve the cessation of message transmission received by the control unit. In this case, by observing whether the fault code sent by the control unit received by the host computer is consistent with the expectation, and whether the received vehicle speed signal and IC signal are invalid values, it can be determined whether the electronic shifter control unit operates in the expected manner when responding to the communication fault.

[0091] Optionally, the host computer can also simulate a LIN bus fault in the electronic shifter control unit, and can short-circuit, open-circuit, or disconnect the LIN bus to ground, thereby observing whether the mode request signal sent by the control unit is in limp home mode. At the same time, it can detect whether the control unit sends an error signal to the instrument IC, and whether the error status of the P and unlock keys is set. If the observed signals do not match the expectations, the logs generated during the operation of the electronic shifter control unit can be extracted, and the extracted logs can be analyzed to locate the reason why the electronic shifter control unit does not perform according to the expected operation mode.

[0092] Optionally, the host computer can also simulate communication failures between the gear shift lever and the electronic shifter control unit. For example, the host computer can disable message transmission from the gear shift lever to simulate a communication failure between the gear shift lever and the electronic shifter controller. Furthermore, the host computer can also simulate message content errors in the gear shift actuator, transmission control unit, and instrument cluster by changing the message cycle sent by these components. After simulating the corresponding fault, the accuracy of the fault codes reported by the control unit can be observed, as well as whether the mode request signal sent by the control unit is in limp-home mode. If the control unit's operation is inconsistent with expectations, the logs generated during the operation of the electronic shifter control unit can be extracted and analyzed to pinpoint the reason why the electronic shifter control unit is not operating as expected.

[0093] In this embodiment of the invention, a testing method for a vehicle electronic gear shifter is proposed. The method simulates a fault in the electronic gear shifter by simulating fault signals or creating a fault. Then, the test result is determined by analyzing the signals reported by the electronic gear shifter control unit. In other words, the vehicle electronic gear shifter testing method provided by this embodiment can simulate a fault in the electronic gear shifter by simulating fault signals or creating a fault, eliminating the need for actual vehicle testing and the construction of a simulated test environment. The device is simpler and more automated, achieving the goal of automatically detecting and diagnosing electronic gear shifter faults. This improves the efficiency of electronic gear shifter fault diagnosis and solves the technical problem of low detection efficiency in electronic gear shifter fault diagnosis.

[0094] Example 3

[0095] According to an embodiment of the present invention, an apparatus for processing vehicle logs is also provided. It should be noted that this apparatus for processing vehicle logs can be used to execute the vehicle log processing method of Embodiment 1.

[0096] Figure 4 This is a schematic diagram of a test apparatus for a vehicle electronic gear shifter according to an embodiment of the present invention. Figure 4 As shown, the test device 400 for a vehicle electronic gear shifter may include: a sending module 401, a receiving module 402, and a determining module 403.

[0097] The transmitting module 401 is used to send operating condition simulation signals to the electronic shifter control unit;

[0098] The receiving module 402 is used to receive a response signal from the electronic shifter control unit in response to a fault simulated by the operating condition simulation signal. The response signal is used to indicate the operation performed by the electronic shifter control unit after responding to the fault simulated by the operating condition simulation signal.

[0099] The determination module 403 is used to determine the test result of the electronic shifter based on the response signal. The test result is used to indicate whether the operation is the expected operation.

[0100] Optionally, the sending module 401 includes: a simulation unit for establishing simulation environment variables; a generation unit for generating a working condition simulation signal based on the simulation environment variables, wherein the working condition simulation signal is used to simulate at least one of an electronic shift lever malfunction and an electronic shift control unit communication malfunction; a matching unit for matching the working condition simulation signal with multiple preset controls to determine a target control, wherein each of the multiple preset controls represents a malfunction of the electronic shifter; and a sending unit for sending an instruction to the target control, wherein the instruction instructs the target control to send the working condition simulation signal.

[0101] Optionally, the determining module 403 includes: an acquisition unit, configured to acquire, based on the operating condition simulation signal, a reference signal when the electronic shifter control unit performs the expected operation when the electronic shifter malfunctions as simulated by the operating condition simulation signal; a first determining unit, configured to determine that the operation of the electronic shifter control unit is the expected operation if the reference signal and the response signal are consistent; and a second determining unit, configured to determine that the operation of the electronic shifter control unit is the unexpected operation if the reference signal and the response signal are inconsistent.

[0102] Optionally, when detecting whether the operation of the electronic shift control unit in response to a power supply voltage fault in the electronic shifter is an expected operation, the device 400 further includes: a first adjustment module, used to adjust the power supply voltage to below a first threshold and detect the operation performed by the electronic shift control unit; and a first determination module, used to determine that the operation of the electronic shift control unit is an expected operation in response to a fault code reported by the electronic shift control unit.

[0103] Optionally, the device 400 further includes: a second adjustment module for adjusting the supply voltage to below a second threshold and detecting the operation performed by the electronic shift control unit; and a second determination module for determining that the operation of the electronic shift control unit is the expected operation in response to the cessation of the response signal from the electronic shift control unit.

[0104] Optionally, when the electronic shifter control unit detects a shift paddle malfunction in response to the electronic shifter, the device 400 further includes: a third adjustment module for adjusting the circuit state of the upshift switch circuit or the downshift switch circuit of the shift paddle to an abnormal circuit state, wherein the abnormal circuit state includes at least one of open circuit and short circuit; and a detection module for detecting the operation performed by the electronic shifter control unit in the abnormal circuit state.

[0105] In this embodiment, a sending module is used to send a working condition simulation signal to the electronic shifter control unit; a receiving module is used to receive a response signal from the electronic shifter control unit in response to the working condition simulation signal simulating a fault in the electronic shifter, wherein the response signal is used to indicate the operation performed by the electronic shifter control unit after responding to the simulated fault in the electronic shifter caused by the working condition simulation signal; and a determining module is used to determine the test result of the electronic shifter based on the response signal, wherein the test result is used to indicate whether the operation is the expected operation. In other words, the vehicle electronic shifter testing method provided by this embodiment of the invention can simulate a fault in the electronic shifter by sending a working condition simulation signal to the electronic shifter control unit, without the need for actual vehicle testing or the construction of a simulation test environment. The device is simpler, more automated, and achieves the purpose of automatically detecting and diagnosing electronic shifter faults, thus improving the technical efficiency of electronic shifter fault diagnosis and solving the technical problem of low detection efficiency in electronic shifter fault diagnosis.

[0106] Example 4

[0107] According to an embodiment of the present invention, a computer-readable storage medium is also provided, the storage medium including a stored program, wherein, when the program is executed, it controls the device where the computer-readable storage medium is located to execute the test method of the vehicle electronic gear shifter in Embodiment 1.

[0108] Example 5

[0109] According to an embodiment of the present invention, a processor is also provided for running a program, wherein the program executes the test method for the vehicle electronic gear shifter in Embodiment 1 during runtime.

[0110] The sequence numbers of the above embodiments of the present invention are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0111] In the above embodiments of the present invention, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0112] In the several embodiments provided in this application, it should be understood that the disclosed technical content can be implemented in other ways. The device embodiments described above are merely illustrative; for example, the division of modules can be a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components can be combined or integrated into another system, or some features can be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection between units or modules, and can be electrical or other forms.

[0113] The units described as separate components may or may not be physically separate. 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 units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0114] Furthermore, the functional units in the various embodiments of the present invention can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0115] If the integrated unit is implemented as 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, in essence, 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. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, read-only memory (ROM), random access memory (RAM), portable hard drives, magnetic disks, or optical disks.

[0116] The above are merely preferred embodiments of the present invention. It should be noted that those skilled in the art can make various improvements and modifications without departing from the principle of the present invention, and these improvements and modifications should also be considered within the scope of protection of the present invention.

Claims

1. A method of testing a vehicle electronic shifter, the method comprising: The test method is applied to a test system of a vehicle electronic gear shifter, and comprises the following steps: sending a working condition simulation signal to an electronic gear shifter control unit; simulating a fault of the electronic gear shifter in response to the working condition simulation signal, and receiving a response signal of the electronic gear shifter control unit, wherein the response signal is used to indicate an operation performed by the electronic gear shifter control unit after responding to the simulated fault of the electronic gear shifter in response to the working condition simulation signal; determining a test result of the electronic gear shifter based on the response signal, wherein the test result is used to indicate whether the operation is an expected operation; the step of sending the working condition simulation signal to the electronic gear shifter control unit comprises the following steps: establishing a simulation environment variable; and 2. The method of claim 1, wherein, generating the working condition simulation signal based on the simulation environment variable, wherein the working condition simulation signal is used to simulate at least one of a gear shifter handle fault and a communication fault of the electronic gear shifter control unit, the gear shifter handle fault simulated by the working condition simulation signal comprises a low voltage fault of the gear shifter handle, an overvoltage fault of the gear shifter handle, a P gear fault of the gear shifter handle, and an unlocking error of the gear shifter handle, and the communication fault of the electronic gear shifter control unit simulated by the working condition simulation signal comprises a power drive bus communication fault and a local interconnection network fault; matching the working condition simulation signal with a plurality of preset controls to determine a target control, wherein each preset control in the plurality of preset controls corresponds to a fault of the electronic gear shifter; and sending an instruction to the target control, wherein the instruction is used to instruct the target control to send the working condition simulation signal; when it is detected that the electronic gear shifter control unit responds to a shift paddle fault of the electronic gear shifter, the method further comprises the following steps: adjusting a circuit state of a gear up switch circuit of the shift paddle or a gear down switch circuit of the shift paddle to an abnormal circuit state, wherein the abnormal circuit state comprises at least one of an open circuit and a short circuit; detecting whether the electronic gear shifter control unit sends an error signal to an instrument, detecting whether a manual gear switch error signal is set, and detecting whether the electronic gear shifter control unit continues to control gear position increase and decrease, so as to determine whether the operation performed by the electronic gear shifter control unit in the abnormal circuit state is the expected operation. The step of determining the test result of the electronic gear shifter based on the response signal comprises the following steps:

3. The method of claim 1, wherein, acquiring a reference signal of the electronic gear shifter control unit when the electronic gear shifter control unit performs an expected operation in response to the fault of the electronic gear shifter simulated by the working condition simulation signal based on the working condition simulation signal; determining that the operation of the electronic gear shifter control unit is the expected operation in response to the reference signal being consistent with the response signal; determining that the operation of the electronic gear shifter control unit is an unexpected operation in response to the reference signal being inconsistent with the response signal. when it is detected that the electronic gear shifter control unit responds to a power supply voltage fault of the electronic gear shifter, the method further comprises the following steps: adjusting the power supply voltage to below a first threshold value, and detecting the operation performed by the electronic gear shifter control unit; In response to the electronic gear shifter control unit reporting a fault code, it is determined that the operation of the electronic gear shifter control unit is the expected operation.

4. The method of claim 3, wherein, The method further comprises: adjusting the power supply voltage to below a second threshold value, detecting the operation performed by the electronic gear shifter control unit; In response to the response signal of the electronic gear shifter control unit being disabled, it is determined that the operation of the electronic gear shifter control unit is the expected operation.

5. A test system for a vehicle electronic shifter, the test system comprising: The test system comprises a power supply, an electronic gear shifter control unit, and an upper computer, wherein, The power supply is configured to supply power to the electronic gear shifter control unit. The upper computer is configured to generate a working condition simulation signal and send the working condition simulation signal to the electronic gear shifter control unit, wherein the working condition simulation signal is used to simulate a fault of the electronic gear shifter. The upper computer is further configured to receive a response signal of the electronic gear shifter control unit and determine a test result of the electronic gear shifter control unit according to the response signal, wherein the test result is used to indicate whether the operation of the electronic gear shifter control unit after responding to the fault of the electronic gear shifter is the expected operation. The system is further configured to establish a simulation environment variable, generate the working condition simulation signal based on the simulation environment variable, wherein the working condition simulation signal is used to simulate at least one of a gear shifter handle fault and a communication fault of the electronic gear shifter control unit, the gear shifter handle fault simulated by the working condition simulation signal comprises a low voltage fault of the gear shifter handle, an overvoltage fault of the gear shifter handle, a P gear fault of the gear shifter handle, and an unlocking error of the gear shifter handle, and the communication fault of the electronic gear shifter control unit simulated by the working condition simulation signal comprises a power drive bus communication fault and a local area interconnection network fault; match the working condition simulation signal with a plurality of preset controls to determine a target control, wherein each preset control in the plurality of preset controls corresponds to a fault of the electronic gear shifter; and send an instruction to the target control, wherein the instruction is used to instruct the target control to send the working condition simulation signal. When detecting that the electronic gear shifter control unit responds to the fault of the gear shifter paddle, the system is further configured to adjust a circuit state of a gear up switch circuit of the gear shifter paddle or a gear down switch circuit of the gear shifter paddle to an abnormal circuit state, the abnormal circuit state at least comprising one of an open circuit and a short circuit; detect whether the electronic gear shifter control unit sends an error signal to an instrument, detect whether a manual gear switch error signal is set, and detect whether the electronic gear shifter control unit continues to control the increase and decrease of the gear position, to determine whether the operation performed by the electronic gear shifter control unit in the abnormal circuit state is the expected operation.

6. A test device for a vehicle electronic gear shifter, characterized by, The method comprises: The sending module is configured to send a working condition simulation signal to an electronic gear shifter control unit; receive a response signal of the electronic gear shifter control unit in response to the simulated failure of the electronic gear shifter, wherein the response signal is used to indicate an operation performed by the electronic gear shifter control unit in response to the simulated failure of the electronic gear shifter; determine a test result of the electronic gear shifter based on the response signal, wherein the test result is used to indicate whether the operation is an expected operation; The device is further configured to: establish a simulation environment variable; generate the working condition simulation signal based on the simulation environment variable, wherein the working condition simulation signal is used to simulate at least one of a failure of a gear shifter handle of the electronic gear shifter and a communication failure of the electronic gear shifter control unit, the simulated failure of the gear shifter handle of the electronic gear shifter includes a low-voltage failure of the gear shifter handle, an over-voltage failure of the gear shifter handle, a P-gear failure of the gear shifter handle, and an unlocking error of the gear shifter handle, and the simulated communication failure of the electronic gear shifter control unit includes a communication failure of a power drive bus and a local interconnection network failure; match the working condition simulation signal with a plurality of preset controls to determine a target control, wherein each preset control in the plurality of preset controls corresponds to a failure of the electronic gear shifter; and send an instruction to the target control, wherein the instruction is used to instruct the target control to send the working condition simulation signal. When detecting that the electronic gear shifter control unit responds to a failure of a gear shift paddle of the electronic gear shifter, the device is further configured to: adjust a circuit state of a gear up switch circuit of the gear shift paddle or a gear down switch circuit of the gear shift paddle to an abnormal circuit state, wherein the abnormal circuit state includes at least one of an open circuit and a short circuit; detect whether the electronic gear shifter control unit sends an error signal to an instrument, whether a manual gear switch error signal is set, and whether the electronic gear shifter control unit continues to control gear position increase and decrease, to determine whether an operation performed by the electronic gear shifter control unit in the abnormal circuit state is the expected operation.

7. A computer readable storage medium characterized by The computer readable storage medium includes a stored program, wherein the program controls a device in which the computer readable storage medium is located to perform the method of any one of claims 1 to 4 when the program is run.

8. A processor, comprising: The processor is configured to run a program, wherein the program performs the method of any one of claims 1 to 4 when the program is run by the processor.

Citation Information

Patent Citations

  • Test method and test system of vehicle gear shifting handle and nonvolatile storage medium

    CN114910266A

  • Testing device and method for gear shifting actuator and gear shifting actuator

    CN115046777A