Diagnostic information generating device and method and diagnostic system including the same

Through the diagnostic information generation device, the communication packet structure is optimized, and the problem of long diagnostic data transmission time in devices such as electric vehicles is solved, and faster and more accurate ECU status diagnosis is achieved.

CN114424075BActive Publication Date: 2025-09-02LG ENERGY SOLUTION LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202180005204.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2020-07-10
Filing Date
2021-07-02
Publication Date
2025-09-02
Estimated Expiration
2041-07-02

AI Technical Summary

Technical Problem

In prior art, in devices such as electric vehicles, the transmission time of diagnostic data is long, making it difficult to meet the real-time diagnostic requirements, especially in the improvement of data communication efficiency between ECUs.

Method used

Through the diagnostic information generation device, the communication channel is flexibly selected based on multiple battery status information, the diagnostic data amount is calculated and the appropriate packet structure is selected, and the communication packets are generated, including message packets and data packets are optimized, and the transmission process is optimized.

Benefits of technology

It effectively shortens the transmission time of multiple battery status information, improves the efficiency and accuracy of ECU status diagnosis, and reduces the diagnosis time delay.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114424075B_ABST
    Figure CN114424075B_ABST
Patent Text Reader

Abstract

According to an embodiment of the present disclosure, a diagnostic information generating device includes: an input unit, which is configured to receive diagnostic request information, the diagnostic request information including data identification information of at least one of a plurality of diagnostic items for a diagnostic target and diagnostic data corresponding to the data identification information; a control unit, which is configured to receive the diagnostic request information from the input unit, calculate the diagnostic data amount for the data identification information and the diagnostic data included in the diagnostic request information, select a grouping structure corresponding to the calculated diagnostic data amount from among a plurality of grouping structures, and generate a communication group including the diagnostic request information based on the selected grouping structure; and a communication unit, which is configured to output the communication group generated by the control unit to an external diagnostic device as diagnostic information for the diagnostic target.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application claims priority from Korean Patent Application No. 10-2020-0085462 filed in Korea on Jul. 10, 2020, the disclosure of which is incorporated herein by reference.

[0002] The present disclosure relates to a diagnostic information generating device and method and a diagnostic system including the diagnostic information generating device and method, and more particularly, to a diagnostic information generating device and method capable of effectively diagnosing a diagnostic target based on at least one diagnostic information and a diagnostic system including the diagnostic information generating device and method. Background Art

[0003] Recently, the demand for portable electronic products such as notebook computers, video cameras, and portable phones has increased dramatically, and electric vehicles, energy storage batteries, robots, satellites, etc. have been developed seriously. Therefore, high-performance batteries that allow repeated charging and discharging are being actively studied.

[0004] Currently commercially available batteries include nickel-cadmium batteries, nickel-metal hydride batteries, nickel-zinc batteries, lithium batteries, etc. Among them, lithium batteries have attracted attention because they have almost no memory effect compared to nickel-based batteries and also have a very low self-discharge rate and high energy density.

[0005] Meanwhile, devices equipped with such batteries include various ECUs (Electronic Control Units), which communicate with each other to provide and receive information from other ECUs. Taking vehicles as an example, the variety of functions and controls within vehicles is increasing, and in particular, as electric vehicles equipped with batteries become more practical, the amount of data transmitted and received between ECUs is increasing. Therefore, communication standards and technologies have been proposed to improve the efficiency of data communication between ECUs.

[0006] For example, Patent Document 1 discloses only a configuration in which the data receiving side changes the reception mode to high-speed mode or normal mode using CAN (Controller Area Network) communication. However, Patent Document 1 has the following problem: since the traffic load is improved by changing the reception mode, it is difficult to apply to devices such as electric vehicles that require real-time provision of various information.

[0007] That is, in Patent Document 1, the transmitting side must transmit a single piece of information per communication packet. Therefore, when using Patent Document 1, there is a problem that it may take a considerable amount of time when diagnostic data needs to be generated and transmitted quickly and when diagnostic data must be used to diagnose various ECU states.

[0008] (Patent Document 1) KR 10-1573637B1. Summary of the Invention

[0009] [Technical Issues]

[0010] The present disclosure is designed to solve the problems of the prior art, and thus the present disclosure aims to provide a diagnostic information generating apparatus and method capable of shortening the transmission time of a plurality of battery status information by flexibly selecting a communication channel according to the plurality of battery status information.

[0011] These and other purposes and advantages of the present disclosure can be understood from the following detailed description and will become more apparent from the exemplary embodiments of the present disclosure. Moreover, it will be readily understood that the purposes and advantages of the present disclosure can be achieved by the means and combinations thereof shown in the appended claims.

[0012] [Technical solution]

[0013] In one aspect of the present disclosure, a diagnostic information generating device is provided, comprising: an input unit configured to receive diagnostic request information, the diagnostic request information including data identification information of at least one of a plurality of diagnostic items for a diagnostic target and diagnostic data corresponding to the data identification information; a control unit configured to receive the diagnostic request information from the input unit, calculate a diagnostic data volume for the data identification information and the diagnostic data included in the diagnostic request information, select a grouping structure corresponding to the calculated diagnostic data volume from among a plurality of grouping structures, and generate a communication packet including the diagnostic request information based on the selected grouping structure; and a communication unit configured to output the communication packet generated by the control unit to an external diagnostic device as diagnostic information for the diagnostic target.

[0014] The control unit may be configured to calculate a packet size required for the communication packet based on the calculated amount of diagnostic data, and select, based on the calculated packet size, either a first packet structure including one message packet and a second packet structure including one message packet and at least one data packet.

[0015] The message packet may be configured to include a packet size area having information on a packet size, an identification information area having identification information on a diagnosis request, and a diagnosis information area having diagnosis request information.

[0016] The data packet may be configured to include a sequence information region having sequence information and a diagnostic information region.

[0017] When the diagnostic request information received from the input unit includes multiple data identification information and multiple diagnostic data, the control unit can be configured so that at least one classification information for classifying the data identification information and diagnostic data corresponding to each other is included in at least a portion of the diagnostic information area of ​​the message group and the diagnostic information area of ​​the data group.

