[go: up one dir, main page]

CN115016431A - OBD diagnostic system function test method, device and equipment - Google Patents

OBD diagnostic system function test method, device and equipment Download PDF

Info

Publication number
CN115016431A
CN115016431A CN202210599901.1A CN202210599901A CN115016431A CN 115016431 A CN115016431 A CN 115016431A CN 202210599901 A CN202210599901 A CN 202210599901A CN 115016431 A CN115016431 A CN 115016431A
Authority
CN
China
Prior art keywords
obd
diagnostic system
qualified
fault
obd diagnostic
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
Application number
CN202210599901.1A
Other languages
Chinese (zh)
Other versions
CN115016431B (en
Inventor
胡旋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Voyah Automobile Technology Co Ltd
Original Assignee
Voyah Automobile Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Voyah Automobile Technology Co Ltd filed Critical Voyah Automobile Technology Co Ltd
Priority to CN202210599901.1A priority Critical patent/CN115016431B/en
Publication of CN115016431A publication Critical patent/CN115016431A/en
Application granted granted Critical
Publication of CN115016431B publication Critical patent/CN115016431B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B23/00Testing or monitoring of control systems or parts thereof
    • G05B23/02Electric testing or monitoring
    • G05B23/0205Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults
    • G05B23/0208Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the configuration of the monitoring system
    • G05B23/0213Modular or universal configuration of the monitoring system, e.g. monitoring system having modules that may be combined to build monitoring program; monitoring system that can be applied to legacy systems; adaptable monitoring system; using different communication protocols
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/24Pc safety
    • G05B2219/24065Real time diagnostics
    • YGENERAL 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
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02TCLIMATE CHANGE MITIGATION TECHNOLOGIES RELATED TO TRANSPORTATION
    • Y02T10/00Road transport of goods or passengers
    • Y02T10/10Internal combustion engine [ICE] based vehicles
    • Y02T10/40Engine management systems

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

本申请提供一种OBD诊断系统功能的测试方法、装置和计算机设备,通过根据OBD诊断系统中的诊断协议设定车辆的控制器的规范输出物,并使设定后的控制器与所述OBD诊断系统通信;在车辆驾驶循环开启后,向设定后的控制器注入故障;待MIL故障指示灯点亮后,设定后的控制器向所述OBD诊断系统上报实际输出物,并根据实际输出物和规范输出物来确定所述OBD诊断系统是否合格。以实现在OBD诊断系统搭建的过程中对OBD诊断系统的功能软件进行测试和验证,以及时发现OBD诊断系统不足,方便后续的改正和开发,从而保证OBD系统功能的规范性性和全面性。

Figure 202210599901

The present application provides a method, device and computer equipment for testing the function of an OBD diagnostic system. By setting the standard output of the controller of the vehicle according to the diagnostic protocol in the OBD diagnostic system, and making the set controller and the OBD Diagnosis system communication; after the vehicle driving cycle is turned on, inject faults into the set controller; after the MIL fault indicator lights up, the set controller reports the actual output to the OBD diagnostic system, and according to the actual Outputs and specification outputs to determine eligibility of the OBD diagnostic system. In order to realize the test and verification of the functional software of the OBD diagnostic system during the construction of the OBD diagnostic system, timely discover the deficiencies of the OBD diagnostic system, facilitate subsequent correction and development, and ensure the standardization and comprehensiveness of the OBD system function.

Figure 202210599901

Description

OBD diagnostic system function test method, device and equipment
Technical Field
The application relates to the technical field of OBD diagnostic system testing, in particular to a method and a device for testing functions of an OBD diagnostic system and computer equipment.
Background
The OBD (on Board diagnostics) diagnostic system is a detection system that extends from automobile fault diagnosis. The OBD is used for monitoring systems and components of a controller, an engine, a catalytic converter, a particle trap, an oxygen sensor, an emission control system, a fuel system, an exhaust gas recirculation system EGR and the like of a whole vehicle in real time, receiving output data of the systems and the components, and diagnosing faults of the systems and the components. When the OBD diagnoses that the systems and the components have faults, a MIL (mail-Indicator-Lamp) fault Indicator Lamp is controlled to be turned on, and meanwhile, the PCM (pulse code) of the powertrain control module stores a fault code into a memory, so that a maintenance worker can read the fault code out of the PCM through a certain program and quickly and accurately determine the nature and the position of the fault according to the information of the fault code.
However, in the OBD system building process, a test flow for perfecting the OBD system is lacked to test the standardization of the OBD system, so that the function, the comprehensiveness and the standardization of the OBD system cannot be evaluated.
Therefore, how to test the function and the normalization of the OBD system and evaluate the function and the normalization of the OBD system is an urgent technical problem to be solved.
Disclosure of Invention
The application mainly aims to provide a method, a device and computer equipment for testing functions of an OBD (on-board diagnostics) diagnostic system, and aims to solve the technical problems that at present, a complete method and a complete process for testing the functions and the normativity of the OBD diagnostic system are not available.
In a first aspect, the present application provides a method for testing the function of an OBD diagnostic system, the method comprising the steps of:
setting a standard output of a controller of a vehicle according to a diagnostic protocol in an OBD diagnostic system, and enabling the set controller to communicate with the OBD diagnostic system;
after a vehicle driving cycle is started, injecting a fault into the set controller;
and after the MIL fault indicator lamp is lightened, the set controller reports an actual output object to the OBD diagnosis system, and whether the OBD diagnosis system is qualified or not is determined according to the actual output object and the standard output object.
In some embodiments, the setting of the specification output of the controller of the vehicle according to the diagnostic protocol in the OBD diagnostic system specifically includes: and setting a generation mechanism, a reporting mechanism and a reporting position of a plurality of fault codes of the controller according to a diagnosis protocol in the OBD diagnosis system so as to determine the standard output.
In some embodiments, said determining whether said OBD diagnostic system is qualified based on actual output and normative output specifically comprises:
and if the actual generation time and the reporting time of the pending fault codes in the actual output object and the injection time of the faults are in the first driving cycle and the pending fault codes are reported to the position of a first diagnosis module set in the OBD diagnosis system, determining that the functions corresponding to the pending fault codes of the OBD diagnosis system are qualified.
In some embodiments, said determining whether said OBD diagnostic system is qualified based on actual output and normative output specifically comprises:
if the input moment of the fault is in the first driving cycle, the actual generation moment and the reporting moment of the confirmed fault code in the actual output object are in a second driving cycle, and the confirmed fault code is reported to a second diagnosis module position set in the OBD diagnosis system, determining that the function corresponding to the confirmed fault code of the OBD diagnosis system is qualified;
wherein the second driving cycle is a next driving cycle of the first driving cycle.
In some embodiments, said determining whether said OBD diagnostic system is qualified based on actual output and normative output specifically comprises:
and if the freeze frame and the pending fault code in the actual output object are generated simultaneously, the freeze frame and the confirmed fault code are reported simultaneously, and the freeze frame is reported to a third diagnosis module position set in the OBD diagnosis system, determining that the function corresponding to the freeze frame of the OBD diagnosis system is qualified.
In some embodiments, said determining whether said OBD diagnostic system is qualified based on actual output and normative output further comprises:
controlling a fourth diagnosis module set in the OBD diagnosis system to clear the pending fault codes and the confirmed fault codes;
when a power system of the whole vehicle is in a high-voltage activation state, the pending fault code and the confirmed fault code are not cleared, and the OBD diagnosis system is determined to be qualified; or,
when the whole vehicle is in a KL15 ON power-ON state and a power system of the whole vehicle is not in a high-voltage activation state, the pending fault code and the confirmation fault code are cleared, and the OBD diagnosis system is determined to be qualified.
In some embodiments, after the pending fault code and the acknowledge fault code are cleared, the method further comprises the steps of:
controlling a warming machine on the vehicle to perform circulation work for a preset number of times, and if the circulation work number of the warming machine in the actual output object is the same as the preset number of times, determining that the OBD diagnosis system is qualified;
and controlling the vehicle to run on the rotating hub for a preset distance, and if the running distance of the vehicle in the actual output is the same as the preset distance, determining that the OBD diagnosis system is qualified.
In some embodiments, if a permanent fault code and the confirmed fault code in the actual output are generated and reported at the same time, and the permanent fault code is reported to a fifth diagnostic module position set in the OBD diagnostic system, it is determined that the OBD diagnostic system is qualified.
In a second aspect, the present application also provides a device for testing the functionality of an OBD diagnostic system, the device comprising:
a setting module for setting a specification output of a controller of a vehicle according to a diagnostic protocol in an OBD diagnostic system and communicating the set controller with the OBD diagnostic system;
the fault injection module is used for injecting faults into the set controller after the vehicle driving cycle is started;
and the determining module is used for reporting an actual output to the OBD diagnostic system by the set controller after the MIL fault indicator lamp is lightened, and determining whether the OBD diagnostic system is qualified or not according to the actual output and the standard output.
In a third aspect, the present application also provides a computer device comprising a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, implements the steps of a method for testing the functionality of an OBD diagnostic system as described above.
The application provides a method, a device and computer equipment for testing functions of an OBD (on-board diagnostics) system, wherein standard output of a controller of a vehicle is set according to a diagnostic protocol in the OBD system, and the set controller is communicated with the OBD system; after a vehicle driving cycle is started, injecting a fault into the set controller; and after the MIL fault indicator lamp is lightened, the set controller reports an actual output object to the OBD diagnosis system, and whether the OBD diagnosis system is qualified or not is determined according to the actual output object and the standard output object. The method and the device have the advantages that the functional software of the OBD system is tested and verified in the process of building the OBD system, the defects of the OBD system are discovered in time, subsequent correction and development are facilitated, and the standardization and the comprehensiveness of the function of the OBD system are guaranteed.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a method for testing functions of an OBD diagnostic system according to an embodiment of the present disclosure;
FIG. 2 is a schematic diagram illustrating the generation and reporting of pending fault codes;
FIG. 3 is a generated report diagram of a confirmed fault code;
FIG. 4 is a schematic diagram of a freeze frame generation report;
FIG. 5 is a schematic diagram of a positive response to clear fault code operation;
FIG. 6 is a schematic diagram of clearing a fault code operation negative response;
fig. 7 is a schematic block diagram of a device for testing the function of an OBD diagnostic system according to an embodiment of the present disclosure;
fig. 8 is a block diagram schematically illustrating a structure of a computer device according to an embodiment of the present application.
The implementation, functional features and advantages of the objectives of the present application will be further explained with reference to the accompanying drawings.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some, but not all, embodiments of the present application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
The flow diagrams depicted in the figures are merely illustrative and do not necessarily include all of the elements and operations/steps, nor do they necessarily have to be performed in the order depicted. For example, some operations/steps may be decomposed, combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
The embodiment of the application provides a method and a device for testing functions of an OBD diagnostic system and computer equipment. The OBD diagnosis system function testing method can be applied to computer equipment, and the computer equipment can be electronic equipment such as a notebook computer and a desktop computer.
Some embodiments of the present application will be described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Referring to fig. 1, fig. 1 is a schematic flow chart illustrating a method for testing functions of an OBD diagnostic system according to an embodiment of the present disclosure.
As shown in fig. 1, the method includes steps S1 through S3.
And step S1, setting the standard output of the controller of the vehicle according to the diagnostic protocol in the OBD diagnostic system, and enabling the set controller to communicate with the OBD diagnostic system.
In step S2, after the vehicle driving cycle is started, a failure is injected into the set controller.
And step S3, after the MIL fault indicator lamp is lightened, the set controller reports an actual output to the OBD diagnosis system, and whether the OBD diagnosis system is qualified is determined according to the actual output and a standard output.
It should be noted that the controller of the vehicle may be any one controller or any several controllers in the vehicle, and may also be a new energy controller.
The OBD diagnostic protocol is a functional protocol of the OBD diagnostic system, and after a controller of the vehicle is set according to the OBD diagnostic protocol, data connection is generated between the OBD diagnostic system and the controller, namely the set controller can communicate with the OBD diagnostic system, so that the set controller can report the PID output of the controller to the OBD diagnostic system. It will be appreciated that the OBD diagnostic protocol may be considered to be comprised of code, with one desired result being used as a reference. When the controller is set using the diagnostic protocol, the diagnostic protocol sets the PID output of the controller to a standard output that the controller outputs.
Specifically, the setting of the standard output of the controller of the vehicle includes setting a generation mechanism, a reporting mechanism and a reporting position of a plurality of fault codes of the controller according to a diagnostic protocol in the OBD diagnostic system, so as to determine the standard output.
The plurality of fault codes includes, among others, pending fault codes, acknowledged fault codes, freeze frames, and the like.
Further, after the controller is set, the controller controls the vehicle to start a driving cycle, and after the driving cycle of the vehicle is started, a fault is injected into the controller. When the fault is injected, fault information CAN be directly input into the controller, the fault CAN also be manufactured on the vehicle, and then the fault is injected into the controller through the whole vehicle CAN bus according to the fault information generated by the fault.
Further, after a fault is injected into the set controller, the set controller can operate according to the setting of the OBD diagnostic protocol, so that the MIL fault indicator lamp is lightened, and meanwhile, an actual output object can be output and uploaded to an OBD diagnostic system.
It should be noted that, in the process of lighting the MIL fault indicator lamp, the controller may generate a pending fault code, a confirmed fault code, a freeze frame, and the like in a set driving cycle according to an input fault, and report the fault codes in a certain driving cycle. The reported information also comprises the generation time and the reporting time of the fault codes and the driving cycle of the time. This information is part of the controller output, and another part includes various parameters of the vehicle.
Further, an actual output object received by the OBD diagnosis system is scanned through a scanning program, the scanned actual output object is compared with a standard output object for verification, if the result is consistent, the function of the OBD system is the same as that preset, the function of the OBD system is qualified, and if the result is inconsistent, the problem of the OBD diagnosis protocol code is caused, so that the actual output object of the controller is inconsistent with an ideal output result, the function of the OBD diagnosis system is unqualified or not standardized, and improvement or processing is needed.
As a preferred embodiment, as shown in fig. 2, the generation time and the reporting time of the pending fault code set in the specification output are in the first driving cycle together with the fault injection time, and the pending fault code is reported to the first diagnostic module position set in the OBD diagnostic system. After the actual output object is uploaded to the OBD diagnostic system, the scanning program scans the first diagnostic module set in the OBD diagnostic system, if the pending fault code is scanned, the pending fault code is reported to the position of the first diagnostic module set in the OBD diagnostic system, the reported position is correct, and otherwise, the reported position is incorrect. And after the pending fault code is scanned, if the real generation time and the reporting time of the pending fault code and the injection time of the fault are in the first driving cycle, determining that the function corresponding to the pending fault code of the OBD diagnostic system is qualified. And if the pending fault signal is not scanned by the first diagnosis module, or the generation time or the reporting time of the pending fault signal and the fault injection time are not in the same driving cycle, determining that the function corresponding to the pending fault code of the OBD diagnosis system is unqualified. Wherein the first diagnostic module is a Mode 07 diagnostic module of the OBD diagnostic system.
Therefore, the actual output is compared with the standard output, and if the actual output is consistent with the standard output, the OBD diagnosis system is qualified, and if the actual output is inconsistent with the standard output, the OBD diagnosis system is unqualified. The results of passing the OBD diagnostic system test are described below.
Preferably, as shown in fig. 3, a second diagnostic module of the OBD diagnostic system is scanned, and if it is scanned that a confirmed fault code is reported to a second diagnostic module position set in the OBD diagnostic system, the input time of the fault is in the first driving cycle, and the actual generation time and the reporting time of the confirmed fault code in the actual output object are in the second driving cycle, it is determined that the function corresponding to the confirmed fault code of the OBD diagnostic system is qualified; wherein the second driving cycle is a next driving cycle of the first driving cycle. Wherein the second diagnostic module is a Mode 03 module of the OBD diagnostic module
Preferably, as shown in fig. 4, a third diagnostic module of the OBD diagnostic system is scanned, and if a freeze frame is scanned and reported to a position of the third diagnostic module set in the OBD diagnostic system, the freeze frame and the pending fault code in the actual output object are generated at the same time, and the freeze frame and the confirmed fault code are reported at the same time, it is determined that the function corresponding to the freeze frame of the OBD diagnostic system is qualified. And the third diagnostic module is a Mode 02 module in the OBD diagnostic system.
In some embodiments, as shown in fig. 5 and 6, a fourth diagnostic module configured in the OBD diagnostic system performs a clearing operation on the pending fault code and the confirmed fault code; when a power system of the whole vehicle is in a high-voltage activation state, the pending fault code and the confirmed fault code are not cleared, and the OBD diagnosis system is determined to be qualified; or when the whole vehicle is in a KL15 ON power-ON state and a power system of the whole vehicle is not in a high-voltage activation state, the pending fault code and the confirmation fault code are cleared, and the OBD diagnosis system is determined to be qualified. Wherein the fourth diagnostic module is a Mode04 module in the OBD diagnostic system.
Specifically, when the power system is in a high-voltage activated state, namely PT ready, Mode04 executes the fault code clearing operation, the confirmed fault code of the Mode 03 and the pending fault code of the Mode 07 of each controller respond to the operation negatively, the fault code is executed, the action of not clearing is executed, and the OBD diagnosis system is determined to be qualified; when the power system is in the KL15 ON state, namely the power system is not PT ready, the Mode04 executes the fault code clearing operation, the confirmed fault code in the Mode 03 and the pending fault code in the Mode 07 respond to the operation, the fault code clearing action is executed, and the OBD diagnosis system is determined to be qualified.
In some embodiments, if a permanent fault code and the confirmed fault code in the actual output are generated and reported at the same time, and the permanent fault code is reported to a fifth diagnostic module position set in the OBD diagnostic system, it is determined that the OBD diagnostic system is qualified. The fifth diagnostic module is Mode 0A.
As a preferred embodiment, after the MIL fault lamp is turned on, the vehicle is controlled to travel a preset distance on the rotating hub, and then whether the distance in the actual output by the controller is consistent with the preset distance is compared, if so, the OBD diagnostic system is determined to be qualified, and if not, the OBD diagnostic system is determined to be unqualified.
After the pending fault code and the confirmed fault code are cleared, controlling a warming machine on the vehicle to perform cycle work for a preset number of times, and if the cycle work number of the warming machine in the actual output object is the same as the preset number of times, determining that the OBD diagnosis system is qualified; and controlling the vehicle to run on the rotating hub for a preset distance, and if the running distance of the vehicle in the actual output is the same as the preset distance, determining that the OBD diagnosis system is qualified. Otherwise, the OBD diagnosis system is considered to be unqualified.
The application provides a method, a device and computer equipment for testing functions of an OBD (on-board diagnostics) system, wherein standard output of a controller of a vehicle is set according to a diagnostic protocol in the OBD system, and the set controller is communicated with the OBD system; after a vehicle driving cycle is started, injecting a fault into the set controller; and after the MIL fault indicator lamp is lightened, the set controller reports an actual output object to the OBD diagnosis system, and whether the OBD diagnosis system is qualified or not is determined according to the actual output object and the standard output object. The method and the system have the advantages that the functional software of the OBD diagnostic system is tested and verified in the process of building the OBD diagnostic system, the defects of the OBD diagnostic system are discovered in time, subsequent development and correction are facilitated, and the normativity and the comprehensiveness of the function of the OBD system are guaranteed.
The test method in the application sets the standard output of the controller through the diagnostic protocol of the OBD diagnostic system, and the set standard output standard is an ideal result or is set. And then inputting a fault, so that the controller truly processes the fault to generate a processing result, namely an actual output object, if the generation time, the reporting time and the reporting position of the fault code generated in the actual output object are the same as those of the fault code of the standard output object, the OBD system is considered to be standard and qualified, the function is satisfied, otherwise, the OBD system is considered to be non-standard and needs to be improved or processed.
Referring to fig. 7, fig. 7 is a schematic block diagram of a device for testing functions of an OBD diagnostic system according to an embodiment of the present disclosure.
As shown in fig. 7, the apparatus includes: the device comprises a setting module, a fault injection module and a determination module.
The setting module is used for setting the standard output of a controller of the vehicle according to a diagnosis protocol in the OBD diagnosis system and enabling the set controller to communicate with the OBD diagnosis system;
the fault injection module is used for injecting faults into the set controller after the vehicle driving cycle is started;
the determination module is used for reporting actual output to the OBD diagnosis system by the set controller after the MIL fault indicator lamp is lightened, and determining whether the OBD diagnosis system is qualified or not according to the actual output and the standard output.
The setting module is used for setting a generating mechanism, a reporting mechanism and a reporting position of a plurality of fault codes of the controller according to a diagnosis protocol in the OBD diagnosis system so as to determine the standard output.
Wherein the determining module is further configured to: and if the actual generation time and the reporting time of the pending fault code in the actual output product and the injection time of the fault are in the first driving cycle and the pending fault code is reported to the position of a first diagnosis module set in the OBD diagnosis system, determining that the function corresponding to the pending fault code of the OBD diagnosis system is qualified.
Wherein the determining module is further configured to: if the input moment of the fault is in the first driving cycle, the actual generation moment and the reporting moment of the confirmed fault code in the actual output product are in a second driving cycle, and the confirmed fault code is reported to a second diagnosis module position set in the OBD diagnosis system, determining that the function corresponding to the confirmed fault code of the OBD diagnosis system is qualified;
wherein the second driving cycle is a next driving cycle of the first driving cycle.
The determining module is further configured to determine that a function corresponding to a freeze frame of the OBD diagnostic system is qualified if the freeze frame and the pending fault code are generated simultaneously in the actual output object, the freeze frame and the confirmed fault code are reported simultaneously, and the freeze frame is reported to a third diagnostic module position set in the OBD diagnostic system.
The determination module is further used for controlling a fourth diagnosis module set in the OBD diagnosis system to perform clearing operation on the pending fault codes and the confirmed fault codes;
when a power system of the whole vehicle is in a high-voltage activation state, the pending fault code and the confirmed fault code are not cleared, and the OBD diagnosis system is determined to be qualified; or,
when the whole vehicle is in a KL15 ON power-ON state and a power system of the whole vehicle is not in a high-voltage activation state, the pending fault code and the confirmation fault code are cleared, and the OBD diagnosis system is determined to be qualified.
Controlling a warming machine on the vehicle to perform cycle work for a preset number of times, and if the cycle work number of the warming machine in the actual output object is the same as the preset number of times, determining that the OBD diagnosis system is qualified;
and controlling the vehicle to run on the rotating hub for a preset distance, and if the running distance of the vehicle in the actual output is the same as the preset distance, determining that the OBD diagnosis system is qualified.
And if the permanent fault code and the confirmed fault code in the actual output object are generated and reported simultaneously, and the permanent fault code is reported to a fifth diagnosis module position set in the OBD diagnosis system, determining that the OBD diagnosis system is qualified.
It should be noted that, as will be clear to those skilled in the art, for convenience and brevity of description, the specific working processes of the apparatus and the modules and units described above may refer to the corresponding processes in the foregoing embodiments, and are not described herein again.
The apparatus provided by the above embodiments may be implemented in the form of a computer program, which can be run on a computer device as shown in fig. 8.
Referring to fig. 8, fig. 8 is a schematic block diagram illustrating a structure of a computer device according to an embodiment of the present disclosure. The computer device may be a terminal.
As shown in fig. 8, the computer device includes a processor, a memory, and a network interface connected by a system bus, wherein the memory may include a nonvolatile storage medium and an internal memory.
The non-volatile storage medium may store an operating system and a computer program. The computer program includes program instructions that, when executed, cause the processor to perform any one of the methods for testing the functionality of the OBD diagnostic system.
The processor is used for providing calculation and control capability and supporting the operation of the whole computer equipment.
The internal memory provides an environment for the execution of a computer program on a non-volatile storage medium, which when executed by the processor, causes the processor to perform any one of the methods for testing the functionality of the OBD diagnostic system.
The network interface is used for network communication, such as sending assigned tasks and the like. Those skilled in the art will appreciate that the architecture shown in fig. 8 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
It should be understood that the Processor may be a Central Processing Unit (CPU), and the Processor may be other general purpose Processor, 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. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The computer device further includes a computer-readable storage medium, on which a computer program is stored, the computer program including program instructions, and the method implemented when the program instructions are executed can refer to the embodiments of the present application.
The computer-readable storage medium may be an internal storage unit of the computer device described in the foregoing embodiment, for example, a hard disk or a memory of the computer device. The computer readable storage medium may also be an external storage device of the computer device, such as a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), and the like provided on the computer device.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or system that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or system. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or system that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments. While the invention has been described with reference to specific embodiments, the scope of the invention is not limited thereto, and those skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the invention. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A method for testing the function of an OBD diagnostic system, comprising:
setting a standard output of a controller of a vehicle according to a diagnostic protocol in an OBD diagnostic system, and enabling the set controller to communicate with the OBD diagnostic system;
after a vehicle driving cycle is started, injecting a fault into the set controller;
and after the MIL fault indicator lamp is lightened, the set controller reports an actual output to the OBD diagnostic system, and whether the OBD diagnostic system is qualified or not is determined according to the actual output and the standard output.
2. The method for testing the functionality of an OBD diagnostic system according to claim 1, wherein the setting of the specification output of the controller of the vehicle according to the diagnostic protocol in the OBD diagnostic system specifically comprises: and setting a generation mechanism, a reporting mechanism and a reporting position of a plurality of fault codes of the controller according to a diagnosis protocol in the OBD diagnosis system so as to determine the standard output.
3. The method for testing the functionality of an OBD diagnostic system according to claim 2, wherein said determining whether the OBD diagnostic system is qualified based on the actual output and the specification output comprises:
and if the actual generation time and the reporting time of the pending fault codes in the actual output object and the injection time of the faults are in the first driving cycle and the pending fault codes are reported to the position of a first diagnosis module set in the OBD diagnosis system, determining that the functions corresponding to the pending fault codes of the OBD diagnosis system are qualified.
4. The method for testing the functionality of an OBD diagnostic system according to claim 2, wherein said determining whether the OBD diagnostic system is qualified based on the actual output and the specification output comprises:
if the input moment of the fault is in the first driving cycle, the actual generation moment and the reporting moment of the confirmed fault code in the actual output object are in a second driving cycle, and the confirmed fault code is reported to a second diagnosis module position set in the OBD diagnosis system, determining that the function corresponding to the confirmed fault code of the OBD diagnosis system is qualified;
wherein the second driving cycle is a next driving cycle of the first driving cycle.
5. The method for testing the functionality of an OBD diagnostic system according to claims 3 and 4, wherein said determining whether said OBD diagnostic system is qualified based on the actual output and the normative output comprises:
and if the freeze frame and the pending fault code in the actual output object are generated simultaneously, the freeze frame and the confirmed fault code are reported simultaneously, and the freeze frame is reported to a third diagnosis module position set in the OBD diagnosis system, determining that the function corresponding to the freeze frame of the OBD diagnosis system is qualified.
6. The method for testing the functionality of an OBD diagnostic system according to claims 3 and 4, wherein said determining whether said OBD diagnostic system is qualified based on the actual output and the normative output further comprises the steps of:
controlling a fourth diagnosis module set in the OBD diagnosis system to clear the pending fault codes and the confirmed fault codes;
when a power system of the whole vehicle is in a high-voltage activated state, the pending fault code and the confirmation fault code are not cleared, and the OBD diagnosis system is determined to be qualified; or,
when the whole vehicle is in a KL15 ON power-ON state and a power system of the whole vehicle is not in a high-voltage activation state, the pending fault code and the confirmation fault code are cleared, and the OBD diagnosis system is determined to be qualified.
7. The method for testing the functionality of an OBD diagnostic system according to claim 6, wherein after said pending fault code and said confirmation fault code are cleared, further comprising the steps of:
controlling a warm-up machine on the vehicle to perform cycle work for preset times, and if the cycle work times of the warm-up machine in the actual output material is the same as the preset times, determining that the OBD diagnosis system is qualified;
and controlling the vehicle to run on the rotating hub for a preset distance, and if the running distance of the vehicle in the actual output is the same as the preset distance, determining that the OBD diagnosis system is qualified.
8. The method for testing the functionality of an OBD diagnostic system according to claim 4,
and if the permanent fault code and the confirmed fault code in the actual output object are generated and reported simultaneously, and the permanent fault code is reported to a fifth diagnosis module position set in the OBD diagnosis system, determining that the OBD diagnosis system is qualified.
9. An OBD diagnostic system functionality testing device, comprising:
a setting module for setting a specification output of a controller of a vehicle according to a diagnostic protocol in an OBD diagnostic system and communicating the set controller with the OBD diagnostic system;
the fault injection module is used for injecting faults into the set controller after a vehicle driving cycle is started;
and the determining module is used for reporting an actual output to the OBD diagnostic system by the set controller after the MIL fault indicator lamp is lightened, and determining whether the OBD diagnostic system is qualified or not according to the actual output and the standard output.
10. A computer arrangement, characterized in that the computer arrangement comprises a processor, a memory, and a computer program stored on the memory and executable by the processor, wherein the computer program, when executed by the processor, carries out the steps of the method for identifying valid driving cycles in an OBD diagnosis as claimed in any one of the claims 1 to 8.
CN202210599901.1A 2022-05-25 2022-05-25 A method, device and equipment for testing OBD diagnostic system function Active CN115016431B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210599901.1A CN115016431B (en) 2022-05-25 2022-05-25 A method, device and equipment for testing OBD diagnostic system function

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210599901.1A CN115016431B (en) 2022-05-25 2022-05-25 A method, device and equipment for testing OBD diagnostic system function

