Water valve control system, method and storage medium

By adopting energy acquisition circuits and control circuits in the water valve control system and using the first control chip to collect and store light energy, the problem of unreliable power supply of water valves in the prior art is solved, and long-term maintenance-free and efficient water valves are achieved Energy harvesting.

CN113110227BActive Publication Date: 2024-12-31WUXI CHENGYUE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110497887.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-08
Publication Date
2024-12-31
Estimated Expiration
2041-05-08

AI Technical Summary

Technical Problem

The existing power generation devices and energy acquisition circuit structures are not optimized enough, with high cost and low acquisition efficiency, which leads to unreliable water valves during power supply and cannot be used normally.

Method used

Design a water valve control system, including an energy acquisition circuit and a control circuit, uses the first control chip to collect light energy and convert it into electrical energy, store it in a rechargeable battery, supply power to the water valve, and control the opening of the water valve, Close and flow rate.

Benefits of technology

It realizes the long-term maintenance-free use of water valves, reduces maintenance costs, improves the reliability and energy collection efficiency of water valves, and ensures the normal operation of water valves.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113110227B_ABST
    Figure CN113110227B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a water valve control system, method and storage medium. The water valve control system includes an energy collection circuit and a control circuit. The control circuit includes a first control chip; the energy collection circuit is used to collect light energy; the collected light energy is converted into electrical energy to charge a battery; the first control chip is used to control the energy collection circuit to collect light energy and charge the battery; the control circuit is also used to control the opening and closing of the water valve, and to control the flow rate and velocity of the water valve. In this way, light energy in the environment is collected and stored in a rechargeable battery to power the water valve, so that the water valve can be used maintenance-free for a longer period of time; the flow rate and velocity of the water valve can also be controlled.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of water valve control, and in particular to a water valve control system, method and storage medium. Background Art

[0002] Existing power generation devices and energy collection circuits have many shortcomings, such as inadequately optimized structure, high cost, low collection efficiency and other problems. As a result, during use, due to high cost, poor reliability, low energy output, the water valve cannot be used normally during the power supply process. Summary of the invention

[0003] The embodiments of the present application provide a water valve control system, method and storage medium, which can collect light energy in the environment, store it in a rechargeable battery, and power the water valve, thereby enabling the water valve to be used maintenance-free for a longer period of time.

[0004] A first aspect of an embodiment of the present application provides a water valve control system, the system comprising an energy collection circuit and a control circuit, the energy collection circuit is connected to the control circuit, and the control circuit comprises a first control chip;

[0005] The energy collection circuit is used to collect light energy and convert the collected light energy into electrical energy to charge the battery;

[0006] The first control chip is used to control the energy collection circuit to collect light energy and charge the battery;

[0007] The control circuit is also used to control the opening and closing of the water valve, and to control the flow rate of the water valve.

[0008] A second aspect of an embodiment of the present application provides a water valve control method, which is applied to a water valve control system. The method includes:

[0009] The energy collection circuit collects light energy; converts the collected light energy into electrical energy to charge the battery;

[0010] The first control chip controls the energy collection circuit to collect light energy and charge the battery;

[0011] The control circuit controls the opening and closing of the water valve, and controls the flow rate of the water valve.

[0012] A third aspect of an embodiment of the present application provides a computer-readable storage medium, which is used to store a computer program. The computer program is executed by a processor to implement part or all of the steps described in the method described in the second aspect of the embodiment of the present application.

[0013] The fourth aspect of the embodiments of the present application provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to enable a computer to execute part or all of the steps described in the method described in the second aspect of the embodiments of the present application.

[0014] Implementing the embodiments of the present application has at least the following beneficial effects:

[0015] It can be seen that the water valve control system in the embodiment of the present application includes an energy collection circuit and a control circuit, the control circuit includes a first control chip; the energy collection circuit is used to collect light energy; the collected light energy is converted into electrical energy to charge the battery; the first control chip is used to control the energy collection circuit to collect light energy and charge the battery; the control circuit is also used to control the opening and closing of the water valve, and to control the flow rate of the water valve. In this way, the light energy in the environment is collected and stored in a rechargeable battery to power the water valve, so that the water valve can be used maintenance-free for a longer period of time; the flow rate of the water valve can also be controlled. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0017] Figure 1A A schematic diagram of the structure of a water valve control system provided in an embodiment of the present application;

