Valve device and drive circuit thereof
By combining voltage divider circuits, charging and discharging circuits, comparison circuits, and switching circuits, the instability problem of the valve device when the controller reads and writes data is solved, and stable operation is achieved under abnormal controller conditions, ensuring reliable closure of the gas valve and system stability.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2025-02-18
- Publication Date
- 2026-03-17
AI Technical Summary
The existing valve device requires the main interrupt to be turned off when the controller reads or writes data stored internally, which causes the gas valve drive square wave frequency signal to be interrupted, resulting in unstable operation of the gas valve.
The drive circuit design employs a voltage divider circuit, a charging and discharging circuit, a first comparator circuit, a second comparator circuit, a power supply, and a switching circuit. Through the charging and discharging function, the valve device is ensured to close when the controller output signal is abnormal, thus ensuring the stable operation of the valve device.
Even after the controller briefly shuts off the interrupt, the valve remains open, ensuring stable operation of the valve, reducing the frequency of timer interrupts from the controller, and improving system stability.
Smart Images

Figure CN224003247U_ABST
Abstract
Description
Technical Field
[0001] This utility model belongs to the field of valve device technology, specifically, it relates to a valve device and its driving circuit. Background Technology
[0002] Valve devices are typically required in home appliances to control gases or fluids. As home appliances become more intelligent, the integration of components is also increasing, with many peripheral devices of the controller being integrated into the controller itself, such as data storage devices.
[0003] like Figure 1 As shown, existing valve drive circuits typically use a controller MCU to continuously output a fixed high-frequency square wave signal (above 1kHz). This signal is coupled to a capacitor E1 (which allows AC but blocks DC) to drive the valve-opening transistor. This ensures the gas valve opens only when the program is running normally and outputs the high-frequency square wave correctly. The gas valve will not open if the controller outputs a fixed high or low level. The high-frequency square wave driving the valve must be generated by a timed high-frequency interrupt from a regular I / O pin of the controller MCU. A hardware PWM module cannot be used because it might still output a frequency signal even if the controller program crashes. Firstly, the timer's high-frequency interrupt will affect system stability; secondly, when the controller reads or writes data from its internal storage, the global interrupt must be disabled, which will interrupt the gas valve drive square wave frequency signal, leading to unstable gas valve operation.
[0004] The information disclosed in this background section is only intended to enhance the understanding of the background technology of this application, and therefore may include prior art that is not known to those skilled in the art. Summary of the Invention
[0005] This invention proposes a driving circuit for a valve device, which solves the technical problem that existing valve device controllers must disable the total interrupt when reading and writing internally stored data, resulting in interruption of the square wave frequency signal for the gas valve drive and unstable operation of the gas valve.
[0006] To achieve the above-mentioned utility model / design objectives, the present utility model adopts the following technical solution:
[0007] A drive circuit for a valve device, the drive circuit comprising:
[0008] A voltage divider circuit is used to divide voltage to generate a first voltage and a second voltage.
[0009] The controller is used to output signals to the charging and discharging circuit.
[0010] The charging and discharging circuit is used to receive the output signal from the controller and generate the charging and discharging circuit voltage.
[0011] The first comparator circuit is used to receive the first voltage and the charging / discharging circuit voltage;
[0012] The second comparator circuit is used to receive the second voltage and the charging / discharging circuit voltage.
[0013] Power supply, used to power the valve assembly;
[0014] A switching circuit is provided for connecting the power supply and the valve device, wherein the output terminals of the first comparison circuit and the second comparison circuit are connected to the switching circuit.
[0015] As described above, the valve device drive circuit includes a charging / discharging circuit comprising a resistor R4 and a capacitor E1. The output signal of the controller is grounded through the series-connected resistor R4 and capacitor E1, and the voltage between the resistor R4 and capacitor E1 is the charging / discharging circuit voltage.
[0016] The drive circuit of the valve device as described above,
[0017] The first voltage is connected to the positive input terminal of the first comparator circuit, and the charging / discharging circuit voltage is connected to the negative input terminal of the first comparator circuit.
[0018] The second voltage is connected to the negative input terminal of the second comparator circuit, and the charging / discharging circuit voltage is connected to the positive input terminal of the second comparator circuit.
[0019] In the valve device drive circuit described above, the second voltage generated by the voltage divider circuit is greater than the first voltage.
[0020] In the valve device drive circuit described above, the output terminals of the first comparison circuit and the second comparison circuit are both connected to the switching circuit via diodes. The positive terminal of the diode is connected to the output terminals of the first comparison circuit and the second comparison circuit, and the negative terminal of the diode is connected to the switching circuit.
[0021] The valve device drive circuit described above includes a switching circuit comprising a transistor and a voltage divider resistor.
[0022] In the valve device drive circuit described above, the transistor is a PNP type transistor. The emitter of the transistor is connected to the power supply, the base of the transistor is connected to the output terminal of the first comparator circuit and the output terminal of the second comparator circuit through a first voltage divider resistor, the base of the transistor is grounded through a second voltage divider resistor, and the collector of the transistor is connected to the valve device.
[0023] The valve device drive circuit described above includes a voltage regulator circuit, and the valve device is connected to the voltage regulator circuit.
[0024] In the valve device drive circuit described above, the voltage regulator circuit includes a diode, the positive terminal of which is grounded, and the negative terminal of which is connected to the switching circuit.
[0025] A valve device, which is driven by the aforementioned valve device drive circuit.
[0026] Compared with the prior art, the advantages and positive effects of this utility model are as follows: A driving circuit for a valve device includes a voltage divider circuit, a controller, a charging / discharging circuit, a first comparator circuit, a second comparator circuit, a power supply, and a switching circuit. The voltage divider circuit is used to divide the voltage to generate a first voltage and a second voltage; the controller is used to output a signal to the charging / discharging circuit; the charging / discharging circuit is used to receive the output signal of the controller and generate a charging / discharging circuit voltage; the first comparator circuit is used to receive the first voltage and the charging / discharging circuit voltage; the second comparator circuit is used to receive the second voltage and the charging / discharging circuit voltage; the power supply is used to supply power to the valve device; the switching circuit is used to connect the power supply and the valve device, and the output terminals of the first and second comparator circuits are connected to the switching circuit. When the controller output signal is abnormal, the valve device can be guaranteed to close. After a short-term interruption of the controller's shutdown, the valve device can still remain open due to the charging / discharging function of the charging / discharging circuit, ensuring the stable operation of the valve device.
[0027] A valve device includes a drive circuit, which comprises a voltage divider circuit, a controller, a charge / discharge circuit, a first comparator circuit, a second comparator circuit, a power supply, and a switching circuit. The voltage divider circuit generates a first voltage and a second voltage. The controller outputs a signal to the charge / discharge circuit. The charge / discharge circuit receives the controller's output signal and generates a charge / discharge circuit voltage. The first comparator circuit receives the first voltage and the charge / discharge circuit voltage. The second comparator circuit receives the second voltage and the charge / discharge circuit voltage. The power supply provides power to the valve device. The switching circuit connects the power supply and the valve device. The outputs of the first and second comparator circuits are connected to the switching circuit. When the controller output signal is abnormal, the valve device is guaranteed to close. After a brief interruption of the controller's shutdown, the valve device remains open due to the charge / discharge function of the charge / discharge circuit, ensuring stable operation of the valve device.
[0028] Other features and advantages of this utility model will become clearer after reading the detailed embodiments of this utility model in conjunction with the accompanying drawings. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of this utility model, the drawings used in the embodiments will be briefly introduced below. Obviously, the drawings described below are some embodiments of this utility model. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 This is a circuit diagram of an existing valve device drive.
[0031] Figure 2 This is a block diagram illustrating the driving principle of the valve device in a specific embodiment of this utility model.
[0032] Figure 3 This is a circuit diagram of the valve device drive circuit of a specific embodiment of this utility model. Detailed Implementation
[0033] The technical solutions of the present utility model will be clearly and completely described below with reference to the accompanying drawings of the embodiments. Obviously, the described embodiments are only some embodiments of the present utility model, and not all embodiments. Based on the embodiments of the present utility model, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the protection scope of the present utility model.
[0034] In the description of this utility model, it should be understood that the terms "center", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", and "outer" indicate the orientation or positional relationship based on the orientation or positional relationship shown in the accompanying drawings. They are only for the convenience of describing this utility model and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation. Therefore, they should not be construed as limitations on this utility model.
[0035] In the description of this utility model, it should be noted that, unless otherwise explicitly specified and limited, the terms "installation," "connection," and "joining" should be interpreted broadly. For example, they can refer to a fixed connection, a detachable connection, or an integral connection. Those skilled in the art can understand the specific meaning of the above terms in this utility model based on the specific circumstances. In the description of the embodiments, specific features, structures, materials, or characteristics can be combined in any suitable manner in one or more embodiments or examples.
[0036] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature.
[0037] In the description of this utility model, unless otherwise stated, "a plurality of" means two or more.
[0038] Valve devices are used to control the opening and closing of pipelines containing fluids such as gas, liquid, etc., for example, natural gas, fuel oil, and water.
[0039] To ensure the safety of gas, oil, and water usage, high stability is required for valve control. However, with increasing controller integration, many peripheral components, such as data storage, are integrated internally. When the controller reads or writes data from its internal storage, the global interrupt must be disabled, which interrupts the valve drive square wave frequency signal, leading to valve instability. Therefore, to ensure valve stability when the controller temporarily disables the interrupt, a valve drive circuit is proposed.
[0040] exist Figure 2 In one example, a valve device drive circuit includes a voltage divider circuit, a controller, a charge / discharge circuit, a first comparator circuit, a second comparator circuit, a power supply, and a switching circuit.
[0041] A voltage divider circuit is used to divide voltage to generate a first voltage and a second voltage.
[0042] The first voltage and the second voltage are voltages of different magnitudes.
[0043] A voltage divider circuit includes several voltage divider resistors, which are used to divide the voltage.
[0044] The controller is used to output signals to control the valve device, and the controller is used to output signals to the charging and discharging circuit.
[0045] The charging and discharging circuit is used to receive the output signal from the controller and generate the charging and discharging circuit voltage.
[0046] The input terminal of the first comparison circuit is used to receive the first voltage and the charging / discharging circuit voltage. After comparing the first voltage and the charging / discharging circuit voltage, the first comparison circuit outputs the first comparison signal through its output terminal.
[0047] The input terminal of the second comparison circuit is used to receive the second voltage and the charging / discharging circuit voltage. After comparing the second voltage and the charging / discharging circuit voltage, the second comparison circuit outputs the second comparison signal through its output terminal.
[0048] The power supply is used to power the valve assembly.
[0049] Switching circuits are used to connect power supplies and valve devices.
[0050] When the switching circuit is on, the power supply provides power to the valve device; when the switching circuit is off, the power supply does not provide power to the valve device. The switching circuit controls the connection between the valve device and the power supply.
[0051] The output terminals of the first comparator circuit and the second comparator circuit are connected to the switching circuit.
[0052] The first comparison signal output from the output terminal of the first comparison circuit and the second comparison signal output from the output terminal of the second comparison circuit control the on / off state of the switching circuit.
[0053] When the controller output signal is abnormal, the valve device can be kept closed. After the controller is briefly shut down, the valve device can still remain open due to the charging and discharging function of the charging and discharging circuit, thus ensuring the stable operation of the valve device.
[0054] In some embodiments, the drive circuit includes a voltage regulator circuit, and the valve device is connected to the voltage regulator circuit to ensure the operating voltage of the valve device and the stability of its operation.
[0055] In some embodiments, the first voltage is connected to the positive input terminal of the first comparator circuit, and the charging / discharging circuit voltage is connected to the negative input terminal of the first comparator circuit.
[0056] The second voltage is connected to the negative input terminal of the second comparator circuit, and the charging / discharging circuit voltage is connected to the positive input terminal of the second comparator circuit.
[0057] The second voltage generated by the voltage divider circuit is greater than the first voltage.
[0058] When the voltage of the charging and discharging circuit is between the first voltage and the second voltage, the output voltage of the first comparator is 0, the output voltage of the second comparator is 0, the switching circuit is turned on, and the valve device is opened.
[0059] When the voltage of the charging and discharging circuit is lower than the first voltage, the output voltage of the first comparator is 1, the output voltage of the second comparator is 0, the switching circuit is not turned on, and the valve device is closed.
[0060] When the voltage of the charging and discharging circuit is higher than the second voltage, the output voltage of the first comparator is 0, the output voltage of the second comparator is 1, the switching circuit is not turned on, and the valve device is closed.
[0061] Therefore, the valve will only open when the voltage of the charging and discharging circuit is between the first voltage and the second voltage. When the controller malfunctions and the voltage of the charging and discharging circuit is higher than the second voltage or lower than the first voltage, the valve will be closed to ensure reliable closure.
[0062] In addition, the charging and discharging circuit can accommodate lower controller output frequencies, thereby reducing the controller's timer interrupt frequency and improving system stability.
[0063] Because the charging and discharging circuit undergoes a discharge process after charging, the voltage of the charging and discharging circuit remains between the first and second voltages even when the controller output frequency is briefly interrupted. During this period, the operating state of the switching circuit remains unchanged, thus keeping the valve device open and ensuring its stable operation.
[0064] exist Figure 3 In the example, the voltage divider circuit includes voltage divider resistors R1, R2, and R3, wherein the first voltage and the second voltage are obtained by voltage divider resistors R1, R2, and R3.
[0065] One end of the voltage divider resistor R1 is connected to the power supply Vcc1, and one end of the voltage divider resistor R3 is grounded. The voltage divider resistors R1, R2, and R3 are connected in series between the power supply Vcc1 and ground.
[0066] Voltage divider resistors R1, R2, and R3 divide the power supply Vcc1 to obtain the first voltage V_l and the second voltage V_h.
[0067] Among them, a second voltage V_h is formed between resistors R1 and R2, and a first voltage V_l is formed between resistors R2 and R3.
[0068] The second voltage V_h = (Vcc1 / (R1+R2+R3))*(R2+R3);
[0069] The first voltage V_l = (Vcc1 / (R1+R2+R3))*R3.
[0070] The second voltage V_h generated by the voltage divider circuit is greater than the first voltage V_l.
[0071] Mcu_Hz is a frequency signal output by the controller MCU.
[0072] The charging and discharging circuit includes a resistor R4 and a capacitor E1. The output signal Mcu_Hz of the controller MCU is grounded through the series-connected resistor R4 and capacitor E1. The voltage between the resistor R4 and the capacitor E1 is the charging and discharging circuit voltage V_m.
[0073] The first comparator circuit includes a first comparator IC1A.
[0074] The first voltage V_l is connected to the positive input terminal of the first comparator IC1A, and the charging / discharging circuit voltage V_m is connected to the negative input terminal of the first comparator IC1A.
[0075] The second comparator circuit includes a second comparator IC1B.
[0076] The second voltage V_h is connected to the negative input terminal of the second comparator IC1B, and the charging / discharging circuit voltage V_m is connected to the positive input terminal of the second comparator IC1B.
[0077] The output of the first comparator IC1A is connected to the switching circuit via diode D1.
[0078] The positive terminal of diode D1 is connected to the output terminal of the first comparator IC1A, and the negative terminal of diode D1 is connected to the switching circuit.
[0079] The output of the second comparator IC1B is connected to the switching circuit via diode D2.
[0080] The positive terminal of diode D2 is connected to the output terminal of the second comparator IC1B, and the negative terminal of diode D2 is connected to the switching circuit.
[0081] The voltage output from the output terminal of the first comparator IC1A is V_lo.
[0082] The voltage output from the output terminal of the second comparator IC1B is V_ho.
[0083] The voltage V_lo output from the first comparator IC1A is converted into voltage V_o by diode D1 and the voltage V_ho output from the second comparator IC1B is converted into voltage V_o by diode D2. That is, the voltage applied to the switching circuit is V_o.
[0084] The switching circuit includes transistors and voltage divider resistors.
[0085] The transistor is a PNP transistor P1, and the voltage divider resistors include a second voltage divider resistor R5 and a first voltage divider resistor R6.
[0086] The emitter of transistor P1 is connected to power supply Vcc2.
[0087] The base of transistor P1 is connected to the output of the first comparator circuit and the output of the second comparator circuit through the first voltage divider resistor R6. Specifically, the base of transistor P1 is connected to the cathode of diodes D1 and D2 through the first voltage divider resistor R6.
[0088] The base of transistor P1 is grounded through the second voltage divider resistor R5.
[0089] Collector connection valve device for transistor P1.
[0090] The drive circuit includes a voltage regulator circuit, and the valve device is connected to the voltage regulator circuit.
[0091] The voltage regulator circuit includes diode D3, with the positive terminal of diode D3 grounded and the negative terminal of diode D3 connected to the switching circuit.
[0092] The valve device is connected across the diode D3. Therefore, when the switching circuit is on, the supply voltage of the valve device is always equal to the voltage drop across the diode D3 itself, ensuring the stability of the supply voltage of the valve device.
[0093] When the voltage V_m of the charging and discharging circuit is between the first voltage V_l and the second voltage V_h, the output voltage V_lo of the first comparator IC1A is 0, the output voltage V_ho of the second comparator IC1B is 0, V_o=0, the transistor P1 is turned on, and the valve device is opened.
[0094] When the charging and discharging circuit voltage V_m is lower than the first voltage V_l, the output voltage of the first comparator IC1A is V_lo=1, the output voltage of the second comparator IC1B is V_ho=0, V_o=1, the transistor P1 is not conducting, and the valve device is closed.
[0095] When the charging and discharging circuit voltage V_m is higher than the second voltage V_h, the output voltage of the first comparator IC1A is V_lo=0, the output voltage of the second comparator IC1B is V_ho=1, V_o=1, the transistor P1 is not conducting, and the valve device is closed.
[0096] Therefore, the valve will only open when the charging and discharging circuit voltage V_m is between the first voltage V_l and the second voltage V_h. When the controller malfunctions and the charging and discharging circuit voltage V_m is higher than the second voltage V_h or lower than the first voltage V_l, the valve will be closed to ensure reliable closure.
[0097] In addition, the charging and discharging circuit can accommodate lower controller output frequencies, thereby reducing the controller's timer interrupt frequency and improving system stability.
[0098] Because the charging and discharging circuit undergoes a discharge process after charging, the voltage of the charging and discharging circuit remains between the first and second voltages even when the controller output frequency is briefly interrupted. During this period, the operating state of the switching circuit remains unchanged, thus keeping the valve device open and ensuring its stable operation.
[0099] When the valve device needs to be started, the controller outputs a normal square wave signal Mcu_Hz. The charging and discharging circuit voltage V_m is between the first voltage V_l and the second voltage V_h. The output voltage V_lo of the first comparator IC1A is 0, and the output voltage V_ho of the second comparator IC1B is 0. =0, V_o=0, transistor P1 is turned on, and the valve device is open; when the controller outputs an abnormal square wave signal that makes the charging and discharging circuit voltage V_m lower than the first voltage V_l, the output voltage of the first comparator IC1A is V_lo=1, the output voltage of the second comparator IC1B is V_ho=0, V_o=1, transistor P1 is not turned on, and the valve device is closed; when the controller outputs an abnormal square wave signal that makes the charging and discharging circuit voltage V_m higher than the second voltage V_h, the output voltage of the first comparator IC1A is V_lo=0, the output voltage of the second comparator IC1B is V_ho=1, V_o=1, transistor P1 is not turned on, and the valve device is closed; when the controller output frequency is briefly interrupted, since the charging and discharging circuit voltage still remains between the first voltage V_l and the second voltage V_h, the operating state of the switching circuit remains unchanged during this time period, therefore, the valve device remains open, ensuring the stable operation of the valve device.
[0100] When the valve device does not need to be started, the controller outputs a low-level signal, V_o=0, the transistor P1 is not turned on, and the valve device is closed.
[0101] This embodiment also proposes a valve device, which is driven by the valve device drive circuit described above.
[0102] Among them, valve devices include gas valve devices for gas water heaters, gas valve devices for gas wall-hung boilers, gas (oil) control valve devices, and water heater valve devices, etc.
[0103] The above embodiments are only used to illustrate the technical solutions of this utility model, and are not intended to limit it. Although this utility model has been described in detail with reference to the foregoing embodiments, those skilled in the art can still modify the technical solutions described in the foregoing embodiments or make equivalent substitutions for some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions claimed by this utility model.
Claims
1. A drive circuit for a valve device, characterized by The driving circuit comprises: a voltage dividing circuit for dividing to generate a first voltage and a second voltage; a controller for outputting a signal to the charge-discharge circuit; a charge-discharge circuit for receiving the output signal of the controller and generating a charge-discharge circuit voltage; a first comparison circuit for receiving the first voltage and the charge-discharge circuit voltage; a second comparison circuit for receiving the second voltage and the charge-discharge circuit voltage; a power supply for supplying power to the valve device; a switch circuit for connecting the power supply and the valve device, and the output terminals of the first comparison circuit and the second comparison circuit are connected to the switch circuit.
2. The drive circuit of a valve device according to claim 1, characterized in that The charge-discharge circuit comprises a resistor R4 and a capacitor E1, and the output signal of the controller is connected to ground through the series-connected resistor R4 and capacitor E1, and the voltage between the resistor R4 and the capacitor E1 is the charge-discharge circuit voltage.
3. The driving circuit of the valve device according to claim 1, wherein the first voltage is connected to the positive input terminal of the first comparison circuit, and the charge-discharge circuit voltage is connected to the negative input terminal of the first comparison circuit; the second voltage is connected to the negative input terminal of the second comparison circuit, and the charge-discharge circuit voltage is connected to the positive input terminal of the second comparison circuit.
4. The drive circuit of a valve device according to claim 3, characterized in that The second voltage generated by the voltage dividing circuit is greater than the first voltage.
5. The drive circuit of a valve apparatus according to claim 1, characterized by The output terminals of the first comparison circuit and the second comparison circuit are both connected to the switch circuit through a diode, the positive electrode of the diode is connected to the output terminals of the first comparison circuit and the second comparison circuit, and the negative electrode of the diode is connected to the switch circuit.
6. The drive circuit of a valve apparatus according to claim 1, characterized by The switch circuit comprises a transistor and a voltage dividing resistor.
7. The drive circuit for a valve device according to claim 6, characterized in that The transistor is a PNP-type triode, the emitter of the triode is connected to the power supply, the base of the triode is connected to the output terminals of the first comparison circuit and the second comparison circuit through a first voltage dividing resistor, the base of the triode is connected to ground through a second voltage dividing resistor, and the collector of the triode is connected to the valve device.
8. The drive circuit of a valve apparatus according to claim 1, characterized by The driving circuit comprises a voltage stabilizing circuit, and the valve device is connected to the voltage stabilizing circuit.
9. The drive circuit for a valve device according to claim 8, characterized in that, The voltage stabilizing circuit comprises a diode, the positive electrode of the diode is connected to ground, and the negative electrode of the diode is connected to the switch circuit.
10. A valve device characterized by comprising: The valve device is driven by the driving circuit of the valve device according to any one of claims 1-9.