[0018] When the second packet structure is selected, the control unit may be configured to output the message packet first and then the data packet through the communication unit.

[0019] When a plurality of data packets are generated, the control unit may be configured to sequentially output the plurality of generated data packets through the communication unit based on the sequence information.

[0020] The control unit may be configured to compare the calculated group size with a preset reference value, and select any one of the first grouping structure and the second grouping structure according to a comparison result.

[0021] The control unit may be configured to select the first grouping structure when the calculated group size is equal to or smaller than a preset reference value.

[0022] The control unit may be configured to select the second packet structure when the calculated packet size exceeds a preset reference value.

[0023] According to another aspect of the present disclosure, a diagnostic information generation method may include: a diagnostic request information input step of receiving diagnostic request information, the diagnostic request information including data identification information of at least one of a plurality of diagnostic items for a diagnostic target and diagnostic data corresponding to the data identification information; a diagnostic data amount calculation step of calculating the diagnostic data amount for the data identification information and diagnostic data included in the diagnostic request information; a grouping structure selection step of selecting a grouping structure corresponding to the calculated diagnostic data amount from a plurality of grouping structures; a communication group generation step of generating a communication group including the diagnostic request information based on the selected grouping structure; and a diagnostic information output step of outputting the communication group to an external diagnostic device as diagnostic information for the diagnostic target.

[0024] According to another aspect of the present disclosure, a diagnostic system may include: a diagnostic information generating device according to an aspect of the present disclosure; and a diagnostic apparatus configured to receive diagnostic information from the diagnostic information generating device, extract diagnostic request information from the received diagnostic information, determine at least one of a battery pack and an electronic control device as a diagnostic target based on the extracted diagnostic request information, diagnose a state of the diagnostic target based on the extracted diagnostic request information, and transmit the diagnostic result to the diagnostic information generating device.

[0025] The diagnostic apparatus may be configured to extract data identification information and diagnostic data from the diagnostic request information, apply a value of an item corresponding to the data identification information among a plurality of diagnostic items of a diagnostic target as the diagnostic data, and diagnose a state of the diagnostic target to which the diagnostic data is applied.

[0026] [Beneficial Effects]

[0027] According to one aspect of the present disclosure, there is an advantage in that diagnostic information can be efficiently transmitted by generating a communication packet of an optimal packet structure in consideration of a packet size of the communication packet.

[0028] The effects of the present disclosure are not limited to the above-mentioned effects, and other effects not mentioned will be clearly understood by those skilled in the art from the description of the claims. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] The accompanying drawings illustrate preferred embodiments of the present disclosure and, together with the foregoing disclosure, serve to provide a further understanding of the technical features of the present disclosure, and therefore, the present disclosure is not to be construed as being limited to the accompanying drawings.

[0030] Figure 1 is a diagram schematically illustrating a diagnosis information generating apparatus according to an embodiment of the present disclosure.

[0031] Figure 2 is a diagram schematically showing an exemplary configuration of a message packet.

[0032] Figure 3 is a diagram schematically showing another exemplary configuration of message grouping.

[0033] Figure 4 is a diagram schematically illustrating one embodiment of a communication packet generated by the diagnostic information generating device according to an embodiment of the present disclosure.

[0034] Figure 5 is a diagram schematically showing an exemplary configuration of a data packet.

[0035] Figure 6 is a diagram schematically illustrating another embodiment of a communication packet generated by the diagnostic information generating device according to an embodiment of the present disclosure.

[0036] Figure 7 is a diagram schematically illustrating a method for generating diagnosis information according to another embodiment of the present disclosure.

[0037] Figure 8 is a diagram schematically illustrating a diagnostic system including a diagnostic information generating apparatus according to an embodiment of the present disclosure. DETAILED DESCRIPTION

[0038] It should be understood that the terms used in the specification and the appended claims should not be interpreted as limited to the general and dictionary meanings, but should be interpreted based on the meanings and concepts corresponding to the technical aspects of the present disclosure on the basis of the principle of allowing the inventor to appropriately define the terms to obtain the best interpretation.

[0039] Therefore, the descriptions presented herein are merely preferred examples for illustrative purposes, and are not intended to limit the scope of the present disclosure. It should be understood that other equivalent substitutions and modifications may be made thereto without departing from the scope of the present disclosure.

[0040] Additionally, in describing the present disclosure, when a detailed description of related known elements or functions is deemed to obscure the key subject matter of the present disclosure, the detailed description is omitted herein.

[0041] Terms including ordinal numbers such as “first,” “second,” etc. may be used to distinguish one element from another among various elements, but are not intended to limit the elements by the terms.

[0042] Throughout the specification, when a part is referred to as “including” or “comprising” any elements, unless particularly stated otherwise, it means that the part may further include other elements, rather than excluding other elements.

[0043] In addition, the term "control unit" described in the specification refers to a unit that processes at least one function or operation and may be implemented by hardware, software, or a combination of hardware and software.

[0044] In addition, throughout the specification, when a part is referred to as being “connected” to another part, it is not limited to the case where they are “directly connected” but also includes the case where they are “indirectly connected” with another element interposed therebetween.

[0045] Hereinafter, preferred embodiments of the present disclosure will be described in detail with reference to the accompanying drawings.

[0046] Figure 1 is a diagram schematically illustrating a diagnosis information generating apparatus 100 according to an embodiment of the present disclosure.

[0047] Reference Figure 1 , the diagnosis information generating apparatus 100 according to an embodiment of the present disclosure may include an input unit 110 , a control unit 120 , and a communication unit 130 .

[0048] The input unit 110 may be configured to receive diagnosis request information including data identification information of at least one of a plurality of diagnosis items of a diagnosis target and diagnosis data corresponding to the data identification information.

[0049] Specifically, the input unit 110 can receive diagnostic request information from the outside. For example, the input unit 110 can be connected to a personal computer (PC), a mobile device, a touch screen, or other devices, and can receive information about data identification information and diagnostic data from these devices. In addition, the input unit 110 can be connected to input devices such as a keyboard, a mouse, and a touch pad, and can receive information about data identification information and diagnostic data from the input devices.

