Diagnostic information collecting method for vehicle diagnosis and battery system

The method dynamically switches between single-channel and multi-channel communication to address inefficiencies in vehicle diagnostic systems, ensuring rapid and efficient data collection from multiple ECUs by optimizing buffer usage.

WO2025244206A1PCT designated stage Publication Date: 2025-11-27LG ENERGY SOLUTION LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
PCT/KR2024/017761
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-05-24
Filing Date
2024-11-11
Publication Date
2025-11-27

AI Technical Summary

Technical Problem

Existing vehicle diagnostic systems face inefficiencies in multi-ECU scenarios due to limitations in single-channel and multi-channel communication methods, particularly in managing buffer size and response times during data collection from multiple battery packs.

Method used

A method that dynamically switches between single-channel and multi-channel communication based on buffer capacity and data requirements, allowing rapid data collection and response by using multi-channel when memory is sufficient and single-channel when memory is insufficient.

Benefits of technology

Enables rapid and efficient data collection from multiple slave ECUs by leveraging the advantages of both communication methods, ensuring timely responses and optimal memory usage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure KR2024017761_27112025_PF_FP_ABST
    Figure KR2024017761_27112025_PF_FP_ABST
Patent Text Reader

Abstract

The present invention relates to a diagnostic information collecting method for vehicle diagnosis and a battery system. The method for collecting, by a master electronic control unit (ECU), diagnostic information for vehicle diagnosis from a plurality of slave ECUs, according to one feature of the present invention, comprises the steps of: receiving a data request for the diagnostic information from a diagnostic device; determining whether the size of diagnostic data including the diagnostic information and the total capacity of a required buffer corresponding to the number of the plurality of slave ECUs are less than a buffer size allocated for diagnosis; collecting a plurality of pieces of diagnostic data from the plurality of slave ECUs by a multi-channel communication or single-channel communication method on the basis of whether the total capacity is less than the buffer size; and transmitting the plurality of pieces of diagnostic data to the diagnostic device.
Need to check novelty before this filing date? Find Prior Art

Description

Method for collecting diagnostic information for vehicle diagnosis and battery system

[0001] Cross-citation with related application(s)

[0002] This application claims the benefit of priority to Korean Patent Application No. 10-2024-0067809, filed May 24, 2024, the entire contents of which are incorporated herein by reference.

[0003] The present disclosure relates to a method for collecting diagnostic information for vehicle diagnosis and a battery system.

[0004] Unified Diagnostic Service (UDS) communication is a communication protocol used to diagnose vehicles and collect information. According to the ISO 15765-2 standard protocol definition, UDS communication can transmit data packets via the CAN bus (BUS).

[0005] Typically, in a single-ECU scenario involving a single ECU, the diagnostic tool can connect to the single ECU via a single connection, enabling 1:1 communication. Conversely, in a multiple-connection scenario, where multiple ECUs perform the same role across multiple battery packs, the upper-level ECU, upon receiving a request from the diagnostic tool, must request and collect information from the lower-level ECUs, collate it, and then transmit it to the diagnostic tool.

[0006] In these multi-connection communication situations, single-channel and multi-channel communication methods can be utilized to allow upper-level ECUs to communicate with lower-level ECUs. However, both single-channel and multi-channel communication methods have their own advantages and disadvantages.

[0007] The present invention provides a method for collecting diagnostic information for vehicle diagnosis and a battery system that can dynamically use a single-channel communication method and a multi-channel communication method according to the amount of diagnostic data in the UDS communication method between a master controller and multiple slave controllers when diagnosing a vehicle battery.

[0008] A method for collecting diagnostic information for vehicle diagnosis from a plurality of slave ECUs by a master ECU (Electronic Control Unit) according to one aspect of the invention, the method comprises the steps of: receiving a data request for the diagnostic information from a diagnostic device; determining whether a total capacity of a required buffer corresponding to a size of diagnostic data including the diagnostic information and the number of the plurality of slave ECUs is less than a buffer size allocated for diagnosis; collecting a plurality of diagnostic data from the plurality of slave ECUs in a multi-channel communication or single-channel communication manner based on whether the total capacity is less than the buffer size; and transmitting the plurality of diagnostic data to the diagnostic device.