[0018] Figure 1B A circuit diagram of an energy harvesting circuit connected to a first controller provided in an embodiment of the present application;

[0019] Figure 1C A circuit diagram of a control circuit provided in an embodiment of the present application;

[0020] Figure 2 A flow chart of a water valve control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0021] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.

[0022] The terms "first", "second", etc. in the specification and claims of this application and the above-mentioned drawings are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally includes steps or units that are not listed, or optionally includes other steps or units inherent to these processes, methods, products or devices.

[0023] Reference to "embodiments" in this application means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described in this application may be combined with other embodiments.

[0024] See also Figure 1A , Figure 1A : is a schematic diagram of the structure of a water valve control system provided in an embodiment of the present application, wherein the water valve control system comprises an energy collection circuit and a control circuit, wherein the energy collection circuit is connected to the control circuit, and the control circuit comprises a first control chip; wherein,

[0025] The energy collection circuit is used to collect light energy and convert the collected light energy into electrical energy to charge the battery;

[0026] The first control chip is used to control the energy collection circuit to collect light energy and charge the battery;

[0027] The control circuit is also used to control the opening and closing of the water valve, and to control the flow rate of the water valve.

[0028] The first control chip may generate a control signal, such as a PWM signal, and the PWM signal may be used to control the energy collection circuit to collect light energy.

[0029] Optionally, the energy collection circuit further includes a light energy panel S1, a first transistor Q1, a first capacitor C1, a first diode D1, a third diode D3, a first resistor R1, a second resistor R2, a second diode D2, a first inductor L1, a second capacitor C2, and a battery BATT; wherein,

[0030] The positive electrode of the photoelectric panel S1 is connected to one end of the first capacitor C1, the positive electrode of the first diode, and the negative electrode of the third diode; the negative electrode of the photoelectric panel S1 is connected to the other end of the first capacitor and the drain electrode of the first transistor Q1;

[0031] The anode of the third diode is grounded; the source of the first transistor is grounded;

[0032] The gate of the first transistor Q1 is connected to the control port of the first control chip;

[0033] The cathode of the first diode and one end of the first resistor are connected to the input port of the first control chip;

[0034] The other end of the first resistor, one end of the second resistor and the overcharge voltage protection port of the first control chip; the other end of the second resistor is grounded;

[0035] One end of the first inductor is connected to a power supply voltage port of the first control chip;

[0036] One end of the second diode, one end of the second capacitor, the positive electrode of the battery and the other end of the first inductor are connected; one end of the second diode, one end of the second capacitor and the negative electrode of the battery are grounded.

[0037] The first control chip is used to generate a PWM signal, and the PWM signal is used to control the on and off of the first transistor Q1;

[0038] When the first transistor Q1 is turned on, the electric energy generated by the solar panel S1 flows to the first control chip through the first diode D1, and forms pulse electric energy on the power supply of the first control chip; the pulse electric energy charges the battery BATT through the first inductor L1;

[0039] When the first transistor Q1 is turned on, the voltage VCC of the first control chip MCU is greater than the battery voltage VBAT;

[0040] When the first transistor Q1 is turned off, the voltage VCC of the MCU is lower than the battery voltage, and the first inductor L1, the battery and the second diode D2 form a freewheeling loop to charge the battery.

[0041] The solar panel S1 may be an amorphous silicon solar panel, which can collect light of different intensities in the environment.

[0042] like Figure 1B As shown, Figure 1B A circuit diagram of an energy harvesting circuit connected to a first controller provided in an embodiment of the present application, specifically, when the first transistor Q1 is turned on, the voltage of the first control chip MCU is greater than the battery voltage VBAT, and current flows through the first inductor L1 to charge the battery. The first control chip controls the output of the solar panel S1 to maintain the maximum power output state; the first inductor L1, the battery and the second diode D2 constitute a nonlinear BULK charging circuit.

[0043] Through the first control chip MCU, the first transistor Q1 can complete the maximum power point tracking (MPPT) adjustment, the first inductor L1, the second diode D2, and the battery can complete the nonlinear BULK charging of electric energy, so that the water valve can collect light energy and work with the least electric energy consumption, thereby achieving the purpose of micro-power system operation and micro-energy consumption energy collection of the water valve control system.

