Artificial neural network training method and device, condensation sensing device

By obtaining the dry point information and sample resistance of the dew point sensor and training the artificial neural network, the problem of low accuracy of condensation alarm processing in the air conditioning system is solved and higher accuracy is achieved.

CN113358695BActive Publication Date: 2024-10-25SIEMENS SCHWEIZ AG
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202010144752.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-03-04
Publication Date
2024-10-25
Estimated Expiration
2040-04-21

AI Technical Summary

Technical Problem

The dew point sensors in existing air conditioning systems have different resistance outputs for the same relative humidity, resulting in low accuracy in condensation alarm processing.

Method used

By obtaining the dry point information and sample resistance of at least two sample dew point sensors, the corresponding relationship with condensation alarm processing is determined, and artificial neural networks are used for training and weights and biases are adjusted to improve the accuracy of condensation alarm processing. sex.

Benefits of technology

The accuracy of condensation alarm processing is significantly improved to meet the preset requirements. There is no need to change the existing dew point sensor hardware. The accuracy can be improved only by revising the condensation alarm processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113358695B_ABST
    Figure CN113358695B_ABST
Patent Text Reader

Abstract

The present invention provides a training method for an artificial neural network for condensation alarm processing, a device for training an artificial neural network for condensation alarm processing, and a condensation sensing device. The training method for an artificial neural network for condensation alarm processing includes: obtaining dry point information of each sample dew point sensor in at least two sample dew point sensors; obtaining a sample resistance value output by each sample dew point sensor at a sample relative humidity; for each sample dew point sensor, determining the corresponding relationship between each sample resistance value output by the sample dew point sensor and the condensation alarm processing according to the sample relative humidity; taking the dry point information and the sample resistance value of the at least two sample dew point sensors as input, and taking the condensation alarm processing corresponding to the sample resistance value as the expected output, the artificial neural network is trained. The present invention can improve the accuracy of condensation alarm processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data processing, and in particular to a training method for an artificial neural network used for condensation alarm processing, a device for training the artificial neural network used for condensation alarm processing, and a condensation sensing device. Background Art

[0002] In an air conditioning system, a dew point sensor is usually required to sense the relative humidity of the air conditioning system. The dew point sensor can change the output resistance value as the relative humidity in the environment changes. In the air conditioning system, when the relative humidity is greater than a relative humidity threshold A, a condensation alarm needs to be issued, and when the relative humidity is less than a relative humidity threshold B, the condensation alarm needs to be cancelled, wherein the relative humidity threshold A is greater than the relative humidity threshold B.

[0003] In the prior art, a uniform resistance threshold is set for all dew point sensors in the air-conditioning system. The dew point sensor in the air-conditioning system outputs a corresponding resistance value according to the relative humidity of the air-conditioning system. When the resistance value output by the dew point sensor exceeds the resistance threshold, it indicates that the relative humidity of the air-conditioning system is greater than the relative humidity threshold A, and a condensation alarm needs to be issued. When the resistance value output by the dew point sensor is less than or equal to the resistance threshold, it indicates that the relative humidity of the air-conditioning system is less than the relative humidity threshold B, and the condensation alarm needs to be canceled. Different dew point sensors usually have different resistance values ​​output for the same relative humidity. In other words, different dew point sensors usually have different relative humidities corresponding to the above-mentioned resistance thresholds, which results in different condensation alarm processing for different dew point sensors at the same relative humidity. For example, when the relative humidity threshold A is 90% and the resistance threshold is fixed at 10kΩ, the output resistance of dew point sensor a is 11kΩ when the relative humidity is 91%, and the output resistance of dew point sensor b is 7kΩ when the relative humidity is 91%. When the relative humidity is 91%, the resistance output by dew point sensor a is greater than the resistance threshold, and dew point sensor A will issue a condensation alarm, while the resistance output by dew point sensor b is less than the resistance threshold, and dew point sensor b will cancel the condensation alarm.

[0004] It can be seen from the above description that by using a unified resistance threshold method to determine the condensation alarm processing to be implemented, a large number of dew point sensors will implement incorrect processing and have low accuracy. Summary of the invention

[0005] The embodiments of the present invention provide a method for training an artificial neural network for condensation alarm processing, a device for training an artificial neural network for condensation alarm processing, and a condensation sensing device, which can improve the accuracy of condensation alarm processing.

[0006] In a first aspect, an embodiment of the present invention provides a training method for an artificial neural network for condensation alarm processing, comprising:

[0007] obtaining dry point information of each of at least two sample dew point sensors;

[0008] Obtaining a sample resistance value output by each of the sample dew point sensors when the sample is at relative humidity;

[0009] For each of the sample dew point sensors, determining a corresponding relationship between each of the sample resistance values ​​output by the sample dew point sensor and condensation alarm processing according to the sample relative humidity;

[0010] The artificial neural network is trained by taking the dry point information and the sample resistance values ​​of the at least two sample dew point sensors as inputs and taking the condensation alarm processing corresponding to the sample resistance values ​​as expected outputs.

[0011] In a first possible implementation manner, in combination with the first aspect, the dry point information includes a dry point resistance value;

[0012] The step of obtaining dry point information of each sample dew point sensor of at least two sample dew point sensors includes:

[0013] Obtaining the resistance value output by each of the sample dew point sensors at a first relative humidity, and using the resistance value as the dry point resistance value;

[0014] Among them, the first relative humidity is lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled; preferably, the first relative humidity is higher than 50%.

[0015] In a second possible implementation manner, in combination with the first aspect, the dry point information includes a dry point slope;

[0016] The step of obtaining dry point information of each sample dew point sensor of at least two sample dew point sensors includes:

[0017] calculate:

[0018]

[0019] Among them, k is the dry point slope, R1 is the resistance value output by the sample dew point sensor at the third relative humidity, R2 is the resistance value output by the sample dew point sensor at the fourth relative humidity, the third relative humidity and the fourth relative humidity are both lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled; preferably, the third relative humidity and the fourth relative humidity are both greater than 50%.

[0020] In a third possible implementation, in combination with the first aspect, determining the correspondence between each sample resistance value output by the sample dew point sensor and the condensation alarm processing according to the sample relative humidity includes:

[0021] When the sample relative humidity is less than a second relative humidity, determining that the condensation alarm processing corresponding to the sample resistance value is to cancel the condensation alarm;

[0022] When the sample relative humidity is greater than a fifth relative humidity, determining that the condensation alarm process corresponding to the sample resistance value is to issue a condensation alarm;

[0023] Wherein, the second relative humidity satisfies: when the relative humidity is less than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is greater than the second relative humidity, the condensation alarm is not cancelled;

[0024] The fifth relative humidity satisfies: when the relative humidity is greater than the fifth relative humidity, a condensation alarm is issued, and when the relative humidity is less than the fifth relative humidity, no condensation alarm is issued.

[0025] In a fourth possible implementation, in combination with the first aspect, the method of taking the dry point information of the at least two sample dew point sensors and the sample resistance values ​​as input and taking the condensation alarm processing corresponding to the sample resistance values ​​as expected output to train the artificial neural network includes:

[0026] S1: selecting a training data from at least one training data, wherein each training data includes: dry point information of a sample dew point sensor, a sample resistance value output by the sample dew point sensor when the sample relative humidity is low, and condensation alarm processing corresponding to the sample resistance value;

[0027] S2: Determine the distance between the sample resistance value in the currently selected training data and the dry point information;

[0028] S3: inputting the dry point information, the sample resistance value, and the distance between the dry point information and the sample resistance value in the currently selected training data into the artificial neural network;

[0029] S4: obtaining condensation alarm processing output by the artificial neural network;

[0030] S5: adjusting the weights and biases in the artificial neural network according to the condensation alarm processing output by the artificial neural network and the condensation alarm processing in the training data;

[0031] S6: Determine whether the accuracy of the condensation alarm processing output by the current artificial neural network is greater than the preset accuracy. If yes, execute S7; otherwise, return to S1;

[0032] S7: Using the current artificial neural network as the trained artificial neural network.

[0033] In a fifth possible implementation, in combination with the above-mentioned first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect or the fourth possible implementation of the first aspect, the activation function of the neurons in the hidden layer of the artificial neural network is f(x)=max(0,x).

[0034] In a sixth possible implementation, in combination with the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect, or the fourth possible implementation of the first aspect, the activation function of the neurons in the output layer of the artificial neural network is:

