CN115167354A - Fault online diagnosis method and device - Google Patents

Fault online diagnosis method and device Download PDF

Info

Publication number
CN115167354A
CN115167354A CN202210799346.7A CN202210799346A CN115167354A CN 115167354 A CN115167354 A CN 115167354A CN 202210799346 A CN202210799346 A CN 202210799346A CN 115167354 A CN115167354 A CN 115167354A
Authority
CN
China
Prior art keywords
fault
list signal
faults
signal
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210799346.7A
Other languages
Chinese (zh)
Inventor
孙志华
刘建宇
王洪涛
胡文俊
朱玲
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Dongfeng Motor Group Co Ltd
Original Assignee
Dongfeng Motor Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Dongfeng Motor Group Co Ltd filed Critical Dongfeng Motor Group Co Ltd
Priority to CN202210799346.7A priority Critical patent/CN115167354A/en
Publication of CN115167354A publication Critical patent/CN115167354A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

The invention discloses a fault online diagnosis method and a fault online diagnosis device, wherein the method comprises the following steps: acquiring fault state data of a plurality of faults defined for the vehicle component; the fault state data represents whether the corresponding fault occurs at present; mapping based on the plurality of fault state data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, one data segment at least corresponds to a fault state of a fault, and the fault state indicates whether the corresponding fault occurs or not; outputting a target fault list signal of the plurality of fault list signals based on the fault list signal. The invention can completely display any defined fault of the current vehicle part through the fault list signal, and finally output the fault according to the requirement, so that the fault can be positioned by a field engineer in real time, the timeliness is better, and the fault troubleshooting efficiency is improved.

Description

