Dual power supply uninterrupted switching control circuit
By designing a dual-power uninterrupted switching control circuit including an MCU control module, a voltage reference detection module, a switching voltage module and a MOS drive module in a dual-power supply system, the problems of slow switching speed and unstable relays in the existing technology are solved. problem, achieving fast and stable power switching and load stability.
Patent Information
- Application Number
- CN202323589296.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-26
- Publication Date
- 2024-09-03
- Estimated Expiration
- 2033-12-26
AI Technical Summary
In the existing dual power supply system, the software detection and relay switching methods result in slow switching speed and unstable relays, which are easy to burn out and cannot meet the fast and stable needs of the load during power switching.
A dual power supply uninterrupted switching control circuit is designed, using MCU control module, voltage reference detection module, switching voltage module, comparator module, feedback control module and MOS drive module, and realizes power supply through pure hardware switching circuit and MOS tube driver. The rapid switching between them can be completed within microseconds or even nanoseconds, and can withstand large current impacts.
When the dual power supply is supplied, the backup energy can be replenished in time when the initial energy is lost or fails, and there is no time difference in the intermediate switching, ensuring the working stability of the load and avoiding the instability and burnout problems of the relay.
Smart Images

Figure CN221652302U
Abstract
Description
Technical Field
[0001] The utility model relates to the technical field of MOS tube driving, in particular to a dual-power uninterrupted switching control circuit. Background Art
[0002] In systems with relatively high requirements, dual power supply is usually used to power the system. It usually consists of a regular power supply and a backup power supply. In normal situations, it is powered by the regular power supply. In the case of regular power failure or insufficient voltage, it is powered by the backup power supply. Such systems are commonly found in some important occasions, such as medical equipment, monitoring equipment, security equipment, etc.
[0003] In the above application, since the load cannot lose power, there are strict requirements on the switching speed. Usually, software detection + relay switching is adopted. This working mode has the disadvantages of slow speed and unstable relays that are easy to burn out. Therefore, it is necessary to improve it. Utility Model Content
[0004] The purpose of the utility model is to provide a dual power supply uninterrupted switching control circuit to solve the problems raised in the above background technology.
[0005] To achieve the above-mentioned purpose, the utility model provides the following technical solutions: a dual power supply uninterruptible switching control circuit, comprising an MCU control module, a voltage reference detection module, a switching voltage module, a comparator module, a feedback control module, a MOS drive module, and a feedback locking module, wherein the voltage reference detection module and the switching voltage module are respectively connected to the comparator module, the comparator module is connected to the feedback control module, the feedback control module is connected to the MOS drive module, the MCU control module is respectively connected to the feedback control module and the MOS drive module, and the feedback locking module is respectively connected to the comparator module and the feedback control module.
[0006] Preferably, the present application provides a dual power supply uninterruptible switching control circuit, wherein the switching voltage module includes a transistor Q2, a transistor Q3, a transistor Q5, a transistor Q6, a transistor Q7 and an amplifier, the positive input end of the amplifier is respectively connected to the collector of the transistor Q3, one end of the resistor R2, one end of the resistor R8 and one end of the capacitor C1, the emitter of the transistor Q3 is respectively connected to the other end of the resistor R8 and the other end of the capacitor C1 and grounded, the negative input end of the amplifier is respectively connected to one end of the resistor R11, one end of the capacitor C2, one end of the resistor R15 and one end of the resistor R14, the other end of the capacitor C2 is connected to the other end of the resistor R15 and grounded, the other end of the resistor R14 is connected to the collector of the transistor Q6, the emitter of the transistor Q6 is grounded, and the output end of the amplifier is respectively connected to one end of the resistor R5, one end of the resistor R12, one end of the resistor R17 and one end of the resistor R18.
[0007] Preferably, the present application provides a dual power supply uninterruptible switching control circuit, wherein the base of the transistor Q6 is connected to the other end of the resistor R17, the other end of the resistor R5 is connected to the base of the transistor Q2, the emitter of the transistor Q2 is grounded, the other end of the resistor R12 is connected to the base of the transistor Q5, the emitter of the transistor Q5 is grounded, and the other end of the resistor R18 is connected to the base of the transistor Q7, and the emitter of the transistor Q7 is grounded.
[0008] Preferably, the present application provides a dual power supply uninterruptible switching control circuit, wherein the MOS drive module is connected to the first drive circuit and the second drive circuit, the first drive circuit includes a transistor Q1 and a transistor Q4, the emitter of the transistor Q1 is connected to one end of the resistor R1, the collector is respectively connected to one end of the resistor R4 and one end of the resistor R9, the base is respectively connected to the other end of the resistor R1 and one end of the resistor R3, the collector of the transistor Q4 is connected to the other end of the resistor R3, the emitter is respectively connected to one end of the resistor R13, the other end of the resistor R9 and the other end of the resistor R10 and grounded, and the base of the transistor Q4 is respectively connected to one end of the resistor R6 and the other end of the resistor R13.
[0009] Preferably, the present application provides a dual power supply uninterruptible switching control circuit, wherein the second drive circuit includes a transistor Q8, the collector of the transistor Q8 is respectively connected to one end of the resistor R16 and one end of the resistor R19, the emitter is connected to the other end of the resistor R16, the collector is respectively connected to one end of the resistor R20 and one end of the resistor R21, the other end of the resistor R20 is connected to one end of the resistor R22, and the other end of the resistor R21 is connected to the other end of the resistor R22 and grounded.
[0010] Compared with the prior art, the beneficial effects of the utility model are as follows: the working principle of the utility model is simple, and the switching between power sources is performed by a pure hardware switching circuit + MOS tube drive. By adopting a pure hardware switching circuit, the switching time can be controlled at the microsecond or even nanosecond level, and assisted by the MOS tube drive, it can withstand the large current impact during switching. By adopting the power-off uninterrupted switching drive circuit of the utility model, when dual power supply is provided, the initial energy POWE1 loses power or fails, and the backup energy POWE2 is promptly supplemented, and there is no time difference in the intermediate switching, which can effectively achieve the working stability of the load. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] Figure 1 This is a block diagram of the working principle of the utility model;
[0012] Figure 2 This is the circuit diagram of the voltage switching module of the utility model;
[0013] Figure 3 This is the first driving circuit diagram of the utility model;
[0014] Figure 4 This is the second driving circuit diagram of the utility model;
[0015] In the figure: MCU control module 1, voltage reference detection module 2, switching voltage module 3, comparator module 4, feedback control module 5, MOS driving module 6, feedback locking module 7. DETAILED DESCRIPTION
[0016] 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 in 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.
[0017] It should be noted that when an element is referred to as being "fixed on" or "set on" another element, it can be directly on the other element or indirectly set on the other element; when an element is referred to as being "connected to" another element, it can be directly connected to the other element or indirectly connected to the other element.
[0018] It should be understood that the terms "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the present application.
[0019] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include one or more of the features. In the description of this application, "multiple" and "several" mean two or more, unless otherwise clearly and specifically defined.
[0020] It should be noted that the structures, proportions, sizes, etc. illustrated in the drawings of this specification are only used to match the contents disclosed in the specification for people familiar with this technology to understand and read, and are not used to limit the limiting conditions that can be implemented in this application, so they have no substantial technical significance. Any modification of the structure, change in the proportional relationship, or adjustment of the size should still fall within the scope of the technical content disclosed in this application without affecting the effects that can be produced by this application and the purposes that can be achieved. At the same time, the terms such as "upper", "lower", "left", "right", "middle" and "one" quoted in this specification are only for the convenience of narration, and are not used to limit the scope of the implementation of this application. The change or adjustment of their relative relationship should also be regarded as the scope of the implementation of this application without substantial change in the technical content.
[0021] See also Figure 1-4 The utility model provides a technical solution: a dual power supply uninterruptible switching control circuit, including an MCU control module 1, a voltage reference detection module 2, a switching voltage module 3, a comparator module 4, a feedback control module 5, a MOS drive module 6, and a feedback locking module 7. The voltage reference detection module 2 and the switching voltage module 3 are respectively connected to the comparator module 4, the comparator module 4 is connected to the feedback control module 5, the feedback control module 5 is connected to the MOS drive module 6, the MCU control module 1 is respectively connected to the feedback control module 5 and the MOS drive module 6, and the feedback locking module 7 is respectively connected to the comparator module 4 and the feedback control module 5.
[0022] In this utility model, the switching voltage module includes triodes Q2, Q3, Q5, Q6, Q7 and an amplifier. The positive input terminal of the amplifier is respectively connected to the collector of triode Q3, one end of resistor R2, one end of resistor R8 and one end of capacitor C1. The emitter of triode Q3 is respectively connected to the other end of resistor R8 and the other end of capacitor C1 and grounded. The negative input terminal of the amplifier is respectively connected to one end of resistor R11, one end of capacitor C2, one end of resistor R15 and one end of resistor R14. The other end of capacitor C2 is connected to the other end of resistor R15 and grounded. The other end of resistor R14 is connected to the collector of triode Q6. The emitter of triode Q6 is grounded. The output terminal of the amplifier is respectively connected to one end of resistor R5, one end of resistor R12, one end of resistor R17 and one end of resistor R18. The base of triode Q6 is connected to the other end of resistor R17. The other end of resistor R5 is connected to the base of triode Q2. The emitter of triode Q2 is grounded. The other end of resistor R12 is connected to the base of triode Q5. The emitter of triode Q5 is grounded. The other end of resistor R18 is connected to the base of triode Q7. The emitter of triode Q7 is grounded. The MCU control module is responsible for turning off or on the entire switching circuit. The voltage reference detection module is responsible for precisely setting the switching voltage point of POWER1. The comparator module is responsible for outputting the signal of the specific switching action. The MOS drive module is responsible for the specific switching action.
[0023] When the voltage of POWER1 drops to a certain level and V(PIN2) < V(PIN3), the following events will occur:
[0024] The comparator flips and outputs a high-level signal, which is sent to the subsequent MOS transistor drive circuit for specific signal processing by the MOS transistor drive circuit.
[0025] The comparator flips and outputs a high-level signal, pulling down the collector of Q7 to notify the MCU that the circuit has taken action.
[0026] The comparator flips and outputs a high-level signal, pulling V(PIN2) to the lowest level to prevent the comparator from bouncing up and down around the reference point, causing high-frequency switching back and forth.
[0027] In the present utility model, the MOS driving module is connected to the first driving circuit and the second driving circuit. The first driving circuit includes a triode Q1 and a triode Q4. The emitter of the triode Q1 is connected to one end of a resistor R1, and the collector is respectively connected to one end of a resistor R4 and one end of a resistor R9. The base is respectively connected to the other end of the resistor R1 and one end of a resistor R3. The collector of the triode Q4 is connected to the other end of the resistor R3, and the emitter is respectively connected to one end of a resistor R13, the other end of the resistor R9, and the other end of a resistor R10 and grounded. The base of the triode Q4 is respectively connected to one end of a resistor R6 and the other end of the resistor R13. The second driving circuit includes a triode Q8. The collector of the triode Q8 is respectively connected to one end of a resistor R16 and one end of a resistor R19. The emitter is connected to the other end of the resistor R16. The collector is respectively connected to one end of a resistor R20 and one end of a resistor R21. The other end of the resistor R20 is connected to one end of a resistor R22. The other end of the resistor R21 is connected to the other end of the resistor R22 and grounded. After the comparator operates, a low level is sent to the first driving circuit through the triode Q2, a low level signal is sent to the second driving circuit through the triode Q5, a low level is sent to the MCU control module through the triode Q7, and a locking signal is sent to the comparator through the triode Q6.
[0028] Working principle: In the initial state: Driver 1 is in the open state. The working mode of Driver 1 is that Swich_OFF1 is opened by a high level and closed by a low level. Driver 2 is in the closed state. The working mode of Driver 2 is that Swich_ON2 is closed by a high level and opened by a low level. The input of Swich_Ctrl is at a high level, and it is in the enabled state at this time. POWER1 has sufficient power and a relatively high voltage. The comparator outputs a low level signal when V(PIN2) > V(PIN3). Both Swich_OFF1 and Swich_ON2 are in the cut-off state (which can be considered as a high level).
[0029] When POWER1 has insufficient power: V(PIN2) < V(PIN3), the comparator flips, and VPIN1 outputs a high level. The triodes Q2, Q5, Q6, and Q7 are driven through R5, R12, R17, and R18. The purpose of driving Q6 is to pull V(PIN2) to the lowest voltage point to lock the circuit. The purpose of driving Q7 is to send an action signal to the MCU. The purpose of driving Q2 and Q5 is to pull down Swich_OFF1 and Swich_ON2. According to the requirements for the driving circuit above, the working mode of Driver 1 is that Swich_OFF1 is closed by a low level, and the working mode of Driver 2 is that Swich_ON2 is opened by a low level. Therefore, Driver 1 is turned off and Driver 2 is turned on, thus achieving automatic switching.
[0030] To sum up, the working principle of the utility model is simple, and the switching between power sources is performed by a pure hardware switching circuit + MOS tube drive. The switching time can be controlled at the microsecond or even nanosecond level by using a pure hardware switching circuit, and assisted by a MOS tube drive, it can withstand the large current impact during switching. The power-off uninterrupted switching drive circuit of the utility model can be used to realize that when dual power supplies are supplied, the initial energy POWE1 loses power or fails, and the backup energy POWE2 is promptly replenished, and there is no time difference in the intermediate switching, which can effectively achieve the working stability of the load.
[0031] The circuits, electronic components and modules involved are all prior art and can be fully implemented by those skilled in the art. Needless to say, the content protected by this utility model does not involve improvements to software and methods.
[0032] It should also be noted that, in this specification, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
Claims
1. A dual power supply uninterruptible switching control circuit, characterized in that: The invention comprises an MCU control module (1), a voltage reference detection module (2), a switching voltage module (3), a comparator module (4), a feedback control module (5), a MOS driving module (6), and a feedback locking module (7); the voltage reference detection module (2) and the switching voltage module (3) are respectively connected to the comparator module (4); the comparator module (4) is connected to the feedback control module (5); the feedback control module (5) is connected to the MOS driving module (6); the MCU control module (1) is respectively connected to the feedback control module (5) and the MOS driving module (6); and the feedback locking module (7) is respectively connected to the comparator module (4) and the feedback control module (5).
2. A dual power supply uninterruptible switching control circuit according to claim 1, characterized in that: The switching voltage module includes transistors Q2, Q3, Q5, Q6, Q7 and an amplifier, wherein the positive input end of the amplifier is respectively connected to the collector of the transistor Q3, one end of the resistor R2, one end of the resistor R8 and one end of the capacitor C1, the emitter of the transistor Q3 is respectively connected to the other end of the resistor R8 and the other end of the capacitor C1 and is grounded, the negative input end of the amplifier is respectively connected to one end of the resistor R11, one end of the capacitor C2, one end of the resistor R15 and one end of the resistor R14, the other end of the capacitor C2 is connected to the other end of the resistor R15 and is grounded, the other end of the resistor R14 is connected to the collector of the transistor Q6, the emitter of the transistor Q6 is grounded, and the output end of the amplifier is respectively connected to one end of the resistor R5, one end of the resistor R12, one end of the resistor R17 and one end of the resistor R18.
3. A dual power supply uninterruptible switching control circuit according to claim 2, characterized in that: The base of the transistor Q6 is connected to the other end of the resistor R17, the other end of the resistor R5 is connected to the base of the transistor Q2, the emitter of the transistor Q2 is grounded, the other end of the resistor R12 is connected to the base of the transistor Q5, the emitter of the transistor Q5 is grounded, and the other end of the resistor R18 is connected to the base of the transistor Q7, and the emitter of the transistor Q7 is grounded.
4. The dual power uninterruptible switching control circuit according to claim 1, characterized in that: The MOS drive module is connected to a first drive circuit (8) and a second drive circuit (9), wherein the first drive circuit comprises a transistor Q1 and a transistor Q4, wherein the emitter of the transistor Q1 is connected to one end of the resistor R1, the collector is respectively connected to one end of the resistor R4 and one end of the resistor R9, and the base is respectively connected to the other end of the resistor R1 and one end of the resistor R3, the collector of the transistor Q4 is connected to the other end of the resistor R3, the emitter is respectively connected to one end of the resistor R13, the other end of the resistor R9 and the other end of the resistor R10 and is grounded, and the base of the transistor Q4 is respectively connected to one end of the resistor R6 and the other end of the resistor R13.
5. A dual power supply uninterruptible switching control circuit according to claim 4, characterized in that: The second driving circuit includes a transistor Q8, the collector of the transistor Q8 is respectively connected to one end of the resistor R16 and one end of the resistor R19, the emitter is connected to the other end of the resistor R16, the collector is respectively connected to one end of the resistor R20 and one end of the resistor R21, the other end of the resistor R20 is connected to one end of the resistor R22, and the other end of the resistor R21 is connected to the other end of the resistor R22 and grounded.