[0044] Optionally, the control circuit further includes: a motor control circuit, a current detection circuit and a water valve detection circuit; the motor control circuit, the current detection circuit and the water valve detection circuit are all connected to the first control chip; wherein,

[0045] The first control chip is further used to send a control signal to the motor control circuit after receiving a control instruction;

[0046] A motor control circuit, used for controlling the opening and closing of the water valve;

[0047] A current detection circuit, used for detecting current, so as to determine whether the energy collection circuit is required to collect energy according to current feedback;

[0048] The water valve detection circuit is used to control the opening angle of the water valve and the output speed of the water volume.

[0049] Optionally, the motor control circuit includes: a motor, a seventh capacitor, a fourth capacitor, a fifth capacitor, a third capacitor, a chip capacitor EC1, a second control chip, a third resistor, and a fourth resistor; wherein,

[0050] The motor is connected in parallel with the seventh capacitor; the motor, one end of the seventh capacitor, and one end of the fourth capacitor are connected to the first output port of the second control chip; the motor, the other end of the seventh capacitor, and one end of the fifth capacitor are connected to the second output port of the second control chip;

[0051] The other end of the fifth capacitor is grounded; the other end of the fourth capacitor, one end of the third capacitor, and one end of the patch capacitor are grounded; the other end of the third capacitor, the other end of the patch capacitor, the voltage input end of the second control chip, the input voltage port of the second control chip, and the power supply voltage port are connected to the battery;

[0052] The current detection circuit includes: a fourth diode, a fifth resistor, a second transistor, a sixth resistor, a sixth capacitor, and a seventh resistor; wherein,

[0053] An anode of the fourth diode, one end of the fifth resistor, and one end of the sixth resistor are grounded;

[0054] The cathode of the fourth diode and the other end of the fifth resistor are connected to the drain of the second transistor; the gate of the second transistor is connected to the first control chip; and the source of the second transistor is grounded;

[0055] The other end of the sixth resistor and one end of the sixth capacitor are connected to one end of the seventh resistor; the other end of the sixth capacitor is grounded; and the other end of the seventh resistor is connected to the first control chip;

[0056] The water valve detection circuit includes: a ninth capacitor, a third control chip, a tenth capacitor, an eighth capacitor, an eighth resistor, a ninth resistor, and a variable resistor; wherein,

[0057] One end of the ninth capacitor is connected to the voltage input port of the third control chip and connected to the second control chip; the other end of the ninth capacitor is grounded; one end of the tenth capacitor and one end of the eighth resistor are connected to the voltage output port of the third control chip; the other end of the tenth capacitor is grounded;

[0058] The other end of the eighth resistor, one end of the eighth capacitor, and the first end of the variable resistor are connected to the second control chip; the other end of the eighth capacitor is grounded;

[0059] The second end of the variable resistor is connected to one end of the ninth resistor; the other end of the ninth resistor; and the third end of the variable resistor is grounded.

[0060] See also Figure 1C , Figure 1C A circuit diagram of a control circuit provided in an embodiment of the present application. After receiving a wireless control instruction, the first control chip MCU can start the second control chip U2, the motor opens / closes the water valve, detects the deflection angle of the water valve through the variable resistor VR1, controls the valve body to realize the angle opening of the valve, and accurately controls the output speed of the water volume.

[0061] Optionally, the water valve is an electric angle valve, and the water valve detection circuit detects the deflection angle of the water valve through a variable resistor VR1.

[0062] Optionally, the control circuit further includes a flow meter, and the flow meter is used to measure the flow of the water valve to control the flow of the water valve.

[0063] The electric energy of the solar panel S1 is transmitted to the voltage VCC of the first control chip MCU through the first diode D1, and is simultaneously divided and connected to the input and output IO ports of the first control chip MCU to detect the input voltage. Dynamic floating MPPT energy collection is achieved through the second transistor Q2 of the switch tube and the control pulse port.

[0064] In a specific implementation, in the case of weak light, such as 10lux-1000lux lighting conditions, the energy of the managed light energy of the first control chip MCU directly charges the rechargeable battery. Maintaining extremely low standby power consumption, for example, less than 2uA. Since the first control chip consumes energy when sending a control signal, when the input energy is weak, when the work consumption of sending the control signal is at the same order of magnitude as the input energy, it is not cost-effective to use pulse adjustment MPPT, and the pulse can be turned off, the second transistor Q2 is connected to the ground, and the light energy directly charges the battery.