[0035] In a seventh possible implementation, in combination with the first aspect, the first possible implementation of the first aspect, the second possible implementation of the first aspect, the third possible implementation of the first aspect, or the fourth possible implementation of the first aspect, the artificial neural network includes: 1 input layer, 1 hidden layer, and 1 output layer;

[0036] The input layer includes 2 or 3 neurons, the hidden layer includes 2 or 3 neurons, and the output layer includes 1 neuron.

[0037] In a second aspect, an embodiment of the present invention provides a device for training an artificial neural network for condensation alarm processing, comprising:

[0038] A first acquisition module, used to acquire dry point information of each sample dew point sensor of at least two sample dew point sensors;

[0039] A second acquisition module is used to obtain the sample resistance value output by each of the sample dew point sensors when the sample is at a relative humidity;

[0040] A corresponding relationship determination module, used for determining, for each of the sample dew point sensors, a corresponding relationship between each of the sample resistance values ​​output by the sample dew point sensor and a condensation alarm process according to the sample relative humidity;

[0041] The training module is used to train an artificial neural network using the dry point information and the sample resistance of the at least two sample dew point sensors as input and the condensation alarm processing corresponding to the sample resistance as expected output.

[0042] In a first possible implementation manner, in combination with the second aspect, the dry point information includes a dry point resistance value;

[0043] The first acquisition module is used to acquire the resistance value output by each of the sample dew point sensors at a first relative humidity, and use the resistance value as the dry point resistance value;

[0044] The first relative humidity is lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0045] In a second possible implementation manner, in combination with the second aspect, the dry point information includes a dry point slope;

[0046] The first acquisition module is used to calculate:

[0047]

[0048] Among them, k is the dry point slope, R1 is the resistance value output by the sample dew point sensor at the third relative humidity, R2 is the resistance value output by the sample dew point sensor at the fourth relative humidity, the third relative humidity and the fourth relative humidity are both lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0049] In a third possible implementation, in combination with the second aspect, the corresponding relationship determination module is used to determine that the condensation alarm processing corresponding to the sample resistance value is to cancel the condensation alarm when the sample relative humidity is less than the second relative humidity, and to determine that the condensation alarm processing corresponding to the sample resistance value is to issue a condensation alarm when the sample relative humidity is greater than the fifth relative humidity;

[0050] Wherein, the second relative humidity satisfies: when the relative humidity is less than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is greater than the second relative humidity, the condensation alarm is not cancelled;

[0051] The fifth relative humidity satisfies: when the relative humidity is greater than the fifth relative humidity, a condensation alarm is issued, and when the relative humidity is less than the fifth relative humidity, no condensation alarm is issued.

[0052] In a fourth possible implementation, in combination with the above-mentioned second aspect, the first possible implementation of the second aspect, the second possible implementation of the second aspect or the third possible implementation of the second aspect, the activation function of the neurons in the hidden layer of the artificial neural network is f(x)=max(0,x).

[0053] In a fifth possible implementation, in combination with the above-mentioned second aspect, the first possible implementation of the second aspect, the second possible implementation of the second aspect, or the third possible implementation of the second aspect, the activation function of the neurons in the output layer of the artificial neural network is:

[0054] In a sixth possible implementation, in combination with the above second aspect, the first possible implementation of the second aspect, the second possible implementation of the second aspect, or the third possible implementation of the second aspect, the artificial neural network includes: 1 input layer, 1 hidden layer, and 1 output layer;

[0055] The input layer includes 2 or 3 neurons, the hidden layer includes 2 or 3 neurons, and the output layer includes 1 neuron.

[0056] In a third aspect, an embodiment of the present invention provides a condensation sensing device, comprising:

[0057] A resistance value acquisition module is used to obtain the current resistance value output by the target dew point sensor under the current relative humidity;

[0058] The condensation alarm determination module is used to determine whether to issue or cancel the condensation alarm according to the dry point information of the target dew point sensor and the current resistance value.

[0059] In a first possible implementation manner, in combination with the third aspect, the condensation alarm determination module includes:

[0060] An input unit, used for inputting the dry point information of the target dew point sensor and the current resistance value into a pre-trained artificial neural network;

[0061] The processing unit is used to perform condensation alarm processing according to the current output of the artificial neural network.

[0062] In a second possible implementation, in combination with the first possible implementation of the third aspect, the artificial neural network includes: an artificial neural network obtained by training with dry point information and sample resistance values ​​of at least two sample dew point sensors as input and condensation alarm processing corresponding to the sample resistance values ​​as expected output.

[0063] In a third possible implementation manner, in combination with the second possible implementation manner of the third aspect, the dry point information includes: a dry point resistance value;

[0064] The dry point resistance value includes: the resistance value output by the dew point sensor at a first relative humidity;

[0065] The first relative humidity is lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0066] In a fourth possible implementation manner, in combination with the second possible implementation manner of the third aspect, the dry point information includes: a dry point slope;

[0067] The dry point slope satisfies the following formula:

[0068]

[0069] Wherein, k is the dry point slope, R1 is the resistance value output by the dew point sensor at the third relative humidity, R2 is the resistance value output by the dew point sensor at the fourth relative humidity, the third relative humidity and the fourth relative humidity are both lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0070] In a fifth possible implementation, in combination with the first possible implementation of the third aspect, the second possible implementation of the third aspect, the third possible implementation of the third aspect, or the fourth possible implementation of the third aspect, the activation function of the neurons in the hidden layer of the artificial neural network is f(x)=max(0,x);

[0071] In a sixth possible implementation, in combination with the first possible implementation of the third aspect, the second possible implementation of the third aspect, the third possible implementation of the third aspect, or the fourth possible implementation of the third aspect, the activation function of the neurons in the output layer of the artificial neural network is:

[0072] In a seventh possible implementation, in combination with the first possible implementation of the third aspect, the second possible implementation of the third aspect, the third possible implementation of the third aspect, or the fourth possible implementation of the third aspect, the artificial neural network includes: 1 input layer, 1 hidden layer, and 1 output layer;

[0073] The input layer includes 2 or 3 neurons, the hidden layer includes 2 or 3 neurons, and the output layer includes 1 neuron.

[0074] In a fourth aspect, an embodiment of the present invention provides a computer-readable medium, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes any one of the methods described in the first aspect.

[0075] In an embodiment of the present invention, the dry point information of the dew point sensor is introduced as a consideration factor for condensation alarm, so as to improve the accuracy of condensation alarm processing. At the same time, in an embodiment of the present invention, the sample data of the sample dew point sensor is used to train the artificial neural network, so as to determine the correlation between the dry point information, the sample resistance value and the condensation alarm processing. This artificial neural network training and generation process uses a large number of sample resistance values ​​taken from the sample dew point sensor, and incorporates one of the consideration factors of the dry point information, so that the accuracy of the condensation alarm processing output by the trained artificial neural network is greatly improved, meeting the expected requirements. Moreover, by adopting this processing process of the embodiment of the present invention, there is no need to change the hardware of the existing dew point sensor, and the performance of the dew point sensor, that is, the accuracy of the condensation alarm, can be improved by simply revising the condensation alarm processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0077] Figure 1 is a flow chart of a training method of an artificial neural network for condensation alarm processing provided by an embodiment of the present invention;

[0078] Figure 2 is a structural diagram of an artificial neural network provided by an embodiment of the present invention;

[0079] Figure 3 is a structural diagram of another artificial neural network provided by an embodiment of the present invention;

[0080] Figure 4is a flow chart of a condensation alarm processing method provided by an embodiment of the present invention;

[0081] Figure 5 is a flow chart of another condensation alarm processing method provided by an embodiment of the present invention;

[0082] Figure 6 It is a distribution diagram of a processing result of issuing a condensation alarm and a processing result of canceling a condensation alarm provided by an embodiment of the present invention;

[0083] Figure 7 It is a distribution diagram of another processing result of issuing a condensation alarm and a processing result of canceling a condensation alarm provided by an embodiment of the present invention;

[0084] Figure 8 is a schematic diagram of a device for training an artificial neural network for condensation alarm processing provided by an embodiment of the present invention;

[0085] Fig. 9 is a schematic diagram of a condensation sensing device provided by an embodiment of the present invention;

[0086] Fig.10 It is a schematic diagram of another condensation sensing device provided by an embodiment of the present invention.

[0087] List of reference numerals:

[0088] 201: Input layer 202: Hidden layer 203: Output layer

[0089] 2011: First Neuron 2012: Second Neuron 2021: Third Neuron

[0090] 2022: The fourth neuron 2031: The fifth neuron 2013: The sixth neuron

[0091] 2023: Seventh neuron 801: First acquisition module 802: Second acquisition module

