Solenoid valve control and detection circuit

By designing the solenoid valve control and detection circuit and using the combination of optocoupler and MOS tube to detect the solenoid valve power supply voltage in real time, the problem of inaccurate solenoid valve control is solved, and safe and reliable control and abnormal handling of the solenoid valve are achieved.

CN223348657UActive Publication Date: 2025-09-16ANHUI ZHONGKE JIUAN NEW ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202422599906.1
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-10-28
Publication Date
2025-09-16
Estimated Expiration
2034-10-28

AI Technical Summary

Technical Problem

The existing solenoid valve control system is unable to detect in real time whether the solenoid valve is opened as required and the quality of the solenoid valve itself, resulting in inaccurate control and safety hazards.

Method used

A solenoid valve control and detection circuit was designed, including an MCU module, a forward detection module, a reverse detection module, a solenoid valve forward control module, and a reverse control module. Through the combination of an optocoupler and a MOS tube, the solenoid valve power supply voltage is detected in real time and the feedback result is generated to generate an alarm trigger instruction, thereby realizing forward and reverse control and fault detection of the solenoid valve.

Benefits of technology

It realizes real-time detection and control of the solenoid valve, ensures the safety and reliability of the solenoid valve, controls the forward and reverse rotation of the solenoid valve through a single interface, simplifies the control logic, handles abnormal situations in time, and provides protection.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN223348657U_ABST
    Figure CN223348657U_ABST
Patent Text Reader

Abstract

The utility model discloses an electromagnetic valve control and detection circuit, which comprises an MCU module used for receiving electromagnetic valve control instructions in real time and generating electromagnetic valve control signals according to the electromagnetic valve control instructions, the electromagnetic valve control instructions comprise electromagnetic valve forward rotation and electromagnetic valve reverse rotation, and the electromagnetic valve control signals comprise electromagnetic valve forward rotation signals and electromagnetic valve reverse rotation signals; the forward rotation detection module is used for detecting the power supply voltage of the electromagnetic valve in real time when the system controls the electromagnetic valve to rotate forward so as to verify and confirm the forward rotation of the electromagnetic valve, and feeding back the verification and confirmation result to the MCU module; and the electromagnetic valve forward rotation control module is used for receiving the electromagnetic valve forward rotation signal and forming electromagnetic valve power supply forward rotation according to the electromagnetic valve forward rotation signal. The electromagnetic valve control and detection circuit can detect and control the power supply voltage of the electromagnetic valve and the effectiveness and safety of positive and negative rotation while controlling the electromagnetic valve to open / close the circulation of liquid in a pipeline.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of electromagnetic valve control, in particular to a electromagnetic valve control and detection circuit. Background Art

[0002] Correct solenoid valve control is crucial for most integrated fire protection equipment. Current solenoid valve controllers on the market rely solely on two forward and reverse power supply circuits to control the opening and closing of the valves, thereby controlling the flow of fluid in the pipeline. However, these controllers are unable to provide real-time monitoring of whether the solenoid valves are opening as required or the condition of the valves themselves. Utility Model Content

[0003] In order to solve the technical problems existing in the background technology, the utility model proposes a solenoid valve control and detection circuit.

[0004] The utility model proposes a solenoid valve control and detection circuit, comprising:

[0005] The MCU module is used to receive solenoid valve control instructions in real time and generate solenoid valve control signals according to the solenoid valve control instructions. The solenoid valve control instructions include solenoid valve forward rotation and solenoid valve reverse rotation. The solenoid valve control signals include solenoid valve forward rotation signals and solenoid valve reverse rotation signals.

[0006] The forward rotation detection module is used to detect the power supply voltage of the solenoid valve in real time when the system controls the solenoid valve to rotate forward, so as to verify that the solenoid valve rotates forward, and feed back the verification result to the MCU module;

[0007] The solenoid valve forward rotation control module is used to receive the solenoid valve forward rotation signal and generate the solenoid valve power supply forward rotation according to the solenoid valve forward rotation signal;

[0008] The reversal detection module is used to detect the power supply voltage of the solenoid valve in real time when the system controls the solenoid valve to reverse, so as to verify the reversal of the solenoid valve and feed back the verification result to the MCU module;

[0009] The solenoid valve reversal control module is used to receive the solenoid valve reversal signal and perform solenoid valve power reversal according to the solenoid valve reversal signal;

[0010] The MCU module is also used to generate an alarm trigger instruction when the verification and confirmation results of the forward detection module or the reverse detection module are inconsistent;

[0011] Among them, the output end of the forward detection module is electrically connected to the input end of the MCU module; the output end of the reverse detection module is electrically connected to the input end of the MCU module; the output end of the MCU module is electrically connected to the input end of the solenoid valve forward control module; the output end of the MCU module is electrically connected to the input end of the solenoid valve reverse control module; the output end of the solenoid valve forward control module is electrically connected to the input end of the solenoid valve; the output end of the solenoid valve reverse control module is electrically connected to the input end of the solenoid valve.

[0012] Preferably, the output end of the solenoid valve forward control module is electrically connected to the input end of the solenoid valve through the solenoid valve power output interface, and the output end of the solenoid valve reverse control module is electrically connected to the input end of the solenoid valve through the solenoid valve power output interface. The solenoid valve power output interface specifically includes: a bidirectional trigger diode D1, a capacitor C2, and a capacitor C4; one end of the bidirectional trigger diode D1 is electrically connected to one end of the capacitor C2, and the other end of the capacitor C2 is grounded, and the other end of the bidirectional trigger diode D1 is electrically connected to one end of the capacitor C4, and the other end of the capacitor C4 is grounded.

[0013] Preferably, the forward rotation detection module specifically includes: an optocoupler E1, a resistor R1, and a resistor R2. The third end of the optocoupler E1 is grounded, the second end of the optocoupler E1 is electrically connected to one end of the resistor R1, the other end of the resistor R1 is grounded, the fourth end of the optocoupler E1 is electrically connected to one end of the resistor R2, the other end of the resistor R2 is connected to a 3.3V power supply, the fourth end of the optocoupler E1 is electrically connected to the input end of the MCU module, and the first end of the coupler E1 is electrically connected to one end of the capacitor C2.

[0014] Preferably, the reversal detection module specifically includes: an optocoupler E5, a resistor R16, and a resistor R17. The third end of the optocoupler E5 is grounded, the second end of the optocoupler E5 is electrically connected to one end of the resistor R17, the other end of the resistor R17 is grounded, the fourth end of the optocoupler E5 is electrically connected to one end of the resistor R16, the other end of the resistor R16 is connected to a 3.3V power supply, the fourth end of the optocoupler E5 is electrically connected to the input end of the MCU module, and the first end of the coupler E5 is electrically connected to one end of the capacitor C4.

[0015] Preferably, the solenoid valve forward control module specifically includes: an optical coupler E3, a resistor R4, a resistor R6, a resistor R10, a resistor R13, a resistor R14, a MOS tube Q1, a MOS tube Q4, a capacitor C1, a capacitor C5, a Zener diode DZ3, and a Zener diode DZ5; the first end of the optical coupler E3 is connected to a 3.3V power supply, the second end of the optical coupler E3 is electrically connected to one end of the resistor R10, the other end of the resistor R10 is electrically connected to the output end of the MCU module, the third end of the optical coupler E3 is electrically connected to one end of the resistor R13, the third end of the optical coupler E3 is electrically connected to one end of the resistor R14, the other end of the resistor R14 is grounded, the other end of the resistor R13 is electrically connected to the gate of the MOS tube Q4, the other end of the resistor R13 is electrically connected to one end of the capacitor C5, and the other end of the capacitor C5 is electrically connected to the Zener diode DZ 5, the other end of the resistor R13 is electrically connected to the negative electrode of the Zener diode DZ5, the other end of the capacitor C5 is electrically connected to the source of the MOS transistor Q4, the other end of the capacitor C5 is grounded, and the drain of the MOS transistor Q4 is electrically connected to one end of the capacitor C4; a fourth end of the optical coupler E3 is electrically connected to one end of the resistor R6, the other end of the resistor R6 is electrically connected to the gate of the MOS transistor Q1, the other end of the resistor R6 is electrically connected to one end of the resistor R4, the other end of the resistor R6 is electrically connected to the anode of the Zener diode DZ3, the negative electrode of the Zener diode DZ3 is electrically connected to the other end of the resistor R4, the other end of the resistor R4 is electrically connected to one end of the capacitor C1, the other end of the capacitor C1 is grounded, the other end of the resistor R4 is electrically connected to the source of the MOS transistor Q1, and the drain of the MOS transistor Q1 is electrically connected to one end of the capacitor C2.

[0016] Preferably, the solenoid valve reversing control module specifically includes: an optical coupler E4, a resistor R5, a resistor R7, a resistor R9, a resistor R12, a resistor R15, a resistor R14, a MOS transistor Q2, a MOS transistor Q5, a capacitor C3, a Zener diode DZ1, and a Zener diode DZ4; the second end of the optical coupler E4 is electrically connected to one end of the resistor R9, the other end of the resistor R9 is grounded, the third end of the optical coupler E4 is electrically connected to one end of the resistor R7, the other end of the resistor R7 is grounded, the third end of the optical coupler E4 is electrically connected to one end of the resistor R5, the other end of the resistor R5 is electrically connected to one end of the capacitor C3, the other end of the resistor R5 is electrically connected to the gate of the MOS transistor Q2, the source of the MOS transistor Q2 is grounded, the drain of the MOS transistor Q2 is electrically connected to one end of the capacitor C2, and the MOS transistor Q2 is electrically connected to the gate of the MOS transistor Q2. The source of the MOS transistor Q2 is electrically connected to the anode of the Zener diode DZ1, the cathode of the Zener diode DZ1 is electrically connected to one end of the capacitor C3, the fourth end of the optocoupler E4 is electrically connected to one end of the resistor R12, the other end of the resistor R12 is electrically connected to one end of the resistor R15, the other end of the resistor R12 is electrically connected to the gate of the MOS transistor Q5, the other end of the resistor R15 is electrically connected to the source of the MOS transistor Q5, one end of the resistor R15 is electrically connected to the anode of the Zener diode DZ4, the other end of the resistor R15 is electrically connected to the cathode of the Zener diode DZ4, the drain of the MOS transistor Q5 is electrically connected to one end of the capacitor C4, the first end of the optocoupler E4 is electrically connected to the output end of the MCU module, and the cathode of the Zener diode DZ4 is electrically connected to one end of the capacitor C1.

[0017] Preferably, a power supply module is further included for providing power to the solenoid valve; the power supply module specifically includes: an optocoupler E2, a resistor R3, a resistor R8, a resistor R11, a MOS transistor Q3, a capacitor C3, a Zener diode DZ2, and a Zener diode DZ4; the first end of the optocoupler E2 is connected to a 3.3V power supply, the third end of the optocoupler E2 is electrically connected to one end of the resistor R11, the other end of the resistor R11 is grounded, the fourth end of the optocoupler E2 is electrically connected to the gate of the MOS transistor Q3, the fourth end of the optocoupler E2 is electrically connected to one end of the resistor R3, the other end of the resistor R3 is electrically connected to the source of the MOS transistor Q3, one end of the resistor R3 is electrically connected to the positive electrode of the Zener diode DZ2, the other end of the resistor R3 is electrically connected to the negative electrode of the Zener diode DZ2, the other end of the resistor R3 provides a fuse FU1 to connect to the 24V power supply, and the drain of the MOS transistor Q3 is electrically connected to the capacitor C1.

[0018] In the present invention, the proposed solenoid valve control and detection circuit detects the voltage output by the solenoid valve power supply in real time. Once an abnormal voltage caused by a solenoid valve anomaly is detected, the MCU module can promptly cut off the power output and issue a device alarm, providing protection for the solenoid valve control application. The system stably outputs the solenoid valve power supply, controlling the power supply through a combination of multi-stage optocouplers and MOS tubes. The solenoid valve power supply can be controlled through a single interface to achieve positive and negative power supply / negative and positive power supply to control the forward and reverse rotation of the solenoid valve. The output power supply voltage is detected by a voltage divider circuit to determine the accuracy and safety of the solenoid valve output. When a voltage change caused by an abnormality in the forward and reverse rotation logic of the solenoid valve or a solenoid valve failure is detected, the solenoid valve power supply can be quickly shut down. The forward and reverse rotation of the solenoid valve can be controlled through a single interface, and the control logic is simple and convenient, allowing for easy application. While controlling the solenoid valve to open / close the flow of liquid in the pipeline, the effectiveness and safety of the solenoid valve power supply voltage and forward and reverse rotation can be detected. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] Figure 1 This is a schematic diagram of the circuit architecture of a solenoid valve control and detection circuit proposed in the present invention;

[0020] Figure 2 This is a schematic diagram of the circuit implementation structure of a solenoid valve control and detection circuit proposed by the utility model. DETAILED DESCRIPTION

[0021] Reference Figure 1 and Figure 2 The utility model proposes a solenoid valve control and detection circuit, comprising:

[0022] The MCU module is used to receive solenoid valve control instructions in real time and generate solenoid valve control signals according to the solenoid valve control instructions. The solenoid valve control instructions include solenoid valve forward rotation and solenoid valve reverse rotation. The solenoid valve control signals include solenoid valve forward rotation signals and solenoid valve reverse rotation signals.

[0023] The forward rotation detection module is used to detect the power supply voltage of the solenoid valve in real time when the system controls the solenoid valve to rotate forward, so as to verify that the solenoid valve rotates forward, and feed back the verification result to the MCU module;

[0024] The solenoid valve forward rotation control module is used to receive the solenoid valve forward rotation signal and generate the solenoid valve power supply forward rotation according to the solenoid valve forward rotation signal;

[0025] The reversal detection module is used to detect the power supply voltage of the solenoid valve in real time when the system controls the solenoid valve to reverse, so as to verify the reversal of the solenoid valve and feed back the verification result to the MCU module;

[0026] The solenoid valve reversal control module is used to receive the solenoid valve reversal signal and perform solenoid valve power reversal according to the solenoid valve reversal signal;

[0027] The MCU module is also used to generate an alarm trigger instruction when the verification and confirmation results of the forward detection module or the reverse detection module are inconsistent;

[0028] Among them, the output end of the forward detection module is electrically connected to the input end of the MCU module; the output end of the reverse detection module is electrically connected to the input end of the MCU module; the output end of the MCU module is electrically connected to the input end of the solenoid valve forward control module; the output end of the MCU module is electrically connected to the input end of the solenoid valve reverse control module; the output end of the solenoid valve forward control module is electrically connected to the input end of the solenoid valve; the output end of the solenoid valve reverse control module is electrically connected to the input end of the solenoid valve.

[0029] Specifically, such as Figure 1 and Figure 2 As shown, the output end of the solenoid valve forward control module is electrically connected to the input end of the solenoid valve through the solenoid valve power output interface, and the output end of the solenoid valve reverse control module is electrically connected to the input end of the solenoid valve through the solenoid valve power output interface. The solenoid valve power output interface specifically includes: a bidirectional trigger diode D1, a capacitor C2, and a capacitor C4; one end of the bidirectional trigger diode D1 is electrically connected to one end of the capacitor C2, and the other end of the capacitor C2 is grounded, and the other end of the bidirectional trigger diode D1 is electrically connected to one end of the capacitor C4, and the other end of the capacitor C4 is grounded.

[0030] Specifically, such as Figure 1 and Figure 2 As shown, the forward rotation detection module specifically includes: an optical coupler E1, a resistor R1, and a resistor R2. The third end of the optical coupler E1 is grounded, the second end of the optical coupler E1 is electrically connected to one end of the resistor R1, and the other end of the resistor R1 is grounded. The fourth end of the optical coupler E1 is electrically connected to one end of the resistor R2, and the other end of the resistor R2 is connected to a 3.3V power supply. The fourth end of the optical coupler E1 is electrically connected to the input end of the MCU module, and the first end of the coupler E1 is electrically connected to one end of the capacitor C2.

[0031] Specifically, such as Figure 1 and Figure 2 As shown, the reversal detection module specifically includes: an optical coupler E5, a resistor R16, and a resistor R17. The third end of the optical coupler E5 is grounded, the second end of the optical coupler E5 is electrically connected to one end of the resistor R17, the other end of the resistor R17 is grounded, the fourth end of the optical coupler E5 is electrically connected to one end of the resistor R16, the other end of the resistor R16 is connected to a 3.3V power supply, the fourth end of the optical coupler E5 is electrically connected to the input end of the MCU module, and the first end of the coupler E5 is electrically connected to one end of the capacitor C4.

[0032] In this embodiment, when the system controls the solenoid valve to rotate forward, the solenoid valve power supply flows through Q3, Q1 to R1, R2 to form a loop, "BACK_H" can detect the solenoid valve power supply voltage in real time, while Q4 is turned on, the E5 optocoupler does not work, and "BACK_L" is still 0V, mutually verifying and confirming that the solenoid valve rotates forward.

[0033] When the system controls the solenoid valve to reverse, the solenoid valve power supply flows through Q3, Q5 to R16.R17 to form a loop. "BACK_L" can detect the solenoid valve power supply voltage in real time, while Q2 is turned on, the E1 optocoupler does not work, and "BACK_H" is still 0V, which verifies each other and confirms the reversal of the solenoid valve.

[0034] When the power supply voltage detected by the "BACK_H" pin of the MCU is abnormal, it can quickly change the "WET_CTRL" from low level to high level, making Q3MOS non-conductive, avoiding the harm to the system caused by the abnormal solenoid valve. At the same time, the device will alarm to remind the solenoid valve to open abnormally.

[0035] It should be noted that usually, to realize the forward and reverse rotation of the solenoid valve, dual interfaces and dual power outputs are required to separately control the forward / reverse rotation. This circuit can control the forward and reverse rotation of the solenoid valve through only a single interface, and the control logic is simple and convenient, which can be easily applied.

[0036] Specifically, such as Figure 1 and Figure 2As shown, the solenoid valve forward rotation control module specifically includes: an optical coupler E3, a resistor R4, a resistor R6, a resistor R10, a resistor R13, a resistor R14, a MOS tube Q1, a MOS tube Q4, a capacitor C1, a capacitor C5, a Zener diode DZ3, and a Zener diode DZ5; the first end of the optical coupler E3 is connected to a 3.3V power supply, the second end of the optical coupler E3 is electrically connected to one end of the resistor R10, the other end of the resistor R10 is electrically connected to the output end of the MCU module, the third end of the optical coupler E3 is electrically connected to one end of the resistor R13, the third end of the optical coupler E3 is electrically connected to one end of the resistor R14, the other end of the resistor R14 is grounded, the other end of the resistor R13 is electrically connected to the gate of the MOS tube Q4, the other end of the resistor R13 is electrically connected to one end of the capacitor C5, and the other end of the capacitor C5 is electrically connected to the Zener diode DZ5. The fourth end of the optocoupler E3 is electrically connected to one end of the resistor R6, the other end of the resistor R6 is electrically connected to the gate of the MOS transistor Q1, the other end of the resistor R6 is electrically connected to one end of the resistor R4, the other end of the resistor R6 is electrically connected to the anode of the Zener diode DZ3, the cathode of the Zener diode DZ3 is electrically connected to the other end of the resistor R4, the other end of the resistor R4 is electrically connected to one end of the capacitor C1, the other end of the capacitor C1 is grounded, the other end of the resistor R4 is electrically connected to the source of the MOS transistor Q1, and the drain of the MOS transistor Q1 is electrically connected to one end of the capacitor C2.

[0037] In this embodiment, if Figure 2 As shown in the figure, when the system controls the solenoid valve power supply for forward rotation, the MCU's "WET_CTRL" pin is pulled low, activating the left LED inside optocoupler E2. This turns on the right transistor of optocoupler E2, pulling down the gate G of MOS transistor Q3. This creates a voltage differential with the source S of MOS transistor Q3, turning the MOS transistor on and allowing the power supply "POW_VDD24V_MOTOR" to flow to Q3. Simultaneously, the MCU's "WET_EN" pin is pulled low, similarly turning on optocoupler E3, turning on Q1. Power flows from Q1 to "MOTOR_H." Voltage division creates a voltage differential between the G and S terminals of Q4, turning on Q4 and allowing "MOTOR_L" to flow to "24_VIN-." Because "WET_EN" is pulled low, the E4 optocoupler is deactivated, turning off MOS transistors Q2 and Q5. This results in forward rotation of the solenoid valve power supply.

[0038] Specifically, such as Figure 1 and Figure 2As shown, the solenoid valve reversing control module specifically includes: an optical coupler E4, a resistor R5, a resistor R7, a resistor R9, a resistor R12, a resistor R15, a resistor R14, a MOS transistor Q2, a MOS transistor Q5, a capacitor C3, a Zener diode DZ1, and a Zener diode DZ4; a second end of the optical coupler E4 is electrically connected to one end of the resistor R9, and the other end of the resistor R9 is grounded; a third end of the optical coupler E4 is electrically connected to one end of the resistor R7, and the other end of the resistor R7 is grounded; a third end of the optical coupler E4 is electrically connected to one end of the resistor R5, and the other end of the resistor R5 is electrically connected to one end of the capacitor C3; the other end of the resistor R5 is electrically connected to the gate of the MOS transistor Q2, the source of the MOS transistor Q2 is grounded, and the drain of the MOS transistor Q2 is electrically connected to one end of the capacitor C2. The source of the S transistor Q2 is electrically connected to the anode of the Zener diode DZ1, the cathode of the Zener diode DZ1 is electrically connected to one end of the capacitor C3, the fourth end of the optocoupler E4 is electrically connected to one end of the resistor R12, the other end of the resistor R12 is electrically connected to one end of the resistor R15, the other end of the resistor R12 is electrically connected to the gate of the MOS transistor Q5, the other end of the resistor R15 is electrically connected to the source of the MOS transistor Q5, one end of the resistor R15 is electrically connected to the anode of the Zener diode DZ4, the other end of the resistor R15 is electrically connected to the cathode of the Zener diode DZ4, the drain of the MOS transistor Q5 is electrically connected to one end of the capacitor C4, the first end of the optocoupler E4 is electrically connected to the output end of the MCU module, and the cathode of the Zener diode DZ4 is electrically connected to one end of the capacitor C1.

[0039] In this embodiment, if Figure 2 As shown in the figure, when the system controls the solenoid valve power supply to reverse, the MCU's "WET_CTRL" pin is pulled low, activating the left LED inside optocoupler E2 and turning on the right transistor. This pulls down the gate G of MOS transistor Q3, creating a voltage differential with the source S of MOS transistor Q3, turning it on. Power "POW_VDD24V_MOTOR" flows to Q3. Simultaneously, the MCU's "WET_EN" pin is pulled high, similarly turning on optocoupler E4 and Q5. Power flows from Q5 to "MOTOR_L." Voltage division creates a voltage differential between the G and S terminals of Q2, turning on Q2 and causing "MOTOR_H" to flow to "24_VIN-." Because "WET_EN" is pulled high, optocoupler E4 is deactivated, turning off MOS transistors Q1 and Q4. This results in a solenoid valve power supply reversal.

[0040] Specifically, such as Figure 1 and Figure 2As shown, a power supply module is also included for providing power to the solenoid valve; the power supply module specifically includes: an optical coupler E2, a resistor R3, a resistor R8, a resistor R11, a MOS transistor Q3, a capacitor C3, a Zener diode DZ2, and a Zener diode DZ4; the first end of the optical coupler E2 is connected to a 3.3V power supply, the third end of the optical coupler E2 is electrically connected to one end of the resistor R11, the other end of the resistor R11 is grounded, the fourth end of the optical coupler E2 is electrically connected to the gate of the MOS transistor Q3, the fourth end of the optical coupler E2 is electrically connected to one end of the resistor R3, the other end of the resistor R3 is electrically connected to the source of the MOS transistor Q3, one end of the resistor R3 is electrically connected to the positive electrode of the Zener diode DZ2, the other end of the resistor R3 is electrically connected to the negative electrode of the Zener diode DZ2, the other end of the resistor R3 provides a fuse FU1 to connect to the 24V power supply, and the drain of the MOS transistor Q3 is electrically connected to the capacitor C1.

[0041] In this embodiment, the fuse FU1 serves to protect the solenoid valve from excessive current due to abnormality in the power supply.

[0042] During the specific operation of the solenoid valve control and detection circuit of this embodiment, the voltage output by the solenoid valve power supply is detected in real time. Once an abnormal voltage caused by an abnormal solenoid valve is detected, the MCU module can promptly cut off the power output and issue an equipment alarm to provide protection for the application of the solenoid valve control. The system stably outputs the solenoid valve power supply, controls the power supply through a combination of multi-stage optocouplers and MOS tubes, and can realize positive and negative power supply / negative and positive power supply for the solenoid valve power supply through an interface to control the forward and reverse rotation of the solenoid valve. The output power supply voltage is detected by a voltage divider circuit to determine the accuracy and safety of the solenoid valve output. When a voltage change caused by an abnormal logic of the solenoid valve forward and reverse rotation or a solenoid valve failure is detected, the solenoid valve power supply can be quickly shut down.

[0043] The above is only a preferred specific implementation method of the present invention, but the protection scope of the present invention is not limited to this. Any technician familiar with the technical field within the technical scope disclosed by the present invention can make equivalent replacements or changes based on the technical solution and utility model concept of the present invention, which should be covered by the protection scope of the present invention.

Claims

1. A solenoid valve control and detection circuit, characterized in that: include: The MCU module is used to receive solenoid valve control instructions in real time and generate solenoid valve control signals according to the solenoid valve control instructions. The solenoid valve control instructions include solenoid valve forward rotation and solenoid valve reverse rotation. The solenoid valve control signals include solenoid valve forward rotation signals and solenoid valve reverse rotation signals. The forward rotation detection module is used to detect the power supply voltage of the solenoid valve in real time when the system controls the solenoid valve to rotate forward, so as to verify that the solenoid valve rotates forward, and feed back the verification result to the MCU module; The solenoid valve forward rotation control module is used to receive the solenoid valve forward rotation signal and generate the solenoid valve power supply forward rotation according to the solenoid valve forward rotation signal; The reversal detection module is used to detect the power supply voltage of the solenoid valve in real time when the system controls the solenoid valve to reverse, so as to verify the reversal of the solenoid valve and feed back the verification result to the MCU module; The solenoid valve reversal control module is used to receive the solenoid valve reversal signal and perform solenoid valve power reversal according to the solenoid valve reversal signal; The MCU module is also used to generate an alarm trigger instruction when the verification and confirmation results of the forward detection module or the reverse detection module are inconsistent; Among them, the output end of the forward detection module is electrically connected to the input end of the MCU module; the output end of the reverse detection module is electrically connected to the input end of the MCU module; the output end of the MCU module is electrically connected to the input end of the solenoid valve forward control module; the output end of the MCU module is electrically connected to the input end of the solenoid valve reverse control module; the output end of the solenoid valve forward control module is electrically connected to the input end of the solenoid valve; the output end of the solenoid valve reverse control module is electrically connected to the input end of the solenoid valve.

2. The solenoid valve control and detection circuit according to claim 1, characterized in that: The output end of the solenoid valve forward control module is electrically connected to the input end of the solenoid valve through the solenoid valve power output interface, and the output end of the solenoid valve reverse control module is electrically connected to the input end of the solenoid valve through the solenoid valve power output interface. The solenoid valve power output interface specifically includes: a bidirectional trigger diode D1, a capacitor C2, and a capacitor C4; one end of the bidirectional trigger diode D1 is electrically connected to one end of the capacitor C2, and the other end of the capacitor C2 is grounded, the other end of the bidirectional trigger diode D1 is electrically connected to one end of the capacitor C4, and the other end of the capacitor C4 is grounded.

3. The solenoid valve control and detection circuit according to claim 2, characterized in that: The forward rotation detection module specifically includes: an optocoupler E1, a resistor R1, and a resistor R2. The third end of the optocoupler E1 is grounded, the second end of the optocoupler E1 is electrically connected to one end of the resistor R1, the other end of the resistor R1 is grounded, the fourth end of the optocoupler E1 is electrically connected to one end of the resistor R2, the other end of the resistor R2 is connected to a 3.3V power supply, the fourth end of the optocoupler E1 is electrically connected to the input end of the MCU module, and the first end of the coupler E1 is electrically connected to one end of the capacitor C2.

4. The solenoid valve control and detection circuit according to claim 2, characterized in that: The reversal detection module specifically includes: an optocoupler E5, a resistor R16, and a resistor R17. The third end of the optocoupler E5 is grounded, the second end of the optocoupler E5 is electrically connected to one end of the resistor R17, the other end of the resistor R17 is grounded, the fourth end of the optocoupler E5 is electrically connected to one end of the resistor R16, the other end of the resistor R16 is connected to a 3.3V power supply, the fourth end of the optocoupler E5 is electrically connected to the input end of the MCU module, and the first end of the coupler E5 is electrically connected to one end of the capacitor C4.

5. The solenoid valve control and detection circuit according to claim 2, characterized in that: The solenoid valve forward control module specifically includes: an optocoupler E3, a resistor R4, a resistor R6, a resistor R10, a resistor R13, a resistor R14, a MOS tube Q1, a MOS tube Q4, a capacitor C1, a capacitor C5, a Zener diode DZ3, and a Zener diode DZ5; the first end of the optocoupler E3 is connected to a 3.3V power supply, the second end of the optocoupler E3 is electrically connected to one end of the resistor R10, the other end of the resistor R10 is electrically connected to the output end of the MCU module, the third end of the optocoupler E3 is electrically connected to one end of the resistor R13, the third end of the optocoupler E3 is electrically connected to one end of the resistor R14, the other end of the resistor R14 is grounded, the other end of the resistor R13 is electrically connected to the gate of the MOS tube Q4, the other end of the resistor R13 is electrically connected to one end of the capacitor C5, and the other end of the capacitor C5 is electrically connected to the gate of the Zener diode DZ5. The anode of the MOS transistor Q4 is electrically connected to the cathode of the MOS transistor Q1, the other end of the resistor R13 is electrically connected to the cathode of the zener diode DZ5, the other end of the capacitor C5 is electrically connected to the source of the MOS transistor Q4, the other end of the capacitor C5 is grounded, and the drain of the MOS transistor Q4 is electrically connected to one end of the capacitor C4; the fourth end of the optocoupler E3 is electrically connected to one end of the resistor R6, the other end of the resistor R6 is electrically connected to the gate of the MOS transistor Q1, the other end of the resistor R6 is electrically connected to one end of the resistor R4, the other end of the resistor R6 is electrically connected to the anode of the MOS transistor DZ3, the cathode of the MOS diode DZ3 is electrically connected to the other end of the resistor R4, the other end of the resistor R4 is electrically connected to one end of the capacitor C1, the other end of the capacitor C1 is grounded, the other end of the resistor R4 is electrically connected to the source of the MOS transistor Q1, and the drain of the MOS transistor Q1 is electrically connected to one end of the capacitor C2.

6. The solenoid valve control and detection circuit according to claim 5, characterized in that: The solenoid valve reversing control module specifically includes: an optocoupler E4, a resistor R5, a resistor R7, a resistor R9, a resistor R12, a resistor R15, a resistor R14, a MOS tube Q2, a MOS tube Q5, a capacitor C3, a Zener diode DZ1, and a Zener diode DZ4; the second end of the optocoupler E4 is electrically connected to one end of the resistor R9, and the other end of the resistor R9 is grounded; the third end of the optocoupler E4 is electrically connected to one end of the resistor R7, and the other end of the resistor R7 is grounded; the third end of the optocoupler E4 is electrically connected to one end of the resistor R5, and the other end of the resistor R5 is electrically connected to one end of the capacitor C3; the other end of the resistor R5 is electrically connected to the gate of the MOS tube Q2, the source of the MOS tube Q2 is grounded, the drain of the MOS tube Q2 is electrically connected to one end of the capacitor C2, and the MOS The source of transistor Q2 is electrically connected to the anode of Zener diode DZ1, the cathode of Zener diode DZ1 is electrically connected to one end of capacitor C3, the fourth end of optocoupler E4 is electrically connected to one end of resistor R12, the other end of resistor R12 is electrically connected to one end of resistor R15, the other end of resistor R12 is electrically connected to the gate of MOS transistor Q5, the other end of resistor R15 is electrically connected to the source of MOS transistor Q5, one end of resistor R15 is electrically connected to the anode of Zener diode DZ4, the other end of resistor R15 is electrically connected to the cathode of Zener diode DZ4, the drain of MOS transistor Q5 is electrically connected to one end of capacitor C4, the first end of optocoupler E4 is electrically connected to the output end of the MCU module, and the cathode of Zener diode DZ4 is electrically connected to one end of capacitor C1.

7. The solenoid valve control and detection circuit according to claim 6, characterized in that: The power supply module is further included to provide power to the solenoid valve; the power supply module specifically includes: an optocoupler E2, a resistor R3, a resistor R8, a resistor R11, a MOS transistor Q3, a capacitor C3, a Zener diode DZ2, and a Zener diode DZ4; the first end of the optocoupler E2 is connected to a 3.3V power supply, the third end of the optocoupler E2 is electrically connected to one end of the resistor R11, the other end of the resistor R11 is grounded, the fourth end of the optocoupler E2 is electrically connected to the gate of the MOS transistor Q3, the fourth end of the optocoupler E2 is electrically connected to one end of the resistor R3, the other end of the resistor R3 is electrically connected to the source of the MOS transistor Q3, one end of the resistor R3 is electrically connected to the positive electrode of the Zener diode DZ2, the other end of the resistor R3 is electrically connected to the negative electrode of the Zener diode DZ2, the other end of the resistor R3 provides a fuse FU1 to connect to the 24V power supply, and the drain of the MOS transistor Q3 is electrically connected to the capacitor C1.