Signal processing method and device, electronic control unit and vehicle

By acquiring the signal set output by the sensor and processing it in combination with the signal position and sequence, the fault false alarm problem caused by signal distortion is solved, the processing accuracy is improved and the probability of fault false alarm is reduced.

CN119165802AActive Publication Date: 2024-12-20GREAT WALL MOTOR CO LTD
View PDF 8 Cites 0 Cited by

Patent Information

Application Number
CN202411332677.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-12-20
Estimated Expiration
2044-09-24

AI Technical Summary

Technical Problem

The prior art cannot effectively avoid fault false alarms caused by signal distortion, which increases the probability of fault false alarms.

Method used

By obtaining the signal set output by the sensor, the position and output sequence of the abnormal signal are determined, and the corresponding processing methods are determined according to the position and order, and signal removal, signal replacement and other processes are performed to avoid fault false alarms caused by signal distortion.

Benefits of technology

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

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119165802A_ABST
    Figure CN119165802A_ABST
Patent Text Reader

Abstract

The invention is suitable for the technical field of automobiles, and provides a signal processing method and device, an electronic control unit and a vehicle, and the method comprises the steps: obtaining a signal set outputted by a sensor; the signal set comprises a plurality of signals in a signal acquisition period; if the target signal which is not in the set range exists 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 sequence of the signal set; determining a processing mode of the target signal based on the position and the output sequence; and processing the target signal based on a processing mode. Compared with the prior art, the method has the advantages that the signal set output by the sensor can be detected before fault detection, and the abnormal signal can be correspondingly processed when the abnormal signal is detected, so that fault misinformation caused by the abnormal signal generated by signal distortion can be avoided, and the probability of fault misinformation is reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of automobile technology, and in particular relates to a signal processing method, device, electronic control unit and vehicle. Background Art

[0002] At present, vehicle sensors mainly use voltage, current and digital signals to transmit signals. When the sensor power supply or sensor chip is subject to electromagnetic interference, or the signal is subject to electromagnetic interference during transmission, the sensor signal will be distorted sporadically, causing the instrument fault light in the vehicle to light up, that is, a false fault alarm will occur.

[0003] The existing technology for solving false fault alarms usually involves retesting the equipment that may have failed to determine whether a false fault alarm has occurred. However, false alarms due to signal distortion cannot be avoided, which increases the probability of false fault alarms. Summary of the invention

[0004] The embodiments of the present application provide a signal processing method, device, electronic control unit and vehicle to solve the problem that the prior art cannot avoid false alarms due to signal distortion, thereby increasing the probability of false fault alarms.

[0005] In a first aspect, an embodiment of the present application provides a signal processing method, including:

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

[0007] If there is a target signal in the signal set that is not within the set range, determining the target signal as an abnormal signal, and determining the position of the target signal in the signal set and the output order of the signal set;

[0008] Determining a processing method of the target signal based on the position and the output order;

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

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

[0011] When the output sequence is the first priority and the position is the first, determining that the processing method is a signal rejection method;

[0012] When the output sequence is not the first order and the position is the first, determining the processing mode to be the first signal replacement mode;

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

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

[0015] When the processing mode is a signal removal mode, the target signal is removed and a blank symbol is set at the position;

[0016] When the processing mode is the first signal replacement mode, the target signal is replaced by the first signal; the first signal refers to the last signal in the previous signal set; the previous signal set refers to the set before the signal set and adjacent to the signal set;

[0017] When the processing mode is a second signal replacement mode, the target signal is replaced by a second signal; the second signal refers to a signal in the signal set that is before the target signal and adjacent to the target signal.

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

[0019] If the previous signal is the blank symbol, 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 is greater than a set number, it is determined that the vehicle has a fault.

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

[0023] If each signal in the signal set is 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] determining the type of the sensor;

[0027] The setting range is determined according to the type.

[0028] In a second aspect, an embodiment of the present application provides a signal processing device, including:

[0029] An acquisition unit, used to acquire a signal set output by a sensor; the signal set includes a plurality of signals within a signal acquisition cycle;

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

[0031] A first mode determination unit, configured to determine a processing mode of the target signal based on the position and the output sequence;

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

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