[0092] 803: Correspondence determination module 804: Training module 901: Resistance acquisition module

[0093] 902: condensation alarm determination module 9021: input unit 9022: processing unit DETAILED DESCRIPTION

[0094] In order to make the purpose, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments in the present invention, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present invention.

[0095] The dew point sensor is a sensor used to sense the relative humidity in the environment. The dew point sensor outputs the corresponding resistance value according to the relative humidity in the environment. Different dew point sensors usually have different resistance values ​​for the same relative humidity output. In a typical air-conditioning system, when the relative humidity is greater than a certain condensation alarm relative humidity (the fifth relative humidity), a condensation alarm needs to be issued, and when the relative humidity is less than a certain condensation alarm cancellation relative humidity (the second relative humidity), the condensation alarm needs to be cancelled, wherein the fifth relative humidity is greater than the second relative humidity. Specifically, the second relative humidity satisfies: when the relative humidity is less than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is greater than the second relative humidity, the condensation alarm is not cancelled. The fifth relative humidity satisfies: when the relative humidity is greater than the fifth relative humidity, a condensation alarm is issued, and when the relative humidity is less than the fifth relative humidity, a condensation alarm is not issued. The fifth relative humidity and the second relative humidity can be determined according to the requirements of the air-conditioning system. For example: the fifth relative humidity can be 90%, and the second relative humidity can be 88%.

[0096] Considering the differences in the output resistance of each dew point sensor, in order to obtain accurate condensation alarm processing according to the current relative humidity, it is necessary to determine the relationship between the resistance output of each dew point sensor and the relative humidity. However, due to the large output of dew point sensors, the workload of determining the relationship between the resistance output of each dew point sensor and the relative humidity is huge. Therefore, a solution is needed that enables batch dew point sensors to accurately implement condensation alarm processing.

[0097] like Figure 1 As shown, an embodiment of the present invention provides an artificial neural network training method for condensation alarm processing, comprising:

[0098] Step 101: obtaining dry point information of each sample dew point sensor of at least two sample dew point sensors;

[0099] Step 102: Obtaining a sample resistance value output by each of the sample dew point sensors under sample relative humidity;

[0100] Step 103: for each of the sample dew point sensors, determine the corresponding relationship between each of the sample resistance values ​​output by the sample dew point sensor and the condensation alarm processing according to the sample relative humidity;

[0101] Step 104: training an artificial neural network with the dry point information and the sample resistance values ​​of the at least two sample dew point sensors as input and the condensation alarm processing corresponding to the sample resistance values ​​as expected output.

[0102] In an embodiment of the present invention, the dry point information of the dew point sensor is introduced as a consideration factor for condensation alarm, so as to improve the accuracy of condensation alarm processing. At the same time, in an embodiment of the present invention, the sample data of the sample dew point sensor is used to train the artificial neural network, so as to determine the correlation between the dry point information, the sample resistance value and the condensation alarm processing. This artificial neural network training and generation process uses a large number of sample resistance values ​​taken from the sample dew point sensor, and incorporates one of the consideration factors of the dry point information, so that the accuracy of the condensation alarm processing output by the trained artificial neural network is greatly improved, meeting the expected requirements. Moreover, by adopting this processing process of the embodiment of the present invention, there is no need to change the hardware of the existing dew point sensor, and the performance of the dew point sensor, that is, the accuracy of the condensation alarm, can be improved by simply revising the condensation alarm processing.

[0103] In the embodiment of the present invention, the dry point information may be information about the resistance value output by the dew point sensor when there is no condensation, for example: the resistance value output by the dew point sensor when there is no condensation, and the slope of the resistance value output by the dew point sensor when there is no condensation.

[0104] In an embodiment of the present invention, the sample dew point sensor is a dew point sensor used to train an artificial neural network. Specifically, the correspondence between the dry point information, sample resistance and condensation alarm processing used to train the artificial neural network is obtained based on the sample dew point sensor.

[0105] In the embodiment of the present invention, there may be multiple sample relative humidities. In step 102, the sample resistance output by each sample dew point sensor at each different sample relative humidity is obtained. Specifically, the multiple sample relative humidities include a relative humidity greater than the fifth relative humidity and a relative humidity less than the second relative humidity. In this way, the artificial neural network can be trained using the different sample relative humidities, so that the artificial neural network can handle various different situations during the training process, thereby making the condensation alarm processing output by the trained artificial neural network more accurate.

[0106] In the embodiment of the present invention, the condensation alarm processing includes: canceling the condensation alarm and issuing the condensation alarm. When the relative humidity is less than the second relative humidity, the condensation alarm processing is to cancel the condensation alarm, and when the relative humidity is greater than the fifth relative humidity, the condensation alarm processing is to issue the condensation alarm.

[0107] Since the sample relative humidity is known, the second relative humidity and the fifth relative humidity are also known. In this way, the condensation alarm processing corresponding to each sample relative humidity is determined. Specifically, when the sample relative humidity is less than the second relative humidity, the condensation alarm processing is to cancel the condensation alarm; when the sample relative humidity is greater than the fifth relative humidity, the condensation alarm processing is to issue a condensation alarm.

[0108] In step 103, determining the correspondence between each sample resistance value output by the sample dew point sensor and the condensation alarm processing according to the sample relative humidity includes:

[0109] When the sample relative humidity is less than a second relative humidity, determining that the condensation alarm processing corresponding to the sample resistance value is to cancel the condensation alarm;

[0110] When the sample relative humidity is greater than a fifth relative humidity, determining that the condensation alarm process corresponding to the sample resistance value is to issue a condensation alarm;

[0111] Wherein, the second relative humidity satisfies: when the relative humidity is less than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is greater than the second relative humidity, the condensation alarm is not cancelled;

[0112] The fifth relative humidity satisfies: when the relative humidity is greater than the fifth relative humidity, a condensation alarm is issued, and when the relative humidity is less than the fifth relative humidity, no condensation alarm is issued.

[0113] In the embodiment of the present invention, the condensation alarm processing corresponding to the sample relative humidity is associated with the sample resistance corresponding to the sample relative humidity to obtain the corresponding relationship between the sample resistance and the condensation alarm processing. For example, the second relative humidity is 88%, the fifth relative humidity is 90%, when the sample relative humidity is 91%, the condensation alarm processing corresponding to the sample relative humidity is to issue a condensation alarm, when the sample relative humidity is 85%, the condensation alarm processing corresponding to the sample relative humidity is to cancel the condensation alarm, the sample resistance output by the sample dew point sensor A when the sample relative humidity is 91% is 11kΩ, and the sample resistance output by the sample dew point sensor A when the sample relative humidity is 85% is 8kΩ, then, in the corresponding relationship of the sample dew point sensor A, 11kΩ corresponds to issuing a condensation alarm, and 8kΩ corresponds to canceling the condensation alarm.

[0114] In the embodiment of the present invention, since the resistance values ​​output by different dew point sensors at the same relative humidity may be different, the corresponding relationships obtained by different sample dew point sensors at the same sample relative humidity may also be different. For example: the sample resistance value output by sample dew point sensor B is 8kΩ when the sample relative humidity is 91%, and the sample resistance value output by sample dew point sensor B is 6kΩ when the sample relative humidity is 85%. Then, in the corresponding relationship of sample dew point sensor B, 8kΩ corresponds to issuing a condensation alarm, and 6kΩ corresponds to canceling the condensation alarm. In the corresponding relationship of sample dew point sensor A, 11kΩ corresponds to issuing a condensation alarm, and 8kΩ corresponds to canceling the condensation alarm. It can be seen that at the same sample relative humidity, the corresponding relationship of sample dew point sensor A is different from the corresponding relationship of sample dew point sensor B. Moreover, for the same sample resistance value, the corresponding condensation alarm processing in the corresponding relationship of sample dew point sensor A and the corresponding relationship of sample dew point sensor B is also different. For example, 8kΩ corresponds to canceling the condensation alarm in the corresponding relationship of sample dew point sensor A, while 8kΩ corresponds to issuing a condensation alarm in the corresponding relationship of sample dew point sensor B.

[0115] When determining the corresponding relationship between the sample resistance value and the condensation alarm processing, it is necessary to mark the sample dew point sensor corresponding to each corresponding relationship.

[0116] In step 104, the process of training the artificial neural network is the process of continuously adjusting the weights and biases in the artificial neural network until the accuracy of the adjusted artificial neural network reaches the requirement, and the weights and biases of the artificial neural network that reach the requirement are used as the final weights and biases of the trained artificial neural network.