[0009] The step of transmitting the plurality of diagnostic data to the diagnostic device may include a step of collating the contents of data among CAN messages received from each of the plurality of slave ECUs until the diagnostic data is received from all of the plurality of slave ECUs.

[0010] If the total capacity is determined to be less than the buffer size, the step of collecting a plurality of diagnostic data from the plurality of slave ECUs by the multi-channel communication or single-channel communication method may include a step of collecting the diagnostic information by the multi-channel communication method of broadcasting a request message to the plurality of slave ECUs and receiving the diagnostic data from each of the plurality of slave ECUs simultaneously or at different times.

[0011] If the total capacity is determined to be greater than or equal to the buffer size, the step of collecting a plurality of diagnostic data from the plurality of slave ECUs using the multi-channel communication or single-channel communication method may include a step of collecting the diagnostic information using a single-channel communication method that sequentially performs an operation of transmitting a request message and receiving the diagnostic data for each of the plurality of slave ECUs.

[0012] The method may further include transmitting a message to the diagnostic device prior to transmitting the request message, which holds a response to the data request.

[0013] According to another feature of the invention, a battery system includes a master ECU that transmits diagnostic data including diagnostic information to a diagnostic device when receiving a data request for diagnostic information for vehicle diagnosis from a diagnostic device performing vehicle diagnosis, and a plurality of slave ECUs that transmit the diagnostic data to the master ECU in response to a request message received from the master ECU, wherein the master ECU collects a plurality of diagnostic data from the plurality of slave ECUs in a multi-channel communication or single-channel communication manner based on whether the total capacity of a required buffer corresponding to the size of the diagnostic data and the number of the plurality of slave ECUs is less than a buffer size allocated for diagnosis.

[0014] The master ECU can collect the contents of data among the CAN messages received from each of the plurality of slave ECUs until the diagnostic data is received from all of the plurality of slave ECUs, and transmit the plurality of diagnostic data to the diagnostic device.

[0015] If the total capacity is determined to be less than the buffer size, the master ECU can collect the diagnostic information by broadcasting a request message to the plurality of slave ECUs and receiving the diagnostic data from each of the plurality of slave ECUs simultaneously or at different times using a multi-channel communication method.

[0016] If the total capacity is determined to be greater than the buffer size, the master ECU can collect the diagnostic information in a single-channel communication manner by sequentially performing an operation of transmitting a request message and receiving the diagnostic data to each of the plurality of slave ECUs.

[0017] The master ECU may transmit a message to the diagnostic device to hold a response to the data request before transmitting the request message.

[0018] According to the present disclosure, single-channel and multi-channel communication methods can be dynamically utilized to leverage the advantages of each method. Specifically, when memory size is sufficient for the amount of diagnostic data, multi-channel communication can be utilized for rapid processing. Furthermore, when memory size is insufficient for the amount of diagnostic data, single-channel communication can be utilized to conserve memory.

[0019] According to the present disclosure, in a multi-connection method in which a master controller and a plurality of slave controllers are connected, a rapid response without delay is possible for most requests through dynamic channel configuration.

[0020] FIG. 1 is a block diagram schematically illustrating a vehicle according to one embodiment.

[0021] FIG. 2 is a flowchart of a method for collecting diagnostic information for vehicle diagnosis according to one embodiment.

[0022] FIG. 3 is a detailed flowchart of an operation for collecting data in a single-channel communication manner when the total capacity of the required buffer is determined to be greater than the allocated buffer size in step S102 illustrated in FIG. 2.

[0023] FIG. 4 is a detailed flowchart of an operation for collecting data in a multi-channel communication manner when the total capacity of the required buffer is determined to be less than the allocated buffer size in step S102 illustrated in FIG. 2.

