CN116088486B - Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment - Google Patents

Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment Download PDF

Info

Publication number
CN116088486B
CN116088486B CN202310368989.0A CN202310368989A CN116088486B CN 116088486 B CN116088486 B CN 116088486B CN 202310368989 A CN202310368989 A CN 202310368989A CN 116088486 B CN116088486 B CN 116088486B
Authority
CN
China
Prior art keywords
electric control
control system
communication
priority
diagnosis
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310368989.0A
Other languages
Chinese (zh)
Other versions
CN116088486A (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.)
Shenzhen Xingka Technology Co ltd
Original Assignee
Shenzhen Xingka 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 Shenzhen Xingka Technology Co ltd filed Critical Shenzhen Xingka Technology Co ltd
Priority to CN202310368989.0A priority Critical patent/CN116088486B/en
Publication of CN116088486A publication Critical patent/CN116088486A/en
Application granted granted Critical
Publication of CN116088486B publication Critical patent/CN116088486B/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/0259Electric testing or monitoring by means of a monitoring system capable of detecting and responding to faults characterized by the response to fault detection
    • G05B23/0262Confirmation of fault detection, e.g. extra checks to confirm that a failure has indeed occurred
    • 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
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total 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)
  • Testing And Monitoring For Control Systems (AREA)

Abstract

The application provides a diagnosis method and device of a vehicle electric control system and vehicle diagnosis equipment, wherein a corresponding electric control system list is obtained in response to a diagnosis instruction of a target vehicle; priority sorting is carried out according to the communication parameters corresponding to the plurality of electric control systems in the list; according to the order of priority from high to low, sequentially selecting the electric control systems with the same number as the communication channels as the current electric control system to be diagnosed, and configuring communication parameters for the current electric control system to be diagnosed so as to communicate and diagnose with the current electric control system to be diagnosed through the communication channels; if the idle communication channel is monitored, taking the electric control system with the highest current priority in the rest electric control systems as the current electric control system to be diagnosed, and continuing to execute the diagnosis steps until all the electric control systems are diagnosed, and generating an electric control system diagnosis report. And the diagnosis efficiency of the vehicle electric control system is improved by a parallel diagnosis mode of the multichannel electric control system.

