Detailed Description
Reference will now be made in detail to embodiments of the present invention, examples of which are illustrated in the accompanying drawings, wherein like or similar reference numerals refer to the same or similar elements or elements having the same or similar function throughout. The embodiments described below with reference to the drawings are illustrative and intended to be illustrative of the invention and are not to be construed as limiting the invention.
A measurement error diagnosis method and apparatus of a sensor in an air conditioning system, and a computer-readable storage medium according to embodiments of the present invention will be described below with reference to the accompanying drawings.
Fig. 1 is a flowchart of a measurement error diagnosis method of a sensor in an air conditioning system according to an embodiment of the present invention. It should be noted that the method for diagnosing the measurement error of the sensor in the air conditioning system according to the embodiment of the present invention may be applied to the apparatus for diagnosing the measurement error of the sensor in the air conditioning system according to the embodiment of the present invention. The measurement error diagnosis apparatus may be configured in an air conditioning system. As an example, as shown in fig. 2, the air conditioning system may include a measurement error diagnosis device of an embodiment of the present invention, a chiller, a flow sensor F for measuring a water flow rate of the air conditioning system, and a temperature sensor T for measuring a temperature difference between inlet and outlet water.
As shown in fig. 1, the method for diagnosing a measurement error of a sensor in an air conditioning system may include:
s110, under the condition that the air conditioning system is in heat balance, obtaining power parameters of the air conditioning system, wherein the power parameters comprise water pump power.
Optionally, the air conditioning system may include a power sensor that may be used to collect various power parameters of the air conditioning system. That is, in the case where it is determined that the air conditioning system is in thermal equilibrium, various power parameters of the air conditioning system may be acquired by a power sensor in the air conditioning system. In an embodiment of the present invention, the power parameter may include a water pump power, such as a chilled water pump power and/or a cooling water pump power.
And S120, acquiring the current operation mode of the air conditioning system.
Optionally, the current operating parameters of the air conditioning system may be read to obtain the current operating mode of the air conditioning system. For example, the number of currently operating indoor units in the air conditioning system may be obtained, and the operating parameters (such as set temperature parameters, cooling mode, etc.) of each currently operating indoor unit may also be obtained.
And S130, acquiring a corresponding target relational expression from a pre-established balance relational expression library according to the current operation mode, wherein the target relational expression comprises a functional relation between the water quantity of the water pump and the power.
It should be noted that, in an embodiment of the present invention, the balance relational database may be pre-established in a manner of big data artificial intelligence analysis, and the balance relational database may include balance relational expressions in operation modes of various air conditioning systems. As an example, as shown in fig. 3, the balanced relational library may be pre-established by:
s310, obtaining multiple operation mode samples aiming at the air conditioning system;
optionally, various operating mode samples for the air conditioning system are collected by way of big data collection.
S320, acquiring the water pump power and water flow of the air conditioning system under each operation mode sample, and determining the functional relation between the water pump water flow and the power according to the water pump power and the water flow;
it should be noted that, in one embodiment of the present invention, the water pump power may include chilled water pump power and/or cooling water pump power; the functional relationship between the water pump water amount and the power can comprise a functional relationship between the frozen water pump water amount and the power and/or a functional relationship between the cooling water pump water amount and the power.
As an example, when the water pump power includes the chilled water pump power, and the functional relationship between the water pump water amount and the power includes the functional relationship between the chilled water pump water amount and the power, the cooling water pump power and the cooling water flow rate of the air conditioning system at each operation mode sample can be obtained, and the functional relationship between the cooling water pump water amount and the power can be determined according to the cooling water pump power and the cooling water flow rate. It can be understood that there is a certain functional relationship between the cooling water pump power and the cooling water flow rate, and for this reason, when the cooling water pump power and the cooling water flow rate are obtained for each operation mode sample, the functional relationship between the cooling water pump power and the cooling water flow rate can be found by analyzing these data.
As another example, when the water pump power includes the cooling water pump power, and the functional relationship between the water pump amount and the power includes a functional relationship between the water pump amount and the power, the chilled water pump power and the chilled water flow rate of the air conditioning system in each operation mode sample may be obtained, and the functional relationship between the chilled water pump amount and the power may be determined according to the chilled water pump power and the chilled water flow rate. It can be understood that there is a certain functional relationship between the chilled water pump power and the chilled water flow, and for this reason, when the chilled water pump power and the chilled water flow under each operation mode sample are obtained, the functional relationship between the chilled water pump power and the chilled water flow can be found by analyzing these data.
S330, acquiring energy, water inlet and outlet temperature difference and error parameters generated by the air conditioning system under each operation mode sample; wherein the error parameter is indicative of a temperature difference error value used to ensure that the calculated energy balance produced by the air conditioning system at each operating mode sample remains within a target range. In addition, the energy generated in each operation mode sample comprises the cooling capacity and the heat release capacity generated in each operation mode sample; the water inlet and outlet temperature difference comprises a chilled water inlet and outlet temperature difference and a cooling water inlet and outlet temperature difference.
Optionally, the inlet water temperature of the chilled water, the outlet water temperature of the chilled water, the inlet water temperature of the cooling water and the outlet water temperature of the cooling water under each operation mode sample are collected through a temperature sensor in the air conditioning system, the inlet water temperature and the outlet water temperature of the chilled water are calculated according to the inlet water temperature of the chilled water and the outlet water temperature of the chilled water, and the inlet water temperature and the outlet water temperature of the cooling water are calculated according to the inlet water temperature and the outlet water temperature of the cooling water.
In this step, when the chilled water inlet and outlet water temperature difference and the cooling water inlet and outlet water temperature difference of the air conditioning system under each operation mode sample are obtained, the refrigerating capacity and the heat release capacity of the air conditioning system under each operation mode sample can be collected in a big data collection mode, and the temperature difference value used when the energy (including the refrigerating capacity and the heat release capacity) balance generated by the air conditioning system under each operation mode sample is kept within a target range is calibrated through the collected refrigerating capacity, heat release capacity and other data.
S340, determining coefficient parameters according to the generated energy, the temperature difference of inlet and outlet water, the water quantity of a water pump and the functional relation of power for each operation mode sample; it should be noted that, in an embodiment of the present invention, the generated energy may include a cooling capacity and a heat release capacity, the water inlet and outlet temperature difference includes a chilled water inlet and outlet temperature difference and a cooling water inlet and outlet temperature difference, and the functional relationship between the water amount of the water pump and the power may include a functional relationship between the water amount of the chilled water pump and the power, and a functional relationship between the water amount of the cooling water pump and the power.
As an example, when the generated energy is a refrigeration capacity, the water inlet and outlet temperature difference is a chilled water inlet and outlet temperature difference, and the functional relationship between the water pump water amount and the power is a functional relationship between the chilled water pump water amount and the power, for each operation mode sample, a first coefficient parameter may be determined according to the generated refrigeration capacity, the chilled water inlet and outlet temperature difference, and the chilled water pump water amount and the power, where the first coefficient parameter is used to indicate a coefficient value used when the calculated refrigeration capacity balance of the air conditioning system in the current operation mode is kept within a first target range. For example, for each operation mode sample, the functional relationship f (P) of the amount of the chilled water pump water and the power can be determined according to the generated refrigerating capacity, the temperature difference delta T of the chilled water inlet and outlet water and the function relationship f (P) of the chilled water pump water amount and the powerFreezing pump) Determining the first coefficient parameter by the following formula:
refrigerating capacity (A) delta TTemperature difference between inlet and outlet of freezing water*f(PFreezing pump) (1)
That is, the coefficient value a (i.e., the first coefficient parameter) used for indicating that the calculated cooling capacity balance of the air conditioning system in the current operation mode is kept within a certain range can be calculated by the above equation (1) according to the functional relationship among the cooling capacity, the temperature difference between the inlet and outlet of the chilled water, and the amount of water pumped by the chilled water and the power.
As another example, when the generated energy is a heat release amount, the water inlet/outlet temperature difference is a cooling water inlet/outlet temperature difference, and the functional relationship between the water pump water amount and the power is a functional relationship between the water pump water amount and the power, for each operation mode sample, a second coefficient parameter may be determined according to the generated heat release amount, the cooling water inlet/outlet temperature difference, and the functional relationship between the water pump water amount and the power, where the second coefficient parameter is used to indicate a coefficient value used when the calculated heat release amount balance of the air conditioning system in the current operation mode is kept within a second target range. For example, for each operation mode sample, the functional relationship f (P) of the water quantity and the power of the cooling water pump can be determined according to the generated heat release quantity, the temperature difference delta T of the inlet and the outlet of the cooling water and the functional relationship of the water quantity and the power of the cooling water pumpFreezing pump) Determining the second coefficient parameter by the following formula:
heat release rate (B × Δ T)Temperature difference between inlet and outlet of cooling water*f(PFreezing pump) (2)
That is, the coefficient value B (i.e., the second coefficient parameter) used for indicating that the calculated heat release balance of the air conditioning system in the current operation mode is kept within a certain range can be calculated by the above equation (2) according to the functional relationship among the cooling capacity, the temperature difference between the inlet and outlet of the chilled water, and the amount of water pumped by the chilled water and the power.
And S350, establishing the balance relational expression library according to the coefficient parameters, the functional relation of the water quantity and the power of the water pump and the error parameters under each operation mode sample.
Therefore, parameters such as cooling water pump power, cooling water flow, freezing water pump power, freezing water flow, refrigerating capacity, heat release quantity, freezing water inlet and outlet water temperature difference and cooling water inlet and outlet water temperature difference of the air conditioning system under various operation mode samples are collected, and the big data are analyzed based on artificial intelligence to obtain a first coefficient parameter, a second coefficient parameter, a functional relation between freezing water pump water quantity and power, a functional relation between cooling water pump water quantity and power and an error parameter, which meet a balance equation, so that a balance relational database under various operation modes is formed.
And S140, calculating the current water flow in the air conditioning system according to the power of the water pump and the functional relation between the water quantity of the water pump and the power.
Optionally, on the premise that the functional relationship between the water pump power and the water pump water volume and power of the air conditioning system is known, the current water flow in the air conditioning system can be calculated according to the functional relationship between the water pump power and the water pump water volume and power.
It should be noted that, in the embodiment of the present invention, the water pump in the air conditioning system is divided into the cooling water pump and the chilled water pump, and therefore, when calculating the current water flow of the air conditioning system, the water pump is also divided into the chilled water flow and the cooling water flow. Optionally, in one embodiment of the invention, the water pump power may comprise chilled water pump power and/or cooling water pump power; the functional relationship between the water pump water amount and the power can comprise a functional relationship between the frozen water pump water amount and the power and/or a functional relationship between the cooling water pump water amount and the power.
In an embodiment of the present invention, when the water pump power includes the chilled water pump power, and the functional relationship between the water pump water amount and the power includes the functional relationship between the chilled water pump water amount and the power, the specific implementation process of calculating the current water flow rate in the air conditioning system according to the water pump power and the functional relationship between the water pump water amount and the power may be as follows: calculating the current chilled water flow in the air conditioning system according to the chilled water pump power and the functional relation between the chilled water pump water volume and the power;
when the water pump power includes the cooling water pump power, and the functional relationship between the water pump water amount and the power includes the functional relationship between the water pump water amount and the power, the specific implementation process of calculating the current water flow rate in the air conditioning system according to the water pump power and the functional relationship between the water pump water amount and the power may be as follows: and calculating the current cooling water flow in the air conditioning system according to the power of the cooling water pump and the functional relation between the water quantity and the power of the cooling water pump.
S150, comparing the current water flow obtained by calculation with the water flow obtained by actual measurement of a flow sensor in the air conditioning system to judge whether the flow sensor has a measurement error.
Optionally, the flow sensor is used for acquiring water flow of the air conditioning system to measure chilled water flow and cooling water flow of the air conditioning system, and comparing the calculated current water flow (such as the current chilled water flow and the current cooling water flow) with the chilled water flow and the cooling water flow obtained by actual measurement, and determining whether an error exists in data measured by the flow sensor according to a comparison result. For example, when the difference between the calculated current water flow and the water flow measured by the flow sensor is greater than a certain threshold, it may be determined that the current flow sensor has a measurement error.
According to the method for diagnosing the measurement error of the sensor in the air conditioning system, the power parameter of the air conditioning system is obtained under the condition that the air conditioning system is determined to be in thermal balance, wherein the power parameter comprises the power of the water pump, the corresponding target relational expression is obtained from a pre-established balance relational expression library according to the current operation mode of the air conditioning system, the target relational expression comprises the functional relation between the water quantity of the water pump and the power, the current water flow in the air conditioning system is calculated according to the functional relation between the power of the water pump and the water quantity and the power of the water pump, the calculated current water flow is compared with the water flow actually measured by the flow sensor in the air conditioning system in size to judge whether the flow sensor has the measurement error or not, the diagnosis of the measurement error of the flow sensor is realized, so that the subsequent calibration and correction are carried out on the flow sensor generating the measurement error, and ensuring that the corrected flow sensor can be normally used.
Fig. 4 is a flowchart of a measurement error diagnosis method of a sensor in an air conditioning system according to an embodiment of the present invention. In order to ensure that the flow sensor can be normally used, reduce the frequency of replacing the flow sensor and reduce the cost, in the embodiment of the invention, the flow sensor generating the measurement error can be subjected to subsequent calibration correction. Specifically, as shown in fig. 4, the method for diagnosing a measurement error of a sensor in an air conditioning system may include:
s410, under the condition that the air conditioning system is determined to be in heat balance, obtaining power parameters of the air conditioning system, wherein the power parameters comprise water pump power.
And S420, acquiring the current operation mode of the air conditioning system.
And S430, acquiring a corresponding target relational expression from a pre-established balance relational expression library according to the current operation mode, wherein the target relational expression comprises a functional relation between the water quantity of the water pump and the power.
And S440, calculating the current water flow in the air conditioning system according to the functional relation between the water pump power and the water pump water quantity and the power.
It should be noted that, in an embodiment of the present invention, the water pump power may include a chilled water pump power and/or a cooling water pump power; the functional relationship between the water pump water amount and the power can comprise a functional relationship between the frozen water pump water amount and the power and/or a functional relationship between the cooling water pump water amount and the power.
As an example, when the water pump power includes the chilled water pump power, and the functional relationship between the water pump water amount and the power includes the functional relationship between the chilled water pump water amount and the power, the specific implementation process of calculating the current water flow rate in the air conditioning system according to the water pump power and the functional relationship between the water pump water amount and the power may be as follows: and calculating the current flow of the chilled water in the air conditioning system according to the power of the chilled water pump and the functional relationship between the water quantity and the power of the chilled water pump.
As another example, when the water pump power includes the cooling water pump power, and the functional relationship between the water pump water amount and the power includes the functional relationship between the cooling water pump water amount and the power, the specific implementation process of calculating the current water flow rate in the air conditioning system according to the water pump power and the functional relationship between the water pump water amount and the power may be as follows: and calculating the current cooling water flow in the air conditioning system according to the power of the cooling water pump and the functional relation between the water quantity and the power of the cooling water pump.
And S450, comparing the current water flow obtained by calculation with the water flow obtained by actual measurement of a flow sensor in the air conditioning system to judge whether the flow sensor has a measurement error.
It should be noted that, in an embodiment of the present invention, the implementation manners of the steps S410 to S450 can refer to the description of the implementation manners of the steps S110 to S150, and are not described herein again.
And S460, when the flow sensor is judged to have a measurement error, correcting the acquisition value of the flow sensor according to the calculated current water flow.
Optionally, a difference between the calculated current water flow and a water flow actually measured by a flow sensor in the air conditioning system is determined, the difference can be used as an error to be calibrated, and the acquired value of the flow sensor is corrected according to the error to be calibrated.
And S470, controlling the air conditioning system according to the corrected flow sensor acquisition value.
Optionally, after the collection value of the flow sensor generating the measurement error is corrected, the air conditioning system may be controlled according to the corrected collection value of the flow sensor, so as to implement parameter display and control of the system by using the corrected collection value of the flow sensor.
According to the method for diagnosing the measurement error of the sensor in the air-conditioning system, after the acquisition value of the flow sensor generating the measurement error is corrected, the air-conditioning system can be controlled according to the corrected acquisition value of the flow sensor, so that the corrected acquisition value of the sensor is involved in parameter display and control of the system, the intelligent detection of the faults of the sensor by the whole system is realized, the algorithm of the system can replace part of the sensors, the sensors are corrected on line in real time, and the function of providing redundant sensing by the algorithm is formed.
It should be noted that, in an embodiment of the present invention, the target relation may further include a coefficient parameter and an error parameter, the coefficient parameter is used to indicate a coefficient value used to ensure that the calculated energy balance generated by the air conditioning system in the current operation mode is kept within a target range, and the error parameter is used to indicate a temperature difference error value used to ensure that the calculated energy balance generated by the air conditioning system in the current operation mode is kept within a target range.
In order to implement the diagnosis of the measurement error of the temperature sensor and the diagnosis of the small temperature difference under the condition of small temperature difference, optionally, in an embodiment of the present invention, the measurement error diagnosis method may further include: the method comprises the steps of obtaining water flow obtained by actually measuring a flow sensor, obtaining inlet and outlet water temperature difference obtained by actually measuring a temperature sensor in the air conditioning system, calculating an energy reference value generated by the air conditioning system according to a coefficient parameter, the water flow obtained by actually measuring and the inlet and outlet water temperature difference obtained by actually measuring, calculating the current inlet and outlet water temperature difference of the air conditioning system according to the energy reference value, the current water flow obtained by calculation, the coefficient parameter and an error parameter, and comparing the current inlet and outlet water temperature difference obtained by calculation with the inlet and outlet water temperature difference obtained by actually measuring to judge whether the temperature sensor has a measurement error.
As an example, when the water flow measured by the flow sensor is the chilled water flow, the chilled water inlet and outlet temperature difference measured by the temperature sensor in the air conditioning system may be obtained, and according to the first coefficient parameter, the chilled water flow measured by the measurement, and the chilled water inlet and outlet temperature difference measured by the measurement, the following formula is used: the refrigerating capacity is 4.187 the refrigerating inlet and outlet water temperature difference is a first coefficient parameter, the refrigerating capacity reference value generated by the air conditioning system is calculated, the current refrigerating inlet and outlet water temperature difference of the air conditioning system is calculated according to the calculated refrigerating capacity reference value, the calculated refrigerating water flow, the first coefficient parameter and the error parameter, the calculated current refrigerating inlet and outlet water temperature difference is compared with the actually measured refrigerating inlet and outlet water temperature difference, for example, when the difference between the calculated current refrigerating inlet and outlet water temperature difference and the actually measured refrigerating inlet and outlet water temperature difference is larger than a certain threshold value, the fact that errors exist in the measured data of the temperature sensor can be judged.
As another example, when the water flow measured by the flow sensor is obtained as the cooling water flow, the cooling water inlet and outlet temperature difference measured by the temperature sensor in the air conditioning system may be obtained, and according to the second coefficient parameter, the cooling water flow measured by the measurement, and the cooling water inlet and outlet temperature difference measured by the measurement, the following formula is used: the method comprises the steps of calculating a reference value of heat release generated by the air conditioning system, calculating cooling water flow, a second coefficient parameter and an error parameter according to the calculated reference value of the heat release, the calculated cooling water flow, the calculated second coefficient parameter and the error parameter, calculating the current cooling water inlet and outlet temperature difference of the air conditioning system, and comparing the calculated current cooling water inlet and outlet temperature difference with the actually measured cooling water inlet and outlet temperature difference, for example, when the difference between the calculated current cooling water inlet and outlet temperature difference and the actually measured cooling water inlet and outlet temperature difference is greater than a certain threshold value, judging that an error exists in measurement data of the temperature sensor.
Optionally, in an embodiment of the present invention, when it is determined that the temperature sensor has a measurement error, the collected value of the temperature sensor is corrected according to the calculated current temperature difference between the inlet water and the outlet water, and the air conditioning system is controlled according to the corrected collected value of the temperature sensor.
That is, when the difference between the current water inlet and outlet temperature difference obtained by calculation and the cooling water inlet and outlet temperature difference obtained by actual measurement is determined, the difference can be used as an error to be calibrated, the acquired value of the temperature sensor is corrected according to the error to be calibrated, and the air conditioning system is controlled according to the corrected acquired value of the temperature sensor, so that the corrected acquired value of the sensor is used for participating in parameter display and control of the system.
In order to enable the user to more intuitively know that the sensor in the air conditioning system needs to be replaced, optionally, in an embodiment of the present invention, when the measurement error of the flow sensor exceeds a first preset threshold, and/or the measurement error of the temperature sensor exceeds a second preset threshold, a prompt message is generated and an alarm is given.
That is, when the measurement error of the flow sensor exceeds the first preset threshold, and/or the measurement error of the temperature sensor exceeds the second preset threshold, corresponding prompt information may be generated and provided to the user, for example, in a text display or display lamp display manner, and an alarm may be given through an alarm or alarm lamp, so that the user can more intuitively know which sensors in the air conditioning system need to be replaced.
For example, as shown in a data diagram in fig. 5, when the measurement error diagnosis method according to the embodiment of the present invention is used for comparing the obtained diagnosis calculation value with the actual measurement value under the condition of 1.7 degrees (with an error of 0.36 degrees, the error is relatively large) of the small temperature difference between the cooling water flow rate machine and the chilled water, it can be seen that the measurement error diagnosis method according to the embodiment of the present invention can intelligently diagnose and correct the parameters of the flow rate sensor and the temperature sensor, the energy balance rate of the cooling water side and the chilled water side of the whole refrigeration system is greatly improved, and the high-precision diagnosis is realized.
Corresponding to the methods for diagnosing the measurement error of the sensor in the air conditioning system provided in the above embodiments, an embodiment of the present invention further provides a device for diagnosing the measurement error of the sensor in the air conditioning system, and since the device for diagnosing the measurement error of the sensor in the air conditioning system provided in the embodiment of the present invention corresponds to the methods for diagnosing the measurement error of the sensor in the air conditioning system provided in the above embodiments, the embodiments of the method for diagnosing the measurement error of the sensor in the air conditioning system described above are also applicable to the device for diagnosing the measurement error of the sensor in the air conditioning system provided in this embodiment, and will not be described in detail in this embodiment. Fig. 6 is a schematic configuration diagram of a measurement error diagnosis apparatus of a sensor in an air conditioning system according to an embodiment of the present invention. As shown in fig. 6, the measurement error diagnosis apparatus 600 of a sensor in an air conditioning system may include: a power parameter acquisition module 610, an operation mode acquisition module 620, a relational expression acquisition module 630, a water flow calculation module 640, and a first measurement error detection module 650.
Specifically, the power parameter obtaining module 610 is configured to obtain a power parameter of the air conditioning system when it is determined that the air conditioning system is in a thermal balance, where the power parameter includes a water pump power.
The operation mode obtaining module 620 is configured to obtain a current operation mode of the air conditioning system.
The relation obtaining module 630 is configured to obtain a corresponding target relation from a pre-established balance relation library according to the current operation mode, where the target relation includes a functional relation between the water amount of the water pump and the power.
The water flow calculation module 640 is configured to calculate a current water flow in the air conditioning system according to the power of the water pump and a functional relationship between the water amount of the water pump and the power. It should be noted that, in an embodiment of the present invention, the water pump power may include chilled water pump power and/or cooling water pump power, and the functional relationship between the water pump amount and the power may include a functional relationship between the chilled water pump amount and the power, and/or a functional relationship between the cooling water pump amount and the power. As an example, when the water pump power includes the chilled water pump power, and the functional relationship between the water pump water amount and the power includes the functional relationship between the chilled water pump water amount and the power, the water flow calculating module 640 is specifically configured to: and calculating the current flow of the chilled water in the air conditioning system according to the power of the chilled water pump and the functional relationship between the water quantity and the power of the chilled water pump.
As another example, when the water pump power includes the cooling water pump power, and the functional relationship between the water pump water amount and the power includes the functional relationship between the cooling water pump water amount and the power, the water flow calculating module 640 is specifically configured to: and calculating the current cooling water flow in the air conditioning system according to the power of the cooling water pump and the functional relation between the water quantity and the power of the cooling water pump.
The first measurement error detection module 650 is configured to compare the calculated current water flow with a water flow actually measured by a flow sensor in the air conditioning system to determine whether the flow sensor has a measurement error.
It should be noted that, in an embodiment of the present invention, the target relation may further include a coefficient parameter and an error parameter, the coefficient parameter is used to indicate a coefficient value used to ensure that the calculated energy balance generated by the air conditioning system in the current operation mode is kept within a target range, and the error parameter is used to indicate a temperature difference error value used to ensure that the calculated energy balance generated by the air conditioning system in the current operation mode is kept within a target range. In an embodiment of the present invention, as shown in fig. 7, the measurement error diagnosis apparatus 600 may further include: a water flow rate obtaining module 660, a water inlet and outlet temperature difference obtaining module 670, an energy reference value calculating module 680, a water inlet and outlet temperature difference calculating module 690, and a second measurement error detecting module 6100.
The water flow obtaining module 660 is configured to obtain water flow obtained by actual measurement of the flow sensor;
the water inlet and outlet temperature difference acquisition module 670 is used for acquiring the water inlet and outlet temperature difference obtained by the actual measurement of a temperature sensor in the air conditioning system;
the energy reference value calculating module 680 is configured to calculate an energy reference value generated by the air conditioning system according to the coefficient parameter, the water flow rate obtained through the actual measurement, and the water inlet and outlet temperature difference obtained through the actual measurement;
the water inlet and outlet temperature difference calculation module 690 is configured to calculate a current water inlet and outlet temperature difference of the air conditioning system according to the energy reference value, the calculated current water flow, the calculated coefficient parameter, and the calculated error parameter;
the second measurement error detection module 6100 is configured to compare the current water inlet and outlet temperature difference obtained through calculation with the water inlet and outlet temperature difference obtained through actual measurement, so as to determine whether the temperature sensor has a measurement error.
In order to ensure that the flow sensor can be used normally, reduce the number of times the flow sensor is replaced, and reduce the cost, optionally, in an embodiment of the present invention, as shown in fig. 8, the measurement error diagnosis apparatus 600 may further include: a first correction module 6110 and a first control module 6120. The first correcting module 6110 is configured to correct the acquired value of the flow sensor according to the calculated current water flow when it is determined that the flow sensor has a measurement error; the first control module 6120 is configured to control the air conditioning system according to the corrected flow sensor acquisition value.
In order to ensure that the temperature sensor can be used normally, reduce the number of times of replacing the temperature sensor, and reduce the cost, optionally, in an embodiment of the present invention, as shown in fig. 9, the measurement error diagnosis apparatus 600 may further include: a second correction module 6130 and a second control module 6140. The second correcting module 6130 is configured to correct the acquired value of the temperature sensor according to the calculated current water inlet and outlet temperature difference when it is determined that the temperature sensor has a measurement error; the second control module 6140 is configured to control the air conditioning system according to the corrected acquired value of the temperature sensor.
In order to make the user more intuitively understand that the sensor in the air conditioning system needs to be replaced, optionally, in an embodiment of the present invention, as shown in fig. 10, the measurement error diagnosis apparatus 600 may further include: alarm module 6150. The alarm module 6150 is configured to generate a prompt message and alarm when the measurement error of the flow sensor exceeds a first preset threshold, and/or the measurement error of the temperature sensor exceeds a second preset threshold.
It should be noted that, in an embodiment of the present invention, the balance relational database may be pre-established in a manner of big data artificial intelligence analysis, and the balance relational database may include balance relational expressions in operation modes of various air conditioning systems. Alternatively, in an embodiment of the present invention, as shown in fig. 11, the measurement error diagnosis apparatus 600 may further include: an establishing module 6160, configured to establish the balance relational library in advance. In an embodiment of the present invention, as shown in fig. 11, the establishing module 6160 may include: a first acquiring unit 6161, a second acquiring unit 6162, a third acquiring unit 6163, a determining unit 6164 and a establishing unit 6165.
The first obtaining unit 6161 is configured to obtain multiple operation mode samples for the air conditioning system;
the second obtaining unit 6162 is configured to obtain water pump power and water flow of the air conditioning system in each operation mode sample, and determine a functional relationship between the water pump water flow and the power according to the water pump power and the water flow;
the third obtaining unit 6163 is configured to obtain energy, a temperature difference between inlet and outlet water, and an error parameter generated by the air conditioning system in each operation mode sample;
the determining unit 6164 is configured to determine a coefficient parameter according to the functional relationship between the generated energy, the temperature difference between the water inlet and the water outlet, the water amount of the water pump, and the power for each operation mode sample;
the establishing unit 6165 is configured to establish the balance relational database according to the coefficient parameter, the functional relationship between the water amount of the water pump and the power, and the error parameter in each operation mode sample.
According to the measurement error diagnosis device of the sensor in the air conditioning system, under the condition that the air conditioning system is determined to be in thermal balance, the power parameter of the air conditioning system is obtained, wherein the power parameter comprises the power of the water pump, the corresponding target relational expression is obtained from the pre-established balance relational expression library according to the current operation mode of the air conditioning system, the target relational expression comprises the functional relation between the water quantity of the water pump and the power, the current water flow in the air conditioning system is calculated according to the functional relation between the power of the water pump and the water quantity and the power of the water pump, the calculated current water flow is compared with the water flow actually measured by the flow sensor in the air conditioning system in size to judge whether the flow sensor has a measurement error or not, the diagnosis of the measurement error of the flow sensor is realized, so that the subsequent calibration and correction are carried out on the flow sensor generating the measurement error, and ensuring that the corrected flow sensor can be normally used.
In order to realize the embodiment, the invention further provides an air conditioning system.
Fig. 12 is a schematic structural diagram of an air conditioning system according to an embodiment of the present invention. As shown in fig. 12, the air conditioning system 1200 may include a memory 1210, a processor 1220 and a computer program 1230 stored in the memory 1210 and running on the processor 1220, and when the processor 1220 executes the computer program 1230, the method for diagnosing the measurement error of the sensor in the air conditioning system according to any of the above embodiments of the present invention is implemented.
In order to achieve the above embodiments, the present invention also proposes a non-transitory computer-readable storage medium having stored thereon a computer program which, when executed by a processor, implements a measurement error diagnosis method for a sensor in an air conditioning system according to any of the above embodiments of the present invention.
In the description of the present invention, it is to be understood that the terms "first", "second" and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implying any number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include at least one such feature. In the description of the present invention, "a plurality" means at least two, e.g., two, three, etc., unless specifically limited otherwise.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
Any process or method descriptions in flow charts or otherwise described herein may be understood as representing modules, segments, or portions of code which include one or more executable instructions for implementing specific logical functions or steps of the process, and alternate implementations are included within the scope of the preferred embodiment of the present invention in which functions may be executed out of order from that shown or discussed, including substantially concurrently or in reverse order, depending on the functionality involved, as would be understood by those reasonably skilled in the art of the present invention.
The logic and/or steps represented in the flowcharts or otherwise described herein, e.g., an ordered listing of executable instructions that can be considered to implement logical functions, can be embodied in any computer-readable medium for use by or in connection with an instruction execution system, apparatus, or device, such as a computer-based system, processor-containing system, or other system that can fetch the instructions from the instruction execution system, apparatus, or device and execute the instructions. For the purposes of this description, a "computer-readable medium" can be any means that can contain, store, communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. More specific examples (a non-exhaustive list) of the computer-readable medium would include the following: an electrical connection (electronic device) having one or more wires, a portable computer diskette (magnetic device), a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber device, and a portable compact disc read-only memory (CDROM). Additionally, the computer-readable medium could even be paper or another suitable medium upon which the program is printed, as the program can be electronically captured, via for instance optical scanning of the paper or other medium, then compiled, interpreted or otherwise processed in a suitable manner if necessary, and then stored in a computer memory.
It should be understood that portions of the present invention may be implemented in hardware, software, firmware, or a combination thereof. In the above embodiments, the various steps or methods may be implemented in software or firmware stored in memory and executed by a suitable instruction execution system. For example, if implemented in hardware, as in another embodiment, any one or combination of the following techniques, which are known in the art, may be used: a discrete logic circuit having a logic gate circuit for implementing a logic function on a data signal, an application specific integrated circuit having an appropriate combinational logic gate circuit, a Programmable Gate Array (PGA), a Field Programmable Gate Array (FPGA), or the like.
It will be understood by those skilled in the art that all or part of the steps carried by the method for implementing the above embodiments may be implemented by hardware related to instructions of a program, which may be stored in a computer readable storage medium, and when the program is executed, the program includes one or a combination of the steps of the method embodiments.
In addition, functional units in the embodiments of the present invention may be integrated into one processing module, or each unit may exist alone physically, or two or more units are integrated into one module. The integrated module can be realized in a hardware mode, and can also be realized in a software functional module mode. The integrated module, if implemented in the form of a software functional module and sold or used as a stand-alone product, may also be stored in a computer readable storage medium.
The storage medium mentioned above may be a read-only memory, a magnetic or optical disk, etc. Although embodiments of the present invention have been shown and described above, it is understood that the above embodiments are exemplary and should not be construed as limiting the present invention, and that variations, modifications, substitutions and alterations can be made to the above embodiments by those of ordinary skill in the art within the scope of the present invention.