A controller for protecting lithium batteries by using electronic switch
The problem of insufficient lithium battery power on rainy days was solved by using an electronic switch controller, enabling the intelligent irrigation system to operate automatically on rainy days, avoiding manual restarts by users, and improving the system's reliability and automation level.
Patent Information
- Application Number
- CN202522695887.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-12-19
- Publication Date
- 2026-11-27
- Estimated Expiration
- 2035-12-19
AI Technical Summary
In existing smart irrigation systems, the lithium battery enters BMS protection mode after being depleted during prolonged rainy weather. After the weather clears up, the user needs to manually restart the irrigation valve, which affects the continuous operation of the system.
An electronic switch controller is used, including a lithium battery, a battery management module, a switch module, a power supply module, a main control module, and a lithium battery charging circuit. The electronic switch chip controls the switching transistor to enable the lithium battery to continue working on cloudy or rainy days and automatically resume normal operation on sunny days.
When the lithium battery is low, the electronic switch controller ensures that the irrigation valve continues to work without requiring manual restart by the user, thus improving the automation and reliability of the system and reducing human intervention.
Smart Images

Figure CN225033653U_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of irrigation technology, specifically to a controller that uses an electronic switch to protect a lithium battery. Background Technology
[0002] Intelligent irrigation systems use sensors, controllers, and actuators to mimic the decision-making process of experienced agronomists, achieving automated precision irrigation that delivers the right amount of water at the right time and in the right place. Its core principle is a shift from "irrigation on time" to "irrigation on demand."
[0003] In intelligent irrigation systems, irrigation valves can automatically open or close irrigation zones based on signals received from the controller. Existing intelligent irrigation systems typically operate unattended, powered by solar panels and lithium batteries. However, during prolonged periods of cloudy or rainy weather, the solar panels cannot charge the valves, and the lithium batteries, depleted, trigger the BMS (Battery Management System) protection, rendering the system inoperable. When sunny weather returns, the solar panels recharge the lithium batteries, requiring the user to manually restart the irrigation valves for them to resume operation. Utility Model Content
[0004] In view of the above problems, this application provides a controller that uses an electronic switch to protect lithium batteries, which solves the problem that existing irrigation valves that use solar energy to charge lithium batteries enter BMS protection after the lithium battery is depleted during long periods of cloudy or rainy weather, and require the user to go to the site to restart the irrigation valve when the solar energy charges the lithium battery again on sunny days.
[0005] To achieve the above objectives, the inventors provide a controller that uses an electronic switch to protect a lithium battery, comprising:
[0006] Lithium batteries;
[0007] A battery management module, which is connected to the lithium battery;
[0008] A switch module, comprising a switch button, an electronic switch chip, and a switch transistor Q8, wherein the switch button is connected to the electronic switch chip, the electronic switch chip is connected to the enable terminal of the switch transistor Q8, and the source of the switch transistor Q8 is connected to a battery management module.
[0009] A power supply module, wherein the input terminal of the power supply module is connected to the drain of the switching transistor Q8;
[0010] A lithium battery charging circuit, comprising a charging chip and a solar panel, wherein the power output terminal of the solar panel is connected to the power input terminal of the charging chip, and the power output terminal of the charging chip is connected to a battery management module.
[0011] The main control module has its power input terminal connected to the power supply module.
[0012] In some embodiments, the main control module further includes a microcontroller, which communicates with the WiFi module via a serial port.
[0013] In some embodiments, a bidirectional RF module is further included, which is connected to the main control module.
[0014] In some embodiments, the solar panel is connected to the power input terminal of the charging chip via a switching transistor Q12;
[0015] The lithium battery charging circuit also includes:
[0016] The USB interface has its power input terminal connected to the power input terminal of the charging chip via diode D5, and the power input terminal of the USB interface is connected to the enable terminal of the switching transistor Q12.
[0017] In some embodiments, it also includes:
[0018] The DC-DC boost circuit includes a DC-DC boost chip. The power input terminal of the DC-DC boost chip is connected to the battery management module through a switching transistor Q1, and the power output terminal of the DC-DC boost chip is connected to the motor valve drive circuit. The enable terminal of the switching transistor Q1 is connected to the main control module through a transistor Q2.
[0019] A charging status detection circuit, wherein the input terminal of the charging status detection circuit is connected to the USB interface, and the output terminal of the charging status detection circuit is connected to the main control module;
[0020] A motor valve drive circuit, wherein the power input terminal of the motor valve drive circuit is connected to the power output terminal of the DC-DC boost chip, and the motor valve drive circuit is connected to the high-pressure valve;
[0021] The main control module is connected to the control terminal of the DC-DC boost chip and the drive terminal of the drive chip.
[0022] In some embodiments, the power supply circuit includes:
[0023] A voltage regulator chip, wherein the power input terminal of the voltage regulator chip is connected to the power output terminal of the USB interface and is connected to the drain of the switching transistor Q8 through the switching transistor Q3, and the enable pin of the voltage regulator chip is connected to the power output terminal of the USB interface.
[0024] The enable terminal of the switching transistor Q3 is connected to the power output terminal of the USB interface.
[0025] A voltage comparator, wherein the VDD pin of the voltage comparator is connected to the positive terminal of the lithium battery, the VSS pin of the voltage comparator is connected to the negative terminal of the lithium battery, and the output pin of the voltage comparator is connected to the enable pin of the voltage regulator chip through diode D8.
[0026] In some embodiments, it also includes:
[0027] A traffic detection interface is connected to the main control module.
[0028] In some embodiments, it also includes:
[0029] A battery voltage detection circuit, wherein the input terminal of the battery voltage detection circuit is connected to a lithium battery, and the output terminal of the battery voltage detection circuit is connected to a WiFi module;
[0030] A motor drive voltage detection circuit, wherein the input terminal of the motor drive voltage detection circuit is connected to the power output terminal of the DC-DC boost circuit.
[0031] In some embodiments, it also includes:
[0032] An indicator light module is connected to the main control module.
[0033] In some embodiments, it also includes:
[0034] A function key module is connected to the main control module.
[0035] Unlike existing technologies, the above solution uses a lithium battery to power the irrigation valve. A battery management module manages the lithium battery, and a solar panel powers it. The lithium battery, via a DC-DC boost circuit, provides the driving voltage to the motor valve drive circuit, thus driving the motor valve. A switching module consists of a switch button, an electronic switch chip, and a switching transistor Q8. The lithium battery connects to the power supply module via Q8, which in turn powers the main control module. The electronic switch chip controls the on / off state of the switching transistor Q8 based on the pressed state of the switch button, thereby controlling the operating state of the irrigation valve. The electronic switch chip can continue operating even when the lithium battery is depleted and enters BMS protection mode during cloudy or rainy weather. On sunny days, solar energy recharges the lithium battery, restoring its voltage, and the controller can resume normal operation without requiring user intervention to restart it.
[0036] The above description of the utility model is merely an overview of the technical solution of this application. In order to enable those skilled in the art to better understand the technical solution of this application and to implement it based on the description and drawings, and to make the above-mentioned objectives and other objectives, features and advantages of this application easier to understand, the following description is provided in conjunction with the specific embodiments and drawings of this application. Attached Figure Description
[0037] The accompanying drawings are only used to illustrate the principles, implementation methods, applications, features, and effects of specific embodiments of this application and other related content, and should not be considered as limitations on this application.
[0038] In the accompanying drawings of the instruction manual:
[0039] Figure 1 A schematic diagram of a controller that uses an electronic switch to protect a lithium battery, as described in a specific embodiment;
[0040] Figure 2 This is a schematic diagram of another structure of the controller that uses an electronic switch to protect the lithium battery, as described in the specific implementation.
[0041] Figure 3 A circuit diagram illustrating the battery management module described in a specific implementation;
[0042] Figure 4 A circuit schematic diagram of the switching module described in a specific implementation;
[0043] Figure 5 This is a schematic diagram of the lithium battery charging circuit described in a specific embodiment;
[0044] Figure 6 A schematic diagram of the structure of the controller that uses an electronic switch to protect the lithium battery in a specific implementation method when it is used to control the irrigation valve;
[0045] Figure 7 This is a schematic diagram of a circuit principle of the WiFi module described in a specific implementation.
[0046] Figure 8 A circuit schematic diagram of the microcontroller described in a specific implementation;
[0047] Figure 9 A schematic diagram of a circuit principle of the bidirectional RF module described in a specific implementation;
[0048] Figure 10 This is a schematic diagram of a DC-DC boost circuit according to a specific implementation method;
[0049] Figure 11This is a schematic diagram of the charging state detection circuit described in a specific implementation.
[0050] Figure 12 This is a schematic diagram of the circuit principle of the motor valve drive circuit described in a specific embodiment;
[0051] Figure 13 A schematic diagram of the power supply circuit described in a specific implementation embodiment;
[0052] Figure 14 A schematic diagram of the circuit principle of the flow detection interface described in a specific implementation;
[0053] Figure 15 This is a schematic diagram of the battery voltage detection circuit described in a specific implementation.
[0054] Figure 16 This is a schematic diagram of the circuit principle of the motor drive voltage detection circuit described in a specific implementation.
[0055] Figure 17 A circuit diagram illustrating the indicator module described in a specific implementation;
[0056] Figure 18 This is a circuit diagram illustrating one embodiment of the function key module.
[0057] The reference numerals used in the above figures are explained as follows:
[0058] 110. Lithium batteries
[0059] 120. Battery Management Module
[0060] 130. Lithium battery charging circuit.
[0061] 140. Switch module,
[0062] 150. Power supply module
[0063] 160. Main control module. Detailed Implementation
[0064] To illustrate the possible application scenarios, technical principles, implementable specific solutions, and achievable objectives and effects of this application in detail, the following description, in conjunction with the listed specific embodiments and accompanying drawings, provides a detailed explanation. The embodiments described herein are merely illustrative of the technical solutions of this application and are therefore intended to limit the scope of protection of this application.
[0065] In this document, the term "embodiment" means that a specific feature, structure, or characteristic described in connection with an embodiment may be included in at least one embodiment of this application. The term "embodiment" appearing in various places throughout the specification does not necessarily refer to the same embodiment, nor does it specifically limit its independence or connection with other embodiments. In principle, in this application, as long as there are no technical contradictions or conflicts, the technical features mentioned in each embodiment can be combined in any way to form corresponding implementable technical solutions.
[0066] Unless otherwise defined, the technical terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application pertains; the use of related terms herein is merely for the purpose of describing particular embodiments and is not intended to limit this application.
[0067] In the description of this application, the term "and / or" is used to describe the logical relationship between objects, indicating that three relationships can exist. For example, A and / or B means: A exists, B exists, and A and B exist simultaneously. Additionally, the character " / " in this document generally indicates that the preceding and following objects have an "or" logical relationship.
[0068] In this application, terms such as “first” and “second” are used only to distinguish one entity or operation from another, and do not necessarily require or imply any actual quantity, hierarchy or order relationship between these entities or operations.
[0069] Unless otherwise specified, the use of terms such as “comprising,” “including,” “having,” or other similar expressions in this application is intended to cover non-exclusive inclusion, which does not exclude the presence of additional elements in a process, method, or product that includes the stated elements, such that a process, method, or product that includes a list of elements may include not only those defined elements but also other elements not expressly listed, or elements inherent to such a process, method, or product.
[0070] As understood in the Examination Guidelines, in this application, expressions such as "greater than," "less than," and "exceeding" are understood to exclude the stated number; expressions such as "above," "below," and "within" are understood to include the stated number. Furthermore, in the description of the embodiments in this application, "multiple" means two or more (including two), and similar expressions related to "multiple" are also understood in this way, such as "multiple groups" and "multiple times," unless otherwise explicitly specified.
[0071] In the description of the embodiments of this application, the space-related expressions used, such as "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "vertical," "top," "bottom," "inner," "outer," "clockwise," "counterclockwise," "axial," "radial," and "circumferential," indicate the orientation or positional relationship based on the orientation or positional relationship shown in the specific embodiments or drawings. They are only for the purpose of describing the specific embodiments of this application or for the reader's understanding, and do not indicate or imply that the device or component referred to must have a specific position, a specific orientation, or be constructed or operated in a specific orientation. Therefore, they should not be construed as limitations on the embodiments of this application.
[0072] Unless otherwise expressly specified or limited, the terms "installation," "connection," "linking," "fixing," and "setting," as used in the description of the embodiments of this application, should be interpreted broadly. For example, "connection" can be a fixed connection, a detachable connection, or an integral setting; it can be a mechanical connection, an electrical connection, or a communication connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be the internal connection of two components or the interaction between two components. For those skilled in the art to which this application pertains, the specific meaning of the above terms in the embodiments of this application can be understood according to the specific circumstances.
[0073] Please see Figure 1-5 This embodiment provides a controller that uses an electronic switch to protect a lithium battery, including:
[0074] 110 lithium batteries;
[0075] A battery management module 120 is connected to the lithium battery 110;
[0076] A lithium battery charging circuit 130 includes a charging chip U5 and a solar panel. The power output terminal of the solar panel is connected to the power input terminal of the charging chip U5, and the power output terminal of the charging chip U5 is connected to the battery management module 120.
[0077] A switch module 140 includes a switch button KEY2, an electronic switch chip U6, and a switch transistor Q8. The switch button KEY2 is connected to the electronic switch chip U6, the electronic switch chip U6 is connected to the enable terminal of the switch transistor Q8, and the source of the switch transistor Q8 is connected to the battery management module 120. The switch transistor Q8 is a MOSFET or a transistor, and the enable terminal of the switch transistor Q8 is its gate.
[0078] A power supply module 150, the input terminal of which is connected to the drain of the switching transistor Q8;
[0079] The main control module 160 has its power input terminal connected to the power supply module 150.
[0080] The controller is powered by a lithium battery 110, which is managed by a battery management module 120. A solar panel supplies power to the lithium battery 110, which in turn provides drive voltage to the motor valve drive circuit via a DC-DC boost circuit, thus driving the motor valve. A switch module 140, consisting of a switch button, an electronic switch chip, and a switching transistor Q8, connects the lithium battery 110 to a power supply module 150 via the switching transistor Q8. The power supply module 150 then supplies power to the main control module 160. The electronic switch chip controls the on / off state of the switching transistor Q8 based on the pressed state of the switch button, thereby controlling the controller's operating state. The electronic switch chip can continue operating even after the lithium battery 110 has lost power and entered BMS protection mode during cloudy or rainy weather. On sunny days, solar energy charges the lithium battery 110, restoring its voltage and allowing the controller to resume normal operation without requiring user intervention to restart it.
[0081] The electronic switch chip U6 features internally embedded logic circuitry, offering strong anti-interference capabilities and high stability. When switch button KEY2 is pressed, pin 6 of the electronic switch chip U6 outputs a high level, turning on the switching transistor Q8, and the P+ voltage is the positive terminal voltage of the lithium battery. Pressing KEY2 again activates a high-level output from pin 6 of the electronic switch chip U6, turning off the Q8 MOSFET, and the P+ voltage becomes 0V. This electronic switch chip operates at a low voltage point and consumes little power, allowing it to continue operating even after the lithium battery's BMS protection is activated. Even when the device is unattended outdoors for extended periods, and the lithium battery experiences prolonged periods of rain or overcast skies, allowing the electronic switch to continue operating after the BMS protection is activated due to power depletion, prevents the need for the user to physically press switch button KEY2 to power on the device when the battery voltage rises due to solar charging on sunny days. Compared to traditional mechanical switches, this solution uses a smaller electronic switch chip and allows for greater current flow in the circuit by controlling the external MOSFET. However, compared to hardware / software switches, which have lower reliability, software-controlled switches are less reliable. If the software malfunctions or crashes, the entire device will lose power, requiring the user to physically restart the device.
[0082] When this controller was applied to an irrigation valve, tests showed that the valve was self-sufficient in solar energy supply during cloudy days, requiring no lithium battery power. Lithium battery power is only consumed at night. The device can also be programmed via an app to set a sleep period (Wi-Fi off during the specified time and on outside of that time), further conserving lithium battery power. This feature is particularly useful in areas with short daylight hours and frequent cloudy / rainy days in winter, eliminating the need for users to charge the device using a Type-C port.
[0083] Please see Figure 6-8 In some embodiments, the main control module 160 includes a WiFi module and a microcontroller, and the microcontroller communicates with the WiFi module via a serial port.
[0084] The WiFi module employs a low-power design for networking and main control. To compensate for the insufficient I / O ports of the WiFi module, serial communication is established between the microcontroller and the WiFi module, supplementing the main control's I / O ports, reducing the consumption of main control resources, and saving main control power consumption. Specifically, a serial communication mechanism is established between the microcontroller and the WiFi module, and a mutual "feeding the watchdog" mechanism is incorporated to improve device reliability. If the microcontroller crashes or the program malfunctions, the WiFi module controls the IO6 pin to power off and restart the microcontroller. If the WiFi module crashes, the microcontroller pulls the WiFi module's reset pin low via IOD1 to reset the WiFi module. During the reset, the WiFi module's IO6 pin is uncontrollable, and energy is stored in capacitor C15 to ensure the microcontroller remains powered. The parameters of capacitor C15 and resistor R72 can be determined based on the time required for program execution after the WiFi module resets. This interlocking mechanism between the WiFi module and the microcontroller enhances device reliability and stability.
[0085] Please see Figure 9 In some embodiments, a bidirectional RF module is also included, which is connected to the WiFi module of the main control module.
[0086] The bidirectional RF module adopts a low-power bidirectional radio frequency module. The controller is used to control the irrigation valve. The controller communicates wirelessly with devices such as wireless soil sensors through the 433MHz frequency band, so that the irrigation valve can operate according to the surrounding soil conditions.
[0087] Please see Figure 3 In some embodiments, the solar panel is connected to the power input terminal of the charging chip via a switching transistor Q12; wherein the switching transistor Q12 may be a MOSFET.
[0088] The lithium battery charging circuit 130 also includes:
[0089] The USB interface has its power input terminal connected to the power input terminal of the charging chip via diode D5, and the power input terminal of the USB interface is connected to the enable terminal of the switching transistor Q12.
[0090] To enable charging of the lithium battery via USB when solar power is unavailable, the adapter can be connected via USB. Simultaneously, the connection between the solar panel and the charging chip is disconnected via switch Q12. The USB interface is a USB Type-C interface.
[0091] Please see Figure 10-12 In some embodiments, it also includes:
[0092] The DC-DC boost circuit includes a DC-DC boost chip U1. The power input terminal of the DC-DC boost chip U1 is connected to the battery management module 120 through a switching transistor Q1. The power output terminal of the DC-DC boost chip U1 is connected to the motor valve drive circuit. The enable terminal of the switching transistor Q1 is connected to the main control module 160 through a transistor Q2. The switching transistor Q1 can be a MOSFET.
[0093] A charging status detection circuit is included, with its input connected to a USB interface and its output connected to the main control module 160. When the USB interface is charging the lithium battery (i.e., the lithium battery is charging), CHRG (2Hz pulse) and \CHRG in the charging status detection circuit are 2Hz pulses. When charging is complete, CHRG is low and \CHRG is high. In case of an abnormal state, CHRG is in a high impedance state and \CHRG is low.
[0094] A motor valve drive circuit, wherein the power input terminal of the motor valve drive circuit is connected to the power output terminal of the DC-DC boost chip, and the motor valve drive circuit is connected to the high-pressure valve.
[0095] The main control module 160 is connected to the control terminal of the DC-DC boost chip and the drive terminal of the drive chip.
[0096] When the controller is used to control the irrigation valve, the lithium battery provides driving voltage to the motor valve drive circuit through a DC-DC boost circuit, thereby driving the motor valve. The charging status detection circuit detects the charging status of the USB interface. When the main control module 160 detects that the USB interface is charging the lithium battery, it uses switch Q1 to limit the lithium battery from powering other devices. This limits the lithium battery's external discharge because the user adapter's output current is inconsistent, while the device requires a large current to open or close the valve. Without this restriction, opening or closing the valve when the battery is low will trigger the adapter's protection mechanism. Switch Q1 could be replaced with a diode, but this would increase the voltage drop in the circuit, raising the lithium battery's operating voltage point and hindering battery power consumption. In this solution, when the USB Type-C (5V) is connected, switch Q1 is turned off, and the lithium battery is charged through the charging chip U5. The lithium battery does not discharge externally, and the USB Type-C (5V) directly powers the device. Without the switching transistor Q1, the USB Type-C port can only charge the lithium battery. When the lithium battery is very low, the entire device will not work, will not be able to connect to the network, and its status will be unknown.
[0097] Please see Figure 13 In some embodiments, the power supply circuit includes:
[0098] A voltage regulator chip U7 has its power input terminal connected to the power output terminal of the USB interface and connected to the drain of the switching transistor Q8 via a switching transistor Q3. The enable pin of the voltage regulator chip U7 is connected to the power output terminal of the USB interface. The switching transistor Q3 can be a MOSFET.
[0099] The enable terminal of the switching transistor Q3 is connected to the power output terminal of the USB interface.
[0100] Voltage comparator IC3, the VDD pin of voltage comparator IC3 is connected to the positive terminal of the lithium battery, the VSS pin of voltage comparator IC3 is connected to the negative terminal of the lithium battery, and the output pin of voltage comparator IC3 is connected to the enable pin of the voltage regulator chip through diode D8.
[0101] Pin 1 of voltage comparator IC3 is connected to the positive terminal of the lithium battery, and pin 3 is connected to the negative terminal. This is used to detect the lithium battery voltage. When the lithium battery voltage is below 3.3V, pin 2 outputs a low level, setting the enable pin 3 of voltage regulator chip U7 to low. Voltage regulator chip U7 then shuts off its output, and the device does not operate. Only voltage comparator IC3, electronic switch chip U6, and battery management chip U3 operate in a low-power state, reducing the consumption of lithium battery power (lithium battery voltage is 3.3V-4.2V). This hardware-based approach disconnects the main control power supply when the lithium battery is low, maintaining only the necessary power supply, offering higher reliability compared to software-based solutions. In this system, the enable pin of the voltage regulator chip is grounded via capacitor C35 and resistor R78. The function of capacitor C35 and resistor R78 is to filter out voltage fluctuations caused by the lithium battery being in a low-charge state (e.g., below 3.7V). When the lithium battery is opening or closing the valve, a large current is required from the battery. Due to the internal resistance of the lithium battery, connector terminals, and wiring harness impedance, voltage comparator IC3 will detect a voltage below 3.3V, and pin 2 of voltage comparator IC3 will output a level. At this time, the stored energy in capacitor C35 discharges through resistor R78, maintaining the operation of the enable pin 3 of the voltage regulator chip U7. Simultaneously, when the device's lithium battery voltage is low, the device connects to Wi-Fi (which requires a large current), which also serves as a filter. By adjusting the parameters of capacitor C35 and resistor R78, some voltage fluctuations, such as short-term high-current loads and short-term transient currents, can be selectively filtered out. This solution ensures stable operation of IoT devices and irrigation equipment when the lithium battery is low, reduces the lithium battery voltage operating platform, extends device usage time, and improves the user experience.
[0102] Please see Figure 14 In some embodiments, it also includes:
[0103] A traffic detection interface is connected to the main control module 160.
[0104] When it is necessary to monitor the flow rate of the irrigation valve, the flow rate of the irrigation valve can be monitored by connecting a flow meter to the flow interface.
[0105] Please see Figure 15-16 In some embodiments, it also includes:
[0106] A battery voltage detection circuit, wherein the input terminal of the battery voltage detection circuit is connected to a lithium battery, and the output terminal of the battery voltage detection circuit is connected to a WiFi module;
[0107] A motor drive voltage detection circuit, wherein the input terminal of the motor drive voltage detection circuit is connected to the power output terminal of the DC-DC boost circuit.
[0108] The battery voltage detection circuit monitors the output voltage of the lithium battery. When the WiFi module detects a low output voltage from the lithium battery, it sends a notification message to the user's app and disables the motor valve. Meanwhile, the motor drive voltage detection circuit monitors the voltage output from the DC-DC boost circuit to the motor valve drive circuit, thus monitoring the operating voltage of the motor valve. If the operating voltage is abnormal, a notification message is sent to the user's app.
[0109] Please see Figure 17 In some embodiments, it also includes:
[0110] An indicator light module is connected to the main control module 160.
[0111] The indicator light module indicates the working status of each component of the irrigation valve.
[0112] Please see Figure 18 In some embodiments, it also includes:
[0113] A function key module is connected to the main control module 160.
[0114] Users can set the operating parameters of the irrigation valve through the function button module.
[0115] Finally, it should be noted that although the above embodiments have been described in the text and drawings of this application, this should not limit the scope of patent protection of this application. Any technical solutions that are based on the essential concept of this application and utilize the content described in the text and drawings of this application, resulting in equivalent structural or procedural substitutions or modifications, as well as the direct or indirect application of the technical solutions of the above embodiments to other related technical fields, are all included within the scope of patent protection of this application.
Claims
1. A controller that uses an electronic switch to protect a lithium battery, characterized in that, include: Lithium batteries; A battery management module, which is connected to the lithium battery; A switch module, comprising a switch button, an electronic switch chip, and a switch transistor Q8, wherein the switch button is connected to the electronic switch chip, the electronic switch chip is connected to the enable terminal of the switch transistor Q8, and the source of the switch transistor Q8 is connected to a battery management module. A power supply module, wherein the input terminal of the power supply module is connected to the drain of the switching transistor Q8; A lithium battery charging circuit, comprising a charging chip and a solar panel, wherein the power output terminal of the solar panel is connected to the power input terminal of the charging chip, and the power output terminal of the charging chip is connected to a battery management module. The main control module is connected to the power supply module, and is connected to the control terminal of the DC-DC boost chip and the drive terminal of the driver chip.
2. The controller for protecting lithium batteries using electronic switches according to claim 1, characterized in that, The main control module includes a WiFi module and a microcontroller, and the microcontroller communicates with the WiFi module via a serial port.
3. The controller for protecting lithium batteries using electronic switches according to claim 1, characterized in that, It also includes a bidirectional RF module, which is connected to the main control module.
4. The controller for protecting lithium batteries using electronic switches according to claim 1, characterized in that, The solar panel is connected to the power input terminal of the charging chip via a switching transistor Q12; The lithium battery charging circuit also includes: The USB interface has its power input terminal connected to the power input terminal of the charging chip via diode D5, and the power input terminal of the USB interface is connected to the enable terminal of the switching transistor Q12.
5. The controller for protecting lithium batteries using electronic switches according to claim 4, characterized in that, Also includes: The DC-DC boost circuit includes a DC-DC boost chip. The power input terminal of the DC-DC boost chip is connected to the battery management module through a switching transistor Q1, and the power output terminal of the DC-DC boost chip is connected to the motor valve drive circuit. The enable terminal of the switching transistor Q1 is connected to the main control module through a transistor Q2. A charging status detection circuit, wherein the input terminal of the charging status detection circuit is connected to the USB interface, and the output terminal of the charging status detection circuit is connected to the main control module; A motor valve drive circuit, wherein the power input terminal of the motor valve drive circuit is connected to the power output terminal of the DC-DC boost chip, and the motor valve drive circuit is connected to the high-pressure valve. The main control module is connected to the control terminal of the DC-DC boost chip and the drive terminal of the drive chip.
6. The controller for protecting lithium batteries using electronic switches according to claim 4, characterized in that, The power supply circuit includes: A voltage regulator chip, wherein the power input terminal of the voltage regulator chip is connected to the power output terminal of the USB interface and is connected to the drain of the switching transistor Q8 through the switching transistor Q3, and the enable pin of the voltage regulator chip is connected to the power output terminal of the USB interface. The enable terminal of the switching transistor Q3 is connected to the power output terminal of the USB interface. A voltage comparator, wherein the VDD pin of the voltage comparator is connected to the positive terminal of the lithium battery, the VSS pin of the voltage comparator is connected to the negative terminal of the lithium battery, and the output pin of the voltage comparator is connected to the enable pin of the voltage regulator chip through diode D8.
7. The controller for protecting lithium batteries using electronic switches according to claim 1, characterized in that, Also includes: A traffic detection interface is connected to the main control module.
8. The controller for protecting lithium batteries using electronic switches according to claim 1, characterized in that, Also includes: A battery voltage detection circuit, wherein the input terminal of the battery voltage detection circuit is connected to the lithium battery, and the output terminal of the battery voltage detection circuit is connected to the main control module; A motor drive voltage detection circuit, wherein the input terminal of the motor drive voltage detection circuit is connected to the power output terminal of the DC-DC boost circuit.
9. The controller for protecting lithium batteries using electronic switches according to claim 1, characterized in that, Also includes: An indicator light module is connected to the main control module.
10. The controller for protecting lithium batteries using electronic switches according to claim 1, characterized in that, Also includes: A function key module is connected to the main control module.