[0065] Under medium light conditions, for example, 1000 lux to 10,000 lux, the first control chip MCU enters intermittent working mode, that is, it works for a few hundred milliseconds to collect energy, and then sleeps for a few hundred milliseconds to maintain the output voltage of the solar panel at the voltage point of maximum output power.

[0066] In strong light mode, for example >10,000 lux, the first control chip can enter full-speed control mode, and maintain the output voltage of the photovoltaic panel at the voltage point of maximum output power by controlling the width of pulse width modulation (PWM).

[0067] The ground of the solar panel and the ground of the battery are separated. By controlling the switches of the two grounds, a pulse current can be generated in the tenth inductor L10. The sixth inductor L6 and the third diode D3 have a freewheeling characteristic, which can realize the nonlinear transformation of the energy for charging the battery. At the same time, the energy collection of light energy is controlled well, and the output voltage of the energy panel is kept at the maximum power point, thereby realizing dynamic (different light intensity) floating ground MPPT energy collection.

[0068] Optionally, the system further comprises a gateway device, a cloud server and a client device;

[0069] The control circuit is also used to report the data and results of controlling the water valve to the gateway device;

[0070] The gateway device is used to report the data and results of controlling the water valve to the cloud server;

[0071] The client device is used to obtain the data and results of the water valve from the cloud server.

[0072] For example, after the water valve control system is started, it enters the micro-power consumption mode, for example, <30uA, that is, the system is in full standby mode <2uA, and then wakes up once every 1s, turning on the RF for 3-5ms. If no data is received during this window, the system enters full standby mode and waits for the next 1 second to wake up. In this way, the overall standby power consumption is <30uA on average, which can achieve micro-power standby. The battery can be easily charged with light energy, and permanent maintenance-free use is achieved. If data is received during the window period, the corresponding action operation is performed, such as opening the water valve, closing the water valve, etc., and the execution process and results are reported to the gateway device. Then the gateway device reports to the cloud server. Thus, users can use the client device to achieve real-time control of the APP and monitor the water valve.

[0073] In actual application, a 50mmX40mm amorphous silicon solar cell can provide 4mAH-8mah of energy per day. After the dynamic floating MPPT energy collection, it can increase the energy by 30%. If the water valve is opened and closed less than 5 times per day on average, plus standby, the energy consumed is about 2maH. Since the collected energy is more than twice the energy used, the equipment is basically permanent and maintenance-free.

[0074] In addition, after the local real-time timer synchronizes the clock with the gateway device and the cloud server, the local time can be used to manage watering according to the set water volume and time point, and it can also work normally in the event of power outages and network disconnection.

[0075] It can be seen that the water valve control system in the embodiment of the present application includes an energy collection circuit and a control circuit, the control circuit includes a first control chip; the energy collection circuit is used to collect light energy; the collected light energy is converted into electrical energy to charge the battery; the first control chip is used to control the energy collection circuit to collect light energy and charge the battery; the control circuit is also used to control the opening and closing of the water valve, and to control the flow rate of the water valve. In this way, the light energy in the environment is collected and stored in a rechargeable battery to power the water valve, so that the water valve can be used maintenance-free for a longer period of time; the flow rate of the water valve can also be controlled.

[0076] See also Figure 2 , Figure 2 A schematic diagram of a water valve control method provided in an embodiment of the present application. Figure 2 As shown, the water valve control method provided in the embodiment of the present application is applied to the water valve control system shown in FIG1 , and the method may include the following steps:

[0077] 201. The energy collection circuit collects light energy; converts the collected light energy into electrical energy to charge the battery;

[0078] 202. The first control chip controls the energy collection circuit to collect light energy and charge the battery;

[0079] 203. The control circuit controls the opening and closing of the water valve, and controls the flow rate of the water valve.

[0080] The first control chip is used to generate a PWM signal, and the PWM signal is used to control the on and off of the first transistor Q1;

[0081] When the first transistor Q1 is turned on, the electric energy generated by the solar panel S1 flows to the first control chip through the first diode D1, and forms pulse electric energy on the power supply of the first control chip; the pulse electric energy charges the battery BATT through the first inductor L1;

[0082] When the first transistor Q1 is turned on, the voltage VCC of the first control chip MCU is greater than the battery voltage VBAT;

[0083] When the first transistor Q1 is turned off, the voltage VCC of the MCU is lower than the battery voltage, and the first inductor L1, the battery and the second diode D2 form a freewheeling loop to charge the battery.

[0084] Specifically, when the first transistor Q1 is turned on, the voltage of the first control chip MCU is greater than the battery voltage VBAT, and current flows through the first inductor L1 to charge the battery. The first control chip controls the output of the solar panel S1 to maintain the maximum power output state; the first inductor L1, the battery and the second diode D2 form a nonlinear BULK charging circuit.

[0085] Through the first control chip MCU, the first transistor Q1 can complete the adjustment of MPPT, the first inductor L1, the second diode D2, and the battery can complete the nonlinear BULK charging of electric energy, so that the water valve can collect light energy and work with the least electric energy consumption, thereby achieving the purpose of micro-power system operation and micro-energy consumption energy collection of the water valve control system.

[0086] After receiving the wireless control command, the first control chip MCU can start the second control chip U2, the motor opens / closes the water valve, detects the deflection angle of the water valve through the variable resistor VR1, controls the valve body to realize the angle opening of the valve, and accurately controls the output speed of the water volume.

[0087] Optionally, the water valve is an electric angle valve, and the water valve detection circuit detects the deflection angle of the water valve through a variable resistor VR1.

[0088] Optionally, the control circuit further includes a flow meter, and the flow meter is used to measure the flow of the water valve to control the flow of the water valve.

[0089] The control circuit can also be connected to a flow meter to accurately control the output flow.

[0090] For example, Hall flowmeters can measure flow rate and flow rate in real time, and easily and accurately control the amount of fluid.

[0091] The electric energy of the solar panel S1 is transmitted to the voltage VCC of the first control chip MCU through the first diode D1, and is simultaneously divided and connected to the input and output IO ports of the first control chip MCU to detect the input voltage. Dynamic floating MPPT energy collection is achieved through the second transistor Q2 of the switch tube and the control pulse port.

[0092] In a specific implementation, in the case of weak light, such as 10lux-1000lux lighting conditions, the energy of the managed light energy of the first control chip MCU directly charges the rechargeable battery. Maintaining extremely low standby power consumption, for example, less than 2uA. Since the first control chip consumes energy when sending a control signal, when the input energy is weak, when the work consumption of sending the control signal is at the same order of magnitude as the input energy, it is not cost-effective to use pulse adjustment MPPT, and the pulse can be turned off, the second transistor Q2 is connected to the ground, and the light energy directly charges the battery.

[0093] Under medium light conditions, for example, 1000 lux to 10,000 lux, the first control chip MCU enters intermittent working mode, that is, it works for a few hundred milliseconds to collect energy, and then sleeps for a few hundred milliseconds to maintain the output voltage of the solar panel at the voltage point of maximum output power.

[0094] In strong light mode, for example >10,000 lux, the first control chip can enter full-speed control mode, and maintain the output voltage of the photovoltaic panel at the voltage point of maximum output power by controlling the width of pulse width modulation (PWM).

[0095] The ground of the solar panel and the ground of the battery are separated. By controlling the switches of the two grounds, a pulse current can be generated in the tenth inductor L10. The sixth inductor L6 and the third diode D3 have a freewheeling characteristic, which can realize the nonlinear transformation of the energy for charging the battery. At the same time, the energy collection of light energy is controlled well, and the output voltage of the energy panel is kept at the maximum power point, thereby realizing dynamic (different light intensity) floating ground MPPT energy collection.

[0096] Optionally, the system further comprises a gateway device, a cloud server and a client device;

[0097] The control circuit is also used to report the data and results of controlling the water valve to the gateway device;

[0098] The gateway device is used to report the data and results of controlling the water valve to the cloud server;

[0099] The client device is used to obtain the data and results of the water valve from the cloud server.

[0100] For example, after the water valve control system is started, it enters the micro-power consumption mode, for example, <30uA, that is, the system is in full standby mode <2uA, and then wakes up once every 1s, turning on the RF for 3-5ms. If no data is received during this window, the system enters full standby mode and waits for the next 1 second to wake up. In this way, the overall standby power consumption is <30uA on average, which can achieve micro-power standby. The battery can be easily charged with light energy, and permanent maintenance-free use is achieved. If data is received during the window period, the corresponding action operation is performed, such as opening the water valve, closing the water valve, etc., and the execution process and results are reported to the gateway device. Then the gateway device reports to the cloud server. Thus, users can use the client device to achieve real-time control of the APP and monitor the water valve.

