An electromagnetic valve circuit for an internet of things

CN123010503APending Publication Date: 2026-10-30CHINA PETROLEUM & CHEMICAL CORP +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510557158.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-29
Publication Date
2026-10-30

AI Technical Summary

Technical Problem

[0003]在现有的电磁阀的各种应用场景,无法自动获取电磁阀的运行状态,包括电磁阀的运行参数、是否漏水等,需要人工去检测电磁阀的运行状态、是否正常工作,需要大量的人力和时间,增加了使用成本

Benefits of technology

[0007]本申请的实施例提供的一种物联网电磁阀电路,相对于现有技术而言,其采用电磁阀运行检测模块、主控模块,由于自动检测电磁阀的运行状态,而不需要人工花时间去查看,因此解决了电磁阀的实时检测的技术问题。

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN123010503A_ABST
    Figure CN123010503A_ABST
Patent Text Reader

Abstract

The embodiment of the present application relates to the field of electromagnetic valves, and discloses an Internet of Things electromagnetic valve circuit, which comprises an electromagnetic valve circuit, an electromagnetic valve operation detection module and a main control module, the main control module is connected with the electromagnetic valve circuit and the electromagnetic valve operation detection module respectively, the electromagnetic valve operation detection module is used for detecting the operation parameters of the electromagnetic valve, the working state of a valve core and whether the electromagnetic valve leaks, the main control module is used for receiving the detection results of the electromagnetic valve operation detection module, obtaining the state of the electromagnetic valve according to the detection results and outputting the state to a monitoring device, and the monitoring device controls the action of the electromagnetic valve through the main control module based on the detection results of the electromagnetic valve. The Internet of Things electromagnetic valve circuit provided by the present application solves the problems of remote detection and control of the electromagnetic valve, realizes real-time remote detection of the electromagnetic valve, and realizes control of the electromagnetic valve according to the detection results.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of solenoid valve technology, and in particular to an Internet of Things (IoT) solenoid valve circuit. Background Technology

[0002] With the rapid development of industrial automatic control technology, automated equipment has gradually replaced the existing manual operation. Automated equipment can significantly solve many drawbacks in the traditional manual control process and improve the efficiency of industrial production. Among them, in industrial automatic control, solenoid valves are the basic components used for automated fluid control, and their reliability and accuracy are crucial in industrial production.

[0003] In various existing applications of solenoid valves, it is impossible to automatically obtain the operating status of the solenoid valve, including its operating parameters and whether there is leakage. Manual inspection of the solenoid valve's operating status and whether it is working properly is required, which consumes a lot of manpower and time, increasing the cost of use.

[0004] Therefore, how to perform real-time remote detection and control of solenoid valves is an urgent problem to be solved. Summary of the Invention

[0005] The purpose of this invention is to provide at least one IoT solenoid valve circuit, which can at least solve the technical problem of real-time remote detection of solenoid valves, and at least achieve remote real-time detection and control of solenoid valves.

[0006] To address the aforementioned technical problems, at least one embodiment of this application provides an Internet of Things (IoT) solenoid valve circuit, including a solenoid valve circuit, a solenoid valve operation detection module, and a main control module. The main control module is connected to both the solenoid valve circuit and the solenoid valve operation detection module. The solenoid valve operation detection module is used to detect the operating parameters of the solenoid valve, the working state of the valve core, and whether the solenoid valve is leaking. The main control module is used to receive the detection results from the solenoid valve operation detection module, obtain the state of the solenoid valve based on the detection results, and output them to a monitoring device. The monitoring device controls the solenoid valve's operation based on the solenoid valve detection results through the main control module.

[0007] The embodiments of this application provide an Internet of Things (IoT) solenoid valve circuit. Compared with the prior art, it adopts a solenoid valve operation detection module and a main control module. Since it automatically detects the operating status of the solenoid valve, it does not require manual time to check, thus solving the technical problem of real-time detection of the solenoid valve.

[0008] In addition, the aforementioned IoT solenoid valve circuit also includes a communication module connected between the main control module and the monitoring device for communication transmission between the two. The communication module enables data transmission between the detection and monitoring devices, achieving remote detection and control of the solenoid valve.