Description

Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment
Technical Field
The present disclosure relates to the field of vehicle technologies, and in particular, to a method and an apparatus for diagnosing a vehicle electronic control system, and a vehicle diagnostic device.
Background
The maintenance of the automobile comprises two parts of maintenance of automobile body parts and maintenance of an automobile machine system, and the diagnosis and maintenance of the automobile machine system are required to be operated by using automobile diagnosis equipment. As automobiles develop rapidly, the configuration of the automobiles is becoming more and more abundant, and electronic control systems are also becoming more and more. Currently, when a vehicle is tested, diagnostic software performs diagnosis by means of a single system, such as, for example, communication test by communication test: the automobile is provided with a plurality of electric control systems, the diagnosis equipment interacts with one electric control system and reads data, and interacts with the other electric control system after the data is read, and the like until the diagnosis of all the systems is finished. With the increase of vehicle electric control systems, the vehicle diagnosis communication time is greatly increased, so that long test waiting time is caused, and the vehicle maintenance experience of customers is seriously affected.
Disclosure of Invention
The purpose of the application is to provide a diagnosis method and device for a vehicle electric control system and vehicle diagnosis equipment, and the diagnosis efficiency of the vehicle electric control system is greatly improved and the vehicle maintenance experience of a customer is improved through a parallel diagnosis mode of a multichannel electric control system.
In a first aspect, an embodiment of the present application provides a diagnostic method of a vehicle electronic control system, where the method is applied to a vehicle diagnostic device; the vehicle diagnostic apparatus is configured with a plurality of communication channels; the method comprises the following steps: responding to a diagnosis instruction aiming at a target vehicle, and acquiring an electric control system list corresponding to the target vehicle and communication parameters corresponding to each electric control system in the list; according to the communication parameters respectively corresponding to the plurality of electric control systems, priority ranking is carried out; the priority ranking process is determined according to the principle that the electric control systems with the same or similar communication parameters are ranked together and the electric control systems with the faster communication protocol speed are subjected to priority configuration; according to the order of priority from high to low, sequentially selecting the electric control systems with the same number as the communication channels as the current electric control system to be diagnosed, and executing the following diagnosis steps: configuring communication parameters for the current electric control system to be diagnosed so as to communicate and diagnose with the current electric control system to be diagnosed through a communication channel configured with the communication parameters; in the process of simultaneously diagnosing by using a plurality of communication channels, the service condition of each communication channel is monitored in real time, if an idle communication channel is monitored, the electric control system with the highest current priority in the rest electric control systems is used as the current electric control system to be diagnosed, the diagnosis step is continuously executed until all the electric control systems are diagnosed, and an electric control system diagnosis report corresponding to the target vehicle is generated.
In a preferred embodiment of the present application, the step of obtaining the list of electric control systems corresponding to the target vehicle in response to the diagnostic command for the target vehicle includes: and the electronic control system list corresponding to the target vehicle is determined according to the response condition of the electronic control ECU in the target vehicle.
In a preferred embodiment of the present application, the above communication parameters at least include the following sub-parameters: communication protocol type, message identification code, communication baud rate and communication pins; the method comprises the steps of carrying out priority sequencing according to communication parameters respectively corresponding to a plurality of electric control systems, wherein the steps comprise: generating a system priority identifier corresponding to each electric control system according to a plurality of sub-parameters corresponding to the electric control system and a preset communication parameter priority identifier; and sequencing according to the system priority identifiers respectively corresponding to the plurality of electric control systems to obtain an electric control system sequencing result.
In a preferred embodiment of the present application, each of the above sub-parameters includes a plurality of parameter types; the preset communication parameter priority identification comprises the following steps: type priority identification corresponding to each parameter type; generating a system priority identifier corresponding to the electric control system according to a plurality of sub-parameters corresponding to the electric control system and a preset communication parameter priority identifier, wherein the step comprises the following steps: determining type priority identifiers of parameter types corresponding to a plurality of sub-parameters in an electric control system respectively according to preset communication parameter priority identifiers; and arranging the type priority identifiers corresponding to the parameter types from high to low according to the priority sequence of the four sub-parameters, and generating a system priority identifier corresponding to the electric control system.
In a preferred embodiment of the present application, the size of the type-priority identification token is inversely proportional to the priority; sequencing according to the system priority identifiers respectively corresponding to a plurality of electric control systems to obtain a sequencing result of the electric control systems, wherein the sequencing result comprises the following steps: arranging the system priority identifiers corresponding to the plurality of electric control systems in a sequence from small to large to obtain an electric control system sequencing result; the smaller the system priority mark is, the higher the priority corresponding to the electric control system is.
In a preferred embodiment of the present application, the step of configuring the communication parameters for the current electrical control system to be diagnosed includes: determining a current communication channel corresponding to the current electric control system to be diagnosed; judging whether the historical communication parameters in the current communication channel are consistent with the current communication parameters of the current electric control system to be diagnosed; if not, the historical communication parameters are modified into the current communication parameters.
In a preferred embodiment of the present application, before the step of obtaining the list of electric control systems corresponding to the target vehicle and the communication parameters corresponding to each electric control system, the method further includes: judging whether the target vehicle is a vehicle in a preset database or not; if not, continuing to execute the step of acquiring the electric control system list corresponding to the target vehicle and the communication parameters corresponding to each electric control system; if yes, diagnosing the target vehicle according to an electric control system diagnosis scheme stored in a preset database; the diagnosis scheme of the electric control system comprises an electric control system with a plurality of communication channels corresponding to each diagnosis round; the electronic control system diagnostic scheme is the most efficient diagnostic scheme determined based on a plurality of historical diagnostic data of the target vehicle.
In a second aspect, an embodiment of the present application further provides a diagnostic device of a vehicle electronic control system, where the diagnostic device is applied to a vehicle diagnostic apparatus; the vehicle diagnostic apparatus is configured with a plurality of communication channels; the device comprises: the list parameter acquisition module is used for responding to the diagnosis instruction aiming at the target vehicle and acquiring an electric control system list corresponding to the target vehicle and communication parameters corresponding to each electric control system in the list; the sequencing module is used for sequencing the priority according to the communication parameters respectively corresponding to the plurality of electric control systems; the communication diagnosis module is used for sequentially selecting the electric control systems with the same number as the communication channels as the current electric control system to be diagnosed according to the order of the priority from high to low, and executing the following diagnosis steps: configuring communication parameters for the current electric control system to be diagnosed so as to communicate and diagnose with the current electric control system to be diagnosed through a communication channel configured with the communication parameters; in the process of simultaneously diagnosing by using a plurality of communication channels, the service condition of each communication channel is monitored in real time, if an idle communication channel is monitored, the electric control system with the highest current priority in the rest electric control systems is used as the current electric control system to be diagnosed, the diagnosis step is continuously executed until all the electric control systems are diagnosed, and an electric control system diagnosis report corresponding to the target vehicle is generated.
In a third aspect, embodiments of the present application further provide an electronic device, including a processor and a memory, where the memory stores computer executable instructions executable by the processor, where the processor executes the computer executable instructions to implement the method according to the first aspect.
In a fourth aspect, embodiments of the present application also provide a computer-readable storage medium storing computer-executable instructions that, when invoked and executed by a processor, cause the processor to implement the method of the first aspect.
The method and the device for diagnosing the vehicle electric control system and the vehicle diagnosis equipment are applied to the vehicle diagnosis equipment; the vehicle diagnostic apparatus is configured with a plurality of communication channels; the method comprises the following steps: responding to a diagnosis instruction aiming at a target vehicle, and acquiring an electric control system list corresponding to the target vehicle and communication parameters corresponding to each electric control system in the list; according to the communication parameters respectively corresponding to the plurality of electric control systems, priority ranking is carried out; the priority ranking process is determined according to the principle that the electric control systems with the same or similar communication parameters are ranked together and the electric control systems with the faster communication protocol speed are subjected to priority configuration; according to the order of priority from high to low, sequentially selecting the electric control systems with the same number as the communication channels as the current electric control system to be diagnosed, and executing the following diagnosis steps: configuring communication parameters for the current electric control system to be diagnosed so as to communicate and diagnose with the current electric control system to be diagnosed through a communication channel configured with the communication parameters; in the process of simultaneously diagnosing by using a plurality of communication channels, the service condition of each communication channel is monitored in real time, if an idle communication channel is monitored, the electric control system with the highest current priority in the rest electric control systems is used as the current electric control system to be diagnosed, the diagnosis step is continuously executed until all the electric control systems are diagnosed, and an electric control system diagnosis report corresponding to the target vehicle is generated. In the embodiment, the diagnosis sequence is determined by a parallel diagnosis mode of the multichannel electronic control system and a priority sequencing mode of the electronic control system, so that the diagnosis efficiency of the vehicle electronic control system is greatly improved, and the vehicle maintenance experience of a customer is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a diagnostic method for a vehicle electronic control system provided in an embodiment of the present application;
FIG. 2 is a flow chart of a sequencing process in a diagnostic method of a vehicle electronic control system according to an embodiment of the present application;
fig. 3 is a schematic diagram of a judging process in a diagnostic method of a vehicle electronic control system according to an embodiment of the present application;
fig. 4 is a block diagram of a diagnostic device of a vehicle electronic control system according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
In the prior art, when a vehicle system is diagnosed, the vehicle diagnostic device usually performs communication diagnosis on a plurality of electric control systems one by one, taking two electric control systems as an example, assuming that the communication diagnosis time of the two electric control systems is 30 seconds and 55 seconds respectively, the traditional diagnostic mode needs 85 seconds to complete the communication diagnosis of 2 electric control systems, and when the number of the electric control systems is large, the user experience is seriously affected. Based on the above, the embodiment of the application provides a diagnosis method and device for a vehicle electric control system and vehicle diagnosis equipment, and the diagnosis sequence is determined according to a multichannel electric control system parallel communication diagnosis mode and an electric control system priority sequencing mode, so that the diagnosis efficiency of the vehicle electric control system is greatly improved, and the vehicle maintenance experience of a customer is improved. For the convenience of understanding the present embodiment, a method for diagnosing an electronic control system of a vehicle disclosed in the present embodiment will be described in detail.
Fig. 1 is a flowchart of a diagnostic method of a vehicle electronic control system according to an embodiment of the present application, where the method is applied to a vehicle diagnostic device; the vehicle diagnostic apparatus is configured with a plurality of communication channels; when each electric control system in the vehicle is diagnosed, the electric control system is required to be connected with the vehicle diagnosis equipment through a communication channel in a communication connection mode that communication parameters corresponding to the electric control system are configured in the communication channel. The method comprises the following steps:
step S102, a list of electric control systems corresponding to the target vehicle and communication parameters corresponding to each electric control system in the list are obtained in response to a diagnosis instruction for the target vehicle.
The system of the vehicle controlled by the electronic control unit ECU may be referred to as an electronic control system, such as an engine system, a transmission system, an antilock brake system, an electronic parking system, an electric power steering system, an air conditioning system, an instrument system, a navigation system, an antitheft system, a vehicle body system, and the like.
After the vehicle diagnosis equipment is connected with the target vehicle to be diagnosed, a user clicks an intelligent diagnosis icon on the vehicle diagnosis equipment to communicate with the target vehicle, and an electric control system list corresponding to the target vehicle is obtained, wherein the list comprises a plurality of electric control systems to be diagnosed.
In addition, the correspondence between the electric control system and the communication parameters is stored in the vehicle diagnosis device in advance, so that the communication parameters of a plurality of electric control systems corresponding to the target vehicle can be further obtained according to the correspondence.
Step S104, according to the communication parameters corresponding to the electric control systems, priority ranking is carried out.
The purpose of the prioritization of the plurality of electronic control systems is to reduce the diagnosis time of the whole vehicle electronic control system and to reduce the number of switching of communication parameters of the plurality of communication channels in the vehicle diagnosis device. The priority ranking process is determined according to the principle that the electric control systems with the same or similar communication parameters are ranked together and the electric control systems with the faster communication protocol speed are subjected to priority configuration. The specific prioritization scheme is described in more detail below.
Step S106, sequentially selecting the electric control systems with the same number as the communication channels as the current electric control system to be diagnosed according to the order of the priority from high to low, and executing the following diagnosis steps: configuring communication parameters for the current electric control system to be diagnosed so as to communicate and diagnose with the current electric control system to be diagnosed through a communication channel configured with the communication parameters; in the process of simultaneously diagnosing by using a plurality of communication channels, the service condition of each communication channel is monitored in real time, if an idle communication channel is monitored, the electric control system with the highest current priority in the rest electric control systems is used as the current electric control system to be diagnosed, the diagnosis step is continuously executed until all the electric control systems are diagnosed, and an electric control system diagnosis report corresponding to the target vehicle is generated.
The automobile diagnosis software is corresponding to brands, such as BMW type to choose BMW diagnosis software, toyota to choose Toyota diagnosis software, jili to choose Jili diagnosis software, etc.; each brand has corresponding model diagnostic software. The BMW diagnostic software can be used for communication testing of all electronic control systems (engine systems, gearbox systems and anti-lock brake systems) on vehicles of various types of BMW in various years, as can other brands of diagnostic software.
When responding to the diagnosis instruction aiming at the target vehicle, the vehicle diagnosis equipment can also acquire the model and year of the target vehicle at the same time, further determine corresponding diagnosis software, and carry out subsequent diagnosis through the corresponding diagnosis software.
In this embodiment of the present application, after determining the communication priority order of the plurality of electronic control systems, the electronic control systems with the same number of communication channels may be sequentially selected as the current electronic control systems to be diagnosed according to the order of the priority from high to low, for example, 10 communication channels are configured in the vehicle diagnostic device, and then, according to the order of the priority from high to low, 10 electronic control systems are sequentially selected as the initial electronic control systems to be diagnosed, that is, the current electronic control systems to be diagnosed, and then, the 10 electronic control systems are configured with communication parameters.
In the implementation, it can first detect whether the communication parameters corresponding to the 10 electric control systems are consistent, if so, 10 communication channels can be uniformly set without setting one by one. The above-mentioned method for determining diagnosis sequence by priority order is to arrange the electric control systems with the same or similar communication parameters together as much as possible so as to reduce the switching frequency of the communication parameters in each communication channel.
According to the diagnostic method of the vehicle electric control system, which is provided by the embodiment of the application, the technology of the multi-channel vehicle diagnostic method is adopted, the vehicle diagnostic test time can be greatly shortened, the generated electric control system diagnostic report can support multi-system data review, the timeliness of diagnostic software is improved, and meanwhile, the checking analysis of vehicle data and the vehicle maintenance efficiency of a customer are facilitated.
The embodiment of the application also provides another diagnosis method of the vehicle electric control system, and the method is realized on the basis of the embodiment; the embodiment focuses on a list acquisition mode and a priority ordering mode of an electric control system.
In a preferred embodiment of the present application, the step of obtaining the list of electric control systems corresponding to the target vehicle in response to the diagnostic command for the target vehicle includes: and the electronic control system list corresponding to the target vehicle is determined according to the response condition of the electronic control ECU in the target vehicle.
In practical application, the number of the electric control systems of the vehicle is generally more than 10, the number of the electric control systems of the vehicle is tens of more and more (such as ESC, AEB, LKA, ACC, automatic parking and the like), and the number of the electric control systems of the high-grade vehicle is even more than 100. The vehicle diagnostic apparatus may determine the list of electric control systems corresponding to the target vehicle according to the response situation of the electric control ECU in the target vehicle.
In a preferred embodiment of the present application, the above communication parameters at least include the following sub-parameters: communication protocol type, message identification code, communication baud rate and communication pins; referring to fig. 2, the step of performing priority ranking according to the communication parameters corresponding to the plurality of electric control systems includes:
step S202, for each electric control system, generating a system priority identifier corresponding to the electric control system according to a plurality of sub-parameters corresponding to the electric control system and a preset communication parameter priority identifier.
Each sub-parameter comprises a plurality of parameter types; for example, the communication protocol types include: protocol type 1-CAN protocol, protocol type 2-KWP fast, protocol type 3-KWP address code; the message identifier, the communication baud rate, and the communication pins may also include a plurality of parameter types, which are not described herein.
The preset communication parameter priority identification comprises the following steps: type priority identification corresponding to each parameter type; taking the inverse proportion of the type priority identifier to the priority as an example for illustration, for example, the type priority identifiers corresponding to the protocol type 1-CAN protocol, the protocol type 2-KWP quick and the protocol type 3-KWP address codes are 1, 2 and 3 respectively; i.e. the smaller the number identification, the higher the priority of the corresponding protocol type. Since the protocol processing speed of the protocol type 1-CAN protocol is relatively fastest, the overall diagnostic time CAN be reduced by arranging this type of electronic control system for the preceding processing.
Generating a system priority identifier corresponding to the electric control system according to a plurality of sub-parameters corresponding to the electric control system and a preset communication parameter priority identifier, wherein the step comprises the following steps: determining type priority identifiers of parameter types corresponding to a plurality of sub-parameters in an electric control system respectively according to preset communication parameter priority identifiers; and arranging the type priority identifiers corresponding to the parameter types from high to low according to the priority sequence of the four sub-parameters, and generating a system priority identifier corresponding to the electric control system. The priority order of the subparameters is as follows: message identification code > communication protocol type > communication baud rate > communication pin.
In the following, a specific example is given to illustrate an electronic control system prioritization algorithm, taking 16-ary data as an example, to determine the priority of electronic control system scanning (0 xFFFFFFFF):
message identification code type: 0xFF000000 (0 x01000000 represents type 1,0x02000000 represents type 2);
communication protocol type: 0x00FF0000 (0 x00010000 represents type 1,0x00020000 represents type 2);
type of communication baud rate: 0x0000FF00 (0 x00000100 represents type 1,0x00000200 represents type 2);
communication pin type: 0x000000FF (0 x00000001 represents type 1,0x00000002 represents type 2);
taking an engine, a wave box, an ABS, an instrument and a tire pressure electric control system as an example, the system priority identifiers obtained after the communication parameters of the systems are combined through the type priority identifiers are assumed as follows:
an engine system: 0x01010101;
wave box system: 0x01010102;
ABS system: 0x01010202;
an instrumentation system: 0x01010201;
and (3) a tire pressure system: 0x02010101.
Step S204, sorting is carried out according to the system priority identifiers corresponding to the plurality of electric control systems respectively, and an electric control system sorting result is obtained.
Under the condition that the size of the type priority identification representation is inversely proportional to the priority, arranging the system priority identifications corresponding to a plurality of electric control systems respectively according to the sequence from small to large to obtain an electric control system ordering result; the smaller the system priority mark is, the higher the priority corresponding to the electric control system is.
Also described in the above example, the priorities are sorted from low to high according to the 16-ary value, and the sorting result of the electronic control system is: engine system, wave box system, instrument system, ABS system, tire pressure system.
The sequencing can ensure that the electric control systems with the same or similar communication parameters are arranged together as much as possible, and the communication diagnosis is carried out according to the sequence, so that the communication parameter switching frequency of the communication channels can be reduced, and the diagnosis time of the whole vehicle electric control system is shortened.
In a preferred embodiment of the present application, the step of configuring the communication parameters for the current electrical control system to be diagnosed includes: determining a current communication channel corresponding to the current electric control system to be diagnosed; judging whether the historical communication parameters in the current communication channel are consistent with the current communication parameters of the current electric control system to be diagnosed; if not, the historical communication parameters are modified into the current communication parameters.
Referring to fig. 3, before the step of obtaining the list of electric control systems corresponding to the target vehicle and the communication parameters corresponding to each electric control system, the method further includes:
step S302, judging whether the target vehicle is a vehicle in a preset database; if not, continuing to execute the step of acquiring the electric control system list corresponding to the target vehicle and the communication parameters corresponding to each electric control system; step S304, if yes, diagnosing the target vehicle according to an electric control system diagnosis scheme stored in a preset database; the diagnosis scheme of the electric control system comprises an electric control system with a plurality of communication channels corresponding to each diagnosis round; the electronic control system diagnostic scheme is the most efficient diagnostic scheme determined based on a plurality of historical diagnostic data of the target vehicle.
Diagnostic schemes for vehicles of the relatively common annual style are stored in the vehicle diagnostic equipment in advance, and are determined according to a large amount of historical diagnostic data. For example, the calculation can be performed according to the communication diagnosis time of each electric control system, and a scheme that a plurality of electric control systems are distributed in each channel to perform simultaneous diagnosis and the diagnosis time is the shortest is determined.
Assuming that the number of the electric control systems of the target vehicle is 60, the number of communication channels preset by the diagnostic software is 10, firstly, the diagnostic software is ordered according to the protocol type, the communication baud rate and the communication pins, the high-speed communication protocol is preferential, the diagnostic software can simultaneously communicate with 10 electric control systems of the vehicle each time, meanwhile, the diagnostic software monitors the service condition of the communication channels, and if the idle communication channels exist, the diagnostic software sets the communication parameters according to the ordering of the electric control systems until the communication of 60 electric control systems is completed. Ideally, assuming that the communication time of each electric control system is the same (2 seconds/several), the diagnosis software under the multi-channel technology can be completed only by the communication time of 6 electric control systems for 12 seconds, and the time consumption is 1/10 of that of the traditional diagnosis mode.
According to the diagnosis method of the vehicle electric control system, provided by the embodiment of the application, the communication efficiency between the diagnosis software and the vehicle can be greatly improved by adding the multichannel technology into the diagnosis software, and the waiting time of a maintainer for scanning and testing the vehicle is shortened. The multichannel technology not only improves the intellectualization of the diagnosis software, but also helps maintenance personnel to improve the maintenance efficiency and the user experience.
Based on the method embodiment, the embodiment of the application also provides a diagnostic device of the vehicle electronic control system, which is applied to vehicle diagnostic equipment; the vehicle diagnostic apparatus is configured with a plurality of communication channels; referring to fig. 4, the apparatus includes: a list parameter obtaining module 42, configured to obtain a list of electric control systems corresponding to the target vehicle and communication parameters corresponding to each electric control system in the list in response to a diagnostic instruction for the target vehicle; the sequencing module 44 is configured to perform priority sequencing according to communication parameters respectively corresponding to the plurality of electronic control systems; the communication diagnosis module 46 is configured to sequentially select, according to the order of priority from high to low, the electronic control systems with the same number as the communication channels as the current electronic control system to be diagnosed, and perform the following diagnosis steps: configuring communication parameters for the current electric control system to be diagnosed so as to communicate and diagnose with the current electric control system to be diagnosed through a communication channel configured with the communication parameters; in the process of simultaneously diagnosing by using a plurality of communication channels, the service condition of each communication channel is monitored in real time, if an idle communication channel is monitored, the electric control system with the highest current priority in the rest electric control systems is used as the current electric control system to be diagnosed, the diagnosis step is continuously executed until all the electric control systems are diagnosed, and an electric control system diagnosis report corresponding to the target vehicle is generated.
In a preferred embodiment of the present application, the list parameter obtaining module 42 is configured to communicate with a target vehicle, and determine a list of electric control systems corresponding to the target vehicle according to a response of an electric control ECU in the target vehicle.
In a preferred embodiment of the present application, the above communication parameters at least include the following sub-parameters: communication protocol type, message identification code, communication baud rate and communication pins; the sequencing module 44 is configured to generate, for each electronic control system, a system priority identifier corresponding to the electronic control system according to a plurality of sub-parameters corresponding to the electronic control system and a preset communication parameter priority identifier; and sequencing according to the system priority identifiers respectively corresponding to the plurality of electric control systems to obtain an electric control system sequencing result.
In a preferred embodiment of the present application, each of the above sub-parameters includes a plurality of parameter types; the preset communication parameter priority identification comprises the following steps: type priority identification corresponding to each parameter type; the sorting module 44 is configured to determine type priority identifiers of parameter types corresponding to a plurality of sub-parameters in the electric control system respectively according to preset communication parameter priority identifiers; and arranging the type priority identifiers corresponding to the parameter types from high to low according to the priority sequence of the four sub-parameters, and generating a system priority identifier corresponding to the electric control system.
In a preferred embodiment of the present application, the size of the type-priority identification token is inversely proportional to the priority; the sorting module 44 is configured to sort the system priority identifiers corresponding to the plurality of electric control systems in order from small to large, so as to obtain a sorting result of the electric control systems; the smaller the system priority mark is, the higher the priority corresponding to the electric control system is.
In a preferred embodiment of the present application, the communication diagnostic module 46 is configured to determine a current communication channel corresponding to the current electric control system to be diagnosed; judging whether the historical communication parameters in the current communication channel are consistent with the current communication parameters of the current electric control system to be diagnosed; if not, the historical communication parameters are modified into the current communication parameters.
In a preferred embodiment of the present application, the apparatus further includes a determining module, configured to determine, before the step of obtaining the list of electric control systems corresponding to the target vehicle and the communication parameters corresponding to each electric control system, whether the target vehicle is a vehicle in a preset database; if not, continuing to execute the step of acquiring the electric control system list corresponding to the target vehicle and the communication parameters corresponding to each electric control system; if yes, diagnosing the target vehicle according to an electric control system diagnosis scheme stored in a preset database; the diagnosis scheme of the electric control system comprises an electric control system with a plurality of communication channels corresponding to each diagnosis round; the electronic control system diagnostic scheme is the most efficient diagnostic scheme determined based on a plurality of historical diagnostic data of the target vehicle.
The device provided in the embodiments of the present application has the same implementation principle and technical effects as those of the foregoing method embodiments, and for a brief description, reference may be made to corresponding matters in the foregoing method embodiments where no reference is made to the description of the embodiments of the device.
The embodiment of the present application further provides an electronic device, as shown in fig. 5, which is a schematic structural diagram of the electronic device, where the electronic device includes a processor 51 and a memory 50, where the memory 50 stores computer executable instructions that can be executed by the processor 51, and the processor 51 executes the computer executable instructions to implement the above method.
In the embodiment shown in fig. 5, the electronic device further comprises a bus 52 and a communication interface 53, wherein the processor 51, the communication interface 53 and the memory 50 are connected by the bus 52.
The memory 50 may include a high-speed random access memory (RAM, random Access Memory), and may further include a non-volatile memory (non-volatile memory), such as at least one magnetic disk memory. The communication connection between the system network element and at least one other network element is achieved via at least one communication interface 53 (which may be wired or wireless), and the internet, wide area network, local network, metropolitan area network, etc. may be used. Bus 52 may be an ISA (Industry Standard Architecture ) bus, a PCI (Peripheral Component Interconnect, peripheral component interconnect standard) bus, or EISA (Extended Industry Standard Architecture ) bus, among others. The bus 52 may be classified as an address bus, a data bus, a control bus, or the like. For ease of illustration, only one bi-directional arrow is shown in FIG. 5, but not only one bus or type of bus.
The processor 51 may be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in the processor 51 or by instructions in the form of software. The processor 51 may be a general-purpose processor, including a central processing unit (Central Processing Unit, CPU for short), a network processor (Network Processor, NP for short), etc.; but also digital signal processors (Digital Signal Processor, DSP for short), application specific integrated circuits (Application Specific Integrated Circuit, ASIC for short), field-programmable gate arrays (Field-Programmable Gate Array, FPGA for short) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be embodied directly in hardware, in a decoded processor, or in a combination of hardware and software modules in a decoded processor. The software modules may be located in a random access memory, flash memory, read only memory, programmable read only memory, or electrically erasable programmable memory, registers, etc. as well known in the art. The storage medium is located in a memory and the processor 51 reads information in the memory and in combination with its hardware performs the steps of the method of the previous embodiment.
The embodiment of the present application further provides a computer readable storage medium, where a computer executable instruction is stored, where the computer executable instruction, when being called and executed by a processor, causes the processor to implement the foregoing method, and the specific implementation may refer to the foregoing method embodiment and is not described herein.
The method, the apparatus and the computer program product of the electronic device provided in the embodiments of the present application include a computer readable storage medium storing program codes, where the instructions included in the program codes may be used to execute the method described in the foregoing method embodiment, and specific implementation may refer to the method embodiment and will not be described herein.
The relative steps, numerical expressions and numerical values of the components and steps set forth in these embodiments do not limit the scope of the present application unless specifically stated otherwise.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer readable storage medium executable by a processor. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the methods described in the embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In the description of the present application, it should be noted that the directions or positional relationships indicated by the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc. are based on the directions or positional relationships shown in the drawings, are merely for convenience of description of the present application and to simplify the description, and do not indicate or imply that the devices or elements referred to must have a specific orientation, be configured and operated in a specific orientation, and thus should not be construed as limiting the present application. Furthermore, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
Finally, it should be noted that: the foregoing examples are merely specific embodiments of the present application, and are not intended to limit the scope of the present application, but the present application is not limited thereto, and those skilled in the art will appreciate that while the foregoing examples are described in detail, the present application is not limited thereto. Any person skilled in the art may modify or easily conceive of the technical solution described in the foregoing embodiments, or make equivalent substitutions for some of the technical features within the technical scope of the disclosure of the present application; such modifications, changes or substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present application, and are intended to be included in the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (10)

