Unified processing method and device for different types of faults and power module
By storing power module fault detection and processing information through a fault chain list, power module faults are handled in a unified manner, solving the problems of complex code and low reusability in existing technologies, and achieving controllability and efficiency in fault handling.
Patent Information
- Application Number
- CN202210324763.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-03-29
- Publication Date
- 2026-01-16
- Estimated Expiration
- 2042-03-29
AI Technical Summary
Existing power module fault handling code is complex and varied, difficult to control, has low reusability, high error rate, and requires writing code for each type of fault.
By acquiring the fault chain list and storing the detection and processing information of each fault as node information, the fault detection and processing function is called based on the information of each node in the fault chain list to uniformly handle the faults of the power module.
It enables unified handling of different types of faults, improves the controllability and reusability of fault handling code, reduces the error rate, and improves processing efficiency.
Smart Images

Figure CN114690064B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of power module design, and in particular to a unified processing method and device for different types of faults and a power module. BACKGROUND
[0002] With the development of power electronics technology, power modules are increasingly widely used in charging piles of charging stations, on-board power supplies of electric vehicles, and power systems. The fault protection mechanism of a power module can maintain stable operation of the power module when a fault is detected, reduce the failure rate of the module, achieve self-protection of the module, and thus prevent major accidents.
[0003] However, the inventors have found in the process of implementing the present application that the number and content of faults to be detected, the fault levels, the processing methods when a fault occurs or recovers, the time for determining whether a fault or not, and the data sources of the faults to be detected are different for different power modules. For different power modules, when corresponding fault processing codes are written, the codes are usually written or modified one by one according to the different requirements and hardware designs of each fault and the specific situation. However, this can lead to complex and variable fault processing codes for different power modules, which are difficult to control, have a low code reuse rate, and can also cause a high error rate of the fault processing codes due to the complex and redundant writing process. SUMMARY
[0004] The embodiments of the present application provide a unified processing method, device and power module for different types of faults to solve the problem that fault processing codes need to be written one by one for different types of faults, the codes are difficult to control, have a low reuse rate, and have a high error rate.
[0005] In a first aspect, the embodiments of the present application provide a unified processing method for different types of faults, comprising:
[0006] obtaining a fault chain table corresponding to a current power module, the fault chain table comprising a plurality of nodes, and node information of each node corresponding to detection and processing information of a fault to be detected by the current power module;
[0007] based on the node information of each node in the fault chain table, calling a fault detection and processing function to detect and process the fault corresponding to each node in the fault chain table in turn, to complete detection and processing of all faults to be detected by the current power module.
[0008] In a possible implementation, based on the node information of each node in the fault chain table, calling a fault detection and processing function to detect and process the fault corresponding to each node in the fault chain table in turn, comprises:
[0009] marking a first node in the fault chain list as a current node, calling a data extraction callback function in node information of the current node to obtain to-be-detected running data and a detection threshold of a target fault; the target fault is a fault corresponding to the current node;
[0010] detecting, according to the to-be-detected running data and the detection threshold, whether a fault existing time or a fault recovery time of the target fault reaches a corresponding preset detection time by calling a fault detection function;
[0011] updating node information of the current node if the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time;
[0012] processing the target fault according to the updated node information by calling a fault processing function in the updated node information;
[0013] marking a next node of the current node as a new current node, repeating the step of calling the data extraction callback function in the node information of the current node to obtain the to-be-detected running data and the detection threshold of the target fault and subsequent steps until detection and processing of faults corresponding to all nodes in the fault chain list are completed.
[0014] In a possible implementation, before calling the data extraction callback function in the node information of the current node to obtain the to-be-detected running data and the detection threshold of the target fault, the method further includes:
[0015] determining whether the node information of the current node is all valid;
[0016] if the node information of the current node is not all valid, determining whether detection and processing of faults corresponding to all nodes in the fault chain list are completed;
[0017] if detection and processing of faults corresponding to all nodes in the fault chain list are not completed, marking a next node of the current node as a new current node, and repeating the step of determining whether the node information of the current node is all valid and subsequent steps until detection and processing of faults corresponding to all nodes in the fault chain list are completed;
[0018] if the node information of the current node is all valid, calling the data extraction callback function in the node information of the current node to obtain the to-be-detected running data and the detection threshold of the target fault.
[0019] In a possible implementation, after detecting, according to the to-be-detected running data and the detection threshold, whether a fault existing time or a fault recovery time of the target fault reaches a corresponding preset detection time by calling a fault detection function, the method further includes:
[0020] If the fault existing time or the fault recovery time of the target fault does not reach the corresponding preset detection time, the step of marking the next node of the current node as a new current node and the subsequent steps are repeated.
[0021] In a possible implementation, the node information includes a total fault flag value, a fault bit offset, and a fault bit flag value; the total fault flag value is used to indicate whether each fault required to be detected by the current power module occurs, the fault bit offset is used to indicate a corresponding position of a fault corresponding to a first node in the fault chain table in the total fault flag value, and the fault bit flag value is used to indicate whether the fault corresponding to the first node occurs; the first node is any node in the fault chain table.
[0022] If the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time, the node information of the current node is updated, including:
[0023] If the fault existing time of the target fault reaches the corresponding preset detection time, the fault bit flag value corresponding to the current node is updated from a first flag value to a second flag value; the first flag value is a value indicating that the target fault does not occur, and the second flag value is a value indicating that the target fault occurs.
[0024] If the fault recovery time of the target fault reaches the corresponding preset detection time, the fault bit flag value corresponding to the current node is updated from the second flag value to the first flag value.
[0025] According to the updated fault bit flag value and the fault bit offset corresponding to the current node, a flag value in a corresponding position of the total fault flag value corresponding to the current node is updated.
[0026] In a possible implementation, the node information further includes a fault existing time and a fault recovery time of a target fault.
[0027] After the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time, the method further includes:
[0028] If the fault existing time of the target fault reaches the corresponding preset detection time, the fault existing time corresponding to the current node is updated to a first preset initial value.
[0029] If the fault recovery time of the target fault reaches the corresponding preset detection time, the fault recovery time corresponding to the current node is updated to a second preset initial value.
[0030] In a possible implementation, the registration process of the fault chain table includes:
[0031] registering detection processing information of a fault to be detected by the current power module to a corresponding position of the temporary node;
[0032] determining whether the initial node is empty;
[0033] if the initial node is empty, assigning the temporary node to the initial node, and marking the initial node as the current node;
[0034] if the initial node is not empty, assigning the temporary node to a next node of the current node, and marking the next node of the current node as a new current node;
[0035] repeating the above step of registering detection processing information of a fault to be detected by the current power module to a corresponding position of the temporary node and subsequent steps until detection processing information of all faults to be detected by the current power module are registered, to obtain the fault chain table.
[0036] In a second aspect, an embodiment of the present application provides a unified processing device for different types of faults, including:
[0037] an obtaining module, configured to obtain a fault chain table corresponding to a current power module, the fault chain table including a plurality of nodes, and node information of each node corresponding to detection processing information of a fault to be detected by the current power module;
[0038] a processing module, configured to, based on the node information of each node in the fault chain table, call a fault detection processing function to detect and process the fault corresponding to each node in the fault chain table in sequence, to complete detection and processing of all faults to be detected by the current power module.
[0039] In a third aspect, an embodiment of the present application provides a power module, including a control device, the control device including a memory, a processor, and a computer program stored in the memory and executable on the processor, and the processor implements steps of the method according to the first aspect or any possible implementation manner of the first aspect when executing the computer program.
[0040] In a fourth aspect, an embodiment of the present application provides a computer readable storage medium, the computer readable storage medium storing a computer program, and the computer program implements steps of the method according to the first aspect or any possible implementation manner of the first aspect when executed by a processor.
[0041] The embodiment of the present application provides a unified processing method, device and power module of different types of faults, the fault chain table corresponding to the current power module is acquired, the fault chain table comprises a plurality of nodes, and the node information of each node corresponds to the detection processing information of a fault required to be detected by the current power module; based on the node information of each node in the fault chain table, the fault detection processing function is called to detect and process the fault corresponding to each node in the fault chain table in sequence, so that the detection and processing of all faults required to be detected by the current power module are completed. Since the detection processing information of each fault required to be detected by the power module is stored in the form of node information in the fault chain table, when various faults required to be detected by the power module are detected and processed, the corresponding fault can be detected and processed based on the corresponding node information by calling the fault detection processing function. That is, the embodiment of the present application can detect and process each fault required to be detected by the power module based on the unified fault detection processing procedure, and it is not necessary to write fault processing codes one by one for each fault required to be detected. On the one hand, the unified fault detection processing procedure of each fault required to be detected by the power module can improve the controllability of different types of fault processing codes and reduce the fault processing code error rate caused by the redundant and complex writing process. On the other hand, since the unified fault detection processing procedure can be applied to any power module, the difference of the faults required to be detected only leads to the difference of the node information, so that the reuse rate of the fault processing code can be improved and the efficiency can be improved. BRIEF DESCRIPTION OF DRAWINGS
[0042] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the embodiments or prior art description will be briefly introduced. Obviously, the drawings in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without creative labor.
[0043] Figure 1 It is the implementation flowchart of the unified processing method of different types of faults provided by the embodiment of the present application;
[0044] Figure 2 It is the schematic diagram of the node information of each node in the fault chain table provided by the embodiment of the present application;
[0045] Figure 3 It is the schematic diagram of the registration process of the fault chain table provided by the embodiment of the present application;
[0046] Figure 4 It is the schematic diagram of the fault chain table registered by the embodiment of the present application;
[0047] Figure 5is a flowchart of a process for detecting and processing each fault corresponding to a node in a fault chain table according to an embodiment of the present application;
[0048] Figure 6 is a flowchart of a process for detecting and processing each fault corresponding to a node in a fault chain table according to another embodiment of the present application;
[0049] Figure 7 is a structural diagram of a unified processing device for different types of faults according to an embodiment of the present application;
[0050] Figure 8 is a diagram of a control device according to an embodiment of the present application. DETAILED DESCRIPTION
[0051] In the following description, specific details are set forth, such as particular system configurations, techniques, etc., in order to provide a thorough understanding of the embodiments of the present application. However, persons skilled in the art will understand that the present application can be practiced without these specific details. In other instances, well-known structures, devices, circuits, and methods have not been described in detail in order to avoid obscuring the present application.
[0052] In order to make the objectives, technical solutions and advantages of the present application clearer, the following will be described with reference to the accompanying drawings through specific embodiments.
[0053] Referring to Figure 1 which shows an implementation flowchart of a unified processing method for different types of faults according to an embodiment of the present application, and is described in detail as follows:
[0054] In step 101, a fault chain table corresponding to a current power module is obtained.
[0055] The fault chain table includes a plurality of nodes, and the node information of each node corresponds to detection and processing information of a certain fault to be detected by the current power module.
[0056] Since the number and content of faults to be detected, the fault levels, the processing methods when the faults occur or recover, the time for determining whether the faults or not, and the data sources of the faults to be detected are different for a certain power module, in order to uniformly detect and process all faults to be detected by the power module, the information related to the detection and processing of each fault to be detected by the power module is summarized as node information and stored in the nodes of the fault chain table, such as the content of the fault to be detected, the fault level, the processing method when the fault occurs or recovers, and the time for determining whether the fault or not. Thus, each fault to be detected occupies a node of the fault chain table.
[0057] Each fault required to be detected by the power module needs to register the required content of the fault chain table (i.e. the content included in the above node information), and the registration content of each node of the fault chain table is consistent, and finally the fault chain table corresponding to the power module is formed. When detecting and processing the fault based on the fault chain table subsequently, each node in the fault chain table can be processed one by one from the first node of the fault chain table, until the last node in the fault chain table. Each node does not interfere with each other and is executed in order.
[0058] Optionally, the registration process of the fault chain table can include:
[0059] registering the detection and processing information of a certain fault required to be detected by the current power module to the corresponding position of the temporary node; judging whether the initial node is empty; if the initial node is empty, assigning the temporary node to the initial node, and marking the initial node as the current node; if the initial node is not empty, assigning the temporary node to the next node of the current node, and marking the next node of the current node as the new current node; repeating the above step of registering the detection and processing information of a certain fault required to be detected by the current power module to the corresponding position of the temporary node and the subsequent steps until the detection and processing information of all faults required to be detected by the current power module are registered, and the fault chain table is obtained.
[0060] As shown in Figure 2 The content of the node information of each node in the fault chain table can include: a total fault flag value, a fault bit offset, a fault bit flag value, a data extraction callback function, a fault detection mode, a fault level, a fault level processing callback function, a fault detection time buffer area and a fault detection time temporary value buffer area.
[0061] The total fault flag value is used to indicate whether each fault required to be detected by the current power module occurs, the fault bit offset is used to indicate the corresponding position of the fault corresponding to the first node in the fault chain table in the total fault flag value, and the fault bit flag value is used to indicate whether the fault corresponding to the first node occurs. The first node is any node in the fault chain table.
[0062] In order to further understand the total fault flag value, the fault bit offset and the fault bit flag value, an example is given. It is assumed that the total fault flag value is a 32-bit variable, and the bit of the variable represents the meaning as shown in Table 1.
[0063] Table 1
[0064]
[0065] As shown in Table 1, Bit3 corresponds to the input overvoltage fault. If the input overvoltage fault occurs, the flag value corresponding to Bit3 in the total fault flag value is set to 1, and the other bits remain unchanged (if the original state is 1, it remains 1, and if the original state is 0, it remains 0). When the input overvoltage fault is restored, the flag value corresponding to Bit3 in the total fault flag value is cleared to 0, and the other bits remain unchanged. The processing of the other bits when the fault occurs or is restored is the same. This embodiment does not limit the specific number of bits included in the total fault flag value, and each bit corresponds to a fault. Only this is used to illustrate that the total fault flag value in the node information of each node in the fault chain table can indicate whether each fault to be detected by the power module occurs.
[0066] In this embodiment, all faults to be detected by the power module share one variable, i.e., the total fault flag value, which can solve the problem of excessive memory occupation caused by too many variables.
[0067] Based on the total fault flag value, since all faults share one variable, for different nodes in the fault chain table, it is necessary to mark which position of the total fault flag value variable each node corresponds to. In order to indicate the position of the fault, each fault needs to have an offset, i.e., a fault bit offset. Taking the input overvoltage as an example, the offset in the total fault flag value is 3.
[0068] The final value of the fault bit flag value is only 0 or 1, which is set to 1 when the fault occurs and cleared to 0 when the fault is restored. Based on the total fault flag value and the fault bit offset, the method for obtaining any fault bit flag value is to move the total fault flag value by the fault bit offset. Taking the input overvoltage as an example: the fault bit offset of the input overvoltage is 3, so the total fault flag value is right shifted by 3 bits, and the obtained lowest bit is the fault bit flag value of the input overvoltage. When the input overvoltage fault occurs, the fault bit flag value of the input overvoltage is 1, and when the input overvoltage fault is restored, the fault bit flag value of the input overvoltage is 0.
[0069] During the fault detection process, the main flow is to compare the running data to be detected with the fault detection threshold or the fault recovery threshold, and the sources of the fault detection threshold, the fault recovery threshold, and the running data to be detected are different. Taking the input overvoltage detection as an example, the running data to be detected can be:
[0070] First, the specific value of the input voltage after being sampled and converted by the ADC, i.e., the specific value of the input voltage.
[0071] Second, the input overvoltage is sampled and uploaded by the ADC. If it is lower than 1.5V, it is a fault, and if it is higher than 1.5V, it is normal, or vice versa.
[0072] Third, the input overvoltage uses analog circuit detection, and is connected to the IO port. High level is fault, low level is normal, or vice versa.
[0073] Similarly, the fault detection threshold or the fault recovery threshold also varies according to the type of operation data to be detected, which can be a specific numerical value, or a high or low level, etc.
[0074] Therefore, in order to adapt to the changing hardware design and achieve the demand for different hardware designs, a data extraction callback function is registered in the node information of each node of the fault chain table to obtain the above-mentioned detection threshold (fault detection threshold and fault recovery threshold) and the operation data to be detected according to the different use of the customer needs.
[0075] The meaning of the fault detection mode is which type of fault, "over", "under" or "equal", the current node in the fault chain table corresponds to.
[0076] Among them, the "over" type fault is, for example, overvoltage fault, etc. When the operation data to be detected is greater than the fault detection threshold, and after a series of filtering and delay, it still remains greater, it is considered that the fault occurs. When the operation data to be detected is lower than the fault recovery threshold, and after a series of filtering and delay, it still remains lower, it is considered that the fault recovers. The "under" type fault is, for example, under-voltage fault, etc. When the operation data to be detected is less than the fault detection threshold, and after a series of filtering and delay, it still remains less, it is considered that the fault occurs. When the operation data to be detected is higher than the fault recovery threshold, and after a series of filtering and delay, it still remains higher, it is considered that the fault recovers. The "equal" type fault is, for example, hardware fault, etc. When the operation data to be detected is equal to the fault detection threshold, and after a series of filtering and delay, it still remains equal, it is considered that the fault occurs. When the operation data to be detected is equal to the fault recovery threshold, and after a series of filtering and delay, it still remains equal, it is considered that the fault recovers.
[0077] Each fault required to be detected by the power module can be divided into one of the above-mentioned "over" type fault, "under" type fault or "equal" type fault according to the corresponding characteristics.
[0078] The meaning of the fault level is why level of fault, for example, first level fault or second level fault, the current node in the fault chain table corresponds to. The fault level may be different, and the processing after the fault occurs or recovers may be different.
[0079] The fault level processing callback function is the fault handling mode after the fault occurs or recovers according to different fault levels or other factors. The fault level processing callback function corresponding to each level can be different according to the different needs of the customer.
[0080] The fault detection time cache area and the fault detection time temporary value cache area can store preset detection times corresponding to normal states of the power module and preset detection times corresponding to fault states of the power module. The preset detection times corresponding to the normal states or the fault states can be different according to different faults to be detected by the power module.
[0081] The fault detection time cache area and the fault detection time temporary value cache area can be a one-dimensional array with a length of 2. The preset detection times corresponding to the fault states can be registered at the first address of the fault detection time cache area and the fault detection time temporary value cache area, and the preset detection times corresponding to the normal states can be registered at the second address of the fault detection time cache area and the fault detection time temporary value cache area. When detecting and processing the corresponding faults based on the node information of each node in the fault chain table, the time in the fault detection time cache area or the fault detection time temporary value cache area can be accumulated or decremented to determine whether the time of the fault occurrence reaches the preset detection time corresponding to the normal state or whether the time of the fault recovery reaches the preset detection time corresponding to the fault state. Taking the accumulation or the decrement of the time in the fault detection time cache area as an example, if the fault occurrence is detected but the corresponding preset detection time is not reached, or if the fault recovery is detected but the corresponding preset detection time is not reached, the time accumulated or decremented in the fault detection time cache area can be reset according to the time in the fault detection time temporary value cache area.
[0082] After the registration according to the content of the node information, the information registered can be summarized and arranged by using a fault detection registration function to obtain the fault chain table. Then, based on a fault detection processing function, for all nodes in the fault chain table, the data extraction callback function corresponding to the current node can be called to obtain the to-be-detected running data and the detection threshold, the fault detection function can be called to detect the fault corresponding to the current node according to the to-be-detected running data and the detection threshold, the fault detection result (i.e., the fault bit flag value and the total fault flag value) can be updated, and the fault can be processed according to the fault detection result and the fault level. According to the above fault detection processing procedure, each node in the fault chain table is detected one by one, starting from the first node and ending at the last node, and the faults of each node are detected in order, thereby realizing the unified processing of faults using a unified detection procedure after the registration of different faults, and the processing procedures of all faults are consistent, without the need to modify according to different faults.
[0083] For example, in combination with Figure 3 and Figure 4 The process of registering the detection and processing information of a certain fault to be detected by the power module to the temporary node can be as follows:
[0084] (1) Register the total fault flag value and the fault position offset corresponding to the current node to the temporary node, and calculate the fault position flag value corresponding to the current node using the total fault flag value and the fault position offset, and also register it to the temporary node.
[0085] (2) Register the data extraction callback function, fault detection mode, fault level, and fault level handling callback function corresponding to the current node to the temporary node. The fault level handling callback function can be written according to user needs. It can be written under the fault level corresponding to the fault of the current node. It can be the handling method when the fault occurs or the handling method when the fault is recovered.
[0086] (3) Register the preset detection times corresponding to the normal state and the fault state to the fault detection time cache and the fault detection time temporary value cache of the temporary node respectively.
[0087] After registering the detection and processing information of a certain fault that the current power module needs to detect to the corresponding position of the temporary node according to (1)-(3) above, it can be determined whether the initial node is empty; if the initial node is empty, it is considered that no node has been registered yet, so the temporary node is assigned to the initial node and the initial node is marked as the current node, and the current process ends; if the initial node is not empty, there has been another registration process before this registration, so the temporary node is assigned to the next node of the current node and the next node of the current node is marked as the new current node, and the current process ends; thus realizing the one-to-one assignment and registration of each node of the fault chain.
[0088] After registering all the fault detection and processing information required by the current power module, we can obtain... Figure 4 As shown in the fault list, all nodes in the fault list form a unified whole and are arranged one by one according to the order of their registration.
[0089] In step 102, based on the node information of each node in the fault chain, the fault detection and processing function is called to detect and process the faults corresponding to each node in the fault chain in turn, so as to complete the detection and processing of all faults required for the current power module.
[0090] Optional, see Figure 5 Based on the node information of each node in the fault chain, the fault detection and processing function is called sequentially to detect and process the fault corresponding to each node in the fault chain, which may include:
[0091] Step 501: Mark the first node in the fault chain as the current node, and call the data extraction callback function in the node information of the current node to obtain the target fault's running data and detection threshold.
[0092] The target fault is a fault corresponding to the current node.
[0093] Optionally, before the data extraction callback function in the node information of the current node is called to obtain the to-be-detected running data and the detection threshold of the target fault, the method further includes:
[0094] It is determined whether the node information of the current node is all valid.
[0095] If the node information of the current node is not all valid, it is determined whether the detection and processing of the faults corresponding to all nodes in the fault chain table are completed.
[0096] If the detection and processing of the faults corresponding to all nodes in the fault chain table are not completed, a next node of the current node is marked as a new current node, and the step of determining whether the node information of the current node is all valid and subsequent steps are repeated until the detection and processing of the faults corresponding to all nodes in the fault chain table are completed.
[0097] If the node information of the current node is all valid, the data extraction callback function in the node information of the current node is called to obtain the to-be-detected running data and the detection threshold of the target fault.
[0098] In combination with Figure 6 Before the data extraction callback function in the node information of the current node is called to obtain the to-be-detected running data and the detection threshold of the target fault, it is determined whether all nodes in the fault chain table are all traversed (i.e., whether the detection and processing of the faults corresponding to all nodes in the fault chain table are completed), whether the node information of the current node is all valid is determined when all nodes in the fault chain table are not all traversed, when the node information of the current node is not all valid, a next node of the current node is marked as a new current node, and the step of determining whether all nodes in the fault chain table are all traversed and subsequent steps are repeated until the detection and processing of the faults corresponding to all nodes in the fault chain table are completed. When the node information of the current node is all valid, the data extraction callback function in the node information of the current node is called to obtain the to-be-detected running data and the detection threshold of the target fault.
[0099] In the embodiment, before the data extraction callback function in the node information of the current node is called to obtain the to-be-detected running data and the detection threshold of the target fault, the step of detecting whether the node information of the current node is all valid is set, which can improve the detection efficiency of the faults required to be detected by the power module. Before this, the step of determining whether all nodes in the fault chain table are all traversed is set, which can ensure that each fault required to be detected by the power module is detected.
[0100] At step 502, according to the to-be-detected running data and the detection threshold, a fault detection function is called to detect whether the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time.
[0101] In this embodiment, the to-be-detected running data is the running data required to be detected for the target fault corresponding to the current node, and the detection threshold can include a fault detection threshold for detecting whether the target fault occurs when the target fault corresponding to the current node does not occur, and a fault recovery threshold for detecting whether the target fault recovers when the target fault corresponding to the current node occurs. As known from the above step 101, no matter which one of the "over" type fault, the "under" type fault or the "equal" type fault the target fault corresponding to the current node is, when the current node is in the normal state or the fault state, a certain detection time is required to determine whether the fault occurs or recovers, and if the current node is in the normal state, in addition to judging whether the fault occurs according to the to-be-detected running data and the detection threshold, it is also required to judge whether the time (i.e. the fault existing time) for the fault to occur is sufficient based on the preset detection time corresponding to the normal state. If the current node is in the fault state, in addition to judging whether the fault occurs according to the to-be-detected running data and the detection threshold, it is also required to judge whether the time (i.e. the fault recovery time) for the fault to recover is sufficient based on the preset detection time corresponding to the fault state.
[0102] At step 503, if the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time, the node information of the current node is updated.
[0103] Optionally, if the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time, the node information of the current node is updated, which can include:
[0104] If the fault existing time of the target fault reaches the corresponding preset detection time, the fault bit flag value corresponding to the current node is updated from the first flag value to the second flag value.
[0105] The first flag value is a value indicating that the target fault does not occur, and the second flag value is a value indicating that the target fault occurs.
[0106] If the fault recovery time of the target fault reaches the corresponding preset detection time, the fault bit flag value corresponding to the current node is updated from the second flag value to the first flag value.
[0107] According to the updated fault bit flag value and the fault bit offset corresponding to the current node, the flag value at the corresponding position in the total fault flag value corresponding to the current node is updated.
[0108] According to the above step 101, the final result of the fault bit flag value has only two possibilities, one indicating that the fault corresponding to the current node has occurred, and the other indicating that the fault corresponding to the current node has recovered. For example, the fault bit flag value of 1 can indicate that the fault corresponding to the current node has occurred, and the fault bit flag value of 0 can indicate that the fault corresponding to the current node has recovered. Then, if the fault existence time of the target fault reaches the corresponding preset detection time, the fault bit flag value corresponding to the current node is updated from 0 to 1, and if the fault recovery time of the target fault reaches the corresponding preset detection time, the fault bit flag value corresponding to the current node is updated from 1 to 0. According to the updated fault bit flag value and the fault bit offset corresponding to the current node, the flag value in the corresponding position of the total fault flag value corresponding to the current node is updated.
[0109] In the node information, the fault existence time and the fault recovery time of the target fault can also be included.
[0110] After the fault existence time or the fault recovery time of the target fault reaches the corresponding preset detection time, the following can also be included:
[0111] If the fault existence time of the target fault reaches the corresponding preset detection time, the fault existence time corresponding to the current node is updated to the first preset initial value.
[0112] If the fault recovery time of the target fault reaches the corresponding preset detection time, the fault recovery time corresponding to the current node is updated to the second preset initial value.
[0113] In this embodiment, the first preset initial value can be the preset detection time corresponding to the normal state or 0, and the second preset initial value can be the preset detection time corresponding to the fault state or 0. When the first preset initial value or the second preset initial value is 0, the fault existence time or the fault recovery time corresponding to the current node can be obtained by accumulation from 0, and when the first preset initial value or the second preset initial value is not 0, the fault existence time or the fault recovery time corresponding to the current node can be obtained by accumulation.
[0114] In step 504, according to the updated node information, the fault handling function in the updated node information is called to handle the target fault.
[0115] In this embodiment, the fault handling function in the updated node information is the fault level handling callback function in the node information of each node in the fault chain. According to different fault levels or other factors, the fault handling mode after the fault occurs or recovers, i.e. the fault level handling callback function, can timely notify the user when the fault occurs, and wait for the user's response. Or when a major fault occurs, the user is notified, and at the same time, a self-responding protection mechanism is quickly responded, such as shutdown and the like.
[0116] After the step 503 sets the fault bit flag value in the node information of the current node from the normal state to the fault state or from the fault state to the normal state, the subsequent processing can be performed according to the fault processing function according to the different states corresponding to the fault bit flag value and the fault level of the current node.
[0117] In step 505, the next node of the current node is marked as a new current node, and the above steps of calling the data extraction callback function in the node information of the current node to obtain the to-be-detected running data and the detection threshold of the target fault and the subsequent steps are repeated until the detection and processing of all nodes corresponding to the fault in the fault chain table are completed.
[0118] Optionally, after the fault detection function is called to detect whether the fault existence time or the fault recovery time of the target fault reaches the corresponding preset detection time according to the to-be-detected running data and the detection threshold, the method can further include: if the fault existence time or the fault recovery time of the target fault does not reach the corresponding preset detection time, repeating the above step of marking the next node of the current node as a new current node and the subsequent steps.
[0119] The embodiment of the application obtains the fault chain table corresponding to the current power module, the fault chain table includes a plurality of nodes, and the node information of each node corresponds to the detection and processing information of a certain fault to be detected by the current power module; based on the node information of each node in the fault chain table, the fault detection and processing function is called to detect and process the fault corresponding to each node in the fault chain table in turn, so as to complete the detection and processing of all faults to be detected by the current power module. Since the detection and processing information of each fault to be detected by the power module is stored in the fault chain table in the form of node information, when detecting and processing various faults to be detected by the power module, the corresponding fault can be detected and processed based on the corresponding node information by calling the fault detection and processing function. That is, the embodiment of the application can detect and process each fault to be detected by the power module based on a unified fault detection and processing procedure, without having to write fault processing codes one by one for each fault to be detected. On the one hand, the unified fault detection and processing procedure for each fault to be detected by the power module can improve the controllability of different types of fault processing codes and reduce the error rate of fault processing codes caused by redundant and complex writing processes. On the other hand, since the unified fault detection and processing procedure can be applied to any power module in different vehicle factories, charging stations, military power sources and power sources, the only difference between the faults to be detected is the node information, so the reuse rate of the fault processing code can be improved and the efficiency can be improved.
[0120] It should be understood that the size of the serial number of each step in the above embodiment does not mean the order of execution, the execution order of each process should be determined according to its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiment of the application.
[0121] The following is an apparatus embodiment of the application. For details not described in detail, reference can be made to the corresponding method embodiments described above.
[0122] Figure 7 A structural schematic diagram of the unified processing device for different types of faults provided by the embodiment of the application is shown. For ease of illustration, only the parts related to the embodiment of the application are shown, and the details are as follows:
[0123] As shown in Figure 7 The unified processing device for different types of faults includes an acquisition module 71 and a processing module 72.
[0124] The acquisition module 71 is configured to acquire a fault chain table corresponding to the current power module, wherein the fault chain table includes a plurality of nodes, and the node information of each node corresponds to the detection and processing information of a certain fault required to be detected by the current power module.
[0125] The processing module 72 is configured to call a fault detection and processing function based on the node information of each node in the fault chain table to detect and process the fault corresponding to each node in the fault chain table in sequence, so as to complete the detection and processing of all faults required to be detected by the current power module.
[0126] The embodiment of the present application obtains the fault chain table corresponding to the current power module, the fault chain table includes a plurality of nodes, and node information of each node corresponds to detection and processing information of a fault to be detected by the current power module; based on the node information of each node in the fault chain table, a fault detection and processing function is called to detect and process the fault corresponding to each node in the fault chain table in sequence, so as to complete detection and processing of all faults to be detected by the current power module. Since the detection and processing information of each fault to be detected by the power module is stored in the fault chain table in the form of node information, when various faults to be detected by the power module are detected and processed, the corresponding fault can be detected and processed based on the corresponding node information by calling the fault detection and processing function. That is, the embodiment of the present application can detect and process each fault to be detected by the power module based on a unified fault detection and processing procedure, without writing fault processing codes for each fault to be detected one by one. On the one hand, the unified fault detection and processing procedure for each fault to be detected by the power module can improve controllability of different types of fault processing codes and reduce error rate of fault processing codes caused by a redundant and complex writing process. On the other hand, since the unified fault detection and processing procedure can be applied to any power module, only the node information will be different due to different faults to be detected, so that the reuse rate of the fault processing code can be improved and the efficiency can be improved.
[0127] In a possible implementation, the processing module 72 can be configured to mark a first node in the fault chain table as a current node, call a data extraction callback function in the node information of the current node to obtain to-be-detected running data and a detection threshold of a target fault, the target fault being a fault corresponding to the current node; call a fault detection function to detect whether a fault existing time or a fault recovery time of the target fault reaches a corresponding preset detection time according to the to-be-detected running data and the detection threshold; if the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time, update the node information of the current node; call a fault processing function in the updated node information to process the target fault according to the updated node information; mark a next node of the current node as a new current node, and repeat the step of calling the data extraction callback function in the node information of the current node to obtain the to-be-detected running data and the detection threshold of the target fault and subsequent steps until detection and processing of faults corresponding to all nodes in the fault chain table are completed.
[0128] In a possible implementation, the processing module 72 can be further configured to determine whether the node information of the current node is all valid, and if the node information of the current node is not all valid, determine whether detection and processing of the faults corresponding to all nodes in the fault chain table are completed, if the detection and processing of the faults corresponding to all nodes in the fault chain table are not completed, mark the next node of the current node as a new current node, and repeat the step of determining whether the node information of the current node is all valid and the subsequent steps until the detection and processing of the faults corresponding to all nodes in the fault chain table are completed, and if the node information of the current node is all valid, call a data extraction callback function in the node information of the current node to obtain the to-be-detected running data and the detection threshold of the target fault.
[0129] In a possible implementation, the processing module 72 can be further configured to, if the fault existence time or the fault recovery time of the target fault does not reach the corresponding preset detection time, repeat the step of marking the next node of the current node as a new current node and the subsequent steps.
[0130] In a possible implementation, the node information includes a total fault flag value, a fault bit offset, and a fault bit flag value, the total fault flag value is used to indicate whether each fault required to be detected by the current power module occurs, the fault bit offset is used to indicate a corresponding position of the fault corresponding to a first node in the fault chain table in the total fault flag value, and the fault bit flag value is used to indicate whether the fault corresponding to the first node occurs, the first node is any node in the fault chain table, and the processing module 72 can be further configured to, if the fault existence time of the target fault reaches the corresponding preset detection time, update the fault bit flag value corresponding to the current node from a first flag value to a second flag value, the first flag value is a value indicating that the target fault does not occur, and the second flag value is a value indicating that the target fault occurs, if the fault recovery time of the target fault reaches the corresponding preset detection time, update the fault bit flag value corresponding to the current node from the second flag value to the first flag value, and update the flag value in the corresponding position in the total fault flag value corresponding to the current node according to the updated fault bit flag value and the fault bit offset corresponding to the current node.
[0131] In a possible implementation, the node information further includes a fault existence time and a fault recovery time of the target fault, and the processing module 72 can be further configured to, if the fault existence time of the target fault reaches the corresponding preset detection time, update the fault existence time corresponding to the current node to a first preset initial value, and if the fault recovery time of the target fault reaches the corresponding preset detection time, update the fault recovery time corresponding to the current node to a second preset initial value.
[0132] In a possible implementation, the obtaining module 71 can be configured to register the detection processing information of a certain fault required to be detected by the current power module to the corresponding position of the temporary node; determine whether the initial node is empty; if the initial node is empty, assign the temporary node to the initial node, and mark the initial node as the current node; if the initial node is not empty, assign the temporary node to the next node of the current node, and mark the next node of the current node as a new current node; repeat the above step of registering the detection processing information of a certain fault required to be detected by the current power module to the corresponding position of the temporary node and the subsequent steps until the detection processing information of all faults required to be detected by the current power module is registered, and obtain the fault chain table.
[0133] Figure 8 is a schematic diagram of the control device provided by an embodiment of the present application. As shown in the figure, the control device 8 of the embodiment includes a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and executable on the processor 80. The processor 80 implements the steps in the embodiment of the unified processing method of various different types of faults when executing the computer program 82, for example, the steps 101 to 102 shown in the figure. Alternatively, the processor 80 implements the functions of the modules / units in the above-mentioned various device embodiments when executing the computer program 82, for example, the functions of the modules / units 71 to 72 shown in the figure. Figure 8 Figure 1 Figure 5 Figure 7
[0134] For example, the computer program 82 can be divided into one or more modules / units, one or more modules / units are stored in the memory 81 and executed by the processor 80 to complete the present application. One or more modules / units can be a series of computer program instruction segments capable of completing a specific function, which is used to describe the execution process of the computer program 82 in the control device 8. For example, the computer program 82 can be divided into the modules / units 71 to 72 shown in the figure. Figure 7
[0135] The control device 8 can include, but is not limited to, the processor 80 and the memory 81. Those skilled in the art can understand that Figure 8 The control device 8 is only an example and does not constitute a limitation on the control device 8, and can include more or fewer components than shown, or combine certain components, or different components, for example, the control device 8 can also include an input / output device, a network access device, a bus, etc.
[0136] The processor 80 can be a central processing unit (CPU), and can also be other general-purpose processors, a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field-programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, etc. The general-purpose processor can be a microprocessor or the processor can also be any conventional processor.
[0137] The memory 81 can be an internal storage unit of the control device 8, such as a hard disk or a memory of the control device 8. The memory 81 can also be an external storage device of the control device 8, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. Further, the memory 81 can include both the internal storage unit and the external storage device of the control device 8. The memory 81 is used to store computer programs and other programs and data required by the control device 8. The memory 81 can also be used to temporarily store data that has been output or is to be output.
[0138] Those skilled in the art can clearly understand that, for the convenience and brevity of description, only the division of the above functional units and modules is exemplified, and in actual application, the above functions can be completed by different functional units and modules according to needs, that is, the internal structure of the device is divided into different functional units or modules to complete all or part of the above described functions. Each functional unit and module in the embodiment can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit, and the integrated unit can be realized in the form of hardware or in the form of software. In addition, the specific names of each functional unit and module are only for easy distinction, and do not limit the protection scope of the present application. The specific working process of the units and modules in the above system can refer to the corresponding process in the foregoing method embodiments, which will not be described here.
[0139] In the above embodiments, the description of each embodiment has its own emphasis, and the parts not described or recorded in detail in a certain embodiment can be referred to the relevant description of other embodiments.
[0140] Those skilled in the art can understand that the units and algorithm steps of each example described in combination with the embodiments disclosed herein can be realized by electronic hardware or a combination of computer software and electronic hardware. Whether the functions are realized in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of the present application.
[0141] In the embodiments provided by the present application, it should be understood that the disclosed apparatus / terminal and method can be implemented in other ways. For example, the apparatus / terminal embodiments described above are merely schematic. For example, the division of the modules or units is merely a logical function division, and there can be another division manner in actual implementation. For example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the displayed or discussed coupling or direct coupling or communication connection between each other can be indirect coupling or communication connection through some interface, device or unit, and can be electrical, mechanical or in other forms.
[0142] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. they can be located in one place, or can be distributed on a plurality of network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiments.
[0143] In addition, each functional unit in each embodiment of the present application can be integrated into a processing unit, or each unit can exist physically independently, or two or more units can be integrated into one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0144] The integrated module / unit, if implemented in the form of a software function unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on such understanding, all or part of the processes in the above-mentioned embodiment methods can also be completed by a computer program instructing related hardware, and the computer program can be stored in a computer readable storage medium. When the computer program is executed by a processor, the steps of the unified processing method for different types of faults can be implemented. The computer program includes computer program code, which can be in the form of source code, object code, executable files or some intermediate forms, etc. The computer readable medium can include any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electrical carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction, for example, in some jurisdictions, according to legislation and patent practice, the computer readable medium does not include electrical carrier signals and telecommunication signals.
[0145] The above embodiments are only used to illustrate the technical solutions of the present application, rather than limit them; although the present application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or make equivalent replacements for part of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A method for unified handling of different types of faults, characterized by, The method comprises the following steps: obtaining a fault chain table corresponding to a current power module, wherein the fault chain table comprises a plurality of nodes, and the node information of each node corresponds to the detection processing information of a certain fault required to be detected by the current power module; based on the node information of each node in the fault chain table, calling a fault detection processing function to detect and process the fault corresponding to each node in the fault chain table in sequence, so as to complete the detection and processing of all faults required to be detected by the current power module; based on the node information of each node in the fault chain table, calling a fault detection processing function to detect and process the fault corresponding to each node in the fault chain table in sequence, comprising: marking the first node in the fault chain table as a current node, and calling a data extraction callback function in the node information of the current node to obtain the to-be-detected running data and the detection threshold value of the target fault; the target fault is the fault corresponding to the current node; according to the to-be-detected running data and the detection threshold value, calling a fault detection function to detect whether the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time; if the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time, updating the node information of the current node; according to the updated node information, calling a fault processing function in the updated node information to process the target fault; marking the next node of the current node as a new current node, and repeating the above steps of calling the data extraction callback function in the node information of the current node to obtain the to-be-detected running data and the detection threshold value of the target fault and the subsequent steps until the detection and processing of the faults corresponding to all nodes in the fault chain table are completed; wherein the node information comprises a fault detection time buffer area and a fault detection time temporary value buffer area; the first address of the fault detection time buffer area and the first address of the fault detection time temporary value buffer area are used to register the corresponding preset detection time when the fault state is registered; the second address of the fault detection time buffer area and the second address of the fault detection time temporary value buffer area are used to register the corresponding preset detection time when the normal state is registered; the calling of the fault detection function to detect whether the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time comprises: calling the fault detection function to accumulate or decrease the time in the target buffer area, so as to judge whether the fault occurrence time reaches the preset detection time in the normal state or whether the fault recovery time reaches the preset detection time in the fault state; wherein the target buffer area is any one of the fault detection time buffer area or the fault detection time temporary value buffer area.
2. The method of claim 1, wherein Before calling the data extraction callback function in the node information of the current node to obtain the to-be-detected running data and the detection threshold value of the target fault, the method further comprises the following steps: judging whether the node information of the current node is all valid; if the node information of the current node is not all valid, judging whether the detection and processing of the faults corresponding to all nodes in the fault chain table are completed; If the detection and processing of the faults corresponding to all nodes in the fault chain table are not completed, a next node of the current node is marked as a new current node, and the above steps of judging whether the node information of the current node is all valid and subsequent steps are repeated until the detection and processing of the faults corresponding to all nodes in the fault chain table are completed. If the node information of the current node is all valid, a data extraction callback function in the node information of the current node is called to obtain the to-be-detected running data and the detection threshold of the target fault.
3. The method of claim 2, wherein After the fault detection function is called to detect whether the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time according to the to-be-detected running data and the detection threshold, the method further includes: If the fault existing time or the fault recovery time of the target fault does not reach the corresponding preset detection time, the step of marking the next node of the current node as a new current node and subsequent steps are repeated.
4. The method of claim 1, wherein The node information includes a total fault flag value, a fault bit offset, and a fault bit flag value; the total fault flag value is used to indicate whether each fault required to be detected by the current power module occurs, the fault bit offset is used to indicate a corresponding position of the fault corresponding to a first node in the fault chain table in the total fault flag value, and the fault bit flag value is used to indicate whether the fault corresponding to the first node occurs; the first node is any node in the fault chain table. If the fault existing time of the target fault reaches the corresponding preset detection time, the fault bit flag value corresponding to the current node is updated from a first flag value to a second flag value; the first flag value is a value indicating that the target fault does not occur, and the second flag value is a value indicating that the target fault occurs. If the fault recovery time of the target fault reaches the corresponding preset detection time, the fault bit flag value corresponding to the current node is updated from the second flag value to the first flag value. According to the updated fault bit flag value and the fault bit offset corresponding to the current node, a flag value in a corresponding position of the total fault flag value corresponding to the current node is updated. The node information further includes a fault existing time and a fault recovery time of the target fault.
5. The method of claim 4, wherein After the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time, the method further includes: If the fault existing time of the target fault reaches the corresponding preset detection time, the fault existing time corresponding to the current node is updated to a first preset initial value. If the fault recovery time of the target fault reaches the corresponding preset detection time, the fault recovery time corresponding to the current node is updated to a second preset initial value. The registration process of the fault chain table includes:
6. The method of claim 1-5, wherein Registering detection and processing information of a certain fault required to be detected by the current power module to a corresponding position of the temporary node; Judging whether the initial node is empty; If the initial node is empty, assign the temporary node to the initial node, and mark the initial node as the current node; If the initial node is not empty, assign the temporary node to the next node of the current node, and mark the next node of the current node as a new current node; Repeat the above steps of registering the detection processing information of a fault required to be detected by the current power module to the corresponding position of the temporary node, and the subsequent steps, until the detection processing information of all faults required to be detected by the current power module is registered, and the fault chain table is obtained.
7. An apparatus for unified handling of different types of faults, characterized by Comprise: An acquisition module is configured to acquire a fault chain table corresponding to a current power module, wherein the fault chain table comprises a plurality of nodes, and node information of each node corresponds to detection processing information of a fault required to be detected by the current power module; A processing module is configured to call a fault detection processing function based on the node information of each node in the fault chain table to detect and process the fault corresponding to each node in the fault chain table in sequence, so as to complete the detection and processing of all faults required to be detected by the current power module; The processing module is specifically configured to: Mark the first node in the fault chain table as a current node, and call a data extraction callback function in the node information of the current node to acquire detection running data and a detection threshold value of a target fault; The target fault is a fault corresponding to the current node; According to the detection running data and the detection threshold value, call a fault detection function to detect whether a fault existing time or a fault recovery time of the target fault reaches a corresponding preset detection time; If the fault existing time or the fault recovery time of the target fault reaches the corresponding preset detection time, update the node information of the current node; According to the updated node information, call a fault processing function in the updated node information to process the target fault; Mark the next node of the current node as a new current node, and repeat the above steps of calling the data extraction callback function in the node information of the current node to acquire the detection running data and the detection threshold value of the target fault and the subsequent steps, until the detection and processing of the faults corresponding to all nodes in the fault chain table are completed; The node information comprises a fault detection time cache area and a fault detection time temporary value cache area; a first address of the fault detection time cache area and a first address of the fault detection time temporary value cache area are used to register a corresponding preset detection time in a fault state; a second address of the fault detection time cache area and a second address of the fault detection time temporary value cache area are used to register a corresponding preset detection time in a normal state; The processing module is specifically configured to: Call a fault detection function to accumulate or reduce the time in a target cache area, so as to determine whether the time of fault occurrence reaches the corresponding preset detection time in the normal state, or whether the time of fault recovery reaches the corresponding preset detection time in the fault state; wherein the target cache area is any one of the fault detection time cache area or the fault detection time temporary value cache area.
8. A power module, characterized by A control device comprising a memory for storing a computer program and a processor for invoking and running the computer program stored in the memory to perform the method of any of claims 1 to 6.
9. A computer-readable storage medium storing a computer program, the computer program comprising instructions that, when executed by a computer, cause the computer to perform the method of any one of claims 1 to 8. The computer program, which when executed by a processor, implements the steps of the method of any of claims 1 to 6.
Citation Information
Patent Citations
A fault diagnosis method based on vxWorks system
CN109426610A