[0024] Hereinafter, the embodiments disclosed in this specification will be described in detail with reference to the attached drawings. The same or similar components will be given the same or similar drawing reference numerals, and redundant descriptions thereof will be omitted. The suffixes "module" and / or "part" used for components in the following description are given or used interchangeably only for the convenience of writing the specification, and do not in themselves have distinct meanings or roles. In addition, when describing the embodiments disclosed in this specification, if it is determined that a specific description of a related known technology may obscure the gist of the embodiments disclosed in this specification, a detailed description thereof will be omitted. In addition, the attached drawings are only intended to facilitate easy understanding of the embodiments disclosed in this specification, and the technical ideas disclosed in this specification are not limited by the attached drawings, and should be understood to include all modifications, equivalents, and substitutes included in the spirit and technical scope of the present invention.

[0025] Terms that include ordinal numbers, such as first, second, etc., may be used to describe various components, but the components are not limited by these terms. These terms are used solely to distinguish one component from another.

[0026] In this application, terms such as “include” or “have” are intended to specify the presence of a feature, number, step, operation, component, part or combination thereof described in the specification, but should be understood not to exclude in advance the possibility of the presence or addition of one or more other features, numbers, steps, operations, components, parts or combinations thereof.

[0027] Among the configurations according to one embodiment, a configuration that controls another configuration under specific control conditions may be installed with a program implemented as a set of commands that embody the control algorithms necessary to control the other configuration. The control configuration may process input data and stored data according to the installed program to generate output data. The control configuration may include non-volatile memory for storing the program and memory for storing data.

[0028] FIG. 1 is a block diagram schematically illustrating a vehicle according to one embodiment.

[0029] Referring to FIG. 1, a vehicle (1) may include a battery system (10).

[0030] The battery system (10) may include a control unit (110) and a vehicle battery (120).

[0031] The control unit (110) may include a master ECU (Electronic Control Unit) (111). The control unit (110) may be a junction box that manages the vehicle battery (120) and performs diagnosis on the operation of the vehicle battery (120).

[0032] The vehicle battery (120) may include a plurality of battery packs (121-123). In one embodiment, the vehicle (1) may be a multi-pack environment including a plurality of battery packs (121-123).

[0033] Each of the plurality of battery packs (121-123) (e.g., 121) may include a corresponding battery module (e.g., 131) among the plurality of battery modules (131-133) and a corresponding slave ECU (e.g., 141) among the plurality of slave ECUs (141-144). The battery pack (121) may include a battery module (131) and a slave ECU (141). The battery pack (122) may include a battery module (132) and a slave ECU (142). The battery pack (123) may include a battery module (133) and a slave ECU (143).

[0034] Each of the plurality of battery modules (131-133) may include two or more battery cells connected in series, two or more battery cells connected in parallel, or two or more battery cells connected in parallel.

[0035] A master ECU (111) and multiple slave ECUs (141-143) are connected to a CAN (Controller Area Network) bus (BUS) and can communicate with each other. In this specification, the master ECU (111) and multiple slave ECUs (141-143) may be electronic control units for vehicles.

[0036] The vehicle (1) can perform diagnosis, information collection, etc. for each component of the vehicle (1) through UDS communication based on the Unified Diagnostic Service (UDS) protocol.

[0037] When explaining the common operation and technical features of multiple slave ECUs (141-143), the multiple slave ECUs (141-143) are collectively referred to as slave ECUs (140). In Fig. 1, the number of slave ECUs (140) is shown as three, but this is for convenience of explanation, and the number of slave ECUs (140) is not limited to this.

[0038] The master ECU (111) may be an upper control device of the slave ECU (140), and the slave ECU (140) may be a lower control device of the master ECU (111). The plurality of slave ECUs (141-143) may be a battery management system (BMS) that manages a vehicle battery (120).