1. A diagnostic method of a vehicle electrical control system, characterized in that the method is applied to a vehicle diagnostic device; the vehicle diagnostic apparatus is configured with a plurality of communication channels; the method comprises the following steps:
responding to a diagnosis instruction aiming at a target vehicle, and acquiring an electric control system list corresponding to the target vehicle and communication parameters corresponding to each electric control system in the list;
according to the communication parameters respectively corresponding to the plurality of electric control systems, priority ranking is carried out; the priority ordering process is determined according to the principle that the electric control systems with the same or similar communication parameters are arranged together and the electric control systems with higher communication protocol speed are subjected to priority configuration;
according to the order of priority from high to low, sequentially selecting the electric control systems with the same number as the communication channels as the current electric control system to be diagnosed, and executing the following diagnosis steps:
configuring communication parameters for the current electric control system to be diagnosed so as to communicate and diagnose with the current electric control system to be diagnosed through a communication channel configured with the communication parameters;
and in the process of simultaneously diagnosing by applying a plurality of communication channels, monitoring the service condition of each communication channel in real time, if an idle communication channel is monitored, taking the electric control system with the highest current priority in the rest electric control systems as the current electric control system to be diagnosed, and continuously executing the diagnosis step until all the electric control systems are diagnosed, and generating an electric control system diagnosis report corresponding to the target vehicle.
2. The method of claim 1, wherein the step of obtaining a list of electronic control systems corresponding to a target vehicle in response to a diagnostic command for the target vehicle comprises:
and the electronic control system list corresponding to the target vehicle is determined according to the response condition of the electronic control ECU in the target vehicle.
3. The method according to claim 1, wherein the communication parameters include at least the following sub-parameters: communication protocol type, message identification code, communication baud rate and communication pins; the step of sequencing the priority according to the communication parameters respectively corresponding to the electric control systems comprises the following steps:
generating a system priority identifier corresponding to each electric control system according to a plurality of sub-parameters corresponding to the electric control system and a preset communication parameter priority identifier;
and sequencing according to the system priority identifiers respectively corresponding to the plurality of electric control systems to obtain an electric control system sequencing result.
4. A method according to claim 3, wherein each of said sub-parameters comprises a plurality of parameter types; the preset communication parameter priority identification comprises: type priority identification corresponding to each parameter type; generating a system priority identifier corresponding to the electric control system according to a plurality of sub-parameters corresponding to the electric control system and a preset communication parameter priority identifier, wherein the step comprises the following steps:
determining type priority identifiers of parameter types corresponding to a plurality of sub-parameters in the electric control system respectively according to the preset communication parameter priority identifiers;
and arranging type priority identifiers corresponding to the parameter types from high to low according to the priority sequence of the four sub-parameters, and generating a system priority identifier corresponding to the electric control system.
5. The method of claim 4, wherein the type-priority identification token is inversely proportional in size to priority; sequencing according to the system priority identifiers respectively corresponding to a plurality of electric control systems to obtain a sequencing result of the electric control systems, wherein the sequencing result comprises the following steps:
arranging the system priority identifiers corresponding to the electric control systems respectively in a sequence from small to large to obtain an electric control system sequencing result; the smaller the system priority mark is, the higher the priority corresponding to the electric control system is.
6. The method of claim 1, wherein the step of configuring communication parameters for the current electrical control system to be diagnosed comprises:
determining a current communication channel corresponding to the current electric control system to be diagnosed;
judging whether the historical communication parameters in the current communication channel are consistent with the current communication parameters of the current electric control system to be diagnosed;
and if not, modifying the historical communication parameters into the current communication parameters.
7. The method of claim 1, further comprising, prior to the step of obtaining the list of electronic control systems corresponding to the target vehicle and the communication parameters corresponding to each of the electronic control systems:
judging whether the target vehicle is a vehicle in a preset database or not;
if not, continuing to execute the step of acquiring an electric control system list corresponding to the target vehicle and the communication parameters corresponding to each electric control system;
if yes, diagnosing the target vehicle according to an electric control system diagnosis scheme stored in the preset database; the diagnosis scheme of the electric control system comprises an electric control system with a plurality of communication channels corresponding to each diagnosis round; the electronic control system diagnosis scheme is a scheme with highest diagnosis efficiency determined based on a plurality of historical diagnosis data of the target vehicle.
8. A diagnostic device of a vehicle electrical control system, characterized in that the device is applied to a vehicle diagnostic apparatus; the vehicle diagnostic apparatus is configured with a plurality of communication channels; the device comprises:
the list parameter acquisition module is used for responding to a diagnosis instruction aiming at a target vehicle and acquiring an electric control system list corresponding to the target vehicle and communication parameters corresponding to each electric control system in the list;
the sequencing module is used for sequencing the priority according to the communication parameters respectively corresponding to the plurality of electric control systems;
the communication diagnosis module is used for sequentially selecting the electric control systems with the same number as the communication channels as the current electric control system to be diagnosed according to the order of the priority from high to low, and executing the following diagnosis steps: configuring communication parameters for the current electric control system to be diagnosed so as to communicate and diagnose with the current electric control system to be diagnosed through a communication channel configured with the communication parameters; and in the process of simultaneously diagnosing by applying a plurality of communication channels, monitoring the service condition of each communication channel in real time, if an idle communication channel is monitored, taking the electric control system with the highest current priority in the rest electric control systems as the current electric control system to be diagnosed, and continuously executing the diagnosis step until all the electric control systems are diagnosed, and generating an electric control system diagnosis report corresponding to the target vehicle.
9. A vehicle diagnostic device comprising a processor and a memory, the memory storing computer executable instructions executable by the processor, the processor executing the computer executable instructions to implement the method of any one of claims 1 to 7.
10. A computer readable storage medium storing computer executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any one of claims 1 to 7.
CN202310368989.0A 2023-04-10 2023-04-10 Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment Active CN116088486B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310368989.0A CN116088486B (en) 2023-04-10 2023-04-10 Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310368989.0A CN116088486B (en) 2023-04-10 2023-04-10 Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment

Publications (2)

Publication Number Publication Date
CN116088486A CN116088486A (en) 2023-05-09
CN116088486B true CN116088486B (en) 2023-06-13

Family

ID=86187235

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310368989.0A Active CN116088486B (en) 2023-04-10 2023-04-10 Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment

Country Status (1)

Country Link
CN (1) CN116088486B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829088A (en) * 2018-07-20 2018-11-16 深圳市道通科技股份有限公司 Vehicle diagnosis method, device and storage medium
CN112015168A (en) * 2020-09-14 2020-12-01 上海星融汽车科技有限公司 Vehicle diagnosis method, system and diagnosis equipment based on automatic switching of communication protocols
CN113960984A (en) * 2021-10-25 2022-01-21 深圳市元征科技股份有限公司 Vehicle diagnosis method, vehicle diagnosis device, vehicle diagnosis apparatus, and storage medium
WO2022037150A1 (en) * 2020-08-21 2022-02-24 上海星融汽车科技有限公司 Vehicle ecu identification method and system, and vehicle diagnosis device
EP4116787A1 (en) * 2021-07-06 2023-01-11 Thinkcar Tech Co., Ltd. Remote vehicle diagnostic and detection method based on instant messaging communication, electronic device, and storage medium

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108829088A (en) * 2018-07-20 2018-11-16 深圳市道通科技股份有限公司 Vehicle diagnosis method, device and storage medium
WO2022037150A1 (en) * 2020-08-21 2022-02-24 上海星融汽车科技有限公司 Vehicle ecu identification method and system, and vehicle diagnosis device
CN112015168A (en) * 2020-09-14 2020-12-01 上海星融汽车科技有限公司 Vehicle diagnosis method, system and diagnosis equipment based on automatic switching of communication protocols
EP4116787A1 (en) * 2021-07-06 2023-01-11 Thinkcar Tech Co., Ltd. Remote vehicle diagnostic and detection method based on instant messaging communication, electronic device, and storage medium
CN113960984A (en) * 2021-10-25 2022-01-21 深圳市元征科技股份有限公司 Vehicle diagnosis method, vehicle diagnosis device, vehicle diagnosis apparatus, and storage medium