Publications (2)

Publication Number Publication Date
CN115016431A true CN115016431A (en) 2022-09-06
CN115016431B CN115016431B (en) 2025-03-25

Family

ID=83071508

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210599901.1A Active CN115016431B (en) 2022-05-25 2022-05-25 A method, device and equipment for testing OBD diagnostic system function

Country Status (1)

Country Link
CN (1) CN115016431B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115743162A (en) * 2022-11-22 2023-03-07 潍柴动力股份有限公司 Activation method of vehicle alarm system and related device
CN116626414A (en) * 2023-04-18 2023-08-22 岚图汽车科技有限公司 A charging preheating fault reporting test method, device, medium, and electronic equipment
CN117472685A (en) * 2023-10-27 2024-01-30 岚图汽车科技有限公司 Fault code generation result monitoring method, device, equipment and readable storage medium
CN119148673A (en) * 2024-08-21 2024-12-17 中国第一汽车股份有限公司 Automatic test method and device for OBD (on-board diagnostics) system of hybrid electric vehicle and vehicle

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110077817A1 (en) * 2009-09-29 2011-03-31 Chin-Yang Sun Vehicle Diagnostic System And Method Thereof
US20150100199A1 (en) * 2013-10-03 2015-04-09 GM Global Technology Operations LLC Vehicle location and fault diagnostic systems and methods
CN107450515A (en) * 2017-07-31 2017-12-08 北京新能源汽车股份有限公司 Automatic testing method and device for fault diagnosis
CN107797540A (en) * 2016-09-07 2018-03-13 上海汽车集团股份有限公司 TRANS PROGRAM method of testing, device and terminal
CN109358606A (en) * 2018-11-09 2019-02-19 广州锦红源电子科技有限公司 Vehicle automatization test system, test method and device
WO2019128929A1 (en) * 2017-12-27 2019-07-04 深圳市道通科技股份有限公司 Obd interface bus type detection method and device
CN112860563A (en) * 2021-02-25 2021-05-28 东风柳州汽车有限公司 Automobile diagnostic instrument testing method, device, equipment and storage medium
CN113050582A (en) * 2019-12-26 2021-06-29 观致汽车有限公司 Vehicle diagnosis system and method and vehicle
CN113885480A (en) * 2021-10-26 2022-01-04 成都天地直方发动机有限公司 Fault diagnosis method, system and device for mining explosion-proof diesel engine

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110077817A1 (en) * 2009-09-29 2011-03-31 Chin-Yang Sun Vehicle Diagnostic System And Method Thereof
US20150100199A1 (en) * 2013-10-03 2015-04-09 GM Global Technology Operations LLC Vehicle location and fault diagnostic systems and methods
CN107797540A (en) * 2016-09-07 2018-03-13 上海汽车集团股份有限公司 TRANS PROGRAM method of testing, device and terminal
CN107450515A (en) * 2017-07-31 2017-12-08 北京新能源汽车股份有限公司 Automatic testing method and device for fault diagnosis
WO2019128929A1 (en) * 2017-12-27 2019-07-04 深圳市道通科技股份有限公司 Obd interface bus type detection method and device
CN109358606A (en) * 2018-11-09 2019-02-19 广州锦红源电子科技有限公司 Vehicle automatization test system, test method and device
CN113050582A (en) * 2019-12-26 2021-06-29 观致汽车有限公司 Vehicle diagnosis system and method and vehicle
CN112860563A (en) * 2021-02-25 2021-05-28 东风柳州汽车有限公司 Automobile diagnostic instrument testing method, device, equipment and storage medium
CN113885480A (en) * 2021-10-26 2022-01-04 成都天地直方发动机有限公司 Fault diagnosis method, system and device for mining explosion-proof diesel engine

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王洪波;范小伟;: "汽车排放污染治理利器车载诊断OBD系统(四)", 汽车维修技师, no. 06, 1 June 2020 (2020-06-01) *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115743162A (en) * 2022-11-22 2023-03-07 潍柴动力股份有限公司 Activation method of vehicle alarm system and related device
CN116626414A (en) * 2023-04-18 2023-08-22 岚图汽车科技有限公司 A charging preheating fault reporting test method, device, medium, and electronic equipment
CN117472685A (en) * 2023-10-27 2024-01-30 岚图汽车科技有限公司 Fault code generation result monitoring method, device, equipment and readable storage medium
CN117472685B (en) * 2023-10-27 2025-07-22 岚图汽车科技有限公司 Fault code generation result monitoring method, device, equipment and readable storage medium
CN119148673A (en) * 2024-08-21 2024-12-17 中国第一汽车股份有限公司 Automatic test method and device for OBD (on-board diagnostics) system of hybrid electric vehicle and vehicle