[0050] Preferably, the data identification information may correspond to multiple diagnostic items of the diagnostic target. For example, the data identification information may correspond to items such as the voltage, current, insulation resistance, or temperature of the battery pack. In addition, the data identification information may correspond to items such as the link voltage of the electronic control unit (ECU) of the electric vehicle. In addition, the data identification information may correspond to various items that can be set for the battery pack and the electric vehicle.

[0051] Preferably, the diagnostic data may be a value corresponding to the data identification information. For example, when the data identification information is the voltage of the battery pack, the diagnostic data may be a voltage value used for diagnosis.

[0052] The control unit 120 may be configured to receive diagnosis request information from the input unit 110 .

[0053] Specifically, the control unit 120 may be connected to communicate with the input unit 110. The control unit 120 and the input unit 110 may be connected by wire or wirelessly to enable data communication with each other. Thus, the control unit 120 may receive diagnosis request information from the input unit 110.

[0054] Furthermore, the control unit 120 may be configured to calculate a diagnostic data amount for the data identification information and the diagnostic data included in the diagnosis request information.

[0055] Specifically, the control unit 120 may calculate the diagnostic data volume of the diagnostic request information in bytes. The control unit 120 may calculate the byte size of the data identification information and the byte size of the diagnostic data.

[0056] Preferably, since the data identification information is a value corresponding to a plurality of diagnosis items of the diagnosis target, it may have a fixed size. For example, the size of the data identification information may be 2 bytes.

[0057] At the same time, since the diagnostic data is a value used for diagnosis corresponding to the data identification information, it can have various sizes depending on the input value. For example, when the diagnostic data is 2 [V], the size of the diagnostic data can be 1 byte. As another example, if the diagnostic data is 2.5 [V], the size of the diagnostic data can be 3 bytes.

[0058] In this way, the control unit 120 can calculate the size of the data identification information and the size of the diagnostic data, and calculate the total size of the diagnostic request information by summing the calculated values. That is, the control unit 120 can calculate the amount of diagnostic data by summing the size of the data identification information and the size of the diagnostic data.

[0059] If the diagnosis request information includes multiple data identification information and multiple diagnostic data, the control unit 120 may also calculate the sizes of all data identification information and all diagnostic data included in the diagnosis request information and sum these sizes to calculate the diagnostic data amount.

[0060] For example, assume the diagnostic request includes the battery pack voltage and current as two pieces of data identification information, and includes 2 [V] and 5 [mA] as two pieces of diagnostic data. In this case, the control unit 120 can calculate the size of the two pieces of data identification information as 4 bytes using the formula "2 bytes × 2" and the size of the two pieces of diagnostic data as 2 bytes using the formula "1 byte × 2". Furthermore, the control unit 120 can calculate the amount of diagnostic data as 6 bytes using the formula "4 bytes + 2 bytes".

[0061] Furthermore, the control unit 120 may be configured to select a packet structure corresponding to the calculated amount of diagnosis data from among a plurality of packet structures, and generate a communication packet including the diagnosis request information based on the selected packet structure.

[0062] Specifically, the control unit 120 may select any one of a plurality of packet structures based on the calculated amount of diagnostic data. Furthermore, the control unit 120 may generate a communication packet including diagnostic request information based on the selected packet structure. That is, the communication packet generated by the control unit 120 may include both at least one piece of data identification information externally input by the input unit 110 and at least one piece of diagnostic data.

[0063] The communication unit 130 may be configured to output the communication packet generated by the control unit 120 to an external diagnostic device as diagnostic information for diagnosing a target.

[0064] Specifically, the communication unit 130 may be connected to the control unit 120. Furthermore, the control unit 120 may output the generated communication packet to the diagnostic device via the communication unit 130. In this case, the communication packet output via the communication unit 130 may be diagnostic information for the diagnostic device. The diagnostic device may then receive the diagnostic information from the communication unit 130 and perform a corresponding diagnosis based on the received diagnostic information.

[0065] According to an embodiment of the present disclosure, the diagnostic information generating device 100 can select a packet structure suitable for the size of the diagnostic request information from multiple packet structures and generate diagnostic information using the selected packet structure. That is, the diagnostic information generating device 100 can quickly and efficiently transmit the diagnostic request information to the external diagnostic device.

[0066] For example, referring to the ISO standard (ISO 14229) for the UDS (Unified Diagnostic Service) for vehicle ECUs, in a 0x2E service, one communication packet can include one data identification item (e.g., DID) and one piece of diagnostic data corresponding thereto (e.g., the value of the DID). That is, according to the 0x2E service of ISO 14229, even when multiple data identification items and multiple pieces of diagnostic data corresponding thereto need to be transmitted, only one data identification item and one piece of diagnostic data can be included in one communication packet. Therefore, when the diagnostic information generating device 100 is transmitting multiple communication packets separately and the diagnostic apparatus is extracting the data required for diagnosis from each of the multiple received communication packets, a considerable time delay may occur.

[0067] The diagnostic information generating apparatus 100 according to an embodiment of the present disclosure generates a communication packet based on a packet structure most suitable for the amount of diagnostic data to solve problems that may be caused when using the 0x2E service of ISO 14229, and thus has the advantage of efficiently transmitting diagnostic information to a diagnostic device.

[0068] Therefore, according to an embodiment of the present disclosure, a series of processes of transmitting diagnostic information, receiving diagnostic information by a diagnostic device, and extracting information required for diagnosis from the received diagnostic information by the diagnostic device can be performed more quickly, thereby effectively saving the total time required to diagnose the diagnostic target.

[0069] At the same time, the control unit 120 provided to the diagnostic information generating device 100 according to an embodiment of the present disclosure may selectively include a processor, an application-specific integrated circuit (ASIC), other chipsets, logic circuits, registers, communication modems, data processing devices, etc. known in the art to execute the various control logics executed in the present disclosure. In addition, when the control logic is implemented in software, the control unit 120 can be implemented as a set of program modules. In this case, the program modules can be stored in a memory and executed by the control unit 120. The memory can be located inside or outside the control unit 120 and can be connected to the control unit 120 by various well-known means.