[0117] Specifically, the training of the artificial neural network using the dry point information and the sample resistance of the at least two sample dew point sensors as input and the condensation alarm processing corresponding to the sample resistance as the expected output includes:

[0118] S1: selecting a training data from at least one training data, wherein each training data includes: dry point information of a sample dew point sensor, a sample resistance value output by the sample dew point sensor when the sample relative humidity is low, and condensation alarm processing corresponding to the sample resistance value;

[0119] S2: Input the dry point information and sample resistance value in the currently selected training data into the artificial neural network; preferably, the training data input into the neural network can also be optimized. For example, the distance between the sample resistance value and the dry point information in the currently selected training data can be determined, and the distance information is then used as an input reference and input into the artificial neural network;

[0120] S3: Obtain condensation alarm processing output by the artificial neural network;

[0121] S4: adjusting the weights and biases in the artificial neural network according to the condensation alarm processing output by the artificial neural network and the condensation alarm processing in the training data;

[0122] S5: Determine whether the accuracy of the condensation alarm processing output by the current artificial neural network is greater than the preset accuracy. If yes, execute S6; otherwise, return to S1;

[0123] S6: Using the current artificial neural network as the trained artificial neural network.

[0124] In the embodiment of the present invention, one piece of training data is for one sample dew point sensor. For example, when the sample relative humidity is 91%, the sample resistance output by the sample dew point sensor A is 11 kΩ, and the condensation alarm processing corresponding to 11 kΩ is to issue a condensation alarm. Then, one piece of training data of the sample dew point sensor A includes: the dry point information of the sample dew point sensor A is 8 kΩ, the sample resistance is 11 kΩ, and the condensation alarm processing is to issue a condensation alarm.

[0125] In S2, the difference between the sample resistance value and the dry point information can be used as the distance between the sample resistance value and the dry point information. The distance between the sample resistance value and the dry point information is introduced to increase the dimension of the training data, and the artificial neural network is trained with more features, so that the trained artificial neural network is more accurate.

[0126] For example, in a training data, the dry point information is 8kΩ and the sample resistance is 11kΩ, then the distance between the dry point information and the sample resistance is 2.

[0127] When training the artificial neural network, the training data is used one by one for training. The same sample dew point sensor has one training data for each sample relative humidity.

[0128] After the dry point information and sample resistance values ​​in the training data are input into the artificial neural network, the artificial neural network processes the dry point information and sample resistance values ​​in the training data according to the current weight and bias, and outputs the condensation alarm process after processing.

[0129] The condensation alarm processing output by the artificial neural network is represented by a numerical value, for example, the condensation alarm processing is represented by a numerical value within [0, 1]. Specifically, if the value output by the artificial neural network is in the range of [0, 0.5], it means that the condensation alarm processing is to cancel the condensation alarm. If the value output by the artificial neural network is in the range of (0.5, 1], it means that the condensation alarm processing is to issue a condensation alarm. Correspondingly, the condensation alarm processing in the training data is also represented by a numerical value, for example, 0 means to cancel the condensation alarm, and 1 means to issue a condensation alarm.

[0130] In S4, the value output by the artificial neural network can be compared with the value of the condensation alarm processing in the training data to determine the error between the two, and the weight and bias of the artificial neural network can be adjusted according to the error.

[0131] In S5, the accuracy of the condensation alarm processing output by the current artificial neural network can be determined based on the multiple training data. For example, the accuracy of the current artificial neural network is determined by 100 training data, wherein after the dry point information and sample resistance values ​​of 90 training data are input into the artificial neural network, the condensation alarm processing output by the artificial neural network is the same as the condensation alarm processing in the training data, and after the dry point information and sample resistance values ​​of 10 training data are input into the artificial neural network, the condensation alarm processing output by the artificial neural network is different from the condensation alarm processing in the training data, then the accuracy of the condensation alarm processing output by the current artificial neural network is 90%.

[0132] In the embodiment of the present invention, the preset accuracy rate can be set as needed, for example, the preset accuracy rate is 95%, 98%, etc.

[0133] In the embodiment of the present invention, the dry point information of the dew point sensor refers to the information of the dew point sensor when the relative humidity is less than the second relative humidity. The second relative humidity satisfies: when the relative humidity is less than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is greater than the second relative humidity, the condensation alarm is not cancelled. The dry point information of the dew point sensor refers to the information of the dew point sensor at the relative humidity corresponding to the dry point. For example, the second relative humidity is 88%, and the dry point information of the dew point sensor is the information of the dew point sensor when the relative humidity is less than 88%.

[0134] In the embodiment of the present invention, the dry point information may include: a dry point resistance value and a dry point slope.

[0135] In the case where the dry point information includes a dry point resistance value,

[0136] The step of obtaining dry point information of each sample dew point sensor of at least two sample dew point sensors includes:

[0137] Obtaining the resistance value output by each of the sample dew point sensors at a first relative humidity, and using the resistance value as the dry point resistance value;

[0138] The first relative humidity is lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0139] In an embodiment of the present invention, the first relative humidity is greater than 50%.

[0140] In the embodiment of the present invention, the first relative humidity may be predetermined as required, for example, the first relative humidity may be 85%.

[0141] In the embodiment of the present invention, the first relative humidity of each sample dew point sensor may be the same. When the first relative humidity of each sample dew point sensor is the same, the input of the artificial neural network may include dry point information and sample resistance. In this case, the input layer of the artificial neural network may include two neurons, and the two neurons respectively input dry point information and resistance. The resistance is the sample resistance during training, and after the training is completed, the resistance is the current resistance.

[0142] In the embodiment of the present invention, the first relative humidity of each sample dew point sensor may be different. In the case where the first relative humidity of each sample dew point sensor is different, the input of the artificial neural network may include dry point information, the first relative humidity corresponding to the sample dew point sensor, and the sample resistance value. In this case, the input layer of the artificial neural network may include three neurons, and the three neurons respectively input the dry point information, the first relative humidity corresponding to the sample dew point sensor, and the resistance value. The resistance value is the sample resistance value during training, and the resistance value is the current resistance value after the training is completed.

[0143] The dry point resistance can be determined in two ways:

[0144] Method 1: Adjust the humidity of the constant humidity chamber to the first relative humidity, and then determine the dry point resistance value in the constant humidity chamber.

[0145] Method 2: The first relative humidity can be the relative humidity in the factory where the dew point sensor is produced, and a constant humidity chamber is not required. Specifically, the relative humidity in the factory is determined, and the relative humidity is used as the first relative humidity, and then the dry point resistance value of the dew point sensor under the relative humidity in the factory is determined.

[0146] In the case where the dry point information includes a dry point slope,

[0147] The step of obtaining dry point information of each sample dew point sensor of at least two sample dew point sensors includes:

[0148] calculate:

[0149]

[0150] in, k is the dry point slope, R1 is the resistance value output by the sample dew point sensor at a third relative humidity, R2 is the resistance value output by the sample dew point sensor at a fourth relative humidity, the third relative humidity and the fourth relative humidity are both lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0151] In an embodiment of the present invention, the third relative humidity and the fourth relative humidity are both greater than 50%.

[0152] In the embodiment of the present invention, the third relative humidity and the fourth relative humidity can be determined as needed, for example, the third relative humidity is 80%, and the fourth relative humidity is 85%.

[0153] In the embodiment of the present invention, the third relative humidity and the fourth relative humidity of each sample dew point sensor may be the same, or at least one of them may be different.

[0154] When the dry point information is the dry point slope, the input of the artificial neural network may be the dry point slope and the resistance value, the resistance value being the sample resistance value during training and the current resistance value after the training is completed.

[0155] In one embodiment of the present invention, the activation function of the neurons in the hidden layer of the artificial neural network is f(x)=max(0,x).

[0156] In the embodiment of the present invention, preferably, the activation function of each neuron in the hidden layer of the artificial neural network is f(x)=max(0,x).

[0157] In the embodiment of the present invention, the number of neurons in the hidden layer can be 2, 4, 16, etc. Preferably, the number of neurons in the hidden layer is 2, and the number of weights and biases involved in the two neurons is small, which is easier to implement, and the artificial neural network can be implemented on a device such as a single-chip microcomputer.

[0158] In the embodiment of the present invention, x is the input of the neuron, f(x) is the output of the neuron, and f(x) is the maximum value between 0 and x.

[0159] In one embodiment of the present invention, the activation function of the neurons in the output layer of the artificial neural network is