[0009] In addition, the communication module includes a communication conversion unit and a communication unit connected in sequence. The input end of the communication conversion unit is connected to the main control module for level conversion of communication signals; the output end of the communication unit is connected to the monitoring equipment for communication between the monitoring equipment and the main control module. Through level conversion by the communication conversion unit, level matching between the detection circuit and various monitoring devices is achieved, expanding the application range of the detection circuit.

[0010] In addition, the aforementioned IoT solenoid valve circuit also includes a power module for providing dual power supply—both a power source and a battery—to the IoT solenoid valve. This self-powered solenoid valve expands the application range of solenoid valves.

[0011] In addition, the power module includes an isolation power supply circuit and a charging circuit connected in sequence. The input terminal of the isolation power supply circuit is connected to the output terminal of the power supply, and its output terminal is connected to the charging circuit. The charging circuit is used to charge the battery. The dual power supply method of the power supply and the battery ensures that the detection of the solenoid valve is uninterrupted.

[0012] In addition, the solenoid valve operation detection module includes an operation parameter detection unit, a valve core working status detection unit, and a leakage detection unit. The operation parameter detection unit is connected to the solenoid valve circuit and the main control module, respectively, and is used to detect the parameters of the solenoid valve during operation and transmit the detection results to the main control module. The operation parameters include coil current data, coil voltage data, and coil temperature data. The valve core working status detection unit is connected to the main control module and is used to detect the state of the solenoid valve core and transmit the detection results to the main control module. The leakage detection unit is connected to the main control module and is used to detect whether there is leakage in the solenoid valve and transmit the detection results to the main control module. By setting up the operation parameter detection unit, valve core working status detection unit, and leakage detection unit, the solenoid valve can be comprehensively detected, ensuring all-round detection of the solenoid valve.

[0013] In addition, the operating parameter detection unit includes a coil current detection circuit, a coil voltage detection circuit, and a coil temperature detection circuit. The coil current detection circuit is used to detect the coil current, the coil voltage detection circuit is used to detect the coil voltage, and the coil temperature detection circuit is used to detect the coil temperature. By setting up the circuit, the relevant operating parameters of the solenoid valve can be detected.

[0014] In addition, the coil current detection circuit includes a current detection chip. A current detection resistor is connected between the positive and negative input terminals of the current detection chip. Its negative input terminal is connected to a DC power supply, and its positive input terminal is connected to a DC VCC power supply. The DC VCC power supply is used to power the solenoid valve coil, and its output terminal outputs a sampled current to the main control module. The coil voltage detection circuit includes a voltage limiting circuit and a voltage dividing circuit connected in parallel. The voltage limiting circuit is used to limit the detection voltage range, and the voltage dividing circuit is used to divide the detected voltage. The output terminals of the voltage limiting circuit and the voltage dividing circuit are connected together and then connected to the main control module. By setting up the voltage dividing and limiting circuits, the voltage detection range is ensured, and damage to the main control chip caused by overvoltage is avoided.

[0015] In addition, the valve core operating status detection unit includes a valve status detection sensor and a solenoid valve status detection circuit connected in sequence. The valve status detection sensor is installed inside the solenoid valve to sense its status. The valve status detection sensor is connected to the input terminal of the solenoid valve status detection circuit, and the output terminal of the solenoid valve status detection circuit is connected to the main control module. By detecting the distance to the valve core, the valve core status information is obtained and transmitted to the main control chip through optocoupler isolation, thus isolating analog signals from digital signals.

[0016] In addition, the leakage detection unit includes a leakage detection sensor and a leakage detection circuit. The leakage detection sensor is located at the bottom of the valve chamber of the solenoid valve. The leakage detection circuit includes a third resistor and a fourth resistor. One end of the third resistor is connected to the power supply terminal of the first power source, and the other end is connected to one end of the leakage detection sensor. The other end of the leakage detection sensor serves as the output terminal of the leakage detection circuit and is connected to one end of the fourth resistor. The other end of the fourth resistor is grounded. The leakage detection sensor detects whether there is a leak. The leakage detection circuit processes the detection results of the leakage detection sensor, enabling the main control module to collect the leakage detection results and realize the leakage detection. Attached Figure Description

[0017] One or more embodiments are illustrated by way of example with reference numerals in the accompanying drawings. These illustrations do not constitute a limitation on the embodiments. Elements with the same reference numerals in the drawings are denoted as similar elements. Unless otherwise stated, the figures in the drawings are not to be limited by scale.

[0018] Figure 1 This is a schematic diagram of the structure of an Internet of Things solenoid valve circuit according to an embodiment of the present invention;