[0101] In actual application, a 50mmX40mm amorphous silicon solar cell can provide 4mAH-8mah of energy per day. After the dynamic floating MPPT energy collection, it can increase the energy by 30%. If the water valve is opened and closed less than 5 times per day on average, plus standby, the energy consumed is about 2maH. Since the collected energy is more than twice the energy used, the equipment is basically permanent and maintenance-free.

[0102] In addition, after the local real-time timer synchronizes the clock with the gateway device and the cloud server, the local time can be used to manage watering according to the set water volume and time point, and it can also work normally in the event of power outages and network disconnection.

[0103] It can be seen that the water valve control method in the embodiment of the present application is applied to a water valve control system, including an energy collection circuit and a control circuit, the control circuit includes a first control chip; the energy collection circuit collects light energy; the collected light energy is converted into electrical energy to charge the battery; the first control chip controls the energy collection circuit to collect light energy and charge the battery; the control circuit controls the opening and closing of the water valve, and controls the flow rate of the water valve. In this way, the light energy in the environment is collected and stored in a rechargeable battery to power the water valve, so that the water valve can be used without maintenance for a long time; the flow rate of the water valve can also be controlled.

[0104] An embodiment of the present application also provides a computer storage medium, wherein the computer storage medium stores a computer program for electronic data exchange, and the computer program enables a computer to execute part or all of the steps of any one of the electromyography acquisition methods recorded in the above method embodiments.

[0105] An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program enables a computer to execute part or all of the steps of any one of the electromyography acquisition methods recorded in the above method embodiments.

[0106] It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0107] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0108] In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.

[0109] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0110] In addition, the functional units in the various embodiments of the application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated units may be implemented in the form of hardware or in the form of software program modules.

[0111] If the integrated unit is implemented in the form of a software program module and sold or used as an independent product, it can be stored in a computer-readable memory. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk and other media that can store program codes.

[0112] A person of ordinary skill in the art can understand that all or part of the steps in the various methods of the above embodiments can be completed by instructing related hardware through a program, and the program can be stored in a computer-readable memory, which can include: a flash drive, a read-only memory, a random access memory, a magnetic disk or an optical disk, etc.

[0113] The embodiments of the present application are introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method and core idea of ​​the present application. At the same time, for general technical personnel in this field, according to the idea of ​​the present application, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A water valve control system, characterized in that: The system comprises an energy collection circuit and a control circuit, wherein the energy collection circuit is connected to the control circuit, and the control circuit comprises a first control chip; The energy collection circuit is used to collect light energy; Convert the collected light energy into electrical energy to charge the battery; The first control chip is used to control the energy collection circuit to collect light energy and charge the battery; The control circuit is also used to control the opening and closing of the water valve, and to control the flow rate of the water valve; The energy collection circuit further includes a light energy panel, a first transistor, a first capacitor, a first diode, a third diode, a first resistor, a second resistor, a second diode, a first inductor, a second capacitor, and a battery; wherein, The positive electrode of the photoelectric panel is connected to one end of the first capacitor, the positive electrode of the first diode, and the negative electrode of the third diode; the negative electrode of the photoelectric panel is connected to the other end of the first capacitor and the drain of the first transistor; The anode of the third diode is grounded; the source of the first transistor is grounded; The gate of the first transistor is connected to the control port of the first control chip; The cathode of the first diode and one end of the first resistor are connected to the input port of the first control chip; The other end of the first resistor, one end of the second resistor and the overcharge voltage protection port of the first control chip; the other end of the second resistor is grounded; One end of the first inductor is connected to a power supply voltage port of the first control chip; One end of the second diode, one end of the second capacitor, the positive electrode of the battery and the other end of the first inductor are connected; one end of the second diode, one end of the second capacitor and the negative electrode of the battery are grounded; The system also includes a gateway device, a cloud server and a client device.

