Electromagnet driving circuit structure based on PWM control

Through the electromagnet drive circuit structure based on PWM control, the problems of low flexibility and poor dynamic response performance of the electromagnet drive circuit are solved, and the rapid and precise control of gas flow is achieved, which improves the stability of the production process and the safety of medical equipment are improved. sex.

CN222071659UActive Publication Date: 2024-11-26CHANGZHOU GAOKAI ELECTRONICS CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202323471963.3
Authority / Receiving Office
CN · China
Patent Type
Utility models(China)
Current Assignee / Owner
Filing Date
2023-12-19
Publication Date
2024-11-26
Estimated Expiration
2033-12-19

AI Technical Summary

Technical Problem

The existing electromagnet drive circuits have problems such as low flexibility, poor dynamic response performance and heating under long-term high pressure in the industrial and medical fields, making it difficult to achieve rapid and precise control of gas flow.

Method used

A solenoid driving circuit structure based on PWM control is designed, including a microcontroller output PWM pulse signal, a pulse voltage conversion circuit, a constant current source circuit and a voltage and current conversion circuit. These circuit components provide stable current to realize the electromagnet. Accurate and stable control.

Benefits of technology

This solution can provide stable current, enable the solenoid to generate stable magnetic suction, realize precise control of the valve, and improve the control flexibility and safety of gas flow.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN222071659U_ABST
    Figure CN222071659U_ABST
Patent Text Reader

Abstract

The utility model relates to an electromagnet drive circuit structure based on PWM control, which comprises a single-chip microcomputer, a pulse voltage conversion circuit, a constant current source circuit, a voltage and current conversion circuit and a power supply circuit, and is characterized in that the single-chip microcomputer is used for outputting two paths of PWM pulse signals; the pulse voltage conversion circuit is connected with the single chip microcomputer and is used for converting the two paths of PWM pulse signals into voltage signals; the constant current source circuit is connected with the pulse voltage conversion circuit and is used for obtaining a constant voltage based on the voltage signal; the voltage-current conversion circuit is respectively connected with the constant current source circuit and the electromagnet and is used for providing constant current for the electromagnet through the constant voltage; the power supply circuit is connected with the single-chip microcomputer, the pulse voltage conversion circuit, the constant current source circuit and the voltage and current conversion circuit, and is used for supplying power. According to the utility model, stable current can be provided for the electromagnet, and accurate and stable control of the electromagnet is realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The utility model relates to the field of fluid control, in particular to an electromagnet driving circuit structure based on PWM control. Background Art

[0002] Gas flow control is currently widely used in the fields of industry, environment, and medical treatment. Electromagnets are currently widely used in industrial applications, but conventional control circuits often have disadvantages such as low flexibility and poor dynamic response performance when driving electromagnets due to the hysteresis of the electromagnets themselves. In addition, there is a situation where the electromagnets themselves heat up when they are subjected to full high pressure for a long time.

[0003] In the industrial production process, it is often necessary to quickly and accurately control the gas flow to ensure the stability and safety of the production process. In the medical field, the safety and treatment effect of medical equipment can be improved by controlling the gas flow. Therefore, an electromagnet drive control circuit structure is urgently needed to solve the above problems. Summary of the invention

[0004] The technical problem to be solved by the utility model is to overcome the defects of the prior art and provide an electromagnet driving circuit structure based on PWM control, which can provide a stable current to the electromagnet and realize accurate and stable control of the electromagnet.

[0005] In order to solve the above technical problems, the technical solution of the utility model is: an electromagnet drive circuit structure based on PWM control, comprising:

[0006] Single chip microcomputer, used to output two PWM pulse signals;

[0007] A pulse voltage conversion circuit, connected to the single chip microcomputer, for converting two PWM pulse signals into voltage signals;

[0008] A constant current source circuit, connected to the pulse voltage conversion circuit, for obtaining a constant voltage based on the voltage signal;

[0009] A voltage-current conversion circuit, connected to the constant current source circuit and the electromagnet, respectively, for providing a constant current to the electromagnet through the constant voltage;

