Flow control electromagnetic valve and control system thereof
By designing the flow control solenoid valve and its control system, the problem of difficulty in reaching the standard water volume in agricultural irrigation within the expected time is solved, precise control of the irrigation water volume in farmland is achieved, and irrigation efficiency and crop yield are improved.
Patent Information
- Application Number
- CN202510105817.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-23
- Publication Date
- 2025-05-06
AI Technical Summary
During the agricultural irrigation process, it is difficult for the prior art to irrigate the farmland with standard water volume within the expected working hours. Due to the limitations of the environment and equipment operation, multiple factors need to be balanced to control the solenoid valve.
A flow control solenoid valve and its control system are designed. Through the standard time acquisition module, the water outlet acquisition module and the water outlet comparison module, the standard time and standard water outlet required for irrigation are obtained, and the opening and working time of the solenoid valve are adjusted to ensure that the water in farmland irrigation meets the standard.
Under the influence of multiple factors, we have ensured that the water volume of farmland irrigation meets the standards, avoided uneven irrigation caused by insufficient water volume, and improved the healthy growth and yield of crops.
Smart Images

Figure CN119934296A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of solenoid valves, in particular to a flow control solenoid valve and a control system thereof. Background Art
[0002] There is an electromagnetic coil inside the solenoid valve. When the coil is energized, a magnetic field is generated, which attracts the moving iron core to move in the air guide tube. One end of the moving iron core is connected to the fixed iron core through a spring, and the other end is connected to the valve core. The structure of the valve core is adapted to the opening on the valve seat. When the opening on the valve seat needs to be opened, the coil is energized to generate a magnetic field, which attracts the moving iron core to drive the valve core away from the opening. At the same time, in this process, the moving iron core compresses the spring and gradually approaches the fixed iron core. When the opening needs to be closed, the coil is de-energized, and the spring resets to push the moving iron core and the valve core to run in the opposite direction, so that the valve core returns to the opening.
[0003] In agricultural irrigation, water pipes and solenoid valves can be connected to control water flow to irrigate farmland. However, in the actual irrigation process, due to environmental influences and equipment operation limitations, it is often difficult to irrigate farmland with a standard amount of water within the expected working time. In this case, it is necessary to balance working time, irrigation water volume and other factors to change the control method of the solenoid valve. Summary of the invention
[0004] In view of the problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a flow control solenoid valve and a control system thereof, so as to balance the influence of various factors and enable farmland to be irrigated with a standard amount of water.
[0005] In order to achieve the above-mentioned purpose, the present invention provides the following technical solutions: a flow control solenoid valve control system, including: a standard time acquisition module: it sets the amount of water required for irrigating a piece of farmland, takes the required amount of water as the standard water output of the solenoid valve outlet, and measures the standard time required for irrigating the farmland based on the standard water output under standard water pressure, standard opening of the solenoid valve and fixed pipe diameter; a water output acquisition module: it sets a measurement time less than the standard time, obtains the water output from the solenoid valve outlet during the measurement time, and obtains the water output based on the measurement time water output and the measurement time. Average water output speed, based on the average water output speed, the remaining water output is obtained; water output comparison module: it takes the sum of the measured water output and the remaining water output as the actual water output, compares the actual water output with the standard water output, and makes different responses based on the comparison results. If the actual water output is equal to the standard water output, it means that the pipeline and the solenoid valve are normal, and the farmland is irrigated according to the original settings. If the actual water output is less than the standard water output, it means that within the standard time, the final water output cannot reach the standard water output required for irrigating the farmland. At this time, the solenoid valve control method is changed.
[0006] In some embodiments, the process of changing the solenoid valve control mode is: obtaining the remaining required water output based on the standard water output and the measured time water output, obtaining a new average water output speed based on the remaining required water output and the remaining time, obtaining the second opening of the solenoid valve based on the new average water output speed, and adjusting the solenoid valve opening to the second opening.
[0007] In some embodiments, the opening degree that the solenoid valve can reach is preset as the opening threshold, the opening threshold is less than the maximum opening and greater than the standard opening, the second opening is compared with the opening threshold, and different responses are obtained based on the comparison result.
[0008] In some embodiments, if the second opening is less than or equal to the opening threshold, it indicates that after the opening of the solenoid valve is increased, the actual water output can reach the standard water output, and can not exceed the opening threshold, and will not affect the growth of crops and their growth environment. In this case, the opening of the solenoid valve is controlled to increase from the standard opening to the second opening; if the second opening is greater than the opening threshold, it indicates that after the opening of the solenoid valve is increased, although the actual water output can reach the standard water output, the water flow under this opening will have an impact on the crops and their growth environment, affecting their growth. At this time, the solenoid valve is adjusted in another control method.
[0009] In some embodiments, another control method of the solenoid valve is: when the second opening of the solenoid valve is greater than the opening threshold, the second opening is adjusted to the opening threshold, and the water output that the solenoid valve can achieve within the remaining time under the opening threshold is calculated based on the average water output speed under the opening threshold, and recorded as another remaining time water output, and the sum of the other remaining time water output and the measured time water output is recorded as another actual water output, and then the difference between the standard water output and the other actual water output is used to obtain the required water output, and the time that needs to be added to the standard time is calculated based on the required water output and the average water output speed under the opening threshold, and the time is recorded as the time increment, and the working time of the solenoid valve is increased from the standard time to the standard time plus the time increment.
[0010] In some implementations, the sum of the time increment and the standard time is recorded as the total working time, a working time threshold is set, the total working time and the working time threshold are compared, and different responses are obtained based on the comparison result.
[0011] In some embodiments, if the total working time is less than or equal to the working time threshold, it indicates that the total working time after the standard time is increased is within the acceptable working time for the staff. In this case, the time can be increased to replenish the water so that the final actual water output reaches the standard water output; if the total working time is greater than the working time threshold, it indicates that the total working time after the standard time is increased is unacceptable to the staff and the working hours are long. In this case, different responses are taken according to the degree to which the total working time exceeds the working time threshold.
[0012] In some embodiments, when the total working time is greater than a working time threshold, an exceeding level is defined according to the degree of exceeding the working time threshold, and gradually increasing compensation measures are taken for the staff according to the defined different levels.
[0013] The present invention also provides the following technical solutions: The present invention further provides a flow control solenoid valve, comprising a valve seat and an opening on the valve seat, wherein the opening is provided with a valve core adapted to its structure, the top end of the valve core is fixedly connected to a vertical moving iron core, the moving iron core is located in an air duct of the solenoid valve, an electromagnetic coil is wound on the air duct, a fixed iron core is installed on the top end thereof, the fixed iron core and the moving iron core are connected by a spring, when the electromagnetic coil is energized, the generated magnetic field attracts the moving iron core to drive the valve core to leave the opening; the solenoid valve is used to execute the above-mentioned flow control solenoid valve control system.
[0014] The present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement the flow control solenoid valve control system described above.
[0015] Compared with the prior art, the technical solution provided by the present invention has the following beneficial effects: First, the present invention first obtains the theoretical standard time and standard water output required for irrigating a piece of farmland. When actually irrigating the farmland, a measurement time is set, and the water output from the water outlet of the solenoid valve is obtained within the measurement time. The average water output speed is calculated based on the water output, and then the remaining time water output that can be discharged from the water outlet of the solenoid valve within the remaining time can be obtained by using the average water output speed. The remaining time water output and the measurement time water output are added to obtain the actual water output. The actual water output is compared with the standard water output. When it is less than the standard water output, it indicates that there may be problems such as blockage or leakage in the pipeline or the solenoid valve. In this case, by changing the control mode of the solenoid valve, it is ensured that the standard water output can be reached within the standard time to irrigate the farmland.
[0016] Secondly, in the present invention, after the first comparison shows that the actual water output cannot reach the standard water output according to the set standard, the remaining required water output is counted, so that the remaining required water output is used to obtain the new average water output speed required in the remaining time. Because when other settings are the same, the new average water output speed is proportional to the opening of the solenoid valve, the new opening of the solenoid valve, that is, the second opening, can be obtained, and then the solenoid valve is adjusted to the second opening in the remaining time to ensure that the final actual water output can reach the standard water output.
[0017] Thirdly, in the present invention, since excessive water flow impact will have an adverse effect on crops and their growth environment, a solenoid valve opening threshold is set, and the second opening obtained before is compared with the opening threshold. If the opening threshold is not exceeded, the solenoid valve can be adjusted to the second opening to discharge water within the remaining time. If the opening threshold is exceeded, the solenoid valve can only be adjusted to the opening threshold at most. Then, based on this opening threshold, the average water discharge speed under the opening threshold is recalculated, and based on this speed, another remaining water discharge within the remaining time is calculated. The sum of the other remaining water discharge and the water discharge during the measurement time is another actual water discharge. There is still a gap between this other actual water discharge and the standard water discharge. After calculating this gap, the time that needs to be increased is calculated using this gap. In this way, when the second opening exceeds the opening threshold, in order to ensure that the amount of water for farmland irrigation reaches the standard water discharge and does not have an adverse effect on crops and their growth environment, the control mode of the solenoid valve is changed to increase the working time while adjusting the opening to the opening threshold. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 It is a schematic diagram of the module structure of the present invention; Figure 2 It is a schematic diagram of the logical structure of the present invention. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] It is to be understood that the term "one" should be understood as "at least one" or "one or more", that is, in one embodiment, the number of an element may be one, while in another embodiment, the number of the element may be multiple, and the term "one" should not be understood as a limitation on the quantity.
[0021] The flow control solenoid valve provided by the present invention is used to execute the control system in the present invention, and includes a valve seat and an opening located on the valve seat. A valve core compatible with its structure is arranged on the opening, and the top end of the valve core is fixedly connected to a vertical moving iron core. The moving iron core is located in an air duct of the solenoid valve. An electromagnetic coil is wound on the air duct, and a fixed iron core is installed on the top end thereof. The fixed iron core and the moving iron core are connected by a spring. When the electromagnetic coil is energized, the magnetic field generated attracts the moving iron core to drive the valve core to leave the opening. When the electromagnetic coil is de-energized, the spring is reset to push the moving iron core to move in the opposite direction, thereby causing the valve core to return to the opening.
[0022] The flow control solenoid valve control system provided by the present invention is as follows: Figure 1 and Figure 2 As shown, including: Standard time acquisition module: This module is used to obtain the standard irrigation time required for irrigating a piece of farmland under the premise of a fixed amount of water required. Under experimental conditions, the standard water pressure and the standard opening of the solenoid valve are set, and the standard opening is less than the maximum opening of the solenoid valve. When irrigating farmland, the opening of the solenoid valve is usually not adjusted to the maximum. This is because excessive water flow speed and pressure may have an adverse effect on crops and their growth environment. Specifically, strong water flow may cause soil erosion, expose plant roots, and reduce the water retention capacity of the soil. In addition, excessive water flow impact may damage the stems and leaves of plants, affecting photosynthesis and plant health. By reasonably adjusting the opening of the solenoid valve, the water flow can be ensured to be stable and moderate, so that the water can penetrate into the soil evenly, effectively meet the water requirements of crops, thereby promoting their healthy growth and increasing yields. At the same time, the diameter of the pipeline is obtained. The amount of water required to irrigate a piece of farmland is set as the standard water output of the solenoid valve outlet. Under the standard water pressure, standard opening and pipeline diameter, it is determined how long it takes to obtain the standard water output, and the measured time is recorded as the standard time.
[0023] Water output acquisition module: This module is used to calculate the water output from the outlet of the solenoid valve in the remaining time based on the average water output speed. When irrigating farmland in practice, a measurement time is set, which is less than the standard time. Keep the standard water pressure, standard opening and pipe diameter unchanged, and obtain the water output from the outlet of the solenoid valve during the measurement time through the sensor. Based on the water output and the measurement time, the average water output speed is obtained, and based on the average water output speed, the water output from the outlet of the solenoid valve in the remaining time of the standard time minus the measurement time is calculated. Specifically: set the measurement time to t1, the standard time to t, and the standard water output to L. Within t1 time, the water output from the outlet of the solenoid valve is obtained by the sensor as L1, and based on L1 and t1, the average water output speed v=L1÷t1 can be obtained. Based on the average water output speed v, the water output from the outlet of the solenoid valve in the remaining time (t-t1) can be obtained as L2=v(t-t1). For example, suppose the standard water output required for irrigating a piece of farmland is 50,000 liters, and the standard irrigation time is 5 hours. In actual irrigation, the measurement time is set to 0.5 hours. Within 0.5 hours, the water output from the solenoid valve outlet is 3,500 liters. From this, the average water output rate can be calculated to be 3,500 ÷ 0.5 = 7,000 liters / hour. The standard time of 5 hours minus the measurement time of 0.5 hours leaves 4.5 hours of remaining time. Within the remaining time of 4.5 hours, according to this average water output rate, the remaining water output is 4.5 × 7000 = 31,500 liters.
[0024] Water output comparison module: This module is used to compare the actual calculated water output with the standard water output, and make different responses according to the comparison results. Compare the sum of the measured time water output and the remaining time water output (i.e. the actual water output) with the standard water output. If the sum of the measured time water output and the remaining time water output is equal to the standard water output, it means that the pipeline and the solenoid valve are normal, and the farmland can continue to be irrigated with the original settings. If the sum of the measured time water output and the remaining time water output is less than the standard water output, it means that according to the current settings, within the standard time, the final water output cannot reach the standard water output required for irrigating farmland, which means that there may be blockages, leakage and other problems in the pipeline and solenoid valve. In this case, the solenoid valve control mode is changed to control the water output so that the final water output can reach the standard water output. Based on the above example, the actual water output = measured time water output + remaining time water output = 3500 + 31500 = 35000 liters. The actual water output of 35,000 liters is less than the standard water output of 50,000 liters, which means that there may be blockages, leakage and other problems in the pipeline and solenoid valve.
[0025] The system controls the solenoid valve through three modules to optimize the irrigation process of farmland. First, the standard time acquisition module is used to measure the standard time required for irrigation under the set standard water pressure and standard opening of the solenoid valve. The opening of the solenoid valve is less than the maximum opening to avoid the negative impact of excessive water flow on the soil and plants. Next, the water output acquisition module measures the water output of the solenoid valve outlet through the sensor within the set measurement time, calculates the average water output speed, and estimates the water output in the remaining time based on this. Finally, the water output comparison module compares the actual calculated total water output with the standard water output. If the actual water output is insufficient, it may indicate that there is a problem with the pipeline or solenoid valve, such as blockage or leakage, and the control method needs to be adjusted to ensure that the standard water output is achieved. In this way, the system ensures the effectiveness and efficiency of irrigation and improves the healthy growth and yield of crops.
[0026] It is worth mentioning that in the above process, the sum of the measured time water output and the remaining time water output is not greater than the standard water output, because the standard water output is measured under ideal and controllable experimental conditions, which means that it represents the theoretical maximum value that the system can achieve under optimal conditions. This standard water output takes into account the ideal water pressure, solenoid valve opening, pipeline conditions and other influencing factors. Therefore, in actual irrigation scenarios, due to environmental uncertainties and physical limitations of equipment, the actual water output often cannot exceed this standard value. In real field conditions, factors affecting the actual water output include pressure fluctuations in the water source, possible blockages or wear in the pipeline, wear or incomplete opening of the solenoid valve, and flow changes due to sediment or other reasons. These factors will cause the actual water output to be lower than the theoretical value. Therefore, the main function of the water output comparison module in system design is to ensure that the water output is not lower than the standard value, rather than exceeding the standard value. By monitoring the difference between the actual water output and the standard water output, the system can promptly identify the situation of insufficient water output and then take corresponding countermeasures.
[0027] The process of changing the solenoid valve control mode is: subtract the standard water output from the measured time output to get the remaining required water output, and calculate the new average water output speed based on the remaining required water output and the remaining time. Because when other conditions remain unchanged, the solenoid valve opening actually represents the average water output speed. When the solenoid valve opening increases, the average water output speed also increases proportionally. Therefore, after obtaining the new average water output speed, the new opening of the solenoid valve (recorded as the second opening) can be obtained according to the proportion. After obtaining the second opening, the opening of the solenoid valve is adjusted to the second opening in the remaining time, so that the final actual water output reaches the standard water output. For example, the remaining required water output = standard water output - measured time water output = 50000-3500 = 46500 liters, the new average water output speed = 46500÷4.5 = 10333 liters / hour, and the new opening of the solenoid valve (i.e., the second opening) = 10333÷7000×60% = 89% is obtained according to the proportion. In general, when the actual water output is not enough to reach the standard water output, the opening of the solenoid valve needs to be adjusted to compensate for the insufficient water. First, calculate the remaining required water output, that is, the standard water output minus the water output during the measurement time. Then, determine the new average water output speed based on the remaining water output and the remaining time. Since there is a linear relationship between the opening of the solenoid valve and the average water output speed, changing the opening of the solenoid valve can directly affect the water output speed. Therefore, the new opening (called the second opening) that the solenoid valve needs to be adjusted to is calculated based on the proportional relationship between the new average water output speed and the initial speed. During the remaining irrigation time, adjust the opening of the solenoid valve to the second opening to ensure that the final water output reaches the standard water output.
[0028] In order to avoid excessive water flow impact and affect the crops and their growth environment, the opening of the solenoid valve has a threshold. Therefore, after the opening of the solenoid valve is increased to the second opening, it is necessary to compare the second opening with the opening threshold to determine whether the second opening exceeds the opening threshold. Specifically: without affecting the growth of crops and their growth environment, the opening that the solenoid valve can reach is the opening threshold, and this opening threshold is greater than the standard opening and less than the maximum opening. Compare the second opening with the opening threshold in the above, and derive different strategies based on the comparison results. If the second opening is less than or equal to the opening threshold, it means that after the opening of the solenoid valve is increased, the actual water output can reach the standard water output, and it can not exceed the opening threshold, and it will not affect the growth of crops and their growth environment. In this case, the opening of the solenoid valve can be controlled to increase from the standard opening to the second opening. If the second opening is greater than the opening threshold, it means that after the opening of the solenoid valve is increased, although the actual water output can reach the standard water output, the water flow under this opening will impact the crops and their growth environment and affect growth. In this case, it is necessary to adjust the solenoid valve in another control mode. Based on the above example, the second opening is 89%. Assuming that the opening threshold of the solenoid valve is 80% without affecting the growth of crops and their growth environment, the second opening of 89% is greater than the opening threshold of 80%, so the opening of the solenoid valve cannot be increased from 60% to 89%, because if the opening of the solenoid valve is increased to 89%, it will exceed the opening threshold of 80%. Although the actual water output can reach the standard water output within the standard time, it will affect the crops and their growth environment. In this case, it is necessary to change the control mode of the solenoid valve again. In general, in the process of farmland irrigation, in order to avoid excessive water flow and adverse effects on crops and their growth environment, the opening of the solenoid valve is set not to exceed a specific threshold. This threshold is higher than the standard opening, but lower than the maximum opening. When adjusting the opening of the solenoid valve to achieve the required water output, the second opening must be evaluated to ensure that it does not exceed the opening threshold. If the second opening is less than or equal to the threshold, the solenoid valve opening can be safely adjusted to the second opening to ensure that the water output meets the standard without causing damage to crops and the environment. However, if the second opening exceeds the threshold, it indicates that although the required water output can be achieved, it may cause excessive impact on crops and the environment. In this case, other control measures are required.
[0029] The control method of the solenoid valve that is changed again is: when the second opening of the solenoid valve is greater than the opening threshold, the second opening is adjusted to the opening threshold, and the water output that the solenoid valve can achieve in the remaining time under the opening threshold is calculated according to the average water output speed under the opening threshold, which is recorded as another remaining time water output, and the sum of the other remaining time water output and the measured time water output is recorded as another actual water output, and then the difference between the standard water output and the other actual water output is used to obtain the required water output, and the time that needs to be added to the standard time is calculated based on the required water output and the average water output speed under the opening threshold, which is recorded as the time increment. The working time threshold is set according to the acceptance of the staff, and the sum of the standard time and the time increment is compared with the working time threshold, and different responses are obtained according to the comparison results. If the sum of the standard time and the time increment is less than or equal to the working time threshold, it means that the total working time after the standard time is increased is within the acceptable working time of the staff. In this case, the time can be increased to replenish the water so that the final actual water output reaches the standard water output. If the sum of the standard time and the time increment is greater than the working time threshold, it means that the total time after the standard time is increased is unacceptable to the staff and the working hours are long. In this case, different responses are made according to the degree to which the total working time exceeds the working time threshold. For example, when the second opening of the solenoid valve is 89% greater than the opening threshold of 80%, the second opening is adjusted to 80%, and the average water flow rate under this opening threshold changes from 7000 liters / hour to 80%÷60%×7000=9333 liters / hour. From this, the other actual water output is calculated to be 3500+9333×4.5=45499 liters. Based on this, the amount of water to be replenished is 50000-45499=4501 liters. Therefore, the time increment = the amount of water to be replenished / the average water output rate under the opening threshold = 4501÷9333=0.48 hours. In other words, when the solenoid valve opening does not exceed the opening threshold, the total working time changes from 5 hours of the standard time to 5.48 hours. Assuming that the working time threshold is 6 hours, 5.48 < 6, so the total working time after the standard time is increased is acceptable to the staff, the opening of the solenoid valve can be increased from the standard opening to the opening threshold, and then the working time can be increased to make the final actual water output reach the standard water output. However, if the total working time exceeds the working time threshold, the level of exceeding can be defined according to the degree of exceeding the working time threshold. For example, if the working time threshold is exceeded by less than 5%, it is defined as a first-level exceeding, if the working time threshold is exceeded by 5%-10%, it is defined as a second-level exceeding, and if the working time threshold is exceeded by more than 10%, it is defined as a third-level exceeding. According to the level of exceeding, overtime pay can be increased for the staff step by step to ensure that the farmland can be irrigated with the standard water output.In general, when adjusting the opening of the solenoid valve, when the second opening exceeds the set threshold (i.e., the opening threshold), the strategy adopted is to adjust it to the threshold range, and use the average water output speed under this opening to calculate the water output in the remaining time. This water output is added to the water output in the measurement time to determine another actual water output. By comparing the standard water output and the other actual water output, the amount of water to be supplemented is calculated, and the time to be added, i.e., the time increment, is deduced from this. Then, the adjusted total working time is compared with the set working time threshold. If the adjusted time is less than or equal to the threshold, the increased working time is within an acceptable range, and the standard water output can be achieved by extending the irrigation time. However, if the total time exceeds the working time threshold, different countermeasures are adopted according to the degree of excess. For example, different levels of exceeding the working time threshold are proposed, and corresponding additional compensation, such as overtime pay, is provided to the staff to ensure that the irrigation meets the standard requirements.
[0030] In the embodiments disclosed in the present invention, the processes described above with reference to the flowchart can be implemented as a computer software program. The embodiments disclosed in the present invention include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part, and / or installed from a removable medium. When the computer program is executed by the central processing unit, the above functions defined in the method of the present application are executed. It should be noted that the computer-readable medium mentioned above in the present application can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media can include, but are not limited to: an electrical connection with one or more wire segments, a portable computer disk, a hard disk, a random access memory, a read-only memory, an erasable programmable read-only memory, an optical fiber, a portable compact disk read-only memory, an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, apparatus, or device. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any suitable medium, including but not limited to: wireless segments, wire segments, optical cables, RF, etc., or any suitable combination of the above.
[0031] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present invention. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of a code contains one or more executable instructions for implementing the specified logical functions. It should also be noted that in some alternative implementations, the functions marked in the boxes can also occur in a different order than the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0032] Those skilled in the art should understand that the above description is only a specific implementation mode of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be covered by the protection scope of the present application.
Claims
1. A flow control solenoid valve control system, characterized in that: include: Standard time acquisition module: It sets the amount of water required to irrigate a piece of farmland, takes the required amount of water as the standard water output of the solenoid valve outlet, and measures the standard time required to irrigate the farmland based on the standard water output under standard water pressure, standard opening of the solenoid valve and fixed pipe diameter; Water output acquisition module: it sets a measurement time that is less than the standard time, obtains the water output from the solenoid valve outlet during the measurement time, obtains the average water output speed based on the water output during the measurement time and the measurement time, and obtains the water output during the remaining time based on the average water output speed; Water output comparison module: It takes the sum of the water output during the measurement time and the water output during the remaining time as the actual water output, compares the actual water output with the standard water output, and makes different responses based on the comparison results. If the actual water output is equal to the standard water output, it means that the pipeline and the solenoid valve are normal, and the farmland is irrigated according to the original settings. If the actual water output is less than the standard water output, it means that within the standard time, the final water output cannot reach the standard water output required for irrigating the farmland. At this time, the solenoid valve control method is changed.
2. The flow control solenoid valve control system according to claim 1, characterized in that: The process of changing the solenoid valve control mode is: based on the standard water output and the measured time water output, the remaining required water output is obtained, based on the remaining required water output and the remaining time, a new average water output speed is obtained, based on the new average water output speed, the second opening of the solenoid valve is obtained, and the opening of the solenoid valve is adjusted to the second opening.
3. The flow control solenoid valve control system according to claim 2, characterized in that: The opening that the preset solenoid valve can reach is the opening threshold, the opening threshold is smaller than the maximum opening and larger than the standard opening, the second opening is compared with the opening threshold, and different responses are obtained according to the comparison result.
4. The flow control solenoid valve control system according to claim 3, characterized in that: If the second opening is less than or equal to the opening threshold, it means that after the opening of the solenoid valve is increased, the actual water output can reach the standard water output and will not exceed the opening threshold, and will not affect the growth of crops and their growth environment. In this case, the opening of the solenoid valve is controlled to increase from the standard opening to the second opening; if the second opening is greater than the opening threshold, it means that after the opening of the solenoid valve is increased, although the actual water output can reach the standard water output, the water flow under this opening will have an impact on the crops and their growth environment, affecting their growth. At this time, the solenoid valve is adjusted in another control method.
5. The flow control solenoid valve control system according to claim 4, characterized in that: Another control method of the solenoid valve is: when the second opening of the solenoid valve is greater than the opening threshold, the second opening is adjusted to the opening threshold, and the water output that the solenoid valve can achieve within the remaining time under the opening threshold is calculated based on the average water output speed under the opening threshold, and recorded as another remaining time water output, and the sum of the other remaining time water output and the measured time water output is recorded as another actual water output, and then the difference between the standard water output and the other actual water output is used to obtain the required water output, and the time that needs to be added to the standard time is calculated based on the required water output and the average water output speed under the opening threshold, and the time is recorded as the time increment, and the working time of the solenoid valve is increased from the standard time to the standard time plus the time increment.
6. The flow control solenoid valve control system according to claim 5, characterized in that: The sum of the time increment and the standard time is recorded as the total working time, a working time threshold is set, the total working time is compared with the working time threshold, and different responses are obtained based on the comparison results.
7. The flow control solenoid valve control system according to claim 6, characterized in that: If the total working time is less than or equal to the working time threshold, it means that the total working time after the standard time is increased is within the acceptable working time for the staff. In this case, the time can be increased to replenish the water so that the final actual water output reaches the standard water output; if the total working time is greater than the working time threshold, it means that the total working time after the standard time is increased is unacceptable to the staff and the working hours are long. In this case, different responses are taken according to the degree to which the total working time exceeds the working time threshold.
8. The flow control solenoid valve control system according to claim 7, characterized in that: When the total working time is greater than the working time threshold, the exceeding level is defined according to the degree of exceeding the working time threshold, and the staff is given increasing compensation measures according to the different defined levels.
9. A flow control solenoid valve, characterized in that: It includes a valve seat and an opening on the valve seat, wherein a valve core adapted to its structure is arranged on the opening, and the top of the valve core is fixedly connected to a vertical moving iron core, which is located in an air guide tube of the electromagnetic valve, and an electromagnetic coil is wound on the air guide tube, and a fixed iron core is installed on the top of the inner part of the air guide tube, and the fixed iron core and the moving iron core are connected by a spring, and when the electromagnetic coil is energized, the magnetic field generated attracts the moving iron core to drive the valve core to leave the opening; The solenoid valve is used to execute a flow control solenoid valve control system as described in any one of claims 1 to 8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and the computer program is executed by a processor to implement a flow control solenoid valve control system as described in any one of claims 1 to 8.