Learning model monitoring device and operating method therefor
The learning model monitoring device evaluates local and global feature importance and causal relationships to maintain reliable battery condition diagnosis, addressing the limitations of existing models by incorporating Shapley values and cycle classification for enhanced accuracy.
Patent Information
- Application Number
- PCT/KR2023/017752
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-04-28
- Filing Date
- 2023-11-07
- Publication Date
- 2024-10-31
AI Technical Summary
Current machine learning-based condition diagnosis models for batteries primarily focus on global feature importance, which decreases in reliability when battery data characteristics change, necessitating a system that provides both global and local explanations to maintain accuracy.
A learning model monitoring device and method that evaluates local and global importance of features for each battery cycle using Shapley values and causal relationships between factors, enabling reliable diagnosis by extracting feature values from time series data and classifying cycles based on charging and discharging states.
The system enhances reliability by providing both global and local explanations, confirming causal relationships that cannot be identified through feature importance alone, ensuring accurate battery condition diagnosis even with changing data characteristics.
Smart Images

Figure KR2023017752_31102024_PF_FP_ABST
Abstract
Description
Learning model monitoring device and its operation method
[0001] Cross-citation with related applications
[0002] This invention claims the benefit of priority from Korean Patent Application No. 10-2023-0056575, filed on April 28, 2023, and all contents of the disclosure in that Korean Patent Application are incorporated herein by reference.
[0003] Technology field
[0004] The embodiments disclosed in this document relate to a learning model monitoring device and an operating method thereof.
[0005] Recently, research and development on secondary batteries has been actively conducted. Here, secondary batteries are rechargeable and include both conventional Ni / Cd and Ni / MH batteries, as well as recent lithium-ion batteries. Among secondary batteries, lithium-ion batteries have the advantage of having a much higher energy density than conventional Ni / Cd and Ni / MH batteries. Furthermore, lithium-ion batteries can be manufactured in a compact and lightweight form, making them suitable for use as power sources for mobile devices. Recently, their use has expanded to include power sources for electric vehicles, attracting attention as a next-generation energy storage medium.
[0006] Machine learning-based condition diagnosis learning models are being used to diagnose the condition of these batteries. Typically, to ensure the explainability of these machine learning-based models, the importance of the input features of the model is assessed to understand its operating principles.
[0007] However, in most cases, methods are used to evaluate the global importance of features for models trained based on battery time-series data. However, this global importance can be unreliable if the characteristics of the battery data change (e.g., if the cause of a battery failure changes). Therefore, to develop a reliable learning model that can understand results even when battery data characteristics change, a machine learning-based learning model monitoring system capable of providing both a global explanation of time-series data and a local explanation of some data is needed.
[0008] Embodiments disclosed in this document can provide a learning model monitoring device and an operating method thereof capable of evaluating the local importance of a feature for a state diagnosis learning model for each battery cycle and evaluating the global importance of the feature based on the evaluated local importance.
[0009] Embodiments disclosed in this document can provide a learning model monitoring device and an operating method thereof capable of evaluating causal relationships between factors of a state diagnosis learning model.
[0010] The technical problems of the embodiments disclosed in this document are not limited to the technical problems mentioned above, and other technical problems not mentioned will be clearly understood by those skilled in the art from the descriptions below.
[0011] A learning model monitoring device according to an embodiment disclosed in the present document may include an acquisition unit that acquires time series data of a battery, an extraction unit that configures the time series data and extracts at least one feature value corresponding to at least one feature for each of a plurality of partial time series data corresponding to different cycles, a learning unit that learns a condition diagnosis model capable of diagnosing a condition of the battery based on the extracted at least one feature value, a first importance evaluation unit that evaluates the local importance of the at least one feature for the learned condition diagnosis model for each of the cycles, and a second importance evaluation unit that evaluates the global importance of the at least one feature for the learned condition diagnosis model based on the local importance.
[0012] In a learning model monitoring device according to an embodiment disclosed in this document, the first importance evaluation unit can calculate a Shapley value of the at least one feature for the learned state diagnosis model, and evaluate the local importance based on the calculated Shapley value.
[0013] In the learning model monitoring device according to one embodiment disclosed in this document, the second importance evaluation unit can evaluate the global importance by averaging a plurality of local importances in the cycles for each of the at least one feature.
[0014] A learning model monitoring device according to an embodiment disclosed in this document further includes a causality evaluation unit that evaluates a causal relationship between factors of the learned condition diagnosis model, wherein the factors may include a condition diagnosis result of the battery and / or at least one feature.
[0015] In a learning model monitoring device according to an embodiment disclosed in this document, the causality evaluation unit can evaluate a causal relationship between the condition diagnosis result and at least one feature among the factors.
[0016] In a learning model monitoring device according to an embodiment disclosed in this document, the causality evaluation unit may further include an analysis unit that evaluates a causal relationship between at least one feature to determine a second feature that is a cause of the first feature having the highest global importance among the at least one feature, and analyzes the relationship between the first feature and the second feature.
[0017] In a learning model monitoring device according to an embodiment disclosed in this document, the time series data may include time series data for at least one of voltage, current, or temperature of the battery.
[0018] A learning model monitoring device according to an embodiment disclosed in this document may further include a preprocessing unit that classifies the cycles in the time series data according to whether the battery is charged or discharged and extracts the plurality of partial time series data.
[0019] A learning model monitoring method according to an embodiment disclosed in the present document may include an operation of acquiring time series data of a battery, an operation of configuring the time series data and extracting at least one feature value corresponding to at least one feature for each of a plurality of partial time series data corresponding to different cycles, an operation of training a condition diagnosis model capable of diagnosing a condition of the battery based on the extracted at least one feature value, an operation of evaluating, for each of the cycles, a local importance of the at least one feature with respect to the trained condition diagnosis model, and an operation of evaluating, based on the local importance, a global importance of the at least one feature with respect to the trained condition diagnosis model.
[0020] In a learning model monitoring method according to an embodiment disclosed in this document, the operation of evaluating the local importance may include an operation of calculating a Shapley value of the at least one feature for the learned state diagnosis model, and an operation of evaluating the local importance based on the calculated Shapley value.
[0021] In a learning model monitoring method according to an embodiment disclosed in this document, the operation of evaluating the global importance may include an operation of evaluating the global importance by averaging a plurality of local importances in the cycles for each of the at least one feature.
[0022] A method for monitoring a learning model according to an embodiment disclosed in this document further includes an operation of evaluating a causal relationship between factors of the learned condition diagnosis model, wherein the factors may include a condition diagnosis result of the battery and / or at least one feature.
[0023] In a learning model monitoring method according to an embodiment disclosed in this document, the operation of evaluating the causal relationship may include an operation of evaluating the causal relationship between the condition diagnosis result and the at least one feature among the factors.
[0024] In a learning model monitoring method according to an embodiment disclosed in this document, the operation of evaluating the causal relationship includes an operation of evaluating the causal relationship between at least one feature and determining a second feature that is a cause of the first feature having the highest global importance among the at least one feature, and the learning model monitoring method may further include an operation of analyzing the relationship between the first feature and the second feature.
[0025] A learning model monitoring method according to an embodiment disclosed in this document may further include an operation of extracting the plurality of partial time series data by classifying the cycles according to whether the battery is charged or discharged from the time series data.
[0026] According to the embodiments disclosed in this document, not only a global description of time series data of a learning model for battery condition diagnosis but also a local description of some data is possible, so that the reliability of the result value of the learning model can be improved even if the battery data characteristics change.
[0027] According to the embodiments disclosed in this document, it is possible to identify causal relationships between factors of a condition diagnosis learning model that cannot be identified by feature importance evaluation alone.
[0028] In addition, various effects may be provided, either directly or indirectly, through this document.
[0029] Figure 1 is a block diagram of a learning model monitoring device according to one embodiment.
[0030] Figure 2 is a block diagram of an evaluation unit in a learning model monitoring device according to one embodiment.
[0031] FIG. 3 is a diagram illustrating an example of extracting multiple partial time series data from time series data of a battery acquired by a learning model monitoring device according to one embodiment.
[0032] FIG. 4 is a diagram illustrating an example in which a learning model monitoring device according to one embodiment extracts feature values for each of a plurality of partial time series data.
[0033] FIG. 5 is a diagram illustrating an example of a learning model monitoring device evaluating the local importance of features for a state diagnosis model for each cycle according to an embodiment.
[0034] Figure 6 is a graph showing local importance and global importance evaluated by a learning model monitoring device according to one embodiment.
[0035] FIG. 7 is a diagram illustrating an example of a learning model monitoring device according to one embodiment evaluating a causal relationship between factors of a state diagnosis model.
[0036] Figure 8 is a flowchart of the operation of a learning model monitoring device according to one embodiment.
[0037] Figure 9 is a flowchart of the operation of a learning model monitoring device according to one embodiment.
[0038] Figure 10 is an operational flowchart of a learning model monitoring device according to one embodiment.
[0039] Figure 11 is an operational flow diagram of a learning model monitoring device according to one embodiment.
[0040] Hereinafter, various embodiments of the present invention will be described with reference to the attached drawings. However, this is not intended to limit the present invention to specific embodiments, and it should be understood that the present invention encompasses various modifications, equivalents, and / or alternatives of the embodiments.
[0041] The various embodiments and terminology used in this document are not intended to limit the technical features described in this document to specific embodiments, but should be understood to encompass various modifications, equivalents, or alternatives of the embodiments. In connection with the description of the drawings, similar reference numerals may be used to refer to similar or related components. The singular form of a noun corresponding to an item may include one or more of the items, unless the context clearly indicates otherwise.
[0042] In this document, the phrases "A or B", "at least one of A and B", "at least one of A or B", "A, B, or C", "at least one of A, B, and C", and "at least one of A, B, or C" can each include any one of the items listed together in that phrase, or all possible combinations thereof. Terms such as "first", "second", "first", "second", "A", "B", "(a)", or "(b)" may be used merely to distinguish the corresponding element from other corresponding elements, and do not limit the corresponding elements in any other respect (e.g., importance or order) unless specifically stated otherwise.
[0043] In this document, whenever a component (e.g., a first component) is referred to as being “connected,” “coupled,” or “connected,” with or without the terms “functionally” or “communicatively,” or “coupled” or “connected,” it means that the component can be connected to the other component directly (e.g., wired), wirelessly, or via a third component.
[0044] According to various embodiments, each component (e.g., a module or a program) of the above-described components may include one or more entities, and some of the entities may be separated and placed in other components. According to various embodiments, one or more components or operations of the aforementioned components may be omitted, or one or more other components or operations may be added. Alternatively or additionally, a plurality of components (e.g., a module or a program) may be integrated into a single component. In such a case, the integrated component may perform one or more functions of each of the plurality of components identically or similarly to those performed by the corresponding component among the plurality of components prior to the integration. According to various embodiments, the operations performed by a module, program, or other component may be executed sequentially, in parallel, iteratively, or heuristically, or one or more of the operations may be executed in a different order, omitted, or one or more other operations may be added.
[0045] Below, the configurations of the data processing device are described with reference to FIGS. 1 and 2.
[0046] Fig. 1 is a block diagram of a learning model monitoring device according to one embodiment. Fig. 2 is a block diagram of an evaluation unit within the learning model monitoring device according to one embodiment.
[0047] Referring to FIG. 1, the learning model monitoring device (101) can be connected to an electronic device (103) and a user terminal (105) via wires and / or wirelessly.
[0048] According to one embodiment, the connection (104) between the learning model monitoring device (101) and the electronic device (103) may be a communication connection via a wired and / or wireless network. In one embodiment, the wired network may be based on a local area network (LAN) communication or a power line communication. In one embodiment, the wireless network may be based on a short-range communication network (e.g., Bluetooth, wireless fidelity (WiFi), or infrared data association (IrDA)) or a wide-range communication network (cellular network, 4G network, 5G network).
[0049] According to another embodiment, the connection (104) between the learning model monitoring device (101) and the electronic device (103) may be a connection via a device-to-device communication method (e.g., a bus, a general purpose input and output (GPIO), a serial peripheral interface (SPI), or a mobile industry processor interface (MIPI)).
[0050] According to one embodiment, the connection (106) between the learning model monitoring device (101) and the user terminal (105) may be a communication connection via a wired and / or wireless network.
[0051] According to one embodiment, the electronic device (103) may be a mobile device (e.g., a mobile phone, a laptop computer, a smart phone, a smart pad), an electric vehicle (e.g., an electric vehicle (EV), a hybrid EV (HEV), a plug-in HEV (PHEV), a fuel cell EV (FCEV)), an energy storage system (ESS), or a battery swapping system (BSS).
[0052] According to one embodiment, the electronic device (103) may include one or more battery units (111, 113, 115). Each of the one or more battery units (111, 113, 115) may be a battery cell, a battery module, a battery pack, or a battery rack.
[0053] According to one embodiment, the user terminal (105) may be a mobile device (e.g., a mobile phone, a laptop computer, a smart phone, a smart pad), or a personal computer (PC).
[0054] According to one embodiment, the learning model monitoring device (101) may include a communication circuit (120), a sensor (130), a memory (140), and a processor (150). According to another embodiment, the learning model monitoring device (101) illustrated in FIG. 1 may further include at least one component (e.g., a display, an input device, or an output device) other than the components illustrated in FIG. 1.
[0055] According to one embodiment, the communication circuit (120) can establish a wired communication channel and / or a wireless communication channel between the learning model monitoring device (101) and the electronic device (103) and / or the user terminal (105), and transmit and receive data with the electronic device (103) and / or the user terminal (105) through the established communication channel.
[0056] According to one embodiment, the sensor (130) may obtain values related to the status of the battery units (111, 113, 115) of the electronic device (103). In one embodiment, the values related to the status may represent one or more values for voltage, current, resistance, state of charge (SOC), state of health (SOH), or temperature of the battery units (111, 113, 115), or a combination thereof. Hereinafter, the values related to the status may be referred to as 'status values'.
[0057] According to one embodiment, the memory (140) may include volatile memory and / or non-volatile memory.
[0058] According to one embodiment, the memory (140) may store data used by at least one component (e.g., processor (150)) of the learning model monitoring device (101). For example, the data may include software (or instructions related thereto), input data, or output data. In one embodiment, the instructions, when executed by the processor (150), may cause the battery abnormality diagnosis device (101) to perform operations defined by the instructions.
[0059] According to one embodiment, the memory (140) may include one or more software (e.g., an acquisition unit (141), a preprocessing unit (142), an extraction unit (143), a learning unit (144), an evaluation unit (145), and an analysis unit (146)).
[0060] Referring to FIG. 2, the evaluation unit (145) may include a first importance evaluation unit (145-1), a second importance evaluation unit (145-2), and / or a causality evaluation unit (145-3).
[0061] Referring again to FIG. 1, the processor (150) may include a central processing unit, an application processor, a graphics processing unit, a neural processing unit (NPU), an image signal processor, a sensor hub processor, or a communication processor.
[0062] According to one embodiment, the processor (150) may execute software (e.g., acquisition unit (141), preprocessing unit (142), extraction unit (143), learning unit (144), evaluation unit (145), and analysis unit (146)) to control at least one other component (e.g., hardware or software component) of the learning model monitoring device (101) connected to the processor (150) and perform various data processing or operations.
[0063] Hereinafter, with reference to FIGS. 3, 4, 5, 6, and 7, a method for monitoring a state diagnosis model capable of diagnosing the state of a battery (111, 113, or 115) by a learning model monitoring device (101) through an acquisition unit (141), a preprocessing unit (142), an extraction unit (143), a learning unit (144), an evaluation unit (145), and an analysis unit (146) will be described.
[0064] FIG. 3 is a diagram for explaining an example of extracting a plurality of partial time series data from the time series data of a battery acquired by a learning model monitoring device according to an embodiment. FIG. 4 is a diagram for explaining an example of extracting a feature value for each of a plurality of partial time series data by a learning model monitoring device according to an embodiment. FIG. 5 is a diagram for explaining an example of evaluating the local importance of a feature for a condition diagnosis model for each cycle by a learning model monitoring device according to an embodiment. FIG. 6 is a diagram showing the local importance and global importance evaluated by a learning model monitoring device according to an embodiment. FIG. 7 is a diagram for explaining an example of evaluating the causal relationship between factors of a condition diagnosis model by a learning model monitoring device according to an embodiment.
[0065] Referring to FIG. 3, graphs (310, 320) representing time series data of a battery (111, 113, or 115) can be seen.
[0066] According to one embodiment, the acquisition unit (141) may acquire time series data of the battery (111, 113, or 115) as in the graph (310). Here, the time series data may include time series data for at least one of voltage, current, or temperature of the battery (111, 113, or 115). Accordingly, the y-axis of the graphs (310, 320) may represent the state value (voltage, current, or temperature) of the battery (111, 113, or 115).
[0067] According to one embodiment, the preprocessing unit (142) can extract multiple partial time series data from the time series data. Here, the time series data can be composed of the multiple partial time series data. In one embodiment, the preprocessing unit (142) extracts cycles (C1, C2, C3, C4, ..., and C) from the time series data according to whether the battery (111, 113, or 115) is charged or discharged, as in the graph (320). n )(where n is a natural number) can be classified. Here, cycles (C1, C2, C3, C4, …, and C n ) may include different charging periods, discharging periods, and rest periods. The preprocessing unit (142) may include cycles (C1, C2, C3, C4, …, and C n ) can extract multiple partial time series data corresponding to each. For example, the preprocessing unit (142) can extract first partial time series data indicating the battery status value in the first cycle (C1), second partial time series data indicating the battery status value in the second cycle (C2), third partial time series data indicating the battery status value in the third cycle (C3), fourth partial time series data indicating the battery status value in the fourth cycle (C4), and n-th cycle (C n ) can extract the nth partial time series data representing the battery status value.
[0068] According to one embodiment, the extraction unit (143) may configure the time series data and extract at least one feature value for each of the plurality of partial time series data corresponding to different cycles. According to one embodiment, the extraction unit (143) may set at least one feature related to the battery status value (e.g., an average value, a maximum value, a minimum value, a slope, a standard deviation, a standard score, etc. of the battery status values). The extraction unit (143) may extract at least one feature value corresponding to the at least one feature for each of the plurality of partial time series data.
[0069] Referring to FIG. 4, the extraction unit (143) has a plurality of features (X1, X2, X3, X4, …, X p ) can be set. According to one embodiment, the extraction unit (143) can set a plurality of cycles (C1, C2, C3, C4, …, and C n ) for each of the multiple partial time series data corresponding to multiple features (X1, X2, X3, X4, …, X p ) can extract multiple feature values corresponding to the first cycle (C1). For example, the extraction unit (143) extracts multiple features (X1, X2, X3, X4, …, X) based on the first partial time series data corresponding to the first cycle (C1) such as the data set (400). p ) corresponding to multiple feature values (F 1-1 , F 2-1 , F 3-1 , F 4-1 , … , F p-1 ) can be extracted.
[0070] For example, the first feature (X1) is the mean value of the battery status values, the second feature (X2) is the maximum value of the battery status values, the third feature (X3) is the minimum value of the battery status values, the fourth feature (X4) is the slope of the battery status values, and the p-th feature (X p) may be the standard deviation of the battery status values. In this case, the extraction unit (143) extracts the average value of the battery status values in the first cycle (C1) based on the first partial time series data as the first-1 feature value (F 1-1 ), the maximum value of the battery status values in the first cycle (C1) is the second-1 characteristic value (F 2-1 ), the minimum value of the battery status values in the first cycle (C1) is the 3-1 characteristic value (F 3-1 ), the slope of the battery status values in the first cycle (C1) is the 4-1 feature value (F 4-1 ), the standard deviation of the battery status values in the first cycle (C1) is the p-1 feature value (F p-1 ) can be extracted. The extraction unit (143) can extract multiple cycles (C1, C2, C3, C4, …, and C) in the same manner as above. n ) in multiple partial time series data corresponding to multiple feature values (F 1-1 , F 2-1 , F 3-1 , F 4-1 , … , F p-n ) can be extracted.
[0071] According to one embodiment, the learning unit (144) may train a condition diagnosis model capable of diagnosing the condition of the battery (111, 113, or 115) based on at least one feature value extracted by the extraction unit (143). Here, the condition diagnosis model may be a machine learning-based learning model that outputs a condition diagnosis result of the battery (111, 113, or 115) based on input factors related to the condition value of the battery (111, 113, or 115).
[0072] According to one embodiment, the learning unit (144) may train a state diagnosis model based on the state diagnosis results of the battery (111, 113, or 115) for each cycle in addition to the at least one feature value. For example, the learning unit (144) may train a state diagnosis model based on the data set (400) of FIG. 4. The state diagnosis results (Y1, Y2, Y3, Y4, …, Y) of the battery (111, 113, or 115) for each cycle shown in the data set (400) n ) may be results pre-diagnosed by the electronic device (103) or may be results pre-diagnosed by the learning model monitoring device (101) based on a plurality of partial time series data. According to one embodiment, the condition diagnosis model may learn the relationship between a plurality of feature values and diagnosis results for each cycle. For example, the condition diagnosis model may learn a plurality of feature values (F) in the first cycle (C1). 1-1 , F 2-1 , F 3-1 , F 4-1 , … , F p-1 ) and the first diagnostic result (Y1) can be learned.
[0073] According to one embodiment, the first importance evaluation unit (145-1) can evaluate the local importance of at least one feature for the condition diagnosis model learned by the learning unit (144) for each cycle.
[0074] Referring to FIG. 5, the first importance evaluation unit (145-1) includes a plurality of cycles (C1, C2, C3, C4, …, and C) such as a data set (500). n ) for each, multiple features (X1, X2, X3, X4, …, and X) for the state diagnosis model p ) of local importance (I 1-1 , I 2-1 , I 3-1 , I 4-1 , … , and I p-n) can be evaluated. Here, each local importance is assigned to a specific cycle (C1, C2, C3, C4, …, or C n ) within a specific feature (X1, X2, X3, X4, …, or X p ) may mean the impact on the diagnostic performance of this condition diagnosis model.
[0075] According to one embodiment, the first importance evaluation unit (145-1) is configured to determine whether the condition diagnosis model is a plurality of feature values (F) in the first cycle (C1). 1-1 , F 2-1 , F 3-1 , F 4-1 , … , F p-1 ) and the first diagnosis result (Y1) or the state diagnosis model that learned the relationship can be analyzed. Based on the analysis, the first importance evaluation unit (145-1) can analyze a plurality of features (X1, X2, X3, X4, …, X) in the first cycle (C1). p ) each local importance (I 1-1 , I 2-1 , I 3-1 , I 4-1 , … , I p-1 ) can be evaluated. For example, the first importance evaluation unit (145-1) may evaluate multiple features (X1, X2, X3, X4, …, X) for the condition diagnosis model based on the above analysis. p ) can produce Shapley values for each feature. The first importance evaluation unit (145-1) can produce multiple features (X1, X2, X3, X4, …, X) based on the produced Shapley values. p ) each local importance (I 1-1 , I 2-1 , I 3-1 , I 4-1 , … , I p-1 ) can be evaluated. At this time, the first importance evaluation unit (145-1) evaluates the local importance (I) of the calculated Sappli values. 1-1 , I 2-1 , I3-1 , I 4-1 , … , I p-1 ) can also be determined. The first importance evaluation unit (145-1) may be determined by multiple cycles (C1, C2, C3, C4, …, and C) in the same manner as above. n ) for each, multiple features (X1, X2, X3, X4, …, and X) for the state diagnosis model p ) of local importance (I 1-1 , I 2-1 , I 3-1 , I 4-1 , … , and I p-n ) can be evaluated.
[0076] According to one embodiment, the second importance evaluation unit (145-2) can evaluate the global importance of at least one feature for the condition diagnosis model learned by the learning unit (144) based on the local importance evaluated by the first importance evaluation unit (145-1).
[0077] According to one embodiment, the second importance evaluation unit (145-2) includes a plurality of features (X1, X2, X3, X4, …, and X p ) for each cycle (C1, C2, C3, C4, …, and C n ) Multiple local importances (I 1-1 , I 2-1 , I 3-1 , I 4-1 , … , I p-n ) for the condition diagnosis model by averaging multiple features (X1, X2, X3, X4, …, and X p ) can be evaluated for global importance. Here, global importance is the overall cycle (C1, C2, C3, C4, …, and C n ) in a specific feature (X1, X2, X3, X4, …, or X p ) may mean the impact on the diagnostic performance of this condition diagnosis model.
[0078] For example, the second importance evaluation unit (145-2) has multiple cycles (C1, C2, C3, C4, …, and C n ) of multiple local importances (I) of the first feature (X1) in 1-1 , I 1-2 , I 1-3 , I 1-4 , … , I 1-n ) can be evaluated as the global importance of the first feature (X1). As another example, the second importance evaluation unit (145-2) can evaluate a plurality of cycles (C1, C2, C3, C4, …, and C n ) multiple local importances of the second feature (X2) (I 2-1 , I 2-2 , I 2-3 , I 2-4 , … , I 2-n ) can be evaluated as the global importance of the second feature (X2). The second importance evaluation unit (145-2) evaluates multiple features (X1, X2, X3, X4, …, and X) in the same manner as above. p ) can be used to evaluate the global importance of the system.
[0079] Referring to FIG. 6, the learning model monitoring device (101) can display the local importance trend for each feature evaluated by the first importance evaluation unit (145-1) as a graph (610). In addition, the learning model monitoring device (101) can display the global importance for each feature evaluated by the second importance evaluation unit (145-2) as a graph (620). For example, the learning model monitoring device (101) can display the graphs (610 and / or 620) through at least one component (e.g., a display or output device) included in the learning model monitoring device (101) or through an external device.
[0080] According to one embodiment, the causality evaluation unit (145-3) can evaluate the causal relationship between factors of the condition diagnosis model learned by the learning unit (144). Here, the factors can include a condition diagnosis result of the battery (111, 113, or 115) and / or at least one feature. For example, the condition diagnosis result is a condition diagnosis result (Y) included in the data set (400 (or, 500)) of FIG. 4 (or FIG. 5), and at least one feature is a plurality of features (X1, X2, X3, X4, ..., and X) included in the data set (400 (or, 500)) of FIG. 4 (or FIG. 5). p ) may be.
[0081] According to one embodiment, the causality evaluation unit (145-3) may evaluate causal relationships between factors using a causal discovery algorithm. Here, the causal discovery algorithm may include various algorithms (e.g., a contraint-based causal discovery algorithm, a scored-based causal discovery algorithm, a continuous optimization method, etc.) that derive causal relationships between learning model factors.
[0082] Referring to FIG. 7, the causality evaluation unit (145-3) can evaluate the causal relationship between factors (X1, X2, X3, X4, X5, and Y) of the state diagnosis model learned by the learning unit (144).
[0083] According to one embodiment, the causality evaluation unit (145-3) may evaluate the causal relationship between the condition diagnosis result and at least one feature among the factors. For example, as illustrated in FIG. 7, the causality evaluation unit (145-3) may evaluate the first feature (X1), the second feature (X2), and the third feature (X3) as factors causing the condition diagnosis result (Y).
[0084] According to one embodiment, the causality evaluation unit (145-3) can evaluate a causal relationship between at least one feature. For example, as illustrated in FIG. 7, the causality evaluation unit (145-3) can evaluate the second feature (X2) and the third feature (X3) as factors causing the first feature (X1), the fourth feature (X4) as a factor causing the second feature (X2), the fifth feature (X5) as a factor causing the third feature (X3), and the fifth feature (X5) and the sixth feature (X6) as factors causing the first feature (X4).
[0085] According to one embodiment, the learning model monitoring device (101) can display the causal relationship evaluated by the causality evaluation unit (145-3) through at least one component (e.g., a display or output device) included in the learning model monitoring device (101) or through an external device.
[0086] According to one embodiment, the analysis unit (146) may analyze the relationship between features (e.g., second feature (X2) and / or third feature (X3)) that cause a feature (e.g., first feature (X1)) having the highest global importance among at least one feature, based on the causal relationship between at least one feature evaluated by the causality evaluation unit (145-3). For example, the analysis unit (146) may quantitatively analyze the change trend of the first feature (X1) according to the numerical change of the second feature (X2) and / or the third feature (X3).
[0087] According to one embodiment, the learning model monitoring device (101) can display the analysis results of the analysis unit (146) through at least one component (e.g., a display or output device) included in the learning model monitoring device (101) or through an external device.
[0088] Fig. 8 is a flowchart illustrating the operation of a learning model monitoring device according to an embodiment. Fig. 8 may be an explanation of the operation of the learning model monitoring device (101) of Fig. 1, and may be explained using the configuration of Fig. 1 (e.g., the learning model monitoring device (101)).
[0089] The embodiment illustrated in FIG. 8 is only one embodiment, and the order of steps according to various embodiments of the present invention may be different from that illustrated in FIG. 8, and some of the steps illustrated in FIG. 8 may be omitted, the order between steps may be changed, or steps may be merged.
[0090] Referring to FIG. 8, in operation 805, the learning model monitoring device (101) may obtain time series data of a battery (111, 113, or 115). Here, the time series data may include time series data for at least one of voltage, current, or temperature of the battery (111, 113, or 115).
[0091] In operation 810, the learning model monitoring device (101) may extract at least one feature value for each of a plurality of partial time series data. Here, the plurality of partial time series data may constitute time series data and may correspond to different cycles. According to one embodiment, the learning model monitoring device (101) may set at least one feature related to a battery status value (e.g., an average value, a maximum value, a minimum value, a slope, a standard deviation, a standard score, etc. of the battery status values). The learning model monitoring device (101) may extract at least one feature value corresponding to the at least one feature for each of the plurality of partial time series data.
[0092] In operation 815, the learning model monitoring device (101) may train a condition diagnosis model capable of diagnosing the condition of the battery (111, 113, or 115) based on at least one feature value extracted in operation 810. Here, the condition diagnosis model may be a machine learning-based learning model that outputs a condition diagnosis result of the battery (111, 113, or 115) based on input factors related to the condition value of the battery (111, 113, or 115).
[0093] According to one embodiment, the learning model monitoring device (101) can train a condition diagnosis model based on the condition diagnosis result of the battery (111, 113, or 115) for each cycle in addition to the at least one feature value. The condition diagnosis result of the battery (111, 113, or 115) for each cycle may be results diagnosed in advance by the electronic device (103) or results diagnosed in advance by the learning model monitoring device (101) based on a plurality of partial time series data. According to one embodiment, the condition diagnosis model can learn a relationship between at least one feature value and the diagnosis result for each cycle.
[0094] In operation 820, the learning model monitoring device (101) can evaluate the local importance of at least one feature for the condition diagnosis model learned in operation 815 for each cycle. Here, each local importance can mean the influence of a specific feature on the diagnosis performance of the condition diagnosis model within a specific cycle.
[0095] According to one embodiment, the learning model monitoring device (101) may analyze a process in which a condition diagnosis model learns a relationship between at least one feature value in a specific cycle and a battery diagnosis result in the specific cycle, or a condition diagnosis model that has learned the relationship. Based on the analysis, the learning model monitoring device (101) may evaluate the local importance of each of the at least one feature in the specific cycle. For example, the learning model monitoring device (101) may calculate Shapley values of each of the at least one feature for the condition diagnosis model based on the analysis. The learning model monitoring device (101) may evaluate the local importance of each of the at least one feature based on the calculated Shapley values. At this time, the learning model monitoring device (101) may also determine the calculated Shapley values as the local importance.
[0096] In operation 825, the learning model monitoring device (101) may evaluate the global importance of at least one feature for the condition diagnosis model learned in operation 815 based on the local importance evaluated in operation 820. Here, the global importance may mean the influence of a specific feature on the diagnosis performance of the condition diagnosis model throughout the entire cycle.
[0097] According to one embodiment, the learning model monitoring device (101) can evaluate the global importance of each of at least one feature for the condition diagnosis model by averaging at least one local importance in a plurality of cycles for each of at least one feature.
[0098] Fig. 9 is a flowchart illustrating the operation of a learning model monitoring device according to an embodiment. Fig. 9 may be an explanation of the operation of the learning model monitoring device (101) of Fig. 1, and may be explained using the configuration of Fig. 1 (e.g., the learning model monitoring device (101)).
[0099] The embodiment illustrated in FIG. 9 is only one embodiment, and the order of steps according to various embodiments of the present invention may be different from that illustrated in FIG. 9, and some of the steps illustrated in FIG. 9 may be omitted, the order between steps may be changed, or steps may be merged.
[0100] Referring to FIG. 9, in operation 905, the learning model monitoring device (101) may obtain time series data of a battery (111, 113, or 115). Here, the time series data may include time series data for at least one of voltage, current, or temperature of the battery (111, 113, or 115).
[0101] In operation 910, the learning model monitoring device (101) can extract a plurality of partial time series data from the time series data. Here, the time series data may be composed of the plurality of partial time series data. In one embodiment, the learning model monitoring device (101) can classify cycles from the time series data based on whether the battery (111, 113, or 115) is charged or discharged. Here, the cycles may include different charging periods, discharging periods, and rest periods. The learning model monitoring device (101) can extract a plurality of partial time series data corresponding to each cycle.
[0102] In operation 915, the learning model monitoring device (101) can extract at least one feature value for each of the plurality of partial time series data extracted in operation 910. According to one embodiment, the learning model monitoring device (101) can set at least one feature related to the battery status value (e.g., an average value, a maximum value, a minimum value, a slope, a standard deviation, a standard score, etc. of the battery status values). The learning model monitoring device (101) can extract at least one feature value corresponding to the at least one feature for each of the plurality of partial time series data.
[0103] In operation 920, the learning model monitoring device (101) can train a condition diagnosis model capable of diagnosing the condition of the battery (111, 113, or 115) based on at least one feature value extracted in operation 810. Here, the condition diagnosis model may be a machine learning-based learning model that outputs a condition diagnosis result of the battery (111, 113, or 115) based on input factors related to the condition value of the battery (111, 113, or 115).
[0104] According to one embodiment, the learning model monitoring device (101) can train a condition diagnosis model based on the condition diagnosis result of the battery (111, 113, or 115) for each cycle in addition to the at least one feature value. The condition diagnosis result of the battery (111, 113, or 115) for each cycle may be results diagnosed in advance by the electronic device (103) or results diagnosed in advance by the learning model monitoring device (101) based on a plurality of partial time series data. According to one embodiment, the condition diagnosis model can learn a relationship between at least one feature value and the diagnosis result for each cycle.
[0105] In operation 925, the learning model monitoring device (101) can evaluate the local importance of at least one feature for the condition diagnosis model learned in operation 920 for each cycle. Here, each local importance can mean the influence of a specific feature on the diagnosis performance of the condition diagnosis model within a specific cycle.
[0106] According to one embodiment, the learning model monitoring device (101) may analyze a process in which a condition diagnosis model learns a relationship between at least one feature value in a specific cycle and a battery diagnosis result in the specific cycle, or a condition diagnosis model that has learned the relationship. Based on the analysis, the learning model monitoring device (101) may evaluate the local importance of each of the at least one feature in the specific cycle. For example, the learning model monitoring device (101) may calculate Shapley values of each of the at least one feature for the condition diagnosis model based on the analysis. The learning model monitoring device (101) may evaluate the local importance of each of the at least one feature based on the calculated Shapley values. At this time, the learning model monitoring device (101) may also determine the calculated Shapley values as the local importance.
[0107] In operation 930, the learning model monitoring device (101) may evaluate the global importance of at least one feature for the condition diagnosis model learned in operation 920 based on the local importance evaluated in operation 925. Here, the global importance may mean the influence of a specific feature on the diagnosis performance of the condition diagnosis model throughout the entire cycle.
[0108] According to one embodiment, the learning model monitoring device (101) can evaluate the global importance of each of at least one feature for the condition diagnosis model by averaging at least one local importance in a plurality of cycles for each of at least one feature.
[0109] Fig. 10 is a flowchart illustrating the operation of a learning model monitoring device according to an embodiment. Fig. 10 may be an explanation of the operation of the learning model monitoring device (101) of Fig. 1, and may be explained using the configuration of Fig. 1 (e.g., the learning model monitoring device (101)).
[0110] The embodiment illustrated in FIG. 10 is only one embodiment, and the order of steps according to various embodiments of the present invention may be different from that illustrated in FIG. 10, and some of the steps illustrated in FIG. 10 may be omitted, the order between steps may be changed, or steps may be merged.
[0111] Referring to FIG. 10, in operation 1005, the learning model monitoring device (101) may obtain time series data of a battery (111, 113, or 115). Here, the time series data may include time series data for at least one of voltage, current, or temperature of the battery (111, 113, or 115).
[0112] In operation 1010, the learning model monitoring device (101) can extract at least one feature value for each of a plurality of partial time series data. Here, the plurality of partial time series data constitute time series data and can correspond to different cycles. According to one embodiment, the learning model monitoring device (101) can set at least one feature related to a battery status value (e.g., an average value, a maximum value, a minimum value, a slope, a standard deviation, a standard score, etc. of the battery status values). The learning model monitoring device (101) can extract at least one feature value corresponding to the at least one feature for each of the plurality of partial time series data.
[0113] In operation 1015, the learning model monitoring device (101) can train a condition diagnosis model capable of diagnosing the condition of the battery (111, 113, or 115) based on at least one feature value extracted in operation 1010. Here, the condition diagnosis model may be a machine learning-based learning model that outputs a condition diagnosis result of the battery (111, 113, or 115) based on input factors related to the condition value of the battery (111, 113, or 115).
[0114] According to one embodiment, the learning model monitoring device (101) can train a condition diagnosis model based on the condition diagnosis result of the battery (111, 113, or 115) for each cycle in addition to the at least one feature value. The condition diagnosis result of the battery (111, 113, or 115) for each cycle may be results diagnosed in advance by the electronic device (103) or results diagnosed in advance by the learning model monitoring device (101) based on a plurality of partial time series data. According to one embodiment, the condition diagnosis model can learn a relationship between at least one feature value and the diagnosis result for each cycle.
[0115] In operation 1020, the learning model monitoring device (101) can evaluate the local importance of at least one feature for the condition diagnosis model learned in operation 1015 for each cycle. Here, each local importance can mean the influence of a specific feature on the diagnosis performance of the condition diagnosis model within a specific cycle.
[0116] According to one embodiment, the learning model monitoring device (101) may analyze a process in which a condition diagnosis model learns a relationship between at least one feature value in a specific cycle and a battery diagnosis result in the specific cycle, or a condition diagnosis model that has learned the relationship. Based on the analysis, the learning model monitoring device (101) may evaluate the local importance of each of the at least one feature in the specific cycle. For example, the learning model monitoring device (101) may calculate Shapley values of each of the at least one feature for the condition diagnosis model based on the analysis. The learning model monitoring device (101) may evaluate the local importance of each of the at least one feature based on the calculated Shapley values. At this time, the learning model monitoring device (101) may also determine the calculated Shapley values as the local importance.
[0117] In operation 1025, the learning model monitoring device (101) may evaluate the global importance of at least one feature for the condition diagnosis model learned in operation 1015 based on the local importance evaluated in operation 1020. Here, the global importance may mean the influence of a specific feature on the diagnosis performance of the condition diagnosis model throughout the entire cycle.
[0118] According to one embodiment, the learning model monitoring device (101) can evaluate the global importance of each of at least one feature for the condition diagnosis model by averaging at least one local importance in a plurality of cycles for each of at least one feature.
[0119] In operation 1030, the learning model monitoring device (101) can evaluate the causal relationship between factors of the condition diagnosis model learned in operation 1015. Here, the factors can include a condition diagnosis result of the battery (111, 113, or 115) and / or at least one feature.
[0120] According to one embodiment, the learning model monitoring device (101) can evaluate causal relationships between factors using a causal discovery algorithm. Here, the causal discovery algorithm can include various algorithms (e.g., a contraint-based causal discovery algorithm, a scored-based causal discovery algorithm, a continuous optimization method, etc.) that derive causal relationships between learning model factors.
[0121] According to one embodiment, the learning model monitoring device (101) can evaluate a causal relationship between a condition diagnosis result and at least one feature among factors. For example, as illustrated in FIG. 7, the learning model monitoring device (101) can evaluate a first feature (X1), a second feature (X2), and a third feature (X3) as factors causing the condition diagnosis result (Y).
[0122] According to one embodiment, the learning model monitoring device (101) can evaluate a causal relationship between at least one feature. For example, as illustrated in FIG. 7, the learning model monitoring device (101) can evaluate the second feature (X2) and the third feature (X3) as factors causing the first feature (X1), the fourth feature (X4) as a factor causing the second feature (X2), the fifth feature (X5) as a factor causing the third feature (X3), and the fifth feature (X5) and the sixth feature (X6) as factors causing the first feature (X4).
[0123] Fig. 11 is a flowchart illustrating the operation of a learning model monitoring device according to an embodiment. Fig. 11 may be an explanation of the operation of the learning model monitoring device (101) of Fig. 1, and may be explained using the configuration of Fig. 1 (e.g., learning model monitoring device (101)).
[0124] The embodiment illustrated in FIG. 11 is only one embodiment, and the order of steps according to various embodiments of the present invention may be different from that illustrated in FIG. 11, and some of the steps illustrated in FIG. 11 may be omitted, the order between steps may be changed, or steps may be merged.
[0125] Referring to FIG. 11, in operation 1105, the learning model monitoring device (101) may determine a second feature that is a cause of a first feature having the highest global importance among at least one feature. The learning model monitoring device (101) may determine the first feature and the second feature based on the global importance evaluation of operation 1025 and the causal relationship evaluation of operation 1030 of FIG. 10.
[0126] In operation 1110, the learning model monitoring device (101) can analyze the relationship between the first feature and the second feature determined in operation 1105. For example, the learning model monitoring device (101) can quantitatively analyze the change trend of the first feature according to the numerical change of the second feature.
[0127] The terms "include," "comprise," or "have" used herein, unless otherwise specifically stated, imply that the corresponding component may be included, and therefore should be interpreted to include other components rather than to exclude other components. All terms, including technical or scientific terms, have the same meaning as commonly understood by a person of ordinary skill in the art to which the embodiments disclosed in this document pertain, unless otherwise defined. Commonly used terms, such as terms defined in dictionaries, should be interpreted to be consistent with their meaning in the context of the relevant technology, and shall not be interpreted in an idealized or overly formal sense, unless explicitly defined in this document.
Claims
1. An acquisition unit that acquires time series data of a battery; An extraction unit that constructs the above time series data and extracts at least one feature value corresponding to at least one feature for each of a plurality of partial time series data corresponding to different cycles; A learning unit that learns a condition diagnosis model capable of diagnosing the condition of the battery based on at least one feature value extracted above; For each of the above cycles, a first importance evaluation unit that evaluates the local importance of at least one feature for the learned condition diagnosis model; and A learning model monitoring device, comprising a second importance evaluation unit that evaluates the global importance of at least one feature for the learned condition diagnosis model based on the local importance.
2. In claim 1, The above first importance evaluation section is, Calculating the Shapley value of at least one feature for the learned condition diagnosis model, A learning model monitoring device that evaluates the local importance based on the above-described computed Sappli value.
3. In claim 1, The second importance evaluation section above is, A learning model monitoring device that evaluates the global importance by averaging a plurality of local importances in the cycles for each of the above at least one feature.
4. In claim 1, Further comprising a causality evaluation unit for evaluating the causal relationship between factors of the above-mentioned learned condition diagnosis model, A learning model monitoring device, wherein the above factors include a result of diagnosis of the state of the battery and / or at least one characteristic.
5. In claim 4, The above causality evaluation unit is a learning model monitoring device that evaluates the causal relationship between the condition diagnosis result and at least one feature among the above factors.
6. In claim 4, The above causality evaluation unit evaluates the causal relationship between the at least one feature and determines the second feature that is the cause of the first feature with the highest global importance among the at least one feature, A learning model monitoring device further comprising an analysis unit that analyzes the relationship between the first feature and the second feature.
7. In claim 1, A learning model monitoring device, wherein the time series data includes time series data for at least one of the voltage, current, or temperature of the battery.
8. In claim 1, A learning model monitoring device further comprising a preprocessing unit that classifies the cycles according to whether the battery is charged or discharged from the time series data and extracts the plurality of partial time series data.
9. Action to acquire time series data of the battery; An operation of configuring the above time series data and extracting at least one feature value corresponding to at least one feature for each of a plurality of partial time series data corresponding to different cycles; An operation of training a condition diagnosis model capable of diagnosing the condition of the battery based on at least one feature value extracted above; For each of the above cycles, an operation of evaluating the local importance of at least one feature for the learned state diagnosis model; and A method for monitoring a learning model, comprising an operation of evaluating the global importance of at least one feature for the learned condition diagnosis model based on the local importance.
10. In claim 9, The operation of evaluating the above local importance is, An operation of calculating a Shapley value of at least one feature for the learned condition diagnosis model, and A learning model monitoring method, comprising an operation of evaluating the local importance based on the calculated Sappli value.
11. In claim 9, A method for monitoring a learning model, wherein the operation of evaluating the global importance includes an operation of evaluating the global importance by averaging a plurality of local importances in the cycles for each of the at least one feature.
12. In claim 9, Further comprising an operation of evaluating the causal relationship between factors of the learned condition diagnosis model, A method for monitoring a learning model, wherein the above factors include a result of diagnosing the status of the battery and / or at least one characteristic.
13. In claim 12, A method for monitoring a learning model, wherein the operation of evaluating the causal relationship includes an operation of evaluating the causal relationship between the condition diagnosis result and at least one feature among the factors.
14. In claim 12, The operation of evaluating the causal relationship includes an operation of evaluating the causal relationship between the at least one feature and determining a second feature that is a cause of the first feature having the highest global importance among the at least one feature. A learning model monitoring method, wherein the learning model monitoring method further includes an operation of analyzing a relationship between the first feature and the second feature.
15. In claim 9, A learning model monitoring method further comprising an operation of extracting the plurality of partial time series data by classifying the cycles according to whether the battery is charged or discharged from the time series data.
Citation Information
Patent Citations
Apparatus for monitoring learning model and operation method thereof
KR1020240159366A
Lithium-ion battery life prediction method, life prediction program, and information processing device
JP2023037027A
Device and apparatus to estimate state of batter pakc including the plurality of battery cells
KR1020160085070A
Favorites management service server to operate a cloud based favorites management service and the operating method thereof
KR1020230124218A
Composition for Anti-inflammation Using an Extract of Zanthoxylum piperitum and Minerals of Desalinized Lave Seawater
KR102892533B1