[0160] In the embodiment of the present invention, x is the input of the neuron of the output layer, and S(x) is the output of the neuron of the output layer. The value range of the output of the neuron of the output layer is [0, 1].

[0161] In the embodiment of the present invention, a threshold value may be added to the neurons of the output layer, and the value range of the threshold value is (0, 1). When S(x) is greater than or equal to the threshold value, 1 is output, and when S(x) is less than the threshold value, 0 is output. The output layer neuron output 1 indicates that the condensation alarm is issued, and the output layer neuron output 0 indicates that the condensation alarm is cancelled. The threshold value may be 0.5.

[0162] In one embodiment of the present invention, the artificial neural network comprises: 1 input layer, 1 hidden layer and 1 output layer;

[0163] The input layer includes 2 or 3 neurons, the hidden layer includes 2 or 3 neurons, and the output layer includes 1 neuron.

[0164] In the embodiment of the present invention, preferably, the activation function of each neuron in the hidden layer of the artificial neural network is f(x)=max(0,x). The activation function of the neuron in the output layer of the artificial neural network is

[0165] like Figure 2 As shown, in one embodiment of the present invention, the artificial neural network may include an input layer 201, a hidden layer 202 and an output layer 203. The input layer 201 includes two neurons, namely a first neuron 2011 and a second neuron 2012. The hidden layer 202 includes two neurons, namely a third neuron 2021 and a fourth neuron 2022. The output layer 203 includes one neuron, and the neuron of the output layer 203 is a fifth neuron 2031.

[0166] Figure 2 The artificial neural network shown is applicable to the case where the first relative humidity of each sample dew point sensor is the same. Figure 2 In the artificial neural network shown, two neurons in the input layer input dry point information and resistance value respectively. The resistance value is the sample resistance value during training, and after the training is completed, the resistance value is the current resistance value.

[0167] like Figure 3As shown, in one embodiment of the present invention, the artificial neural network may include an input layer 201, a hidden layer 202 and an output layer 203. The input layer 201 includes three neurons, namely, a first neuron 2011, a second neuron 2012 and a sixth neuron 2013. The hidden layer 202 includes three neurons, namely, a third neuron 2021, a fourth neuron 2022 and a seventh neuron 2023. The output layer 203 includes one neuron, and the neuron of the output layer 203 is a fifth neuron 2031.

[0168] Figure 3 The artificial neural network shown is suitable for the case where the first relative humidity of each sample dew point sensor is different. Figure 3 In the artificial neural network shown, the three neurons of the input layer respectively input the dry point information, the first relative humidity corresponding to the sample dew point sensor, and the resistance value, which is the sample resistance value during training and the current resistance value after the training is completed.

[0169] After the artificial neural network is trained using the above-mentioned artificial neural network training method for condensation alarm processing, a trained artificial neural network is generated. Based on the trained artificial neural network, condensation alarm processing can be implemented, specifically, Figure 4 As shown, an embodiment of the present invention provides a condensation alarm processing method, including:

[0170] Step 401: obtaining the current resistance value output by the target dew point sensor under the current relative humidity;

[0171] Step 402: inputting the dry point information of the target dew point sensor and the current resistance value into an artificial neural network trained by using any training method for an artificial neural network for condensation alarm processing described in any of the embodiments of the present invention;

[0172] Step 403: Execute condensation alarm processing according to the current output of the artificial neural network.

[0173] In the embodiment of the present invention, the dry point information of any target dew point sensor and the current resistance value under the current relative humidity are input into the trained artificial neural network to obtain the condensation alarm processing. In the process of training the artificial neural network, the accuracy of the trained artificial neural network finally generated needs to meet the requirements. Therefore, for the current resistance value output by the target dew point sensor, the condensation alarm processing output by the trained artificial neural network has a higher accuracy. That is to say, compared with the prior art, the solution provided by the embodiment of the present invention improves the accuracy of the condensation alarm processing.

[0174] The following is a water-cooled air conditioner as an example to explain in detail the process from training an artificial neural network to using the trained artificial neural network to process condensation alarms. In this water-cooled air conditioner, the relative humidity for condensation alarms, i.e., the second relative humidity, is 90%, and the relative humidity for canceling the condensation alarm, i.e., the fifth relative humidity, is 88%. In other words, the water-cooled air conditioner needs to issue a condensation alarm when the relative humidity is greater than 90%, and cancel the condensation alarm when the relative humidity is 88%. In this water-cooled air conditioner, a condensation alarm is issued when the relative humidity is greater than 90%, and the relative humidity is gradually reduced by adjustment. In the range of relative humidity of 88%-90%, the alarm state is still maintained until the relative humidity is less than 88%, and the condensation alarm is canceled.

[0175] like Figure 5 As shown, a condensation alarm processing method provided by an embodiment of the present invention includes the following steps:

[0176] Step 501: Obtain a dry point resistance value output by each of at least two sample dew point sensors at a first relative humidity.

[0177] In the embodiment of the present invention, the dry point information is the dry point resistance value. The dry point resistance value of each sample dew point sensor can be determined when the dew point sensor is produced.

[0178] Preferably, the first relative humidity may be in the range of 50%-85%.

[0179] Specifically, the first relative humidity of each sample dew point sensor may be the same, for example, the first relative humidity of each sample dew point sensor is 85%.

[0180] Step 502: Obtain a sample resistance value output by each sample dew point sensor at at least one sample relative humidity.

[0181] Specifically, for each sample dew point sensor, a sample resistance value output by the sample dew point sensor at at least one sample relative humidity is obtained.

[0182] The more comprehensive the range covered by the at least one sample relative humidity is, the better. For example, the at least one sample relative humidity includes a relative humidity less than 85% and a relative humidity greater than 90%. Specifically, the at least one sample relative humidity may include: 40%, 50%, 60%, 70%, 80%, 85%, 91%, 95%, 98%, etc.

[0183] Step 503: for each sample dew point sensor, determine the corresponding relationship between each sample resistance value output by the sample dew point sensor and the condensation alarm processing according to the sample relative humidity.

[0184] Specifically, each sample dew point sensor has a corresponding relationship, and each sample dew point sensor includes: the corresponding relationship between the sample resistance output by the sample dew point sensor at each different sample relative humidity and the condensation alarm processing. For example: for any sample dew point sensor C, the sample dew point sensor C, when the sample relative humidity is 60%, the output sample resistance is 1kΩ; when the sample relative humidity is 70%, the output sample resistance is 2kΩ; when the sample relative humidity is 80%, the output sample resistance is 4kΩ; when the sample relative humidity is 92%, the output sample resistance is 50kΩ; when the sample relative humidity is 95%, the output sample resistance is 100kΩ. Then, the corresponding relationship of the sample dew point sensor C includes: 1kΩ corresponds to canceling the condensation alarm, 2kΩ corresponds to canceling the condensation alarm, 4kΩ corresponds to canceling the condensation alarm, 50kΩ corresponds to issuing a condensation alarm, and 100kΩ corresponds to issuing a condensation alarm.

[0185] Based on the dry point resistance of each sample dew point sensor and the corresponding relationship, a data set is generated, which includes multiple training data. Each training data includes: dry point information of the sample dew point sensor, the sample resistance output by the sample dew point sensor at a sample relative humidity, and the condensation alarm processing corresponding to the sample resistance. The dry point information in all training data of the same sample dew point sensor remains unchanged.

[0186] For example, the dry point resistance of the sample dew point sensor C is 8 kΩ. One piece of training data of the sample dew point sensor C includes: 8 kΩ (dry point resistance), 1 kΩ (sample resistance) and canceling the condensation alarm (condensation alarm processing corresponding to the sample resistance).

[0187] Step 504: training an artificial neural network with dry point information and sample resistance values ​​of at least two sample dew point sensors as input and condensation alarm processing corresponding to the sample resistance values ​​as expected output.

[0188] For the specific training process, please refer to the aforementioned steps S1-S6.

[0189] In one embodiment of the present invention, the artificial neural network is as follows: Figure 2 shown.

[0190] During the training process, Figure 2 The inputs of the two neurons in the input layer of the artificial neural network shown are the dry point resistance value and the sample resistance value in the current training data respectively. Figure 2 The output of the neurons in the output layer of the artificial neural network shown is condensation alarm processing.

[0191] Preferably, the activation function of each neuron in the hidden layer of the artificial neural network is f(x)=max(0,x).

[0192] Preferably, the activation function of the neurons in the output layer of the artificial neural network is

