CN113900425B - Method and system for reading and analyzing fault information of controller - Google Patents
Method and system for reading and analyzing fault information of controller Download PDFInfo
- Publication number
- CN113900425B CN113900425B CN202111187323.2A CN202111187323A CN113900425B CN 113900425 B CN113900425 B CN 113900425B CN 202111187323 A CN202111187323 A CN 202111187323A CN 113900425 B CN113900425 B CN 113900425B
- Authority
- CN
- China
- Prior art keywords
- fault
- fault code
- information
- frozen frame
- code
- 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.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 31
- 238000004458 analytical method Methods 0.000 claims abstract description 37
- 238000007710 freezing Methods 0.000 claims description 12
- 230000008014 freezing Effects 0.000 claims description 12
- 238000006243 chemical reaction Methods 0.000 claims description 3
- 230000003993 interaction Effects 0.000 abstract description 3
- 238000012552 review Methods 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 14
- 238000013461 design Methods 0.000 description 7
- 241000976924 Inca Species 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000012795 verification Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004422 calculation algorithm Methods 0.000 description 1
- 238000007405 data analysis Methods 0.000 description 1
- 238000013523 data management Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 238000005259 measurement Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000008569 process Effects 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B23/00—Testing or monitoring of control systems or parts thereof
- G05B23/02—Electric testing or monitoring
- G05B23/0205—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
- G05B23/0259—Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
- G05B23/0262—Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
-
- G—PHYSICS
- G05—CONTROLLING; REGULATING
- G05B—CONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
- G05B2219/00—Program-control systems
- G05B2219/20—Pc systems
- G05B2219/24—Pc safety
- G05B2219/24065—Real time diagnostics
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]
Landscapes
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Engineering & Computer Science (AREA)
- Automation & Control Theory (AREA)
- Debugging And Monitoring (AREA)
Abstract
The invention provides a controller fault information reading and analyzing method and system based on INCA software. The method comprises the following steps: and reading the number of the confirmed fault codes, and then saving the number of the fault codes fed back by the controller to the ProF script variable. The INCA software-based controller fault information reading and analyzing method and system provided by the invention can enable the INCA software to realize the function of sending the UDS instruction to read and analyze the controller fault information on the premise of not adding extra hardware (cost), can store the read fault information as a report file with a timestamp, so that a user can review, archive and establish a traceability relationship at any time, can provide a simple and easy-to-use configurable interaction method, and can be conveniently adapted to other controllers and projects by modifying the controller information address and corresponding analysis definition, thereby being convenient to develop and use.
Description
Technical Field
The invention relates to the field of automobile control, in particular to a controller fault information reading and analyzing method and system based on INCA software.
Background
The ETAS INCA software comprises functions of functional model calibration, measurement data analysis, calibration data management, flash memory programming control flow (ProF for short later) and the like, and is suitable for calibration and verification of controllers such as whole vehicles, test benches and the like. Therefore, the method is the first choice for calibrating working software of the controller.
In the controller software development and verification stage, a calibration engineer adjusts and optimizes the control system by modifying the characteristic value of the functional algorithm, and verifies whether the modification of the characteristic value can cause the controller to enter a fault state and generate a fault code. If the controller fails, a UDS instruction is required to be sent to read the fault code and the frozen frame information in the controller so as to evaluate and analyze the root cause of the fault. However, the INCA software only provides a simple ProF service, and cannot fulfill the functional requirements of reading and analyzing fault information by sending UDS instructions.
Therefore, the calibration engineering needs to additionally purchase and carry other diagnostic tools and install corresponding diagnostic software to fulfill the requirements, and the cost of developing and verifying the controller is firstly increased because the diagnostic software and the hardware are very expensive. Secondly, the calibration engineer needs to switch back and forth between INCA software and special diagnosis software, so that a plurality of inconveniences are brought to calibration development work.
Therefore, it is necessary to provide a new method and system for reading and analyzing fault information of an INCA software-based controller to solve the above technical problems.
Disclosure of Invention
In order to solve the technical problems, the invention provides a controller fault information reading and analyzing method and system based on INCA software.
The invention provides a method and a system for reading and analyzing controller fault information based on INCA software, which comprises the following steps:
step one: the method comprises the steps of sending a UDS instruction 19 01 08 through an INCA software ProF script to read the number of confirmed fault codes, and then storing the number of fault codes fed back by a controller to a ProF script variable;
step two: sending a UDS instruction 19 02 08 through an INCA software ProF script to read a confirmed fault code report, and then storing all fault codes fed back by a controller into a fault code set file;
step three: calling a control platform program to execute a function of converting fault codes through an INCA software ProF script, wherein the control platform program reads the fault code set file stored in the step 2 and converts the fault code set file into an instruction set file of a UDS read fault code freezing frame;
step four: and circularly reading the instruction set file saved in the step three through the INCA software ProF script, and transmitting the instructions read from the instruction set file one by one. Then, the frozen frame information fed back by the controller is received by using the ProF script;
step five: the frozen frame information of each frame fault code fed back in the fourth step is connected in series through INCA software ProF, and finally the frozen frame information is stored in a frozen frame information set file;
step six: calling a control console program to execute a fault information analysis function through an INCA software ProF script, wherein the control console program reads information of a user configuration file, and the user configuration file comprises fault code OBD rule related frozen frame signal analysis definition, fault code global frozen frame signal analysis definition and all local frozen frame signal analysis definition; and the corresponding relation among fault code numbers, fault code Chinese descriptions and fault code local frozen frame numbers;
step seven: the control desk program reads the fault code set file stored in the second step, brings each read fault code into the user configuration file information to search the Chinese description and the local frozen frame number corresponding to the fault code, and can analyze the fault code into the current/historical fault code according to the state bit of the fault code. Then, the information and the current system time are stored in a fault information report file;
step eight: and C, the control desk program reads the frozen frame information set file stored in the fifth step, and sequentially brings each read frozen frame into user configuration file information to search OBD regulation related frozen frame signal analysis definition, so that the physical value of the frozen frame signal of the fault code is obtained. I.e. the parameter values related to the OBD regulation inside the fault time controller are obtained. Analyzing the global frozen frame signal of the fault code in the same way, and finally storing the OBD frozen frame and global frozen frame information into a fault information report file;
step nine: and C, the control desk program reads the frozen frame information set file stored in the fifth step, and sequentially brings each read frozen frame into user configuration file information to search the local frozen frame number corresponding to the fault code, so that the analysis definition of the local frozen frame signal is searched according to the number, and the physical value of the local frozen frame signal of the fault code is further obtained. Finally, the local frame information is stored in a fault information report file;
step ten: the console program merges the report files saved in the steps seven, eight and nine into a unified report file, and transmits file information back to the INCA software ProF script, so that the functions of reading the INCA software and analyzing the fault information of the controller are completed.
Preferably, the second storing mode is: fault code 1 high bit + fault code 1 low bit + fault code 1 failure mode + fault code 1 status bit + fault code 2 high bit + fault code 2 low bit + fault code 2 failure mode + fault code 2 status.
Preferably, the specific scheme of the third step is as follows: the control desk software reads all fault code information in the file, and adds 19 04 plus the high order of the fault code, the low order of the fault code, the fault code failure mode and FF before each fault code information, and the fault code set is converted into an instruction set for reading the fault code freezing frame at the moment.
Preferably, the specific scheme of the fourth step is as follows: the ProF circularly reads the instruction set file according to the number of the stored fault codes, wherein each time the data of 6 bytes are read, and the data of 6 bytes, namely the data of 19 04 plus fault code high bit + fault code low bit + fault code failure mode + FF, is the read fault code freeze frame format in the UDS service.
An INCA software-based controller fault information reading and resolving system, comprising:
the quantity module is used for reading the number of the confirmed fault codes and storing the number of the fault codes fed back by the controller;
the fault code module reads the confirmed fault code report and stores all fault codes fed back by the controller;
the instruction set module calls a control console program to execute a conversion fault code function, and reads all fault codes and converts the fault codes into an instruction set file of a UDS read fault code freezing frame;
the serial module reads the instructions from the instruction set file, sends the instructions one by one, receives the frozen frame information fed back by the controller, and connects the frozen frame information of each frame of fault code fed back in series;
the definition module is used for calling a control console program to execute a function for analyzing fault information, wherein the control console program reads information of a user configuration file, and the user configuration file comprises fault code OBD rule related frozen frame signal analysis definition, fault code global frozen frame signal analysis definition and all local frozen frame signal analysis definition; and the corresponding relation among fault code numbers, fault code Chinese descriptions and fault code local frozen frame numbers;
the first report module brings each read fault code into user configuration file information to search the Chinese description and local freeze frame number corresponding to the fault code, meanwhile, the fault code can be analyzed into current/historical fault code according to the state bit of the fault code, and then the information and the current system time are stored in a fault information report file;
the second reporting module sequentially brings each read frozen frame into user configuration file information to search OBD rule related frozen frame signal analysis definition, and further obtains a physical value of a frozen frame signal of a fault code, namely, a parameter value related to the OBD rule in the fault time controller is obtained, the global frozen frame signal of the fault code is analyzed in the same way, and finally, the OBD frozen frame and the global frozen frame information are stored into a fault information reporting file;
the third reporting module sequentially brings each read frozen frame into user configuration file information to search the local frozen frame number corresponding to the fault code, so that the analysis definition of the local frozen frame signal is searched according to the number, the physical value of the local frozen frame signal of the fault code is further obtained, and finally the local frozen frame information is stored in a fault information reporting file;
and the merging module merges the saved report files into a unified report file and returns file information.
Preferably, the fault code storage form in the fault code module is as follows: fault code 1 high bit + fault code 1 low bit + fault code 1 failure mode + fault code 1 status bit + fault code 2 high bit + fault code 2 low bit + fault code 2 failure mode + fault code 2 status.
Preferably, the instruction set module: the control desk software reads all fault code information in the file, and adds 19 04 plus the high order of the fault code, the low order of the fault code, the fault code failure mode and FF before each fault code information, and the fault code set is converted into an instruction set for reading the fault code freezing frame at the moment.
Compared with the related art, the INCA software-based controller fault information reading and analyzing method and system provided by the invention have the following beneficial effects:
1. the design method provided by the invention can enable INCA software to realize the functions of sending the UDS instruction to read and analyze the fault information of the controller on the premise of not adding extra hardware (cost).
2. The design method provided by the invention can save the read fault information as a report file with a time stamp, so that a user can record, review, archive and establish a traceability relationship at any time.
3. The design method provided by the invention can provide a simple and easy-to-use configurable interaction method, and a user can conveniently adapt the method to other controllers and projects by modifying the information address and the corresponding analysis definition of the controller, so that the method is convenient to develop and use.
Drawings
FIG. 1 is a workflow diagram provided by the present invention;
fig. 2 is a block diagram of the structure provided by the present invention.
Detailed Description
The invention will be further described with reference to the drawings and embodiments.
The method and system for reading and analyzing the fault information of the controller based on INCA software, as shown in figure 1, comprises the following steps:
step one: the method comprises the steps of sending a UDS instruction 19 01 08 through an INCA software ProF script to read the number of confirmed fault codes, and then storing the number of fault codes fed back by a controller to a ProF script variable;
step two: sending a UDS instruction 19 02 08 through an INCA software ProF script to read a confirmed fault code report, and then storing all fault codes fed back by a controller into a fault code set file;
step three: calling a control platform program to execute a function of converting fault codes through an INCA software ProF script, wherein the control platform program reads the fault code set file stored in the step 2 and converts the fault code set file into an instruction set file of a UDS read fault code freezing frame;
step four: and circularly reading the instruction set file saved in the step three through the INCA software ProF script, and transmitting the instructions read from the instruction set file one by one. Then, the frozen frame information fed back by the controller is received by using the ProF script;
step five: the frozen frame information of each frame fault code fed back in the fourth step is connected in series through INCA software ProF, and finally the frozen frame information is stored in a frozen frame information set file;
step six: calling a control console program to execute a fault information analysis function through an INCA software ProF script, wherein the control console program reads information of a user configuration file, and the user configuration file comprises fault code OBD rule related frozen frame signal analysis definition, fault code global frozen frame signal analysis definition and all local frozen frame signal analysis definition; and the corresponding relation among fault code numbers, fault code Chinese descriptions and fault code local frozen frame numbers;
step seven: the control desk program reads the fault code set file stored in the second step, brings each read fault code into the user configuration file information to search the Chinese description and the local frozen frame number corresponding to the fault code, and can analyze the fault code into the current/historical fault code according to the state bit of the fault code. Then, the information and the current system time are stored in a fault information report file;
step eight: and C, the control desk program reads the frozen frame information set file stored in the fifth step, and sequentially brings each read frozen frame into user configuration file information to search OBD regulation related frozen frame signal analysis definition, so that the physical value of the frozen frame signal of the fault code is obtained. I.e. the parameter values related to the OBD regulation inside the fault time controller are obtained. The global freeze frame signal of the fault code is parsed in the same way. Finally, the OBD frozen frame and the global frozen frame information are stored into a fault information report file;
step nine: the control desk program reads the frozen frame information set file saved in the step five, each read frozen frame is sequentially brought into user configuration file information to search the local frozen frame number corresponding to the fault code, so that the analysis definition of the local frozen frame signal is searched according to the number, the physical value of the local frozen frame signal of the fault code is further obtained, and finally the local frozen frame information is saved in a fault information report file;
step ten: the console program merges the report files saved in the steps seven, eight and nine into a unified report file, and transmits file information back to the INCA software ProF script, so that the functions of reading the INCA software and analyzing the fault information of the controller are completed.
The preservation mode of the second step is as follows: fault code 1 high bit + fault code 1 low bit + fault code 1 failure mode + fault code 1 status bit + fault code 2 high bit + fault code 2 low bit + fault code 2 failure mode + fault code 2 status.
The specific scheme of the third step is as follows: the control desk software reads all fault code information in the file, and adds 19 04 plus the high order of the fault code, the low order of the fault code, the fault code failure mode and FF before each fault code information, and the fault code set is converted into an instruction set for reading the fault code freezing frame at the moment.
The specific scheme of the fourth step is as follows: the ProF circularly reads the instruction set file according to the number of the stored fault codes, wherein each time the data of 6 bytes are read, and the data of 6 bytes, namely the data of 19 04 plus fault code high bit + fault code low bit + fault code failure mode + FF, is the read fault code freeze frame format in the UDS service.
An INCA software-based controller fault information reading and analyzing system, as shown in fig. 2, comprises:
the quantity module is used for reading the number of the confirmed fault codes and storing the number of the fault codes fed back by the controller;
the fault code module reads the confirmed fault code report and stores all fault codes fed back by the controller;
the instruction set module calls a control console program to execute a conversion fault code function, and reads all fault codes and converts the fault codes into an instruction set file of a UDS read fault code freezing frame;
the serial module reads the instructions from the instruction set file, sends the instructions one by one, receives the frozen frame information fed back by the controller, and connects the frozen frame information of each frame of fault code fed back in series;
the definition module is used for calling a control console program to execute a function for analyzing fault information, wherein the control console program reads information of a user configuration file, and the user configuration file comprises fault code OBD rule related frozen frame signal analysis definition, fault code global frozen frame signal analysis definition and all local frozen frame signal analysis definition; and the corresponding relation among fault code numbers, fault code Chinese descriptions and fault code local frozen frame numbers;
the first report module brings each read fault code into user configuration file information to search the Chinese description and local freeze frame number corresponding to the fault code, meanwhile, the fault code can be analyzed into current/historical fault code according to the state bit of the fault code, and then the information and the current system time are stored in a fault information report file;
the second reporting module sequentially brings each read frozen frame into user configuration file information to search OBD rule related frozen frame signal analysis definition, and further obtains a physical value of a frozen frame signal of a fault code, namely, a parameter value related to the OBD rule in the fault time controller is obtained, the global frozen frame signal of the fault code is analyzed in the same way, and finally, the OBD frozen frame and the global frozen frame information are stored into a fault information reporting file;
the third reporting module sequentially brings each read frozen frame into user configuration file information to search the local frozen frame number corresponding to the fault code, so that the analysis definition of the local frozen frame signal is searched according to the number, the physical value of the local frozen frame signal of the fault code is further obtained, and finally the local frozen frame information is stored in a fault information reporting file;
and the merging module merges the saved report files into a unified report file and returns file information.
Further, the fault code storage form in the fault code module is as follows: fault code 1 high bit + fault code 1 low bit + fault code 1 failure mode + fault code 1 status bit + fault code 2 high bit + fault code 2 low bit + fault code 2 failure mode + fault code 2 status.
Further, the instruction set module: the control desk software reads all fault code information in the file, and adds 19 04 plus the high order of the fault code, the low order of the fault code, the fault code failure mode and FF before each fault code information, and the fault code set is converted into an instruction set for reading the fault code freezing frame at the moment.
To sum up: the invention provides a console program which can be called and executed by an INCA (INCA) software flash memory programming control flow, the INCA software flash memory programming control flow and the console program can mutually cooperate to realize a mechanism for sending UDS (universal description service) instructions, the console program analyzes data file information read by the INCA software flash memory programming control flow in a user-defined mode and stores the data file information into a report with a timestamp, the console program can read configuration information of a user and convert the configuration information into a standard UDS diagnostic instruction to store the standard UDS diagnostic instruction into a file, and the console program can also read a controller feedback data file received by the INCA software flash memory programming control flow; according to the design method and the system provided by the invention, a calibration engineer uses INCA software to realize the functions of reading and analyzing fault information by sending UDS instructions under the condition of not adding any extra hardware and cost; therefore, the design method can enable INCA software to realize the function of sending UDS instructions to read and analyze the fault information of the controller on the premise of not adding extra hardware (cost), the design method can store the read fault information as a report file with a time stamp so that a user can record, review, archive and establish a traceability relation at any time, the design method can provide a simple and easy-to-use configurable interaction method, and the user can conveniently adapt the invention to other controllers and projects by modifying the information address and corresponding analysis definition of the controller, thereby being convenient to develop and use.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent structures or equivalent processes or direct or indirect application in other related technical fields are included in the scope of the present invention.
Claims (7)
1. The controller fault information reading and analyzing method based on INCA software is characterized by comprising the following steps:
reading the number of the confirmed fault codes, and storing the number of the fault codes fed back by the controller;
reading the confirmed fault code report, and storing all fault codes fed back by the controller;
calling a console program to execute a function of converting fault codes, and converting all fault codes into an instruction set file of a UDS read fault code freezing frame;
reading the command from the command set file, transmitting the command one by one, receiving the frozen frame information fed back by the controller, and concatenating the frozen frame information of each frame of fault code fed back;
calling a control console program to execute a fault information analysis function, wherein the control console program reads information of a user configuration file, and the user configuration file comprises fault code OBD rule related frozen frame signal analysis definition, fault code global frozen frame signal analysis definition and all local frozen frame signal analysis definition; and the corresponding relation among fault code numbers, fault code Chinese descriptions and fault code local frozen frame numbers;
each read fault code is carried into user configuration file information to search the Chinese description and local freeze frame number corresponding to the fault code, meanwhile, the fault code can be analyzed into current/historical fault codes according to the state bit of the fault code, and then the fault information report file is stored in both the information and the current system time; each read frozen frame is sequentially brought into user configuration file information to search OBD regulation related frozen frame signal analysis definition, so that physical values of frozen frame signals of fault codes are obtained, namely parameter values related to OBD regulation inside a fault time controller are obtained, global frozen frame signals of the fault codes are analyzed in the same way, and finally OBD frozen frames and global frozen frame information are stored in a fault information report file;
sequentially bringing each read frozen frame into user configuration file information to search the local frozen frame number corresponding to the fault code, so as to search the local frozen frame signal analysis definition according to the number, further obtain the physical value of the local frozen frame signal of the fault code, and finally storing the local frozen frame information into a fault information report file;
and merging the saved report files into a unified report file, and returning file information.
2. The method and system for reading and analyzing fault information of an INCA software-based controller according to claim 1, wherein the specific steps of storing all fault codes fed back by the controller are as follows: fault code 1 high bit + fault code 1 low bit + fault code 1 failure mode + fault code 1 status bit + fault code 2 high bit + fault code 2 low bit + fault code 2 failure mode + fault code 2 status.
3. The method and system for reading and analyzing fault information of controller based on INCA software according to claim 1, wherein the specific steps of calling a console program to execute a function of converting fault codes and converting all fault codes into an instruction set file of a UDS read fault code freeze frame are as follows: the control desk software reads all fault code information in the file, and adds 19 04 plus the high order of the fault code, the low order of the fault code, the fault code failure mode and FF before each fault code information, and the fault code set is converted into an instruction set for reading the fault code freezing frame at the moment.
4. The method and system for reading and analyzing controller fault information based on INCA software according to claim 1, wherein the step of reading the obtained command from the command set file and sending the command one by one and receiving the frozen frame information fed back by the controller is as follows: the ProF circularly reads the instruction set file according to the number of the stored fault codes, wherein each time the data of 6 bytes are read, and the data of 6 bytes, namely the data of 19 04 plus fault code high bit + fault code low bit + fault code failure mode + FF, is the read fault code freeze frame format in the UDS service.
5. The controller fault information reading and analyzing system based on INCA software is characterized by comprising a quantity module, a quantity module and a fault code analysis module, wherein the quantity module is used for reading the quantity of confirmed fault codes and storing the quantity of fault codes fed back by a controller;
the fault code module reads the confirmed fault code report and stores all fault codes fed back by the controller;
the instruction set module calls a control console program to execute a conversion fault code function, and reads all fault codes and converts the fault codes into an instruction set file of a UDS read fault code freezing frame;
the serial module reads the instructions from the instruction set file, sends the instructions one by one, receives the frozen frame information fed back by the controller, and connects the frozen frame information of each frame of fault code fed back in series;
the definition module is used for calling a control console program to execute a function for analyzing fault information, wherein the control console program reads information of a user configuration file, and the user configuration file comprises fault code OBD rule related frozen frame signal analysis definition, fault code global frozen frame signal analysis definition and all local frozen frame signal analysis definition; and the corresponding relation among fault code numbers, fault code Chinese descriptions and fault code local frozen frame numbers;
the first report module brings each read fault code into user configuration file information to search the Chinese description and local freeze frame number corresponding to the fault code, meanwhile, the fault code can be analyzed into current/historical fault code according to the state bit of the fault code, and then the information and the current system time are stored in a fault information report file;
the second reporting module sequentially brings each read frozen frame into user configuration file information to search OBD rule related frozen frame signal analysis definition, and further obtains a physical value of a frozen frame signal of a fault code, namely, a parameter value related to the OBD rule in the fault time controller is obtained, the global frozen frame signal of the fault code is analyzed in the same way, and finally, the OBD frozen frame and the global frozen frame information are stored into a fault information reporting file;
the third reporting module sequentially brings each read frozen frame into user configuration file information to search the local frozen frame number corresponding to the fault code, so that the analysis definition of the local frozen frame signal is searched according to the number, the physical value of the local frozen frame signal of the fault code is further obtained, and finally the local frozen frame information is stored in a fault information reporting file;
and the merging module merges the saved report files into a unified report file and returns file information.
6. The INCA software-based controller fault information reading and parsing system according to claim 5, wherein the fault code module stores the form of fault code: fault code 1 high bit + fault code 1 low bit + fault code 1 failure mode + fault code 1 status bit + fault code 2 high bit + fault code 2 low bit + fault code 2 failure mode + fault code 2 status.
7. The INCA software-based controller fault information reading and parsing system of claim 5, wherein the instruction set module: the control desk software reads all fault code information in the file, and adds 19 04 plus the high order of the fault code, the low order of the fault code, the fault code failure mode and FF before each fault code information, and the fault code set is converted into an instruction set for reading the fault code freezing frame at the moment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111187323.2A CN113900425B (en) | 2021-10-12 | 2021-10-12 | Method and system for reading and analyzing fault information of controller |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111187323.2A CN113900425B (en) | 2021-10-12 | 2021-10-12 | Method and system for reading and analyzing fault information of controller |
Publications (2)
Publication Number | Publication Date |
---|---|
CN113900425A CN113900425A (en) | 2022-01-07 |
CN113900425B true CN113900425B (en) | 2024-02-27 |
Family
ID=79191756
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111187323.2A Active CN113900425B (en) | 2021-10-12 | 2021-10-12 | Method and system for reading and analyzing fault information of controller |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN113900425B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101055228A (en) * | 2007-05-31 | 2007-10-17 | 上海依波尔汽车电子有限公司 | K line based electric-control motor fault diagnosis system |
CN105604664A (en) * | 2015-12-23 | 2016-05-25 | 北京工业大学 | Vehicle emission remote monitoring system based on OBD (on-board diagnostics) detection data |
CN108132663A (en) * | 2017-12-19 | 2018-06-08 | 风度(常州)汽车研发院有限公司 | The analytic method of vehicle trouble messages, device and system |
CN109213132A (en) * | 2018-11-26 | 2019-01-15 | 重庆长安汽车股份有限公司 | A kind of method, device and equipment that UDS diagnostic interface software generates |
CN111694341A (en) * | 2020-06-05 | 2020-09-22 | 中国第一汽车股份有限公司 | Fault data storage method and device, vehicle-mounted equipment and storage medium |
-
2021
- 2021-10-12 CN CN202111187323.2A patent/CN113900425B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101055228A (en) * | 2007-05-31 | 2007-10-17 | 上海依波尔汽车电子有限公司 | K line based electric-control motor fault diagnosis system |
CN105604664A (en) * | 2015-12-23 | 2016-05-25 | 北京工业大学 | Vehicle emission remote monitoring system based on OBD (on-board diagnostics) detection data |
CN108132663A (en) * | 2017-12-19 | 2018-06-08 | 风度(常州)汽车研发院有限公司 | The analytic method of vehicle trouble messages, device and system |
CN109213132A (en) * | 2018-11-26 | 2019-01-15 | 重庆长安汽车股份有限公司 | A kind of method, device and equipment that UDS diagnostic interface software generates |
CN111694341A (en) * | 2020-06-05 | 2020-09-22 | 中国第一汽车股份有限公司 | Fault data storage method and device, vehicle-mounted equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN113900425A (en) | 2022-01-07 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111459794B (en) | Communication network testing method, device, computer equipment and storage medium | |
CN103646104A (en) | Hard real-time fault diagnosis method and system | |
CN111258290A (en) | Automatic test method and system for vehicle control unit | |
CN112367680A (en) | External communication test method and device based on intelligent electric meter and computer equipment | |
CN101361140A (en) | Test device | |
CN111983990A (en) | Automatic testing platform for basic software | |
CN113485881A (en) | Testing method and device of temporary speed limiting server, electronic equipment and medium | |
CN113900425B (en) | Method and system for reading and analyzing fault information of controller | |
CN111765075A (en) | Hydraulic forging press pump source fault prediction method and system | |
CN111026072A (en) | Test system and method for control equipment | |
CN111427787B (en) | Synchronous testing method for service data of heterogeneous database | |
CN113092130A (en) | Method for simulating conformance test of electric automobile and vehicle-mounted terminal | |
CN114115168A (en) | Fault injection test system | |
CN113495915A (en) | Information processing method and device of Internet of things equipment and cloud server | |
CN111414299B (en) | SSD (solid State disk) extension information acquisition method and device based on hdchart | |
Xu et al. | Design of vehicle gateway automatic test system based on CANoe | |
CN111835590A (en) | Automatic interface test architecture and test method for cloud host product | |
CN113964935B (en) | Industrial full-closed loop debugging method and system for power distribution automation terminal | |
CN110716858A (en) | Industrial control software testing system and software testing method | |
CN111796805B (en) | AML language performance verification method | |
CN111796998B (en) | AML language performance verification system | |
CN112214403B (en) | Automatic test method, device and system based on protection device model file | |
CN116907849A (en) | Testing method for fuel cell engine | |
CN112863008B (en) | Fault recording method and device, storage medium and computer equipment | |
CN110691008B (en) | Intelligent management unit test system and test method |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |