Valve control method and system, storage medium and control valve
Through a valve control method, the parameter input operation and test parameters are used to generate the test curve, which solves the problem that existing technology cannot obviously display the performance of the valve, and realizes the intuitive display and comparison of the valve performance.
Patent Information
- Application Number
- CN202411446541.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-16
- Publication Date
- 2025-01-28
AI Technical Summary
The prior art cannot visually demonstrate the performance of the valve, and it is difficult to directly observe and compare the valve opening and flow changes through traditional methods.
Through a valve control method, the parameter input operation sets the valve opening degree, and reads the test parameters such as returning water, system energy consumption, water outlet, and valve opening. The performance of the valve.
The intuitive display of valve performance is achieved. Users can compare the opening and flow changes of the valve by testing the curve conveniently to help users organize the performance report of the valve.
Smart Images

Figure CN119373924A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of valve technology, and in particular to a valve control method, system, intelligent terminal and storage medium. Background Art
[0002] Valves are control components in fluid delivery systems and have functions such as shutoff, regulation, flow diversion, backflow prevention, pressure stabilization, flow diversion or overflow pressure relief.
[0003] When controlling a valve, the related technology will obtain the fluid flow rate entering the valve and the fluid flow rate that the valve needs to output in advance. Then, the valve opening is set according to the difference between the two fluid flow rates. After the opening is set, it is detected whether the fluid flow rate actually output by the valve is the same as the set output fluid flow rate, and whether the opening needs to be adjusted is determined based on the results of the above detection.
[0004] With respect to the above-mentioned related technologies, the inventor believes that the related technologies cannot intuitively demonstrate the performance of the valve. Summary of the invention
[0005] In order to intuitively demonstrate the performance of a valve, the present application provides a valve control method, system, storage medium and control valve.
[0006] In a first aspect, the present application provides a valve control method, which adopts the following technical solution: A valve control method, the method comprising: In response to the parameter input operation, setting the valve opening of the test valve according to the input parameter; Read the test parameters, including the return water temperature of the test valve, system energy consumption, water flow rate and valve opening; Generate a test curve according to the test parameters. The test curve is used to represent the curve of the test parameters changing with time. The test curve includes a return water temperature test curve of the test valve, a system energy consumption test curve, a water flow test curve and a valve opening test curve; Displays the test curve.
[0007] By adopting the above technical solution, after obtaining the parameter input operation, the valve opening of the test valve is set according to the input parameters, and various test parameters of the test valve are read. After that, the test curve is generated and displayed according to the test parameters. Different test curves can be generated according to needs, and the test curves can be displayed to the user for easy observation by the user.
[0008] Optionally, in response to a parameter input operation, the opening of the control valve is set according to the input parameter; Reading a control parameter, the control parameter including at least one of a return water temperature of a control valve, system energy consumption, an outlet water flow rate, and a valve opening; Generate a control curve according to the control parameter, the control curve is used to represent the curve of the control parameter changing with time, and the control curve includes a control curve of the return water temperature of the control valve, a control curve of the system energy consumption, a control curve of the outlet water flow rate and a control curve of the valve opening; Display control curve; Compare the test curve with the control curve to obtain a performance report of the test valve.
[0009] By adopting the above technical solution, multiple control curves of the control valve can be generated, and a performance report of the test valve can be generated according to the control curve and the test curve. It is not only convenient for the user to directly compare the test valve and the control through the test curve and the control curve, but also can help the user to sort out the performance of the test valve relative to the control valve.
[0010] Optionally, obtaining an abnormal interval in the test curve or the control curve according to the performance report; Identify the target time period corresponding to the abnormal interval; Find the target valve opening corresponding to the target time period in the valve opening test curve; Adjusting the test environment and the valve opening of the test valve according to the target valve opening, the test environment is used to simulate the working conditions of the valve, and the test environment includes at least one of the ambient temperature, the water inlet flow rate, the water inlet pressure and the type of the fluid medium; Update the test curve and control curve.
[0011] By adopting the above technical solution, the abnormal interval in the test curve can be identified, and the target valve opening can be obtained through the abnormal interval. The test environment and the valve opening of the test valve can be further adjusted so that the test valve can be tested under other test environments. The performance of the test valve in different test environments can be obtained, and more performance and parameters of the test valve can be obtained.
[0012] Optionally, reducing the rate of change of the target valve opening; The target valve opening is used as the valve opening of the test valve; When the test environment includes an ambient temperature, adjusting the ambient temperature so that the ambient temperature is greater than a preset upper temperature limit or the ambient temperature is less than a preset lower temperature limit; When the test environment includes water inlet flow, the water inlet flow is controlled so that the water inlet flow changes periodically; When the test environment includes water inlet pressure, the water inlet pressure is controlled so that the water inlet pressure varies periodically; In the case where the test environment includes the type of fluid medium, the type of the fluid medium is controlled so that the type of the fluid medium changes periodically.
[0013] By adopting the above technical solution, the test environment can be adjusted from multiple angles, and the valve opening of the test valve can be adjusted, so that the valve opening change rate of the test valve is reduced, making it easier for users to observe the test curve of the test valve.
[0014] Optionally, determining whether the updated test curve produces periodic changes; If not, updating the performance report of the test valve so that the stability of the performance report is greater than a first preset value; If so, obtaining the control cycle amplitude of the updated control curve and the test cycle amplitude of the updated test curve; Compare the control cycle amplitude with the test cycle amplitude; If the control cycle amplitude is greater than the test cycle amplitude, updating the performance report of the test valve so that the stability of the performance report is less than a first preset value; If the control cycle amplitude is smaller than the test cycle amplitude, the performance report of the test valve is updated so that the stability of the performance report is greater than a first preset value.
[0015] By adopting the above technical solution, the stability of the test valve is determined by comparing the test curves before and after the update, and the stability of the performance report is determined by further comparing the control cycle amplitude of the updated control curve and the test cycle amplitude of the updated test curve.
[0016] Optionally, the valve opening of the test valve is adjusted with reference to the valve opening comparison curve; Regenerate the test curve according to the adjusted valve opening of the test valve; Determine whether the similarity between the test curve and the control curve is greater than a preset similarity threshold; If so, keep the performance report unchanged; If not, when the discreteness of the test curve is less than that of the control curve, the performance report is updated so that the consistency in the performance report is greater than the second preset value; when the discreteness of the test curve is greater than the discreteness of the control curve, the performance report is updated so that the consistency in the performance report is less than the second preset value.
[0017] By adopting the above technical solution, the test valve is operated according to the valve opening of the control valve, which facilitates comparison of the performance difference between the test valve and the control valve under the same operating conditions.
[0018] Optionally, according to the difference between the test curve and the control curve, a parameter difference between the test valve and the control valve is obtained; Generate an opening-control parameter curve of the control valve according to the valve opening control curve and the control curve; According to the opening-control parameter curve and parameter difference, the opening-test parameter curve of the test valve is adjusted; With reference to the control curve, adjust the valve opening of the test valve according to the test valve opening-test parameter curve.
[0019] By adopting the above technical scheme, the opening-test parameter curve of the test valve is generated according to the opening-control parameter curve and parameter difference of the control valve, and the valve opening of the test valve is adjusted according to the opening-test parameter curve, thereby providing a method for quantitatively calculating the valve opening of the test valve.
[0020] In a second aspect, the present application provides a valve control system, which adopts the following technical solution: A valve control system includes: an acquisition module for acquiring parameter input operation, test parameters, control parameters, abnormal intervals, and test environments; A memory for storing a program of any of the above valve control methods; The program in the memory can be loaded and executed by the processor to implement any of the above valve control methods.
[0021] By adopting the above technical solution, after obtaining the parameter input operation, the valve opening of the test valve is set according to the input parameters, and various test parameters of the test valve are read. After that, the test curve is generated and displayed according to the test parameters. Different test curves can be generated according to needs, and the test curves can be displayed to the user for easy observation by the user.
[0022] In a third aspect, the present application provides a computer storage medium capable of storing corresponding programs, which is convenient for intuitively displaying the performance of the valve, and adopts the following technical solutions: A computer-readable storage medium stores a computer program that can be loaded by a processor and execute any of the above-mentioned valve control methods.
[0023] By adopting the above technical solution, after obtaining the parameter input operation, the valve opening of the test valve is set according to the input parameters, and various test parameters of the test valve are read. After that, the test curve is generated and displayed according to the test parameters. Different test curves can be generated according to needs, and the test curves can be displayed to the user for easy observation by the user.
[0024] In a fourth aspect, the present application provides a control valve, which adopts the following technical solution: A control valve comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and execute any one of the above valve control methods.
[0025] By adopting the above technical solution, after obtaining the parameter input operation, the valve opening of the test valve is set according to the input parameters, and various test parameters of the test valve are read. After that, the test curve is generated and displayed according to the test parameters. Different test curves can be generated according to needs, and the test curves can be displayed to the user for easy observation by the user.
[0026] In summary, the present application includes at least one of the following beneficial technical effects: 1. After obtaining the parameter input operation, set the valve opening of the test valve according to the input parameters, and read the various test parameters of the test valve. Then, generate and display the test curve according to the test parameters. Different test curves can be generated according to needs, and the test curves can be displayed to the user for easy observation; 2. Multiple control curves of the control valve can be generated, and a performance report of the test valve can be generated based on the control curve and the test curve. It is not only convenient for users to directly compare the test valve and the control through the test curve and the control curve, but also can help users to sort out the performance of the test valve relative to the control valve; 3. The abnormal interval in the test curve can be identified, and the target valve opening can be obtained through the abnormal interval. The test environment and the valve opening of the test valve can be further adjusted so that the test valve can be tested under other test environments. The performance of the test valve in different test environments can be obtained, and more performance and parameters of the test valve can be obtained. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is a schematic diagram of a control valve disclosed in an embodiment of the present application.
[0028] Figure 2 It is a schematic diagram of a control valve system disclosed in an embodiment of the present application.
[0029] Figure 3 It is a flow chart of a valve control method disclosed in an embodiment of the present application.
[0030] Figure 4 It is a flow chart of a valve control method disclosed in an embodiment of the present application.
[0031] Figure 5 It is a flow chart of a valve control method disclosed in an embodiment of the present application.
[0032] Figure 6 It is a flow chart of a valve control method disclosed in an embodiment of the present application.
[0033] Figure 7 It is a flow chart of a valve control method disclosed in an embodiment of the present application.
[0034] Figure 8It is a flow chart of a valve control method disclosed in an embodiment of the present application.
[0035] Fig. 9 It is a flow chart of a valve control method disclosed in an embodiment of the present application.
[0036] Fig.10 It is a structural schematic diagram of a valve control system disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0037] In order to make the purpose, technical solutions and advantages of this application more clear, the following Figure 1-10 It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0038] The present application embodiment discloses a control valve. Figure 1 The control valve includes a valve 1, a control device 2 and a control terminal 3.
[0039] The valve 1 includes a valve body and a valve core. The valve body is the main structural component of the valve 1, responsible for carrying the fluid and providing a flow channel, while the valve core is a key component for regulating the flow of the fluid, controlling the opening and flow rate of the fluid through the valve 1. The valve core contacts the valve seat, and by changing the position of the valve core in the valve body, the fluid can be opened, closed or regulated.
[0040] The control device 2 is used to control the opening of the valve 1. For example, the control device 2 can control the position of the valve core in the valve body to control the opening of the valve 1. For example, the control device 2 can control the length of the valve core exposed from the valve body to adjust the opening of the valve 1. For another example, the control device 2 can rotate the valve stem on the valve core to adjust the opening of the valve 1.
[0041] The control terminal 3 is connected to the control device 2 by wired connection or wireless connection. For example, the control terminal 3 can send a control instruction to the control device 2, so that the control device 2 adjusts the opening of the valve 1 according to the control instruction.
[0042] Furthermore, a sensing device is also provided on the valve 1, and the sensing device includes a flow meter, a temperature sensor, a position sensor and a pressure sensor. The sensing device is connected to the control device 2, so that the sensing device can transmit the data read by the sensing device to the control device 2.
[0043] Furthermore, the control valve can be used in civil equipment or industrial equipment. Taking civil equipment as an example, please refer to Figure 2 , Figure 2A control valve system of an embodiment of the present application is disclosed. The water inlet of the control valve 21 is used to receive water, and the water outlet of the control valve 21 is connected to the FCU 22 (Fan Coil Unit) of the air conditioning system, and the FCU 22 is used to heat or cool the water provided by the control valve. When the energy consumption of the FCU 22 is constant, the control valve can adjust the fluid flow entering the FCU 22 to adjust the water temperature output by the FCU 22. Optionally, the FCU 22 is also connected to the control device 2, and the FCU can provide the control device 2 with a working voltage and a working current, so that the control device 2 can calculate the actual power of the FCU 22.
[0044] The present application discloses a valve control method, which can be applied to Figure 2 The control valve system shown in FIG. 1 corresponds to the test valve in this embodiment. Figure 3 , the valve control method comprises: Step S31: In response to the parameter input operation, the valve opening of the test valve is set according to the input parameters.
[0045] The parameter input operation is used to enter input parameters into the control terminal.
[0046] The input parameters include at least one of system energy consumption, return water temperature, outlet water pressure, valve opening, and outlet water flow rate. The system energy consumption refers to the power consumption of the FCU. The return water temperature refers to the temperature of the water output by the FCU.
[0047] Optionally, the control terminal calculates the valve opening of the test valve and sends the valve opening to the control device; the control device adjusts the valve opening of the test valve according to the valve opening sent by the control terminal.
[0048] Exemplarily, if the input parameter is system energy consumption, the total energy required to heat water from the inlet water temperature to the return water temperature is calculated based on the inlet water temperature and the return water temperature; the ratio of the total energy to the system consumption is calculated to obtain the heating time; the water outlet flow rate of the test valve is obtained based on the ratio of the total length of the FCU heating pipeline to the heating time; the water outlet flow rate is converted into the water outlet flow rate; and the valve opening of the test valve is obtained based on the ratio of the KVS (flow coefficient) value of the test valve to the water outlet flow rate.
[0049] Exemplarily, if the input parameter is the water outlet flow rate, the valve opening of the test valve is obtained according to the ratio of the KVS value of the test valve to the water outlet flow rate.
[0050] Step S32: Read the test parameters, which include the return water temperature of the test valve, system energy consumption, water flow rate and valve opening.
[0051] Optionally, a sensor is provided in the control valve system, and the sensor is used to measure the test parameter.
[0052] Exemplarily, the sensor comprises a temperature sensor, and the temperature sensor is used to measure the return water temperature of the test valve.
[0053] Exemplarily, the sensor includes a voltage sensor and a current sensor. The voltage sensor is used to measure the operating voltage of the FCU, and the current sensor is used to measure the operating current of the FCU. Based on the product of the operating voltage and the operating current, the system energy consumption of the test valve can be obtained.
[0054] Exemplarily, the sensor includes a flow meter, and the flow meter is used to measure the water outflow rate and water inflow rate of the test valve.
[0055] Exemplarily, the sensor includes a position sensor, which is used to measure the current length of the valve core exposed from the valve body, and then obtain the valve opening of the measuring valve based on the current length and the length of the valve core exposed from the valve body when the test valve is fully opened.
[0056] Step S33: Generate a test curve according to the test parameters. The test curve is used to represent the curve of the test parameters changing with time. The test curve includes a return water temperature test curve of the test valve, a system energy consumption test curve, a flow test curve and a valve opening test curve.
[0057] Optionally, the test parameters are read in real time, and a timestamp corresponding to the test parameters is recorded; a test curve is generated with the timestamp as the horizontal axis and the test parameters as the vertical axis.
[0058] Optionally, the test parameters are read once every preset time period, and the timestamp corresponding to the test parameters is recorded; discrete test parameters are generated with the timestamp as the horizontal axis and the test parameters as the vertical axis; and the discrete test parameters are fitted to obtain a test curve.
[0059] Step S34: Display the test curve.
[0060] The test curve is displayed on the control terminal so that the user or technician can obtain the test parameters in real time. Optionally, the test curve can be displayed in real time on the control terminal, that is, each time the test parameters are obtained, the new test parameters will be displayed on the test curve. Optionally, the test curve will be displayed on the control terminal after the drawing is completed, that is, only the test curve within a time period will be displayed each time, and the new test parameters will not be reflected in the test curve in real time.
[0061] In summary, after obtaining the parameter input operation, the valve opening of the test valve is set according to the input parameters, and the various test parameters of the test valve are read. After that, the test curve is generated and displayed according to the test parameters. Different test curves can be generated according to needs, and the test curves can be displayed to the user for easy observation by the user.
[0062] In the following embodiments, a control curve of the control valve can also be obtained at the same time, and the difference between the test curve and the control curve can be compared to obtain a performance report of the test valve. Figure 2 The control valve system shown in FIG. 1 corresponds to the control valve in this embodiment. Figure 4 , the valve control method comprises: Step S401: In response to a parameter input operation, the opening of a control valve is set according to the input parameters.
[0063] The parameter input operation is used to enter input parameters into the control terminal.
[0064] The input parameters include at least one of system energy consumption, return water temperature, outlet water pressure, valve opening, and outlet water flow rate.
[0065] Optionally, the control terminal calculates the valve opening of the control valve and sends the valve opening to the control device; the control device adjusts the valve opening of the control valve according to the valve opening sent by the control terminal.
[0066] Step S402: reading control parameters, where the control parameters include at least one of the return water temperature, system energy consumption, flow rate and valve opening of the control valve.
[0067] Optionally, a sensor is provided in the control valve system, and the sensor is used to measure the test parameter. Exemplarily, the sensor includes at least one of a temperature sensor, a voltage sensor, a current sensor, a flow meter, and a position sensor.
[0068] Step S403: Generate a control curve based on the control parameters. The control curve is used to represent the curve of the control parameters changing with time. The control curve includes a return water temperature control curve of the control valve, a system energy consumption control curve, a system energy consumption control curve, a water outlet flow control curve and a valve opening control curve.
[0069] Optionally, the control parameter is read in real time, and a timestamp corresponding to the control parameter is recorded; a control curve is generated with the timestamp as the horizontal axis and the control parameter as the vertical axis.
[0070] Optionally, the control parameter is read once every preset time period, and the timestamp corresponding to the control parameter is recorded; discrete control parameters are generated with the timestamp as the horizontal axis and the control parameter as the vertical axis; and the discrete control parameters are fitted to obtain a control curve.
[0071] Step S404: Display the control curve.
[0072] The control curve is displayed on the control terminal so that users or technicians can obtain the control parameters in real time.
[0073] Step S405: Compare the test curve and the control curve to obtain a performance report of the test valve.
[0074] Optionally, compare the curve trends of the return water temperature test curve and the return water temperature control curve. If the curve trends of the return water temperature test curve and the return water temperature control curve are the same, then use the return water temperature control curve as a reference to determine whether there is an abnormal protrusion or abnormal depression in the return water temperature test curve, wherein the extreme value corresponding to the abnormal protrusion or abnormal depression is greater than the preset extreme value; if there is, then add the stability of the test valve less than the stability of the control valve in the performance report according to the abnormal protrusion or abnormal depression; if not, then add the stability of the test valve not less than the stability of the control valve in the performance report. If the curve trends of the return water temperature test curve and the return water temperature control curve are different, the performance of the test valve cannot be estimated through the control valve, and the control valve needs to be replaced.
[0075] Optionally, compare the curve trends of the system energy consumption test curve and the system energy consumption control curve. If the curve trends of the system energy consumption test curve and the system energy consumption control curve are the same, then use the system energy consumption control curve as a reference to determine whether there is an abnormal protrusion or abnormal depression in the system energy consumption test curve, wherein the extreme value corresponding to the abnormal protrusion or abnormal depression is greater than the preset extreme value; if there is, then add the stability of the test valve less than the stability of the control valve in the performance report according to the abnormal protrusion or abnormal depression; if not, then add the stability of the test valve not less than the stability of the control valve in the performance report. If the curve trends of the system energy consumption test curve and the system energy consumption control curve are different, the performance of the test valve cannot be estimated through the control valve, and the control valve needs to be replaced.
[0076] Optionally, compare the curve trends of the water outlet flow test curve and the water outlet flow control curve. If the curve trends of the water outlet flow test curve and the water outlet flow control curve are the same, then use the water outlet flow control curve as a reference to determine whether there is an abnormal protrusion or abnormal depression in the water outlet flow test curve, wherein the extreme value corresponding to the abnormal protrusion or abnormal depression is greater than the preset extreme value; if there is, then add the stability of the test valve less than the stability of the control valve in the performance report according to the abnormal protrusion or abnormal depression; if not, then add the stability of the test valve not less than the stability of the control valve in the performance report. If the curve trends of the water outlet flow test curve and the water outlet flow control curve are different, the performance of the test valve cannot be estimated through the control valve, and the control valve needs to be replaced.
[0077] Optionally, compare the curve trends of the valve opening test curve and the valve opening control curve. If the curve trends of the valve opening test curve and the valve opening control curve are the same, use the valve opening control curve as a reference to determine whether there is an abnormal protrusion or abnormal depression in the valve opening test curve, wherein the extreme value corresponding to the abnormal protrusion or abnormal depression is greater than the preset extreme value; if there is, add the stability of the test valve less than the stability of the control valve in the performance report according to the abnormal protrusion or abnormal depression; if not, add the stability of the test valve not less than the stability of the control valve in the performance report. If the curve trends of the valve opening test curve and the valve opening control curve are different, the performance of the test valve cannot be estimated through the control valve, and the control valve needs to be replaced.
[0078] In summary, multiple control curves of the control valve can be generated, and a performance report of the test valve can be generated based on the control curves and the test curves. This not only facilitates the user to directly compare the test valve and the control through the test curves and the control curves, but also helps the user to organize the performance of the test valve relative to the control valve.
[0079] In the following examples, Figure 4 In the embodiment shown, after obtaining the performance report of the test valve, the abnormal interval can be obtained through the performance report, and the test environment can be adjusted according to the abnormal interval, thereby updating the test curve and the control curve to obtain the performance of the test valve and the control valve under different test environments. Figure 5 , the valve control method comprises: Step S501: Obtain an abnormal interval in a test curve or a control curve according to a performance report.
[0080] Exemplarily, if the stability of the test valve in the performance report is less than that of the control valve, then the abnormal interval is searched in the test curve; if the stability of the test valve in the performance report is not less than that of the control valve, then the abnormal interval is searched in the control curve.
[0081] Optionally, the abnormal interval is a peak curve or a valley curve existing in the test curve compared to the control curve, and the maximum value of the peak curve is greater than a preset constant, or the minimum value of the valley curve is less than a preset constant.
[0082] Optionally, the abnormal interval is a peak curve or a valley curve existing in the control curve compared to the test curve, and the maximum value of the peak curve is greater than a preset constant, or the minimum value of the valley curve is less than a preset constant.
[0083] Step S502: Identify the target time period corresponding to the abnormal interval.
[0084] Exemplarily, two time endpoints corresponding to the abnormal interval are determined, and the target time period is set based on the two time endpoints.
[0085] Exemplarily, two time endpoints corresponding to the abnormal interval are determined. The difference between the smaller value of the time endpoint and the preset deviation is calculated to obtain the first time period endpoint. The sum of the larger value of the time endpoint and the preset deviation is calculated to obtain the second time period endpoint. The target time period is set according to the first time period endpoint and the second time period endpoint.
[0086] Step S503: searching the valve opening test curve for the target valve opening corresponding to the target time period.
[0087] The target valve opening is a curve in the valve opening test curve. That is, the target valve opening records the mapping relationship between time and the valve opening of the test valve.
[0088] Step S504: adjusting the test environment and the valve opening of the test valve according to the target valve opening, the test environment is used to simulate the working conditions of the valve, and the test environment includes at least one of the ambient temperature, water inlet flow, water inlet pressure and fluid medium type.
[0089] Ambient temperature refers to the temperature of the environment in which the test valve and the control valve are located. Ambient temperature affects the sealing and operability of the valve, so when testing the valve, it is necessary to consider the impact of ambient temperature on the valve.
[0090] The inlet flow rate refers to the flow rate of fluid entering the test valve and the reference valve.
[0091] The inlet pressure is the pressure of the fluid entering the test valve and the reference valve.
[0092] The type of fluid medium refers to the type of fluid passing through the test valve and the control valve. Optionally, the type of fluid medium includes gas, liquid and gas-liquid mixture.
[0093] For more details, please refer to Figure 6 The embodiment shown.
[0094] Step S505: Update the test curve and the control curve.
[0095] For the steps to update the test curve and control curve, please refer to Figure 3 The embodiments shown will not be described in detail here.
[0096] In summary, the abnormal interval in the test curve can be identified, and the target valve opening can be obtained through the abnormal interval. The test environment and the valve opening of the test valve can be further adjusted so that the test valve can be tested under other test environments. The performance of the test valve in different test environments can be obtained, and more performance and parameters of the test valve can be obtained.
[0097] In the following embodiments, in the process of testing the test valve, in order to clarify the possible problems of the test valve, the performance of the test valve can be further tested by changing the test environment and the rate of change of the valve opening of the test valve. Figure 6 , the valve control method comprises: Step S601: Reduce the rate of change of the target valve opening.
[0098] Optionally, the change rate of the target valve opening is reduced proportionally, for example, the change rate of the target valve opening is reduced to 60%.
[0099] It should be noted that after reducing the change rate of the target valve opening, the peak or valley value of the target valve opening will not change.
[0100] Step S602: taking the target valve opening as the valve opening of the test valve.
[0101] After the target valve opening is used as the valve opening of the test valve, the target valve opening can be stretched on the time axis due to the reduction in the rate of change, thereby reflecting more detailed content in the target valve opening.
[0102] Step S603: When the test environment includes the ambient temperature, adjust the ambient temperature so that the ambient temperature is greater than a preset upper temperature limit or the ambient temperature is less than a preset lower temperature limit.
[0103] The preset temperature upper limit and the preset temperature lower limit are related to the preset usage scenario of the test valve. For example, if the test valve is preset to be used in a household water heater, the preset temperature lower limit is set to 0 degrees and the preset temperature upper limit is set to 100 degrees.
[0104] Step S604: When the test environment includes water inlet flow, control the water inlet flow so that the water inlet flow changes periodically.
[0105] Exemplarily, the water inlet flow rate of the test valve is changed every preset period. For example, the water inlet flow rate changes from 0 to 30 L / min every 30 seconds, and then changes from 30 L / min to 0 after another 30 seconds.
[0106] Step S605: When the test environment includes water inlet pressure, control the water inlet pressure so that the water inlet pressure changes periodically.
[0107] Exemplarily, the water inlet pressure of the test valve is changed every preset period, for example, the water inlet pressure changes from 100 kPa to 500 kPa every 45 seconds, and then changes from 500 kPa to 100 kPa after another 45 seconds.
[0108] Step S606: When the test environment includes the type of fluid medium, control the type of fluid medium so that the type of fluid medium changes periodically.
[0109] Exemplarily, the type of the fluid medium of the test valve is changed every preset period. For example, the type of the fluid medium changes from liquid water to water vapor every 5 minutes, and then changes from water vapor to liquid water every 5 minutes.
[0110] In summary, the test environment can be adjusted from multiple angles, and the valve opening of the test valve can be adjusted to reduce the valve opening change rate of the test valve, making it easier for users to observe the test curve of the test valve.
[0111] In the following embodiments, after the test environment is updated, the test curve and the control curve will also change, so the stability of the test valve can be judged by observing the test curves before and after the update. For this purpose, the embodiment of the present application discloses a valve control method. Figure 7 , the valve control method comprises: Step S701: Determine whether the updated test curve has periodic changes.
[0112] If the updated test curve produces periodic changes, execute step S703; If the updated test curve does not produce periodic changes, step S702 is executed.
[0113] Optionally, before determining whether the updated test curve generates periodic changes, the updated test curve may be smoothed to reduce interference of noise on the determination of periodic changes.
[0114] Step S702: If not, update the performance report of the test valve so that the stability of the performance report is greater than a first preset value.
[0115] The first preset value is set based on the stability of the control valve.
[0116] In a specific embodiment, the control valve is a ball valve, which has no adjustment capability. Therefore, when the inlet flow rate changes, the outlet flow rate of the control valve will also change with the inlet flow rate.
[0117] Step S703: If yes, then obtain the control cycle amplitude of the updated control curve and the test cycle amplitude of the updated test curve.
[0118] The control cycle amplitude refers to the average of the extreme value differences of the vertical coordinate value of the updated control curve in each cycle. Taking the control curve as the water flow control curve as an example, the updated water flow control curve has periodicity, and its maximum value in one cycle is 20L / min and the minimum value is 10L / min, then the extreme value difference is 10L / min, and then it is necessary to calculate the average of the extreme value differences of all cycles to obtain the test cycle amplitude.
[0119] The test cycle amplitude refers to the average of the extreme value differences of the vertical coordinate values of the updated test curve in each cycle.
[0120] Step S704: Compare the control cycle amplitude with the test cycle amplitude.
[0121] If the control cycle amplitude is greater than the test cycle amplitude, step S705 is executed; If the control cycle amplitude is smaller than the test cycle amplitude, step S706 is executed.
[0122] Step S705: If the control cycle amplitude is greater than the test cycle amplitude, the performance report of the test valve is updated so that the stability of the performance report is less than a first preset value.
[0123] When the control cycle amplitude is larger than the test cycle amplitude, it means that the test valve is more susceptible to the test environment than the control valve. Therefore, the stability of the test valve is worse than that of the control valve. Therefore, the stability in the performance report is set to be less than the first preset value.
[0124] Step S706: If the control cycle amplitude is smaller than the test cycle amplitude, the performance report of the test valve is updated so that the stability of the performance report is greater than a first preset value.
[0125] When the control cycle amplitude is smaller than the test cycle amplitude, it means that the test valve is less susceptible to the test environment than the control valve. Therefore, the stability of the test valve is better than that of the control valve. Therefore, the stability in the performance report is set to be greater than the first preset value.
[0126] In summary, the stability of the test valve is determined by comparing the test curves before and after the update, and the stability of the performance report is determined by further comparing the control cycle amplitude of the updated control curve and the test cycle amplitude of the updated test curve.
[0127] In the following embodiments, the valve opening of the test valve can also be set to be consistent with the valve opening of the control valve, so that the test valve and the control valve are tested under exactly the same conditions, which is conducive to determining the difference between the test valve and the control valve to determine whether the test valve can replace the control valve to work. The embodiment of the present application discloses a valve control method. Figure 8, the valve control method comprises: Step S801: adjusting the valve opening of the test valve with reference to the valve opening comparison curve.
[0128] In this embodiment, the test valve and the control valve need to be tested under the same conditions, so it is also necessary to ensure that the valve opening of the test valve is consistent with the valve opening of the control valve, and measure other test parameters to clarify the difference between the test valve and the control valve. Therefore, the valve opening comparison curve of the control valve is directly used as the valve opening of the test valve.
[0129] Step S802: regenerate the test curve according to the adjusted valve opening of the test valve.
[0130] Please refer to the procedure for regenerating the test curve. Figure 3 The embodiments shown will not be described in detail here.
[0131] Step S803: determining whether the similarity between the test curve and the control curve is greater than a preset similarity threshold.
[0132] If the similarity between the test curve and the control curve is greater than the preset similarity threshold, step S804 is executed; If the similarity between the test curve and the control curve is not greater than the preset similarity threshold, step S805 is executed.
[0133] Similarity is a measure of how similar the test curve is to the control curve in shape and / or trend. Similarity can be calculated using Euclidean distance or dynamic time warping.
[0134] Step S804: If yes, keep the performance report unchanged.
[0135] When the similarity between the test curve and the control curve is greater than a preset similarity threshold, it indicates that the performance of the test valve is close to that of the control valve, and the content in the performance report does not need to be changed.
[0136] Step S805: If not, then in the case where the discreteness of the test curve is less than the discreteness of the control curve, the performance report is updated so that the consistency in the performance report is greater than a second preset value.
[0137] The consistency is used to indicate the replaceability of the test valve relative to the control valve. The second preset value is set according to the control valve. If the consistency of the test valve is greater than the second preset value, it means that the test valve can replace the control valve to work. If the consistency of the test valve is less than the second preset value, it means that the test valve cannot replace the control valve to work.
[0138] When the similarity between the test curve and the control curve is less than a preset similarity threshold, if the discreteness of the test curve is less than that of the control curve, it means that the test curve is better than the control curve in performance, so the test valve can replace the control valve.
[0139] Step S806: When the discreteness of the test curve is greater than the discreteness of the control curve, the performance report is updated so that the consistency in the performance report is less than a second preset value.
[0140] When the similarity between the test curve and the control curve is less than the preset similarity threshold, if the discreteness of the test curve is greater than that of the control curve, it means that the test curve has poorer performance than the control curve, so the test valve is difficult to replace the control valve.
[0141] In summary, making the test valve operate according to the valve opening of the control valve facilitates comparison of the performance difference between the test valve and the control valve under the same operating conditions.
[0142] In the following embodiments, when the test valve is working, the parameter difference between the test valve and the control valve can be determined according to the difference between the test curve and the control curve, and the opening-control parameter curve of the control valve can be converted into the opening-test parameter curve of the test valve according to the parameter difference. The valve opening of the test valve is controlled by the opening-test parameter curve, so that the test valve can output the ideal test parameters. The embodiment of the present application discloses a valve control method. Fig. 9 , the valve control method comprises: Step S901: Obtain the parameter difference between the test valve and the control valve according to the difference between the test curve and the control curve.
[0143] The parameter difference is used to represent the relationship, trend and change between the test curve and the control curve. Optionally, the difference between the test curve and the control curve is calculated by Euclidean distance or dynamic time warping to obtain the parameter difference.
[0144] Exemplarily, the difference between the test curve and the control curve at each point is calculated, and the average of the differences at all points is taken as the parameter difference between the test valve and the control valve.
[0145] Exemplarily, the time axes of the test curve and the control curve are nonlinearly aligned to obtain the similarity between the test curve and the control curve, and the similarity is used as the parameter difference.
[0146] Step S902: Generate an opening-control parameter curve of the control valve according to the valve opening control curve and the control curve.
[0147] Exemplarily, points with the same time in the valve opening control curve and the control curve (the control curves in this step include the return water temperature control curve, the system energy consumption control curve and the outlet water flow control curve) are obtained, and a corresponding relationship is established for the vertical coordinates of the obtained points; the opening-control parameter curve of the control valve is drawn according to the corresponding relationship.
[0148] Step S903: adjusting the opening-test parameter curve of the test valve according to the opening-control parameter curve and the parameter difference.
[0149] The method for obtaining the opening degree-test parameter curve of the test valve is similar to the method for obtaining the opening degree-test parameter curve of the control valve. Exemplarily, the points with the same time in the valve opening test curve and the test curve (the test curve in this step includes the return water temperature test curve, the system energy consumption test curve and the outlet water flow test curve) are obtained, and a corresponding relationship is established for the ordinates of the obtained points; the first opening degree-test parameter curve of the control valve is drawn according to the corresponding relationship.
[0150] Exemplarily, the data in the opening degree-test parameter curve is updated according to the parameter difference to obtain a second opening degree-test parameter curve of the test valve.
[0151] Exemplarily, the mean values of the points on the first opening-test parameter curve and the second opening-test parameter curve are calculated to obtain the opening-test parameter curve of the test valve.
[0152] Step S904: Using the control curve as a reference, the valve opening of the test valve is adjusted according to the test valve opening-test parameter curve.
[0153] With the control curve as a reference, the valve opening of the test valve is adjusted according to the test valve opening-test parameter curve, so that the test curve of the test valve can be close to the control curve.
[0154] In summary, the opening-test parameter curve of the test valve is generated according to the opening-control parameter curve and parameter difference of the control valve, and the valve opening of the test valve is adjusted according to the opening-test parameter curve, which provides a method for quantitatively calculating the valve opening of the test valve.
[0155] Based on the same inventive concept, the embodiment of the present application provides a valve control system, including: The acquisition module 1001 is used to acquire parameter input operation, test parameters, control parameters, abnormal intervals, and test environment; A memory 1002, used to store a program of the valve control method of any one of the above embodiments; Processor 1003, the program in the memory can be loaded and executed by the processor to implement the valve control method of any one of the above embodiments.
[0156] In summary, after obtaining the parameter input operation, the valve opening of the test valve is set according to the input parameters, and the various test parameters of the test valve are read. After that, the test curve is generated and displayed according to the test parameters. Different test curves can be generated according to needs, and the test curves can be displayed to the user for easy observation by the user.
[0157] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0158] An embodiment of the present application provides a computer-readable storage medium storing a computer program that can be loaded by a processor and execute a valve control method.
[0159] Computer storage media include, for example, various media that can store program codes, such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks or optical disks.
[0160] Based on the same inventive concept, an embodiment of the present application provides an intelligent terminal, including a memory and a processor, wherein the memory stores a computer program that can be loaded by the processor and execute a valve control method.
[0161] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. The specific working process of the system, device and unit described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here.
[0162] The above are all preferred embodiments of the present application, and are not intended to limit the protection scope of the present application. Any feature disclosed in this specification (including the abstract and drawings), unless otherwise stated, can be replaced by other equivalent or alternative features with similar purposes. That is, unless otherwise stated, each feature is only an example of a series of equivalent or similar features.
Claims
1. A valve control method, characterized in that: The method comprises: In response to the parameter input operation, setting the valve opening of the test valve according to the input parameter; Reading test parameters, wherein the test parameters include return water temperature, system energy consumption, water flow rate and valve opening of the test valve; Generate a test curve according to the test parameters, the test curve is used to represent the curve of the test parameters changing with time, the test curve includes a return water temperature test curve of the test valve, a system energy consumption test curve, a water flow test curve and a valve opening test curve; The test curve is displayed.
2. The valve control method according to claim 1, characterized in that: The method further comprises: In response to the parameter input operation, setting the opening of the control valve according to the input parameter; Reading a control parameter, wherein the control parameter includes at least one of a return water temperature, a system energy consumption, an outlet water flow rate, and a valve opening of the control valve; Generate a control curve according to the control parameter, the control curve is used to represent the curve of the control parameter changing with time, the control curve includes a return water temperature control curve of the control valve, a system energy consumption control curve, an outlet water flow control curve and a valve opening control curve; displaying the control curve; The test curve is compared with the control curve to obtain a performance report of the test valve.
3. The valve control method according to claim 2, characterized in that: The method further comprises: Acquire an abnormal interval in the test curve or the control curve according to the performance report; Identify a target time period corresponding to the abnormal interval; Searching the valve opening test curve for the target valve opening corresponding to the target time period; adjusting a test environment and a valve opening of the test valve according to the target valve opening, wherein the test environment is used to simulate a working condition of the valve, and the test environment includes at least one of an ambient temperature, a water inlet flow rate, a water inlet pressure, and a type of a fluid medium; The test curve and the control curve are updated.
4. The valve control method according to claim 3, characterized in that: The step of adjusting the test environment and the valve opening of the test valve according to the target valve opening comprises: reducing the rate of change of the target valve opening; Using the target valve opening as the valve opening of the test valve; In the case where the test environment includes the ambient temperature, adjusting the ambient temperature so that the ambient temperature is greater than a preset upper temperature limit or the ambient temperature is less than a preset lower temperature limit; When the test environment includes the water inlet flow rate, controlling the water inlet flow rate so that the water inlet flow rate changes periodically; In a case where the test environment includes the water inlet pressure, controlling the water inlet pressure so that the water inlet pressure changes periodically; In the case where the test environment includes the fluid medium type, the fluid medium type is controlled so that the fluid medium type changes periodically.
5. The valve control method according to claim 4, characterized in that: The method further comprises: Determine whether the updated test curve produces periodic changes; If not, updating the performance report of the test valve so that the stability of the performance report is greater than a first preset value; If so, obtaining the control cycle amplitude of the updated control curve and the test cycle amplitude of the updated test curve; comparing the control cycle amplitude with the test cycle amplitude; If the control cycle amplitude is greater than the test cycle amplitude, updating the performance report of the test valve so that the stability of the performance report is less than the first preset value; If the control cycle amplitude is smaller than the test cycle amplitude, the performance report of the test valve is updated so that the stability of the performance report is greater than the first preset value.
6. The valve control method according to claim 2, characterized in that: The method further comprises: Using the valve opening control curve as a reference, adjusting the valve opening of the test valve; regenerating the test curve according to the adjusted valve opening of the test valve; Determining whether the similarity between the test curve and the control curve is greater than a preset similarity threshold; If yes, keep the performance report unchanged; If not, when the discreteness of the test curve is smaller than the discreteness of the control curve, the performance report is updated so that the consistency in the performance report is greater than a second preset value; when the discreteness of the test curve is greater than the discreteness of the control curve, the performance report is updated so that the consistency in the performance report is less than the second preset value.
7. The valve control method according to claim 6, characterized in that: The method further comprises: According to the difference between the test curve and the control curve, obtaining the parameter difference between the test valve and the control valve; generating an opening-control parameter curve of the control valve according to the valve opening control curve and the control curve; adjusting the opening-test parameter curve of the test valve according to the opening-control parameter curve and the parameter difference; The control curve is used as a reference, and the valve opening of the test valve is adjusted according to the opening-test parameter curve of the test valve.
8. A valve control system, characterized in that: include: The acquisition module is used to obtain parameter input operations, test parameters, control parameters, abnormal intervals, and test environments; A memory for storing a program of the valve control method according to any one of claims 1 to 7; The program in the memory can be loaded and executed by the processor to implement the valve control method according to any one of claims 1 to 7.
9. A computer-readable storage medium, characterized in that: A computer program is stored which can be loaded by a processor and execute the valve control method according to any one of claims 1 to 7.
10. A control valve, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program which can be loaded by the processor and executes the valve control method according to any one of claims 1 to 7.