[0070] The control unit 120 may be configured to calculate a packet size required for the communication packet based on the calculated amount of diagnostic data.

[0071] For example, the control unit 120 may calculate the total packet size of the communication packets including the diagnostic request information. Here, the communication packets may include not only the diagnostic request information but also the packet identification information that must be included in the communication packets. That is, the control unit 120 may calculate the total packet size of the communication packets that may be generated including the diagnostic request information.

[0072] In addition, the control unit 120 may be configured to select any one of a first packet structure including one message packet and a second packet structure including one message packet and at least one data packet based on the calculated packet size.

[0073] Figure 2 Schematically shows an exemplary configuration of message packets. Figure 3 is a diagram schematically showing another exemplary configuration of message grouping.

[0074] Reference Figure 2 and Figure 3 , the message packet may be configured to include: a packet size area including information about a packet size, an identification information area including identification information about a diagnosis request, and a diagnosis information area including diagnosis request information.

[0075] Specifically, the packet size area may include a value for the packet size of the communication packet. Preferably, the packet size may be expressed in bytes. For example, when the total packet size of the communication packet is 10 bytes, the value 10 may be included in the packet size area. That is, the packet size area may include a data length code (DLC) for the communication packet.

[0076] In addition, refer to Figure 2 and Figure 3 , depending on the total packet size of the communication packet, 1 byte or 2 bytes may be allocated to the packet size area.

[0077] For example, a packet size area of ​​1 byte size and a diagnostic information area of ​​6 bytes size may be allocated according to Figure 2 At the same time, the 2-byte packet size area and the 5-byte diagnostic information area can be allocated according to Figure 3 message grouping.

[0078] The identification information area may include identification information to indicate that the corresponding communication packet is diagnostic information for a diagnostic target. For example, the identification information area may include a value for 0x2E to indicate that the diagnostic information to be transmitted is a 0x2E service according to the ISO 14229 standard.

[0079] In addition, the diagnosis information area may include diagnosis request information. That is, the diagnosis information area may include data identification items and diagnosis data.

[0080] Figure 4 is a diagram schematically illustrating one embodiment of a communication packet generated by the diagnosis information generating apparatus 100 according to an embodiment of the present disclosure.

[0081] Specifically, Figure 4 Schematically shows a communication packet including a message packet, in which 1 byte is allocated to the packet size area, 1 byte is allocated to the identification information area, and 6 bytes are allocated to the diagnostic information area. That is, Figure 4 The communication packet of the embodiment may correspond to a first packet structure including only message packets.

[0082] exist Figure 4 In an embodiment, the packet size value may be recorded in the packet size area. For example, the packet size recorded in the packet size area may be 7 bytes. In addition, a value for identification information may be recorded in the identification information area. For example, the identification information recorded in the identification information area may be 0x2E. In addition, values ​​for data identification information and diagnostic data may be recorded in the diagnostic information area.

[0083] Figure 5 is a diagram schematically showing an exemplary configuration of a data packet.

[0084] Reference Figure 5 , the data packet can be configured to include a sequence information region containing sequence information and a diagnostic information region.

[0085] The sequence information area may include sequence information used for flow control of data packets.

[0086] Reference Figure 2 and Figure 5 Unlike message packets, data packets can include a sequence information area in place of the packet size area and identification information area. Specifically, when the amount of diagnostic data exceeds the size that can be accommodated in a single message packet, data packets can be generated in a complementary manner. Furthermore, the sequence information area can include sequence information between one or more data packets.

[0087] For example, it is assumed that a communication packet including one message packet and two data packets is generated by the control unit 120. In this case, each of the two data packets may include sequence information among the three data packets.

[0088] Specifically, the control unit 120 may record the diagnostic request information in the message packet. If the diagnostic data amount of the diagnostic request information exceeds the size that the message packet can accommodate, the control unit 120 may record a portion of the diagnostic request information in the diagnostic information area of ​​the message packet. In addition, the control unit 120 may record the remaining diagnostic request information in the first data packet. Here, too, if the diagnostic data amount of the remaining diagnostic request information exceeds the size that the first data packet can accommodate, the control unit 120 may record a portion of the remaining diagnostic request information in the diagnostic information area of ​​the first data packet. Then, the control unit 120 may record the remaining diagnostic request information in the diagnostic information area of ​​the second data packet.

[0089] That is, the plurality of data packets may have a sequence according to the order in which the control unit 120 records the diagnosis request information. Therefore, the control unit 120 may allocate a sequence information area capable of recording such sequence information to the data packets, so that a diagnostic apparatus receiving the plurality of data packets can accurately extract the diagnosis request information from the plurality of packets based on the sequence information.

[0090] Figure 6 is a diagram schematically showing another embodiment of a communication packet generated by the diagnosis information generating apparatus 100 according to an embodiment of the present disclosure.

[0091] Specifically, Figure 6 Schematically shows a communication packet including a message packet and a plurality of data packets. In the message packet, 2 bytes are allocated to the packet size area, 1 byte is allocated to the identification information area, and 6 bytes are allocated to the diagnostic information area. In the plurality of data packets, 1 byte is allocated to the sequence information area, and 7 bytes are allocated to the diagnostic information area. That is, Figure 6 The communication packet of an embodiment of the present invention may correspond to a second packet structure including a message packet and at least one data packet.

[0092] exist Figure 6 In an embodiment, the first data packet may include first sequence information, the second data packet may include second sequence information, and the third data packet may include third sequence information.

[0093] although Figure 6 An embodiment is shown in which three data packets are included in the communication packet generated by the control unit 120 , but it should be noted that the number of data packets that may be included in the communication packet may be reduced or increased according to the amount of diagnostic data.

[0094] When the second packet structure is selected, the control unit 120 may be configured to first output the message packet through the communication unit 130 and then output the data packet.

[0095] exist Figure 6 In an embodiment, control unit 120 may select the second packet structure as the packet structure for generating a communication packet based on the amount of diagnostic data in the diagnostic request information received from input unit 110. Alternatively, control unit 120 may generate a communication packet including one message packet and three data packets. Thereafter, control unit 120 may first output the message packet through communication unit 130, and then output the three data packets.