[0193] In one embodiment of the present invention, for Figure 2 In the artificial neural network shown in the figure, in the trained artificial neural network, the bias value range of a neuron in the hidden layer can be (-1.7, -1.6), and the value ranges of the two weights of the neuron can be (2, 3) and (-6, -5) respectively. The bias value range of another neuron in the hidden layer can be (1.7, 1.8), and the value ranges of the two weights of the neuron can be (-2, -1) and (3, 4) respectively. The bias value range of the neuron in the output layer can be (0, 0.2), and the value ranges of the two weights of the neuron can be (-7, -6) and (6, 7) respectively. After experiments, the accuracy of the trained artificial neural network can reach 99%.

[0194] Step 505: Obtain the current resistance value output by the target dew point sensor under the current relative humidity.

[0195] Specifically, the target dew point sensor may not be one of the at least two sample dew point sensors, but may be any dew point sensor. That is to say, the trained artificial neural network is applicable to any dew point sensor. Optionally, the training data for training the above artificial neural network may be collected from a number of dew point sensors produced in the same batch, for example, a batch of dew point sensors includes hundreds to thousands of dew point sensors. The trained artificial neural network may be solidified in any dew point sensor in the batch for condensation alarm processing, thereby improving the condensation alarm accuracy of the dew point sensors in the batch.

[0196] The dry point information of the target dew point sensor can be provided during the production of the target dew point sensor and recorded in the dew point sensor. For example, the dry point resistance value is measured at a selected relative humidity (85%) and recorded in the memory of the dew point sensor.

[0197] In the embodiment of the present invention, the target dew point sensor is used to sense the current relative humidity of the water-cooled air conditioner.

[0198] Step 506: Input the dry point resistance of the target dew point sensor and the resistance value reflecting the actual relative humidity currently measured in real time into the trained artificial neural network.

[0199] Specifically, the output is sent to two neurons in the input layer of the trained artificial neural network, such as Figure 2 The two inputs are shown.

[0200] Step 507: Execute condensation alarm processing according to the current output of the trained artificial neural network.

[0201] Specifically, after receiving the dry point resistance value and the current resistance value of the target dew point sensor, the trained artificial neural network performs processing and outputs a condensation alarm process.

[0202] After obtaining the condensation alarm processing currently output by the trained artificial neural network, the condensation alarm processing is executed. For example, if the condensation alarm processing currently output by the trained artificial neural network is to issue a condensation alarm, the processing of issuing a condensation alarm is executed; if the condensation alarm processing currently output by the trained artificial neural network is to cancel the condensation alarm, the processing of canceling the condensation alarm is executed.

[0203] It should be noted that: According to statistics, based on the existing method of setting a unified threshold for all dew point sensors, 17 out of 100 condensation alarm processing results are wrong, and the accuracy of this method can reach 83%. Based on the condensation alarm processing method provided by the embodiment of the present invention, only 1 out of 100 condensation alarm processing results are wrong, and the accuracy of this method can reach 99%. That is, the accuracy of the trained artificial neural network can reach 99%.

[0204] In the embodiment of the present invention, the dry point resistance value or the dry point slope is introduced to perform condensation alarm processing. The introduction of the dry point resistance value and the dry point slope makes the boundary between issuing the condensation alarm and canceling the condensation alarm clearer.

[0205] like Figure 6 As shown, Figure 6 The processing results of issuing condensation alarm and canceling condensation alarm after introducing dry point resistance are shown in FIG. Figure 6 The dry point data of the dew point sensor measured at a relative humidity of 85% is used as the dry point resistance value. Figure 6 The vertical axis in the figure is the dry point resistance value of each dew point sensor. The solid points in the figure are the processing results of canceling the condensation alarm. The position of the solid points in the figure represents the output resistance value of the dew point sensor when the condensation alarm needs to be canceled. Figure 6 The hollow points in the figure are the processing results of issuing condensation alarms. The positions of the hollow points in the figure represent the output resistance of the dew point sensor when a condensation alarm needs to be issued. It can be seen from the figure that after the dry point resistance is introduced, there is a clear boundary between the processing results of issuing a condensation alarm and the processing results of canceling the condensation alarm. After the dry point resistance is introduced, the distance between issuing a condensation alarm and canceling the condensation alarm is larger. Therefore, after the dry point resistance is introduced, the condensation alarm processing can have a higher accuracy.

[0206] like Figure 7 As shown, Figure 7 The processing results of issuing condensation alarm and canceling condensation alarm after introducing dry point slope are shown in FIG. Figure 7 In, through The dry point slope of each dew point sensor is determined, wherein R1 is the resistance value output by the dew point sensor when the relative humidity is 80%, and R2 is the resistance value output by the dew point sensor when the relative humidity is 85%. Figure 6 The vertical axis in the figure is the dry point slope of each dew point sensor. The solid points in the figure are the processing results of canceling the condensation alarm. The position of the solid points in the figure represents the output resistance value of the dew point sensor when the condensation alarm needs to be canceled. Figure 6 The hollow points in the figure are the processing results of issuing condensation alarms. The positions of the hollow points in the figure represent the output resistance of the dew point sensor when a condensation alarm needs to be issued. It can be seen from the figure that after the dry point slope is introduced, there is still a clear boundary between the processing results of issuing condensation alarms and the processing results of canceling condensation alarms. After the dry point slope is introduced, the distance between issuing condensation alarm processing and canceling condensation alarm processing is larger. After the dry point slope is introduced, the condensation alarm processing can have a higher accuracy.

[0207] like Figure 8 As shown, an embodiment of the present invention provides a device for training an artificial neural network for condensation alarm processing, comprising:

[0208] A first acquisition module 801 is used to acquire dry point information of each sample dew point sensor of at least two sample dew point sensors;

[0209] The second acquisition module 802 is used to obtain the sample resistance value output by each of the sample dew point sensors when the sample relative humidity is low;

[0210] A corresponding relationship determination module 803 is used to determine, for each of the sample dew point sensors, a corresponding relationship between each of the sample resistance values ​​output by the sample dew point sensor and the condensation alarm processing according to the sample relative humidity;

[0211] The training module 804 is used to train an artificial neural network using the dry point information and the sample resistance values ​​of the at least two sample dew point sensors as inputs and the condensation alarm processing corresponding to the sample resistance values ​​as expected outputs.

[0212] In one embodiment of the present invention, the dry point information includes dry point resistance;

[0213] The first acquisition module 801 is used to acquire the resistance value output by each of the sample dew point sensors at a first relative humidity, and use the resistance value as the dry point resistance value;

[0214] The first relative humidity is lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0215] In one embodiment of the present invention, the dry point information includes a dry point slope;

[0216] The first acquisition module 801 is used to calculate:

[0217]

[0218] Among them, k is the dry point slope, R1 is the resistance value output by the sample dew point sensor at the third relative humidity, R2 is the resistance value output by the sample dew point sensor at the fourth relative humidity, the third relative humidity and the fourth relative humidity are both lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0219] In one embodiment of the present invention, the corresponding relationship determination module 803 is used to determine that the condensation alarm processing corresponding to the sample resistance value is to cancel the condensation alarm when the sample relative humidity is less than the second relative humidity, and to determine that the condensation alarm processing corresponding to the sample resistance value is to issue a condensation alarm when the sample relative humidity is greater than the fifth relative humidity;

[0220] Wherein, the second relative humidity satisfies: when the relative humidity is less than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is greater than the second relative humidity, the condensation alarm is not cancelled;

[0221] The fifth relative humidity satisfies: when the relative humidity is greater than the fifth relative humidity, a condensation alarm is issued, and when the relative humidity is less than the fifth relative humidity, no condensation alarm is issued.

[0222] In one embodiment of the present invention, the training module 804 is used to perform:

[0223] S1: selecting a training data from at least one training data, wherein each training data includes: dry point information of a sample dew point sensor, a sample resistance value output by the sample dew point sensor when the sample relative humidity is low, and condensation alarm processing corresponding to the sample resistance value;

[0224] S2: Determine the distance between the sample resistance value in the currently selected training data and the dry point information;

[0225] S3: inputting the dry point information, the sample resistance value, and the distance between the dry point information and the sample resistance value in the currently selected training data into the artificial neural network;

[0226] S4: obtaining condensation alarm processing output by the artificial neural network;

[0227] S5: adjusting the weights and biases in the artificial neural network according to the condensation alarm processing output by the artificial neural network and the condensation alarm processing in the training data;

[0228] S6: Determine whether the accuracy of the condensation alarm processing output by the current artificial neural network is greater than the preset accuracy. If yes, execute S7; otherwise, return to S1;

[0229] S7: Using the current artificial neural network as the trained artificial neural network.