[0039] Each of the plurality of slave ECUs (141-143) (e.g., 141) can measure and collect data from a corresponding battery module (e.g., 131) among the plurality of battery modules (131-133) and transmit the data to the master ECU (111). The master ECU (111) can communicate with the plurality of slave ECUs (141-143) to control the operation of the vehicle (1).

[0040] A vehicle (1) can be connected to a diagnostic device (2). The diagnostic device (2) can be an external device connected to the vehicle (1). The diagnostic device (2) can perform a diagnosis on the vehicle (1). The diagnostic device (2) can transmit a data request (hereinafter, “data request”) for diagnostic information for diagnosing the vehicle (1) to the master ECU (111).

[0041] The master ECU (111) can collect data from multiple slave ECUs (141-143) at the request of the diagnostic device (2). The data collected by the master ECU (111) from multiple slave ECUs (141-143) can include diagnostic information at the request of the data received from the diagnostic device (2).

[0042] In one embodiment, a multiple connection communication situation may be described in which a vehicle (1) includes a master ECU (111) and a plurality of slave ECUs (141-143). The master ECU (111) may request, collect, collate, and transmit information from the plurality of slave ECUs (141-143) after receiving a data request from a diagnostic device (2). In the multiple connection communication situation, the method by which the master ECU (111) communicates with the plurality of slave ECUs (141-143) may be multi-channel communication or single channel communication.

[0043] Multi-channel communication is a method in which a master ECU (111) exchanges information with multiple slave ECUs (141-143) simultaneously, and single-channel communication is a method in which a master ECU (111) exchanges information with one of multiple slave ECUs (141-143) and then exchanges information with another of multiple slave ECUs (141-143), and so on, ...

[0044] In one embodiment, the master ECU (111) can dynamically utilize multi-channel communication or single-channel communication depending on the amount of data and the size of memory (e.g., buffer) in a multi-connection situation.

[0045] Multichannel communication offers the advantage of fast processing speeds, eliminating pending responses. However, it also requires a separate memory buffer for each channel, requiring a large memory size. Single-channel communication, while saving memory by exchanging information using a single buffer, also suffers from the disadvantage of incurring a pending response when collating all information, hindering rapid processing.

[0046] In one embodiment, the advantages of both multi-channel and single-channel are utilized dynamically to enable multi-channel communication operation when memory is sufficient, and single-channel communication operation when memory is not sufficient.

[0047] When receiving a data request from a diagnostic device (2), the master ECU (111) can collect diagnostic information by communicating with a plurality of slave ECUs (141-143) in a multi-channel communication or single-channel communication manner based on whether the total capacity of the required buffer according to the data request is less than the buffer size allocated for diagnosis. The total capacity of the required buffer may be the total size of the buffer required for the master ECU (111) to store data received from the plurality of slave ECUs (141-143).

[0048] The master ECU (111) can transmit a request message to multiple slave ECUs (141-143) in a multi-channel communication or single-channel communication manner based on the total capacity of the required buffer and the allocated buffer size, and collect multiple diagnostic data from the multiple slave ECUs (141-143).

[0049] The master ECU (111) can determine the total capacity of the required buffer in response to the size of diagnostic data including diagnostic information (hereinafter referred to as “diagnostic data”) and the number of multiple slave ECUs (141-143).

[0050] The master ECU (111) may have stored in advance a plurality of diagnostic items that may be requested by the diagnostic device (2) and the sizes (Data Length) of diagnostic data corresponding to each of the plurality of diagnostic items. The data request that the master ECU (111) receives from the diagnostic device (2) may include diagnostic items for the vehicle (1). The master ECU (111) may determine the sizes of diagnostic data corresponding to diagnostic items included in the data request among the plurality of diagnostic items based on the sizes of the previously stored diagnostic data.