[0096] For example, in Figure 6 In the embodiment of the present invention, the packet size included in the packet size area of ​​the message packet may be 32 bytes. In addition, the identification information included in the identification information area of ​​the message packet may be 0x2E.

[0097] That is, since the packet size of the communication packet and the identification information of the communication packet may be included only in the message packet, the control unit 120 may first output the message packet and then output the data packet through the communication unit 130 .

[0098] For example, in Figure 6 In the embodiment, control unit 120 first outputs the multiple data packets included in the communication packet through communication unit 130, and then outputs the message packet. In this case, there is a problem in that the diagnostic device cannot verify whether the communication packet has been fully received before receiving the message packet and checking the packet size and identification information. In other words, because the data packet only includes sequence information, data identification information, and diagnostic data, the diagnostic device cannot determine whether the communication packet has been fully received before checking the packet size and identification information included in the message packet.

[0099] Therefore, when the second packet structure is selected based on the diagnosis data amount of the diagnosis request information, the control unit 120 may output at least one data packet after first outputting the message packet through the communication unit 130 .

[0100] Preferably, when a plurality of data packets are generated, the control unit 120 may be configured to sequentially output the plurality of generated data packets based on the sequence information through the communication unit 130 .

[0101] Specifically, each of the plurality of data packets may include sequence information. Therefore, even if the plurality of data packets are transmitted to the diagnostic apparatus in a random order, the diagnostic apparatus may perform flow control on the plurality of data packets by checking the sequence information included in each of the plurality of data packets.

[0102] However, when a plurality of data packets are generated, the control unit 120 may control the communication unit 130 to sequentially output the plurality of data packets according to the sequence information, so that the diagnosis by the diagnosis apparatus may be performed faster.

[0103] For example, in Figure 6 In an embodiment, the control unit 120 may generate a message packet, a first data packet, a second data packet, and a third data packet. Furthermore, the control unit 120 may first output the message packet to the diagnostic device using the communication unit 130. Thereafter, the control unit 120 may output the plurality of data packets to the diagnostic device using the communication unit 130 in the order of the first data packet, the second data packet, and the third data packet.

[0104] When the diagnostic request information received from the input unit 110 includes multiple data identification information and multiple diagnostic data, the control unit 120 can be configured so that the diagnostic request information includes data identification information corresponding to at least a portion of the diagnostic information area of ​​the message group and the diagnostic information area of ​​the data group, and at least one classification information for classifying the diagnostic data.

[0105] Specifically, the diagnostic request information received from the external device by input unit 110 may include multiple data identification information and diagnostic data corresponding to each data identification information. That is, the diagnostic request information may include multiple pairs of data identification information and corresponding diagnostic data. Therefore, control unit 120 may record at least one classification information for classifying the corresponding data identification information and diagnostic data that may be included in the diagnostic request information in the diagnostic information area of ​​the message packet and / or a portion of the diagnostic information area of ​​the data packet.

[0106] For example, in Figure 6 In an embodiment, the first data identification information may be recorded in the 4-5 byte area of ​​the message packet, and the first diagnostic data may be recorded in the 6-7 byte area of ​​the message packet. Here, the first diagnostic data may be data that can be represented as 2 bytes. Thereafter, the 8-byte area of ​​the message packet may include classification information for classifying the first diagnostic data and the second data identification information.

[0107] In addition, the first sequence information can be recorded in the 1-byte area of ​​the first data packet, and the second data identification information can be recorded in the 2-3 byte area. That is, the first diagnostic data and the second data identification information can be classified based on the classification information recorded in the 8-byte area of ​​the message packet. The second diagnostic data can be recorded in the 4-5 byte area of ​​the first data packet, and the classification information for classifying the second diagnostic data and the third data identification information can be recorded in the 6-byte area. In addition, the third data identification information can be recorded in the 7-8 byte area of ​​the first data packet.

[0108] In addition, the second sequence information can be recorded in a 1-byte area of ​​the second data packet, and the third diagnostic data can be recorded in a 2-4 byte area. Here, the third diagnostic data can be a value that can be represented as 3 bytes. Classification information for classifying the third diagnostic data and the fourth data identification information can be recorded in a 5-byte area of ​​the second data packet. In addition, the fourth data identification information can be recorded in a 6-7 byte area of ​​the second data packet, and a portion of the fourth diagnostic data can be recorded in an 8-byte area.

[0109] In addition, the third sequence information can be recorded in a 1-byte area of ​​the third data packet, and a portion of the fourth diagnostic data can be recorded in a 2-byte area. Classification information for the fourth diagnostic data and the fifth data identification information can be recorded in a 3-byte area of ​​the third data packet. In addition, the fifth data identification information can be recorded in a 4-5 byte area of ​​the third data packet, and the fifth diagnostic data can be recorded in a 6-8 byte area. Here, the fifth diagnostic data can be a value that can be represented as 3 bytes.

[0110] If the classification information is not included in the message packet and / or the data packet, there is the following problem: a portion of the fourth diagnostic data recorded in the 8 bytes of the second data packet and the remaining portion of the fourth diagnostic data recorded in the 2-byte area of ​​the third data packet may be mistakenly identified by the diagnostic device as independent and separate data.

[0111] Meanwhile, according to an embodiment of the present disclosure, the diagnostic information area of ​​the message packet and / or the data packet may include classification information for classifying the Nth diagnostic data and the N+1th data identification information. Figure 6 In the embodiment, the diagnostic apparatus can easily recognize the fourth diagnostic data separately recorded in the second data packet and the third data packet as one data.

[0112] Therefore, the diagnostic information generating device 100 according to an embodiment of the present disclosure can prevent the diagnostic device from erroneously identifying the diagnostic data in advance by recording the classification information in the message packet and / or data packet. Due to this, the expected diagnostic processing can be accurately performed through the diagnostic request information received from the outside.

[0113] The control unit 120 may be configured to compare the calculated group size with a preset reference value. In addition, the control unit 120 may be configured to select any one of the first grouping structure and the second grouping structure according to the comparison result.

