Auxiliary power supply system and method
By designing an auxiliary power supply system, using the algorithm control of the microprocessor and the combination of MOS tube capacitance, the problems of high cost and difficulty in miniaturization of the traditional power supply solution are solved, and stable power supply and economical maintenance of the microprocessor are achieved.
Patent Information
- Application Number
- CN202011096608.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-10-14
- Publication Date
- 2024-09-24
- Estimated Expiration
- 2040-10-14
AI Technical Summary
The traditional microprocessor power supply solution increases circuit cost and complexity, and cannot meet the market's requirements for cost pressure and product miniaturization. There are especially problems with initial power supply and power supply maintenance under special conditions.
An auxiliary power supply system is designed, including a main power supply circuit, a sampling detection circuit and a power supply voltage stabilizing circuit. Through the combination of MOS tubes and capacitors, the charging and discharging of the capacitors is realized using microprocessor algorithm control to ensure stable power supply and through patrolling. Check the voltage value to adjust the power supply status in real time.
It achieves circuit simplification and cost reduction, ensures the power supply of the microprocessor under normal operation and abnormal protection status, and has good economic value.
Smart Images

Figure CN112072780B
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power supply circuits, and in particular to an auxiliary power supply system and method. Background Art
[0002] At present, for the power supply of the microprocessor on the circuit, since the microprocessor startup consumption current is relatively large, generally 10-20mA is required, the conventional method is to use an external auxiliary power supply module (circuit) to power the microprocessor. However, this implementation method not only increases the cost and complexity of the circuit, but also has problems such as a large number of components, poor manufacturability, and large circuit size. In addition, with the current market pressure on cost and product miniaturization requirements, the traditional power supply solution can no longer break through the bottleneck and continue to optimize and reduce costs. There are also problems with the initial power supply of the circuit and the maintenance of power supply under special conditions. Summary of the invention
[0003] In view of the above problems, the present invention provides an auxiliary power supply system and method, which has a simple circuit and low cost, and can not only effectively realize product miniaturization, but also solve the problems of initial power supply of the circuit and power supply maintenance under special conditions.
[0004] The technical scheme is as follows: an auxiliary power supply system, which includes a power supply main circuit and a microprocessor and a power supply voltage stabilizing circuit powered by the power supply main circuit, characterized in that: it also includes an auxiliary power supply main circuit and a sampling detection circuit, the auxiliary power supply main circuit and the sampling detection circuit are both powered and connected by the power supply main circuit, and the power supply voltage stabilizing circuit is connected to the microprocessor after passing through the auxiliary power supply main circuit, and the sampling detection circuit is connected to the microprocessor;
[0005] Wherein, the power supply voltage stabilizing circuit is used to stabilize the output voltage of the auxiliary power supply main circuit;
[0006] The auxiliary power supply main circuit is used to maintain the power supply of the microprocessor;
[0007] The sampling detection circuit is used to patrol and sample the voltage value of the main power supply circuit and feed it back to the microprocessor.
[0008] It is further characterized by:
[0009] The main power supply circuit includes a fuse F, transformers T1-T3, a bridge circuit DB1, capacitors CX1, CX2, C1-C6, resistors R1-R3, diodes D1-D3, a half-bridge driver U1, and MOS tubes Q1-Q3. One end of the fuse F is connected to one end of the capacitor CX2 and pin 2 of the transformer T1, and the other end of the fuse F is connected to the live wire L. The other end of the capacitor CX2 and pin 1 of the transformer T1 are both connected to the neutral wire N, and pin 3 of the transformer T1 is connected to the live wire L. One end of the capacitor CX1 and the 3rd pin of the bridge circuit DB1 are connected, the 4th pin of the transformer T1 and the other end of the capacitor CX1 and the 2nd pin of the bridge circuit DB1 are connected, the 1st pin of the bridge circuit DB1 and the one end of the capacitor C1 and the 1st pin of the transformer T2 are connected, the 4th pin of the bridge circuit DB1 and the other end of the capacitor C1, the 3rd pins of the MOS tubes Q1 and Q2, one end of the capacitors C2 and C6, the 4th pin of the half-bridge driver U1, the positive electrode of the diode D3, the transformer The 2nd pin of the transformer T3 is connected to the ground, the 2nd pin of the MOS tube Q1 is connected to the 2nd pin of the transformer T2 and the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to the other end of the capacitor C2 and the 2nd pin of the MOS tube Q2, the 3rd pin of the half-bridge driver U1 is connected to the power supply 15V, the 1st pin of the MOS tube Q2 is connected to the 7th pin of the half-bridge driver U1 through the resistor R1, the capacitor C3 is connected between the 6th and 8th pins of the half-bridge driver U1, and the half-bridge Pin 5 of the driver U1 is connected to pin 1 of the MOS tube Q3 via the resistor R2, pin 3 of the MOS tube Q2 is connected to pin 2 of the MOS tube Q3, pin 6 of the half-bridge driver U1, and one end of capacitors C4 and C5, the other end of the capacitor C4 is connected to pin 1 of the transformer T3, the other end of the capacitor C5 is connected to the positive electrode of the diode D2 and the negative electrode of the diode D3 via the resistor R3, and the negative electrode of the diode D2 is connected to the other end of the capacitor C6;
[0010] The auxiliary power supply main circuit includes resistors R4 to R7, MOS tubes Q4, Q5, and capacitor C7. The microprocessor adopts a model STM32F processor chip. One end of the resistor R4 is connected to the other end of the capacitor C2, and the other end of the resistor R4 is connected to pin 2 of the MOS tube Q4. Pin 1 of the MOS tube Q4 is connected to pin 2 of the MOS tube Q5 and one end of the resistor R5. The other end of the resistor R5 is connected to one end of the capacitor C7, pin 3 of the MOS tube Q4, the negative electrode of the diode D2, and the output end of the power supply voltage stabilization circuit, and then connected to a power supply 15V. Pin 1 of the MOS tube Q5 is connected to one end of the resistors R6 and R7. The other end of the resistor R7 is connected to the 23rd pin of the microprocessor, the resistor R6, the other end of the capacitor C7, the 3rd pin of the MOS tube Q5, and the grounding end of the power supply stabilizing circuit are connected and then grounded, the power supply end of the power supply stabilizing circuit is connected to the power supply 3.3V, the 1st pin of the microprocessor is connected to the power supply 3.3V, the 32nd pin of the microprocessor is grounded, the 20th pin of the microprocessor is connected to the 1st pin of the half-bridge driver U1, the 15th pin of the microprocessor is connected to the 2nd pin of the half-bridge driver U1, the 17th pin of the microprocessor is connected to one end of the capacitor C8 and then connected to the power supply 3.3V, and the 16th pin of the microprocessor is connected to the other end of the capacitor C8 and then grounded;
[0011] The sampling detection circuit includes resistors R8, R9, and capacitor C9. One end of the resistor R8 is connected to the cathode of the diode D2. The other end of the resistor R8 is connected to the resistor R9, one end of the capacitor C9, and pin 2 of the microprocessor. The other ends of the resistor R9 and the capacitor C9 are connected and then grounded.
[0012] An auxiliary power supply method, characterized in that it comprises the following steps:
[0013] S1. After power is turned on, the high voltage of capacitor C2 charges capacitor C7 through MOS tube Q4. When the voltage at the end of capacitor C7 reaches the microprocessor startup voltage threshold, the microprocessor starts working;
[0014] S2, the microprocessor outputs a PWM signal to the half-bridge driver U1, the half-bridge driver U1 drives the MOS tubes Q2 and Q3 to perform high-frequency switching actions alternately, and charges the capacitor C7 through the power supply circuit in the normal working state composed of diodes D2, D3, resistor R3, capacitors C5 and C6 to maintain the consumption current of the entire auxiliary power supply system, thereby establishing a power supply maintenance state;
[0015] S3. Once the power supply maintenance state is established, the microprocessor issues an instruction to disconnect the MOS tube Q4. Meanwhile, the microprocessor inspects the voltage value of the capacitor C7 in real time. When it is detected that the voltage value of the capacitor C7 is lower than the set value, the microprocessor issues an instruction to connect the MOS tube Q4. The high voltage of the capacitor C2 charges the capacitor C7 through the resistor R4 to supply power. When it is detected that the voltage value of the capacitor C7 is higher than the set value, the microprocessor issues an instruction to disconnect the MOS tube Q4 to stop supplying power to the capacitor C7. Thus, the power supply of the microprocessor can be maintained regardless of whether it is in a normal working state or an abnormal protection state.
[0016] The beneficial effect of the present invention is that after power is turned on, the corresponding capacitors can be charged and discharged according to the situation, so as to ensure the power consumption of the microprocessor, and the execution is always controlled by the microprocessor during the whole process. Whether it is normal operation or abnormal protection state, the power supply of the microprocessor can be maintained, and it has good economic use value. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] Figure 1 It is a structural block diagram of the present invention;
[0018] Figure 2 It is a circuit schematic diagram of the present invention. DETAILED DESCRIPTION
[0019] like Figure 1 , Figure 2 As shown, the present invention provides an auxiliary power supply system, which includes a power supply main circuit and a microprocessor U2 powered by the power supply main circuit, and a power supply voltage stabilizing circuit. It also includes an auxiliary power supply main circuit and a sampling detection circuit. The auxiliary power supply main circuit and the sampling detection circuit are both connected through the power supply main circuit, and the power supply voltage stabilizing circuit is connected to the microprocessor U2 after passing through the auxiliary power supply main circuit, and the sampling detection circuit is connected to the microprocessor U2; wherein the power supply voltage stabilizing circuit is used to stabilize the output voltage of the auxiliary power supply main circuit; the auxiliary power supply main circuit is used to maintain the power supply of the microprocessor U2; the sampling detection circuit is used to patrol the voltage value of the sampling power supply main circuit and feed it back to the microprocessor U2.
[0020] The main power supply circuit includes a fuse F, transformers T1 to T3, a bridge circuit DB1, capacitors CX1, CX2, C1 to C6, resistors R1 to R3, diodes D1 to D3, a half-bridge driver U1, and MOS tubes Q1 to Q3. One end of the fuse F is connected to one end of the capacitor CX2 and pin 2 of the transformer T1, and the other end of the fuse F is connected to the live wire L. The other end of the capacitor CX2 and pin 1 of the transformer T1 are both connected to the neutral line N. Pin 3 of the transformer T1 is connected to one end of the capacitor CX1 and pin 3 of the bridge circuit DB1. Pin 4 of the transformer T1 is connected to the other end of the capacitor CX1 and pin 2 of the bridge circuit DB1. Pin 1 of the bridge circuit DB1 is connected to one end of the capacitor C1 and pin 1 of the transformer T2. Pin 4 of the bridge circuit DB1 is connected to the other end of the capacitor C1, pin 3 of the MOS tubes Q1 and Q2, one end of the capacitors C2 and C6, pin 4 of the half-bridge driver U1, and pin 2 of the bridge circuit DB1. The positive electrode of the diode D3 and the 2nd foot of the transformer T3 are connected to ground, the 2nd foot of the MOS tube Q1 is connected to the 2nd foot of the transformer T2 and the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to the other end of the capacitor C2 and the 2nd foot of the MOS tube Q2, the 3rd foot of the half-bridge driver U1 is connected to the power supply 15V, the 1st foot of the MOS tube Q2 is connected to the 7th foot of the half-bridge driver U1 through the resistor R1, the capacitor C3 is connected between the 6th and 8th feet of the half-bridge driver U1, the 5th foot of the half-bridge driver U1 is connected to the 1st foot of the MOS tube Q3 through the resistor R2, the 3rd foot of the MOS tube Q2 is connected to the 2nd foot of the MOS tube Q3, the 6th foot of the half-bridge driver U1, and one end of the capacitor C4 and C5, the other end of the capacitor C4 is connected to the 1st foot of the transformer T3, the other end of the capacitor C5 is connected to the positive electrode of the diode D2 and the negative electrode of the diode D3 through the resistor R3, and the negative electrode of the diode D2 is connected to the other end of the capacitor C6.
[0021] The auxiliary power supply main circuit includes resistors R4 to R7, MOS tubes Q4, Q5, and capacitor C7. The microprocessor U2 adopts the STM32F processor chip. One end of the resistor R4 is connected to the other end of the capacitor C2, and the other end of the resistor R4 is connected to the 2nd pin of the MOS tube Q4. The 1st pin of the MOS tube Q4 is connected to the 2nd pin of the MOS tube Q5 and one end of the resistor R5. The other end of the resistor R5 is connected to one end of the capacitor C7, the 3rd pin of the MOS tube Q4, the negative electrode of the diode D2, and the output end of the power supply voltage stabilizing circuit, and then connected to the power supply 15V. The 1st pin of the MOS tube Q5 is connected to one end of the resistors R6 and R7. The other end of the resistor R7 is connected to the 23rd pin of the microprocessor U2. The resistor R6, the other end of the capacitor C7, the 3rd pin of the MOS tube Q5, the power supply The grounding end of the voltage stabilizing circuit is connected and then grounded, the power supply end of the power supply voltage stabilizing circuit is connected to the power supply 3.3V, the 1st pin of the microprocessor U2 is connected to the power supply 3.3V, the 32nd pin of the microprocessor U2 is grounded, the 20th pin of the microprocessor U2 is connected to the 1st pin of the half-bridge driver U1, the 15th pin of the microprocessor U2 is connected to the 2nd pin of the half-bridge driver U1, the 17th pin of the microprocessor U2 is connected to one end of the capacitor C8 and then connected to the power supply 3.3V, the 16th pin of the microprocessor U2 is connected to the other end of the capacitor C8 and then grounded; the sampling detection circuit includes resistors R8, R9, and capacitor C9, one end of the resistor R8 is connected to the cathode of the diode D2, the other end of the resistor R8 is connected to the resistor R9, one end of the capacitor C9, and the 2nd pin of the microprocessor U2, and the other ends of the resistor R9 and the capacitor C9 are connected and then grounded.
[0022] In the present invention, conventional patch electronic components and algorithm control of the microprocessor U2 are used to ensure the power supply demand. The circuit of the present invention uses MOS tube Q4 (depletion type field effect tube MOSFET) and capacitor C7 in series. After the circuit is powered on, the high voltage of capacitor C2 charges capacitor C7 through the depletion type field effect tube MOSFET. When the voltage of capacitor C7 reaches the starting voltage threshold of the microprocessor U2, the microprocessor U2 starts to work. At the same time, the microprocessor U2 starts AD inspection to sample the voltage value of the power supply circuit through software processing. When the voltage on the capacitor exceeds the required set value, the I / O output control signal of the microprocessor U2 disconnects the depletion type field effect tube MOSFET and stops charging the capacitor. At this time, the microprocessor consumption power comes from the discharge of the capacitor. Because the discharge of the capacitor is a gradual process (exponential decline), when the AD port of the microprocessor U2 detects that the voltage on the capacitor is lower than the set threshold, the I / O output signal controls the connection of the depletion type field effect tube MOSFET to continue charging the capacitor. The power consumption of the microprocessor U2 and the circuit is guaranteed through real-time monitoring and inspection of the software.
[0023] Specifically:
[0024] An auxiliary power supply method comprises the following steps:
[0025] S1. After power is turned on, due to the initial power-on period, the power supply circuit of the microprocessor U2 cannot provide the voltage required for the microprocessor U2 to work (the startup current consumption of the microprocessor U2 is relatively large, generally 10-20mA, and the conventional method is to use an external auxiliary power supply module (circuit) to power the microprocessor); at this time, the BUS voltage (the high voltage of the capacitor C2) charges the capacitor C7 through the resistor R4 and the MOS tube Q4 (normally conductive MOS tube). When the voltage at the end of the capacitor C7 reaches the startup voltage threshold of the microprocessor U2, the power supply stabilization circuit provides power to the microprocessor U2, and the microprocessor U2 starts to work;
[0026] S2, microprocessor U2 outputs PWM signal to half-bridge driver U1, half-bridge driver U1 drives MOS tubes Q2, Q3 to perform high-frequency switching alternately, and charges capacitor C2 through the power supply circuit in normal working state composed of diodes D2, D3, resistor R3, capacitors C5, C6, so as to maintain the consumption current of the entire auxiliary power supply system, thereby establishing a power supply maintenance state;
[0027] S3. Once the power supply maintenance state is established, the microprocessor U2 issues an instruction to disconnect the MOS tube Q4. At the same time, the microprocessor U2 inspects the voltage value of the capacitor C7 in real time. When it is detected that the voltage value of the capacitor C7 is lower than the set value, the microprocessor U2 issues an instruction to connect the MOS tube Q4, and the high voltage of the capacitor C2 charges the capacitor C7 through the resistor R4 to supply power; when it is detected that the voltage value of the capacitor C7 is higher than the set value, the microprocessor U2 issues an instruction to disconnect the MOS tube Q4 and stop supplying power to the capacitor C7, so that the entire cycle is always executed by the microprocessor control, and the power supply of the microprocessor U2 can be maintained regardless of the normal working state or the abnormal protection state.
[0028] It should be noted that, in the present invention, the power supply voltage stabilization circuit is a conventional step-down voltage stabilization circuit (15V is stepped down to 5V or 3.3V for microprocessor, which can be changed according to different working conditions of microprocessor U2); Figure 2 Pin 1 of the MOS tube is connected to the output end of the APFC control circuit, wherein the APFC control circuit is a common circuit used to adapt to wide voltage input, improve power factor and improve current harmonics; the half-bridge driver U1 also selects a common chip, and different types of chips can be selected according to actual needs.
[0029] It will be apparent to those skilled in the art that the invention is not limited to the details of the exemplary embodiments described above and that the invention can be implemented in other specific forms without departing from the spirit or essential features of the invention. Therefore, the embodiments should be considered exemplary and non-limiting in all respects, and the scope of the invention is defined by the appended claims rather than the foregoing description, and it is intended that all variations falling within the meaning and scope of the equivalent elements of the claims be included in the invention. Any reference numeral in a claim should not be considered as limiting the claim to which it relates.
[0030] In addition, it should be understood that although the present specification is described according to implementation modes, not every implementation mode contains only one independent technical solution. This description of the specification is only for the sake of clarity. Those skilled in the art should regard the specification as a whole. The technical solutions in each embodiment may also be appropriately combined to form other implementation modes that can be understood by those skilled in the art.
Claims
1. An auxiliary power supply system, comprising a main power supply circuit, a microprocessor powered by the main power supply circuit, and a power supply voltage stabilizing circuit, characterized in that: It also includes an auxiliary power supply main circuit and a sampling detection circuit, both of which are connected to the power supply main circuit, and the power supply voltage stabilizing circuit is connected to the microprocessor after passing through the auxiliary power supply main circuit, and the sampling detection circuit is connected to the microprocessor; Wherein, the power supply voltage stabilizing circuit is used to stabilize the output voltage of the auxiliary power supply main circuit; The auxiliary power supply main circuit is used to maintain the power supply of the microprocessor; The sampling detection circuit is used to inspect and sample the voltage value of the main power supply circuit and feed it back to the microprocessor; The main power supply circuit includes a fuse F, transformers T1-T3, a bridge circuit DB1, capacitors CX1, CX2, C1-C6, resistors R1-R3, diodes D1-D3, a half-bridge driver U1, and MOS tubes Q1-Q3. One end of the fuse F is connected to one end of the capacitor CX2 and pin 2 of the transformer T1, and the other end of the fuse F is connected to the live wire L. The other end of the capacitor CX2 and pin 1 of the transformer T1 are both connected to the neutral line N. The pin 3 of the transformer T1 is connected to one end of the capacitor CX1. The end and the 3rd pin of the bridge circuit DB1 are all connected, the 4th pin of the transformer T1 is connected to the other end of the capacitor CX1 and the 2nd pin of the bridge circuit DB1, the 1st pin of the bridge circuit DB1 is connected to one end of the capacitor C1 and the 1st pin of the transformer T2, the 4th pin of the bridge circuit DB1 is connected to the other end of the capacitor C1, the 3rd pin of the MOS tube Q1, the 3rd pin of the MOS tube Q3, one end of the capacitor C2, C6, the 4th pin of the half-bridge driver U1, the positive electrode of the diode D3, and the 2nd pin of the transformer T3 The 2nd pin of the MOS tube Q1 is connected to the 2nd pin of the transformer T2 and the positive electrode of the diode D1, the negative electrode of the diode D1 is connected to the other end of the capacitor C2 and the 2nd pin of the MOS tube Q2, the 3rd pin of the half-bridge driver U1 is connected to the power supply 15V, the 1st pin of the MOS tube Q2 is connected to the 7th pin of the half-bridge driver U1 through the resistor R1, the 6th and 8th pins of the half-bridge driver U1 are connected to the capacitor C3, the 5th pin of the half-bridge driver U1 is connected to the Pin 1 of the MOS tube Q3, pin 3 of the MOS tube Q2, pin 2 of the MOS tube Q3, pin 6 of the half-bridge driver U1, and one end of the capacitors C4 and C5 are all connected, the other end of the capacitor C4 is connected to pin 1 of the transformer T3, the other end of the capacitor C5 is connected to the positive electrode of the diode D2 and the negative electrode of the diode D3 through the resistor R3, and the negative electrode of the diode D2 is connected to the other end of the capacitor C6; pin 1 of the MOS tube Q1 is connected to the output end of the APFC control circuit; The auxiliary power supply main circuit includes resistors R4~R7, MOS tubes Q4, Q5, and capacitor C7. The microprocessor adopts a model STM32F processor chip. One end of the resistor R4 is connected to the other end of the capacitor C2, and the other end of the resistor R4 is connected to pin 2 of the MOS tube Q4. Pin 1 of the MOS tube Q4 is connected to pin 2 of the MOS tube Q5 and one end of the resistor R5. The other end of the resistor R5 is connected to one end of the capacitor C7, pin 3 of the MOS tube Q4, the negative electrode of the diode D2, and the output end of the power supply voltage stabilization circuit, and then connected to the power supply 15V. Pin 1 of the MOS tube Q5 is connected to one end of the resistors R6 and R7. are all connected, the other end of the resistor R7 is connected to the 23rd pin of the microprocessor, the resistor R6, the other end of the capacitor C7, the 3rd pin of the MOS tube Q5, and the ground end of the power supply stabilizing circuit are connected and then grounded, the power supply end of the power supply stabilizing circuit is connected to the power supply 3.3V, the 1st pin of the microprocessor is connected to the power supply 3.3V, the 32nd pin of the microprocessor is grounded, the 20th pin of the microprocessor is connected to the 1st pin of the half-bridge driver U1, the 15th pin of the microprocessor is connected to the 2nd pin of the half-bridge driver U1, the 17th pin of the microprocessor is connected to one end of the capacitor C8 and then connected to the power supply 3.3V, and the 16th pin of the microprocessor is connected to the other end of the capacitor C8 and then grounded; The sampling detection circuit includes resistors R8, R9, and capacitor C9, one end of the resistor R8 is connected to the cathode of the diode D2, the other end of the resistor R8 is connected to the resistor R9, one end of the capacitor C9, and pin 2 of the microprocessor, and the other ends of the resistor R9 and the capacitor C9 are connected and then grounded; The auxiliary power supply method adopted by the auxiliary power supply system comprises the following steps: S1. After power is turned on, the high voltage of capacitor C2 charges capacitor C7 through MOS tube Q4. When the voltage at the end of capacitor C7 reaches the microprocessor startup voltage threshold, the microprocessor starts working; S2, the microprocessor outputs a PWM signal to the half-bridge driver U1, the half-bridge driver U1 drives the MOS tubes Q2 and Q3 to perform high-frequency switching actions alternately, and charges the capacitor C7 through the power supply circuit in the normal working state composed of diodes D2, D3, resistor R3, capacitors C5 and C6 to maintain the consumption current of the entire auxiliary power supply system, thereby establishing a power supply maintenance state; S3. Once the power supply maintenance state is established, the microprocessor issues an instruction to disconnect the MOS tube Q4. Meanwhile, the microprocessor inspects the voltage value of the capacitor C7 in real time. When it is detected that the voltage value of the capacitor C7 is lower than the set value, the microprocessor issues an instruction to connect the MOS tube Q4. The high voltage of the capacitor C2 charges the capacitor C7 through the resistor R4 to supply power. When it is detected that the voltage value of the capacitor C7 is higher than the set value, the microprocessor issues an instruction to disconnect the MOS tube Q4 to stop supplying power to the capacitor C7. Thus, the power supply of the microprocessor can be maintained regardless of whether it is in a normal working state or an abnormal protection state.