[0051] In one embodiment, the master ECU (111) may determine the total capacity of the required buffer as the product of the size of the diagnostic data and the number of the plurality of slave ECUs (141-143). For example, if the number of slave ECUs (140) is 12 and the size of the diagnostic data is 4095 bytes, the master ECU (111) may determine the total capacity of the required buffer as 4095 (bytes) * 12 = 48 (kbyte). Hereinafter, the total capacity of the required buffer is described as the product of the size of the diagnostic data and the number of the plurality of slave ECUs (141-143), but the invention is not limited thereto, and the master ECU (111) may determine the total capacity of the required buffer based on the size of the diagnostic data, the number of the plurality of slave ECUs (141-143), etc.

[0052] Additionally, the master ECU (111) can determine the buffer size allocated for diagnosis of the vehicle battery (120).

[0053] If the total capacity of the required buffer is determined to be greater than the allocated buffer size, the master ECU (111) can collect diagnostic information from multiple slave ECUs (141-143) using a single-channel communication method. If the total capacity of the required buffer is determined to be greater than the allocated buffer size, the master ECU (111) can sequentially perform operations of transmitting a request message and receiving diagnostic data to each of the multiple slave ECUs (141-143).

[0054] The timeout time for request transmission and response reception between the diagnostic device (2) and the master ECU (111) and the timeout time for request transmission and response reception between the master ECU (111) and the slave ECU (140) can be predetermined as initial information. For convenience of explanation below, the timeout time for request transmission and response reception between the diagnostic device (2) and the master ECU (111) is To1, and the timeout time for request transmission and response reception between the master ECU (111) and the slave ECU (140) is To2. In addition, it can be assumed that the time required for the master ECU (111) to perform one operation of receiving a response to the request from the time when the master ECU (111) transmits the request to the slave ECU (140) is t_res, and t_res is within To2 time, and To1 exceeds t_res and is less than 2*t_res.

[0055] Assuming that the number of slave ECUs (140) is n (n is a natural number greater than or equal to 2), when using a single channel communication method, the master ECU (111) needs to perform the operation of sending a request to the slave ECU (140) and receiving a response n times.

[0056] When the operation of transmitting a request and receiving a response to the slave ECU (140) is performed n times, n*t_res time is required, so it is difficult for the master ECU (111) to respond to the data request to the diagnostic device (2) within To1 time. Therefore, when using a single-channel communication method, the master ECU (111) needs to withhold a response to the data request to the diagnostic device (2) until it receives diagnostic data from each of the plurality of slave ECUs (141-143). Therefore, when the total capacity of the required buffer is determined to be greater than the allocated buffer size, the master ECU (111) may transmit a response hold message to the plurality of slave ECUs (141-143) before transmitting the request message. The response hold message may be a message for withholding a response to the data request to the diagnostic device (2) until it receives diagnostic messages from all of the plurality of slave ECUs (141-143). For example, a response pending message may be a Response pending message with Negative Response Code (NRC) 0x78 in the UDS protocol.

[0057] If the total capacity of the required buffer is determined to be less than the allocated buffer size, the master ECU (111) can collect diagnostic information from multiple slave ECUs (141-143) using a multi-channel communication method. If the total capacity of the required buffer is determined to be less than the allocated buffer size, the master ECU (111) can broadcast a request message to multiple slave ECUs (141-143) and receive diagnostic data from each of the multiple slave ECUs (141-143) simultaneously or at different times.

[0058] Even if the number of slave ECUs (140) is n, when using a multi-channel communication method, the master ECU (111) can perform the operation of sending a request to the slave ECU (140) and receiving a response once.

[0059] When the operation of sending a request to a slave ECU (140) and receiving a response is performed once, the t_res time is required, so the master ECU (111) can respond to the data request to the diagnostic device (2) within To1 time. Therefore, when using a multi-channel communication method, the master ECU (111) does not need to send a response hold message to the diagnostic device (2).

[0060] In this specification, To1 is set to be greater than t_res and less than 2*t_res, but this is for convenience of explanation and the invention is not limited thereto. In some embodiments, To1 may be less than t_res, in which case the master ECU (111) may transmit a response hold message to the diagnostic device (2) even when using a multi-channel communication method to prevent a timeout of the diagnostic device (2).