Also Published As

Publication number Publication date
CN115016431B (en) 2025-03-25

Similar Documents

Publication Publication Date Title
CN115016431B (en) A method, device and equipment for testing OBD diagnostic system function
CN108205308B (en) An Automatic Diagnosis and Testing System Based on Body Domain Controller
JP5298270B2 (en) Diagnostic system, diagnostic method, and vehicle diagnostic system
CN108566407B (en) Method, device and electronic device for establishing communication connection with tire pressure monitoring system
US7130768B2 (en) Method and device for fault diagnosis in control systems in an internal combustion engine in a motor vehicle
CN112925296A (en) Graphical vehicle-mounted network diagnosis method based on artificial intelligence
CN118838304A (en) Diagnostic test method, device, equipment and storage medium of vehicle-mounted electronic control unit
CN207541496U (en) A kind of automated diagnostic tester device based on vehicle body domain controller
CN114954303A (en) An effective driving cycle identification method, device, device and storage medium
CN117971668A (en) Simulation test method and device, computer equipment and storage medium
CN114675862B (en) OTA upgrade method and device
Rajput et al. On-Board diagnostics based remote emission test for light motor vehicles
US20250378722A1 (en) Vehicle diagnostic method based on mode $06 and in-use monitor performance ratio data
JP2016135634A (en) Electronic control unit
CN118550565A (en) OTA upgrade method, device, equipment and storage medium
Ortega‐Cabezas et al. Application of rule‐based expert systems in hardware‐in‐the‐loop simulation case study: Software and performance validation of an engine electronic control unit
CN102005251B (en) For the method checking memorizer
US9284908B2 (en) Method for performing a number of injections
CN118484212A (en) Software flashing method and device of vehicle-mounted controller, electric vehicle and medium
CN116527749A (en) Vehicle registration method and device and Internet of vehicles platform
CN118262428A (en) Method, device, equipment and storage medium for storing vehicle fault data
Khond et al. Development and Testing of End-of-Line (EOL) Tester for Diesel Engine
CN119087961B (en) Test methods and apparatus for testing vehicle fault diagnosis systems
CN114625099A (en) On-line measurement and calibration system and method for airbag controller
JP7099293B2 (en) Electronic control device

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
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 430109 Hubei Province, Wuhan City, Yunfeng Avenue 8, Wuhan Economic and Technological Development Zone

Patentee after: Lantu Automotive Technology Co.,Ltd.

Country or region after: China

Address before: 430000 No. n3010, 3rd floor, R & D building, building n, Artificial Intelligence Science Park, Wuhan Economic and Technological Development Zone, Hubei Province

Patentee before: Lantu Automobile Technology Co.,Ltd.

Country or region before: China