[0034] A second mode determination unit, configured to determine that the processing mode is a signal rejection mode when the output sequence is the first priority and the position is the first;

[0035] a third mode determining unit, configured to determine that the processing mode is a first signal replacement mode when the output sequence is not the first order and the position is the first;

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

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

[0038] A rejection unit, used for rejecting the target signal and setting a blank symbol at the position when the processing mode is a signal rejection mode;

[0039] a first replacement unit, configured to replace the target signal with a first signal when the processing mode is a first signal replacement mode; the first signal refers to the last signal in a previous signal set; the previous signal set refers to a set before the signal set and adjacent to the signal set;

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

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

[0042] The setting unit is used for removing the target signal and setting 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 appearances of the processed target signal is greater than a set number of times.

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

[0046] A second signal determination unit, configured to determine that each signal in the signal set is a normal signal if each signal is 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, configured to determine the type of the sensor;

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

[0051] In a third aspect, an embodiment of the present application provides an electronic control unit, comprising: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the signal processing method as described in any one of the first aspects above is implemented.

[0052] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the signal processing method as described in any one of the above-mentioned first aspects is implemented.

[0053] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product runs on an electronic control unit, the electronic control unit can execute the signal processing method described in any one of the first aspects above.

[0054] In a sixth aspect, an embodiment of the present application provides a vehicle, comprising an electronic control unit, wherein the electronic control unit is used to execute the signal processing method as described in any one of the first aspects.

[0055] Compared with the prior art, the embodiments of the present invention have the following beneficial effects:

[0056] The embodiment of the present application provides a signal processing method, by acquiring a signal set output by a sensor; the signal set includes multiple signals within a signal acquisition cycle; if there is a target signal in the signal set that is not within a 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; based on the position and the output order, the processing method of the target signal is determined; and the target signal is processed based on the processing method. Compared with the prior art, the method can detect the signal set output by the sensor before fault detection. Since in the actual signal transmission process, the reasons for the occasional distortion of signals at different positions are not exactly the same, and the processing methods corresponding to different reasons are not exactly the same, therefore, when the method detects an abnormal signal, it can flexibly determine the processing method that matches the abnormal signal in combination with the position of the abnormal signal and the output order of the signal set, and finally the abnormal signal can be processed accordingly based on the processing method, which not only improves the processing accuracy of the abnormal signal, but also avoids the fault false alarm caused by the abnormal signal generated by the signal distortion, thereby reducing the probability of fault false alarm. BRIEF DESCRIPTION OF THE DRAWINGS

[0057] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0058] Figure 1 is a flow chart of an implementation of a signal processing method provided by an embodiment of the present application;

[0059] Figure 2 is a specific implementation flow chart before step S102 in the signal processing method provided in one embodiment of the present application;

[0060] Figure 3 is a structural schematic diagram of a signal processing device provided by an embodiment of the present application;

[0061] Figure 4 It is a schematic diagram of the structure of an electronic control unit provided in one embodiment of the present application. DETAILED DESCRIPTION

[0062] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.

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

[0064] It should also be understood that the term “and / or” used in the specification and appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes these combinations.

[0065] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0066] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0067] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0068] In actual applications, vehicle sensors transmit signals mainly in the form of voltage, current and digital signals. When the sensor power supply or sensor chip is subject to electromagnetic interference, or the signal is subject to electromagnetic interference during transmission, etc., the sensor signal will be distorted sporadically, causing the instrument fault light in the vehicle to light up, that is, a false fault alarm will occur.

[0069] The existing technology for solving false fault alarms usually rechecks the equipment that may have failed to determine whether a false fault alarm has occurred. However, false alarms caused by signal distortion cannot be avoided, which increases the probability of false fault alarms.

[0070] Therefore, in all the embodiments of the present application, a signal processing method is provided, which can avoid false fault alarms caused by abnormal signals generated by distorted signals output by the sensor by performing corresponding processing on the signals output by the sensor, thereby reducing the probability of false fault alarms.

[0071] See also Figure 1 , Figure 1 This is a flow chart of a signal processing method provided in an embodiment of the present application. In the embodiment of the present application, the execution subject of the signal processing method is an electronic control unit.

[0072] In practical applications, the Electronic Control Unit (ECU), also known as the driving computer or on-board computer, can calculate, process, and judge the various information input by the engine sensors according to its own stored programs, and then output instructions to control the actions of related actuators, so as to achieve the purpose of fast, accurate and automatic control of the engine operation.

[0073] like Figure 1 As shown, the signal processing method provided in an embodiment of the present application may include S101 to S104, which are described in detail as follows:

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

[0075] In practical applications, sensors in vehicles are usually used to feedback the operating status of the monitored parts (such as temperature, pressure or speed information). However, the signals output by the sensors may be distorted occasionally, resulting in signal abnormalities, which in turn light up the instrument fault light and cause a false alarm of a fault in the monitored part. Therefore, in an embodiment of the present application, after the sensor collects a signal set corresponding to the relevant information of the monitored part, the electronic control unit can obtain the signal set output by the sensor. The monitored part may be the engine of the vehicle.

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

[0077] Exemplarily, please refer to Table 1, which is used to describe each signal in each signal acquisition cycle (ie, signal set).

[0078] Table 1:

[0079]

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

[0081] It should be noted that the setting range is used to represent the range of normal signals.

[0082] In one embodiment of the present application, since the sensor is usually used to feedback the operating status of the monitored part (such as temperature, pressure or rotation speed, etc.), and the ranges of normal signals corresponding to different operating states are not exactly the same, such as the range corresponding to the normal temperature signal is different from the range corresponding to the normal pressure signal. Therefore, in order to improve the accuracy of determining the set ranges corresponding to the signals output by different sensors, thereby improving the accuracy of processing abnormal signals, the electronic control unit can specifically perform the following steps: Figure 2 Steps S201 to S202 shown determine the setting range, which are described in detail as follows:

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

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

[0085] In this embodiment, since the vehicle is provided with multiple sensors, in order to determine the sensor that sends the signal set, the signal set carries a sensor identification. When the electronic control unit obtains the signal set output by the sensor, it can extract the sensor identification from the signal set. The sensor identification may include a number, a serial number, or a name, etc.

[0086] The electronic control unit pre-stores 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 identifier 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 rotation speed sensors.

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

[0089] In an embodiment of the present 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 there is a target signal in the signal set that is greater than or equal to the upper limit value 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 value of the set range, and there is no target signal in the signal set that is less than or equal to the lower limit value of the set range, it can determine that each signal in the signal set is within the set range.

[0090] Therefore, in one embodiment of the present application, when the electronic control unit detects that there is a target signal that is not within the set range in the signal set, steps S102 to S104 may be executed.

[0091] In another embodiment of the present application, when the electronic control unit detects that each signal in the signal set is within a set range, the electronic control unit may perform the following steps, which are described in detail as follows:

[0092] If each signal in the signal set is 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 in which normal signals are located, 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, that is, there is no sporadically distorted signal in the signal set.

[0095] Based on this, the electronic control unit can process the normal signal, that is, each signal in the signal set, based on a preset processing method, wherein 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: a storage method.

[0097] In this embodiment, the electronic control unit may store the above-mentioned normal signals, that is, each signal in the signal set, in its own memory for subsequent 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 the embodiment of the present application, since the set range is used to characterize the range of normal signals, 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 determine that the target signal is an abnormal signal.

[0100] It should be noted that the target signal may be one or more.

[0101] In an embodiment of the present application, after the electronic control unit determines that the target signal is an abnormal signal, since in the actual signal transmission process, the reasons for occasional distortion of signals at different positions are not exactly the same, for example, for the signal in the first position, the sensor is prone to occasional distortion caused by signal instability when it just starts working, and for the signal in the middle position, it is prone to occasional distortion caused by unstable transmission channel. At the same time, the corresponding processing methods for different reasons are not exactly the same. Therefore, in order to avoid the abnormal signal being caused by occasional distortion, which in turn leads to false fault alarms, and at the same time, to improve the subsequent processing accuracy 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, so as to process the target signal.