[0061] The master ECU (111) can collect data received from each of the plurality of slave ECUs (141-143) and store it in a buffer, and transmit the diagnostic data to the diagnostic device (2). The master ECU (111) can collect the contents of data among the CAN messages received from each of the plurality of slave ECUs (141-143) until it receives diagnostic data from all of the plurality of slave ECUs (141-143). The contents of data among the CAN messages received by the master ECU (111) from each of the plurality of slave ECUs (141-143) can include diagnostic data corresponding to diagnostic information requested from the diagnostic device (2). The master ECU (111) can store the data received from the plurality of slave ECUs (141-143) in a buffer.

[0062] FIG. 2 is a flowchart of a method for collecting diagnostic information for vehicle diagnosis according to one embodiment.

[0063] Below, descriptions of the diagnostic device (2), master ECU (111), and slave ECU (140) that overlap with the descriptions above may be omitted.

[0064] Referring to FIG. 2, the master ECU (111) can receive a data request for diagnostic information from the diagnostic device (2) (S101).

[0065] The master ECU (111) can determine whether the total capacity of the required buffer is less than the allocated buffer size (S102).

[0066] At step S102, if the total capacity of the required buffer is determined to be greater than the allocated buffer size (NO at S102), the master ECU (111) can transmit a response hold message to the diagnostic device (2) (S103).

[0067] Following step S103, the master ECU (111) can request and collect diagnostic information from multiple slave ECUs (141-143) in a single-channel communication manner (S104).

[0068] At step S102, if the total capacity of the buffer required by the diagnostic device (2) is determined to be less than the allocated buffer size (yes in S102), the master ECU (111) can request and collect diagnostic information from multiple slave ECUs (141-143) using a multi-channel communication method (S105).

[0069] Following step S104 or S105, the master ECU (111) may collect data received from multiple slave ECUs (141-143) (S106). The data collected by the master ECU (111) may include diagnostic data received from each of the multiple slave ECUs (141-143).

[0070] Following step S106, the master ECU (111) can transmit a plurality of diagnostic data received from a plurality of slave ECUs (141-143) to the diagnostic device (2) in response to the data request in step S101 (S107).

[0071] FIG. 3 is a detailed flowchart of an operation for collecting data in a single-channel communication manner when the total capacity of the required buffer is determined to be greater than the allocated buffer size in step S102 illustrated in FIG. 2.

[0072] Below, descriptions of the diagnostic device (2), master ECU (111), and slave ECU (140) that overlap with the descriptions above may be omitted.

[0073] Referring to Fig. 3, the diagnostic device (2) can request data on diagnostic information from the master ECU (111) (S201). Step S201 of Fig. 3 may correspond to step S101 of Fig. 2.

[0074] If the total capacity of the required buffer is determined to be greater than the allocated buffer size, the master ECU (111) may transmit a response hold message to the diagnostic device (2) (S202). Step S202 of FIG. 3 may correspond to step S103 of FIG. 2.

[0075] In a single channel communication method, the master ECU (111) can sequentially perform an operation of transmitting a request message to each of the plurality of slave ECUs (141-143) and receiving diagnostic data from each of the plurality of slave ECUs (141-143).

[0076] The master ECU (111) can transmit a request message to the slave ECU (141) (S203).

[0077] The master ECU (111) can receive diagnostic data from the slave ECU (141) (S204). Here, the diagnostic data may be response data to a request message received by the slave ECU (141) from the master ECU (111) in step S203.

[0078] The master ECU (111) can transmit a request message to the slave ECU (142) (S205).

[0079] The master ECU (111) can receive diagnostic data from the slave ECU (142) (S206). Here, the diagnostic data may be response data to a request message received by the slave ECU (142) from the master ECU (111) in step S205.