[0019] Figure 2 This is a schematic diagram of the structure of the main control module provided according to an embodiment of the present invention;

[0020] Figure 3This is a schematic diagram of the structure of a coil temperature detection circuit according to an embodiment of the present invention;

[0021] Figure 4 This is a schematic diagram of the structure of a coil current detection circuit according to an embodiment of the present invention;

[0022] Figure 5 This is a schematic diagram of the structure of a coil voltage detection circuit according to an embodiment of the present invention;

[0023] Figure 6 This is a schematic diagram of the structure of a valve core working state detection unit according to an embodiment of the present invention;

[0024] Figure 7 This is a schematic diagram of the structure of a water leakage detection unit provided according to an embodiment of the present invention;

[0025] Figure 8 This is a schematic diagram of the structure of a communication unit provided according to an embodiment of the present invention;

[0026] Figure 9 This is a schematic diagram of the structure of a communication conversion unit provided according to an embodiment of the present invention;

[0027] Figure 10 This is a schematic diagram of the structure of an isolated power supply circuit according to an embodiment of the present invention;

[0028] Figure 11 This is a schematic diagram of the structure of a solenoid valve drive circuit according to an embodiment of the present invention. Detailed Implementation

[0029] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the various embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, those skilled in the art will understand that many technical details have been presented in the various embodiments of the present invention to enable the reader to better understand the present invention. However, the technical solutions claimed in the present invention can be implemented even without these technical details and various changes and modifications based on the following embodiments.

[0030] Example 1:

[0031] Embodiments of the present invention relate to an Internet of Things (IoT) solenoid valve circuit, such as... Figure 1As shown, the device includes a power supply module, a solenoid valve circuit, a solenoid valve operation detection module, and a main control module. The main control module is connected to both the solenoid valve circuit and the solenoid valve operation detection module. The solenoid valve operation detection module is used to detect the working status of the solenoid valve and whether the solenoid valve is leaking. The power supply module is used to power the IoT solenoid valve. The main control module receives the detection results from the solenoid valve operation detection module, obtains the status of the solenoid valve based on the detection results, controls the solenoid valve to act, and outputs the result to the monitoring device. The monitoring device controls the solenoid valve to act based on the solenoid valve detection results through the main control module.

[0032] The solenoid valve operation detection module includes an operation parameter detection unit, a valve core working status detection unit, and a leakage detection unit.

[0033] The operating parameter detection unit is connected to the solenoid valve circuit and the main control module respectively. It is used to detect the parameters of the solenoid valve during operation and transmit the detection results to the main control module. The operating parameters include data such as coil current, coil voltage, and coil temperature.

[0034] The valve core working status detection unit is connected to the main control module and is used to detect the status of the solenoid valve core and transmit the detection results to the main control module. The status of the solenoid valve core includes whether the valve core is engaged or disengaged.

[0035] The leakage detection unit is connected to the main control module and is used to detect whether there is leakage in the solenoid valve and transmit the detection results to the main control module.

[0036] The main control module includes a main control chip, which is connected to the operating parameter detection unit, the valve core working status detection unit, and the leakage detection unit. It is used to receive the detection data from each detection unit, obtain the status of the solenoid valve, transmit the solenoid valve status to the monitoring equipment, and receive instructions from the monitoring equipment to control the solenoid valve to operate.

[0037] The operating parameter detection unit includes a coil current detection circuit, a coil voltage detection circuit, and a coil temperature detection circuit, which respectively detect the coil current, coil voltage, and coil temperature.

[0038] The coil temperature detection circuit includes a temperature sensor, the output of which is connected to the main control chip to detect the temperature of the solenoid valve and transmit the data to the main control module.

[0039] The coil current detection circuit includes a current detection chip. The positive input terminal of the current detection chip is connected to the coil power supply terminal and the DC VCC power supply terminal of the solenoid valve. Its negative input terminal is connected to the third DC power supply terminal. A sampling resistor is connected between the positive input terminal and the negative input terminal. Its output terminal is connected to the main control module to transmit the current detection result to the main control module.

[0040] The coil voltage detection circuit includes a voltage limiting circuit and a voltage dividing circuit connected in parallel. The voltage limiting circuit is used to limit the detection voltage range, and the voltage dividing circuit is used to divide the detected voltage. The output terminals of the voltage limiting circuit and the voltage dividing circuit are connected together and then connected to the main control module.