[0102] It should be noted that the position of the target signal in the signal set specifically refers to the order of the target signal in the signal set, that is, the rank in the signal set. Exemplarily, assuming that the position of the target signal in the signal set is the second, the order of the target signal in the signal set is the second.

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

[0104] In S103, a 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, wherein the processing methods include but are not limited to: a signal elimination method, a first signal replacement method and a second signal replacement method.

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

[0107] The first signal replacement mode specifically refers to replacing the signal with the last signal in the previous signal set, wherein the previous signal set refers to a signal set that is before the signal set where the signal is located and is adjacent to the signal set.

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

[0109] In the embodiment of the present application, since the sensor is more likely to have unstable signals when it just starts working, that is, it is more likely to have sporadic distorted signals, therefore, when the signal set where the abnormal signal is located is the first signal set output by the sensor, and the abnormal signal is the first signal in the signal set, it can be determined that the processing method corresponding to the abnormal signal is the signal removal method. When the signal set where the abnormal signal is located is not the first signal set output by the sensor, and the abnormal signal is the first signal in the signal set, since it is already in the signal transmission stage at this time, if the abnormal signal is directly removed, it is easy to cause the electronic control unit to misjudge that the signal frame is lost at this time, and the abnormal signal is the first signal in the signal set, therefore, it can be determined that the processing method corresponding to the abnormal signal is the first signal replacement method. Regardless of whether the signal set where the abnormal signal is located is the first signal set output by the sensor, and the abnormal signal is not the first signal in the signal set, since it is already in the signal transmission stage at this time, if the abnormal signal is directly removed, it is easy to cause the electronic control unit to misjudge that the signal frame is lost at this time, and the abnormal signal is not the first signal in the signal set, therefore, it can be determined that the processing method corresponding to the abnormal signal is the second signal replacement method. Based on this, the electronic control unit can associate and store the above-mentioned corresponding relationship.

[0110] Based on this, when the electronic control unit detects that the output order of the acquired signal set can be first in priority and the position of the target signal is the first, it means that the signal set where the abnormal signal is located 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 of the target signal is the signal rejection method.

[0111] When the electronic control unit detects that the output of the acquired signal set is not the first priority and the position of the target signal is the first, it means that the signal set where the abnormal signal is located 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 of 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 means that the abnormal signal is not the first signal in the signal set. Therefore, regardless of whether the output order of the signal set where the target signal is located is the first priority, 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 the embodiment of the present 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 combination with S103, when the processing mode is a signal rejection mode, 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. Exemplarily, the blank symbol can be: -.

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

[0117] Table 2:

[0118]

[0119] When the processing mode is the first signal replacement mode, the electronic control unit may replace the target signal with the first signal, wherein the first signal refers to the last signal in the previous signal set before the signal set where the target signal is located.

[0120] Exemplarily, assuming that the output sequence of the signal set is second in priority, and the target signal is the first signal in the signal set, the electronic control unit may replace the target signal with the last signal in the signal set of first priority.

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

[0122] Table 3:

[0123]

[0124] It should be noted that, when the last signal in the previous signal set before the signal set where the target signal is located is a processed signal, the electronic control unit may replace the target signal with the last processed signal.

[0125] Exemplarily, assuming that the output order of the signal set is second priority, and the target signal is the first signal in the signal set, the last signal in the first priority signal set is AAX before processing, and the last signal in the first priority signal set is A3 after processing, then the electronic control unit can replace the target signal with the last signal in the first priority 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 signal set output by the sensor provided by another embodiment of the present application is the target signal.

[0127] Table 4:

[0128]

[0129]

[0130] When the processing mode is the second signal replacement mode, the electronic control unit may replace the target signal with the second signal, wherein the second signal refers to a previous signal before the target signal in the signal set.

[0131] Exemplarily, assuming that the output sequence of the signal set is second in priority, and the target signal is the fifth signal in the signal set, the electronic control unit may replace the target signal with the fourth signal in the signal set of second priority.

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

[0133] Table 5:

[0134]

[0135] It should be noted that, when the previous signal before the target signal in the signal set where the target signal is located is a processed signal, the electronic control unit may replace the target signal with the above-mentioned processed previous signal.

[0136] Exemplarily, assuming that the output order of the signal set is second in 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 the fourth signal in the signal set is B1 after processing, then the electronic control unit can replace the target signal with the previous processed signal before the target 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 signal set output by the sensor provided by another embodiment of the present application is the target signal.

[0138] Table 6:

[0139]

[0140]

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

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

[0143] Table 1:

[0144]

[0145] As can be seen from the above, a signal processing method provided by an embodiment of the present application obtains a signal set output by a sensor; the signal set includes multiple signals within a signal acquisition cycle; if there is a target signal in the signal set that is not within a 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; based on the position and the output order, the processing method of the target signal is determined; and the target signal is processed based on the processing method. Compared with the prior art, the present method can detect the signal set output by the sensor before fault detection. Since in the actual signal transmission process, the reasons for the occasional distortion of signals at different positions are not exactly the same, and the processing methods corresponding to different reasons are not exactly the same, therefore, when the present method detects an abnormal signal, it can accurately determine the processing method that matches the abnormal signal in combination with the position of the abnormal signal and the output order of the signal set, and finally the abnormal signal can be processed accordingly based on the processing method, which not only improves the processing accuracy of the abnormal signal, but also avoids the fault false alarm caused by the abnormal signal generated by the signal distortion, thereby reducing the probability of the fault false alarm.

[0146] In one embodiment of the present application, since the target signal with abnormality has been processed accordingly before the fault detection is performed based on the signal output by the sensor, such as steps S101 to S104, in order to match the subsequent fault detection process with the processed target signal, that is, to ensure that the OBD fault diagnosis can not cause other abnormal fault codes to be reported under the premise of normal feedback of the sensor's own fault, and to improve the detection accuracy of vehicle faults, after step S104, the electronic control unit can specifically perform the following steps, which are detailed as follows:

[0147] If the number of consecutive occurrences of the processed target signal is greater than a set number, it is determined that the vehicle has a fault.

[0148] In this embodiment, when the electronic control unit detects that the number of consecutive occurrences of the processed target signal is greater than the set number, it indicates that the number of consecutive occurrences of the abnormal signal exceeds the set number, that is, there is a fault in the monitoring part corresponding to the sensor, that is, the vehicle is in a fault state, and 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 can be understood that the number of consecutive appearances of the target signal after processing is greater than the set number, which can be: the number of consecutive times the electronic control unit eliminates the signal is greater than the set number, or it can be: the number of consecutive appearances of the same signal within a signal cycle (i.e. a signal set) is greater than the set number.

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

[0151] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean 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 the present application.

[0152] Corresponding to a signal processing method described in the above embodiment, Figure 3 The structure diagram of a signal processing device provided by an embodiment of the present application is shown. For the convenience of explanation, only the part related to the embodiment of the present application is shown. 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 a signal set output by the sensor; the signal set includes multiple signals within a signal acquisition cycle.

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

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

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

[0157] In one embodiment of the present 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. Among them:

[0158] The second mode determination unit is used to determine that the processing mode is a signal elimination mode when the output sequence is the first rank and the position is the first.

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

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

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

[0162] The elimination unit is used to eliminate the target signal and set a blank symbol at the position when the processing mode is a signal elimination mode.

[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 a previous signal set; the previous signal set refers to a set that is before the signal set and adjacent to the signal set.

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

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

[0166] The setting unit is used for removing the target signal and setting the blank symbol at the position if the previous signal is the blank symbol.

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

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

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

[0170] The second signal determination unit is configured to determine that each signal in the signal set is a normal signal if each signal in the signal set is 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 the present application, the signal processing device 300 further includes: a type determination unit and a range determination unit.

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

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

[0175] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0176] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by 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 embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0177] Figure 4 This is a schematic diagram of the structure of an electronic control unit provided in one embodiment of the present 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 in the figure) a processor, a memory 41, and a computer program 42 stored in the memory 41 and executable on the at least one processor 40, wherein the processor 40 implements the steps in any of the above-mentioned signal processing method embodiments when executing the computer program 42.

