Solenoid valve control method and device, main control unit and storage medium
By monitoring and controlling the solenoid valves in the high-pressure micro-mist humidification system in real time, the problem of damage caused by uneven use frequency of solenoid valves was solved, ensuring the stable operation of the system and the accuracy of process parameters.
Patent Information
- Application Number
- CN202511205962.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-27
- Publication Date
- 2025-11-11
AI Technical Summary
In high-pressure micro-mist humidification systems, uneven usage frequency of solenoid valves can lead to prolonged use of some valves, causing them to become easily damaged and affecting the temperature and humidity process parameters in the workshop.
By acquiring real-time detection data for each solenoid valve, the target valve combination is determined based on real-time demand load, cumulative runtime, and detection data. The opening of the solenoid valves is then controlled to achieve balanced usage frequency for each solenoid valve, reducing damage caused by long-term use.
This achieves balanced use of solenoid valves, ensuring the accuracy and stability of temperature and humidity process parameters in the workshop, reducing damage to solenoid valves, and meeting the operating requirements of high-pressure micro-mist humidification systems.
Smart Images

Figure CN120926565A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of electronic control, and more particularly to a control method, device, main control unit, and storage medium for a solenoid valve. Background Technology
[0002] A high-pressure micro-mist humidification system is a system that atomizes pressurized water through high-pressure resistant pipelines and specialized nozzles, allowing it to rapidly absorb heat from the air, vaporize, and diffuse, thereby achieving the purpose of air humidification and cooling. In the water distribution unit of a high-pressure micro-mist humidification system, some pipelines are equipped with solenoid valves. The opening and closing of these solenoid valves allows the high-pressure micro-mist humidification system to control the humidification output, that is, to randomly control the water pressure in the pipelines equipped with the solenoid valves based on the pressurization load demand.
[0003] However, in actual operating conditions, to ensure the total water pressure meets the load requirements, some solenoid valves are kept in continuous use, and only the remaining solenoid valves are adjusted to regulate the load. Therefore, under current conditions, the usage frequency of each solenoid valve is uneven, which can easily cause frequently used solenoid valves to burn out, thus affecting the temperature and humidity process parameters of the workshop. Summary of the Invention
[0004] This invention provides a control method, device, main control unit, and storage medium for a solenoid valve, which can reduce the rapid damage caused by prolonged use of a solenoid valve due to excessive use.
[0005] According to one aspect of the present invention, a method for controlling a solenoid valve is provided. A high-pressure micro-mist humidification system includes a main control unit and a water distribution unit. The water distribution unit includes a main inlet channel and multiple first main branch channels connected to the main inlet channel. A solenoid valve is installed on each of the first main branch channels, and each solenoid valve is electrically connected to the main control unit. The method is applied to the main control unit, and the method includes:
[0006] Acquire real-time detection data for each solenoid valve and determine the operating status of each solenoid valve based on the real-time detection data.
[0007] When all solenoid valves are operating normally, the target valve combination is determined based on the real-time demand load, the cumulative running time of each solenoid valve, and the real-time detection data, and the opening of the solenoid valves in the target valve combination is controlled.
[0008] The solenoid valve control method provided in this invention acquires real-time detection data for each solenoid valve, enabling timely identification and repair of abnormal solenoid valves. By considering the cumulative runtime of each solenoid valve in the selection and control of the solenoid valves in the target valve combination, this method solves the problem of uneven usage frequency, where only some solenoid valves are kept in long-term use, leading to burnout of long-term used solenoid valves and affecting the speed and process indicators in the workshop. This method achieves balanced usage frequency for each solenoid valve by balancing its cumulative runtime, thus ensuring protection for each solenoid valve based on its usage frequency. The technical solution of this embodiment not only ensures that the opening and closing of solenoid valves meets the operating requirements of the high-pressure micro-mist humidification system based on real-time demand load and real-time detection data, but also achieves balanced control of solenoid valves based on their cumulative runtime. This reduces the risk of rapid damage to a particular solenoid valve due to excessive use, ensuring the accuracy and stability of the workshop's temperature and humidity process indicators.
[0009] According to another aspect of the present invention, a control device for a solenoid valve is provided. The high-pressure micro-mist humidification system includes a main control unit and a water distribution unit. The water distribution unit includes a main inlet channel and a plurality of first main branch channels connected to the main inlet channel. A solenoid valve is disposed on each of the first main branch channels, and each solenoid valve is electrically connected to the main control unit. The device is applied to the main control unit and includes:
[0010] The acquisition module is used to acquire real-time detection data for each solenoid valve and determine the operating status of each solenoid valve based on the real-time detection data.
[0011] The control module is used to determine the target valve combination based on real-time demand load, the cumulative running time of each solenoid valve, and real-time detection data when all solenoid valves are operating normally, and to control the opening of the solenoid valves in the target valve combination.
[0012] According to another aspect of the present invention, a main control unit is provided, the main control unit comprising:
[0013] An electronic device, comprising at least one processor; and
[0014] A memory that is communicatively connected to at least one processor; wherein,
[0015] The memory stores a computer program that can be executed by at least one processor, such that the at least one processor is able to perform the control method of the solenoid valve according to any embodiment of the present invention.
[0016] According to another aspect of the present invention, a computer-readable storage medium is provided, which stores computer instructions for causing a processor to execute and implement the control method of the solenoid valve according to any embodiment of the present invention.
[0017] According to another aspect of the present invention, a computer program product is provided, comprising a computer program that, when executed by a processor, implements the control method of an electromagnetic valve according to any embodiment of the present invention.
[0018] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0019] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0020] Figure 1 A schematic flowchart illustrating a control method for an electromagnetic valve provided in an embodiment of the present invention;
[0021] Figure 2 A schematic flowchart illustrating another control method for a solenoid valve provided in an embodiment of the present invention;
[0022] Figure 3 This is a structural example diagram of a water distribution unit provided in an embodiment of the present invention;
[0023] Figure 4 This is a schematic diagram of the structure of the control device for the solenoid valve provided in an embodiment of the present invention;
[0024] Figure 5 This is a schematic diagram of the electronic device in the main control unit provided in an embodiment of the present invention. Detailed Implementation
[0025] To enable those skilled in the art to better understand the present invention, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings of the embodiments of the present invention. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention.
[0026] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0027] Figure 1 This is a flowchart illustrating a control method for a solenoid valve provided in an embodiment of the present invention. This embodiment is applicable to adjusting the inlet solenoid valve in a water distribution unit under actual operating conditions. The method can be executed by a control device for the solenoid valve, which can be implemented in hardware and / or software and can be configured in the electronic equipment of the main control unit. In this embodiment, the high-pressure micro-mist humidification system includes a main control unit and a water distribution unit. The water distribution unit includes a main inlet water line and multiple first main branch lines connected to the main inlet water line. Each first main branch line is equipped with a solenoid valve, and each solenoid valve is electrically connected to the main control unit; the method is applied to the main control unit. Figure 1 As shown, the method includes:
[0028] S101. Obtain real-time detection data for each solenoid valve and determine the operating status of each solenoid valve based on the real-time detection data.
[0029] The main control unit is the central control unit that controls the high-pressure micro-mist humidification system to complete its operational tasks, and it includes electronic equipment. The water distribution unit, specifically the high-pressure branch valve unit, is a key unit used to distribute high-pressure water flow to different spray areas or nozzle groups as needed, achieving multi-path diversion and control of the high-pressure water. The main inlet water line is the only water pipe through which high-pressure water enters the water distribution unit. The first main branch line is a main branch line connected to the main inlet water line, equipped with a solenoid valve. In this embodiment, the solenoid valve is an inlet solenoid valve used to control the humidification amount; the solenoid valve is electrically connected to the main control unit. Real-time detection data refers to relevant data of the solenoid valve, such as current and temperature, determined by monitoring equipment installed on the solenoid valve. The operating status of the solenoid valve is either normal or abnormal.
[0030] Specifically, the main control unit acquires and monitors the real-time detection data of each solenoid valve in real time, and compares the real-time detection data with the preset detection threshold to determine whether the operating status of each solenoid valve is normal or abnormal.
[0031] S102. When all solenoid valves are in normal operating condition, determine the target valve combination based on real-time demand load, cumulative operating time of each solenoid valve, and real-time detection data, and control the opening of the solenoid valves in the target valve combination.
[0032] The real-time demand load refers to the required water pressure under the current operating condition. The cumulative runtime is the sum of the solenoid valve runtimes within a preset operating cycle; the preset operating cycle can be set according to user needs. The target valve combination includes the solenoid valves that need to be controlled in this operation.
[0033] Specifically, after determining the operating status of each solenoid valve, it can be determined whether each solenoid valve is currently malfunctioning. If malfunctioning, the main control unit can issue an alarm to the user, reminding them to repair the malfunctioning solenoid valve in a timely manner. If all solenoid valves are operating normally, the solenoid valves to be controlled can be initially screened based on their cumulative operating time. For example, solenoid valves with long cumulative operating times can be screened and removed, i.e., closed in this control to reduce their cumulative operating time. For the solenoid valves that are not screened and removed, at least one suitable solenoid valve is selected as the target valve combination to be controlled to open in this control, based on the real-time load demand and real-time detection data, and then controlled to meet the current operating requirements.
[0034] In this embodiment, the cumulative runtime of each solenoid valve is taken into account when selecting solenoid valves in the target valve combination, and the solenoid valves in the target valve combination are controlled. This solves the problem that currently only some solenoid valves are kept in long-term use, resulting in uneven usage frequency of each solenoid valve, which causes the long-term used solenoid valves to burn out, thus affecting the speed and process indicators in the workshop. This embodiment achieves the goal of balancing the cumulative runtime of each solenoid valve, so that the usage frequency of each solenoid valve is balanced, thereby ensuring the protection of each solenoid valve in terms of usage frequency, and also ensuring the accuracy and stability of the temperature and humidity process indicators in the workshop.
[0035] The solenoid valve control method provided in this invention acquires real-time detection data for each solenoid valve, enabling timely identification and repair of abnormal solenoid valves. By considering the cumulative runtime of each solenoid valve in the selection and control of the solenoid valves in the target valve combination, this method solves the problem of uneven usage frequency, where only some solenoid valves are kept in long-term use, leading to burnout of long-term used solenoid valves and affecting the speed and process indicators in the workshop. This method achieves balanced usage frequency for each solenoid valve by balancing its cumulative runtime, thus ensuring protection for each solenoid valve based on its usage frequency. The technical solution of this embodiment not only ensures that the opening and closing of solenoid valves meets the operating requirements of the high-pressure micro-mist humidification system based on real-time demand load and real-time detection data, but also achieves balanced control of solenoid valves based on their cumulative runtime, reducing the rapid damage caused by prolonged use of a particular solenoid valve and ensuring the accuracy and stability of the workshop's temperature and humidity process indicators.
[0036] Figure 2 This is a flowchart illustrating another solenoid valve control method provided in this embodiment of the invention. Based on the above embodiments and other examples, this embodiment specifically details how to determine the target valve combination based on the implementation load requirements, the cumulative running time of each solenoid valve, and real-time detection data, and how to control the solenoid valve when the operating state of any solenoid valve is abnormal.
[0037] First, let's introduce a structural example of the waterway distribution unit proposed in this embodiment. Figure 3 This is a structural example diagram of the waterway distribution unit provided in an embodiment of the present invention, as shown below. Figure 3 As shown, the water distribution unit includes a main inlet channel 30, multiple first main branch channels 31 connected to the main inlet channel, and solenoid valves 33 on the first main branch channels 31. It also includes at least one second main branch channel 32 connected to the main inlet channel. The main inlet channel 30, the first main branch channels 31, and the second main branch channels 32 are represented by lines of different thicknesses, while the first main branch channels 31 and the second main branch channels are represented by lines of the same thickness. Further, a water pump in the water distribution unit is installed on the main inlet channel. The main inlet channel, the second main branch channels, and the first main branch channels are connected via a three-way valve. One end of the three-way valve is connected to the main inlet channel, the other end is connected to the second main branch channel, and the remaining first main branch channels are connected to the other first main branch channels. This valve is used to divert water flow from the second main branch channels to the remaining first main branch channels, thereby increasing the water pressure load on the first main branch channels.
[0038] by Figure 3For example, if the number of first main branches 31 is 3 and the number of second main branches 32 is 1, then one of the three first main branches 31 connects to two sub-branches 341, and the other connects to three sub-branches 342. The sub-branches also have different line thicknesses than the main branches. Furthermore, the second main branch 32 is a normally open circuit, meaning it is a path without solenoid valve control.
[0039] Based on the above-described structural example of the water distribution unit, the solenoid valve control method provided in this embodiment is as follows: Figure 2 As shown, it includes:
[0040] S201. Obtain real-time detection data for each solenoid valve.
[0041] Specifically, in this embodiment, the main real-time detection data acquired includes valve current and coil temperature.
[0042] S202. For each solenoid valve, acquire the valve current and coil temperature from the real-time detection data.
[0043] Specifically, for each solenoid valve, when the detection device on the solenoid valve collects real-time detection data, the valve current and coil temperature of each solenoid valve can be obtained.
[0044] S203. Determine the first operating state based on the valve current and the preset current threshold, and determine the second operating state based on the coil temperature and the preset coil temperature.
[0045] The first operating state characterizes the valve current of the solenoid valve. The second operating state characterizes the coil temperature of the solenoid valve. The preset current threshold and preset coil temperature can be a single value or a range. In this embodiment, the valve current can be acquired using a current transformer, and the coil temperature can be acquired using a patch-type temperature sensor attached to the coil of the solenoid valve.
[0046] Specifically, by obtaining the real-time monitored valve current data and comparing it with a preset current threshold, the first operating state can be obtained. Similarly, by obtaining the real-time monitored coil temperature and comparing it with a preset coil temperature, the second operating state can be obtained.
[0047] For example, assuming the preset current threshold is greater than or equal to 0 amperes (A) and less than or equal to 1.2 A, then if the valve current is within the range of the preset current threshold, the first operating state can be determined as a normal state; otherwise, the first operating state is an abnormal state. Similarly, assuming the preset coil temperature is less than or equal to 55 degrees Celsius (°C), then if the coil temperature is within the preset range of less than or equal to 55 degrees Celsius (°C), the second operating state can be determined as a normal state; otherwise, the second operating state is an abnormal state.
[0048] Furthermore, in this embodiment, for the first operating state, multiple valve currents or the average of multiple valve currents within a preset time period can be compared with a preset current threshold. For example, if the real-time valve current is not within the preset current threshold range for 10 consecutive seconds, the first operating state is determined to be an abnormal state. Similarly, the same applies to the second operating state. For example, if the real-time coil temperature exceeds a preset coil temperature for 3 consecutive seconds, the second operating state is determined to be an abnormal state.
[0049] In this embodiment, the current state of the solenoid valve (i.e., the first operating state) can be determined based on the valve current, and the temperature state of the solenoid valve (i.e., the second operating state) can be determined based on the coil temperature, providing an accurate basis for subsequently determining the overall operating state of the solenoid valve. Furthermore, if the two operating states are further determined over a preset time, the possibility of anomalies in real-time detection data affecting the judgment of the solenoid valve's operating state can be reduced, increasing the accuracy of determining the solenoid valve's operating state.
[0050] S204. If at least one of the first operating state and the second operating state is abnormal, then the operating state of the solenoid valve is abnormal.
[0051] Specifically, if at least one of the first and second operating states is abnormal, the operating state of the solenoid valve can be determined to be abnormal. In this case, the abnormal solenoid valve can be controlled to close, and the user can be promptly notified of the abnormal solenoid valve.
[0052] S205. If both the first and second operating states are normal, then the operating state of the solenoid valve is normal.
[0053] Specifically, if both the first and second operating states are normal, then the operating state of the solenoid valve is normal.
[0054] In this embodiment, by using two operating states to jointly determine whether the working state of a solenoid valve is normal, it is possible to monitor and judge the operating state of the solenoid valve from all directions and angles, ensuring that the operating state of each solenoid valve is determined in a timely manner, and providing a basis for determining the corresponding control method based on the operating state of the solenoid valve.
[0055] S206. Determine whether all solenoid valves are operating normally; if yes, proceed to S207; if no, proceed to S212.
[0056] Specifically, the operating status of each solenoid valve can be determined according to the above steps. Therefore, after determining the operating status of all solenoid valves, it can be determined whether the operating status of all solenoid valves is normal. If the operating status of all solenoid valves is normal, the target valve combination can be determined according to the normal control process based on the cumulative running time of each solenoid valve, i.e., S207 is executed. If the operating status of at least one solenoid valve is abnormal, the solenoid valve needs to be controlled according to the compensated solenoid valve control strategy to ensure that the remaining solenoid valves can meet the load requirements of the working condition when at least one solenoid valve fails, i.e., S212 is executed.
[0057] S207. When all solenoid valves are in normal operating condition, determine the candidate valve combination based on the real-time demand load and the valve load correspondence, and determine the average operating time based on all cumulative operating times.
[0058] The real-time demand load and valve load correspondence is used to characterize the water circuit load corresponding to each different valve combination after it is opened. The candidate valve combination is the valve combination that can be selected.
[0059] Specifically, if the structure of the waterway distribution unit is as follows: Figure 3 As shown, the real-time demand load and valve load correspondence can be determined in advance based on this structure. The correspondence is shown in Table 1 below. Among them, solenoid valve (3) is the solenoid valve installed on the first main branch with three sub-branches, solenoid valve (2) is the solenoid valve installed on the first main branch with two sub-branches, solenoid valve (1) is the solenoid valve installed on the first main branch without sub-branches, and the normally open circuit is the second main branch, i.e., the normally open branch. In the table, the number "1" under the solenoid valve means that the solenoid valve is open, and "0" means that the solenoid valve is closed. The equivalent number of branches is the ratio of the number of branches that are unobstructed when the solenoid valve is open to the total number of branches. The load percentage is the ratio between the water pressure load of the water distribution unit and the water pressure load when all solenoid valves are fully open after controlling the opening and closing of the corresponding solenoid valve according to the opening and closing of the solenoid valve of the corresponding row.
[0060] Table 1. Correspondence between real-time demand load and valve load
[0061] Solenoid valve (3) Solenoid valve (2) Solenoid valve (1) Changkailu Equivalent branch number load percentage 1 1 1 1 Seven-sevenths 100% 1 1 0 1 Six-sevenths 86% 1 0 1 1 five-sevenths 71% 1 0 0 1 Four-sevenths 57% 0 1 1 1 Four-sevenths 57% 0 1 0 1 Three-sevenths 43% 0 0 1 1 Two-sevenths 29% 0 0 0 1 one-seventh 14%
[0062] Once it is determined that all solenoid valves are operating normally, candidate valve combinations can be selected from the "Real-time Demand Load and Valve Load Correspondence" as described above, based on the real-time demand load. For example, if the real-time demand load is greater than or equal to 57%, then the candidate valve combinations are those with a "load percentage" greater than or equal to 57%, meaning that each of the first five rows in Table 1 represents a candidate valve combination.
[0063] Specifically, the average running time needs to be determined based on the cumulative running time of all solenoid valves. For example, the average running time is the sum of the cumulative running time of "solenoid valve (3)" + the cumulative running time of "solenoid valve (2)" + the cumulative running time of "solenoid valve (1)" / 3.
[0064] In this embodiment, valve combinations that cannot meet the demand load are first filtered out based on the real-time demand load, and valve combinations that can meet the demand load are retained as candidate valve combinations. The average running time is determined, which realizes the preliminary screening of multiple valve combinations and provides an accurate basis for selecting the target valve combination later.
[0065] S208. For each candidate valve combination, determine the time deviation value of the solenoid valve in each candidate valve combination based on the average running time and the cumulative running time of each solenoid valve in the candidate valve combination.
[0066] In this embodiment, each solenoid valve in the candidate valve combination specifically refers to the solenoid valve that needs to be opened in the candidate valve combination, that is, the solenoid valve with "1" corresponding to the solenoid valve in Table 1.
[0067] Specifically, for each candidate valve combination, the sum of the differences between the cumulative running time of the solenoid valves that need to be opened in the candidate valve combination and the average time can be calculated to obtain the time deviation value of the solenoid valves in the candidate valve combination.
[0068] For example, taking the third row of Table 1 with a load percentage of 71% as an example of candidate valve combinations, the time deviation value of the solenoid valve in the candidate valve combination can be calculated as: [average running time - solenoid valve (3)] + [average running time - solenoid valve (1)].
[0069] S209. Determine the temperature penalty value based on the coil temperature of each solenoid valve in the candidate valve combination and the penalty temperature threshold in the real-time detection data.
[0070] The penalty temperature threshold can be the same as or different from the preset coil temperature.
[0071] Specifically, to avoid using solenoid valves that overheat, the coil temperature of each solenoid valve can be compared with a penalty temperature threshold, and a temperature penalty value can be calculated when the coil temperature exceeds the penalty temperature threshold.
[0072] Optionally, the temperature penalty value can be calculated based on the coil temperature of the solenoid valve with the highest coil temperature in a candidate valve combination and the penalty temperature threshold.
[0073] For example, if the penalty temperature threshold is 50℃, continuing the above example, taking the third row of Table 1 with a load percentage of 71% as an example of candidate valve combinations, the coil temperature of solenoid valve (3) is 52℃ and the coil temperature of solenoid valve (1) is 46℃. Therefore, the solenoid valve with the highest coil temperature is solenoid valve (3). Thus, the temperature penalty value can be calculated as 2 * (highest coil temperature - penalty temperature threshold) = 2 * (52 - 50) = 4. If taking the second row of Table 1 with a load percentage of 86% as an example of candidate valve combinations, the coil temperature of solenoid valve (3) is 50℃, the coil temperature of solenoid valve (2) is 47℃, and the coil temperature of solenoid valve (1) is 43℃. Since the highest coil temperature does not exceed (is less than or equal to) 50℃, that is, it is equal to 50℃, the temperature penalty value is 0. Here, the temperature penalty value only retains the numerical value and does not include the unit.
[0074] In this embodiment, not only is the time deviation value of each candidate valve combination calculated, but also the temperature penalty value of each candidate valve combination is calculated, which enables a data-driven and comprehensive evaluation of the real-time status of the valves in each candidate valve combination.
[0075] S210. Determine the evaluation index corresponding to the candidate valve combination based on the time deviation value and temperature penalty value, and determine the candidate valve combination with the highest evaluation index among all candidate valve combinations as the target valve combination.
[0076] Specifically, for any candidate valve combination, its corresponding evaluation index = time deviation value - temperature penalty value. Therefore, after determining the evaluation index for each candidate valve combination as described above, the candidate valve combination with the highest evaluation index among all candidate valve combinations can be determined as the target valve combination.
[0077] In this embodiment, based on the time deviation value and temperature penalty value that can be used to make a comprehensive and data-driven evaluation of the real-time status of valves in each candidate valve combination, the target valve combination is calculated and determined. This enables the selection of valve combinations with relatively short cumulative running time and relatively low real-time temperature from multiple valve combinations for control. This achieves a two-factor decision based on running time and temperature, ensuring that the opening and closing of each solenoid valve is reasonably controlled when all solenoid valves are in normal operating status. It also enables the load required by the working conditions to be met, ensuring the normal operation of the high-pressure micro-mist humidification system.
[0078] S211, Control the opening of the solenoid valve in the target valve assembly.
[0079] Specifically, in the target valve combination, the solenoid valve corresponding to "1" is identified as the solenoid valve that needs to be opened, and the solenoid valve is controlled to open. This allows for real-time dynamic control of each solenoid valve's opening, taking into account the overall working state of each solenoid valve, when all solenoid valves are operating normally.
[0080] Optionally, after the solenoid valve in the target valve combination is opened, the cumulative operating time of the opened valve is continuously updated, that is, the cumulative operating time of the opened solenoid valve is updated.
[0081] S212. When the operating state of at least one solenoid valve is abnormal, determine the compensation strategy for the solenoid valve with the normal operating state based on the real-time demand load, the preset compensation relationship and the real-time detection data.
[0082] The preset compensation relationship is used to characterize the load error between the demand load and the actual load after the solenoid valves operate under different compensation strategies. Optionally, the preset compensation relationship can be divided into multiple preset sub-compensation relationships according to the range of the demand load. Each preset sub-compensation relationship corresponds to a certain range of demand load sub-ranges, and the demand load sub-ranges corresponding to all preset sub-compensation relationships together correspond to the entire range of demand load.
[0083] Specifically, if at least one of the three solenoid valves is in an abnormal operating state, a specific preset sub-compensation relationship can be determined first based on the real-time demand load and the preset compensation relationship. Then, based on the preset sub-compensation relationship and real-time detection data, the compensation strategy for the remaining solenoid valves that are in normal operating state can be determined.
[0084] For example, the compensation strategy for determining the normal operating state of a solenoid valve includes:
[0085] (i) Determine the target load range based on the real-time demand load and the preset load range.
[0086] Specifically, since the demand load range of a water distribution unit is generally 0-100%, it can be divided into multiple load sub-ranges, such as 0%-29%, 29%-57%, and 57%-100%. Therefore, load ranges can be preset first, namely 0%-29%, 29%-57%, and 57%-100%, and the real-time demand load can be compared with the preset load ranges to determine which range the real-time demand load falls into, and that range can be used as the target load range.
[0087] (ii) Determine the compensation strategy corresponding to the demand load based on the target load range and the preset compensation relationship.
[0088] Specifically, the preset compensation relationship can be divided into preset sub-compensation relationships corresponding to each preset load range based on the preset load range. For example, Table 2 below shows the preset sub-compensation relationship for low load (0%-29%) and Table 3 below shows the preset sub-compensation relationship for medium load (29%-57%). Among them, the failed valve is the solenoid valve whose operating state is abnormal; the demand load is the range corresponding to the real-time demand load. For example, if the real-time demand load is less than 29%, the low load preset sub-compensation relationship (0%-29%) shown in Table 2 can be used. For another example, if the real-time demand load is less than 57% and greater than or equal to 29%, the low load preset sub-compensation relationship (29%-57%) shown in Table 3 can be used; the compensation strategy is how to control the opening and closing of the remaining solenoid valves whose operating state is normal; the actual load is the maximum load corresponding to a certain combination that can be achieved by using any combination of other valves besides the failed valve when the failed valve fails; the error is the error between the actual load and the demand load. It is used to indicate how much difference there is between the actual load that can be achieved by controlling the valves in the combination corresponding to the maximum load when a certain solenoid valve fails, based on any combination of other valves besides the failed valve, and the current demand load. This difference only refers to the difference in the actual demand not being able to meet the demand load.
[0089] Table 2. Low-load preset sub-compensation relationship (0%-29%)
[0090]
[0091] Table 3 shows the pre-set sub-compensation relationships for loads (29%-57%).
[0092]
[0093] Furthermore, since the actual load that the combination of remaining valves can achieve is limited due to the failure of a valve under high load, the high load preset sub-compensation relationship (57%-100%) in Table 4 is introduced here. It can be seen that if the solenoid valve (3) fails, the required load is greater than or equal to 57% and less than or equal to 100%. At this time, the actual load of opening only the solenoid valve (2) or the solenoid valve (3) can be determined from Table 1, and the maximum can only reach 43%. Opening both the solenoid valve (2) and the solenoid valve (3) can only reach 57%, that is, the actual load is 57%. Therefore, if the required load is equal to 57%, the error is 0. If the required load is greater than 57%, the error can reach a maximum of -43%. Similarly, if solenoid valve (2) fails, and the required load is between 57% and 71%, then opening solenoid valve (3) can achieve a load of 57%. If the required load exceeds 57%, then solenoid valve (1) can be opened again, so that the actual load can reach 71% with an error of 0. However, if the load requirement is greater than 71%, then even if solenoid valve (3) and solenoid valve (1) are opened, only the actual load can be reached at 71%, and the maximum error can reach -29%. Similarly, if solenoid valve (1) fails, according to the required load and compensation strategy shown in the table below, only the corresponding error can be achieved.
[0094] Table 4. High-load preset sub-compensation relationship (57%-100%)
[0095]
[0096] Based on the above, the compensation strategy corresponding to the demand load is determined according to the target load range and the preset compensation relationship. That is, after the target load range is determined, the preset sub-compensation relationship corresponding to the target load range can be selected, and the compensation strategy is determined based on the currently determined failed valve and demand load. For example, if the real-time demand load is 89%, the target load range is 57%-100%, and the valve with abnormal operating status is solenoid valve (2), then the compensation strategy can be determined as "solenoid valve (3) + solenoid valve (1)", and its true error with the actual load is -18%.
[0097] In this embodiment, the preset compensation relationship is divided according to the preset load sub-intervals to obtain the preset sub-compensation relationship corresponding to different load sub-intervals. This allows for quick and accurate identification of the corresponding preset sub-compensation relationship when the real-time demand load is known. Furthermore, the current compensation strategy can be quickly confirmed based on the real-time demand load, abnormal solenoid valves, and preset sub-compensation relationships. This enables the rapid switching of control of normal solenoid valves based on the compensation strategy when an abnormality is detected, thus connecting the current operating conditions and ensuring the continuity of the operating conditions.
[0098] S213. Control the opening of the solenoid valve in normal operating state according to the compensation strategy.
[0099] Specifically, the opening of solenoid valves operating normally can be controlled according to the compensation strategy to ensure a portion of the water pressure load on the water distribution unit. Furthermore, the malfunctioning solenoid valves can be notified to staff for repair. Additionally, a three-way valve or water pump can be activated to increase water pressure, thereby raising the water pressure load to approach the required load.
[0100] For example, controlling the opening of a solenoid valve in normal operating condition according to a compensation strategy includes:
[0101] (i) Determine the load error corresponding to the demand load based on the preset compensation relationship.
[0102] Specifically, after determining the compensation strategy corresponding to the demand load according to the target load range and the preset compensation relationship according to the above steps, the error between the actual load and the demand load, i.e., the load error, can be calculated. For example, the true error of -18% determined in the above embodiment is the load error.
[0103] (ii) Control the opening of the solenoid valve in normal operating state according to the compensation strategy, and determine whether the load error is less than the preset error; if it is less than the preset error, then execute (iii); if it is greater than or equal to the preset error, then execute (iv).
[0104] The preset error is determined based on the water pressure load that the three-way valve and water pump can adjust. Also, in this step, the load error is considered only in terms of numerical value, not sign. Alternatively, the load error may need to be converted to its absolute value.
[0105] Specifically, the solenoid valves in normal operating condition are first controlled to open according to the compensation strategy, i.e., the solenoid valves (3) and (1) are controlled to open as determined in the above embodiment, and it is determined whether the load error is less than the preset error. For example, if the preset error is 15%, then following the example above, since the load error is -18%, its absolute value is 18% after conversion, therefore, its value is greater than 15%, and thus (iv) needs to be executed. For another example, if the load error is -12%, its value is only 12%, which is less than 15%, then (iii) can be executed at this time.
[0106] (iii) If the load error is less than the preset error, adjust the operation of the three-way valve and the water pump according to the real-time humidity and the preset required humidity in the real-time detection data until the real-time humidity meets the preset required humidity.
[0107] In this embodiment, the three-way valve is connected to the main water inlet at one end, the second main branch at the other end, and the first main branch at the other end. It is used to adjust and distribute the water pressure load between the second main branch and the first main branch. That is, by adjusting the three-way valve, more flow from the second main branch can be allocated to the first main branch to meet the load demand.
[0108] Specifically, if the load error is less than the preset error, the load can be fine-tuned. At this time, the real-time humidity, which is also included in the real-time detection data, can be obtained and compared with the preset required humidity to determine the humidity deviation. Based on the humidity deviation, the control of the three-way valve and the water pump is determined so as to meet the load requirements by adjusting the operation of the three-way valve and the water pump.
[0109] For example, the real-time humidity in the real-time monitoring data can be measured by the air conditioner's temperature and humidity sensor. After determining the real-time humidity, the difference between the preset required humidity and the real-time humidity can be calculated to obtain the humidity deviation. At this time, if the humidity deviation is less than or equal to the preset humidity deviation of 5%, there is no need to adjust the load, because the current humidity meets the operating requirements. If the humidity deviation exceeds 5%, the step size of the three-way valve needs to be adjusted by a preset diversion ratio, such as ±5% once; and the pressure needs to be increased according to the water pump pressure adjustment amount, such as 0.2 MPa once. After adjustment, at a preset adjustment period, such as 10 seconds, the real-time humidity can be acquired again, and the humidity deviation can be determined, until the real-time humidity meets the preset required humidity, that is, the humidity deviation is less than or equal to the preset humidity deviation.
[0110] (iv) If the load error is greater than or equal to the preset error, the pump speed and pressure will be increased to the first preset pressure, and the operation of the three-way valve and the pump will be adjusted according to the real-time humidity and preset humidity requirements in the real-time detection data until the real-time humidity meets the preset humidity requirements.
[0111] Specifically, if the load error is greater than or equal to the preset error, it indicates that the current load is far from sufficient. Therefore, it is necessary to control the pump speed and pressure to achieve rapid adjustment of the water pressure load. Thus, the pump speed and pressure can be increased to a first preset pressure, for example, less than 9 MPa. The first preset pressure is generally 9 MPa, but to allow for further fine-tuning of the pump speed and pressure, a certain adjustment redundancy can be maintained, meaning the pump speed and pressure can be increased to less than 9 MPa. Simultaneously, the humidity deviation is calculated based on the real-time humidity and the preset humidity requirement, and compared with the preset humidity deviation. The operation of the three-way valve and the pump is then adjusted cyclically until the humidity deviation is less than or equal to the preset humidity deviation.
[0112] For example, adjusting the operation of the three-way valve and the water pump based on the real-time humidity from the real-time detection data and the preset humidity requirement until the real-time humidity meets the preset humidity requirement includes:
[0113] (1) Obtain the real-time humidity and determine the humidity deviation based on the preset required humidity and the real-time humidity.
[0114] Specifically, real-time humidity data is acquired, and the difference between the preset required humidity and the real-time humidity is calculated to obtain the humidity deviation.
[0115] (2) If the humidity deviation is less than or equal to the preset humidity deviation, the real-time humidity is determined to meet the preset humidity requirement, and the operation of the three-way valve and water pump is no longer adjusted.
[0116] If the humidity deviation is less than or equal to the preset humidity deviation, it means that the real-time humidity meets the requirements. Therefore, it can be determined that there is no need to adjust the operation of the three-way valve and the water pump. That is, the adjustment of humidity and water pressure load is now complete.
[0117] (3) If the humidity deviation is greater than the preset humidity deviation, the flow ratio of the three-way valve is increased according to the preset flow ratio, and the pressure of the water pump is increased according to the second preset pressure. Then, the step of obtaining real-time humidity is returned until the pressure of the water pump is greater than the preset pressure threshold, and the alarm program is started.
[0118] Specifically, if the humidity deviation is greater than the preset humidity deviation, it means that the real-time humidity has not yet met the required humidity. Therefore, the flow ratio of the three-way valve can be increased by ±5% once according to the preset flow ratio; and the pressure of the water pump can be increased by 0.2 MPa once according to the second preset pressure; and after adjusting the three-way valve and the water pump once, return to the step of obtaining the real-time humidity, i.e. (1). At this time, if the operation of the three-way valve and the water pump is continuously adjusted according to the above cycle, there are two situations. First, before the pressure of the water pump is greater than the preset pressure threshold, it can be determined according to (2) that the adjustment of the three-way valve and the water pump is over and the real-time humidity and water pressure load meet the requirements. Second, the pressure of the water pump is greater than the preset pressure threshold, but the humidity deviation is still greater than the preset humidity deviation. At this time, the water pump cannot be adjusted anymore, and the alarm program needs to be activated so that the staff can check the abnormal solenoid valve and repair it as soon as possible.
[0119] Optionally, in this embodiment, if the valve temperature (i.e., coil temperature) of the solenoid valve exceeds 45°C, or a custom temperature, and the duration exceeds a preset number of seconds, such as 3 seconds, the temperature can be determined to be too high, and a pulse modulation mechanism can be activated. For example, the duty cycle of the solenoid valve can be adjusted, such as opening the solenoid valve for 0.4 seconds and closing it for 0.6 seconds, to reduce the operating time of the solenoid valve and thus lower its temperature, until the temperature drops to 25°C for 10 seconds, at which point normal operation resumes. Furthermore, the duty cycle adjustment frequency of the solenoid valve in different temperature ranges can be determined based on Table 5 below:
[0120] Table 5. Relationship between duty cycle adjustment frequency of solenoid valve in different temperature ranges
[0121] Temperature range Frequency (Hz) T≤45℃ none 45℃<T≤60℃ 1.0 60℃<T<65℃ 2.0
[0122] Where T represents the temperature of the solenoid valve.
[0123] In this embodiment, when a certain solenoid valve is determined to be malfunctioning, the remaining normal solenoid valves can be controlled to operate according to a compensation strategy to achieve seamless connection of the current high-pressure micro-mist humidification system operating conditions. Furthermore, since the three-way valve and water pump are further adjusted based on load error after controlling the corresponding solenoid valve according to the compensation strategy, when the load demand cannot be met by controlling the solenoid valve solely according to the compensation strategy, the flow from the normally operating branch can be diverted to the first main branch corresponding to the currently controlled solenoid valve by adjusting the three-way valve, thereby increasing the water pressure load on the first main branch corresponding to the solenoid valve. Additionally, the water pump speed and pressure can be adjusted to increase the pressure of the water entering each main branch, further increasing the water pressure load. This achieves the effect of compensating for pressure with flow rate, increasing the load percentage corresponding to the solenoid valve controlled by the compensation strategy. This ensures that when a certain solenoid valve malfunctions, the actual load is as close as possible to the required load, guaranteeing normal operation.
[0124] Optionally, in this embodiment, if the operating time of any two solenoid valves differs by a custom number of hours, a valve rotation strategy is activated to ensure that, under load conditions, the opening and closing of the solenoid valves are adjusted to reduce the operating time of the valve with the longer operating time and increase the operating time of the valve with the shorter operating time.
[0125] In this embodiment, the solenoid valve can also be adjusted. For example, when the temperature of the solenoid valve is high, the duty cycle of the solenoid valve can be adjusted to reduce the real-time temperature of the solenoid valve while meeting normal working conditions. The operation of the solenoid valve can also be adjusted according to the running time of each solenoid valve to protect the normal operation of the solenoid valve.
[0126] Optionally, in this embodiment, if at least one solenoid valve malfunctions, an alarm is triggered to the staff so that they are promptly notified of the malfunctioning solenoid valve and can perform repairs. Furthermore, if the real-time load cannot be met even after following the above steps and implementing the compensation strategy, along with compensation from the three-way valve and water pump, the time during which the real-time load cannot be met will be accumulated. For example, if the accumulated time is less than 50 hours, only data is recorded; if the time is between 50 and 100 hours, a yellow alarm is activated, recommending further maintenance; if the time is greater than 100 hours, an alarm is activated, and the load operation is automatically reduced.
[0127] Figure 4 This is a schematic diagram of the control device for the solenoid valve provided in an embodiment of the present invention. Figure 4As shown, the high-pressure micro-mist humidification system includes a main control unit and a water distribution unit. The water distribution unit includes a main water inlet and multiple first main branch lines connected to the main water inlet. Each first main branch line is equipped with a solenoid valve, and each solenoid valve is electrically connected to the main control unit. The device is applied to the main control unit and includes:
[0128] The acquisition module 401 is used to acquire real-time detection data of each solenoid valve and determine the operating status of each solenoid valve based on the real-time detection data.
[0129] The control module 402 is used to determine the target valve combination based on the real-time demand load, the cumulative running time of each solenoid valve, and real-time detection data when all solenoid valves are in normal operating status, and to control the opening of the solenoid valves in the target valve combination.
[0130] Optionally, the acquisition module 401 is specifically used for:
[0131] For each solenoid valve, the valve current and coil temperature are acquired from real-time detection data; a first operating state is determined based on the valve current and a preset current threshold, and a second operating state is determined based on the coil temperature and a preset coil temperature; if at least one of the first and second operating states is abnormal, the solenoid valve is in an abnormal operating state; if both the first and second operating states are normal, the solenoid valve is in a normal operating state.
[0132] Optionally, the control module 402 is specifically used for:
[0133] Based on the real-time demand load and the valve load correspondence, candidate valve combinations are determined, and the average operating time is determined based on all cumulative operating times. The real-time demand load and valve load correspondence characterize the water circuit load corresponding to each different valve combination after activation. For each candidate valve combination, the time deviation value of the solenoid valves in each candidate valve combination is determined based on the average operating time and the cumulative operating time of each solenoid valve in the candidate valve combination. The temperature penalty value is determined based on the coil temperature and penalty temperature threshold of each solenoid valve in the candidate valve combination from real-time monitoring data. The evaluation index corresponding to the candidate valve combination is determined based on the time deviation value and the temperature penalty value, and the candidate valve combination with the highest evaluation index among all candidate valve combinations is determined as the target valve combination.
[0134] Optionally, after determining the operating status of each solenoid valve based on real-time detection data, the control module 402 is further configured to:
[0135] When at least one solenoid valve is in an abnormal operating state, a compensation strategy for the solenoid valve in a normal operating state is determined based on the real-time demand load, the preset compensation relationship, and the real-time detection data. The opening of the solenoid valve in a normal operating state is controlled according to the compensation strategy. The preset compensation relationship is used to characterize the load error between the demand load and the actual load after the solenoid valves corresponding to different compensation strategies are in operation.
[0136] Optionally, based on real-time demand load, preset compensation relationships, and real-time detection data, a compensation strategy for the solenoid valve in normal operating condition is determined. Specifically, control module 402 is used for:
[0137] The target load range is determined based on the real-time demand load and the preset load range; the compensation strategy corresponding to the demand load is determined based on the target load range and the preset compensation relationship.
[0138] Optionally, the control module 402 controls the opening of the solenoid valve in normal operating state according to the compensation strategy. Specifically, the control module 402 is used for:
[0139] The load error corresponding to the required load is determined according to the preset compensation relationship; the opening of the solenoid valve in normal operating state is controlled according to the compensation strategy, and it is determined whether the load error is less than the preset error; if the load error is less than the preset error, the operation of the three-way valve and the water pump is adjusted according to the real-time humidity in the real-time detection data and the preset required humidity until the real-time humidity meets the preset required humidity; if the load error is greater than or equal to the preset error, the speed and pressure of the water pump are increased to the first preset pressure, and the operation of the three-way valve and the water pump is adjusted according to the real-time humidity in the real-time detection data and the preset required humidity until the real-time humidity meets the preset required humidity.
[0140] Optionally, the operation of the three-way valve and the water pump is adjusted according to the real-time humidity and the preset humidity requirement in the real-time detection data until the real-time humidity meets the preset humidity requirement. The control module 402 is specifically used for:
[0141] The system acquires real-time humidity and determines the humidity deviation based on the preset required humidity and the real-time humidity. If the humidity deviation is less than or equal to the preset humidity deviation, the system determines that the real-time humidity meets the preset required humidity and stops adjusting the operation of the three-way valve and the water pump. If the humidity deviation is greater than the preset humidity deviation, the system increases the flow ratio of the three-way valve according to the preset flow ratio and increases the pressure of the water pump according to the second preset pressure. The system then returns to the step of acquiring real-time humidity until the pressure of the water pump is greater than the preset pressure threshold, at which point the alarm procedure is activated.
[0142] The control device for the solenoid valve provided in the embodiments of the present invention can execute the control method for the solenoid valve provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of the execution method.
[0143] Figure 5 This is a schematic diagram of the structure of an electronic device in a main control unit provided in an embodiment of the present invention. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (such as helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0144] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0145] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0146] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the control method of a solenoid valve.
[0147] In some embodiments, the solenoid valve control method may be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program may be loaded into and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the solenoid valve control method described above may be performed. Alternatively, in other embodiments, processor 11 may be configured to perform the solenoid valve control method by any other suitable means (e.g., by means of firmware).
[0148] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0149] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0150] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0151] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0152] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0153] A computing system can include clients and servers. Clients and servers are generally geographically separated and typically interact via communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0154] This invention also provides a computer program product, including a computer program that, when executed by a processor, implements the control method for a solenoid valve as provided in any embodiment of this invention.
[0155] In implementing the computer program product, computer program code for performing the operations of this invention can be written in one or more programming languages or a combination thereof. Programming languages include object-oriented programming languages such as Java, Smalltalk, and C++, as well as conventional procedural programming languages such as C or similar languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0156] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0157] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A control method for a solenoid valve, characterized in that, The high-pressure micro-mist humidification system includes a main control unit and a water distribution unit. The water distribution unit includes a main water inlet and multiple first main branches connected to the main water inlet. Each first main branch is equipped with a solenoid valve, and each solenoid valve is electrically connected to the main control unit. The method is applied to the main control unit, and the method includes: Acquire real-time detection data for each solenoid valve, and determine the operating status of each solenoid valve based on the real-time detection data; When all solenoid valves are operating normally, a target valve combination is determined based on the real-time demand load, the cumulative running time of each solenoid valve, and the real-time detection data, and the opening of the solenoid valves in the target valve combination is controlled.
2. The method according to claim 1, characterized in that, Determining the operating status of each solenoid valve based on the real-time detection data includes: For each solenoid valve, the valve current and coil temperature are obtained from the real-time detection data; The first operating state is determined based on the valve current and the preset current threshold, and the second operating state is determined based on the coil temperature and the preset coil temperature. If at least one of the first operating state and the second operating state is abnormal, then the operating state of the solenoid valve is abnormal. If both the first operating state and the second operating state are normal, then the operating state of the solenoid valve is normal.
3. The method according to claim 1, characterized in that, The step of determining the target valve combination based on the real-time demand load, the cumulative operating time of each solenoid valve, and the real-time detection data includes: Based on the real-time demand load and valve load correspondence, candidate valve combinations are determined, and the average running time is determined based on all the cumulative running times. The real-time demand load and valve load correspondence are used to characterize the water circuit load corresponding to each different valve combination after opening different valve combinations. For each candidate valve combination, the time deviation value of the solenoid valve in each candidate valve combination is determined based on the average running time and the cumulative running time of each solenoid valve in the candidate valve combination. The temperature penalty value is determined based on the coil temperature of each solenoid valve in the candidate valve combination and the penalty temperature threshold in the real-time detection data. The evaluation index corresponding to the candidate valve combination is determined based on the time deviation value and the temperature penalty value, and the candidate valve combination with the highest evaluation index among all candidate valve combinations is determined as the target valve combination.
4. The method according to claim 1, characterized in that, The water distribution unit further includes at least one second main branch connected to the main inlet water route and a water pump; wherein, The main water inlet, the second main branch, and the first main branch are connected by a three-way valve; The water pump is installed on the main water inlet line.
5. The method according to claim 4, characterized in that, The number of the first main branch is 3, and the number of the second main branch is 1; wherein, One of the three primary branches has two sub-branches, and the other has three sub-branches; The second main branch is a regular branch.
6. The method according to claim 4, characterized in that, After determining the operating status of each solenoid valve based on the real-time detection data, the method further includes: When at least one solenoid valve is in an abnormal operating state, the compensation strategy for the solenoid valve in a normal operating state is determined based on the real-time demand load, the preset compensation relationship, and the real-time detection data. The solenoid valves in normal operating state are opened according to the compensation strategy, wherein the preset compensation relationship is used to characterize the load error between the demand load and the actual load after the solenoid valves are operated according to different compensation strategies.
7. The method according to claim 6, characterized in that, The compensation strategy for determining the normal operating status of a solenoid valve based on real-time demand load, preset compensation relationships, and real-time detection data includes: The target load range is determined based on the real-time demand load and the preset load range; The compensation strategy corresponding to the demand load is determined based on the target load range and the preset compensation relationship.
8. The method according to claim 7, characterized in that, The control of the opening of the solenoid valve in normal operating state according to the compensation strategy includes: The load error corresponding to the demand load is determined according to the preset compensation relationship; The solenoid valve in normal operating state is opened according to the compensation strategy, and it is determined whether the load error is less than the preset error. If the load error is less than the preset error, the operation of the three-way valve and the water pump is adjusted according to the real-time humidity in the real-time detection data and the preset required humidity, until the real-time humidity meets the preset required humidity. If the load error is greater than or equal to the preset error, the pump speed and pressure will be increased by a first preset pressure, and the operation of the three-way valve and the pump will be adjusted according to the real-time humidity and the preset required humidity in the real-time detection data until the real-time humidity meets the preset required humidity.
9. The method according to claim 8, characterized in that, The step of adjusting the operation of the three-way valve and the water pump based on the real-time humidity in the real-time detection data and the preset required humidity, until the real-time humidity meets the preset required humidity, includes: The real-time humidity is obtained, and the humidity deviation is determined based on the preset required humidity and the real-time humidity. If the humidity deviation is less than or equal to the preset humidity deviation, then it is determined that the real-time humidity meets the preset humidity requirement, and it is determined that the operation of the three-way valve and the water pump will no longer be adjusted. If the humidity deviation is greater than the preset humidity deviation, the flow ratio of the three-way valve is increased according to the preset flow ratio, and the pressure of the water pump is increased according to the second preset pressure. Then, the process returns to the step of obtaining the real-time humidity until the pressure of the water pump is greater than the preset pressure threshold, and the alarm program is activated.
10. A control device for a solenoid valve, characterized in that, The high-pressure micro-mist humidification system includes a main control unit and a water distribution unit. The water distribution unit includes a main water inlet and multiple first main branches connected to the main water inlet. Each first main branch is equipped with a solenoid valve, and each solenoid valve is electrically connected to the main control unit. The device is applied to the main control unit, and the device includes: The acquisition module is used to acquire real-time detection data of each solenoid valve and determine the operating status of each solenoid valve based on the real-time detection data. The control module is used to determine the target valve combination based on the real-time demand load, the cumulative running time of each solenoid valve, and the real-time detection data when all solenoid valves are in normal operating condition, and to control the opening of the solenoid valves in the target valve combination.
11. A main control unit, characterized in that, include: Electronic devices; The electronic device includes one or more processors; as well as, Memory, used to store one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the control method for the solenoid valve as described in any one of claims 1 to 9.
12. A readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by the processor, it implements the control method for the solenoid valve as described in any one of claims 1 to 9.