A unified diagnostic software design method for DCT transmission

By designing unified diagnostic software and using database and information register logic processing, the conversion of the underlying and application layer data formats in the DCT transmission controller is realized, which solves the data abnormality problem and realizes the normal operation of the UDS diagnostic function.

CN115328081BActive Publication Date: 2025-02-18CHONGQING TSINGSHAN IND
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210894245.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-07-27
Publication Date
2025-02-18
Estimated Expiration
2042-07-27

AI Technical Summary

Technical Problem

The application layer and underlying control software of existing DCT transmission controllers usually use the same data format, resulting in data exception problems when the two use different data formats.

Method used

Design a unified diagnostic software to realize the correct conversion of UDS diagnostic request function and CAN data format by establishing specific databases and information register logical processing, which is suitable for both Motorola and Intel data formats.

Benefits of technology

It realizes the UDS diagnostic function when the data format of the underlying and application layers is inconsistent, ensures the data analysis is correct, and solves the problem of data abnormalities, meeting the diagnostic needs of the DCT transmission on the entire vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115328081B_ABST
    Figure CN115328081B_ABST
Patent Text Reader

Abstract

A unified diagnostic software design method for a DCT transmission comprises the following steps: 1) establishing a specific general database and sub-database according to the project; 2) obtaining CAN information flow related to the CAN communication stack and storing it in different information registers; 3) judging whether the information flow stored in the information register is correct based on the UDS protocol; 4) searching for relevant information in the database according to the content in the information register; 5) collecting and outputting corresponding freeze frame data according to the requested fault code, and the freeze frame data is specified according to the data object of the corresponding database; 6) detecting the working condition of the whole vehicle in real time, and transmitting the monitoring and judgment results to the bottom layer through the interface; 7) setting the data register according to the diagnosis processing result and the information retrieval result.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of transmission control, and in particular to a unified diagnostic software design method for a DCT transmission. Background Art

[0002] Dual-clutch automatic transmission, or DCT transmission, has the advantages of fast shifting speed, high transmission efficiency, compact structure, reliable operation, and affordable price. In recent years, major automobile manufacturers and transmission parts suppliers have been increasing their research and development of DCT, so DCT technology is becoming more and more mature. For DCT with complex structure and control functions, it is necessary to monitor DCT related operating data and test the performance of related components in the fields of DCT supplier product factory inspection and after-sales problem troubleshooting. In order to realize the function of testing components and collecting effective data through the on-board diagnostic port on the whole vehicle, the automotive industry defines the use of the unified diagnostic protocol (hereinafter referred to as UDS) function to achieve this. Its application range is very wide. UDS diagnosis requires the bottom layer and application layer to cooperate to realize the corresponding functions. External devices, such as diagnostic instruments and CANOE, can make UDS diagnostic requests, and the DCT control software, application layer control software and bottom layer control software can realize the specific functions of the diagnostic request.

[0003] The current DCT controller (hereinafter referred to as TCU) has two data formats: Motorola and Intel formats. For these two data formats, the application layer diagnostic function needs to be processed differently. The existing TCU usually uses application layer control software and underlying control software with the same data format. Once the two use different data formats, data anomalies will occur during the application process. Therefore, it is urgent to develop a diagnostic software suitable for both Motorola and Intel data formats. Summary of the invention

[0004] The object of the present invention is to provide a unified diagnostic software design method for a DCT transmission in view of the deficiencies in the prior art, which can realize the correct conversion of the UDS diagnostic request function and the CAN data format.

[0005] The technical solution of the present invention is: a unified diagnostic software design method for a DCT transmission, the steps are as follows:

[0006] 1) Establish database: Establish specific master database and sub-database according to the project;

[0007] 2) Information acquisition and processing: define the maximum size of the information flow that can be obtained, obtain the CAN information flow related to the CAN communication stack through the underlying interface function, parse the CAN information flow and store it in the specific address segment of different information registers;