[0080] The master ECU (111) can transmit a request message to the slave ECU (143) (S207).

[0081] The master ECU (111) can receive diagnostic data from the slave ECU (143) (S208). Here, the diagnostic data may be response data to a request message received by the slave ECU (143) from the master ECU (111) in step S207.

[0082] Steps S203 to S208 of FIG. 3 may be included in step S104 of FIG. 2.

[0083] When receiving diagnostic data from all of the multiple slave ECUs (141-143), the master ECU (111) can collect the multiple diagnostic data received from the multiple slave ECUs (141-143) and transmit them to the diagnostic device (2) (S209). Step S209 of FIG. 3 may correspond to step S207 of FIG. 2.

[0084] FIG. 4 is a detailed flowchart of an operation for collecting data in a multi-channel communication manner when the total capacity of the required buffer is determined to be less than the allocated buffer size in step S102 illustrated in FIG. 2.

[0085] Below, descriptions of the diagnostic device (2), master ECU (111), and slave ECU (140) that overlap with the descriptions above may be omitted.

[0086] Referring to Fig. 4, the diagnostic device (2) can request data on diagnostic information from the master ECU (111) (S301). Step S301 of Fig. 4 may correspond to step S101 of Fig. 2.

[0087] If the total capacity of the required buffer is determined to be less than the allocated buffer size, the master ECU (111) can transmit a request message to a plurality of slave ECUs (141-143) in a multi-channel communication manner and receive diagnostic data from each of the plurality of slave ECUs (141-143) simultaneously or with a time difference. The master ECU (111) can transmit the request message to all of the plurality of slave ECUs (141-143) (S302, S303, S304). In the multi-channel communication manner, the method by which the master ECU (111) transmits the request message to all of the plurality of slave ECUs (141-143) may be a broadcast method or a method of sequentially transmitting with a minimum time difference.

[0088] The master ECU (111) can receive diagnostic data from the slave ECU (141) (S305). Here, the diagnostic data may be data in response to a request message received by the slave ECU (141) from the master ECU (111) in step S302.

[0089] The master ECU (111) can receive diagnostic data from the slave ECU (142) (S306). Here, the diagnostic data may be data in response to a request message received by the slave ECU (142) from the master ECU (111) in step S303.

[0090] The master ECU (111) can receive diagnostic data from the slave ECU (143) (S307). Here, the diagnostic data may be data in response to a request message received by the slave ECU (143) from the master ECU (111) in step S303.

[0091] Although Fig. 4 illustrates that there is a difference between the times at which the master ECU (111) receives diagnostic data from multiple slave ECUs (141-143) in steps S305 to S307, this is for convenience of explanation and the invention is not limited thereto. The master ECU (111) may simultaneously receive diagnostic data from multiple slave ECUs (141-143) or may sequentially receive it with a small time difference.

[0092] Steps S302 to S307 of FIG. 4 may be included in step S105 of FIG. 2.

[0093] When diagnostic data is received from all of the multiple slave ECUs (141-143), the master ECU (111) can collect the multiple diagnostic data received from the multiple slave ECUs (141-143) and transmit them to the diagnostic device (2) (S308). Step S308 of FIG. 4 may correspond to step S107 of FIG. 2.

[0094] Although the above description has been described with respect to the utilization of a dynamic communication channel between a master ECU (111) and a plurality of slave ECUs (141-143) in a multi-connection situation between a master ECU (111) and a plurality of slave ECUs (141-143), this is for convenience of description and the invention is not limited thereto. The description of the utilization of a dynamic communication channel between a master ECU (111) and a plurality of slave ECUs (141-143) in one embodiment is not limited to an electronic control device of a vehicle, and can be applied to the utilization of a dynamic communication channel between an upper (master) controller (e.g., a master BMS) and a plurality of lower (slave) controllers (e.g., a slave BMS).

