Diagnosis system and diagnosis method
The diagnostic system converts time-series data into images using machine learning and Grad-CAM to identify parameters influencing control abnormalities, addressing the lack of transparency and human-defined logic in conventional systems, enabling accurate and transparent diagnosis of control deviations.
Patent Information
- Application Number
- JP2023044995
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Filing Date
- 2023-03-22
- Publication Date
- 2024-10-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
Conventional automatic diagnostic systems for building control require human-defined diagnostic logic and lack transparency in machine learning-based diagnostics, making it difficult to identify the cause of control abnormalities.
A diagnostic system that utilizes a data acquisition unit, diagnostic data creation unit, and learning model to convert time-series data into images, apply machine learning (specifically CNN), and use Grad-CAM for identifying parameters influencing the diagnosis, thereby estimating the cause of control abnormalities.
Enables automatic and transparent diagnosis of control abnormalities by identifying parameters affecting the diagnosis, providing accurate estimation of the cause of deviations from normal operation.
Smart Images

Figure 2024134678000001_ABST
Abstract
Description
[Technical Field]
[0001] The present invention relates to a diagnostic system and a diagnostic method for automatically diagnosing whether a control is operating normally. [Background technology]
[0002] In an automatic control system for a building, a controller controls the operation of facility equipment such as air conditioners, etc. In such a system, an automatic diagnosis is performed to determine whether the control of the facility equipment is operating normally (see Patent Document 1).
[0003] For example, in the technology disclosed in Patent Document 1, a geomagnetic sensor, an acceleration sensor, and a monitoring device are installed in an elevator, and the output information from the geomagnetic sensor and the acceleration sensor is used to diagnose whether the elevator's speed when it reaches the terminal floor is within the normal range.
[0004] In an automatic diagnostic system such as that disclosed in Patent Document 1, whether or not the control is operating normally is diagnosed based on rules set by a human being. For example, in the case of diagnosing indoor temperature control, if the difference between the indoor temperature and the indoor temperature set value is within a specified value, it is determined to be good.
[0005] As described above, conventional automatic diagnostic systems have had the problem that diagnostic logic must be manually designed and incorporated into the system. Another problem is that they cannot determine anything that is not defined in the diagnostic logic. For example, in the case of diagnosing indoor temperature control as described above, it is not possible to determine the reason why the indoor temperature and the indoor temperature set point have deviated. To determine the reason why the indoor temperature and the indoor temperature set point have deviated, logic for determining the reason for the deviation must be incorporated into the system.
[0006] Meanwhile, advances in technology have made it possible to perform machine learning using pairs of time-series data for learning and diagnostic results as training data, and then automatically diagnose whether or not control is operating normally using the trained model. Automatic diagnostic systems that use machine learning eliminate the need for humans to define diagnostic logic. However, when using machine learning, there is a problem in that diagnostic criteria become a black box, making it impossible to show the basis for the diagnosis. [Prior art documents] [Patent documents]
[0007] [Patent Document 1] Japanese Patent Publication No. 2020-29314 Summary of the Invention [Problem to be solved by the invention]
[0008] The present invention has been made to solve the above-mentioned problems, and an object of the present invention is to provide a diagnostic system and a diagnostic method that are capable of estimating the parameter that caused the abnormality when a diagnostic result indicating a control abnormality is obtained. [Means for solving the problem]
[0009] The diagnostic system of the present invention is characterized by comprising a data acquisition unit configured to acquire time series data of parameters related to the control of the diagnostic object; a diagnostic data creation unit configured to create diagnostic data by imaging a set of the time series data of the date and time of the diagnostic object for each certain time range; a diagnostic unit configured to input the diagnostic data into a learning model that models the relationship between the image and the diagnostic result of the control, and obtain the diagnostic result of the control from the learning model; and a diagnostic result analysis unit configured to identify, in the diagnostic data input into the learning model, parts that affected the diagnosis by the diagnostic unit, and to identify the parameters that affected the diagnosis based on the identification results.
[0010] In addition, in one configuration example of the diagnostic system of the present invention, the diagnostic data creation unit normalizes the set of time series data for the date and time of the diagnosis target for each certain time range, arranges the normalized data for each time of the parameter as pixels at corresponding coordinate positions on an image where the parameter type is the horizontal coordinate and the time is the vertical coordinate, and sets the brightness corresponding to the value of the normalized data as the brightness of the pixel, thereby imaging the normalized time series data.
[0011] In one configuration example of the diagnostic system of the present invention, the learning models are created separately for the control of the object to be diagnosed and the control of a parameter related to the control of the object to be diagnosed, and the diagnostic result analysis unit identifies the parameter that affected the most recent diagnosis performed by the diagnostic unit, and when a diagnostic result indicating a control abnormality is obtained in the most recent diagnosis, instructs the diagnostic data creation unit to create diagnostic data for the control of this parameter for the time when the parameter that affected the most recent diagnosis had the strongest influence, the diagnostic data creation unit creates the diagnostic data in accordance with the instructions from the diagnostic result analysis unit, and the diagnostic unit inputs the diagnostic data created by the diagnostic data creation unit in accordance with the instructions of the diagnostic result analysis unit into a learning model for the control of the parameter that affected the most recent diagnosis, obtains a diagnostic result for the control of the parameter from the learning model, and the diagnostic result analysis unit, the diagnostic data creation unit, and the diagnostic unit repeat the processing until a diagnostic result indicating no abnormality in the control of the parameter is obtained.
[0012] Furthermore, one example configuration of the diagnostic system of the present invention is characterized by further comprising a learning data creation unit configured to create learning data by imaging a set of time-series data of parameters at a predetermined date and time for each certain time range and assigning a label indicating the correct control diagnostic result to the created image, and a learning unit configured to create the learning model by machine learning based on the learning data. In addition, in one configuration example of the diagnostic system of the present invention, the learning data creation unit normalizes a set of time series data of parameters at a predetermined date and time for each certain time range, arranges the normalized data of the parameters for each time as pixels at corresponding coordinate positions on an image where the parameter type is the horizontal coordinate and the time is the vertical coordinate, and sets the brightness corresponding to the value of the normalized data as the brightness of the pixel, thereby imaging the normalized time series data. In addition, in one configuration example of the diagnostic system of the present invention, the learning data creation unit is characterized in that it determines whether or not the control operated normally for the certain time range in accordance with a predetermined rule, and assigns the label indicating the determination result to the created image.
[0013] In one configuration example of the diagnostic system of the present invention, the learning model is characterized by being made up of a convolutional neural network. In addition, in one configuration example of the diagnostic system of the present invention, the diagnostic result analysis unit identifies the parts of the diagnostic data that influenced the diagnosis by the diagnostic unit based on the image output obtained by Grad-CAM, and based on this identification result, identifies the parameters that influenced the diagnosis and the time when the parameters had the strongest influence. Furthermore, one example configuration of the diagnostic system of the present invention is characterized in that it further comprises a result output unit configured to output the diagnostic result by the diagnostic unit and the identification result by the diagnostic result analysis unit.
[0014] Furthermore, the diagnostic method of the present invention is characterized by including a first step of acquiring time series data of parameters related to the control of the object to be diagnosed; a second step of creating diagnostic data by imaging a set of the time series data of the date and time of the object to be diagnosed for each certain time range; a third step of inputting the diagnostic data into a learning model that models the relationship between the image and the diagnostic result of the control, and obtaining the diagnostic result of the control from the learning model; and a fourth step of identifying, in the diagnostic data input into the learning model, the parts that affected the diagnosis by the diagnostic unit, and identifying the parameters that affected the diagnosis based on the identification results. [Effects of the Invention]
[0015] According to the present invention, by providing a data acquisition unit, a diagnostic data creation unit, a diagnosis unit, and a diagnosis result analysis unit, it is possible to automatically diagnose whether the control is operating normally using a learning model, and by estimating the parameters that have affected the diagnosis, it is possible to estimate the parameters that caused the abnormality when a diagnosis result indicating an abnormality in the control is obtained.
[0016] Furthermore, in the present invention, the diagnostic result analysis unit identifies the parameter that affected the most recent diagnosis performed by the diagnostic unit, and when a diagnostic result indicating a control abnormality is obtained in the most recent diagnosis, instructs the diagnostic data creation unit to create diagnostic data for the control of this parameter for the time when the parameter that affected the most recent diagnosis had the strongest influence. The diagnostic data creation unit creates the diagnostic data in accordance with the instructions from the diagnostic result analysis unit, and the diagnostic unit inputs the diagnostic data created by the diagnostic data creation unit in accordance with the instructions of the diagnostic result analysis unit into a learning model for control of the parameter that affected the most recent diagnosis, and obtains the diagnostic result of the control of the parameter from the learning model, thereby making it possible to more accurately estimate the parameter that caused the control abnormality.
[0017] Furthermore, in the present invention, a learning model can be created by providing a learning data creation unit and a learning unit. [Brief explanation of the drawings]
[0018] [Figure 1] FIG. 1 is a block diagram showing the configuration of a diagnostic system according to an embodiment of the present invention. [Figure 2] FIG. 2 is a flowchart illustrating the operation of the diagnostic system according to the embodiment of the present invention when creating a learning model. [Figure 3] FIG. 3 is a diagram showing an example of parameters related to room temperature control. [Figure 4] FIG. 4 is a flowchart illustrating the operation of the learning data creation unit of the diagnostic system according to the embodiment of the present invention. [Figure 5] FIG. 5 is a diagram showing an example of time-series data of parameters related to room temperature control. [Figure 6] FIG. 6 is a diagram showing the results of normalizing the time series data of FIG. [Figure 7] FIG. 7 is a diagram showing the results of imaging the time-series data of FIG. [Figure 8] FIG. 8 is a flowchart illustrating the operation of the diagnostic system according to the embodiment of the present invention during control diagnosis. [Figure 9] FIG. 9 is a flowchart illustrating the operation of the diagnostic data creation unit of the diagnostic system according to the embodiment of the present invention. [Figure 10] FIG. 10 is a diagram showing the results obtained by the specifying unit of the diagnostic system according to the embodiment of the present invention. [Figure 11] FIG. 11 is a diagram showing the results obtained by the specifying unit of the diagnostic system according to the embodiment of the present invention. [Figure 12] FIG. 12 is a block diagram showing an example of the configuration of a computer that realizes a diagnostic system according to an embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION
[0019] An embodiment of the present invention will be described below with reference to the drawings. Fig. 1 is a block diagram showing the configuration of a diagnostic system according to an embodiment of the present invention. In this embodiment, air conditioner control will be described as an example.
[0020] The diagnostic system includes a parameter storage unit 1 that stores parameters related to air conditioner control, a data acquisition unit 2 that acquires time-series data of the parameters, a data storage unit 3 that stores the acquired time-series data, a learning data creation unit 4 that creates learning data by imaging a collection of time-series data of the parameters for a predetermined date and time within a certain time range and assigning a label indicating the correct control diagnosis result to the created image, a learning unit 5 that creates a learning model 6 by machine learning based on the learning data, a diagnostic data creation unit 7 that creates diagnostic data by imaging a collection of time-series data of the parameters for the date and time to be diagnosed within a certain time range, a diagnosis unit 8 that inputs the diagnostic data to the learning model 6 and obtains the control diagnosis result from the learning model 6, a diagnosis result analysis unit 9 that identifies parts of the diagnostic data input to the learning model 6 that affected the diagnosis by the diagnosis unit 8 and identifies the parameters that affected the diagnosis based on the identification result, and a result output unit 10 that outputs the diagnosis result by the diagnosis unit 8 and the identification result by the diagnosis result analysis unit 9.
[0021] Figure 2 is a flowchart explaining the operation of the diagnostic system of this embodiment when creating a learning model. First, the system user organizes a correlation diagram of parameters related to the air conditioner control to be diagnosed. For example, in the case of indoor temperature control, the related parameters are as shown in Figure 3. Figure 3 shows that the supply air temperature and the supply air fan inverter output (supply air volume) directly affect the indoor temperature.
[0022] Parameters related to indoor temperature control include, for example, indoor temperature, indoor temperature set value, supply air temperature, supply air temperature set value, supply air fan inverter output, cold water supply temperature which is the temperature of the cold water supplied to the air conditioner, cold / hot water valve opening which adjusts the amount of cold / hot water supplied to the air conditioner, outside air temperature, outside air damper opening, air conditioner status parameter indicating the operating status of the air conditioner, warm-up status parameter indicating the warm-up status of the air conditioner, outside air cooling control parameter indicating whether to use outside air for cooling, and CO2 control permission / prohibition parameter indicating whether to control the indoor CO2 concentration.
[0023] In this way, the names of parameters related to the air conditioner control to be diagnosed, listed by the user, are pre-registered in the parameter storage unit 1. In Fig. 3, the room temperature control is used as an example of the controls included in the air conditioner control, but the parameters related to other controls included in the air conditioner control, such as the supply air temperature control and the room humidity control, are also organized and the names of the parameters are registered in the parameter storage unit 1.
[0024] The data acquisition unit 2 of the diagnostic system acquires time-series data of the parameters registered in the parameter storage unit 1. The time-series data acquired by the data acquisition unit 2 is stored in the data storage unit 3. The data acquisition unit 2 acquires data continuously while the air conditioner to be diagnosed is in operation.
[0025] Next, the learning data creation unit 4 of the diagnostic system creates learning data when creating a learning model (step S100 in FIG. 2). FIG.
[0026] First, the learning data creation unit 4 acquires time-series data of parameters related to indoor temperature control registered in the parameter storage unit 1 for each fixed time range from the data storage unit 3 (step S200 in FIG. 4). For example, if the number of parameters related to indoor temperature control is n, the data acquisition unit 2 acquires data at intervals of 1 minute, and the fixed time range is 30 minutes, then the learning data creation unit 4 will acquire n×30 pieces of data.
[0027] For example, if an example of time series data for 30 minutes from 8:27 to 8:56 is plotted as a graph, it will look like Figure 5. The example in Figure 5 shows some of the parameters related to indoor temperature control. In Figure 5, 500 is the outdoor air temperature, 501 is the outdoor air humidity, 502 is the outdoor air damper opening, 503 is the chilled water valve opening, 504 is the chilled water supply temperature, 505 is the indoor humidity, 506 is the difference between the indoor humidity and the indoor humidity set value, 507 is the difference between the indoor temperature and the indoor temperature set value, and 508 is the supply air temperature.
[0028] Next, the learning data creation unit 4 normalizes the time series data acquired in step S200 for each parameter so that the minimum value is 0 and the maximum value is 1 (step S201 in FIG. 4). t The normalized value x tnew is expressed as follows: x tnew =(x t -x min ) / (x max -x min ) ···(1)
[0029] x max is the predetermined maximum value of parameter x, x min is the predetermined minimum value of the parameter x. For example, in the case of the cold water valve opening, the maximum value x max is 100(%), minimum value x min is 0(%). The learning data creation unit 4 performs the normalization described above for each parameter and for each time. For example, when the time series data shown in FIG. 5 is normalized, the result shown in FIG. 6 is obtained. In FIG. 6, 505 (room humidity) and 506 (difference between room humidity and the room humidity set value) change in the same way, so they overlap. As long as the room humidity set value does not change, the room humidity and the room humidity difference behave in exactly the same way, so when normalized they become the same value.
[0030] Next, the learning data creation unit 4 visualizes the set of time-series data normalized in step S201 (step S202 in FIG. 4). Specifically, the learning data creation unit 4 arranges the normalized data of the parameters for each time as pixels at corresponding coordinate positions on the image, where the parameter type is the horizontal coordinate and the time is the vertical coordinate, and sets the brightness corresponding to the value of the normalized data (0 or 1) as the brightness of the pixel.
[0031] For example, if we visualize Figure 6, which normalizes the time-series data shown in Figure 5, we get Figure 7. In Figure 7, time progresses from top to bottom, and each column represents a parameter. In Figure 7, the parameters shown in Figure 6—500 (outdoor temperature), 501 (outdoor humidity), 502 (outdoor air damper opening), 503 (chilled water valve opening), 504 (chilled water supply temperature), 505 (indoor humidity), 506 (difference between indoor humidity and indoor humidity setpoint), 507 (difference between indoor temperature and indoor temperature setpoint), and 508 (supply air temperature)—are listed in order from left to right. Data values of 0 are drawn in black, and values of 1 are drawn in white. For example, as can be seen in Figure 6, the chilled water valve opening changes from 0 to 1 around 8:30, and we can see that the same change from black to white occurs in Figure 7. Furthermore, the outdoor air damper opening is 0 throughout Figure 6, so it is drawn in black throughout Figure 7.
[0032] Next, the learning data creation unit 4 assigns a label to the image created from the time-series data, indicating whether the control was normal or not at the end time of the time-series data (step S203 in FIG. 4). The label is information indicating the correct answer in machine learning. For example, if the room temperature control is abnormal at 8:56, a label indicating "abnormal" is assigned to the image shown in FIG. 7.
[0033] To assign a label, the user of the diagnostic system diagnoses whether the control is normal or not and inputs the diagnosis result to the learning data creation unit 4. Alternatively, the learning data creation unit 4 may diagnose whether the control is normal or not at the end time of the time-series data based on rules defined by the user.
[0034] For example, in the case of indoor temperature control, a rule that the difference between the indoor temperature and the indoor temperature set value must be within a specified range can be set in advance. If the difference between the indoor temperature and the indoor temperature set value at the end time of the time-series data is within the specified range, the learning data creation unit 4 assigns a label indicating "normal" to the image created in step S202, and if the difference between the indoor temperature and the indoor temperature set value is outside the specified range, it assigns a label indicating "abnormal" to the created image. In this way, labeled images can be created as learning data.
[0035] The learning data creation unit 4 performs the processes of steps S200 to S203 for time-series data of a predetermined past date and time every certain time range (30 minutes in this embodiment). When the creation of learning data for the entire time range of the predetermined past date and time is completed (YES in step S204 in FIG. 4), the processing of the learning data creation unit 4 ends.
[0036] After completing the creation of the learning data, the learning unit 5 of the diagnostic system creates a learning model 6 constructed in software, which models the relationship between the image and the control diagnostic results, based on the learning data (step S101 in Figure 2).
[0037] An example of the learning model 6 is a CNN (Convolutional Neural Network). The learning unit 5 uses images created from time-series data as explanatory variables for the learning model 6, and the control diagnosis results as objective variables for the learning model 6, and performs CNN learning to obtain an appropriate objective variable based on the learning data, which is a set of explanatory variables (images) and objective variables (labels). In this way, a learning model 6 for indoor temperature control can be created using machine learning techniques.
[0038] The learning data creation unit 4 and the learning unit 5 perform the processing of steps S100 and S101 for each of the multiple types of control included in the air conditioner control, for which parameters are registered in the parameter storage unit 1. In this embodiment, the learning data creation unit 4 and the learning unit 5 create a learning model 6 for indoor temperature control, and then create, for example, a learning model 6 for supply air temperature control and a learning model 6 for indoor humidity control.
[0039] When creating a learning model 6 for supply air temperature control, the learning data creation unit 4 acquires time series data of parameters related to supply air temperature control registered in the parameter storage unit 1 from the data storage unit 3, creates an image based on the acquired time series data (steps S200 to S202), and assigns a label to this image indicating whether the supply air temperature control was normal or not at the end time of the time series data (step S203).
[0040] In the case of supply air temperature control, it is sufficient to set a rule in advance that the difference between the supply air temperature and the supply air temperature set value must be within a specified range. If the difference between the supply air temperature and the supply air temperature set value at the end time of the time series data is within the specified range, the learning data creation unit 4 assigns a label indicating "normal" to the created image, and if the difference between the supply air temperature and the supply air temperature set value is outside the specified range, it assigns a label indicating "abnormal" to the created image.
[0041] When creating a learning model 6 for indoor humidity control, the learning data creation unit 4 acquires time series data of parameters related to indoor humidity control registered in the parameter storage unit 1 from the data storage unit 3, creates an image based on the acquired time series data (steps S200 to S202), and assigns a label to this image indicating whether the indoor humidity control was normal or not at the end time of the time series data (step S203).
[0042] In the case of indoor humidity control, it is sufficient to set a rule in advance that the difference between the indoor humidity and the indoor humidity set value must be within a specified range. If the difference between the indoor humidity at the end time of the time-series data and the indoor humidity set value is within the specified range, the learning data creation unit 4 assigns a label indicating "normal" to the created image, and if the difference between the indoor humidity and the indoor humidity set value is outside the specified range, it assigns a label indicating "abnormal" to the created image.
[0043] As in the above, the user may diagnose whether the supply air temperature control and the indoor humidity control are normal or not, and input the diagnosis results to the learning data creation unit 4.
[0044] As in the case of indoor temperature control, the learning unit 5 creates a learning model 6 for supply air temperature control based on the learning data for supply air temperature control, and creates a learning model 6 for indoor humidity control based on the learning data for indoor humidity control (step S101).
[0045] Fig. 8 is a flowchart illustrating the operation of the diagnostic system of this embodiment during control diagnosis. The diagnostic data creation unit 7 of the diagnostic system creates diagnostic data (step S300 in Fig. 8). Fig. 9 is a flowchart illustrating the operation of the diagnostic data creation unit 7.
[0046] First, the diagnostic data creation unit 7 acquires time series data of the date and time of the diagnosis target from the data storage unit 3 every certain time range (30 minutes in this embodiment) among the time series data of parameters related to indoor temperature control registered in the parameter storage unit 1 (step S400 in FIG. 9). The processing of this step S400 is the same as the processing of step S200 of the learning data creation unit 4, except that the date and time of the target to be acquired is different.
[0047] Next, the diagnostic data creating unit 7 normalizes the time series data acquired in step S400 for each parameter and for each time, similar to the process of step S201 by the learning data creating unit 4 (step S401 in FIG. 9).
[0048] Next, the diagnostic data creation unit 7 creates an image of the set of time-series data normalized in step S401 (step S402 in FIG. 9), similar to the process of step S202 by the learning data creation unit 4. In this way, an image serving as diagnostic data can be created.
[0049] The diagnostic data creation unit 7 performs the processes of steps S400 to S402 for the time-series data of the date and time of the diagnosis target for each fixed time range (30 minutes in this embodiment). When the creation of diagnostic data for the entire time range of the date and time of the diagnosis target is completed (YES in step S403 in FIG. 9), the process of the diagnostic data creation unit 7 ends.
[0050] The diagnostic unit 8 of the diagnostic system inputs the diagnostic data (image) created by the diagnostic data creation unit 7 into the learning model 6 for indoor temperature control, and obtains the diagnostic result (normal / abnormal) of the indoor temperature control from the learning model 6 (step S301 in Figure 8).
[0051] The diagnostic result analysis unit 9 of the diagnostic system identifies the parts of the diagnostic data input to the learning model 6 that affected the diagnosis made by the diagnostic unit 8 (step S302 in FIG. 8). One method for identifying these parts is Gradient-weighted Class Activation Mapping (Grad-CAM). Grad-CAM is a method that outputs an image (heat map) in which pixels that formed the basis of the diagnosis in the diagnostic data (image) are emphasized according to their importance, based on the features output from the convolutional layer of the CNN.
[0052] For more information on Grad-CAM, see, for example, the literature "Ramprasaath R. Selvaraju, Michael Cogswell, Abhishek Das, Ramakrishna Vedantam, Devi Parikh, Dhruv Batra, "Grad-CAM: Visual Explanations from Deep Networks via Gradient-based Localization," Cornell University Library, USA, arXiv:1610.02391, 2019, Internet<https: / / arxiv.org / abs / 1610.02391> " is disclosed in
[0053] An example of the results obtained by the diagnosis result analysis unit 9 is shown in Fig. 10. In the heat map shown in Fig. 10, similar to the diagnostic data (image), parameter data for each time point is arranged as pixels at corresponding coordinate positions on an image where the parameter type is the horizontal coordinate and the time is the vertical coordinate, and the color of the pixel is changed according to the importance of the parameter that influenced the diagnosis. In the example of Fig. 10, the following parameters are arranged in order from left to right: 500 (outdoor temperature), 501 (outdoor humidity), 502 (outdoor air damper opening), 503 (chilled water valve opening), 504 (chilled water supply temperature), 505 (indoor humidity), 506 (difference between indoor humidity and indoor humidity set value), 507 (difference between indoor temperature and indoor temperature set value), and 508 (supply air temperature), and the white parts indicate areas that had a strong influence on the diagnosis. For example, it is visually shown that parameters such as the indoor humidity from approximately 8:45 onwards, the difference between the indoor humidity and the indoor humidity set value, the difference between the indoor temperature and the indoor temperature set value, and the supply air temperature have a strong influence on the diagnosis.
[0054] The example in Figure 10 shows the results obtained by the diagnosis result analysis unit 9 in an image, but if the points that had a strong influence on the diagnosis are extracted and plotted on a graph as time-series data, it will look like Figure 11. In the example in Figure 11, the closer the importance value is to 1.0, the stronger the influence on the diagnosis and the higher the importance. In Figure 11, 110 indicates the importance of the difference between the indoor humidity and the indoor humidity set value, and 111 indicates the importance of the supply air temperature. Figure 11 shows that the difference between the indoor humidity and the indoor humidity set value and the supply air temperature around 8:46 have a strong influence on the diagnosis of indoor temperature control. Therefore, it can be inferred that the cause of the abnormality in indoor temperature control is the indoor humidity and supply air temperature.
[0055] If a diagnostic result indicating an abnormality in indoor temperature control is found within the time range to be diagnosed (YES in step S303 in FIG. 8), the diagnostic result analysis unit 9 identifies the parameters that affected the diagnosis during the same time range and the time at which these parameters had the greatest influence, based on the identification results of step S302 for the time range in which the diagnostic result indicating the abnormality was found (step S304 in FIG. 8).
[0056] The diagnostic result analysis unit 9 identifies a parameter whose importance, which indicates the strength of its influence on the diagnosis, is equal to or greater than a predetermined threshold during a time range in which a diagnostic result indicating an abnormality was found as a parameter that influenced the diagnosis, and determines the time when the importance of this parameter became the highest as the time when the parameter had the strongest influence. In the example of Fig. 11, the threshold of importance may be set to, for example, 0.9.
[0057] Then, the diagnostic result analysis unit 9 instructs the diagnostic data creation unit 7 to create diagnostic data for the control of the parameter identified in step S304 for the time when the parameter had the greatest impact on the diagnosis within the time range in which there was a diagnostic result indicating an abnormality in the indoor temperature control (step S305 in FIG. 8). In the example in FIG. 11, the creation of diagnostic data for indoor humidity control at 8:46 and diagnostic data for supply air temperature control at 8:46 is instructed.
[0058] The diagnostic data creation unit 7 creates diagnostic data in accordance with instructions from the diagnostic result analysis unit 9 (step S306 in FIG. 8). The processing flow at this time is the same as that at step S300, so the operation of the diagnostic data creation unit 7 will be described with reference to FIG. 9.
[0059] The diagnostic data creation unit 7 acquires, from the data storage unit 3, the data at the time when the diagnostic data creation is instructed by the diagnostic result analysis unit 9, among the time series data of parameters related to the control for which the diagnostic data creation is instructed by the diagnostic result analysis unit 9 (step S400 in FIG. 9).
[0060] The processing of steps S401 and S402 in Figure 9 is as described above. The diagnostic data creation unit 7 ends the processing when it has finished creating the diagnostic data for the specified time. In this way, diagnostic data for indoor humidity control at 8:46 and diagnostic data for supply air temperature control at 8:46 are created.
[0061] The diagnostic unit 8 inputs the diagnostic data for indoor humidity control created by the diagnostic data creation unit 7 into the learning model 6 for indoor humidity control, and obtains the diagnostic result for indoor humidity control from the learning model 6 (step S307 in FIG. 8). Also, the diagnostic unit 8 inputs the diagnostic data for supply air temperature control created by the diagnostic data creation unit 7 into the learning model 6 for supply air temperature control, and obtains the diagnostic result for supply air temperature control from the learning model 6 (step S307).
[0062] The diagnostic result analysis unit 9 identifies the parts of the diagnostic data input into the indoor humidity control learning model 6 that affected the diagnosis of indoor humidity control by the diagnostic unit 8 (step S308 in Figure 8), and based on the results of this identification, identifies the parameters that affected the diagnosis of indoor humidity control and the time at which these parameters had the strongest impact (step S309 in Figure 8).
[0063] In addition, the diagnostic result analysis unit 9 identifies the parts of the diagnostic data input into the learning model 6 of the supply air temperature control that affected the diagnosis of the supply air temperature control by the diagnosis unit 8 (step S308), and based on this identification result, identifies the parameters that affected the diagnosis of the supply air temperature control and the time when this parameter had the greatest impact (step S309).
[0064] The diagnostic result analysis unit 9 determines whether or not there is a diagnostic result indicating a control abnormality (step S303). Here, it is assumed that the diagnostic result indicates that there is no abnormality in the indoor humidity control and the supply air temperature control.
[0065] If there is no diagnosis result indicating a control abnormality (NO in step S303), the result output unit 11 outputs the control diagnosis result from the diagnosis unit 8 and the identification result from the diagnosis result analysis unit 9 (step S310 in FIG. 8). The output method may be to display the diagnosis result and the identification result, or to transmit the diagnosis result and the identification result to an external device.
[0066] The result output unit 11 displays to the user the control diagnosis results by the diagnosis unit 8, the time range of the diagnosis target, the parameters that the diagnosis result analysis unit 9 has determined to have affected the control diagnosis, and the time when these parameters had the strongest impact.
[0067] For instance, in the above example, the result output unit 11 displays the diagnosis result that the indoor temperature control for the 30 minutes from 8:27 to 8:56 was abnormal, and displays the results identified by the diagnosis result analysis unit 9 that the parameters that affected the diagnosis of indoor temperature control were indoor humidity and supply air temperature, and that the time when these parameters had the strongest effect was 8:46. Furthermore, the result output unit 11 displays the diagnosis result that the indoor humidity control and supply air temperature control at 8:46 were normal, and displays the parameters that affected the diagnosis of indoor humidity control and supply air temperature control, and the time when these parameters had the strongest effect.
[0068] By looking at the displayed information, the user can determine that there were no problems with supply air temperature control and indoor humidity control, but that the supply air temperature and indoor humidity affected indoor temperature control at 8:46, and therefore can infer that there was some kind of disturbance to the supply air temperature and indoor humidity at 8:46.
[0069] As described above, in this embodiment, it is possible to automatically diagnose whether or not the control is operating normally using a learning model, and by estimating the parameters that have affected the diagnosis, it is possible to estimate the parameters that caused the abnormality when a diagnosis result indicating an abnormality in the control is obtained.
[0070] In the above example, the diagnosis result showed that there were no abnormalities in the indoor humidity control and the supply air temperature control. However, if a diagnosis result indicating a control abnormality is obtained (NO in step S303), the parameter that affected this diagnosis should be regarded as the direct cause of the abnormality, and the processing of steps S304 to S309 should be carried out for the time when this parameter had the greatest impact on the diagnosis (the time when it had the highest importance).
[0071] In this way, the parameters that affected the previous diagnosis are identified, the control of the identified parameters is diagnosed, and the processing of steps S304 to S309 is repeated until a diagnosis result is obtained that indicates that there is no abnormality in the parameter control. However, it goes without saying that repeating such a diagnosis requires that a learning model 6 has been created in advance for the control of the parameters that affected the previous diagnosis. If a learning model 6 is not prepared, the determination in step S303 is NO.
[0072] Although the present embodiment has been described using air conditioner control as an example, the present invention may also be applied to the control of other facility equipment.
[0073] The diagnostic system described in this embodiment can be realized by a computer equipped with a CPU (Central Processing Unit), a storage device, and an interface, and a program that controls these hardware resources. An example of the configuration of this computer is shown in Figure 12.
[0074] The computer includes a CPU 200, a storage device 201, and an interface device (hereinafter abbreviated as I / F) 202. The I / F 202 is connected to, for example, an air conditioner controller, a sensor for measuring parameter data, etc. In such a computer, a program for implementing the diagnostic method of the present invention is stored in the storage device 201. The CPU 200 executes the processing described in this embodiment in accordance with the program stored in the storage device 201. [Industrial Applicability]
[0075] The present invention can be applied to control diagnostic techniques. [Explanation of symbols]
[0076] 1...parameter memory unit, 2...data acquisition unit, 3...data memory unit, 4...learning data creation unit, 5...learning unit, 6...learning model, 7...diagnosis data creation unit, 8...diagnosis unit, 9...diagnosis result analysis unit, 10...result output unit.
Claims
1. A data acquisition unit configured to acquire time series data of a parameter related to control of a diagnosis target; a diagnostic data creation unit configured to create diagnostic data by imaging a set of the time series data of the date and time of the diagnosis target for each certain time range; a diagnosis unit configured to input the diagnostic data to a learning model that models a relationship between an image and a diagnosis result of control, and obtain a diagnosis result of control from the learning model; A diagnostic system comprising: a diagnostic result analysis unit configured to identify parts of the diagnostic data input to the learning model that influenced the diagnosis by the diagnostic unit, and to identify parameters that influenced the diagnosis based on the identification results.
2. 2. The diagnostic system of claim 1, the diagnostic data creation unit normalizes the set of time series data for the date and time of the diagnosis target for each certain time range, arranges the normalized data for each time of the parameter as pixels at corresponding coordinate positions on an image where the parameter type is the horizontal coordinate and the time is the vertical coordinate, and sets the luminance corresponding to the value of the normalized data as the luminance of the pixel, thereby imaging the normalized time series data.
3. 2. The diagnostic system of claim 1, The learning model is created individually for each of a control of a diagnosis target and a control of a parameter related to the control of the diagnosis target; the diagnostic result analysis unit identifies a parameter that has influenced the diagnosis performed immediately before by the diagnosis unit, and when a diagnostic result indicating an abnormality in control is obtained in the immediately before diagnosis, instructs the diagnostic data creation unit to create diagnostic data for the control of the parameter that has influenced the immediately before diagnosis for a time when the parameter has had the greatest influence; the diagnostic data creation unit creates diagnostic data in accordance with an instruction from the diagnostic result analysis unit; The diagnosis unit inputs diagnostic data created by the diagnostic data creation unit in accordance with an instruction from the diagnostic result analysis unit into a learning model for control of a parameter that influenced the immediately preceding diagnosis, and obtains a diagnosis result of parameter control from the learning model; A diagnostic system comprising: said diagnostic result analysis unit, said diagnostic data creation unit, and said diagnostic unit repeating processing until a diagnostic result indicating that there is no abnormality in parameter control is obtained.
4. 2. The diagnostic system of claim 1, a learning data creation unit configured to create learning data by imaging a set of time-series data of parameters at a predetermined date and time for each certain time range and assigning a label indicating a correct answer of a control diagnosis result to the created image; A diagnostic system further comprising a learning unit configured to create the learning model through machine learning based on the learning data.
5. 5. The diagnostic system according to claim 4, The learning data creation unit normalizes a set of time series data of parameters at a predetermined date and time for each certain time range, arranges the normalized data of the parameters for each time as pixels at corresponding coordinate positions on an image where the parameter type is the horizontal coordinate and the time is the vertical coordinate, and sets the luminance corresponding to the value of the normalized data as the luminance of the pixel, thereby imaging the normalized time series data.
6. 5. The diagnostic system according to claim 4, A diagnostic system characterized in that the learning data creation unit determines whether or not control operated normally for the certain time range in accordance with preset rules, and assigns the label indicating the determination result to the created image.
7. 2. The diagnostic system of claim 1, A diagnostic system characterized in that the learning model comprises a convolutional neural network.
8. 2. The diagnostic system of claim 1, The diagnostic result analysis unit identifies, based on the image output obtained by Grad-CAM, the parts of the diagnostic data that influenced the diagnosis made by the diagnostic unit, and, based on the results of this identification, identifies the parameters that influenced the diagnosis and the time at which the parameters had the greatest influence.
9. 2. The diagnostic system of claim 1, A diagnostic system further comprising a result output unit configured to output a diagnosis result by the diagnostic unit and a specific result by the diagnostic result analysis unit.
10. A first step of acquiring time series data of a parameter related to control of a diagnosis target; A second step of generating diagnostic data by imaging the set of time-series data of the date and time of the diagnosis target for each certain time range; a third step of inputting the diagnostic data into a learning model that models a relationship between an image and a diagnostic result of control, and obtaining a diagnostic result of control from the learning model; a fourth step of identifying, in the diagnostic data input to the learning model, the parts that influenced the diagnosis in the third step, and identifying the parameters that influenced the diagnosis based on the results of this identification.
Citation Information
Patent Citations
Elevator diagnosis system and elevator diagnosis method
JP2020029314A