[0114] Specifically, the control unit 120 may first calculate the diagnostic data amount of the diagnostic request information received from the input unit 110. In addition, the control unit 120 may calculate the total packet size of the communication packet based on the calculated diagnostic data amount.

[0115] For example, in Figure 4 and Figure 6 In the embodiment of the present invention, the packet size included in the packet size area of ​​the message packet may be 1 byte or 2 bytes depending on the amount of diagnostic data to be included in the communication packet. Therefore, the control unit 120 may first calculate the amount of diagnostic data of the diagnostic request information, and then calculate the size of the communication packet including the diagnostic request information in consideration of the calculated amount of diagnostic data.

[0116] In addition, the preset reference value may be a reference value for determining whether the diagnosis request information received from the outside by the input unit 110 can be transmitted through one message packet. Figure 4 and 6 In the embodiment, the preset reference value may be 8 bytes.

[0117] Preferably, the control unit 120 may be configured to select the first grouping structure when the calculated group size is equal to or smaller than a preset reference value.

[0118] Specifically, if the total packet size of the communication packet calculated based on the diagnostic data volume of the diagnostic request information is less than or equal to a preset reference value, the control unit 120 may determine that the diagnostic request information can be recorded in one message packet. Therefore, the control unit 120 may select a first packet structure and generate a communication packet according to the first packet structure.

[0119] For example, Figure 4 In an embodiment, the control unit 120 may record both the data identification information and the diagnostic data included in the diagnosis request information in one message packet.

[0120] In contrast, the control unit 120 may be configured to select the second packet structure when the calculated packet size exceeds a preset reference value.

[0121] Specifically, when the total packet size of the communication packets calculated based on the amount of diagnostic data in the diagnostic request information exceeds a preset reference value, control unit 120 may determine that the diagnostic request information cannot be recorded in a single message packet. In other words, control unit 120 may determine that one message packet and at least one data packet are required to record all the diagnostic request information. Therefore, control unit 120 may select a second packet structure and generate communication packets based on the second packet structure.

[0122] For example, Figure 6In the embodiment, the control unit 120 may record the first to fifth data identification information and the first to fifth diagnostic data included in the diagnosis request information in one message packet and three data packets.

[0123] Figure 7 is a diagram schematically illustrating a method for generating diagnosis information according to another embodiment of the present disclosure.

[0124] Preferably, each step of the diagnosis information generating method according to another embodiment of the present disclosure can be performed by the diagnosis information generating device 100 according to the embodiment of the present disclosure. However, hereinafter, for the convenience of explanation, the contents overlapping with the previously described contents will be briefly described.

[0125] Reference Figure 7 The diagnostic information generating method may include a diagnostic request information inputting step, a diagnostic data amount calculating step, a packet structure selecting step, a communication packet generating step, and a diagnostic information outputting step.

[0126] The diagnosis request information input step is a step of receiving diagnosis request information including data identification information of at least one of a plurality of diagnosis items for a diagnosis target and diagnosis data corresponding to the data identification information, and may be performed by the input unit 110 .

[0127] For example, the input unit 110 may receive diagnosis request information including data identification information and diagnosis data from the outside. In addition, the diagnosis request information may include a plurality of data identification information and a plurality of diagnosis data.

[0128] The diagnosis data amount calculation step is a step of calculating the diagnosis data amount for the data identification information and the diagnosis data included in the diagnosis request information, and may be performed by the control unit 120 .

[0129] For example, the data identification information can be set to a fixed size of 2 bytes. Meanwhile, the diagnostic data can be set to a size of 1 byte or larger. That is, the diagnostic data can have different sizes depending on the number of bits and the decimal representation of the value.

[0130] If the control unit 120 calculates the amount of diagnostic data based solely on the data identification information and the amount of diagnostic data included in the diagnostic request information, the actual amount of diagnostic data in the diagnostic request information and the calculated amount of diagnostic data may differ. Therefore, the control unit 120 may calculate the amount of diagnostic data for the diagnostic request information by directly considering the amount of data identification information and the size of the data representing the diagnostic data.

[0131] The grouping structure selection step is a step of selecting a grouping structure corresponding to the calculated amount of diagnosis data among a plurality of grouping structures, and may be performed by the control unit 120 .

[0132] Specifically, the control unit 120 may calculate the total packet size of the communication packet when including the diagnostic request information based on the calculated diagnostic data volume. In addition, the control unit 120 may select either the first packet structure or the second packet structure based on a result of comparing the calculated packet size with a preset reference value.

[0133] The communication packet generating step is a step of generating a communication packet including the diagnosis request information according to the selected packet structure, and may be performed by the control unit 120 .

[0134] For example, when the control unit 120 selects the first packet structure, the control unit 120 may generate a communication packet including one message packet. Here, the message packet may include a packet size area, an identification information area, and a diagnostic information area.

[0135] As another example, when the control unit 120 selects the second packet structure, the control unit 120 may generate a communication packet including one message packet and at least one data packet. Here, the data packet may include a sequence information area and a diagnostic information area.

[0136] The diagnostic information output step is a step of outputting a communication packet to an external diagnostic device as diagnostic information for a diagnostic target, and may be performed by the communication unit 130 .

[0137] Specifically, the control unit 120 may control the communication unit 130 to output the generated communication packet to the diagnosis device.

[0138] The diagnostic information generating method according to another embodiment of the present disclosure has an advantage of efficiently transmitting diagnostic information to a diagnostic apparatus by using a packet structure most suitable for the size of the diagnostic information, that is, the packet size of a communication packet.

[0139] Figure 8 is a diagram schematically illustrating a diagnosis system 10 including a diagnosis information generating apparatus 100 according to an embodiment of the present disclosure. Hereinafter, for convenience of description, it is noted that contents overlapping with previously described contents will be briefly described.

[0140] Reference Figure 8 , the diagnostic system 10 may include a diagnostic information generating device 100 and a diagnostic apparatus 200 .

[0141] The diagnostic apparatus 200 may be configured to receive diagnostic information from the diagnostic information generating device 100 .