[0041] The voltage limiting circuit includes two diodes connected in series. The cathode of the first diode is connected to the first power supply terminal, and its anode is connected to the cathode of the second diode and serves as the output terminal of the voltage limiting circuit. The anode of the second diode is grounded.

[0042] The voltage divider circuit includes two resistors connected in series. One end of the first resistor is connected to the power supply terminal of the first power source, and the other end is connected to one end of the second resistor, serving as the output terminal of the voltage divider resistor. The other end of the second resistor is grounded.

[0043] The valve core working status detection unit includes a valve status detection sensor and a solenoid valve status detection circuit connected in sequence. The valve status detection sensor is installed inside the solenoid valve and is used to sense the status of the solenoid valve. The valve status detection sensor is connected to the input terminal of the solenoid valve status detection circuit, and the output terminal of the solenoid valve status detection circuit is connected to the main control module.

[0044] The solenoid valve status detection circuit includes an optocoupler, which is used to transmit the detection signal from the valve status detection sensor to the main control module after being isolated by the optocoupler.

[0045] The valve status detection sensor uses a proximity switch to detect the distance between the valve core and the solenoid valve, thus obtaining the valve status detection result.

[0046] The leakage detection unit includes a leakage detection sensor and a leakage detection circuit. The leakage detection sensor is located at the bottom of the valve chamber of the solenoid valve. Under normal conditions without leakage, the leakage detection sensor is equivalent to an open circuit, and under conditions with leakage, it is equivalent to a short circuit.

[0047] The water leakage detection circuit includes a third resistor and a fourth resistor. One end of the third resistor is connected to the power supply terminal of the first power supply, and the other end is connected to one end of the water leakage detection sensor. The other end of the water leakage detection sensor serves as the output terminal of the water leakage detection circuit and is connected to one end of the fourth resistor. The other end of the fourth resistor is grounded.

[0048] Under normal conditions with no leaks, the leak detection circuit outputs a low level; under conditions with leaks, the leak detection circuit outputs a high level.

[0049] In another specific embodiment of this application, the IoT solenoid valve further includes a communication module connected between the main control module and the monitoring device.

[0050] The communication module includes a communication conversion unit and a communication unit connected in sequence. The input of the communication conversion unit is connected to the main control module for level conversion of communication signals. The output of the communication unit is connected to the monitoring equipment for communication between the monitoring equipment and the main control module.

[0051] The communication conversion unit includes two conversion sub-circuits with identical structures. The first conversion sub-circuit includes a first MOSFET, the control terminal of which is connected to the power supply terminal of the fourth power supply, and its input terminal is connected to one end of the main control chip and one end of the fifth resistor. The other end of the fifth resistor is connected to the power supply terminal of the first power supply. The output terminal of the first MOSFET serves as the output terminal of the first conversion sub-circuit and is connected to one communication terminal of the communication unit and one end of the sixth resistor. The other end of the sixth resistor is connected to the power supply terminal of the fourth power supply.

[0052] The conversion sub-circuit is used to convert communication signals at a first power supply level to communication signals at a fourth power supply level.

[0053] In another specific embodiment of this application, the IoT solenoid valve further includes a power module for providing electrical power to the IoT solenoid valve.

[0054] The power module includes an isolated power supply circuit and a charging circuit connected in sequence. The input terminal of the isolated power supply circuit is connected to the output terminal of the power supply, and its output terminal is connected to the charging circuit. The charging circuit is used to charge the battery, realizing a dual power supply mode of power supply and battery.

[0055] Compared with the prior art, the embodiments of the present invention employ a solenoid valve operation detection module to detect the operating parameters of the solenoid valve and whether there is any leakage, thus solving the problem of detecting the operation of the solenoid valve itself. Furthermore, the invention employs a communication module to solve the problem of remote detection and control of the solenoid valve.

[0056] The implementation details of the IoT solenoid valve in this embodiment are described below. The following content is only for the convenience of understanding and is not necessary for implementing this solution.

[0057] This embodiment provides an IoT solenoid valve circuit that employs a solenoid valve operation detection module to detect the operating parameters and status of the solenoid valve and communicate with monitoring equipment, thus solving the problem of real-time detection and control of the solenoid valve. Furthermore, it enables remote detection and control of the solenoid valve.

[0058] Example 2