2. The system according to claim 1, characterized in that: The first control chip is used to generate a PWM signal, and control the on and off of the first transistor through the PWM signal; When the first transistor is turned on, the electric energy generated by the solar panel flows to the first control chip through the first diode, forming pulse electric energy on the power supply of the first control chip; The pulse electric energy charges the battery via the first inductor; When the first transistor is turned on, the voltage of the first control chip is greater than the battery voltage; When the first transistor is turned off, the voltage of the first control chip is lower than the battery voltage, and the first inductor, the battery and the second diode form a freewheeling loop to charge the battery.

3. The system according to any one of claims 1-2, characterized in that: The control circuit also includes: a motor control circuit, a current detection circuit and a water valve detection circuit; the motor control circuit, the current detection circuit and the water valve detection circuit are all connected to the first control chip; wherein, The first control chip is further used to send a control signal to the motor control circuit after receiving a control instruction; A motor control circuit, used for controlling the opening and closing of the water valve; A current detection circuit, used for detecting current, so as to determine whether the energy collection circuit is required to collect energy according to current feedback; The water valve detection circuit is used to control the opening angle of the water valve and the output speed of the water volume.

4. The system according to claim 3, characterized in that: The motor control circuit includes: a motor, a seventh capacitor, a fourth capacitor, a fifth capacitor, a third capacitor, a patch capacitor, a second control chip, a third resistor, and a fourth resistor; wherein, The motor is connected in parallel with the seventh capacitor; the motor, one end of the seventh capacitor, and one end of the fourth capacitor are connected to the first output port of the second control chip; the motor, the other end of the seventh capacitor, and one end of the fifth capacitor are connected to the second output port of the second control chip; The other end of the fifth capacitor is grounded; the other end of the fourth capacitor, one end of the third capacitor, and one end of the patch capacitor are grounded; the other end of the third capacitor, the other end of the patch capacitor, the voltage input end of the second control chip, the input voltage port of the second control chip, and the power supply voltage port are connected to the battery; The current detection circuit includes: a fourth diode, a fifth resistor, a second transistor, a sixth resistor, a sixth capacitor, and a seventh resistor; wherein, An anode of the fourth diode, one end of the fifth resistor, and one end of the sixth resistor are grounded; The cathode of the fourth diode and the other end of the fifth resistor are connected to the drain of the second transistor; the gate of the second transistor is connected to the first control chip; and the source of the second transistor is grounded; The other end of the sixth resistor and one end of the sixth capacitor are connected to one end of the seventh resistor; the other end of the sixth capacitor is grounded; and the other end of the seventh resistor is connected to the first control chip; The water valve detection circuit includes: a ninth capacitor, a third control chip, a tenth capacitor, an eighth capacitor, an eighth resistor, a ninth resistor, and a variable resistor; wherein, One end of the ninth capacitor is connected to the voltage input port of the third control chip and connected to the second control chip; the other end of the ninth capacitor is grounded; one end of the tenth capacitor and one end of the eighth resistor are connected to the voltage output port of the third control chip; the other end of the tenth capacitor is grounded; The other end of the eighth resistor, one end of the eighth capacitor, and the first end of the variable resistor are connected to the second control chip; the other end of the eighth capacitor is grounded; The second end of the variable resistor is connected to one end of the ninth resistor; the other end of the ninth resistor; and the third end of the variable resistor is grounded.

5. The system according to claim 4, characterized in that: The water valve is an electric angle valve, and the water valve detection circuit detects the deflection angle of the water valve through a variable resistor VR1.

6. The system according to claim 4 or 5, characterized in that: The control circuit further includes a flow meter, which is used to measure the flow of the water valve to control the flow of the water valve.

7. The system according to claim 1, characterized in that: The control circuit is also used to report the data and results of controlling the water valve to the gateway device; The gateway device is used to report the data and results of controlling the water valve to the cloud server; The client device is used to obtain the data and results of the water valve from the cloud server.

8. A water valve control method, characterized in that: Applied to the water valve control system according to any one of claims 1 to 7, the method comprises: The energy collection circuit collects light energy; converts the collected light energy into electrical energy to charge the battery; The first control chip controls the energy collection circuit to collect light energy and charge the battery; The control circuit controls the opening and closing of the water valve, and controls the flow rate of the water valve.

9. A computer-readable storage medium, characterized in that: A computer program for electronic data exchange is stored, wherein the computer program causes a computer to execute the method as claimed in claim 8.