Fault online diagnosis method and device
Technical Field
The invention relates to the technical field of software, in particular to a fault online diagnosis method and device.
Background
Vehicle diagnostics are generally divided into online diagnostics and offline diagnostics. The on-line diagnosis in the general sense means that when the parts are in operation, the fault diagnosis module built in the software detects the fault and records and stores the relevant information. The off-line diagnosis refers to reading fault information which is stored in the on-line process of each part through an external diagnosis device through a diagnosis protocol; and further, the positioning of the fault and the identification of the fault reason are achieved. The two methods are relatively limited for vehicle troubleshooting, and not only are the stored information quantity limited, but also the online diagnosis capability is lacked and is very passive. Reliable fault information cannot be provided for a field engineer to position a fault area and a fault component in real time.
Therefore, the current fault diagnosis method in the prior art cannot realize real-time fault location.
Disclosure of Invention
In view of the above problems, the invention provides a fault online diagnosis method and device, which can acquire, map and output fault state data of vehicle parts, can position faults for field engineers in real time, have good timeliness, and improve fault troubleshooting efficiency.
In a first aspect, the present application provides the following technical solutions through an embodiment:
an online fault diagnosis method includes: acquiring fault state data of a plurality of faults defined for the vehicle part; the fault state data represents whether the corresponding fault occurs at present; mapping is carried out based on the fault state data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, one data segment at least corresponds to a fault state of one fault, and the fault state indicates whether the corresponding fault occurs or not; outputting a target fault list signal of the plurality of fault list signals based on the fault list signal.
Optionally, before the mapping based on the multiple fault status data and obtaining the fault list signal, the method further includes:
acquiring the total number of defined faults; and determining the length of a data segment of the fault list signal based on the total number of faults.
Optionally, the determining a data segment length of the fault list signal based on the total number of faults includes:
when the total number of faults is smaller than a preset number threshold, determining the length of the data segment to be 1 bit; when the total number of faults is not less than a preset number threshold, determining the length of the data segment to be log2 (N) +1 bit; wherein N is the total number of defined faults, and the value of the data segment is used to characterize whether the corresponding fault occurs.
Optionally, when it is determined that the length of the data segment is 1 bit, the mapping is performed based on the plurality of fault status data to obtain a fault list signal, where the mapping includes:
and mapping the fault state data which represents the occurrence of the fault into 1, mapping the fault state data which represents the non-occurrence of the fault into 0, and obtaining the fault list signal.
Optionally, when it is determined that the length of the data segment is log2 (N) +1 bit, outputting a target fault list signal of the plurality of fault list signals based on the fault list signal includes:
determining the target fault list signal based on a signal with a fault in the fault list signals; and outputting the target fault list signal.
Optionally, before the mapping based on the plurality of fault status data and obtaining the fault list signal, the method includes: configuring a fault priority for each of said defined faults; the mapping based on the plurality of fault status data to obtain a fault list signal comprises: and mapping the plurality of fault state data to obtain the fault list signal based on that the higher the fault priority is, the higher the mapped data segment is.
Optionally, the mapping based on the plurality of fault status data to obtain a fault list signal includes:
determining a target fault from the plurality of faults based on the severity and frequency of occurrence of each fault of the plurality of faults; and mapping the fault state data corresponding to the target fault into the fault list signal.
Optionally, before outputting a target fault list signal of the plurality of fault list signals based on the fault list signal, the method further includes: defining a fault protection measure for each fault of the plurality of faults, the fault protection measure corresponding to a fault protection code; after the mapping is performed based on the plurality of fault state data and the fault list signal is obtained, the method further includes: matching corresponding fault protection codes for the value of each data segment in the fault list signal to obtain a fault protection signal; outputting the fault protection signal based on the fault list signal.
In a second aspect, based on the same inventive concept, the present application provides the following technical solutions through an embodiment:
an online fault diagnosis device comprising:
the system comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring fault state data of a plurality of faults defined for vehicle parts; the fault state data represents whether the corresponding fault occurs; the mapping module is used for mapping based on the fault state data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, one data segment at least corresponds to a fault state of one fault, and the fault state indicates whether the corresponding fault occurs or not; and the output module is used for outputting a target fault list signal in the plurality of fault list signals based on the fault list signals.
In a third aspect, based on the same inventive concept, the present application provides the following technical solutions through an embodiment:
an electronic device comprising a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the online fault diagnosis method to perform the steps of any of the preceding first aspects.
The embodiment of the invention provides a fault online diagnosis method and a fault online diagnosis device, wherein fault state data of a plurality of faults defined for vehicle parts are acquired; the fault status data may characterize whether the corresponding fault is currently occurring. Then, mapping is carried out based on the plurality of fault state data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, and a fault at least corresponds to one data segment; outputting a target fault list signal of the plurality of fault list signals based on the fault list signal. Any defined fault of the vehicle parts can be completely displayed through the fault list signal, and finally the fault list signal is output according to the requirement, so that the fault can be positioned in real time by a field engineer, the timeliness is good, and the troubleshooting efficiency is improved.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on the drawings without creative efforts. In the drawings:
FIG. 1 is a flow chart illustrating a method for online fault diagnosis in an embodiment of the present invention;
FIG. 2 is a schematic diagram showing the architectural relationship of a bus signaling module and a fault management module in an embodiment of the present invention;
FIG. 3 is a schematic diagram illustrating a first mapping principle for obtaining a fault list signal according to an embodiment of the present invention;
FIG. 4 is a diagram illustrating a second mapping principle for obtaining a fault list signal according to an embodiment of the present invention;
FIG. 5 is a diagram illustrating a third mapping principle for obtaining a fault list signal according to an embodiment of the present invention;
fig. 6 shows a schematic structural diagram of a fault online diagnosis device in an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. While exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the scope of the disclosure to those skilled in the art.
At present, information and data which can be referred to by engineers cannot be provided in real time for both online diagnosis and offline diagnosis of vehicles. The online diagnosis also only depends on a software fault diagnosis module arranged in the vehicle to detect the fault and record and store related information. The diagnosis effect of online diagnosis is greatly limited, troubleshooting and real-time fault lookup cannot be flexibly carried out, and the troubleshooting initiative is low. In view of the above, the invention provides a fault online diagnosis method and device, which can be built in vehicle part software; the fault state data of the vehicle parts are mapped and output in real time, so that a field engineer is assisted to quickly locate a fault area and parts, the fault reason troubleshooting time is shortened, and the fault diagnosis efficiency is improved. The inventive concept is illustrated and described in more detail below by means of specific embodiments.
Referring to fig. 1, in an embodiment of the present invention, an online fault diagnosis method is provided, including:
step S10: acquiring fault state data of a plurality of faults defined for the vehicle part; the fault state data represents whether the corresponding fault occurs at present;
step S20: mapping based on the plurality of fault state data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, one data segment at least corresponds to a fault state of one fault, and the fault state indicates whether the corresponding fault occurs or not;
step S30: outputting a target fault list signal of the plurality of fault list signals based on the fault list signal.
In this embodiment, the fault list signals of the vehicle parts can be mapped and output through steps S10 to S30, so as to assist a field engineer to quickly locate a fault area and a part, shorten the troubleshooting time of a fault cause, and further improve the fault diagnosis efficiency.
Step S10: acquiring fault state data of a plurality of faults defined for the vehicle component; the fault state data characterizes whether the corresponding fault occurs currently.
In step S10, the malfunction of the vehicle component may be predefined, for example, a steering wheel is not positive, a battery is not sufficient, a window lift motor is disabled, and the like. The above definition is only exemplary, and may be defined by reference to the related standards or by the common definition in the industry. The information contained in the fault state data at least includes a fault and a fault state corresponding to the fault, and the fault state indicates whether the fault occurs or not. The fault status data is acquired in real time. It can be understood that the method may be built in the bus signal module 10 of the vehicle component software, and the fault status data may be obtained by calling data in the fault management module 20 of the vehicle in real time through an Application Programming Interface (API), as shown in fig. 2, to form an architectural relationship between the bus signal module 10 and the fault management module 20.
In some implementations, when defining faults of vehicle components, corresponding fault protection measures may also be defined for each fault at the same time, that is, each fault protection measure defined corresponds to at least one fault. When defining the fault protection measure, the corresponding fault protection code may be matched at the same time and may be stored in the fault management module 20. Corresponding fault protection codes, or fault protection measure signals, may be obtained for the occurring fault mappings simultaneously when the fault list signals are obtained from the subsequent mappings.
In some implementations, the faults of the vehicle components may also be classified or configured with corresponding fault priorities and failure levels. The priority may be defined based on the severity of the fault and the failure level may include a zero output fault, a derated fault, a warning fault, etc. The fault priority may be determined based on the severity of the fault and/or the historical frequency of occurrence of the fault, with a higher priority being given to faults that are more severe and occur more frequently.
It will be appreciated that fault validation management, such as fault definition, may be implemented by the fault management module 20; fault condition management, such as conditional triggering of a fault condition. Fault priority management may also be implemented, such as defining a fault priority; fault failure level management, e.g. defining the failure level of a fault. Fault protection management may also be implemented, for example, defining fault protection measures; fault lockout management, for example, locks out associated components when certain faults occur. Fault freeze management, fault storage management, and the like may also be implemented.
Step S20: mapping based on the plurality of fault state data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, one data segment at least corresponds to one fault state of the fault, and the fault state indicates whether the corresponding fault occurs or not.
In step S20, the mapped signals, or the signals required for output, may be embedded in the bus signal module 10 of the vehicle component software. The fault list signal may be designed differently in this embodiment based on the total number of faults defined.
It will be appreciated that the total number of faults for a defined fault may be obtained prior to step S20; then, based on the total number of failures, the data segment length of the failure list signal is determined. Like this the data segment length of accessible difference expresses the fault list signal to can be more comprehensive look up the fault state when the total number of faults is less, can more orderly, more efficient look up the fault state when the total number of faults is more, improve troubleshooting efficiency.
In some implementations, when the total number of faults is less than a preset number threshold, determining the length of the data segment as 1 bit; for example, the preset number threshold may be 5, 10, 15, etc., and may be related to the size design and character size design of the display panel for display after outputting the fault list signal; the quantity threshold may be set larger when the area available for display is larger and the character size is smaller; conversely, the number threshold may be set smaller. When the total number of faults is smaller than the number threshold value, the fault state can be comprehensively displayed, and the troubleshooting efficiency is improved.
When the length of the data segment is determined to be 1 bit, the fault state data indicating that a fault occurs may be mapped to 1 (16 is expressed as 0x 1), and the fault state data indicating that a fault does not occur may be mapped to 0 (16 is expressed as 0x 0), thereby obtaining a fault list signal; in the fault list signal, the location of the data segment may represent a defined fault (fault name) and the value of the data segment may represent the fault status of the fault. That is, when the total number of faults is m, the signal length of the fault list signal is also m, as shown in fig. 3. And displaying all fault states by the shortest data bit width. In addition, in other implementations, the data may be set to be 2 bits, 3 bits, etc. in length.
In some implementations, when the total number of faults is not less than a preset number threshold, determining the length of the data segment as log2 (N) +1 bit; where N is the total number of defined faults and the value of the data segment is used to characterize whether the corresponding fault occurred. In such an implementation, it is difficult to achieve a comprehensive display and review due to the large total number of faults. Therefore, only the failure information with higher or more urgent priority may be output in consideration of the subsequent signal output at the time of design, and thus it should be ensured that each failure defined can uniquely correspond to the value of one data segment at the time of designing the value of the data segment. That is, each mapped value of the fault status data is uniquely represented. Therefore, in the implementation mode, the length of the data segment is designed to be log2 (N) +1 bit, and meanwhile, one-to-one mapping can be realized by combining Hex coding, coding can be performed based on the fault priority during coding, and the critical fault can be preferentially displayed, as shown in fig. 4. For example, when the total number of faults is 255 (i.e., N =255, and 0x0 is used to indicate no fault), a data segment with a size of 1byte may be required to indicate, that is, whether a certain fault occurs in 255 faults or not may be uniquely indicated by a data segment with a bit width of 8 bits. This implementation only needs to read the value of the data segment to know the fault and fault status without considering the location of the digit in the fault list signal. More flexible subsequent output processing can be performed. For example, when K faults need to be output for display, the values of the K data segments need only to be output, and the length of the fault list signal is Klog2 (N) +1 bit, so that the bus resources can be effectively saved.
In addition, by adopting the design mode that the length of the data segment is log2 (N) +1 bit, fault state data can be mapped to a fault list signal according to a time sequence without independently recording fault time, so that the occurrence sequence of the faults can be recorded more conveniently, and bus resources are saved. For example, each data segment in the mapped fault list signal may be arranged in time sequence, and only faults that have occurred may be arranged, so that non-occurring faults do not occupy bus resources.
Furthermore, the corresponding data segments can be mapped according to the failure priority during mapping. That is, based on the fact that the higher the fault priority is, the higher the mapped data segment is, the multiple fault state data are mapped to obtain a fault list signal; a failure having a higher display priority may be preferentially output in outputting the display, as shown in fig. 5. For example, the total number of faults is 255, and when at least 4 fault states need to be output and displayed, 4byte length fault list signals, which are respectively B4, B3, B2, and B1, may be adopted; that is, of the 255 failures, the highest priority is displayed in the B4 data segment and the lowest priority is displayed in the B1 data segment. In fig. 5, "H" represents the upper four bits and "L" represents the lower four bits. Therefore, the fault most needing to be concerned can be displayed at the most front position, and the troubleshooting efficiency is improved.
Furthermore, in order to further improve timeliness and reduce the occupation of bus resources to ensure that the output fault state can be displayed, a target fault can be determined from a plurality of faults based on the severity and occurrence frequency of each fault in the plurality of faults; and mapping the fault state data corresponding to the target fault into a fault list signal. For example, a plurality of faults are arranged according to the predefined severity degree from high to low, and the first A faults are selected; and arranging a plurality of faults according to the occurrence frequency of the history counted in advance from high to low, and selecting the first B faults. The number of target failures is a + B bits. At this time, the length of the data segment may also be determined based on whether the number of target failures is less than a preset number threshold; that is, when the number of target faults is less than the preset number threshold, the length of the data segment is determined to be 1 bit, so as to ensure that the fault state is comprehensively displayed.
Step S30: outputting a target fault list signal of the plurality of fault list signals based on the fault list signal.
In step S30, the output target fault list signal may be a fault list signal, or may be the content of a partial data segment in the fault list signal, or may be further filtered and output for display. The output target fault list signal can be displayed by code through an external display device. For example, when the data segment is determined to be 1 bit in length, the entire display can be performed by outputting a fault list signal.
In some implementations, when the data segment is determined to have a length of log2 (N) +1 bits, a target fault list signal may be determined based on a signal of a fault occurring in the fault list signal; then, a target failure list signal is output. Because the output fault list signal can represent the fault state of the defined fault, the information of the fault related signal in the bus signal module 10 can be checked in real time through the external equipment, and the efficiency of troubleshooting by field system engineers is improved.
In some implementations, because a failsafe measure is defined for each of the plurality of failures, the failsafe measure corresponds to a failsafe code. Matching corresponding fault protection codes for the value of each data segment in the fault list signal to obtain a fault protection signal; finally, a fault protection signal is output based on the fault list signal. That is, in the bus signal module 10, the fault protection code to be output may constitute a fault protection signal; when the fault list signal is output, the corresponding fault protection signal is output so as to be used for reference and troubleshooting by field engineers, and the troubleshooting efficiency is improved.
In summary, the embodiment of the present invention provides an online fault diagnosis method, wherein fault status data of a plurality of faults defined for vehicle components are obtained; the fault status data may characterize whether the corresponding fault is currently occurring. Then, mapping is carried out based on the plurality of fault state data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, and a fault at least corresponds to one data segment; outputting a target fault list signal of the plurality of fault list signals based on the fault list signal. Any defined fault of the vehicle parts can be completely displayed through the fault list signal, and finally the fault list signal is output according to the requirement, so that the fault can be positioned in real time by a field engineer, the timeliness is good, and the troubleshooting efficiency is improved.
Referring to fig. 6, based on the same inventive concept, in another embodiment of the present invention, there is provided an online fault diagnosis apparatus 300, where the online fault diagnosis apparatus 300 includes:
an obtaining module 301, configured to obtain fault status data of a plurality of faults defined for a vehicle component; the fault state data represents whether the corresponding fault occurs; a mapping module 302, configured to perform mapping based on the multiple fault status data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, one data segment at least corresponds to a fault state of one fault, and the fault state indicates whether the corresponding fault occurs or not; an output module 303, configured to output a target fault list signal in the plurality of fault list signals based on the fault list signal.
As an optional implementation manner, the system further comprises a signal definition module; before mapping based on the plurality of fault status data to obtain a fault list signal, the signal definition module is configured to: acquiring the total number of faults of the defined faults; and determining the length of the data segment of the fault list signal based on the total number of faults.
As an optional implementation manner, the signal definition module is specifically configured to: when the total number of faults is smaller than a preset number threshold, determining the length of the data segment to be 1 bit; when the total number of faults is not less than a preset number threshold, determining the length of the data segment to be log2 (N) +1 bit; wherein N is the total number of defined faults, and the value of the data segment is used to characterize whether the corresponding fault occurs.
As an optional implementation manner, when it is determined that the length of the data segment is 1 bit, the mapping module 302 is specifically configured to: and mapping the fault state data which represents the occurrence of the fault into 1, mapping the fault state data which represents the non-occurrence of the fault into 0, and obtaining the fault list signal.
As an optional implementation manner, when it is determined that the length of the data segment is log2 (N) +1 bit, the output module 303 is specifically configured to: determining the target fault list signal based on a signal with a fault in the fault list signals; and outputting the target fault list signal.
As an optional implementation manner, the system further comprises a priority definition module; before the mapping is performed based on the plurality of fault state data and the fault list signal is obtained, the priority definition module is configured to: configuring a fault priority for each of said defined faults; the mapping module 302 is specifically configured to: and mapping the plurality of fault state data to obtain the fault list signal based on that the higher the fault priority is, the higher the mapped data segment is.
As an optional implementation manner, the mapping module 302 is specifically configured to: determining a target fault from the plurality of faults based on the severity and frequency of occurrence of each fault of the plurality of faults; and mapping the fault state data corresponding to the target fault into the fault list signal.
As an optional implementation, the system further includes a protective measure definition module, and before outputting a target fault list signal of the plurality of fault list signals based on the fault list signal, the protective measure definition module is further configured to: defining a fault protection measure for each fault of the plurality of faults, the fault protection measure corresponding to a fault protection code; the mapping module 302 is further configured to: matching corresponding fault protection codes for the value of each data segment in the fault list signal to obtain a fault protection signal; the output module 303 is further configured to: outputting the fault protection signal based on the fault list signal.
It should be noted that, the implementation and technical effects of the online fault diagnosis device 300 provided by the embodiment of the present invention are the same as those of the foregoing method embodiment, and for the sake of brief description, reference may be made to corresponding contents in the foregoing method embodiment for parts of the embodiment of the device that are not mentioned.
Based on the same inventive concept, there is also provided in yet another embodiment of the present invention an electronic device comprising a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the electronic device to perform the steps of the method of any of the preceding embodiments. It should be noted that, in the electronic device provided in the embodiment of the present invention, when the instructions are executed by the processor, the specific implementation and the resulting technical effect of each step are the same as those in the foregoing method embodiment, and for the sake of brief description, reference may be made to corresponding contents in the foregoing method embodiment where no mention is made in part of the apparatus embodiment.
The term "and/or" appearing herein is merely one type of associative relationship that describes an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship; the word "comprising" does not exclude the presence of elements or steps not listed in a claim. The word "a" or "an" preceding an element does not exclude the presence of a plurality of such elements. The invention may be implemented by means of hardware comprising several distinct elements, and by means of a suitably programmed computer. In the unit claims enumerating several means, several of these means may be embodied by one and the same item of hardware. The usage of the words first, second and third, etcetera do not indicate any ordering. These words may be interpreted as names.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the invention.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An online fault diagnosis method is characterized by comprising the following steps:
acquiring fault state data of a plurality of faults defined for the vehicle component; the fault state data represents whether the corresponding fault occurs at present;
mapping based on the plurality of fault state data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, one data segment at least corresponds to a fault state of one fault, and the fault state indicates whether the corresponding fault occurs or not;
outputting a target fault list signal of the plurality of fault list signals based on the fault list signal.
2. The method of claim 1, wherein before mapping based on the plurality of fault status data to obtain a fault list signal, further comprising:
acquiring the total number of faults of the defined faults;
and determining the length of the data segment of the fault list signal based on the total number of faults.
3. The method of claim 2, wherein said determining a data segment length of said fault list signal based on said total number of faults comprises:
when the total number of faults is smaller than a preset number threshold, determining the length of the data segment to be 1 bit;
when the total number of faults is not less than a preset number threshold, determining the length of the data segment to be log2 (N) +1 bit; wherein N is the total number of defined faults, and the value of the data segment is used to characterize whether the corresponding fault occurs.
4. The method of claim 3, wherein when it is determined that the data segment is 1-bit long, said mapping based on the plurality of fault status data to obtain a fault list signal comprises:
and mapping the fault state data which represents the occurrence of the fault into 1, mapping the fault state data which represents the non-occurrence of the fault into 0, and obtaining the fault list signal.
5. The method of claim 3, wherein said outputting a target fault list signal of a plurality of said fault list signals based on said fault list signal when said data segment length is determined to be log2 (N) +1 bits comprises:
determining the target fault list signal based on a signal with a fault in the fault list signals;
and outputting the target fault list signal.
6. The method of claim 1, wherein prior to said mapping based on said plurality of fault status data to obtain a fault list signal, comprising:
configuring a fault priority for each of said defined faults;
the mapping based on the plurality of fault status data to obtain a fault list signal comprises:
and mapping the plurality of fault state data to obtain the fault list signal based on that the higher the fault priority is, the higher the mapped data segment is.
7. The method of claim 1, wherein said mapping based on said plurality of fault status data to obtain a fault list signal comprises:
determining a target fault from the plurality of faults based on the severity and frequency of occurrence of each fault of the plurality of faults;
and mapping the fault state data corresponding to the target fault into the fault list signal.
8. The method of claim 1, wherein before outputting a target fault list signal of the plurality of fault list signals based on the fault list signal, further comprising:
defining a fault protection measure for each fault of the plurality of faults, the fault protection measure corresponding to a fault protection code;
after the mapping is performed based on the multiple fault state data and the fault list signal is obtained, the method further includes:
matching corresponding fault protection codes for the value of each data segment in the fault list signal to obtain a fault protection signal;
outputting the fault protection signal based on the fault list signal.
9. An online fault diagnosis device, comprising:
the system comprises an acquisition module, a processing module and a control module, wherein the acquisition module is used for acquiring fault state data of a plurality of faults defined for vehicle parts; the fault state data represents whether the corresponding fault occurs;
the mapping module is used for mapping based on the fault state data to obtain a fault list signal; the fault list signal comprises a plurality of data segments, one data segment at least corresponds to a fault state of one fault, and the fault state indicates whether the corresponding fault occurs or not;
and the output module is used for outputting a target fault list signal in the plurality of fault list signals based on the fault list signals.
10. An electronic device comprising a processor and a memory coupled to the processor, the memory storing instructions that, when executed by the processor, cause the online failure diagnosis method to perform the steps of the method of any of claims 1-8.
CN202210799346.7A 2022-07-06 2022-07-06 Fault online diagnosis method and device Pending CN115167354A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210799346.7A CN115167354A (en) 2022-07-06 2022-07-06 Fault online diagnosis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210799346.7A CN115167354A (en) 2022-07-06 2022-07-06 Fault online diagnosis method and device