[0059] The embodiments of the present invention are a detailed description of the above-described Embodiment 1, see [link to Embodiment 1]. Figure 2 and Figure 11 .

[0060] Specifically, the main control module includes a main control chip and its peripheral circuits, such as... Figure 2 As shown, the main control chip is an STM32F030C8T6.

[0061] The main control chip U2 has its PA4 terminal connected to the control terminal of the first solenoid valve, its PA5 terminal connected to the control terminal of the second solenoid valve, its PA6 terminal connected to the output terminal of the temperature acquisition module for acquiring the solenoid valve temperature, its PA7 terminal connected to the output terminal of the leakage detection unit for receiving the leakage detection result, its PA1 terminal connected to the solenoid valve coil current acquisition module for receiving the solenoid valve coil current sampling value, its PB0 terminal connected to the working status indication module for indicating the working status of the solenoid valve, its PB1 terminal connected to the alarm indication module for indicating an alarm when the solenoid valve status is incorrect, and its PB2 terminal connected to the solenoid valve switch status control module for controlling the opening or closing of the solenoid valve.

[0062] Its PA2 terminal is connected to the 32F_TXD communication signal terminal, and its PA3 terminal is connected to the 32F_RXD communication signal terminal for serial communication.

[0063] Its PA9 terminal is connected to the TXD communication signal terminal, and its PA10 terminal is connected to the RXD communication signal terminal for serial communication.

[0064] Its PA0 terminal is connected to the output terminal of the voltage detection circuit to receive voltage sample values.

[0065] Its PA14 terminal is connected to the SWCLK terminal of the simulation interface, and its PA13 terminal is connected to the SWDIO terminal of the simulation interface for outputting simulation signals.

[0066] Its PB8 / PB9 terminals are reserved.

[0067] The coil temperature detection circuit includes a temperature sensor, such as... Figure 3 As shown, the first pin of the temperature sensor is grounded, and its second pin serves as the sampling temperature output pin, connected to the PA6 pin of the main control chip U2, and connected to the power supply VCC through resistor R11.

[0068] The coil current detection circuit includes a current detection chip, such as... Figure 4 As shown, the positive input terminal of the current detection chip U6 is connected to the 24V DC power supply terminal of the solenoid valve (VCC) and one end of resistor R15. Its negative input terminal is connected to the 24V DC power supply terminal and the other end of resistor R15. Its output terminal is connected to one end of resistor R14, and the other end of resistor R14 is connected to the PA1 terminal of the main control chip U2, used to transmit the current detection result to the main control chip. The solenoid valve is powered by the 24V VCC power supply.

[0069] The chip's 3.3V power supply is the first power supply, the solenoid valve's VCC 24V DC power supply is the second power supply, the DC 24V power supply is the third power supply, and the DC 1.8V power supply is the fourth power supply.

[0070] The power supply terminal of the current detection chip U6 is connected to a 3.3V power supply, and its feedback terminal REF is grounded. A filter capacitor C10 is connected between the power supply terminal and ground.

[0071] The coil voltage detection circuit includes a voltage limiting circuit and a voltage divider circuit connected in parallel, used to limit the detected coil voltage value within a certain range. For example... Figure 5 As shown, the voltage limiting circuit includes two diodes. The cathode of diode D21 is connected to the anode of diode D20 and serves as the limiting terminal. The anode of diode D21 is connected to ground, and the cathode of diode D20 is connected to the power supply terminal VCC (3.3V). The voltage divider circuit includes two resistors. One end of resistor R54 is connected to the power supply terminal VCC (24V) of the solenoid valve, and the other end of resistor R54 is connected to the limiting terminal of the voltage limiting circuit. One end of resistor R55 serves as the output terminal of the coil voltage detection circuit and is connected to the PA10 terminal of the main control chip U2. The other end of resistor R55 is grounded.

[0072] Two diodes D21 / D20 connected in series are used to limit the voltage between -0.7V and 4V. A voltage divider circuit is used to divide the 24V power supply to the solenoid valve to provide a reference voltage for the detection circuit. Resistor R54 serves as a voltage sampling resistor to sample the voltage at the power supply terminal of the solenoid valve coil.

[0073] Based on coil current and coil voltage data, the main control chip U2 determines the energization status of the solenoid valve coil and uploads it to the monitoring terminal, enabling more detailed monitoring of the solenoid valve's operating data.