[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 appreciate that Figure 4 It is only 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 in the figure, or a combination of certain components, or different components, for example, it may also include input and output devices, network access devices, etc.

[0179] The processor 40 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) 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, etc.

[0180] In some embodiments, the memory 41 may be an internal storage unit of the electronic control unit 4, such as the memory of the electronic control unit 4. In other embodiments, the memory 41 may also be an external storage device of the electronic control unit 4, such as a plug-in hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic control unit 4. Further, the memory 41 may also include both the internal storage unit of the electronic control unit 4 and an external storage device. The memory 41 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as the program code of the computer program, etc. The memory 41 may also be used to temporarily store data that has been output or is to be output.

[0181] An embodiment of the present application further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0182] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic control unit, the electronic control unit can implement the steps in the above-mentioned various method embodiments when executing the computer program product.

[0183] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the electronic control unit, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0184] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0185] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A signal processing method, characterized in that: include: Acquire a signal set output by a sensor; the signal set includes multiple signals within a signal acquisition cycle; If there is a target signal in the signal set that is not within the set range, determining the target signal as an abnormal signal, and determining the position of the target signal in the signal set and the output order of the signal set; Determining a processing method of the target signal based on the position and the output order; The target signal is processed based on the processing method.

2. The signal processing method according to claim 1, characterized in that: The determining, based on the position and the output sequence, a processing method of the target signal includes: When the output sequence is the first priority and the position is the first, determining that the processing method is a signal rejection method; When the output sequence is not the first order and the position is the first, determining the processing mode to be the first signal replacement mode; When the position is not the first one, the processing method is determined to be a second signal replacement method; the second signal replacement method is different from the first signal replacement method.

3. The signal processing method according to claim 1, characterized in that: The processing of the target signal based on the processing method includes: When the processing mode is a signal removal mode, the target signal is removed and a blank symbol is set at the position; When the processing mode is the first signal replacement mode, the target signal is replaced by the first signal; the first signal refers to the last signal in the previous signal set; the previous signal set refers to the set before the signal set and adjacent to the signal set; When the processing mode is a second signal replacement mode, the target signal is replaced by a second signal; the second signal refers to a signal in the signal set that is before the target signal and adjacent to the target signal.

4. The signal processing method according to claim 3, characterized in that: The step of replacing the target signal with a second signal comprises: If the previous signal is the blank symbol, the target signal is removed and the blank symbol is set at the position.

5. The signal processing method according to claim 1, characterized in that: After the target signal is processed based on the processing method, the method further includes: If the number of consecutive occurrences of the processed target signal is greater than a set number, it is determined that the vehicle has a fault.

6. The signal processing method according to claim 1, characterized in that: After acquiring the signal set output by the sensor, the method further includes: If each signal in the signal set is within the set range, then each signal is determined to be a normal signal; The normal signal is processed based on a preset processing method.

7. The signal processing method according to any one of claims 1 to 6, characterized in that: The setting range is determined according to the following method: determining the type of the sensor; The setting range is determined according to the type.

8. A signal processing device, characterized in that: include: An acquisition unit, used to acquire a signal set output by a sensor; the signal set includes a plurality of signals within a signal acquisition cycle; A first signal determination unit, configured to determine that the target signal is an abnormal signal if there is a target signal that is not within a set range in the signal set, and to determine a position of the target signal in the signal set and an output order of the signal set; A first mode determination unit, configured to determine a processing mode of the target signal based on the position and the output sequence; The first processing unit is used to process the target signal based on the processing method.

9. 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: When the processor executes the computer program, the signal processing method according to any one of claims 1 to 7 is implemented.

10. A vehicle, characterized in that: Comprising an electronic control unit as claimed in claim 9.

Citation Information

Patent Citations

  • Data cleaning method and system suitable for power consumption data of low-voltage transformer area

    CN110175167A

  • Fault processing method and device, electronic equipment and storage medium

    CN115774858A

  • Business image processing method and device, equipment and medium

    CN116798049A

  • Vehicle fault detection method and device, vehicle-mounted terminal and storage medium

    CN116910552A

  • Abnormal data elimination system of Internet of Things production line

    CN117436610A