[0095] Although the embodiments of the present invention have been described in detail above, the scope of the present invention is not limited thereto, and various modifications and improvements made by a person having ordinary skill in the art to which the present invention pertains also fall within the scope of the present invention.

Claims

1. A method for a master ECU (Electronic Control Unit) to collect diagnostic information for vehicle diagnosis from multiple slave ECUs, A step of receiving a data request for the diagnostic information from a diagnostic device; A step of determining whether the total capacity of the required buffer corresponding to the size of the diagnostic data including the above diagnostic information and the number of the plurality of slave ECUs is less than the buffer size allocated for diagnosis; A step of collecting a plurality of diagnostic data from the plurality of slave ECUs in a multi-channel communication or single-channel communication manner based on whether the total capacity is less than the buffer size; and A step of transmitting the plurality of diagnostic data to the diagnostic device, method.

2. In paragraph 1, The step of transmitting the plurality of diagnostic data to the diagnostic device comprises: A step of collating the contents of data among CAN messages received from each of the plurality of slave ECUs until the diagnostic data is received from all of the plurality of slave ECUs, method.

3. In paragraph 1, If the total capacity is determined to be less than the buffer size, The step of collecting a plurality of diagnostic data from the plurality of slave ECUs in the multi-channel communication or single-channel communication method is as follows: A step of collecting the diagnostic information by broadcasting a request message to the plurality of slave ECUs and receiving the diagnostic data from each of the plurality of slave ECUs simultaneously or at different times in a multi-channel communication manner, method.

4. In paragraph 1, If the total capacity is judged to be greater than the buffer size, The step of collecting a plurality of diagnostic data from the plurality of slave ECUs in the multi-channel communication or single-channel communication method is as follows: A step of collecting the diagnostic information in a single-channel communication manner, which sequentially performs an operation of transmitting a request message and receiving the diagnostic data for each of the plurality of slave ECUs, method.

5. In paragraph 4, Further comprising the step of transmitting a message to the diagnostic device prior to transmitting the request message, wherein the message holds a response to the data request. method.

6. A master ECU that receives a data request for diagnostic information for vehicle diagnosis from a diagnostic device that performs vehicle diagnosis and transmits diagnostic data including the diagnostic information to the diagnostic device; and Includes a plurality of slave ECUs that transmit the diagnostic data to the master ECU in response to a request message received from the master ECU, The above master ECU is, A battery system that collects a plurality of diagnostic data from the plurality of slave ECUs in a multi-channel communication or single-channel communication manner based on whether the total capacity of the required buffer corresponding to the size of the diagnostic data and the number of the plurality of slave ECUs is less than the buffer size allocated for diagnosis.

7. In paragraph 6, The above master ECU is, Compiling the contents of data among CAN messages received from each of the plurality of slave ECUs until the diagnostic data is received from all of the plurality of slave ECUs, and transmitting the plurality of diagnostic data to the diagnostic device. Battery system.

8. In paragraph 6, If the total capacity is determined to be less than the buffer size, The above master ECU is, Collecting the diagnostic information by a multi-channel communication method that broadcasts a request message to the plurality of slave ECUs and receives the diagnostic data from each of the plurality of slave ECUs simultaneously or with a time difference. Battery system.

9. In paragraph 6, If the total capacity is judged to be greater than the buffer size, The above master ECU is, For each of the plurality of slave ECUs, the diagnostic information is collected in a single-channel communication manner by sequentially performing an operation of transmitting a request message and receiving the diagnostic data. Battery system.

10. In paragraph 9, The above master ECU is, transmitting a message to the diagnostic device to hold a response to the data request before transmitting the request message; Battery system.

Citation Information

Patent Citations

  • Communication system for hybrid energy storage device

    KR1020150111419A

  • System for distributing agricultural, livestock and fishery products based on membership

    KR1020220106321A

  • Apparatus performing a repair operation

    KR1020220131115A

  • Server control methods for providing financial instrument subscription service based on the intelligent verification process by stages

    KR102381532B1

  • KR20230078503A