Proportional valve control circuit and electronic equipment

The circuit with a specified PWM duty cycle is output through the serial port command control circuit board, which solves the problem of complexity and high cost of adjusting voltage in the driving proportional valve circuit, and achieves the effect of simply and economically adjusting the proportional valve voltage.

CN222502862UActive Publication Date: 2025-02-18SHENZHEN ZANTY ELECTRONICS
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202420634777.2
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2024-03-28
Publication Date
2025-02-18
Estimated Expiration
2034-03-28

AI Technical Summary

Technical Problem

In the driving proportional valve circuit, it is necessary to adjust the voltage from small to large or from large to small, but directly adjusting the voltage or current requires adding complex circuits and controls, and the cost of adjusting the voltage through the serial interface is relatively high.

Method used

The circuit with a specified PWM duty cycle is output through the serial port command control circuit board, so that the PWM driving circuit only needs to implement the "open and close" function of the comparative valve, thereby adjusting the voltage of the proportional valve.

Benefits of technology

The voltage magnitude of the proportional valve is achieved simply and economically adjusted, avoiding the need to add additional complex circuits and controls.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222502862U_ABST
    Figure CN222502862U_ABST
Patent Text Reader

Abstract

The embodiment of the utility model discloses a proportional valve control circuit, which comprises a serial port communication circuit, a singlechip, a PWM (Pulse Width Modulation) driving circuit and a proportional valve, and is characterized in that the serial port communication circuit is electrically connected with the singlechip and is used for receiving a signal representing a preset target PWM parameter; the single chip microcomputer is electrically connected with the PWM driving circuit and used for receiving the target signal and outputting a low-level signal or a high-level signal to the PWM driving circuit, the PWM driving circuit is connected with the proportional valve, when the PWM driving circuit receives the high-level signal, an electromagnet of the proportional valve is powered on, and when the high-level signal is received by the PWM driving circuit, the proportional valve is switched on. And when the PWM driving circuit receives the low-level signal, the proportional valve electromagnet is not electrified. According to the PWM principle, the circuit board is controlled through a serial port command to output a specified PWM duty ratio so as to control the opening and closing of the electromagnet, so that the control circuit is simple and economical, and the voltage of the proportional valve can be adjusted.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the technical field of proportional valves, in particular to a proportional valve control circuit and electronic equipment. Background Art

[0002] In the circuit driving the proportional valve, there needs to be a voltage adjustment function from small to large or from large to small. However, if the voltage or current is adjusted directly, additional complex circuits and controls need to be added. It is expensive to adjust the voltage through an interface such as a serial port, so there needs to be a circuit that is simple and economical and can adjust the voltage of the proportional valve. Utility Model Content

[0003] Based on this, it is necessary to propose a proportional valve control circuit and electronic equipment to address the above problems. The circuit board is controlled to output a circuit with a specified PWM duty cycle through serial port commands, so that the PWM drive circuit only needs to realize the basic "open and close" function of the proportional valve to adjust the voltage of the proportional valve. The utility model does not need to add additional complex circuits and controls, which is simple and economical and can adjust the voltage of the proportional valve.

[0004] In a first aspect, the utility model provides a proportional valve control circuit, the proportional valve control circuit comprising:

[0005] Serial communication circuit, single chip microcomputer, PWM drive circuit and proportional valve;

[0006] The serial communication circuit is electrically connected to the single-chip microcomputer, and is used to receive a signal representing a preset target PWM parameter, and output a target signal representing a target PWM frequency and a target PWM duty cycle to the single-chip microcomputer;

[0007] The single chip microcomputer is electrically connected to the PWM driving circuit, and is used to receive the target signal and output a low level signal or a high level signal to the PWM driving circuit;

[0008] The PWM driving circuit is connected to the proportional valve. When the PWM driving circuit receives a high-level signal, the proportional valve electromagnet is energized. When the PWM driving circuit receives a low-level signal, the proportional valve electromagnet is not energized.

[0009] Optionally, the serial communication circuit includes a first capacitor, a second capacitor, a third capacitor, a fourth capacitor C4, a conversion chip and a serial communication interface;

[0010] The negative electrode of the first capacitor is connected to the positive electrode pin of the first capacitor of the conversion chip, the positive electrode of the first capacitor is connected to the negative electrode pin of the first capacitor of the conversion chip, the negative electrode of the second capacitor is connected to the positive electrode pin of the second capacitor of the conversion chip, the positive electrode of the second capacitor is connected to the negative electrode pin of the second capacitor of the conversion chip, the positive electrode of the third capacitor is respectively connected to the first power supply and the chip power supply positive electrode pin of the conversion chip, the negative electrode of the third capacitor is connected to the positive voltage terminal of the conversion chip, the chip power supply positive electrode pin of the conversion chip is connected to the first power supply, the positive electrode of the fourth capacitor is connected to the negative voltage terminal of the conversion chip, the negative electrode of the fourth capacitor is connected to the serial communication interface, the transmitter output end pin of the conversion chip is connected to the serial communication interface, the negative electrode of the fourth capacitor is grounded, and the receiver output end pin of the conversion chip and the transmitter input end pin of the conversion chip are respectively connected to the single-chip microcomputer.

[0011] Optionally, the serial communication circuit further includes a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a conversion chip and a first communication port;

[0012] The negative electrode of the first capacitor is connected to the positive electrode pin of the first capacitor of the conversion chip, the positive electrode of the first capacitor is connected to the negative electrode pin of the first capacitor of the conversion chip, the negative electrode of the second capacitor is connected to the positive electrode pin of the second capacitor of the conversion chip, the positive electrode of the second capacitor is connected to the negative electrode pin of the second capacitor of the conversion chip, the positive electrode of the third capacitor is respectively connected to the first power supply and the chip power supply positive electrode pin of the conversion chip, the negative electrode of the third capacitor is connected to the conversion chip, the chip power supply positive electrode pin of the conversion chip is connected to the first power supply, the positive electrode of the fourth capacitor is connected to the conversion chip, the negative electrode of the fourth capacitor is connected to the communication port, the transmitter output end pin of the conversion chip is connected to the communication port, the first communication port is connected to the second power supply, the negative electrode of the fourth capacitor is grounded, and the receiver output end pin of the conversion chip and the transmitter input end pin of the conversion chip are respectively connected to the single-chip microcomputer.

[0013] Optionally, the PWM drive circuit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a first diode, a second diode, a triode, a field effect transistor, a drive chip and a second communication port;

[0014] The first end of the first resistor is connected to the single-chip computer, the second end of the first resistor is connected to the anode of the first diode, the cathode of the first diode is respectively connected to the first end of the second resistor and the base of the transistor, the emitter E of the transistor is respectively connected to the second end of the second resistor, the first end of the third resistor and the driving chip, the second end of the second resistor is respectively connected to the first end of the third resistor and the driving chip, the first end of the third resistor is connected to the driving chip, the emitter of the transistor, the second end of the second resistor, the first end of the third resistor and the driving chip are all grounded, the second end of the third resistor is connected to the driving chip, the collector of the transistor is respectively connected to the first end of the fourth resistor and the driving chip, the first end of the fourth resistor is connected to the driving chip, and the second end of the fourth resistor is respectively connected to A third power supply and the driving chip are connected, the driving chip is connected to the third power supply, the driving chip is connected to the first end of the fifth resistor, the second end of the fifth resistor is respectively connected to the gate of the field effect tube and the first end of the sixth resistor, the gate of the field effect tube is connected to the first end of the sixth resistor, the second end of the sixth resistor is respectively connected to the source of the field effect tube and the second communication port, the source of the field effect tube is connected to the second communication port, the second end of the sixth resistor, the source of the field effect tube and the second communication port are all grounded, the drain of the field effect tube is respectively connected to the anode of the second diode and the second communication port, the anode of the second diode is connected to the second communication port, the cathode of the second diode is respectively connected to the power supply voltage and the second communication port, and the second communication port is respectively connected to the power supply voltage and the proportional valve.

[0015] Optionally, the PWM drive circuit includes a power supply circuit, and the power supply circuit is used to provide a third power supply to the PWM drive circuit;

[0016] The power supply circuit includes a DC power supply interface, a third diode, a fifth capacitor, a sixth capacitor, a seventh capacitor, a fourth power supply and a three-terminal voltage regulator integrated circuit;

[0017] The DC power interface is respectively connected to the positive electrode of the third diode, the positive electrode of the fifth capacitor, the ground terminal of the three-terminal voltage-stabilizing integrated circuit, the positive electrode of the sixth capacitor and the first end of the seventh capacitor, the negative electrode of the third diode is respectively connected to the input end of the three-terminal voltage-stabilizing integrated circuit and the negative electrode of the fifth capacitor, the negative electrode of the fifth capacitor is connected to the input end of the three-terminal voltage-stabilizing integrated circuit, the positive electrode of the fifth capacitor is respectively connected to the ground terminal of the three-terminal voltage-stabilizing integrated circuit, the positive electrode of the sixth capacitor and the first end of the seventh capacitor, the ground terminal of the three-terminal voltage-stabilizing integrated circuit is respectively connected to the positive electrode of the sixth capacitor and the first end of the seventh capacitor, the positive electrode of the sixth capacitor is connected to the first end of the seventh capacitor, the output end of the three-terminal voltage-stabilizing integrated circuit is respectively connected to the fourth power supply, the negative electrode of the sixth capacitor and the second end of the seventh capacitor, the negative electrode of the sixth capacitor is respectively connected to the third power supply and the second end of the seventh capacitor, the second end of the seventh capacitor is connected to the third power supply, the DC power interface, the positive electrode of the fifth capacitor, the ground terminal of the three-terminal voltage-stabilizing integrated circuit, the positive electrode of the sixth capacitor and the first end of the seventh capacitor are all grounded;

[0018] The cathode of the third diode outputs the third power supply.

[0019] Optionally, the input pin of the crystal oscillator of the single-chip microcomputer is respectively connected to the first end of the eighth capacitor and the first end of the external crystal oscillator, the second end of the eighth capacitor is connected to the first end of the ninth capacitor, the second end of the ninth capacitor is respectively connected to the second end of the external crystal oscillator and the output pin of the crystal oscillator of the single-chip microcomputer, and the second end of the eighth capacitor and the first end of the ninth capacitor are both grounded.

[0020] Optionally, the single chip microcomputer is connected to the cathode of a light emitting diode, the anode of the light emitting diode is connected to the first end of a seventh resistor, and the second end of the seventh resistor is connected to a fifth power supply.

[0021] Optionally, the single chip microcomputer is connected to a first end of an eighth resistor, and a second end of the eighth resistor is grounded.

[0022] Optionally, the single chip microcomputer is STM32F103.

[0023] In a second aspect, the utility model provides an electronic device, which includes the proportional valve control circuit as described in the first aspect.

[0024] The embodiment of the utility model has the following beneficial effects: a proportional valve control circuit, the proportional valve control circuit includes a serial communication circuit, a single chip microcomputer, a PWM drive circuit and a proportional valve, the serial communication circuit is electrically connected to the single chip microcomputer, used to receive a signal representing a preset target PWM parameter, and output a target signal representing a target PWM frequency and a target PWM duty ratio to the single chip microcomputer, the single chip microcomputer is electrically connected to the PWM drive circuit, used to receive the target signal, output a low level signal or a high level signal to the PWM drive circuit, the PWM drive circuit is connected to the proportional valve, when the PWM drive circuit receives a high level signal, the proportional valve electromagnet is energized, when the PWM drive circuit receives a low level signal, the proportional valve electromagnet is not energized. The utility model uses the PWM principle, and controls the circuit board to output a circuit of a specified PWM duty ratio through a serial port command, so that the PWM drive circuit only needs to realize the basic "on and off" function of the proportional valve to adjust the voltage of the proportional valve, and the utility model does not need to add additional complex circuits and controls, that is, it is simple and economical and can adjust the voltage of the proportional valve. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0026] in:

[0027] Figure 1 This is a structural schematic diagram of a proportional valve control circuit in an embodiment of the present application;

[0028] Figure 2 This is a first schematic diagram of a serial communication circuit in an embodiment of the present application;

[0029] Figure 3 A second schematic diagram of a serial communication circuit in an embodiment of the present application;

[0030] Figure 4 A schematic diagram of a PWM drive circuit in an embodiment of the present application;

[0031] Figure 5 This is a schematic diagram of a power supply circuit in an embodiment of the present application;

[0032] Figure 6 This is a schematic diagram of a single chip microcomputer in an embodiment of the present application; DETAILED DESCRIPTION

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

[0034] See also Figure 1 , is a structural schematic diagram of a proportional valve control circuit in an embodiment of the present application, wherein the proportional valve control circuit includes a serial communication circuit, a single-chip microcomputer, a PWM drive circuit and a proportional valve.

[0035] Among them, the serial communication circuit is electrically connected to the single-chip microcomputer, the serial communication circuit is used to receive a signal representing a preset target PWM parameter, and output a target signal representing a target PWM frequency and a target PWM duty cycle to the single-chip microcomputer, the single-chip microcomputer is electrically connected to the PWM drive circuit, the single-chip microcomputer is used to receive the target signal, and output a low-level signal or a high-level signal to the PWM drive circuit, the PWM drive circuit is connected to the proportional valve, when the PWM drive circuit receives a high-level signal, the proportional valve solenoid is energized, and when the PWM drive circuit receives a low-level signal, the proportional valve solenoid is not energized.

[0036] In one possible design, refer to Figure 2 , Figure 2 The first schematic diagram of a serial communication circuit provided by the utility model is as follows: Figure 2As shown, the serial communication circuit includes a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a conversion chip U1 and a serial communication interface J1. In a possible implementation, the conversion chip U1 may be MAX3232, the serial communication interface J1 may be DB9 (a D-type data interface connector, an interface standard for connecting electronic devices (such as computers and peripherals)), the negative electrode of the first capacitor C1 is connected to the first capacitor positive electrode pin C1+ of the conversion chip, the positive electrode of the first capacitor C1 is connected to the first capacitor negative electrode pin C1- of the conversion chip, the negative electrode of the second capacitor C2 is connected to the second capacitor positive electrode pin C2+ of the conversion chip, and the second capacitor The positive electrode of C1 is connected to the second capacitor negative electrode pin C2- of the conversion chip, the positive electrode of the third capacitor C3 is respectively connected to the first power supply V1 and the chip power supply positive electrode pin VCC of the conversion chip, the negative electrode of the third capacitor C3 is connected to the voltage positive terminal V+ of the conversion chip, the chip power supply positive electrode pin of the conversion chip is connected to the first power supply V1, the positive electrode of the fourth capacitor C4 is connected to the voltage negative terminal V- of the conversion chip, the negative electrode of the fourth capacitor C4 is connected to the serial communication interface J1, the transmitter output pin of the conversion chip is connected to the serial communication interface J1, the negative electrode of the fourth capacitor C4 is grounded, and the receiver output pin of the conversion chip and the transmitter input pin of the conversion chip are respectively connected to the single-chip computer. In a possible implementation, the first power supply V1 can be +3.3V.

[0037] The serial communication circuit is used to receive a signal representing a preset target PWM parameter, and output a target signal representing a target PWM frequency and a target PWM duty cycle to the single-chip microcomputer. In a possible design, the serial communication interface J1 of the serial communication circuit can be connected to an external input device. The external input device can be a device for inputting preset target PWM parameters, such as a computer, etc. The preset target PWM parameters can be input through the external input device, and the external input device outputs a signal representing the preset target PWM parameters to the serial communication circuit. The serial communication circuit receives the signal representing the preset target PWM parameters, and outputs a target signal representing the target PWM frequency and a target PWM duty cycle to the single-chip microcomputer. The target PWM frequency and the target PWM duty cycle are obtained based on the signal of the preset target PWM parameters.

[0038] In another possible implementation design, refer to Figure 3 , Figure 3 A second schematic diagram of a serial communication circuit provided by the utility model, such as Figure 3 As shown, the serial communication circuit may include a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4, a conversion chip U1 and a first communication port J2.

[0039] In a possible implementation, the first communication port J2 can be COM (that is, the communication port of the RS232 serial port), the negative electrode of the first capacitor C1 is connected to the first capacitor positive electrode pin C1+ of the conversion chip, the positive electrode of the first capacitor C1 is connected to the first capacitor negative electrode pin C1- of the conversion chip, the negative electrode of the second capacitor C2 is connected to the second capacitor positive electrode pin C2+ of the conversion chip, the positive electrode of the second capacitor C1 is connected to the second capacitor negative electrode pin C2- of the conversion chip, and the positive electrode of the third capacitor C3 is respectively connected to the first power supply V1 and the chip power positive of the conversion chip. The positive electrode of the third capacitor C3 is connected to the positive voltage terminal V+ of the conversion chip, the positive pin of the chip power supply of the conversion chip is connected to the first power supply V1, the positive electrode of the fourth capacitor C4 is connected to the negative voltage terminal V- of the conversion chip, the negative electrode of the fourth capacitor C4 is connected to the first communication port J2, the transmitter output pin of the conversion chip is connected to the first communication port J2, the first communication port J2 is connected to the second power supply V2, the negative electrode of the fourth capacitor C4 is grounded, the receiver output pin of the conversion chip and the transmitter input pin of the conversion chip are respectively connected to the single-chip computer. In a possible implementation, the second power supply V2 can be +12V.

[0040] The serial communication circuit is used to receive a signal representing a preset target PWM parameter, and output a target signal representing a target PWM frequency and a target PWM duty cycle to the single-chip microcomputer. In a possible design, the first communication port J2 of the serial communication circuit can be connected to an external input device. The external input device can be a device for inputting preset target PWM parameters, such as a computer, etc. The preset target PWM parameters can be input through the external input device, and the external input device outputs a signal representing the preset target PWM parameters to the serial communication circuit. The serial communication circuit receives the signal representing the preset target PWM parameters, and outputs a target signal representing the target PWM frequency and a target PWM duty cycle to the single-chip microcomputer. The target PWM frequency and the target PWM duty cycle are obtained based on the signal of the preset target PWM parameters.

[0041] Reference Figure 4 , Figure 4 A schematic diagram of a PWM drive circuit provided by the utility model is shown as follows: Figure 4 As shown, the PWM drive circuit includes a first resistor R1, a second resistor R2, a third resistor R3, a fourth resistor R4, a fifth resistor R5, a sixth resistor R6, a first diode D1, a second diode D2, a transistor Q1, a field effect transistor Q2, a drive chip U2 and a second communication port J3.

[0042] In a possible design, the first end of the first resistor R1 is connected to the single-chip computer, the second end of the first resistor R1 is connected to the positive electrode of the first diode D1, the negative electrode of the first diode D1 is respectively connected to the first end of the second resistor R2 and the base B of the transistor Q1, the emitter E of the transistor Q1 is respectively connected to the second end of the second resistor R2, the first end of the third resistor R3 and the driving chip U2, the second end of the second resistor R2 is respectively connected to the first end of the third resistor R3 and the driving chip U2, the first end of the third resistor R3 is connected to the driving chip U2, the emitter E of the transistor Q1, the second end of the second resistor R2, the first end of the third resistor R3 and the driving chip U2 are all grounded, the second end of the third resistor R3 is connected to the driving chip U2, the collector C of the transistor Q1 is respectively connected to the first end of the fourth resistor R4 and the driving chip U2, the first end of the fourth resistor R4 is connected to the driving chip U2, and the second end of the fourth resistor R4 is respectively connected to The third power supply V3 and the driving chip U2 are connected, the driving chip U2 is connected to the third power supply V3, the driving chip U2 is connected to the first end of the fifth resistor R5, the second end of the fifth resistor R5 is respectively connected to the gate G of the field effect tube Q2 and the first end of the sixth resistor R6, the gate G of the field effect tube Q2 is connected to the first end of the sixth resistor R6, the second end of the sixth resistor R6 is respectively connected to the source S of the field effect tube Q2 and the second communication port J3, the source S of the field effect tube Q2 is connected to the second communication port J3, the second end of the sixth resistor R6, the source S of the field effect tube Q2 and the second communication port J3 are all grounded, the drain D of the field effect tube Q2 is respectively connected to the anode of the second diode D2 and the second communication port J3, the anode of the second diode D2 is connected to the second communication port J3, the cathode of the second diode D2 is respectively connected to the power supply voltage and the second communication port J3, and the second communication port J3 is respectively connected to the power supply voltage VCC and the proportional valve.

[0043] In a possible implementation, the driver chip U2 may be IR2103, which is a high-performance dual-channel driver chip. The third power supply V3 may be 12V, and the field effect transistor Q2 may be IRFP540.

[0044] The single-chip microcomputer is used to receive the target signal and output a low-level signal or a high-level signal to the PWM drive circuit. When the single-chip microcomputer outputs a high level to the PWM drive circuit, Q1 of the PWM drive circuit is also high, allowing the drive chip U2 to output. The drive chip U2 outputs a high level to the fifth resistor R5. At this time, Q2 is turned on and the electromagnet of the proportional valve is energized. When the single-chip microcomputer outputs a low level to the PWM drive circuit, Q1 is turned off, O1 is high, and the drive chip U2 is not allowed to output. The drive chip U2 outputs a low level to the fifth resistor R5. At this time, Q2 is turned off and the electromagnet of the proportional valve is not energized. By switching the electromagnet on and off, the voltage of the proportional valve can be adjusted.

[0045] In a possible design, the PWM driving circuit further includes a power supply circuit, which is used to provide a third power supply V3 to the PWM driving circuit. Figure 5 , Figure 5 A schematic diagram of a power supply circuit provided by the utility model, such as Figure 5 As shown, the power supply circuit includes a DC power interface J4 (DC-IN), a third diode D3, a fifth capacitor C5, a sixth capacitor C6, a seventh capacitor C7, a fourth power supply V4 and a three-terminal voltage regulator integrated circuit U3. In a possible design, the three-terminal voltage regulator integrated circuit U3 can be 7805.

[0046] The DC power interface J4 is respectively connected to the positive electrode of the third diode, the positive electrode of the fifth capacitor C5, the ground terminal of the three-terminal voltage regulator integrated circuit, the positive electrode of the sixth capacitor C6 and the first end of the seventh capacitor C7, the negative electrode of the third diode is respectively connected to the input end of the three-terminal voltage regulator integrated circuit and the negative electrode of the fifth capacitor C5, the negative electrode of the fifth capacitor C5 is connected to the input end of the three-terminal voltage regulator integrated circuit, the positive electrode of the fifth capacitor C5 is respectively connected to the ground terminal of the three-terminal voltage regulator integrated circuit, the positive electrode of the sixth capacitor C6 and the first end of the seventh capacitor C7, the ground terminal of the three-terminal voltage regulator integrated circuit is respectively connected to the sixth capacitor C6, and the ground terminal of the three-terminal voltage regulator integrated circuit is respectively connected to the sixth capacitor C6. The positive electrode of capacitor C6 and the first end of the seventh capacitor C7, the positive electrode of the sixth capacitor C6 is connected to the first end of the seventh capacitor C7, the output end of the three-terminal voltage-stabilizing integrated circuit is respectively connected to the fourth power supply V4, the negative electrode of the sixth capacitor C6 and the second end of the seventh capacitor C7, the negative electrode of the sixth capacitor C6 is respectively connected to the third power supply and the second end of the seventh capacitor C7, the second end of the seventh capacitor C7 is connected to the third power supply V3, the DC power interface J4, the positive electrode of the fifth capacitor C5, the ground end of the three-terminal voltage-stabilizing integrated circuit, the positive electrode of the sixth capacitor C6 and the first end of the seventh capacitor C7 are all grounded. The negative electrode of the third diode outputs the third power supply V3. In a possible implementation, the third power supply V3 can be +12V, and the fourth power supply V4 can be +5V.

[0047] In one possible design, reference Figure 6 , Figure 6 A schematic diagram of a single chip microcomputer provided by an embodiment of the present invention, such as Figure 6 As shown, the single-chip computer U4 may be STM32F103, the input pin (OSCIN) of the crystal oscillator of the single-chip computer U3 is respectively connected to the first end of the eighth capacitor C8 and the first end of the external crystal oscillator X1, the second end of the eighth capacitor C8 is connected to the first end of the ninth capacitor C9, the second end of the ninth capacitor C9 is respectively connected to the second end of the external crystal oscillator X1 and the output pin (OSCOUT) of the crystal oscillator of the single-chip computer, the second end of the eighth capacitor C8 and the first end of the ninth capacitor C9 are both grounded.

[0048] The single chip microcomputer is connected to the cathode of the light emitting diode D4, the anode of the light emitting diode D4 is connected to the first end of the seventh resistor R7, and the second end of the seventh resistor R7 is connected to the fifth power supply V5. The single chip microcomputer is connected to the first end of the eighth resistor R8, and the second end of the eighth resistor R8 is grounded. In a possible implementation, the fifth power supply V5 can be +3.3V. Figure 6 The V6 in the figure is the sixth power supply V6. In a possible implementation, the sixth power supply V6 may be +3.3V.

[0049] The utility model is based on the above-mentioned proportional valve control circuit, and uses the PWM principle to control the circuit board to output a circuit with a specified PWM duty cycle through a serial port command, so that the PWM drive circuit only needs to realize the basic "on and off" function of the proportional valve to adjust the voltage of the proportional valve. The utility model does not need to add additional complex circuits and controls, which is simple and economical and can adjust the voltage of the proportional valve.

[0050] In an embodiment of the present invention, an electronic device is also provided. The electronic device comprises: Figure 1 or Figure 2 or Figure 3 or Figure 4 or Figure 5 or Figure 6 Proportional valve control circuit in the illustrated embodiment.

[0051] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, 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.

[0052] The above-mentioned embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A proportional valve control circuit, characterized in that: The proportional valve control circuit includes a serial communication circuit, a single chip microcomputer, a PWM drive circuit and a proportional valve; The serial communication circuit is electrically connected to the single-chip microcomputer, and is used to receive a signal representing a preset target PWM parameter, and output a target signal representing a target PWM frequency and a target PWM duty cycle to the single-chip microcomputer; The single chip microcomputer is electrically connected to the PWM driving circuit, and is used to receive the target signal and output a low level signal or a high level signal to the PWM driving circuit; The PWM driving circuit is connected to the proportional valve. When the PWM driving circuit receives a high-level signal, the proportional valve electromagnet is energized. When the PWM driving circuit receives a low-level signal, the proportional valve electromagnet is not energized.

2. The proportional valve control circuit according to claim 1, characterized in that: The serial communication circuit includes a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a conversion chip and a serial communication interface; The negative electrode of the first capacitor is connected to the positive electrode pin of the first capacitor of the conversion chip, the positive electrode of the first capacitor C1 is connected to the negative electrode pin of the first capacitor of the conversion chip, the negative electrode of the second capacitor is connected to the positive electrode pin of the second capacitor of the conversion chip, the positive electrode of the second capacitor is connected to the negative electrode pin of the second capacitor of the conversion chip, the positive electrode of the third capacitor is respectively connected to the first power supply and the chip power supply positive electrode pin of the conversion chip, the negative electrode of the third capacitor is connected to the positive voltage terminal of the conversion chip, the chip power supply positive electrode pin of the conversion chip is connected to the first power supply, the positive electrode of the fourth capacitor is connected to the negative voltage terminal of the conversion chip, the negative electrode of the fourth capacitor is connected to the serial communication interface, the transmitter output end pin of the conversion chip is connected to the serial communication interface, the negative electrode of the fourth capacitor is grounded, and the receiver output end pin of the conversion chip and the transmitter input end pin of the conversion chip are respectively connected to the single-chip microcomputer.

3. The proportional valve control circuit according to claim 1, characterized in that: The serial communication circuit also includes a first capacitor, a second capacitor, a third capacitor, a fourth capacitor, a conversion chip and a first communication port; The negative electrode of the first capacitor is connected to the positive electrode pin of the first capacitor of the conversion chip, the positive electrode of the first capacitor is connected to the negative electrode pin of the first capacitor of the conversion chip, the negative electrode of the second capacitor is connected to the positive electrode pin of the second capacitor of the conversion chip, the positive electrode of the second capacitor is connected to the negative electrode pin of the second capacitor of the conversion chip, the positive electrode of the third capacitor is respectively connected to the first power supply and the chip power supply positive electrode pin of the conversion chip, the negative electrode of the third capacitor is connected to the conversion chip, the chip power supply positive electrode pin of the conversion chip is connected to the first power supply, the positive electrode of the fourth capacitor is connected to the conversion chip, the negative electrode of the fourth capacitor is connected to the communication port, the transmitter output end pin of the conversion chip is connected to the communication port, the first communication port is connected to the second power supply, the negative electrode of the fourth capacitor is grounded, and the receiver output end pin of the conversion chip and the transmitter input end pin of the conversion chip are respectively connected to the single-chip microcomputer.

4. The proportional valve control circuit according to claim 1, characterized in that: The PWM driving circuit includes a first resistor, a second resistor, a third resistor, a fourth resistor, a fifth resistor, a sixth resistor, a first diode, a second diode, a triode, a field effect transistor, a driving chip and a second communication port; The first end of the first resistor is connected to the single-chip computer, the second end of the first resistor is connected to the anode of the first diode, the cathode of the first diode is respectively connected to the first end of the second resistor and the base of the transistor, the emitter of the transistor is respectively connected to the second end of the second resistor, the first end of the third resistor and the driving chip, the second end of the second resistor is respectively connected to the first end of the third resistor and the driving chip, the first end of the third resistor is connected to the driving chip, the emitter of the transistor, the second end of the second resistor, the first end of the third resistor and the driving chip are all grounded, the second end of the third resistor is connected to the driving chip, the collector of the transistor is respectively connected to the first end of the fourth resistor and the driving chip, the first end of the fourth resistor is connected to the driving chip, and the second end of the fourth resistor is respectively connected to A third power supply and the driving chip, the driving chip is connected to the third power supply, the driving chip is connected to the first end of the fifth resistor, the second end of the fifth resistor is respectively connected to the gate of the field effect tube and the first end of the sixth resistor, the gate of the field effect tube is connected to the first end of the sixth resistor, the second end of the sixth resistor is respectively connected to the source of the field effect tube and the second communication port, the source of the field effect tube is connected to the second communication port, the second end of the sixth resistor, the source of the field effect tube and the second communication port are all grounded, the drain of the field effect tube is respectively connected to the anode of the second diode and the second communication port, the anode of the second diode is connected to the second communication port, the cathode of the second diode is respectively connected to the power supply voltage and the second communication port, and the second communication port is respectively connected to the power supply voltage and the proportional valve.

5. The proportional valve control circuit according to claim 4, characterized in that: The PWM driving circuit comprises a power supply circuit, and the power supply circuit is used to provide a third power supply to the PWM driving circuit; The power supply circuit includes a DC power supply interface, a third diode, a fifth capacitor, a sixth capacitor, a seventh capacitor, a fourth power supply and a three-terminal voltage regulator integrated circuit; The DC power interface is respectively connected to the positive electrode of the third diode, the positive electrode of the fifth capacitor, the ground terminal of the three-terminal voltage-stabilizing integrated circuit, the positive electrode of the sixth capacitor and the first end of the seventh capacitor, the negative electrode of the third diode is respectively connected to the input end of the three-terminal voltage-stabilizing integrated circuit and the negative electrode of the fifth capacitor, the negative electrode of the fifth capacitor is connected to the input end of the three-terminal voltage-stabilizing integrated circuit, the positive electrode of the fifth capacitor is respectively connected to the ground terminal of the three-terminal voltage-stabilizing integrated circuit, the positive electrode of the sixth capacitor and the first end of the seventh capacitor, the ground terminal of the three-terminal voltage-stabilizing integrated circuit is respectively connected to the positive electrode of the sixth capacitor and the first end of the seventh capacitor, the positive electrode of the sixth capacitor is connected to the first end of the seventh capacitor C7, the output end of the three-terminal voltage-stabilizing integrated circuit is respectively connected to the fourth power supply, the negative electrode of the sixth capacitor and the second end of the seventh capacitor, the negative electrode of the sixth capacitor is respectively connected to the third power supply and the second end of the seventh capacitor, the second end of the seventh capacitor is connected to the third power supply, the DC power interface, the positive electrode of the fifth capacitor, the ground terminal of the three-terminal voltage-stabilizing integrated circuit, the positive electrode of the sixth capacitor and the first end of the seventh capacitor are all grounded; The cathode of the third diode outputs the third power supply.

6. The proportional valve control circuit according to claim 1, characterized in that: The input pin of the crystal oscillator of the single-chip microcomputer is respectively connected to the first end of the eighth capacitor and the first end of the external crystal oscillator, the second end of the eighth capacitor is connected to the first end of the ninth capacitor, the second end of the ninth capacitor is respectively connected to the second end of the external crystal oscillator and the output pin of the crystal oscillator of the single-chip microcomputer, and the second end of the eighth capacitor and the first end of the ninth capacitor are both grounded.

7. The proportional valve control circuit according to claim 1, characterized in that: The single chip microcomputer is connected to the cathode of the light emitting diode, the anode of the light emitting diode is connected to the first end of the seventh resistor, and the second end of the seventh resistor is connected to the fifth power supply.

8. The proportional valve control circuit according to claim 1, characterized in that: The single chip microcomputer is connected to a first end of an eighth resistor, and a second end of the eighth resistor is grounded.

9. The proportional valve control circuit according to claim 1, characterized in that: The single chip microcomputer is STM32F103.

10. An electronic device, characterized in that: The electronic device comprises the proportional valve control circuit as claimed in any one of claims 1 to 9.