[0010] The power supply circuit is respectively connected to the single chip microcomputer, the pulse voltage conversion circuit, the constant current source circuit and the voltage-current conversion circuit for power supply.

[0011] A specific structure of a power supply circuit is further provided, the power supply circuit comprising:

[0012] A switching regulator U3, wherein the VCC pin of the switching regulator U3 is connected to an external 24V voltage, the VC pin is grounded through a capacitor C16 and a resistor R8 connected in series, and is also grounded through a capacitor C17, the VSW pin is grounded through a diode D3, a resistor R10, and a resistor R9 connected in series in sequence, the RB pin is connected to a common end of the resistor R10 and the resistor R9, the PGND and AGND pins are grounded, the VSW pin is connected to an external 24V voltage through an inductor L6, and the VSW pin is also connected to the cathode of a Schottky diode D2 through a capacitor E3, the anode of the Schottky diode D2 serves as a -12V output terminal, and the cathode of the diode D3 serves as a +12V output terminal;

[0013] A voltage regulator chip U1, wherein the input end of the voltage regulator chip U1 is connected to the +12V output end of the switching regulator U3, and the output end outputs a 3.3V voltage;

[0014] A reference voltage chip U4, wherein the Vs pin of the reference voltage chip is connected to the +12V output terminal of the switching regulator U3 through a resistor R7 and a resistor R6 connected in series, and the Output pin outputs a 2.5V voltage.

[0015] A specific structure of a pulse voltage conversion circuit is further provided, the pulse voltage conversion circuit includes an inverter U4, the 1A and 2A pins of the inverter U4 are connected to a pin of a microcontroller that outputs a PWM pulse signal through a resistor R17, the 3A pin is connected to another pin of the microcontroller that outputs a PWM pulse signal through a resistor R20, the 1Y pin is connected in series with a resistor R19, the 2Y pin is connected in series with a resistor R22, and the 3Y pin is connected in series with a resistor R28 and a resistor R29 in turn, and then connected together to one end of the resistor R19, the Vcc pin is connected to a 2.5V voltage through an inductor FB1, and the other end of the resistor R19 is used as a signal output.

[0016] A specific structure of a constant current source circuit is further provided, and the constant current source circuit includes an operational amplifier U5 and a transistor Q2, the input end of the operational amplifier U5 is connected to the output end of the pulse voltage conversion circuit, the power supply pin is connected in series with a resistor R27 and then connected to a -12V voltage, the voltage output pin is connected to the base of the transistor Q2, the collector of the transistor Q2 is connected to a +12V voltage through a parallel resistor R11 and a capacitor C7, the emitter is connected to the negative input end of the operational amplifier, and is grounded through a resistor R26, and the collector output voltage U11_IN+ of the transistor Q2 is used as the input signal of the voltage-current conversion circuit.

[0017] A specific structure of a voltage-to-current conversion circuit is further provided, and the voltage-to-current conversion circuit includes an operational amplifier U3 and a PMOS tube Q1, the input end of the operational amplifier U3 is connected to the output end of the constant current source circuit, the negative input end of the power supply is connected to a +12V voltage, the positive input end of the power supply is grounded through a resistor R4, a capacitor C4 and a diode D1 are connected in parallel between the positive input end of the power supply and the negative input end of the power supply, the output end is connected to the gate of the PMOS Q1 through a resistor R9, and is connected to the negative input end through a capacitor C6, the drain of the PMOS tube Q1 is connected to the VO+ end of the electromagnet, the source is connected to the +12V voltage through parallel resistors R5 and R6, the source is also connected to the negative input end of the operational amplifier U3 through a resistor R12, and the VO- end of the electromagnet is connected to a -12V voltage through a resistor R34.

[0018] In order to further filter out high-frequency noise and play a freewheeling role, a circuit formed by a resistor R23 and a capacitor C13 in series, a circuit formed by a resistor R24 ​​and a diode D3 in series, and a circuit formed by a resistor R25 and a diode D2 in series are connected in parallel between the VO+ terminal 0 and the VO- terminal of the electromagnet.

[0019] Furthermore, the single chip microcomputer is an STM series single chip microcomputer.

[0020] After adopting the above technical solution, the utility model can provide a stable current to the electromagnet, so that the electromagnet generates a magnetic attraction force, thereby achieving precise and stable control of the electromagnet, thereby achieving precise control of the valve. BRIEF DESCRIPTION OF THE DRAWINGS

[0021] Figure 1 This is a principle block diagram of the electromagnet drive circuit structure based on PWM control of the utility model;

[0022] Figure 2 A circuit diagram of a power supply circuit of the utility model;

[0023] Figure 3 A circuit diagram of a single chip microcomputer and its peripheral circuits of the utility model;

[0024] Figure 4 A circuit diagram of a pulse voltage conversion circuit of the utility model;

[0025] Figure 5 A circuit diagram of a constant current source circuit of the utility model;

[0026] Figure 6 A circuit diagram of a voltage-current conversion circuit of the utility model;

[0027] In the figure, 1. single chip microcomputer; 2. pulse voltage conversion circuit; 3. constant current source circuit; 4. voltage-current conversion circuit; 5. power supply circuit. DETAILED DESCRIPTION

[0028] In order to make the content of the utility model more clearly understood, the utility model is further described in detail below based on specific embodiments and in conjunction with the accompanying drawings.

[0029] like Figure 1-6 As shown, a PWM-controlled electromagnet drive circuit structure includes:

[0030] Single chip microcomputer 1, used for outputting two-way PWM pulse signals;

[0031] The pulse voltage conversion circuit 2 is connected to the single chip computer 1 and is used to convert two PWM pulse signals into voltage signals;

[0032] A constant current source circuit 3, connected to the pulse voltage conversion circuit 2, for obtaining a constant voltage based on the voltage signal;

[0033] The voltage-current conversion circuit 4 is connected to the constant current source circuit 3 and the electromagnet respectively, and is used to provide a constant current to the electromagnet through a constant voltage;

[0034] The power supply circuit 5 is respectively connected to the single chip computer 1, the pulse voltage conversion circuit 2, the constant current source circuit 3 and the voltage-current conversion circuit 4 for power supply.

[0035] Specifically, the electromagnet drive circuit structure in this embodiment is simple and reliable to control, and has strong flexibility. It can achieve precise and stable control of the valve by continuously fine-tuning the current passing through the electromagnet.

[0036] In one embodiment, Figure 2As shown, the power supply circuit 5 includes a switching regulator U3, a voltage regulator chip U1 and a reference voltage chip U4. The switching regulator U3 uses CS5171EDR8G, the voltage regulator chip U1 uses AMS1117-3.3, and the reference voltage chip U4 uses REF192. The CS5171EDR8G outputs +12V and -12V voltages. The circuit formed by capacitor C16 in series with resistor R8 is connected in parallel with C17 between pin 1 of CS5171EDR8G and ground to achieve loop compensation. The output 12V is divided by resistors R10 and R9 in series, and connected to pin 2 of CS5171EDR8G to form positive feedback regulation. Pins 3 and 4 of CS5171EDR8G are left floating. Pin 5 of CS5171EDR8G is connected to an external 24V voltage output for power supply, and capacitor C20 is connected for ground filtering. Pins 6 and 7 of CS5171EDR8G are ground pins. Pin 8 of CS5171EDR8G is connected to the external 24V voltage output through inductor L6, Schottky diode D3 is connected to pin 8 of CS5171EDR8G, and +12V voltage is output through pin 8 power supply circuit 5. Capacitor E3 is connected to the cathode of Schottky diode D2, and the common end of capacitor E3 and Schottky diode D2 is grounded through diode D4 to form a chopper circuit. The anode of Schottky diode D2 outputs -12V voltage, and capacitors E4 and E5 are grounded to play a filtering role. The power chip AMS1117-3.3 is used to output D3.3V voltage. Pin 3 of AMS1117-3.3 is connected to 12V voltage power supply, and filtering is performed through parallel capacitors C6, C7, and C8 to GND. Pin 1 of AMS1117-3.3 is connected to GND, and pins 2 and 4 output D3.3V voltage, which is filtered through parallel capacitors E1 and C64 connected to GND. The reference voltage chip REF192 is used to output 2.5V voltage. Pin 1 of REF192 is left unconnected. The 12V voltage is connected in series with resistors R6 and R7 to pin 2 of REF192 for power supply. The common end of resistors R6 and R7 is grounded and filtered through capacitor C15. Pin 3 of REF192 is connected to resistor R7 for chip startup and filtered through capacitor C18, and pin 4 is grounded. Pins 5, 7 and 8 of REF192 are left unconnected. Pin 6 of REF192 outputs 2.5V voltage and is grounded and filtered through capacitors E1 and C19 in parallel.

[0037] In one embodiment, Figure 3As shown, the single chip model used by single chip 1 is STM32F407VGT6_LQFP100. The two ends of the 8M crystal oscillator Y1 are connected to pins 12 and 13 of the STM32F407VGT6 to provide a clock source for single chip 1. The two ends of the 8M crystal oscillator Y1 are respectively connected to the ground through capacitors C25 and C35 for filtering. The reset chip IMP809T / SOT-23 is connected to the series resistor R45 and connected to the 14th pin of the STM32F407VGT6 to provide a reset signal. Pin 3 of the reset chip IMP809T / SOT-23 is connected to the 3.3V voltage to provide power, and is grounded and filtered through capacitor C89, and pin 1 is grounded. Pins 22, 50, 75, 100, 11, 19, 28, and 6 of the STM32F407VGT6 are connected to D3.3V voltage for power supply. Pins 99, 20, 74, 27, and 10 of the STM32F407VGT6 are grounded, pin 49 is connected in series with capacitor C20 to ground, and pin 73 is connected in series with capacitor C21 to ground. Pin 66 of the STM32F407VGT6 outputs a PWM wave, connected to resistor R10 to D3.3V, which has a pull-up effect. Pin 45 of the STM32F407VGT6 outputs a PWM wave, connected to resistor R8 to D3.3V, which has a pull-up effect.

[0038] In one embodiment, Figure 4 As shown, the pulse voltage conversion circuit 2 includes an inverter U4, which uses a chip NC7NZ14. The PWM1.2 output of the STM32F407VGT6 is connected in series with a resistor R17, which is connected to pins 1 and 3 of the NC7NZ14. The PWM1.3 output of the STM32F407VGT6 is connected in series with a resistor R20 to pin 6 of the NC7NZ14 as two signal inputs. Pin 7 of the NC7NZ14 is connected in series with a resistor R18, pin 5 is connected in series with a resistor R22, and pin 2 is connected in series with a resistor R28 and a resistor R29, which are connected together to a resistor R19 as a signal output. The two ends of the resistor R19 are grounded through capacitors C15 and C11 respectively for filtering to form a stable voltage signal. Pin 8 of the NC7NZ14 is connected in series with an inductor FB1 to a 2.5V reference voltage for power supply, and is connected to GND through a capacitor C8 to play a power supply filtering role.

[0039] In one embodiment, Figure 5As shown, the constant current source circuit 3 includes an operational amplifier U5 and a transistor Q2. The operational amplifier U5 uses OPA376, and the transistor Q2 uses SS8050 Y1. The voltage signal output by the pulse voltage conversion circuit 2 is connected to the 1st pin of the operational amplifier OPA376, the 4th pin of OPA376 is connected to GND, the 7th pin is the power supply pin, the series resistor R27 is connected to the -12V voltage, and the capacitor C12 is grounded for filtering. The 6th pin of OPA376 is the voltage output pin, which is connected to the 1st pin of the transistor SS8050 Y1 to control the on and off of SS8050 Y1. The 3rd pin of SS8050 Y1 is connected to the 12V voltage through the RC circuit composed of the parallel resistor R11 and the capacitor C7. At the same time, the output voltage U11_IN+ of the 3rd pin of SS8050 Y1 is used as the input signal of the voltage-current conversion circuit 5. The 2nd pin of SS8050Y1 is connected to the 2nd pin of the operational amplifier OPA376AIDR to form a negative feedback circuit, and is grounded through the resistor R26.

[0040] In one embodiment, Figure 6 As shown, the voltage-current conversion circuit 5 includes an operational amplifier U3 and a PMOS tube Q1. The operational amplifier U3 uses LMV841MG. Pin 5 of LMV841MG is connected to 12V power supply, and pin 2 is connected to GND through resistor R4. A capacitor C4 and a diode LM3Z10T1G are connected in parallel between pin 5 and pin 2 to play a role in power supply filtering and protection. Pin 4 of LMV841MG outputs a voltage in series with resistor R9, which is connected to the MOS G pin of the PMOS tube Q1 to control the opening of the PMOS tube Q1. The MOS S pin of the PMOS tube Q1 is connected to the 12V voltage through resistors R5 and R6 in parallel. At the same time, the MOS S pin is connected to pin 3 of the operational amplifier LMV841MG through resistor R12 to form negative feedback. Capacitor C6 is connected between pins 3 and 4 of LMV841MG to play a role in frequency compensation and suppressing the self-excited oscillation of the operational amplifier. Pin MOSD of the PMOS tube is connected to one end VO+ of the external electromagnet, and the other end VO- of the electromagnet is connected to resistor R34 and connected to -12V. Capacitor C19 is connected between -12V and GND to play a filtering role. A circuit consisting of resistor R23 and capacitor C13 in series is connected between VO+ and VO- to filter out high-frequency noise. A circuit consisting of resistor R24 ​​and diode BAV99 in series is connected between VO+ and VO-, and a circuit consisting of resistor R25 and diode BAV99 in series is also connected between VO+ and VO- to play a freewheeling role and protect the electromagnet.

[0041] The working process of the electromagnet driving circuit structure based on PWM control involved in the above embodiment is:

[0042] When the electromagnet is required to generate magnetism to open the valve and control the passage of the fluid, the single-chip computer 1 outputs two PWM pulse signals of a certain frequency. The two PWM signals are inverted by the inverter U4, and then the RC filter circuit composed of R19 and C11 is used to convert the PWM signal into a fixed voltage value. The voltage value is input to the positive input pin of the operational amplifier U5 of the constant current source circuit 3. After the constant current source circuit is stable, the current flowing through the triode is constant, so that the voltage U11_IN+ is constant, that is, the voltage signal input to the voltage-current conversion circuit is constant. The constant voltage signal is input to the operational amplifier U3, which outputs a constant voltage signal to the MOS G pin of the PMOS tube, opens the PMOS tube to a fixed opening, thereby generating a constant current flowing through the electromagnet, and finally realizing the valve opening of the control fluid to a fixed opening.

[0043] Based on the above ideal embodiments of the utility model, the relevant staff can make various changes and modifications without deviating from the technical concept of the utility model through the above description. The technical scope of the utility model is not limited to the content of the specification, and its technical scope must be determined according to the scope of the claims.

Claims

1. An electromagnet driving circuit structure based on PWM control, characterized in that: include: A single chip microcomputer (1) is used to output two PWM pulse signals; A pulse voltage conversion circuit (2), connected to the single chip computer (1), used for converting two PWM pulse signals into voltage signals; A constant current source circuit (3), connected to the pulse voltage conversion circuit (2), and used for obtaining a constant voltage based on the voltage signal; A voltage-current conversion circuit (4) is connected to the constant current source circuit (3) and the electromagnet, respectively, and is used to provide a constant current to the electromagnet through the constant voltage; The power supply circuit (5) is respectively connected to the single chip computer (1), the pulse voltage conversion circuit (2), the constant current source circuit (3) and the voltage-current conversion circuit (4) for power supply.

2. The electromagnet driving circuit structure based on PWM control according to claim 1 is characterized in that: The power supply circuit (5) comprises: A switching regulator U3, wherein the VCC pin of the switching regulator U3 is connected to an external 24V voltage, the VC pin is grounded through a capacitor C16 and a resistor R8 connected in series, and is also grounded through a capacitor C17, the VSW pin is grounded through a diode D3, a resistor R10, and a resistor R9 connected in series in sequence, the RB pin is connected to a common end of the resistor R10 and the resistor R9, the PGND and AGND pins are grounded, the VSW pin is connected to an external 24V voltage through an inductor L6, and the VSW pin is also connected to the cathode of a Schottky diode D2 through a capacitor E3, the anode of the Schottky diode D2 serves as a -12V output terminal, and the cathode of the diode D3 serves as a +12V output terminal; A voltage regulator chip U1, wherein the input end of the voltage regulator chip U1 is connected to the +12V output end of the switching regulator U3, and the output end outputs a 3.3V voltage; A reference voltage chip U4, wherein the Vs pin of the reference voltage chip is connected to the +12V output terminal of the switching regulator U3 through a resistor R7 and a resistor R6 connected in series, and the Output pin outputs a 2.5V voltage.

3. The electromagnet driving circuit structure based on PWM control according to claim 2 is characterized in that: The pulse voltage conversion circuit (2) comprises an inverter U4, wherein the 1A and 2A pins of the inverter U4 are connected to a pin of the single-chip computer (1) for outputting a PWM pulse signal via a resistor R17, the 3A pin is connected to another pin of the single-chip computer (1) for outputting a PWM pulse signal via a resistor R20, the 1Y pin is connected in series with a resistor R19, the 2Y pin is connected in series with a resistor R22, the 3Y pin is connected in series with a resistor R28 and a resistor R29 in sequence, and then connected together to one end of the resistor R19, the Vcc pin is connected to a 2.5V voltage via an inductor FB1, and the other end of the resistor R19 is used as a signal output.

4. The electromagnet driving circuit structure based on PWM control according to claim 2 is characterized in that: The constant current source circuit (3) comprises an operational amplifier U5 and a transistor Q2, wherein the input end of the operational amplifier U5 is connected to the output end of the pulse voltage conversion circuit (2), the power supply pin is connected in series with a resistor R27 and then connected to a -12V voltage, the voltage output pin is connected to the base of the transistor Q2, the collector of the transistor Q2 is connected to a +12V voltage through a resistor R11 and a capacitor C7 connected in parallel, the emitter is connected to the negative input end of the operational amplifier and is grounded through a resistor R26, and the collector output voltage U11_IN+ of the transistor Q2 is used as the input signal of the voltage-current conversion circuit (4).

5. The electromagnet driving circuit structure based on PWM control according to claim 2, characterized in that: The voltage-current conversion circuit (5) comprises an operational amplifier U3 and a PMOS tube Q1, wherein the input end of the operational amplifier U3 is connected to the output end of the constant current source circuit (3), the negative input end of the power supply is connected to a +12V voltage, the positive input end of the power supply is grounded via a resistor R4, a capacitor C4 and a diode D1 are connected in parallel between the positive input end of the power supply and the negative input end of the power supply, the output end is connected to the gate of the PMOS Q1 via a resistor R9, and is connected to the negative input end via a capacitor C6, the drain of the PMOS tube Q1 is connected to the VO+ end of the electromagnet, the source is connected to the +12V voltage via parallel resistors R5 and R6, the source is also connected to the negative input end of the operational amplifier U3 via a resistor R12, and the VO- end of the electromagnet is connected to a -12V voltage via a resistor R34.

6. The electromagnet driving circuit structure based on PWM control according to claim 5, characterized in that: A circuit formed by a resistor R23 and a capacitor C13 connected in series, a circuit formed by a resistor R24 ​​and a diode D3 connected in series, and a circuit formed by a resistor R25 and a diode D2 connected in series are connected in parallel between the VO+ terminal and the VO- terminal of the electromagnet.

7. The electromagnet driving circuit structure based on PWM control according to claim 1, characterized in that: The single chip microcomputer (1) is an STM series single chip microcomputer.

Citation Information

Cited By

  • High-precision magnetostriction sensor high-voltage excitation circuit based on monostable trigger

    CN121239191A

  • High-precision magnetostrictive sensor high-voltage excitation circuit based on monostable trigger.

    CN121239191B