[0230] In one embodiment of the present invention, the activation function of the neurons in the hidden layer of the artificial neural network is f(x)=max(0,x).

[0231] In one embodiment of the present invention, the activation function of the neurons in the output layer of the artificial neural network is

[0232] In one embodiment of the present invention, the artificial neural network comprises: 1 input layer, 1 hidden layer and 1 output layer;

[0233] The input layer includes 2 or 3 neurons, the hidden layer includes 2 or 3 neurons, and the output layer includes 1 neuron.

[0234] like Fig. 9 As shown, an embodiment of the present invention provides a condensation sensing device, including:

[0235] The resistance value acquisition module 901 is used to obtain the current resistance value output by the target dew point sensor under the current relative humidity;

[0236] The condensation alarm determination module 902 is used to determine whether to issue or cancel the condensation alarm according to the dry point information of the target dew point sensor and the current resistance value.

[0237] In an embodiment of the present invention, the condensation alarm determination module can be implemented by a formula, in which the dry point information and the current resistance value are known quantities, and the result of whether to issue or cancel the condensation alarm is obtained after calculation. That is, in this formula, the dry point information and the current resistance value are input to obtain the result of whether to issue or cancel the condensation alarm. For example: the calculated value of 1 indicates that the condensation alarm is issued, and the calculated value of 0 indicates that the condensation alarm processing is cancelled.

[0238] In one embodiment of the present invention, Fig.10 As shown, the condensation alarm determination module 902 includes:

[0239] An input unit 9021, used to input the dry point information of the target dew point sensor and the current resistance value into a pre-trained artificial neural network;

[0240] The processing unit 9022 is used to perform condensation alarm processing according to the current output of the artificial neural network.

[0241] In the embodiment of the present invention, the pre-trained artificial neural network may be an artificial neural network trained by using any of the training methods for artificial neural networks for condensation alarm processing described in the embodiments of the present invention.

[0242] In one embodiment of the present invention, the artificial neural network comprises: an artificial neural network obtained by training with dry point information and sample resistance values ​​of at least two sample dew point sensors as input and condensation alarm processing corresponding to the sample resistance values ​​as expected output.

[0243] In one embodiment of the present invention, the dry point information includes: dry point resistance value;

[0244] The dry point resistance value includes: the resistance value output by the dew point sensor at a first relative humidity;

[0245] The first relative humidity is lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0246] In the embodiment of the present invention, the dew point sensor includes: a sample dew point sensor, a target dew point sensor, etc.

[0247] In one embodiment of the present invention, the dry point information includes: dry point slope;

[0248] The dry point slope satisfies the following formula:

[0249]

[0250] Wherein, k is the dry point slope, R1 is the resistance value output by the dew point sensor at the third relative humidity, R2 is the resistance value output by the dew point sensor at the fourth relative humidity, the third relative humidity and the fourth relative humidity are both lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

[0251] In the embodiment of the present invention, the dew point sensor includes: a sample dew point sensor, a target dew point sensor, etc.

[0252] In one embodiment of the present invention, the activation function of the neurons in the hidden layer 202 of the artificial neural network is f(x)=max(0,x).

[0253] In one embodiment of the present invention, the activation function of the neurons in the output layer 203 of the artificial neural network is:

[0254] In one embodiment of the present invention, the artificial neural network comprises: an input layer 201, a hidden layer 202 and an output layer 203;

[0255] The input layer 201 includes 2 or 3 neurons, the hidden layer 202 includes 2 or 3 neurons, and the output layer 203 includes 1 neuron.

[0256] In one embodiment of the present invention, the embodiment of the present invention provides a computer-readable medium, characterized in that computer instructions are stored on the computer-readable medium, and when the computer instructions are executed by a processor, the processor executes any of the training methods for artificial neural networks for condensation alarm processing.

[0257] In one embodiment of the present invention, the embodiment of the present invention provides a condensation sensing device, including: at least one memory and at least one processor;

[0258] The at least one memory is used to store a machine-readable program;

[0259] The at least one processor is used to call the machine-readable program to execute any condensation alarm processing method described in the embodiments of the present invention.

[0260] In one embodiment of the present invention, a computer-readable medium is provided, on which computer instructions are stored. When the computer instructions are executed by a processor, the processor executes any condensation alarm processing method described in the embodiments of the present invention.

[0261] It is understood that the structure illustrated in the embodiment of the present invention does not constitute a specific limitation on the condensation sensing device. In other embodiments of the present invention, the condensation sensing device may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0262] The information interaction, execution process and other contents between the units in the above-mentioned device are based on the same concept as the embodiment of the method of the present invention. For specific contents, please refer to the description in the embodiment of the method of the present invention, and no further description is given here.

[0263] The present invention also provides a computer-readable medium storing instructions for causing a computer to execute the condensation alarm processing method as described herein. Specifically, a system or device equipped with a storage medium can be provided, on which a software program code for implementing the functions of any of the above-mentioned embodiments is stored, and a computer (or CPU or MPU) of the system or device reads and executes the program code stored in the storage medium.

[0264] In this case, the program code itself read from the storage medium can realize the function of any one of the above-mentioned embodiments, and thus the program code and the storage medium storing the program code constitute a part of the present invention.

[0265] The storage medium embodiments for providing the program code include a floppy disk, a hard disk, a magneto-optical disk, an optical disk (such as CD-ROM, CD-R, CD-RW, DVD-ROM, DVD-RAM, DVD-RW, DVD+RW), a magnetic tape, a non-volatile memory card, and a ROM. Alternatively, the program code can be downloaded from a server computer by a communication network.

[0266] In addition, it should be clear that the functions of any of the above embodiments can be implemented not only by executing the program code read by the computer, but also by enabling an operating system operating on the computer to complete part or all of the actual operations based on instructions from the program code.

[0267] In addition, it can be understood that the program code read from the storage medium is written to a memory provided in an expansion board inserted into the computer or written to a memory provided in an expansion unit connected to the computer, and then based on the instructions of the program code, a CPU installed on the expansion board or the expansion unit is enabled to perform part or all of the actual operations, thereby realizing the functions of any of the above-mentioned embodiments.

[0268] It should be noted that not all steps and modules in the above-mentioned processes and system structure diagrams are necessary, and some steps or modules can be ignored according to actual needs. The execution order of each step is not fixed and can be adjusted as needed. The system structure described in the above-mentioned embodiments can be a physical structure or a logical structure, that is, some modules may be implemented by the same physical entity, or some modules may be implemented by at least two physical entities, or some components in at least two independent devices can be implemented together.

[0269] In the above embodiments, the hardware unit can be realized by mechanical means or electrical means. For example, a hardware unit can include permanent dedicated circuits or logic (such as special processors, FPGA or ASIC) to complete the corresponding operation. The hardware unit can also include programmable logic or circuits (such as general-purpose processors or other programmable processors), which can be temporarily set by software to complete the corresponding operation. Concrete implementation (mechanical means or dedicated permanent circuits or temporarily set circuits) can be determined based on cost and time considerations.

[0270] The present invention is shown and described in detail above through the accompanying drawings and preferred embodiments. However, the present invention is not limited to these disclosed embodiments. Based on the above at least two embodiments, those skilled in the art can know that the code review methods in the above different embodiments can be combined to obtain more embodiments of the present invention, and these embodiments are also within the protection scope of the present invention.

Claims

1. A training method for an artificial neural network for condensation alarm processing, characterized in that: include: Acquire dry point information of each sample dew point sensor of at least two sample dew point sensors, wherein the dry point information is information of a resistance value output by the dew point sensor in the absence of condensation; Obtaining a sample resistance value output by each of the sample dew point sensors when the sample is at relative humidity; For each of the sample dew point sensors, determining a corresponding relationship between each of the sample resistance values ​​output by the sample dew point sensor and condensation alarm processing according to the sample relative humidity; The artificial neural network is trained by taking the dry point information and the sample resistance values ​​of the at least two sample dew point sensors as inputs and taking the condensation alarm processing corresponding to the sample resistance values ​​as expected outputs.

2. The method according to claim 1, characterized in that The dry point information includes the dry point resistance value; The step of obtaining dry point information of each sample dew point sensor of at least two sample dew point sensors includes: Obtaining the resistance value output by each of the sample dew point sensors at a first relative humidity, and using the resistance value as the dry point resistance value; The first relative humidity is lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

3. The method according to claim 2, characterized in that The first relative humidity is greater than 50%.