[0142] Specifically, the diagnostic information generating device 100 and the diagnostic apparatus 200 may be communicatively connected via a communication bus. Specifically, the diagnostic information generating device 100 and the diagnostic apparatus 200 may be connected to each other via a communication bus that allows CAN communication.

[0143] For example, in Figure 8 In the embodiment of the present invention, the diagnostic apparatus 200 may receive diagnostic information from the diagnostic information generating device 100. Specifically, the diagnostic apparatus 200 may receive the diagnostic information output to the communication bus through the communication unit 130 of the diagnostic information generating device 100.

[0144] The diagnostic apparatus 200 may be configured to extract diagnostic request information from the received diagnostic information.

[0145] Specifically, the diagnostic apparatus 200 may first check the packet size included in the message packet from the received diagnostic information. If the packet size is equal to or less than a preset reference value, the diagnostic apparatus 200 may only extract the diagnostic request information included in the message packet. If the packet size exceeds the preset reference value, the diagnostic apparatus 200 may extract both the diagnostic request information included in the data packet and the message packet.

[0146] For example, when compared with Figure 4 When the diagnostic information corresponding to the communication packet of the embodiment is transmitted to the diagnostic device 200, the diagnostic device 200 can extract the data identification information and the diagnostic data included in the diagnostic information area of ​​the message packet. Specifically, the diagnostic device 200 can extract the data identification information recorded in the 3-4 byte area of ​​the communication packet and extract the diagnostic data recorded in the 5-7 byte area of ​​the communication packet.

[0147] As another example, when compared with Figure 6 When the diagnostic information corresponding to the communication packet of the embodiment is transmitted to the diagnostic device 200, the diagnostic device 200 may extract the first data identification information and the first diagnostic data included in the diagnostic information area of ​​the message packet. In addition, the diagnostic device 200 may extract the second data identification information, the second diagnostic data, and the third data identification information included in the diagnostic information area of ​​the first data packet. Furthermore, the diagnostic device 200 may extract the third diagnostic data, the fourth data identification information, and a portion of the fourth diagnostic data included in the diagnostic information area of ​​the second data packet. Finally, the diagnostic device 200 may extract the remaining portion of the fourth diagnostic data, the fifth data identification information, and the fifth diagnostic data included in the diagnostic information area of ​​the third data packet.

[0148] In the process of extracting the plurality of data identification information and the plurality of diagnostic data included in the communication packet, the diagnostic apparatus 200 can accurately classify the Nth diagnostic data and the N+1th data identification information by using the classification information. For example, the diagnostic apparatus 200 can construct the fourth diagnostic data by combining a portion of the fourth diagnostic data extracted from the diagnostic information area of ​​the second data packet with the remaining portion of the fourth diagnostic data extracted from the diagnostic information area of ​​the third data packet.

[0149] The diagnostic device 200 may be configured to determine at least one of a battery pack and an electronic control unit (ECU) as a diagnostic target according to the extracted diagnostic request information.

[0150] As described above, the data identification information included in the communication packet may correspond to multiple diagnostic items for the diagnostic target. Therefore, the diagnostic apparatus 200 may accurately determine the diagnostic target whose state should be diagnosed based on the currently received diagnostic information based on the extracted data identification information.

[0151] For example, the diagnostic targets may include a battery pack and an electronic control unit. Here, a battery pack may be a single-cell assembly including at least one battery cell. Specifically, a battery cell refers to a physically separable, independent cell including a negative terminal and a positive terminal. For example, a pouch-type lithium polymer cell may be considered a battery cell. Furthermore, a battery pack may include a battery module in which two or more battery cells are connected in series and / or in parallel.

[0152] In addition, the electronic control device includes an ACU (airbag control unit), a BCM (body control module), an ECU (engine control unit), a PCM (powertrain control module), a TCU (transmission control unit), an ABS (anti-lock braking system), an ESC (electronic stability control), an HPCU (hybrid control unit), a BMS (battery management system), and an MCU (motor control unit). However, since the diagnostic system 10 according to the present disclosure is not limited to a system applicable only to electric vehicles, any electronic control device including a configurable item and whose state can be diagnosed by the diagnostic device 200 can be selected as a diagnostic target of the diagnostic system 10 according to the present disclosure.

[0153] Furthermore, the diagnostic apparatus 200 may be configured to diagnose the state of the diagnostic target according to the extracted diagnostic request information.

[0154] Specifically, the diagnostic apparatus 200 may be configured to extract data identification information and diagnostic data from the diagnostic request information.

[0155] In addition, the diagnostic apparatus 200 may be configured to apply the value of an item corresponding to the data identification information among a plurality of diagnostic items of the diagnostic target as the diagnostic data.

[0156] That is, the diagnostic apparatus 200 may convert the state of the diagnostic target into a state for diagnosis by applying the diagnostic data to the value of the item corresponding to the data identification information among the plurality of diagnostic items of the diagnostic target.

[0157] For example, if the diagnostic data corresponding to the data identification information is a defect value of a corresponding diagnostic item among multiple diagnostic items of the diagnostic target, the diagnostic apparatus 200 may forcibly generate a defect for the diagnostic target based on the extracted diagnostic data. That is, the diagnostic apparatus 200 may temporarily change the state of the diagnostic target to a defect state.

[0158] As another example, when the diagnosis data corresponding to the data identification information is a value for simple simulation, the diagnosis apparatus 200 may temporarily convert the state of the diagnosis target into a state for simulation based on the extracted diagnosis data.

[0159] In addition, the diagnostic apparatus 200 may be configured to diagnose the state of the diagnostic target to which the diagnostic data is applied. Specifically, the diagnostic apparatus 200 may diagnose the state of the temporarily switched diagnostic target based on the diagnostic information.

[0160] Finally, the diagnostic apparatus 200 may be configured to transmit the diagnostic result to the diagnostic information generating device 100 .

[0161] Specifically, the diagnostic apparatus 200 may diagnose the state of the diagnostic target based on the diagnostic information received from the diagnostic information generating device 100 , and transmit the diagnostic result to the diagnostic information generating device 100 .