[0008] 3) Information register logic processing: Based on the UDS protocol, determine whether the information flow stored in the information register is correct;

[0009] 4) Database search: Search the data object number of the specific address segment in the information register in the main database, and judge the search results. After the main database search is successful, the number attribute is judged to determine whether a sub-database search is required. If the sub-database search is successful, the data stream address segment is assigned a value or a value, and the value or value is stored in the data transfer register. If the main database or sub-database search fails, the response code corresponding to the search failure is output;

[0010] 5) Freeze frame request: collect and output corresponding freeze frame data according to the requested fault code, and the freeze frame data is specified according to the data object of the corresponding database;

[0011] 6) Condition monitoring and setting: Real-time detection of vehicle working conditions, and passing the monitoring and judgment results to the bottom layer through the interface;

[0012] 7) Data register setting: store the combined data object number and data register content into the specified location of the data register, and store the calculated data stream length into the specified address segment.

[0013] Furthermore, the total database in step 1) is set as one, and four sub-databases are set, namely, a freeze frame sub-database, an input / output control sub-database, a data attribute database, and a data object database applicable to the Motorola format or the Intel format, wherein:

[0014] The total database includes multiple data streams, each data stream is a structure, and each data stream includes a data object number, data content, and data attributes;

[0015] The freeze frame sub-database includes a plurality of sub-data, each of which includes a freeze frame information number;

[0016] The input / output control sub-database includes a number of data streams, each of which is a structure, as well as an input / output control object number, control data, and control mode;

[0017] The data attribute database contains three attributes: read-only, writable and readable, and readable and controllable, and each attribute is defined in multiple types;

[0018] The data object database applicable to the Motorola format or the Intel format includes a plurality of data object numbers.

[0019] Furthermore, the information flow analysis of step 2) is as follows:

[0020] 2-1) The length of the information stream is processed and stored in a specific address segment of information register 1;

[0021] 2-2) The information flow addressing method is used to obtain the value and store it in the specific address segment of information register 2;

[0022] 2-3) Get the address of the information flow array, get the content of the information flow array through the pointer value method, and store it in the specific address segment of information register 3;

[0023] 2-4) Obtain the current transmission control unit TCU diagnostic mode information stream and store it in the specific address segment of information register 4;

[0024] 2-5) Obtain the current transmission control unit TCU security key information stream and store it in the specific address segment of information register 5.

[0025] Further, step 3) determines whether the information flow in the information register is qualified, as follows:

[0026] 3-1) Determine whether the information stream length in information register 1 is correct. If it is correct, determine the next register. If it is incorrect, output the corresponding response code.

[0027] 3-2) Determine whether the addressing mode in information register 2 is correct. If it is correct, determine the next register. If it is incorrect, output the corresponding response code.

[0028] 3-3) Determine whether the diagnostic mode in information register 4 is correct. If it is correct, determine the next register. If it is incorrect, output the corresponding response code.

[0029] 3-4) Determine whether the security key in the information register 5 is correct. If it is correct, end the determination. If it is incorrect, output the corresponding response code.

[0030] Furthermore, step 4) database search steps are as follows,

[0031] 4-1) Use the pointer value method to retrieve the high and low bytes of the data object number in the information register 3 respectively, and combine the high and low bytes into a new object number by bit shifting;

[0032] 4-2) Use binary search to search for the new object ID in the total database. If the search is successful, proceed to the next step. If the search fails, output the response code corresponding to the search failure.

[0033] 4-3) Determine the properties of the new object number:

[0034] 4-3-1) When the new object number is a read-only attribute, if the format of the data object is consistent with the upper layer data format and the data length is 1, the content in the address segment specified by the object number is output through the pointer value method and passed to the data register, and the corresponding response code is output; otherwise, the high byte content of the address segment specified by the object number is passed to the low byte of the data register, and the low byte content of the address segment specified by the object number is passed to the high byte of the data register;

[0035] 4-3-2) When the new object number is a controllable attribute that is readable and controllable, the new object number is searched in the input and output control sub-database using the binary search method. When the search is successful, the control mode of the data object is obtained through the pointer value method. If the control mode is valid, the format of the data object is consistent with the upper layer data format and the data length is 1, the obtained control mode is passed to the control mode address segment corresponding to the data object, and the corresponding response code is output. Otherwise, the high byte content of the address segment specified by the object number is passed to the low byte of the data register, and the low byte content of the address segment specified by the object number is passed to the high byte of the data register; when the search fails, the corresponding response code for the failure is output;

[0036] When the new object number is a readable and controllable readable attribute, return to step 4-3-1);

[0037] 4-3-3) When the new object number is a writable and readable extended writable attribute, if the format of the data object is consistent with the upper layer data format and the data length is 1, the content specified by the object number is written to the specific address segment and the corresponding response code is output; otherwise, the high byte content of the address segment specified by the object number is passed to the low byte of the data register, and the low byte content of the address segment specified by the object number is passed to the high byte of the data register;

[0038] When the new object number is a writable and readable attribute, return to step 4-3-1).

[0039] Furthermore, in step 5), a request is first made to read the freeze frame data related to the fault code, and then a fault match is performed according to the requested fault code information. If the match is successful, the freeze frame database is entered, and the data content in the total database corresponding to the data object in the freeze frame database is passed to the data transfer register. At this time, the output response code is 0; if the match fails, the response code corresponding to the failure is output.

[0040] Furthermore, the monitoring conditions in step 6) are:

[0041] ① No speed sensor failure or vehicle speed < 3km / h;

[0042] ② No handle mode failure occurs or the gear mode is P / N gear;

[0043] ③ No engine speed failure occurs or the engine speed is 0rpm;

[0044] If all three conditions above are met, the vehicle conditions input to the bottom layer meet the diagnosis requirements. If any one of the conditions is not met, the vehicle conditions input to the bottom layer do not meet the diagnosis requirements and diagnosis is prohibited.

[0045] Furthermore, the specific steps of step 7) are as follows,

[0046] 7-1) Based on the UDS protocol, the object number is stored in the data register;

[0047] 7-2) Put the contents of the data transfer register into the data register in sequence according to the array value method;

[0048] 7-3) Calculate the length of the data register and determine the data flow passed to the underlying software based on the value of the response code:

[0049] If the response code is equal to 0, and the length of the data storage is not 0, the diagnostic result passed to the underlying software is 0, the diagnostic result is qualified, and the root data content is passed to the underlying software;

[0050] If the response code is not equal to 0, the diagnostic result passed to the underlying software is 1, the diagnostic result is unqualified, the response code that is not 0 is passed to the underlying layer, and no data content is sent to the underlying software.

[0051] Beneficial effects of adopting the above technical solution:

[0052] 1. The present invention can realize the design and development of UDS diagnostic function software when the underlying layer and application layer data formats are inconsistent through the transmission control unit TCU, and can correctly receive and parse the underlying Intel data or Motorola data, convert it into a data format that matches the application layer, and write it into a specified address segment.

[0053] 2. The present invention establishes a unique database, which contains all types of data required for project diagnosis, and can use binary search and matching to perform database retrieval and matching, and finally achieve data accuracy through assignment and retrieval operations.

[0054] 3. The present invention collects the vehicle speed, gear position, engine speed signals, and related fault judgments to achieve accurate monitoring and judgment of the vehicle operating conditions required by some diagnostic protocols, and passes the results to the underlying software for underlying software flashing, communication settings, and hardware reset functions.

[0055] 4. The present invention realizes the correct setting of the data register by writing the data object number and the data register content in the specified address segment, and correctly calculates the data register length, thereby passing the diagnosis result and data length of the application layer and the data register content to the underlying software.

[0056] In summary, the present invention can solve the problem of incorrect data parsing when the data types of the bottom layer and the application layer are inconsistent; and has a reasonable and complete database to support the diagnostic requirements of the project in after-sales, factory inspection, bench testing, etc.; it can monitor and judge the vehicle operating conditions of some diagnostic requirements, and correctly set the diagnostic result data register.

[0057] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] Figure 1 is a logic flow chart of the present invention;

[0059] Figure 2 A logical flow chart for database retrieval according to the present invention. DETAILED DESCRIPTION

[0060] See also Figure 1 to Figure 2 , an embodiment of a unified diagnostic software design method for a DCT transmission, the steps are as follows:

[0061] 1) Establish database: Establish specific master database and sub-database according to the project;

[0062] The general database is set as one, and four sub-databases are set, namely, a freeze frame sub-database, an input / output control sub-database, a data attribute database, and a data object database applicable to the Motorola format or the Intel format, so that the data format of the data object database applicable to the Motorola format or the Intel format is consistent with the data format of the application layer software, wherein:

[0063] ① The total database contains multiple data streams, each of which is a structure, and each data stream contains data object number, data content, and data attributes. For example, the clutch pressure data stream is defined as: object number 0x0100, data content is 2 bytes, data address segment is 0x8015c77a, and data attribute is a readable attribute of 2 bytes;

[0064] ② The freeze frame sub-database contains several sub-data, each of which contains the freeze frame information number, for example, the freeze frame data engine speed, the information number is 0x011A;

[0065] ③ The input and output control sub-database contains several data streams, each of which is a structure, as well as the input and output control object number, control data, and control mode. For example, for pre-gear control, the object number is 0x0171, the control data is 2 bytes in size, the control mode valid address segment is 0x50001a68, and the valid value 3 is set to control the actuator action, and the valid value 0 is set to not control the actuator action;

[0066] ④ The data attribute database contains three types of attributes: read-only, writable and readable, and readable and controllable, and each attribute is defined in multiple types. For example, read-only attributes include read-only in default mode, read-only in programming mode, and read-only in extended mode. Readable and controllable attributes include readable in default mode and arbitrarily controllable attributes. Readable and writable attributes include readable in programming mode, writable in extended mode, and writable in unlocked mode.

[0067] ⑤ The data object database applicable to Motorola format or Intel format contains several data object numbers, for example, database: 0x121 (alternative strategy), 0x0164 (security information), 0xF122 (diagnostic definition), 0xF180 (low-level diagnostic ID), etc.

[0068] 2) Information acquisition and processing: Define the maximum size of the information flow that can be obtained, obtain the CAN information flow related to the CAN communication stack through the underlying interface function, parse the CAN information flow and store it in the specific address segment of different information registers. The information flow parsing is as follows:

[0069] 2-1) The length of the information stream is processed and stored in a specific address segment of information register 1;

[0070] 2-2) The information flow addressing method is used to obtain the value and store it in the specific address segment of information register 2;

[0071] 2-3) Get the address of the information stream array, get the content of the information stream array through pointer access, and store it in the specific address segment of information register 3. In actual application, the information stream can be accessed through a for loop. When the number of loops is greater than the byte size of the information stream, exit the for loop;

[0072] 2-4) Obtain the current transmission control unit TCU diagnostic mode information stream and store it in the specific address segment of information register 4;

[0073] 2-5) Obtain the current transmission control unit TCU security key information stream and store it in the specific address segment of information register 5.

[0074] 3) Information register logic processing: Based on the UDS protocol, determine whether the information flow stored in the information register is correct. The IF~ELES architecture can be used for judgment, as follows:

[0075] 3-1) Determine whether the information stream length in information register 1 is the same as the correct length set. If they are the same, determine the next register. If they are not the same, output the corresponding response code;

[0076] 3-2) Determine whether the addressing mode in information register 2 is the same as the set correct addressing mode. If they are the same, determine the next register. If they are not the same, output the corresponding response code.

[0077] 3-3) Determine whether the diagnostic mode in information register 4 is the same as the correct diagnostic mode set. If they are the same, determine the next register. If they are not the same, output the corresponding response code.

[0078] 3-4) Determine whether the security key in the information register 5 is the same as the correct security key set. If they are the same, end the determination. If they are not the same, output the corresponding response code.

[0079] 4) Database search: Search the data object number of the specific address segment in the information register in the main database, and judge the search results. After the main database search is successful, the number attribute is judged to determine whether a sub-database search is required. If the sub-database search is successful, the specified data stream address segment is retrieved or assigned, and the retrieval or assignment is stored in the data transfer register. If the main database or sub-database search fails, the response code corresponding to the search failure is output. The specific steps are as follows:

[0080] 4-1) Use the pointer value method to retrieve the high and low bytes of the data object number in the information register 3 respectively, and combine the high and low bytes into a new object number by bit shifting;

[0081] 4-2) Use the binary search method and IF~ELES structure to search for the new object number in the total database. If the search is successful, proceed to the next step. If the search fails, output the response code corresponding to the search failure.

[0082] 4-3) Determine the properties of the new object number:

[0083] 4-3-1) When the new object number is a read-only attribute, if the format of the data object is consistent with the upper layer data format and the data length is 1, the content in the address segment specified by the object number is output through the pointer value method and passed to the data register, and the corresponding response code is output; otherwise, the high byte content of the address segment specified by the object number is passed to the low byte of the data register, and the low byte content of the address segment specified by the object number is passed to the high byte of the data register;

[0084] 4-3-2) When the new object number is a controllable attribute that is readable and controllable, the new object number is searched in the input and output control sub-database using the binary search method. When the search is successful, the control mode of the data object is obtained through the pointer value method. If the control mode is valid, the format of the data object is consistent with the upper layer data format and the data length is 1, the obtained control mode is passed to the control mode address segment corresponding to the data object, and the corresponding response code is output. Otherwise, the high byte content of the address segment specified by the object number is passed to the low byte of the data register, and the low byte content of the address segment specified by the object number is passed to the high byte of the data register; when the search fails, the corresponding response code for the failure is output;

[0085] When the new object number is a readable and controllable readable attribute, return to step 4-3-1);

[0086] 4-3-3) When the new object number is a writable and readable extended writable attribute, if the format of the data object is consistent with the upper layer data format and the data length is 1, the content specified by the object number is written to the specific address segment and the corresponding response code is output; otherwise, the high byte content of the address segment specified by the object number is passed to the low byte of the data register, and the low byte content of the address segment specified by the object number is passed to the high byte of the data register;

[0087] When the new object number is a writable and readable attribute, return to step 4-3-1);

[0088] Since the data reading methods of the Motorola data format and the Intel data format are opposite, exchanging the high and low byte contents can make the data formats of the application layer and the bottom layer consistent, thus solving the problem of data anomalies during the diagnosis process.

[0089] 5) Freeze frame request: collect and output corresponding freeze frame data according to the requested fault code, and the freeze frame data is specified according to the data object of the corresponding database;

[0090] First, request to read the freeze frame data related to the fault code, and then perform fault matching based on the requested fault code information. If the match is successful, enter the freeze frame database and pass the data content in the total database corresponding to the data object in the freeze frame database to the data transfer register. At this time, the output response code is 0; if the match fails, the response code corresponding to the failure is output.

[0091] 6) Condition monitoring and setting: Real-time detection of vehicle working conditions, and passing the monitoring results to the bottom layer through the interface. The monitoring conditions are:

[0092] ① No speed sensor failure or vehicle speed < 3km / h;

[0093] ② No handle mode failure occurs or the gear mode is P / N gear;

[0094] ③ No engine speed failure occurs or the engine speed is 0rpm;

[0095] Among them, the speed and handle signals can be collected through sensors, and the engine speed and vehicle speed can be collected through CAN matrix communication signals;

[0096] If all three conditions above are met, the vehicle conditions input to the bottom layer meet the diagnosis requirements. If any one of the conditions is not met, the vehicle conditions input to the bottom layer do not meet the diagnosis requirements and diagnosis is prohibited.

[0097] 7) Data register setting: store the combined data object number and data register content into the specified location of the data register, and store the calculated data stream length into the specified address segment.

[0098] 7-1) Based on the UDS protocol, the object number is stored in the data register;

[0099] 7-2) Put the contents of the data transfer register into the data register in sequence according to the array value method;

[0100] 7-3) Calculate the length of the data register and determine the data flow passed to the underlying software based on the value of the response code:

[0101] If the response code is equal to 0, and the length of the data storage is not 0, the diagnostic result passed to the underlying software is 0, the diagnostic result is qualified, and the root data content is passed to the underlying software;

[0102] If the response code is not equal to 0, the diagnostic result passed to the underlying software is 1, the diagnostic result is unqualified, the response code that is not 0 is passed to the underlying layer, and no data content is sent to the underlying software.

Claims

1. A unified diagnostic software design method for DCT transmission, characterized in that Here are the steps: 1) Establish database: Establish specific master database and sub-database according to the project; 2) Information acquisition and processing: define the maximum size of the information flow that can be obtained, obtain the CAN information flow related to the CAN communication stack through the underlying interface function, parse the CAN information flow and store it in the specific address segment of different information registers; 3) Information register logic processing: Based on the UDS protocol, determine whether the information flow stored in the information register is correct; 4) Database search: Search the data object number of the specific address segment in the information register in the main database, and judge the search results. After the main database search is successful, the number attribute is judged to determine whether a sub-database search is required. If the sub-database search is successful, the data stream address segment is assigned a value or a value, and the value or value is stored in the data transfer register. If the main database or sub-database search fails, the response code corresponding to the search failure is output. The specific steps are as follows: 4-1) Use the pointer value method to retrieve the high and low bytes of the data object number in the information register 3 respectively, and combine the high and low bytes into a new object number by bit shifting; 4-2) Use binary search to search for the new object ID in the total database. If the search is successful, proceed to the next step. If the search fails, output the response code corresponding to the search failure. 4-3) Determine the properties of the new object number: 4-3-1) When the new object number is a read-only attribute, if the format of the data object is consistent with the upper layer data format and the data length is 1, the content in the address segment specified by the object number is output through the pointer value method and passed to the data register, and the corresponding response code is output; otherwise, the high byte content of the address segment specified by the object number is passed to the low byte of the data register, and the low byte content of the address segment specified by the object number is passed to the high byte of the data register; 4-3-2) When the new object number is a controllable attribute that is readable and controllable, the new object number is searched in the input and output control sub-database using the binary search method. When the search is successful, the control mode of the data object is obtained through the pointer value method. If the control mode is valid, the format of the data object is consistent with the upper layer data format and the data length is 1, the obtained control mode is passed to the control mode address segment corresponding to the data object, and the corresponding response code is output. Otherwise, the high byte content of the address segment specified by the object number is passed to the low byte of the data register, and the low byte content of the address segment specified by the object number is passed to the high byte of the data register; when the search fails, the corresponding response code for the failure is output; When the new object number is a readable and controllable readable attribute, return to step 4-3-1); 4-3-3) When the new object number is a writable and readable extended writable attribute, if the format of the data object is consistent with the upper layer data format and the data length is 1, the content specified by the object number is written to the specific address segment and the corresponding response code is output; otherwise, the high byte content of the address segment specified by the object number is passed to the low byte of the data register, and the low byte content of the address segment specified by the object number is passed to the high byte of the data register; When the new object number is a writable and readable attribute, return to step 4-3-1); 5) Freeze frame request: collect and output corresponding freeze frame data according to the requested fault code, and the freeze frame data is specified according to the data object of the corresponding database; 6) Condition monitoring and setting: Real-time detection of vehicle working conditions, and passing the monitoring and judgment results to the bottom layer through the interface; 7) Data register setting: store the combined data object number and data register content into the specified location of the data register, and store the calculated data stream length into the specified address segment.

2. The unified diagnostic software design method for a DCT transmission according to claim 1, characterized in that: The total database described in step 1) is set as one, and four sub-databases are set, namely, a freeze frame sub-database, an input / output control sub-database, a data attribute database, and a data object database applicable to the Motorola format or the Intel format, wherein: The total database includes multiple data streams, each data stream is a structure, and each data stream includes a data object number, data content, and data attributes; The freeze frame sub-database includes a plurality of sub-data, each of which includes a freeze frame information number; The input / output control sub-database includes a number of data streams, each of which is a structure, as well as an input / output control object number, control data, and control mode; The data attribute database contains three attributes: read-only, writable and readable, and readable and controllable, and each attribute is defined in multiple types; The data object database applicable to the Motorola format or the Intel format includes a plurality of data object numbers.

3. The unified diagnostic software design method for a DCT transmission according to claim 1, characterized in that: The information flow analysis of step 2) is as follows: 2-1) The length of the information stream is processed and stored in a specific address segment of information register 1; 2-2) The information flow addressing method is used to obtain the value and store it in the specific address segment of information register 2; 2-3) Get the address of the information flow array, get the content of the information flow array through the pointer value method, and store it in the specific address segment of information register 3; 2-4) Obtain the current transmission control unit TCU diagnostic mode information stream and store it in a specific address segment of information register 4; 2-5) Obtain the current transmission control unit TCU security key information stream and store it in the specific address segment of information register 5.

4. The unified diagnostic software design method for a DCT transmission according to claim 3, characterized in that: Step 3) Determine whether the information flow in the information register is qualified, as follows: 3-1) Determine whether the information stream length in information register 1 is correct. If it is correct, determine the next register. If it is incorrect, output the corresponding response code. 3-2) Determine whether the addressing mode in information register 2 is correct. If it is correct, determine the next register. If it is not correct, output the corresponding response code. 3-3) Determine whether the diagnostic mode in information register 4 is correct. If it is correct, determine the next register. If it is incorrect, output the corresponding response code. 3-4) Determine whether the security key in the information register 5 is correct. If it is correct, end the determination. If it is incorrect, output the corresponding response code.

5. The unified diagnostic software design method for a DCT transmission according to claim 1, characterized in that: Step 5) First request to read the freeze frame data related to the fault code, and then perform fault matching based on the requested fault code information. If the match is successful, enter the freeze frame database and pass the data content in the total database corresponding to the data object in the freeze frame database to the data transfer register. At this time, the output response code is 0; if the match fails, the response code corresponding to the failure is output.

6. A unified diagnostic software design method for a DCT transmission according to claim 1, characterized in that: Monitoring conditions in step 6): ① No speed sensor failure or vehicle speed < 3km / h; ② No handle mode failure occurs or the gear mode is P / N gear; ③ No engine speed failure occurs or the engine speed is 0rpm; If all three conditions above are met, the vehicle conditions input to the bottom layer meet the diagnosis requirements. If any one of the conditions is not met, the vehicle conditions input to the bottom layer do not meet the diagnosis requirements and diagnosis is prohibited.

7. The unified diagnostic software design method for a DCT transmission according to claim 1, characterized in that: The specific steps of step 7) are as follows, 7-1) Based on the UDS protocol, the object number is stored in the data register; 7-2) Put the contents of the data transfer register into the data register in sequence according to the array value method; 7-3) Calculate the length of the data register and determine the data flow passed to the underlying software based on the value of the response code: If the response code is equal to 0, and the length of the data storage is not 0, the diagnostic result passed to the underlying software is 0, the diagnostic result is qualified, and the root data content is passed to the underlying software; If the response code is not equal to 0, the diagnostic result passed to the underlying software is 1, the diagnostic result is unqualified, the response code that is not 0 is passed to the underlying layer, and no data content is sent to the underlying software.

Citation Information

Patent Citations

  • Software flashing method of gearbox TCU

    CN103984340A

  • Automatic testing method and testing device of diagnostic function of vehicle controller

    CN107544463A