4. The method according to claim 1, characterized in that The dry point information includes a dry point slope; The step of obtaining dry point information of each sample dew point sensor of at least two sample dew point sensors includes: calculate: Among them, k is the dry point slope, R1 is the resistance value output by the sample dew point sensor at the third relative humidity, R2 is the resistance value output by the sample dew point sensor at the fourth relative humidity, the third relative humidity and the fourth relative humidity are both lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

5. The method according to claim 4, characterized in that The third relative humidity and the fourth relative humidity are both greater than 50%.

6. The method according to claim 1, characterized in that Determining the corresponding relationship between each sample resistance value output by the sample dew point sensor and the condensation alarm processing according to the sample relative humidity includes: When the sample relative humidity is less than a second relative humidity, determining that the condensation alarm processing corresponding to the sample resistance value is to cancel the condensation alarm; When the sample relative humidity is greater than a fifth relative humidity, determining that the condensation alarm process corresponding to the sample resistance value is to issue a condensation alarm; Wherein, the second relative humidity satisfies: when the relative humidity is less than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is greater than the second relative humidity, the condensation alarm is not cancelled; The fifth relative humidity satisfies: when the relative humidity is greater than the fifth relative humidity, a condensation alarm is issued, and when the relative humidity is less than the fifth relative humidity, no condensation alarm is issued.

7. The method according to claim 1, characterized in that The method of training an artificial neural network by taking the dry point information and the sample resistance of the at least two sample dew point sensors as input and the condensation alarm processing corresponding to the sample resistance as expected output includes: S1: selecting a training data from at least one training data, wherein each training data includes: dry point information of a sample dew point sensor, a sample resistance value output by the sample dew point sensor when the sample relative humidity is low, and condensation alarm processing corresponding to the sample resistance value; S2: Determine the distance between the sample resistance value in the currently selected training data and the dry point information; S3: inputting the dry point information, the sample resistance value, and the distance between the dry point information and the sample resistance value in the currently selected training data into the artificial neural network; S4: obtaining condensation alarm processing output by the artificial neural network; S5: adjusting the weights and biases in the artificial neural network according to the condensation alarm processing output by the artificial neural network and the condensation alarm processing in the training data; S6: Determine whether the accuracy of the condensation alarm processing output by the current artificial neural network is greater than the preset accuracy. If yes, execute S7; otherwise, return to S1; S7: Using the current artificial neural network as the trained artificial neural network.

8. The method according to any one of claims 1 to 7, characterized in that: The activation function of the neurons in the hidden layer (202) of the artificial neural network is f(x)=max(0,x); and / or, The activation function of the neurons in the output layer (203) of the artificial neural network is and / or, The artificial neural network comprises: an input layer (201), a hidden layer (202) and an output layer (203); The input layer (201) includes 2 or 3 neurons, the hidden layer (202) includes 2 or 3 neurons, and the output layer (203) includes 1 neuron.

9. A device for training an artificial neural network for condensation alarm processing, characterized in that: include: A first acquisition module (801) is used to acquire dry point information of each sample dew point sensor of at least two sample dew point sensors, wherein the dry point information is information of a resistance value output by the dew point sensor in the absence of condensation; A second acquisition module (802) is used to obtain the sample resistance value output by each of the sample dew point sensors when the sample relative humidity is low; A corresponding relationship determination module (803) is used to determine, for each of the sample dew point sensors, a corresponding relationship between each of the sample resistance values ​​output by the sample dew point sensor and the condensation alarm processing according to the sample relative humidity; The training module (804) is used to train an artificial neural network using the dry point information and the sample resistance values ​​of the at least two sample dew point sensors as input and the condensation alarm processing corresponding to the sample resistance values ​​as expected output.

10. The device according to claim 9, characterized in that The dry point information includes the dry point resistance value; The first acquisition module (801) is used to acquire the resistance value output by each of the sample dew point sensors at a first relative humidity, and use the resistance value as the dry point resistance value; The first relative humidity is lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

11. The device according to claim 9, characterized in that The dry point information includes a dry point slope; The first acquisition module (801) is used to calculate: Among them, k is the dry point slope, R1 is the resistance value output by the sample dew point sensor at the third relative humidity, R2 is the resistance value output by the sample dew point sensor at the fourth relative humidity, the third relative humidity and the fourth relative humidity are both lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

12. The device according to claim 9, characterized in that The corresponding relationship determination module (803) is used to determine that the condensation alarm processing corresponding to the sample resistance value is to cancel the condensation alarm when the sample relative humidity is less than the second relative humidity, and to determine that the condensation alarm processing corresponding to the sample resistance value is to issue a condensation alarm when the sample relative humidity is greater than the fifth relative humidity; Wherein, the second relative humidity satisfies: when the relative humidity is less than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is greater than the second relative humidity, the condensation alarm is not cancelled; The fifth relative humidity satisfies: when the relative humidity is greater than the fifth relative humidity, a condensation alarm is issued, and when the relative humidity is less than the fifth relative humidity, no condensation alarm is issued.

13. The device according to any one of claims 9 to 12, characterized in that: The activation function of the neurons in the hidden layer (202) of the artificial neural network is f(x)=max(0,x); and / or, The activation function of the neurons in the output layer (203) of the artificial neural network is and / or, The artificial neural network comprises: an input layer (201), a hidden layer (202) and an output layer (203); The input layer (201) includes 2 or 3 neurons, the hidden layer (202) includes 2 or 3 neurons, and the output layer (203) includes 1 neuron.

14. A condensation sensing device, characterized in that: include: A resistance value acquisition module (901), used to acquire the current resistance value output by the target dew point sensor under the current relative humidity; The condensation alarm determination module (902) is used to determine whether to issue or cancel the condensation alarm according to the dry point information of the target dew point sensor and the current resistance value.

15. The device according to claim 14, characterized in that The condensation alarm determination module (902) comprises: An input unit (9021) is used to input the dry point information of the target dew point sensor and the current resistance value into a pre-trained artificial neural network; The processing unit (9022) is used to perform condensation alarm processing according to the current output of the artificial neural network.

16. The device according to claim 15, characterized in that The artificial neural network comprises: an artificial neural network obtained by training with dry point information and sample resistance values ​​of at least two sample dew point sensors as input and condensation alarm processing corresponding to the sample resistance values ​​as expected output.

17. The device according to any one of claims 14 to 16, characterized in that: The dry point information includes: dry point resistance value; The dry point resistance value includes: the resistance value output by the dew point sensor at a first relative humidity; The first relative humidity is lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

18. The device according to any one of claims 14 to 16, characterized in that: The dry point information includes: dry point slope; The dry point slope satisfies the following formula: Wherein, k is the dry point slope, R1 is the resistance value output by the dew point sensor at the third relative humidity, R2 is the resistance value output by the dew point sensor at the fourth relative humidity, the third relative humidity and the fourth relative humidity are both lower than the second relative humidity, and the second relative humidity satisfies: when the relative humidity is lower than the second relative humidity, the condensation alarm is cancelled, and when the relative humidity is higher than the second relative humidity, the condensation alarm is not cancelled.

19. The device according to claim 15 or 16, characterized in that The activation function of the neurons in the hidden layer (202) of the artificial neural network is f(x)=max(0,x); and / or, The activation function of the neurons in the output layer (203) of the artificial neural network is and / or, The artificial neural network comprises: an input layer (201), a hidden layer (202) and an output layer (203); The input layer (201) includes 2 or 3 neurons, the hidden layer (202) includes 2 or 3 neurons, and the output layer (203) includes 1 neuron.

20. The device according to claim 17, characterized in that The activation function of the neurons in the hidden layer (202) of the artificial neural network is f(x)=max(0,x); and / or, The activation function of the neurons in the output layer (203) of the artificial neural network is and / or, The artificial neural network comprises: an input layer (201), a hidden layer (202) and an output layer (203); The input layer (201) includes 2 or 3 neurons, the hidden layer (202) includes 2 or 3 neurons, and the output layer (203) includes 1 neuron.

21. The device according to claim 18, characterized in that The activation function of the neurons in the hidden layer (202) of the artificial neural network is f(x)=max(0,x); and / or, The activation function of the neurons in the output layer (203) of the artificial neural network is and / or, The artificial neural network comprises: an input layer (201), a hidden layer (202) and an output layer (203); The input layer (201) includes 2 or 3 neurons, the hidden layer (202) includes 2 or 3 neurons, and the output layer (203) includes 1 neuron.

22. A computer readable medium, characterized in that The computer readable medium stores computer instructions, which, when executed by a processor, cause the processor to execute any one of the methods of claims 1-8.