[0162] For example, the diagnosis result transmitted by the diagnosis device 200 to the diagnosis information generating apparatus 100 may include a first diagnosis result indicating that no defect is found or a second diagnosis result indicating that a defect is found.

[0163] The diagnosis information generating apparatus 100 may receive a diagnosis result from the diagnosis device 200 and provide the received diagnosis result to the user, thereby terminating the diagnosis of the diagnosis target based on the diagnosis request information received through the input unit 110 .

[0164] The embodiments of the present disclosure described above can be implemented not only by devices and methods, but also by programs that implement functions corresponding to the configurations of the embodiments of the present disclosure or recording media on which the programs are recorded. Based on the above description of the embodiments, those skilled in the art can easily implement the programs or recording media.

[0165] The present disclosure has been described in detail. However, it should be understood that the detailed description and specific examples, while indicating preferred embodiments of the present disclosure, are given by way of illustration only, as various changes and modifications within the scope of the present disclosure will become apparent to those skilled in the art from this detailed description.

[0166] In addition, without departing from the technical aspects of the present disclosure, those skilled in the art may make many substitutions, modifications and changes to the present disclosure described above, and the present disclosure is not limited to the above-mentioned embodiments and drawings, and each embodiment may be selectively combined in part or in whole to allow various modifications.

[0167] (Reference symbol)

[0168] 10: Diagnostic System

[0169] 100: Diagnostic information generating device

[0170] 110: Input unit

[0171] 120: Control unit

[0172] 130: Communication unit

[0173] 200: Diagnostic device

Claims

1. A diagnostic information generating device, comprising: an input unit configured to receive diagnosis request information including data identification information of at least one of a plurality of diagnosis items for a diagnosis target and diagnosis data corresponding to the data identification information; a control unit configured to receive the diagnosis request information from the input unit, calculate a diagnostic data amount for the data identification information and the diagnostic data included in the diagnosis request information, select a group structure corresponding to the calculated diagnostic data amount from among a plurality of group structures, and generate a communication packet including the diagnosis request information based on the selected group structure; as well as a communication unit configured to output the communication packet generated by the control unit to an external diagnostic device as diagnostic information for the diagnostic target, wherein the control unit is configured to calculate a packet size required for the communication packet based on the calculated amount of diagnostic data, and select, based on the calculated packet size, either a first packet structure including one message packet and a second packet structure including one message packet and at least one data packet; wherein the message packet is configured to include a packet size area having information about the packet size, an identification information area having identification information about the diagnosis request, and a diagnosis information area having the diagnosis request information, and The data packet is configured to include a sequence information area having sequence information and the diagnosis information area.

2. The diagnostic information generating device according to claim 1, in, When the diagnostic request information received from the input unit includes multiple data identification information and multiple diagnostic data, the control unit is configured so that at least one classification information for classifying the data identification information and the diagnostic data corresponding to each other is included in at least a portion of the diagnostic information area of ​​the message group and the diagnostic information area of ​​the data group.

3. The diagnostic information generating device according to claim 1, in, When the second packet structure is selected, the control unit is configured to output the message packet first and then the data packet through the communication unit.

4. The diagnostic information generating device according to claim 3, in, When a plurality of data packets are generated, the control unit is configured to sequentially output the plurality of generated data packets through the communication unit based on the sequence information.

5. The diagnostic information generating device according to claim 1, in, The control unit is configured to compare the calculated packet size with a preset reference value, and select any one of the first packet structure and the second packet structure according to a comparison result.

6. The diagnostic information generating device according to claim 5, in, The control unit is configured to: When the calculated group size is equal to or smaller than the preset reference value, selecting the first group structure, and When the calculated group size exceeds the preset reference value, the second group structure is selected.

7. A method for generating diagnostic information, comprising: a diagnosis request information input step of receiving diagnosis request information, the diagnosis request information including data identification information of at least one of a plurality of diagnosis items for a diagnosis target and diagnosis data corresponding to the data identification information; a diagnostic data amount calculation step of calculating a diagnostic data amount for the data identification information and the diagnostic data included in the diagnostic request information; a group structure selecting step of selecting a group structure corresponding to the calculated amount of diagnosis data from among a plurality of group structures; a communication packet generating step of generating a communication packet including the diagnosis request information based on the selected packet structure; as well as a diagnostic information outputting step of outputting the communication packet to an external diagnostic device as diagnostic information for the diagnostic target, The packet structure selection step further includes calculating a packet size required for the communication packet based on the calculated amount of diagnostic data, and selecting, based on the calculated packet size, either a first packet structure including one message packet or a second packet structure including one message packet and at least one data packet. wherein the message packet is configured to include a packet size area having information about the packet size, an identification information area having identification information about the diagnosis request, and a diagnosis information area having the diagnosis request information, and The data packet is configured to include a sequence information area having sequence information and the diagnosis information area.

8. A diagnostic system comprising: The diagnostic information generating device according to any one of claims 1 to 6; as well as a diagnostic device configured to receive the diagnostic information from the diagnostic information generating device, extract the diagnostic request information from the received diagnostic information, determine at least one of a battery pack and an electronic control device as a diagnostic target based on the extracted diagnostic request information, diagnose a state of the diagnostic target based on the extracted diagnostic request information, and transmit a diagnostic result to the diagnostic information generating device.

9. The diagnostic system according to claim 8, in, The diagnostic device is configured to extract the data identification information and the diagnostic data from the diagnostic request information, apply a value of an item corresponding to the data identification information among the plurality of diagnostic items of the diagnostic target as the diagnostic data, and diagnose a state of the diagnostic target to which the diagnostic data is applied.

Citation Information

Patent Citations

  • Method for CAN Communication with Improvement of Transmission Speed through Data Volume Extention

    KR101573637B1

  • Pellet manufacturing equipment using waste plastic bottle

    KR1020200085462A

  • On-vehicle information-collecting system and data collecting method in on-vehicle information-collecting device

    JP2009286295A

  • Diagnostic system and method for mobile object

    JP2018146542A

  • Vehicle inspection device and vehicle inspection method

    US20190221057A1