[0074] The valve core working status detection unit includes a valve status detection sensor and a solenoid valve status detection circuit connected in sequence. The valve status detection sensor is installed inside the solenoid valve. The valve status detection sensor is electrically connected to the input terminal of the solenoid valve status detection circuit. The output terminal of the solenoid valve status detection circuit is electrically connected to the PB2 terminal of the main control chip U2.

[0075] like Figure 6 As shown, the valve status detection sensor uses a proximity switch, which is located next to the solenoid valve core. When the solenoid valve core is engaged or disengaged, the distance between the core and the valve core changes. The proximity switch detects the distance change and generates a corresponding signal. The proximity switch outputs the signal to the solenoid valve status detection circuit, which then uses this signal to detect the status of the solenoid valve core.

[0076] The solenoid valve status detection circuit includes an optocoupler. The input terminal of the optocoupler U3 is connected to one end of resistor R17, and its output terminal is connected to one end of resistor R13. The other end of resistor R17 is connected to the output terminal of the valve status detection sensor, and the other end of resistor R13 is connected to the ground of the solenoid valve power supply VCC24V. The input terminal of the optocoupler output terminal is connected to the ground of the power supply 3.3V, and its output terminal serves as the output terminal of the solenoid valve status detection circuit. It is connected to one end of resistor R20 and the PB2 terminal of the main control chip U2 to output the solenoid valve switch status signal FA to the main control chip.

[0077] Port CON3 is used to connect a proximity switch.

[0078] When the proximity switch outputs a high or low level according to the solenoid valve status, it will turn on or off the optocoupler U3, thereby outputting different level signals to the main control chip U2 to indicate the solenoid valve's on / off state. The main control chip U2 determines whether the solenoid valve core is in the engaged or disengaged state based on the level signal output by the optocoupler U3, thus obtaining the solenoid valve's on / off state data.

[0079] like Figure 7 As shown, the leakage detection unit includes a leakage detection sensor and a leakage detection circuit. The leakage detection sensor is located at the bottom of the valve chamber of the solenoid valve and is used for leakage detection.

[0080] The water leakage detection circuit includes resistors R6 and R7. One end of resistor R6 is connected to one end of the water leakage detection sensor, and the other end is connected to the power supply terminal of the first power supply VCC 3.3V. One end of resistor R7 serves as the water leakage detection output terminal, connected to one end of the water leakage detection sensor and the PA7 terminal of the main control chip U2. The other end of resistor R7 is connected to the ground of the first power supply.

[0081] The water leakage detection sensor uses a wire contact, which includes two electrodes. It utilizes the conductivity of water to detect whether there is a leak. The first terminal 1 of port CON2 is connected to one of the electrodes, and the first terminal 2 of port CON2 is connected to the other electrode.

[0082] Under normal circumstances, when there is no leakage, the two terminals are not in contact, which is equivalent to an open circuit. Terminal 1 of port CON2 is grounded, and a low-level output is sent to PA7 of the main control chip U2. When water leaks and comes into contact with the wire contacts, the two electrodes conduct, which is equivalent to a short circuit. The two ends of the leakage detection sensor are conductive, and the two terminals of port CON2 are conductive. Terminal 1 of port CON2 outputs a high-level signal to PA7 of the main control chip U2. The main control chip U2 determines whether a leakage has occurred based on the high or low level of PA7.

[0083] The PB0 terminal of the main control chip U2 is connected to a green indicator light, and its PB1 terminal is connected to a red indicator light. Under normal circumstances without water leakage, the green indicator light is on, and under circumstances with water leakage, the red indicator light is on.

[0084] In another specific embodiment of this application, the IoT solenoid valve further includes a communication module connected between the main control module and the monitoring device.

[0085] The communication module includes a communication conversion unit and a communication unit connected in sequence. The input of the communication conversion unit is connected to the PA2 and PA3 terminals of the main control chip for transmitting 32F_TXD / 32F_RXD communication signals. Its output is connected to the input of the communication unit, and the output of the communication unit is used to connect to the input of the monitoring equipment. The communication conversion unit is used for communication level conversion between different chips to match different communication chips and achieve normal communication between the communication chip and the main control chip.

[0086] Communication unit, such as Figure 8 As shown, it includes a communication chip, one side of which is connected to the communication terminal of the communication conversion unit MAIN_TXD / MAIN_RXD, and the other side is used to connect to the communication terminal of the monitoring device.

[0087] Communication conversion unit, such as Figure 9 As shown, it includes two conversion sub-circuits for controlling the conduction or cutoff of the communication circuit. The first conversion sub-circuit includes a first MOSFET Q1. The control terminal of the first MOSFET Q1 is connected to the power supply terminal of the fourth power supply 1.8V. Its input terminal is connected to the PA2 terminal of the main control chip U2 and one end of resistor R22. The other end of resistor R22 is connected to the power supply terminal of the first power supply 3.3V. The output terminal of the first MOSFET Q1 serves as the output terminal of the first conversion sub-circuit and is connected to the input terminal MAIN_RXD of the communication unit and one end of resistor R24. The other end of resistor R24 ​​is connected to the power supply terminal of the second power supply 1.8V.

[0088] The structure of the second switching sub-circuit is the same as that of the first switching sub-circuit.

[0089] The second conversion sub-circuit includes a second MOSFET Q2. The control terminal of the second MOSFET Q2 is connected to the power supply terminal of the second power supply (1.8V). Its input terminal is connected to the PA3 terminal of the main control chip U2 and one end of resistor R21. The other end of resistor R21 is connected to the power supply terminal of the first power supply (3.3V). The output terminal of the second MOSFET Q2 serves as the output terminal of the second conversion sub-circuit, and is connected to the input terminal MAIN_TXD of the communication unit and one end of resistor R23. The other end of resistor R23 is connected to the power supply terminal of the second power supply (1.8V).

[0090] The power module includes an isolated power supply circuit and a charging circuit connected in sequence. The input terminal of the isolated power supply circuit is connected to the output terminal of the power supply, and its output terminal is connected to the charging circuit. The charging circuit is used to charge the battery, and the power module is used to supply power to the IoT solenoid valve of this application.

[0091] Isolated power supply circuits include isolated power supply chips, such as... Figure 10 As shown, the input terminal of the isolation power supply chip U1 is connected to a 24V power supply. Its positive output terminal is connected to one end of filter capacitor C1, one end of filter capacitor C3, one end of filter capacitor C4, the positive terminal of diode D2, and the positive terminal of diode D4. Filter capacitors C1, C3, and C4 are used to filter the output of the isolation power supply chip U1. The other ends of filter capacitors C1, C3, and C4 are grounded.

[0092] The negative terminal of diode D2 serves as the positive output terminal of the power supply module. It is connected to the negative terminal of diode D3, one end of filter capacitor C7, and one end of filter capacitor C2 to output the first power supply voltage of 3.3V. The other ends of filter capacitor C7 and filter capacitor C2 are grounded.

[0093] The negative terminal of diode D4 is connected to the positive terminal of diode D3 and the positive terminal of the battery, while the negative terminal of the battery is grounded.

[0094] The power module uses a dual power supply of battery and external power. Even if one power supply fails, the solenoid valve can still operate normally, thus improving the stability of operation.

[0095] Solenoid valve drive circuit, such as Figure 11 As shown, it includes a driver chip U5. The input terminal of the driver chip U5 is connected to the PA4 terminal of the main control chip U2, and the output terminal is connected to the digital ground SGND. The input terminal of the output terminal of the driver chip U5 is connected to the third power supply 24V power supply terminal. Its output terminal is connected to one end of the solenoid valve coil and one end of the resistor R1. The other end of the resistor R1 is connected to the third power supply 24V power supply terminal, and the other end of the solenoid valve coil is connected to the analog ground.

[0096] Example 3

[0097] The embodiments of the present invention also provide an Internet of Things (IoT) solenoid valve, which uses the IoT solenoid valve circuit shown in Embodiment 1 or Embodiment 2 of this application to realize real-time remote detection and control of the solenoid valve.

[0098] It should be understood that the terms "mechanism," "device," "component," etc., used in this application are merely one method of distinguishing different components, elements, parts, sections, or assemblies at different levels. However, if other terms can achieve the same purpose, they can be replaced by other expressions.

[0099] Those skilled in the art will understand that the above embodiments are specific examples of implementing the present invention. In practical applications, the technical features of the above embodiments can be combined in any way. For the sake of brevity, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification, and various changes can be made to them in form and detail without departing from the spirit and scope of the present invention.

Claims

