CN113900425A - 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
- CN113900425A CN113900425A CN202111187323.2A CN202111187323A CN113900425A CN 113900425 A CN113900425 A CN 113900425A CN 202111187323 A CN202111187323 A CN 202111187323A CN 113900425 A CN113900425 A CN 113900425A
- Authority
- CN
- China
- Prior art keywords
- fault code
- fault
- information
- freeze frame
- file
- 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.)
- Granted
Links
- 238000000034 method Methods 0.000 title claims abstract description 33
- 238000004458 analytical method Methods 0.000 claims abstract description 34
- 238000011161 development Methods 0.000 abstract description 6
- 230000003993 interaction Effects 0.000 abstract description 3
- 230000006870 function Effects 0.000 description 15
- 238000013461 design Methods 0.000 description 8
- 241000976924 Inca Species 0.000 description 4
- 230000008569 process Effects 0.000 description 3
- 238000012795 verification Methods 0.000 description 3
- 238000006243 chemical reaction 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
- 238000003745 diagnosis Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000009432 framing 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
- 238000012360 testing method Methods 0.000 description 1
Images
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 confirmed fault code quantity, and then saving the fault code quantity fed back by the controller to the ProF script variable. The method and the system for reading and analyzing the controller fault information based on the INCA software can enable the INCA software to realize the function of sending a UDS instruction to read and analyze the controller fault information on the premise of not adding extra hardware (cost), can save the read fault information as a report file with a time stamp so that a user can read, file and establish a traceability relation 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 information address of the controller and the corresponding analysis definition, thereby being convenient for development 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 INCA software of the ETAS company comprises functions of functional model calibration, measured data analysis, calibration data management, flash memory programming control flow (ProF for short in the following) and the like, and is suitable for calibration and verification of controllers of a whole vehicle, a test bed and the like. Therefore, the method becomes the first choice for calibrating the working software of the controller.
In the development and verification stage of the controller software, a calibration engineer adjusts and optimizes a control system by modifying the characteristic value of the functional algorithm, and simultaneously verifies whether modifying the characteristic value can cause the controller to enter a fault state and generate a fault code. If the controller fails, a UDS instruction needs to be sent to read a fault code and freeze frame information in the controller so as to evaluate and analyze the root cause of the failure. However, the INCA software only provides simple ProF service, and cannot meet the functional requirements of reading and analyzing fault information by sending a UDS instruction.
Therefore, the calibration engineering needs to purchase and carry other diagnostic tools additionally and install corresponding diagnostic software to fulfill the requirements, and since the diagnostic software and the hardware are very expensive, the development and verification cost of the controller is increased firstly. Secondly, the calibration engineer needs to switch the operation back and forth between the INCA software and the special diagnostic software, so that great inconvenience is brought to the calibration development work.
Therefore, it is necessary to provide a new method and system for reading and analyzing the failure information of the controller based on the INCA software to solve the above technical problems.
Disclosure of Invention
In order to solve the technical problem, 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 fault information of a controller based on INCA software, which comprises the following steps:
the method comprises the following steps: sending a UDS instruction 190108 through an INCA software ProF script to read the number of the confirmed fault codes, and then saving the number of the fault codes fed back by the controller to a ProF script variable;
step two: sending a UDS instruction 190208 to read the confirmed fault code report through an INCA software ProF script, and then storing all fault codes fed back by the controller into a fault code set file;
step three: calling a console program to execute a fault code conversion function through an INCA software ProF script, wherein the console program reads the fault code set file stored in the step 2 and converts the fault code set file into an instruction set file for reading a fault code freeze frame by a UDS;
step four: and circularly reading the instruction set files stored in the step three through the ProF script of the INCA software, and sending the instructions read from the instruction set files one by one. Then, the ProF script is used for receiving the freeze frame information fed back by the controller;
step five: connecting the freeze frame information of each fault code fed back in the fourth step in series through an INCA software ProF, and finally storing the freeze frame information in a freeze frame information set file;
step six: calling a console program to execute a fault information analysis function through an INCA software ProF script, wherein the console program reads information of a user configuration file, and the user configuration file comprises fault code OBD regulation related freeze frame signal analysis definitions, fault code global freeze frame signal analysis definitions and all local freeze frame signal analysis definitions; and the corresponding relation among the fault code number, the fault code Chinese description and the fault code local freeze frame number;
step seven: and C, the console program reads the fault code set file stored in the step two, each read fault code is brought into the user configuration file information to retrieve the Chinese description and the local freeze frame number corresponding to the fault code, and the fault code can be analyzed into the current/historical fault code according to the status bit of the fault code. Then storing the information and the current system time into a fault information report file;
step eight: and C, the console program reads the freeze frame information set file stored in the step five, and each read freeze frame is sequentially brought into the user configuration file information to retrieve the analysis definition of the freeze frame signal related to the OBD rule, so that the physical value of the freeze frame signal of the fault code is obtained. Namely, parameter values related to the OBD regulations in the controller at the moment of failure are obtained. Analyzing a global freeze frame signal of the fault code in the same way, and finally storing an OBD freeze frame and global freeze frame information into a fault information report file;
step nine: and the console program reads the freeze frame information set file stored in the step five, and sequentially brings each read freeze frame into the user configuration file information to retrieve the local freeze frame number corresponding to the fault code, so that the local freeze frame signal analysis definition is retrieved according to the number, and the physical value of the local freeze frame signal of the fault code is further obtained. Finally, storing the local framing information into a fault information report file;
step ten: and the console program combines the report files saved in the processes of the seventh step, the eighth step and the ninth step into a unified report file, and transmits the file information back to the ProF script of the INCA software, so that the functions of reading and analyzing the fault information of the controller by the INCA software are completed.
Preferably, the storage method in the second step is as follows: fault code 1 high + fault code 1 low + fault code 1 failure mode + fault code 1 status bit, fault code 2 high + fault code 2 low + fault code 2 failure mode + fault code 2 status.
Preferably, the specific scheme of the third step is as follows: and the console software reads all fault code information in the file, 1904 + high-order fault code + low-order fault code + failure mode + FF is added in front of each fault code information, and at the moment, the fault code set is converted into an instruction set for reading the fault code freeze frame.
Preferably, the specific scheme of the fourth step is as follows: and the ProF reads the instruction set file circularly according to the number of the stored fault codes, wherein 6 bytes of data are read each time, and the data format of each 6 bytes is just '1904 + high bit of fault code + low bit of fault code + failure mode + FF', namely the data format of the 6 bytes is the read fault code freeze frame format in the UDS service.
A controller fault information reading and analyzing system based on INCA software comprises:
the quantity module is used for reading the confirmed fault code quantity and storing the fault code quantity fed back by the controller;
the fault code module reads the confirmed fault code report and stores all the fault codes fed back by the controller;
the instruction set module calls a console program to execute a function of converting fault codes, reads all fault codes and converts the fault codes into an instruction set file for reading a fault code freeze frame by the UDS;
the serial module reads instructions from the instruction set file and sends the instructions one by one, receives the freeze frame information fed back by the controller and serially connects the fed back freeze frame information of each fault code frame;
the definition module is used for calling a console program to execute a function for analyzing fault information, the console program is used for reading information of a user configuration file, and the user configuration file comprises a fault code OBD regulation related freeze frame signal analysis definition, a fault code global freeze frame signal analysis definition and all local freeze frame signal analysis definitions; and the corresponding relation among the fault code number, the fault code Chinese description and the fault code local freeze frame number;
the first reporting module is used for bringing each read fault code into user configuration file information to retrieve the Chinese description and the local frozen frame number corresponding to the fault code, simultaneously analyzing the fault code into a current/historical fault code according to the state bit of the fault code, and then storing a fault information reporting file according to the information and the current system time;
the second reporting module is used for sequentially bringing each read freeze frame into user configuration file information to retrieve the analysis definition of the OBD regulation related freeze frame signal, further obtaining the physical value of the fault code freeze frame signal, namely obtaining the parameter value related to the OBD regulation in the fault moment controller, analyzing the global freeze frame signal of the fault code in the same way, and finally storing the OBD freeze frame and the global freeze frame information into a fault information reporting file;
the third reporting module is used for sequentially bringing each read freeze frame into user configuration file information to retrieve the local freeze frame number corresponding to the fault code, so that the local freeze frame signal analysis definition is retrieved according to the number, the physical value of the local freeze frame signal of the fault code is further obtained, and finally the local freeze 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 + fault code 1 low + fault code 1 failure mode + fault code 1 status bit, fault code 2 high + fault code 2 low + fault code 2 failure mode + fault code 2 status.
Preferably, the instruction set module: and the console software reads all fault code information in the file, 1904 + high-order fault code + low-order fault code + failure mode + FF is added in front of each fault code information, and at the moment, the fault code set is converted into an instruction set for reading the fault code freeze frame.
Compared with the related art, the method and the system for reading and analyzing the fault information of the controller based on the INCA software have the following beneficial effects:
1. the design method provided by the invention can enable the 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 increasing extra hardware (cost).
2. The design method provided by the invention can store the read fault information as a report file with a time stamp, so that a user can read, file and establish a traceability relation 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 of the controller and the corresponding resolution definition, so that the development and the use are convenient.
Drawings
FIG. 1 is a flow chart of the work provided by the present invention;
fig. 2 is a block diagram of the structure provided by the present invention.
Detailed Description
The invention is further described with reference to the following figures and embodiments.
A controller fault information reading and analyzing method and system based on INCA software, as shown in fig. 1, includes the following steps:
the method comprises the following steps: sending a UDS instruction 190108 through an INCA software ProF script to read the number of the confirmed fault codes, and then saving the number of the fault codes fed back by the controller to a ProF script variable;
step two: sending a UDS instruction 190208 to read the confirmed fault code report through an INCA software ProF script, and then storing all fault codes fed back by the controller into a fault code set file;
step three: calling a console program to execute a fault code conversion function through an INCA software ProF script, wherein the console program reads the fault code set file stored in the step 2 and converts the fault code set file into an instruction set file for reading a fault code freeze frame by a UDS;
step four: and circularly reading the instruction set files stored in the step three through the ProF script of the INCA software, and sending the instructions read from the instruction set files one by one. Then, the ProF script is used for receiving the freeze frame information fed back by the controller;
step five: connecting the freeze frame information of each fault code fed back in the fourth step in series through an INCA software ProF, and finally storing the freeze frame information in a freeze frame information set file;
step six: calling a console program to execute a fault information analysis function through an INCA software ProF script, wherein the console program reads information of a user configuration file, and the user configuration file comprises fault code OBD regulation related freeze frame signal analysis definitions, fault code global freeze frame signal analysis definitions and all local freeze frame signal analysis definitions; and the corresponding relation among the fault code number, the fault code Chinese description and the fault code local freeze frame number;
step seven: and C, the console program reads the fault code set file stored in the step two, each read fault code is brought into the user configuration file information to retrieve the Chinese description and the local freeze frame number corresponding to the fault code, and the fault code can be analyzed into the current/historical fault code according to the status bit of the fault code. Then storing the information and the current system time into a fault information report file;
step eight: and C, the console program reads the freeze frame information set file stored in the step five, and each read freeze frame is sequentially brought into the user configuration file information to retrieve the analysis definition of the freeze frame signal related to the OBD rule, so that the physical value of the freeze frame signal of the fault code is obtained. Namely, parameter values related to the OBD regulations in the controller at the moment of failure are obtained. The global freeze frame signal of the fault code is analyzed in the same way. Finally, storing the OBD freeze frame and the global freeze frame information into a fault information report file;
step nine: the console program reads the freeze frame information set file stored in the fifth step, and sequentially brings each read freeze frame into user configuration file information to retrieve the local freeze frame number corresponding to the fault code, so that the local freeze frame signal analysis definition is retrieved according to the number, the physical value of the local freeze frame signal of the fault code is further obtained, and finally the local freeze frame information is stored into a fault information report file;
step ten: and the console program combines the report files saved in the processes of the seventh step, the eighth step and the ninth step into a unified report file, and transmits the file information back to the ProF script of the INCA software, so that the functions of reading and analyzing the fault information of the controller by the INCA software are completed.
The storage mode of the second step is as follows: fault code 1 high + fault code 1 low + fault code 1 failure mode + fault code 1 status bit, fault code 2 high + fault code 2 low + fault code 2 failure mode + fault code 2 status.
The third step is specifically as follows: and the console software reads all fault code information in the file, 1904 + high-order fault code + low-order fault code + failure mode + FF is added in front of each fault code information, and at the moment, the fault code set is converted into an instruction set for reading the fault code freeze frame.
The specific scheme of the step four is as follows: and the ProF reads the instruction set file circularly according to the number of the stored fault codes, wherein 6 bytes of data are read each time, and the data format of each 6 bytes is just '1904 + high bit of fault code + low bit of fault code + failure mode + FF', namely the data format of the 6 bytes is the read fault code freeze frame format in the UDS service.
A controller failure information reading and analyzing system based on INCA software, as shown in fig. 2, includes:
the quantity module is used for reading the confirmed fault code quantity and storing the fault code quantity fed back by the controller;
the fault code module reads the confirmed fault code report and stores all the fault codes fed back by the controller;
the instruction set module calls a console program to execute a function of converting fault codes, reads all fault codes and converts the fault codes into an instruction set file for reading a fault code freeze frame by the UDS;
the serial module reads instructions from the instruction set file and sends the instructions one by one, receives the freeze frame information fed back by the controller and serially connects the fed back freeze frame information of each fault code frame;
the definition module is used for calling a console program to execute a function for analyzing fault information, the console program is used for reading information of a user configuration file, and the user configuration file comprises a fault code OBD regulation related freeze frame signal analysis definition, a fault code global freeze frame signal analysis definition and all local freeze frame signal analysis definitions; and the corresponding relation among the fault code number, the fault code Chinese description and the fault code local freeze frame number;
the first reporting module is used for bringing each read fault code into user configuration file information to retrieve the Chinese description and the local frozen frame number corresponding to the fault code, simultaneously analyzing the fault code into a current/historical fault code according to the state bit of the fault code, and then storing a fault information reporting file according to the information and the current system time;
the second reporting module is used for sequentially bringing each read freeze frame into user configuration file information to retrieve the analysis definition of the OBD regulation related freeze frame signal, further obtaining the physical value of the fault code freeze frame signal, namely obtaining the parameter value related to the OBD regulation in the fault moment controller, analyzing the global freeze frame signal of the fault code in the same way, and finally storing the OBD freeze frame and the global freeze frame information into a fault information reporting file;
the third reporting module is used for sequentially bringing each read freeze frame into user configuration file information to retrieve the local freeze frame number corresponding to the fault code, so that the local freeze frame signal analysis definition is retrieved according to the number, the physical value of the local freeze frame signal of the fault code is further obtained, and finally the local freeze 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 + fault code 1 low + fault code 1 failure mode + fault code 1 status bit, fault code 2 high + fault code 2 low + fault code 2 failure mode + fault code 2 status.
Further, the instruction set module: and the console software reads all fault code information in the file, 1904 + high-order fault code + low-order fault code + failure mode + FF is added in front of each fault code information, and at the moment, the fault code set is converted into an instruction set for reading the fault code freeze frame.
In summary, the following steps: the invention provides a control console program which can be called and executed by an INCA flash memory programming control flow, which can enable the INCA flash memory programming control flow and the control console program to be mutually cooperated to realize a mechanism for sending a UDS instruction, the control console program analyzes data file information read by the INCA flash memory programming control flow and stores a report with a time stamp according to a user-defined mode, the control console program can read configuration information of a user and convert the configuration information into a standard UDS diagnosis instruction to be stored into a file, and the control console program can also read a controller feedback data file received by the INCA flash memory programming control flow; through the design method and the system provided by the invention, a calibration engineer uses the INCA software to realize the function of sending a UDS instruction to read and analyze fault information under the condition of not adding any extra hardware and cost, the invention carries out technical scheme design based on the ProF script and the interface of the INCA software, uses the ProF script to compile a user-defined command, enables the INCA software to have a functional interface required by the function of reading and analyzing the fault information, uses the C # language to compile a window console program, the console program can be called by a flash memory programming control flow, the console program can read a user configuration file and is matched with a script language for use, and when a user clicks and executes a fault memory information command in a reading controller, the INCA software is called by the ProF flash memory programming control flow; therefore, the design method enables the INCA software to realize the function of sending the UDS instruction to read and analyze the fault information of the controller on the premise of not adding extra hardware (cost), the design method can save the read fault information as a report file with a time stamp so that a user can read, file 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 of the controller and the corresponding analysis definition, thereby facilitating development and use.
The above description is only an embodiment of the present invention, and not intended to limit the scope of the present invention, and all modifications of equivalent structures and equivalent processes, which are made by using the contents of the present specification and the accompanying drawings, or directly or indirectly applied to other related technical fields, are included in the scope of the present invention.
Claims (7)
1. A controller fault information reading and analyzing method based on INCA software is characterized by comprising the following steps:
reading the number of confirmed fault codes and saving 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, reading all fault codes and converting the fault codes into an instruction set file for reading a fault code freeze frame by the UDS;
reading instructions from the instruction set file, sending the instructions one by one, receiving freeze frame information fed back by the controller, and connecting the freeze frame information of each fed back fault code in series;
calling a console program to execute a function for analyzing fault information, wherein the console program reads information of a user configuration file, and the user configuration file comprises a fault code OBD regulation related freeze frame signal analysis definition, a fault code global freeze frame signal analysis definition and all local freeze frame signal analysis definitions; and the corresponding relation among the fault code number, the fault code Chinese description and the fault code local freeze frame number;
each read fault code is brought into user configuration file information to retrieve Chinese description and local freeze frame number corresponding to the fault code, meanwhile, the fault code can be analyzed into a current/historical fault code according to the state bit of the fault code, and then a fault information report file is stored for the information and the current system time; sequentially bringing each read freeze frame into user configuration file information to retrieve OBD regulation related freeze frame signal analysis definition, further obtaining a physical value of a fault code freeze frame signal, namely obtaining a fault moment controller internal OBD regulation related parameter value, analyzing a fault code global freeze frame signal in the same way, and finally storing an OBD freeze frame and global freeze frame information into a fault information report file;
sequentially bringing each read freeze frame into user configuration file information to retrieve a local freeze frame number corresponding to the fault code, thereby retrieving a local freeze frame signal analysis definition according to the number, further obtaining a physical value of a local freeze frame signal of the fault code, and finally storing local freeze frame information in a fault information report file;
and combining the saved report files into a unified report file, and returning the file information.
2. The method and system for reading and analyzing the fault information of the controller based on the INCA software as claimed in claim 1, wherein the specific steps of storing all fault codes fed back by the controller are as follows: fault code 1 high + fault code 1 low + fault code 1 failure mode + fault code 1 status bit, fault code 2 high + fault code 2 low + fault code 2 failure mode + fault code 2 status.
3. The method and system for reading and analyzing the fault information of the controller based on the INCA software according to claim 1, wherein the specific steps of calling a console program to execute a function of converting fault codes, reading all fault codes and converting the fault codes into an instruction set file of a UDS read fault code freeze frame are as follows: and the console software reads all fault code information in the file, 1904 + high-order fault code + low-order fault code + failure mode + FF is added in front of each fault code information, and at the moment, the fault code set is converted into an instruction set for reading the fault code freeze frame.
4. The method and system for reading and analyzing the fault information of the controller based on the INCA software as claimed in claim 1, wherein the step of reading the instructions from the instruction set file and sending the instructions one by one is as follows: and the ProF reads the instruction set file circularly according to the number of the stored fault codes, wherein 6 bytes of data are read each time, and the data format of each 6 bytes is just '1904 + high bit of fault code + low bit of fault code + failure mode + FF', namely the data format of the 6 bytes is the read fault code freeze frame format in the UDS service.
5. A controller fault information reading and analyzing system based on INCA software is characterized by comprising a quantity module, a fault code analyzing module and a fault code analyzing module, wherein the quantity module is used for reading the quantity of confirmed fault codes and storing the quantity of the fault codes fed back by a controller;
the fault code module reads the confirmed fault code report and stores all the fault codes fed back by the controller;
the instruction set module calls a console program to execute a function of converting fault codes, reads all fault codes and converts the fault codes into an instruction set file for reading a fault code freeze frame by the UDS;
the serial module reads instructions from the instruction set file and sends the instructions one by one, receives the freeze frame information fed back by the controller and serially connects the fed back freeze frame information of each fault code frame;
the definition module is used for calling a console program to execute a function for analyzing fault information, the console program is used for reading information of a user configuration file, and the user configuration file comprises a fault code OBD regulation related freeze frame signal analysis definition, a fault code global freeze frame signal analysis definition and all local freeze frame signal analysis definitions; and the corresponding relation among the fault code number, the fault code Chinese description and the fault code local freeze frame number;
the first reporting module is used for bringing each read fault code into user configuration file information to retrieve the Chinese description and the local frozen frame number corresponding to the fault code, simultaneously analyzing the fault code into a current/historical fault code according to the state bit of the fault code, and then storing a fault information reporting file according to the information and the current system time;
the second reporting module is used for sequentially bringing each read freeze frame into user configuration file information to retrieve the analysis definition of the OBD regulation related freeze frame signal, further obtaining the physical value of the fault code freeze frame signal, namely obtaining the parameter value related to the OBD regulation in the fault moment controller, analyzing the global freeze frame signal of the fault code in the same way, and finally storing the OBD freeze frame and the global freeze frame information into a fault information reporting file;
the third reporting module is used for sequentially bringing each read freeze frame into user configuration file information to retrieve the local freeze frame number corresponding to the fault code, so that the local freeze frame signal analysis definition is retrieved according to the number, the physical value of the local freeze frame signal of the fault code is further obtained, and finally the local freeze 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 of claim 5, wherein the fault code module has a fault code storage form: fault code 1 high + fault code 1 low + fault code 1 failure mode + fault code 1 status bit, fault code 2 high + fault code 2 low + fault code 2 failure mode + fault code 2 status.
7. The INCA software-based controller failure information reading and parsing system of claim 5, wherein the instruction set module: and the console software reads all fault code information in the file, 1904 + high-order fault code + low-order fault code + failure mode + FF is added in front of each fault code information, and at the moment, the fault code set is converted into an instruction set for reading the fault code freeze frame.
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 true CN113900425A (en) | 2022-01-07 |
CN113900425B 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 |
---|---|
CN113900425B (en) | 2024-02-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US6550052B1 (en) | Software development framework for constructing embedded vehicle controller software | |
CN108255152B (en) | vehicle diagnosis method, diagnosis box and computer readable storage medium | |
CN111258290A (en) | Automatic test method and system for vehicle control unit | |
CN111817938A (en) | Method, system and storage medium for compiling automobile CAN communication matrix | |
CN111579982A (en) | Relay protection automatic test system and test method thereof | |
CN108762235A (en) | Vehicle analyzes adjustment method, vehicle analysis debugging system and electric vehicle | |
JP2000232516A (en) | Method for generating validity check rule, generating module, control module and storage means | |
CN116087867A (en) | Method for testing operation reliability of intelligent electric energy meter | |
CN116049974A (en) | Aircraft alarm logic design and simulation system and design and simulation method | |
CN112181810B (en) | Intelligent bicycle debugging system based on TCN (train control network) | |
CN113900425A (en) | Method and system for reading and analyzing fault information of controller | |
CN111026072A (en) | Test system and method for control equipment | |
CN113495915A (en) | Information processing method and device of Internet of things equipment and cloud server | |
CN110069812B (en) | Configuration method, system and storage medium for robot path track point attribute | |
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 | |
CN113985849A (en) | Method for writing DTC (digital control channel) read ECU (electronic control unit) version of automatic clear-reading whole vehicle based on CANoe software | |
CN111510355A (en) | Automatic sequence test system and method for CAN communication of whole vehicle | |
CN113093688B (en) | Input and output testing method and system for new energy vehicle control unit | |
CN115203305B (en) | Equipment test system | |
CN116541442B (en) | New energy automobile log analysis method and device | |
CN111239523B (en) | Frequency converter testing system, method and device and storage medium | |
CN110688299A (en) | Automatic test platform for application software of nuclear power plant | |
CN107733981A (en) | Measuring instrument adjustment method based on IEC62056 agreements | |
CN113010402B (en) | Method and system for testing upper limit and lower limit of physical value of CAN (controller area network) signal |
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 |