Signal processing method, apparatus, electronic control unit, and vehicle

By analyzing the position and sequence of sensor signals, abnormal signals are identified and processed, solving the problem of false alarms caused by signal distortion and improving the accuracy of signal processing and the reliability of fault detection.

CN119165802BActive Publication Date: 2026-03-17GREAT WALL MOTOR 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
2024-09-24
Publication Date
2026-03-17

AI Technical Summary

Technical Problem

Existing technologies cannot effectively avoid false alarms of vehicle malfunctions caused by signal distortion, thus increasing the probability of false alarms.

Method used

By acquiring the set of signals output by the sensors, the location and output order of abnormal signals are determined. Based on the location and order, the processing method is determined, and the abnormal signals are processed accordingly, including signal rejection and replacement, to reduce the impact of signal distortion.

Benefits of technology

It improves the accuracy of abnormal signal processing, reduces the probability of false alarms, and ensures the accuracy of fault detection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119165802B_ABST
    Figure CN119165802B_ABST
Patent Text Reader

Abstract

The application is suitable for the field of automobile technology, and provides a signal processing method and device, an electronic control unit and a vehicle. The method comprises the following steps: acquiring a signal set output by a sensor; the signal set comprises a plurality of signals in a signal collection period; if there is a target signal not in a set range in the signal set, determining that the target signal is an abnormal signal, and determining the position of the target signal in the signal set and the output order of the signal set; determining the processing mode of the target signal based on the position and the output order; and processing the target signal based on the processing mode. Compared with the prior art, the method can detect the signal set output by the sensor before fault detection, and when an abnormal signal is detected, the abnormal signal can be processed accordingly, so that the fault false alarm caused by the abnormal signal due to signal distortion can be avoided, and the probability of fault false alarm is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of automotive technology, and in particular relates to a signal processing method, device, electronic control unit, and vehicle. Background Technology

[0002] Currently, automotive sensors mainly transmit signals via voltage, current, and digital signals. When the sensor power supply or sensor chip is subjected to electromagnetic interference, or when the signal is subjected to electromagnetic interference during transmission, the sensor signal may experience occasional distortion, which may cause the instrument panel malfunction indicator lamp in the vehicle to light up, resulting in a false alarm.

[0003] Existing technologies for resolving false alarms typically involve re-testing potentially faulty equipment to determine if a false alarm has occurred. However, this approach cannot avoid false alarms caused by signal distortion, thus increasing the probability of false alarms. Summary of the Invention

[0004] This application provides a signal processing method, apparatus, electronic control unit, and vehicle to address the problem that existing technologies cannot avoid false alarms caused by signal distortion, thus increasing the probability of false fault alarms.

[0005] In a first aspect, embodiments of this application provide a signal processing method, including:

[0006] Acquire a set of signals output by the sensor; the set of signals includes multiple signals within one signal acquisition cycle;

[0007] If there is a target signal in the signal set that is not within the set range, then the target signal is determined to be an abnormal signal, and the position of the target signal in the signal set and the output order of the signal set are determined.

[0008] Based on the location and the output order, the processing method for the target signal is determined;

[0009] The target signal is processed based on the aforementioned processing method.

[0010] Optionally, determining the processing method for the target signal based on the position and the output order includes:

[0011] When the output order is first and the position is the first, the processing method is determined to be a signal rejection method;

[0012] When the output order is not the first order and the position is the first, the processing method is determined to be the first signal replacement method;

[0013] When the position is not the first one, the processing method is determined to be the second signal replacement method; the second signal replacement method is different from the first signal replacement method.

[0014] Optionally, processing the target signal based on the processing method includes:

[0015] When the processing method is signal rejection, the target signal is rejected and a blank symbol is set at the position;

[0016] When the processing method is the first signal replacement method, the target signal is replaced with the first signal; the first signal refers to the last signal in the previous signal set; the previous signal set refers to the set that precedes the signal set and is adjacent to the signal set.

[0017] When the processing method is the second signal replacement method, the target signal is replaced with the second signal; the second signal refers to the signal in the signal set that precedes the target signal and is adjacent to the target signal.

[0018] Optionally, replacing the target signal with the second signal includes:

[0019] If the preceding signal is the blank symbol, then the target signal is removed, and the blank symbol is set at the position.

[0020] Optionally, after processing the target signal based on the processing method, the method further includes:

[0021] If the number of consecutive occurrences of the processed target signal exceeds a set number, then the vehicle is determined to have malfunctioned.

[0022] Optionally, after acquiring the set of signals output by the sensor, the method further includes:

[0023] If all signals in the signal set are within the set range, then each signal is determined to be a normal signal.

[0024] The normal signal is processed based on a preset processing method.

[0025] Optionally, the setting range is determined according to the following method:

[0026] Determine the type of the sensor;

[0027] The setting range is determined based on the type.

[0028] Secondly, embodiments of this application provide a signal processing apparatus, including:

[0029] An acquisition unit is used to acquire a set of signals output by a sensor; the set of signals includes multiple signals within one signal acquisition cycle.

[0030] The first signal determination unit is configured to determine that if there is a target signal in the signal set that is not within a set range, the target signal is an abnormal signal, and the position of the target signal in the signal set and the output order of the signal set are determined.

[0031] The first method determination unit is used to determine the processing method of the target signal based on the position and the output order;

[0032] The first processing unit is used to process the target signal based on the processing method.

[0033] Optionally, the first method determining unit specifically includes:

[0034] The second method determination unit is used to determine the processing method as signal rejection method when the output order is the first order and the position is the first.

[0035] The third method determination unit is used to determine the processing method as the first signal replacement method when the output order is not the first order and the position is the first.

[0036] The fourth method determination unit is used to determine that the processing method is the second signal replacement method when the position is not the first one; the second signal replacement method is different from the first signal replacement method.

[0037] Optionally, the first processing unit specifically includes:

[0038] The rejection unit is used to reject the target signal and set a blank symbol at the position when the processing method is signal rejection.

[0039] The first replacement unit is used to replace the target signal with a first signal when the processing method is a first signal replacement method; the first signal refers to the last signal in the previous signal set; the previous signal set refers to the set that precedes the signal set and is adjacent to the signal set.

[0040] The second replacement unit is used to replace the target signal with a second signal when the processing method is a second signal replacement method; the second signal refers to the signal in the signal set that precedes the target signal and is adjacent to the target signal.

[0041] Optionally, the second replacement unit specifically includes:

[0042] The setting unit is configured to remove the target signal and set the blank symbol at the position if the previous signal is the blank symbol.

[0043] Optionally, the signal processing device further includes:

[0044] The fault determination unit is used to determine that the vehicle has a fault if the number of consecutive occurrences of the processed target signal is greater than a set number.

[0045] Optionally, the signal processing device further includes:

[0046] The second signal determination unit is used to determine that each signal is a normal signal if all signals in the signal set are within the set range.

[0047] The second processing unit is used to process the normal signal based on a preset processing method.

[0048] Optionally, the signal processing device further includes:

[0049] A type determination unit is used to determine the type of the sensor;

[0050] A range determination unit is used to determine the set range according to the type.

[0051] Thirdly, embodiments of this application provide an electronic control unit, including: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the signal processing method as described in any one of the first aspects above.

[0052] Fourthly, embodiments of this application provide a computer-readable storage medium storing a computer program that, when executed by a processor, implements the signal processing method as described in any one of the first aspects above.

[0053] Fifthly, embodiments of this application provide a computer program product that, when run on an electronic control unit, enables the electronic control unit to execute the signal processing method described in any one of the first aspects.

[0054] In a sixth aspect, embodiments of this application provide a vehicle including an electronic control unit, the electronic control unit being configured to perform the signal processing method as described in any of the first aspects.

[0055] The beneficial effects of the embodiments in this application compared with the prior art are:

[0056] This application provides a signal processing method that acquires a set of signals output by a sensor. The signal set includes multiple signals within a signal acquisition cycle. If a target signal outside a set range exists in the signal set, the target signal is identified as an abnormal signal, and the position of the target signal in the signal set and the output order of the signal set are determined. Based on the position and the output order, a processing method for the target signal is determined. The target signal is then processed based on the processing method. Compared with existing technologies, this method can detect the set of signals output by the sensor before fault detection. Since the causes of occasional distortion of signals at different locations during actual signal transmission are not entirely the same, and the corresponding processing methods are also not entirely the same, this method can flexibly determine the processing method matching the abnormal signal by combining the position of the abnormal signal and the output order of the signal set when an abnormal signal is detected. Finally, the abnormal signal can be processed accordingly based on the processing method. This not only improves the accuracy of abnormal signal processing but also avoids false alarms caused by abnormal signals due to signal distortion, thereby reducing the probability of false alarms. Attached Figure Description

[0057] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0058] Figure 1 This is a flowchart illustrating the implementation of a signal processing method provided in an embodiment of this application;

[0059] Figure 2 This is a flowchart illustrating the specific implementation of the signal processing method provided in an embodiment of this application before step S102;

[0060] Figure 3 This is a schematic diagram of the structure of a signal processing device provided in an embodiment of this application;

[0061] Figure 4 This is a schematic diagram of the structure of an electronic control unit provided in an embodiment of this application. Detailed Implementation

[0062] In the following description, specific details such as particular system architectures and techniques are set forth for illustrative purposes and not for limitation, in order to provide a thorough understanding of the embodiments of this application. However, those skilled in the art will understand that this application may also be implemented in other embodiments without these specific details. In other instances, detailed descriptions of well-known systems, apparatuses, circuits, and methods have been omitted so as not to obscure the description of this application with unnecessary detail.

[0063] It should be understood that, when used in this application specification and the appended claims, the term "comprising" indicates the presence of the described features, integrals, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integrals, steps, operations, elements, components and / or a collection thereof.

[0064] It should also be understood that the term “and / or” as used in this application specification and the appended claims means any combination of one or more of the associated listed items and all possible combinations, and includes such combinations.

[0065] As used in this application specification and the appended claims, the term "if" may be interpreted, depending on the context, as "when," "once," "in response to determination," or "in response to detection." Similarly, the phrase "if determined" or "if detected [the described condition or event]" may be interpreted, depending on the context, as meaning "once determined," "in response to determination," "once detected [the described condition or event]," or "in response to detection [the described condition or event]."

[0066] Furthermore, in the description of this application and the appended claims, the terms "first," "second," "third," etc., are used only to distinguish descriptions and should not be construed as indicating or implying relative importance.

[0067] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0068] In practical applications, automotive sensors transmit signals mainly through voltage, current, and digital signals. When the sensor power supply or sensor chip is subjected to electromagnetic interference, or when the signal is subjected to electromagnetic interference during transmission, the sensor signal may be intermittently distorted, which may cause the instrument panel malfunction indicator lamp in the vehicle to light up, resulting in a false alarm.

[0069] Existing technologies typically address false alarms by re-verifying potentially faulty equipment to determine if a false alarm has occurred. However, this approach cannot prevent false alarms caused by signal distortion, thus increasing the probability of false alarms.

[0070] Therefore, in all embodiments of this application, a signal processing method is provided. By processing the signal output by the sensor accordingly, false alarms caused by abnormal signals due to signal distortion in the sensor output can be avoided, thereby reducing the probability of false alarms.

[0071] Please see Figure 1 , Figure 1 This is a flowchart illustrating the implementation of a signal processing method according to an embodiment of this application. In this embodiment, the electronic control unit is the executing entity of the signal processing method.

[0072] In practical applications, the Electronic Control Unit (ECU), also known as the vehicle computer or onboard computer, can calculate, process, and judge various information input from the engine's sensors based on its stored programs, and then output commands to control the actions of relevant actuators, so as to achieve the purpose of fast, accurate and automatic control of engine operation.

[0073] like Figure 1 As shown, a signal processing method provided in one embodiment of this application may include S101 to S104, which are described in detail below:

[0074] In S101, the set of signals output by the sensor is acquired; the set of signals includes multiple signals within one signal acquisition cycle.

[0075] In practical applications, sensors in vehicles are typically used to monitor the operating status of components (such as temperature, pressure, or speed). However, the signals output by these sensors may experience occasional distortion, leading to signal anomalies and potentially illuminating the instrument cluster malfunction indicator lamp, resulting in false alarms about monitored components. Therefore, in this embodiment, after the sensor collects the signal set corresponding to the relevant information of the monitored component, the electronic control unit can acquire the signal set output by the sensor. The monitored component can be the vehicle's engine.

[0076] It should be noted that the signal set includes multiple signals within one signal acquisition period. The signal acquisition period can be determined according to actual needs and is not limited here.

[0077] For example, please refer to Table 1, which describes the individual signals in each signal acquisition cycle (i.e., signal set).

[0078] Table 1:

[0079]

[0080] In this embodiment, after obtaining the signal set, the electronic control unit can detect whether each signal in the signal set is within a set range. The set range can be determined according to actual needs and is not limited here.

[0081] It should be noted that the set range is used to characterize the range in which a normal signal exists.

[0082] In one embodiment of this application, since sensors are typically used to provide feedback on the operating status of monitored components (such as temperature, pressure, or rotational speed), and the range of normal signals corresponding to different operating states is not entirely the same (e.g., the range corresponding to normal temperature signals differs from the range corresponding to normal pressure signals), in order to improve the accuracy of determining the set range corresponding to the signals output by different sensors, thereby improving the accuracy of processing abnormal signals, the electronic control unit can specifically achieve the following: Figure 2 The steps S201 to S202 shown below determine the setting range, which are described in detail below:

[0083] In S201, the type of the sensor is determined.

[0084] In S202, the set range is determined according to the type.

[0085] In this embodiment, since the vehicle is equipped with multiple sensors, the signal set carries a sensor identifier to determine which sensor is transmitting the signal set. The electronic control unit can extract the sensor identifier from the signal set as it acquires the sensor output signal set. The sensor identifier may include a number, serial number, or name, etc.

[0086] The electronic control unit has pre-stored the correspondence between different sensor identifiers and different sensor types. Therefore, in this embodiment, the electronic control unit can determine the type of sensor corresponding to the acquired signal set based on the extracted sensor identifiers and the above correspondence.

[0087] It should be noted that the types of sensors include, but are not limited to: temperature sensors, pressure sensors, and speed sensors.

[0088] In this embodiment, the electronic control unit also pre-stores the correspondence between different types of sensors and different set ranges. Therefore, after determining the type of sensor, the electronic control unit can determine the set range corresponding to the signal set at this time according to the type and the above correspondence.

[0089] In this embodiment of the application, when the electronic control unit detects that there is a target signal in the signal set that is not within the set range, or that there is a target signal in the signal set that is greater than or equal to the upper limit of the set range, or that there is a target signal that is less than or equal to the lower limit of the set range; when the electronic control unit detects that there is no target signal in the signal set that is greater than or equal to the upper limit of the set range and no target signal that is less than or equal to the lower limit of the set range, it can determine that all signals in the signal set are within the set range.

[0090] Therefore, in one embodiment of this application, when the electronic control unit detects that there is a target signal in the signal set that is not within the set range, it can execute steps S102 to S104.

[0091] In another embodiment of this application, when the electronic control unit detects that all signals in the signal set are within a set range, it may perform the following steps, detailed below:

[0092] If all signals in the signal set are within the set range, then each signal is determined to be a normal signal.

[0093] The normal signal is processed based on a preset processing method.

[0094] In this embodiment, since the set range is used to characterize the range of normal signals, when the electronic control unit detects that each signal in the signal set is within the set range, it can determine that each signal in the signal set is a normal signal. In other words, there are no occasional distorted signals in the signal set.

[0095] Based on this, the electronic control unit can process normal signals, i.e., each signal in the signal set, according to a preset processing method. The preset processing method can be determined according to actual needs and is not limited here.

[0096] In some possible embodiments, the preset processing method may include: storage method.

[0097] In this embodiment, the electronic control unit can store the above-mentioned normal signals, that is, each signal in the signal set, into its own memory for later use.

[0098] In S102, if there is a target signal in the signal set that is not within the set range, the target signal is determined to be an abnormal signal, and the position of the target signal in the signal set and the output order of the signal set are determined.

[0099] In this embodiment of the application, since the set range is used to characterize the range of normal signals, the electronic control unit can determine that the target signal is an abnormal signal when it detects that there is a target signal in the signal set that is not within the set range.

[0100] It should be noted that there can be one or more target signals.

[0101] In this embodiment, after the electronic control unit determines that the target signal is an abnormal signal, since the reasons for occasional distortion of signals at different positions during actual signal transmission are not entirely the same, for example, for a signal in the first position, the sensor is prone to occasional distortion due to signal instability when it first starts working, and for a signal in the middle position, occasional distortion is prone to occur due to transmission channel instability. At the same time, the processing methods corresponding to different reasons are not entirely the same. Therefore, in order to avoid the occurrence of false alarms due to occasional distortion of the abnormal signal, and to improve the accuracy of subsequent processing of abnormal signals at different positions, the electronic control unit can determine the position of the target signal in the signal set and the output order of the signal set in order to process the target signal.

[0102] It should be noted that the position of the target signal in the signal set specifically refers to its ordinal position within the signal set, that is, its rank within the signal set. For example, if the target signal is the second signal in the signal set, then its ordinal position in the signal set is the second.

[0103] The output order of the signal set specifically refers to the position of the signal set within all signal sets output by the sensor. For example, assuming the output order of the signal set is first, then the signal set is the first signal set output by the sensor.

[0104] In S103, the processing method of the target signal is determined based on the position and the output order.

[0105] It should be noted that the electronic control unit pre-stores the correspondence between different positions, different output sequences, and different processing methods. These processing methods include, but are not limited to: signal rejection, first signal replacement, and second signal replacement.

[0106] The signal rejection method specifically refers to rejecting the signal and setting a blank symbol at the position of the signal.

[0107] The first signal replacement method specifically refers to replacing the signal with the last signal in the previous signal set. The previous signal set refers to the signal set preceding and adjacent to the current signal set.

[0108] The second signal replacement method specifically refers to replacing the signal with a signal in the signal set that precedes and is adjacent to the signal, i.e., the previous signal in the signal set corresponding to the signal.

[0109] In this embodiment, since sensors are more prone to signal instability and occasional signal distortion when they first start working, when the signal set containing the abnormal signal is the first signal set output by the sensor, and the abnormal signal is the first signal in that signal set, the processing method corresponding to the abnormal signal can be determined as a signal rejection method. When the signal set containing the abnormal signal is not the first signal set output by the sensor, and the abnormal signal is the first signal in that signal set, since the signal transmission stage has already begun, directly rejecting the abnormal signal could easily lead the electronic control unit to misjudge that signal frame loss has occurred. Since the abnormal signal is the first signal in that signal set, the processing method corresponding to the abnormal signal can be determined as a first signal replacement method. Regardless of whether the signal set containing the abnormal signal is the first signal set output by the sensor, and the abnormal signal is not the first signal in that signal set, since the signal transmission stage has already begun, directly rejecting the abnormal signal could easily lead the electronic control unit to misjudge that signal frame loss has occurred. Since the abnormal signal is not the first signal in that signal set, the processing method corresponding to the abnormal signal can be determined as a second signal replacement method. Based on this, the electronic control unit can store the above correspondences in association.

[0110] Based on this, when the electronic control unit detects that the output order of the acquired signal set is first priority and the target signal is the first one, it indicates that the signal set containing the abnormal signal is the first signal set output by the sensor, and the abnormal signal is the first signal in the signal set. Therefore, the electronic control unit can determine that the processing method for the target signal is signal rejection.

[0111] When the electronic control unit detects that the output of the acquired signal set is not in the first order, and the position of the target signal is the first, it indicates that the signal set containing the abnormal signal is not the first signal set output by the sensor, and the abnormal signal is the first signal in the signal set. Therefore, the electronic control unit can determine that the processing method for the target signal is the first signal replacement method.

[0112] When the electronic control unit detects that the position of the target signal is not the first, it indicates that the abnormal signal is not the first signal in the signal set. Therefore, regardless of whether the output order of the signal set in which the target signal is located is the first order, the electronic control unit can determine that the processing method of the target signal is the second signal replacement method.

[0113] In S104, the target signal is processed based on the processing method.

[0114] In this embodiment of the application, after determining the processing method corresponding to the target signal, the electronic control unit can perform corresponding processing on the target signal based on the processing method.

[0115] Specifically, in conjunction with S103, when the processing method is signal rejection, the electronic control unit can reject the target signal and set a blank symbol at the location of the target signal. The blank symbol can be determined according to actual needs and is not limited here. For example, the blank symbol could be: --.

[0116] Please refer to Table 2, which is a comparison table before and after processing when the first signal in the first set of signals output by the sensor provided in an embodiment of this application is the target signal.

[0117] Table 2:

[0118]

[0119] When the processing method is the first signal replacement method, the electronic control unit can replace the target signal with the first signal. Here, the first signal refers to the last signal in the signal set preceding the signal set in which the target signal is located.

[0120] For example, assuming the output order of the signal set is second in order and the target signal is the first signal in the signal set, the electronic control unit can replace the target signal with the last signal in the first-order signal set.

[0121] Please refer to Table 3, which is a comparison table before and after processing when the first signal in the second set of signals output by the sensor provided in an embodiment of this application is the target signal.

[0122] Table 3:

[0123]

[0124] It should be noted that when the last signal in the signal set preceding the target signal is a processed signal, the electronic control unit can replace the target signal with the aforementioned processed last signal.

[0125] For example, suppose the output order of the signal set is the second order, and the target signal is the first signal in the signal set. The last signal in the first order signal set is AAX before processing, and the last signal in the first order signal set is A3 after processing. Then the electronic control unit can replace the target signal with the last signal in the first order signal set after processing, that is, replace the target signal with A3.

[0126] Please refer to Table 4, which is a comparison table before and after processing when the first signal in the second set of signals output by the sensor provided in another embodiment of this application is the target signal.

[0127] Table 4:

[0128]

[0129]

[0130] When the processing method is the second signal replacement method, the electronic control unit can replace the target signal with the second signal, where the second signal refers to the previous signal in the signal set that precedes the target signal.

[0131] For example, assuming the output order of the signal set is the second order and the target signal is the fifth signal in the signal set, the electronic control unit can replace the target signal with the fourth signal in the second order of the signal set.

[0132] Please refer to Table 5, which is a comparison table before and after processing when the fifth signal in the second set of signals output by the sensor provided in an embodiment of this application is the target signal.

[0133] Table 5:

[0134]

[0135] It should be noted that when the preceding signal in the signal set containing the target signal is a processed signal, the electronic control unit can replace the target signal with the aforementioned processed preceding signal.

[0136] For example, suppose the output order of the signal set is the second order, and the target signal is the fifth signal in the signal set. The fourth signal in the signal set is B4 before processing and B1 after processing. Then the electronic control unit can replace the target signal with the processed previous signal in the signal set where the target signal is located, that is, replace the target signal with B1.

[0137] Please refer to Table 6, which is a comparison table before and after processing when the fifth signal in the second set of signals output by the sensor provided in another embodiment of this application is the target signal.

[0138] Table 6:

[0139]

[0140]

[0141] In one embodiment of this application, when the electronic control unit replaces the target signal with the second signal, if the second signal is a blank symbol, it indicates that the second signal has been eliminated. Therefore, the electronic control unit can eliminate the target signal and set a blank symbol at the position where the target signal is located.

[0142] For example, please refer to Table 7, which is a comparison table before and after processing when the second signal in the first set of signals output by the sensor provided in one embodiment of this application is the target signal.

[0143] Table 7:

[0144]

[0145] As can be seen from the above, the signal processing method provided in this application involves acquiring a set of signals output by a sensor. The signal set includes multiple signals within a signal acquisition cycle. If a target signal outside a set range exists in the signal set, the target signal is determined to be an abnormal signal, and the position of the target signal in the signal set and the output order of the signal set are determined. Based on the position and the output order, a processing method for the target signal is determined. The target signal is then processed based on the processing method. Compared with the prior art, this method can detect the set of signals output by the sensor before fault detection. Since the causes of occasional distortion of signals at different locations are not entirely the same during actual signal transmission, and the corresponding processing methods are not entirely the same for different causes, this method can accurately determine the processing method matching the abnormal signal by combining the position of the abnormal signal and the output order of the signal set when an abnormal signal is detected. Finally, the abnormal signal can be processed accordingly based on the processing method. This not only improves the accuracy of abnormal signal processing but also avoids false alarms caused by abnormal signals due to signal distortion, thereby reducing the probability of false alarms.

[0146] In one embodiment of this application, since the abnormal target signal has been processed accordingly before fault detection based on the sensor output signal, as in steps S101 to S104, in order to match the subsequent fault detection process with the processed target signal, that is, to ensure that OBD fault diagnosis can prevent the reporting of other abnormal fault codes under the premise of normal feedback of sensor faults, and to improve the detection accuracy of vehicle faults, the electronic control unit may specifically execute the following steps after step S104, as detailed below:

[0147] If the number of consecutive occurrences of the processed target signal exceeds a set number, then the vehicle is determined to have malfunctioned.

[0148] In this embodiment, when the electronic control unit detects that the number of consecutive occurrences of the processed target signal exceeds a set number, it indicates that the number of consecutive occurrences of the abnormal signal has exceeded the set number. In other words, there is a fault in the monitoring part corresponding to the sensor, meaning the vehicle is in a faulty state. Therefore, the electronic control unit can determine that the vehicle has a fault. The set number can be determined according to actual needs and is not limited here.

[0149] It is understandable that the number of times the target signal appears consecutively after processing is greater than the set number. This could mean that the number of times the electronic control unit continuously rejects the signal is greater than the set number, or it could mean that the number of times the same signal appears consecutively within a signal cycle (i.e., a signal set) is greater than the set number.

[0150] In another embodiment of this application, after the electronic control unit detects a vehicle malfunction, since the signal set is collected by the sensors, meaning that the probability of sensor malfunction is relatively high, the electronic control unit can output a prompt message to prompt relevant personnel to prioritize sensor malfunction detection.

[0151] It should be understood that the sequence number of each step in the above embodiments does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0152] Corresponding to the signal processing method described in the above embodiments, Figure 3 A schematic diagram of a signal processing apparatus according to an embodiment of this application is shown. For ease of explanation, only the parts relevant to the embodiment of this application are shown. (Refer to...) Figure 3 The signal processing device 300 includes: an acquisition unit 31, a first signal determination unit 32, a first mode determination unit 33, and a first processing unit 34. Wherein:

[0153] The acquisition unit 31 is used to acquire the signal set output by the sensor; the signal set includes multiple signals within one signal acquisition cycle.

[0154] The first signal determination unit 32 is used to determine that if there is a target signal in the signal set that is not within the set range, the target signal is an abnormal signal, and the position of the target signal in the signal set and the output order of the signal set are determined.

[0155] The first mode determination unit 33 is used to determine the processing mode of the target signal based on the position and the output order.

[0156] The first processing unit 34 is used to process the target signal based on the processing method.

[0157] In one embodiment of this application, the first mode determination unit 33 specifically includes: a second mode determination unit, a third mode determination unit, and a fourth mode determination unit. Wherein:

[0158] The second method determination unit is used to determine the processing method as signal rejection when the output order is the first priority and the position is the first.

[0159] The third method determination unit is used to determine the processing method as the first signal replacement method when the output order is not the first order and the position is the first.

[0160] The fourth method determination unit is used to determine that the processing method is the second signal replacement method when the position is not the first one; the second signal replacement method is different from the first signal replacement method.

[0161] In one embodiment of this application, the first processing unit 34 specifically includes: a rejection unit, a first replacement unit, and a second replacement unit. Wherein:

[0162] The rejection unit is used to reject the target signal and set a blank symbol at the position when the processing method is signal rejection.

[0163] The first replacement unit is used to replace the target signal with a first signal when the processing method is a first signal replacement method; the first signal refers to the last signal in the previous signal set; the previous signal set refers to the set that precedes the signal set and is adjacent to the signal set.

[0164] The second replacement unit is used to replace the target signal with a second signal when the processing method is a second signal replacement method; the second signal refers to the signal in the signal set that precedes the target signal and is adjacent to the target signal.

[0165] In one embodiment of this application, the second replacement unit specifically includes a setting unit.

[0166] The setting unit is used to remove the target signal and set the blank symbol at the position if the previous signal is the blank symbol.

[0167] In one embodiment of this application, the signal processing device 300 further includes a fault determination unit.

[0168] The fault determination unit is used to determine that the vehicle has a fault if the number of consecutive occurrences of the processed target signal is greater than a set number.

[0169] In one embodiment of this application, the signal processing apparatus 300 further includes: a second signal determination unit and a second processing unit. Wherein:

[0170] The second signal determination unit is used to determine that each signal is a normal signal if all signals in the signal set are within the set range.

[0171] The second processing unit is used to process the normal signal based on a preset processing method.

[0172] In one embodiment of this application, the signal processing apparatus 300 further includes: a type determination unit and a range determination unit. Wherein:

[0173] The type determination unit is used to determine the type of the sensor.

[0174] The range determination unit is used to determine the set range according to the type.

[0175] It should be noted that the information interaction and execution process between the above-mentioned devices / units are based on the same concept as the method embodiments of this application. For details on their specific functions and technical effects, please refer to the method embodiments section, and they will not be repeated here.

[0176] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the above-described division of functional units and modules is merely an example. In practical applications, the above functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments 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. Furthermore, the specific names of the functional units and modules are only for easy differentiation and are not intended to limit the scope of protection of this application. The specific working process of the units and modules in the above system can be referred to the corresponding process in the foregoing method embodiments, and will not be repeated here.

[0177] Figure 4 This is a schematic diagram of the structure of an electronic control unit provided in an embodiment of this application. Figure 4 As shown, the electronic control unit 4 of this embodiment includes: at least one processor 40 ( Figure 4 (Only one is shown) a processor, a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, which, when executing the computer program 42, implements the steps in any of the above-described signal processing method embodiments.

[0178] The electronic control unit may include, but is not limited to, a processor 40 and a memory 41. Those skilled in the art will understand that... Figure 4 This is merely an example of the electronic control unit 4 and does not constitute a limitation on the electronic control unit 4. It may include more or fewer components than shown, or combine certain components, or different components, such as input / output devices, network access devices, etc.

[0179] The processor 40 may be a Central Processing Unit (CPU), or it may be other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor.

[0180] In some embodiments, the memory 41 may be an internal storage unit of the electronic control unit 4, such as the RAM of the electronic control unit 4. In other embodiments, the memory 41 may be an external storage device of the electronic control unit 4, such as a plug-in hard drive, smart media card (SMC), secure digital (SD) card, flash card, etc., equipped on the electronic control unit 4. Furthermore, the memory 41 may include both internal storage units and external storage devices of the electronic control unit 4. The memory 41 is used to store the operating system, applications, bootloader, data, and other programs, such as the program code of the computer program. The memory 41 can also be used to temporarily store data that has been output or will be output.

[0181] This application also provides a computer-readable storage medium storing a computer program that, when executed by a processor, implements the steps described in the various method embodiments above.

[0182] This application provides a computer program product that, when run on an electronic control unit, enables the electronic control unit to perform the steps described in the above-described method embodiments.

[0183] 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, all or part of the processes in the methods of the above embodiments of this application can be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include at least: any entity or device capable of carrying computer program code to the electronic control unit, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electrical carrier signal, a telecommunication signal, and a software distribution medium. Examples include USB flash drives, portable hard drives, magnetic disks, or optical disks. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electrical carrier signals or telecommunication signals.

[0184] In the above embodiments, the descriptions of each embodiment have different focuses. For parts that are not described in detail or recorded in a certain embodiment, please refer to the relevant descriptions of other embodiments.

[0185] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application, and should all be included within the protection scope of this application.

Claims

1. A signal processing method, characterized by, The method comprises the following steps: acquiring a signal set of sensor output; the signal set comprises a plurality of signals in a signal acquisition period; if there is a target signal not in a set range in the signal set, determining the target signal as an abnormal signal, and determining a position of the target signal in the signal set and an output order of the signal set; the position of the target signal in the signal set refers to the sequence position of the target signal in the signal set; the output order of the signal set refers to the sequence position of the signal set in all signal sets of sensor output; determining a processing mode of the target signal based on the position and the output order; processing the target signal based on the processing mode to avoid fault false alarm caused by abnormal signal due to signal distortion; the step of determining the processing mode of the target signal based on the position and the output order comprises: when the output order is a first order and the position is the first one, determining that the processing mode is a signal elimination mode; when the output order is a non-first order and the position is the first one, determining that the processing mode is a first signal replacement mode; when the position is a non-first one, determining that the processing mode is a second signal replacement mode; the second signal replacement mode is different from the first signal replacement mode; the step of processing the target signal based on the processing mode comprises: when the processing mode is the signal elimination mode, eliminating the target signal and setting a blank symbol at the position; when the processing mode is the first signal replacement mode, replacing the target signal with a first signal; the first signal refers to the last signal in a previous signal set; the previous signal set refers to a set adjacent to the signal set before the signal set; when the processing mode is the second signal replacement mode, replacing the target signal with a second signal; the second signal refers to a signal adjacent to the target signal before the target signal in the signal set.

2. The signal processing method of claim 1, wherein, the step of replacing the target signal with the second signal comprises: if the previous signal is the blank symbol, eliminating the target signal and setting the blank symbol at the position.

3. The signal processing method of claim 1, wherein, after the step of processing the target signal based on the processing mode, the method further comprises: if the number of continuous occurrence of the processed target signal is greater than a set number, determining that the vehicle has a fault.

4. The signal processing method of claim 1, wherein, after the step of acquiring the signal set of sensor output, the method further comprises: if each signal in the signal set is in the set range, determining that the each signal is a normal signal; processing the normal signal based on a preset processing mode.

5. The signal processing method according to any one of claims 1 to 4, characterized in that, the set range is determined according to the following mode: determining the type of the sensor; determining the set range according to the type.

6. A signal processing device, characterized by The method comprises the following steps: an acquisition unit is configured to acquire a signal set of sensor output; the signal set comprises a plurality of signals in a signal acquisition period; The first signal determining unit is configured to determine a target signal as an abnormal signal if the target signal is not within a set range in the signal set, and determine a position of the target signal in the signal set and an output order of the signal set; the position of the target signal in the signal set refers to a sequence position of the target signal in the signal set; and the output order of the signal set refers to a sequence position of the signal set in all signal sets output by the sensor. The first mode determining unit is configured to determine a processing mode of the target signal based on the position and the output order. The first processing unit is configured to process the target signal based on the processing mode, so as to avoid a fault false alarm caused by an abnormal signal due to signal distortion. The determination of the processing mode of the target signal based on the position and the output order comprises: when the output order is a first sequence position and the position is a first position, determining that the processing mode is a signal elimination mode; when the output order is a non-first sequence position and the position is a first position, determining that the processing mode is a first signal replacement mode; when the position is a non-first position, determining that the processing mode is a second signal replacement mode; the second signal replacement mode is different from the first signal replacement mode. The processing of the target signal based on the processing mode comprises: when the processing mode is the signal elimination mode, eliminating the target signal and setting a blank symbol at the position; when the processing mode is the first signal replacement mode, replacing the target signal with a first signal; the first signal refers to a last signal in a previous signal set; the previous signal set refers to a set adjacent to the signal set and before the signal set; when the processing mode is the second signal replacement mode, replacing the target signal with a second signal; the second signal refers to a signal in the signal set, which is before the target signal and adjacent to the target signal.

7. An electronic control unit comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the signal processing method in any one of claims 1 to 5.

8. A vehicle characterized by comprising: The electronic control unit in claim 7 is provided. The electronic control unit in claim 7 is provided.

Citation Information

Patent Citations

  • Continuous anomaly detection service

    US10200262B1

  • Output signal error detection, circumvention, signal reconstruction and recovery

    US20100271095A1