1. An Internet of Things (IoT) solenoid valve circuit, characterized in that, include: The system includes a solenoid valve circuit, a solenoid valve operation detection module, and a main control module. The main control module is connected to the solenoid valve circuit and the solenoid valve operation detection module, respectively. The solenoid valve operation detection module is used to detect the operating parameters of the solenoid valve, the working status of the valve core, and whether the solenoid valve is leaking water. The main control module is used to receive the detection results from the solenoid valve operation detection module, obtain the status of the solenoid valve based on the detection results, and output them to the monitoring equipment. The monitoring equipment controls the solenoid valve's operation via the main control module based on the solenoid valve's detection results.

2. The IoT solenoid valve circuit according to claim 1, characterized in that, Also includes: The communication module connects the main control module and the monitoring equipment, and is used for communication transmission between the main control module and the monitoring equipment.

3. The IoT solenoid valve circuit according to claim 2, characterized in that, The communication module includes a communication conversion unit and a communication unit connected in sequence. The input end of the communication conversion unit is connected to the main control module for level conversion of communication signals. The output end of the communication unit is connected to the monitoring equipment for communication between the monitoring equipment and the main control module.

4. The IoT solenoid valve circuit according to claim 1, characterized in that, Also includes: The power module provides dual power supply—powered by a power source and a battery—for the IoT solenoid valve.

5. The IoT solenoid valve circuit according to claim 4, characterized in that, The power module includes an isolated power supply circuit and a charging circuit connected in sequence. The input terminal of the isolated power supply circuit is connected to the output terminal of the power supply, and its output terminal is connected to the charging circuit, which is used to charge the battery.

6. The IoT solenoid valve circuit according to claim 1, characterized in that, The solenoid valve operation detection module includes an operation parameter detection unit, a valve core working status detection unit, and a leakage detection unit. The operating parameter detection unit is connected to the solenoid valve circuit and the main control module respectively. It is used to detect the parameters of the solenoid valve during operation and transmit the detection results to the main control module. The operating parameters include coil current data, coil voltage data, and coil temperature data. The valve core working status detection unit is connected to the main control module and is used to detect the state of the solenoid valve core and transmit the detection result to the main control module. The leakage detection unit is connected to the main control module and is used to detect whether there is leakage in the solenoid valve and transmit the detection result to the main control module.

7. The IoT solenoid valve circuit according to claim 6, characterized in that, The operating parameter detection unit includes a coil current detection circuit, a coil voltage detection circuit, and a coil temperature detection circuit. The coil current detection circuit is used to detect the coil current, the coil voltage detection circuit is used to detect the coil voltage, and the coil temperature detection circuit is used to detect the coil temperature.

8. The IoT solenoid valve circuit according to claim 7, characterized in that, The coil current detection circuit includes a current detection chip; a current detection resistor is connected between the positive input terminal and the negative input terminal of the current detection chip, the negative input terminal is connected to a DC power supply, the positive input terminal is connected to a DC VCC power supply, the DC VCC power supply is used to power the solenoid valve, and the output terminal outputs the sampled current to the main control module. The coil voltage detection circuit includes a voltage limiting circuit and a voltage dividing circuit connected in parallel. The voltage limiting circuit is used to limit the detection voltage range, and the voltage dividing circuit is used to divide the detected voltage. The output terminal of the voltage limiting circuit and the output terminal of the voltage dividing circuit are connected together and connected to the main control module.

9. The IoT solenoid valve circuit according to claim 6, characterized in that, The valve core working status detection unit includes a valve status detection sensor and a solenoid valve status detection circuit connected in sequence. The valve status detection sensor is installed inside the solenoid valve and is used to sense the solenoid valve status. The valve status detection sensor is connected to the input terminal of the solenoid valve status detection circuit, and the output terminal of the solenoid valve status detection circuit is connected to the main control module.

10. The IoT solenoid valve circuit according to claim 6, characterized in that, The water leakage detection unit includes a water leakage detection sensor and a water leakage detection circuit. The water leakage detection sensor is located at the bottom of the valve chamber of the solenoid valve. The water leakage detection circuit includes a third resistor and a fourth resistor. One end of the third resistor is connected to the power supply terminal of the first power supply, and the other end is connected to one end of the water leakage detection sensor. The other end of the water leakage detection sensor serves as the output terminal of the water leakage detection circuit and is connected to one end of the fourth resistor. The other end of the fourth resistor is grounded.