Also Published As

Publication number Publication date
CN116088486A (en) 2023-05-09

Similar Documents

Publication Publication Date Title
CN107918382B (en) Automobile fault diagnosis method, automobile fault diagnosis device and electronic equipment
CN108563214B (en) Vehicle diagnosis method, device and equipment
US11587364B2 (en) Method and system for outputting diagnostic content based on capability of diagnostic device selected to receive content
US20170024943A1 (en) System and Method for Service Assessment
CN109507981B (en) Vehicle testing method and device and machine-readable storage medium
CN111538312B (en) Vehicle remote diagnosis method, system, equipment connector and vehicle connector
CN113778557B (en) Vehicle diagnosis software configuration method, device, server and storage medium
CN109857085B (en) Method and system for generating driving data in simulation mode, simulation terminal and test system
CN108803577A (en) A kind of diagnostic method, host computer and slave computer
CN109901554B (en) Upper computer execution method based on UDS diagnosis
CN108390863B (en) Data processing method and device
CN114326672A (en) ECU simulation detection method, electronic device and storage medium
CN115542875A (en) Vehicle detection method based on SOA service and related equipment
CN116088486B (en) Diagnostic method and device for vehicle electric control system and vehicle diagnostic equipment
CN115480944A (en) Black screen fault analysis method and device of vehicle-mounted entertainment terminal, vehicle and medium
CN111598403A (en) Method and device for determining automobile test result, server and storage medium
US10733815B2 (en) Method and system for selective recall of motor vehicles
CN115733871A (en) Communication interaction method, device, equipment and storage medium
CN111061258B (en) Function testing method and device based on train control system
CN112861077A (en) Vehicle diagnosis data stream analysis method, system, server and storage medium
JP5341726B2 (en) Vehicle diagnostic apparatus and vehicle diagnostic method
CN112559000A (en) Vehicle software updating method and device
CN112319495B (en) Method, device and equipment for determining automobile system model and storage medium
CN116095190A (en) Method and device for rapidly collecting vehicle data and electronic equipment
CN117033178A (en) Method and system for testing android system of automobile

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