Publications (1)

Publication Number Publication Date
CN115167354A true CN115167354A (en) 2022-10-11

Family

ID=83493927

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210799346.7A Pending CN115167354A (en) 2022-07-06 2022-07-06 Fault online diagnosis method and device

Country Status (1)

Country Link
CN (1) CN115167354A (en)

Similar Documents

Publication Publication Date Title
CN107918382B (en) Automobile fault diagnosis method, automobile fault diagnosis device and electronic equipment
EP3584658B1 (en) Method, system, device, and computer readable storage medium for diagnosing vehicle
JP3657027B2 (en) Time management system and method for vehicle fault diagnosis apparatus
US20190312892A1 (en) Onboard cybersecurity diagnostic system for vehicle, electronic control unit, and operating method thereof
EP2803048B1 (en) System and method for providing diagnostic fault information
US7877636B2 (en) System and method for detecting temporal relationships uniquely associated with an underlying root cause
CN108205424A (en) Data migration method, device and electronic equipment based on disk
US20060271256A1 (en) Device and method for on-board diagnosis based on a model
CN112798951A (en) Fault processing method and device, electronic equipment and storage medium
US8219279B2 (en) Method for on-board data backup for configurable programmable parameters
CN103927335A (en) Vehicle diagnosis visualized modeling management system and method
CN114620056A (en) Vehicle sensor fault diagnosis method and device, vehicle and storage medium
US9355506B2 (en) Method for managing fault messages of a motor vehicle
CN113721584B (en) Visual vehicle diagnosis method and device, equipment and storage medium
US20200159980A1 (en) Method for a computer-aided automated verification of requirements
CN115167354A (en) Fault online diagnosis method and device
US7539564B2 (en) Device and method for central on-board diagnosis for motor vehicles
EP3072046B1 (en) Latency tolerant fault isolation
CN115100757B (en) Method and device for storing automobile data, vehicle and storage medium
CN111145380A (en) Reported data processing method and device adaptive to vehicle-mounted equipment and electronic equipment
CN103569070A (en) Method and device used for indicating faults
CN113467984B (en) Method, device, computer equipment and storage medium for diagnosing faults of aircraft system
US20220180676A1 (en) System for analyzing data in a vehicle
JP2007286018A (en) On-board fault diagnosis control device
Foran et al. An intelligent diagnostic system for distributed, multi-ECU automotive control systems

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination