Main and standby power automatic switching control circuit suitable for fire alarm equipment
By introducing anti-flow components and SoC circuits into the fire alarm equipment, automatic switching and real-time monitoring of the main and backup power supply are achieved, which solves the high cost and insufficient monitoring problems of traditional solutions, ensuring power supply stability and fault detection capabilities.
Patent Information
- Application Number
- CN202510539735.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2025-08-05
Smart Images

Figure CN120433401A_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the technical field of main and standby power control circuits, in particular to a main and standby power automatic switching control circuit suitable for fire alarm equipment. Background Art
[0002] Fire alarm equipment must ensure the continuity and stability of power supply so that in the event of an abnormality or interruption in the main power supply, fire alarm information can still be continuously uploaded to ensure the normal operation and timely response of the fire alarm system.
[0003] Traditional power switching solutions often rely on dedicated integrated circuits. These solutions are expensive, difficult to deploy widely, and lack flexibility, making them difficult to adapt to the complex environments of fire scenes. Furthermore, traditional power switching solutions lack real-time monitoring of the status of the primary and backup power supplies, making it impossible to promptly detect problems such as primary power removal or backup power exhaustion, impacting alarm upload and remote maintenance. Summary of the Invention
[0004] The purpose of the present invention is to provide a main and backup power automatic switching control circuit suitable for fire alarm equipment. By setting a first anti-backflow component, a second anti-backflow component, a first switch and an alarm information sending module, it can monitor the power supply status of the main power supply and the backup power supply in real time, and improve the fault detection capability. By integrating the SoC circuit in the load circuit, the SoC circuit has a built-in ADC module for real-time acquisition of the voltage status of the main power voltage and the backup power voltage. When it is detected that the main power is lower than the preset threshold, it is judged that the main power voltage is in a disconnected or power-off state, and the system is currently powered by the backup power; when it is detected that the backup voltage drops to the warning threshold, it indicates that the power is exhausted, and the backup power alarm is triggered.
[0005] To achieve the above object, the present invention provides the following technical solutions:
[0006] A main-backup power automatic switching control circuit suitable for fire alarm equipment includes a main power supply and a backup power supply, the output end of the main power supply is connected to the input end of a first anti-backflow component, the first anti-backflow component is used to limit the backflow current into the main power supply to prevent damage to the main power supply; the output end of the backup power supply is connected to the input end of a first switch, the output end of the first switch is connected to the input end of a second anti-backflow component, the second anti-backflow component is used to limit the backflow current into the backup power supply, the output ends of the first anti-backflow component and the second anti-backflow component are both connected to the first input end of a load circuit, the output end of the load circuit is connected to an alarm information sending module, the alarm information sending module is used to alarm when the main power supply is unplugged or the power of the backup power supply is exhausted; the output end of the backup power supply is connected to the first end of a pull-up resistor R1 and the first end of a second resistor R2, the second end of the pull-up resistor R1 is connected to the drain of a second transistor Q2, and the second end of the second resistor R2 is connected to the gate of the second transistor Q2 and a port control circuit The output end of the second transistor Q2 is connected to the ground, the input end of the port control circuit is connected to the input / output port, the output end of the port control circuit is connected to the gate of the second transistor Q2 and the output end of the emitter junction loop, and the input end of the emitter junction loop is connected to the main power voltage. By setting the control circuit, automatic switching between the main power supply and the backup power supply can be achieved, while ensuring the safety and stability of the circuit. By setting the main power supply, the backup power supply, the anti-backflow component, the load circuit and the alarm module, the first anti-backflow component and the second anti-backflow component can be used to prevent the current from flowing back into the main power supply or the backup power supply, thereby avoiding possible damage to the main power supply and / or the backup power supply; by setting the pull-up resistor, the transistor and the port control circuit, the power supply status can be monitored and switched. When the main power supply is unplugged or the backup power supply is exhausted, the alarm information sending module will sound an alarm to remind relevant personnel to deal with it in time. Among them, the main power supply is the preferred power supply source in the control circuit, and the main power supply is AC power or other stable power supply. Under normal circumstances, the main power supply provides power support for the equipment; the backup power supply is a backup power source that is started when the main power supply fails or is disconnected to ensure the continuous operation of the equipment. The backup power supply includes batteries or generators.
[0007] As a further solution of the present invention: a SoC circuit is integrated on the load circuit.
[0008] As a further solution of the present invention: the first backflow prevention component is a first diode D1, the anode of the first diode D1 is connected to the output end of the main power supply, and the cathode of the first diode D1 is connected to the input end of the load circuit.
[0009] As a further solution of the present invention: the first switch is a first transistor Q1, the first transistor Q1 is a PMOS tube, and the pull-up resistor R1 is used to pull up the voltage of the gate of the first transistor Q1 to the output backup power voltage V of the backup power supply. BACK, the second end of the pull-up resistor R1 is connected to the gate of the first transistor Q1, and the source of the first transistor Q1 is connected to the output end of the backup power supply;
[0010] When the main power supply outputs the main voltage V MAIN When the first diode D1 is turned on, the main power supply supplies power to the load circuit. At this time, the first transistor Q1 is in the off state. When the main power supply stops outputting the main voltage V MAIN When , the first transistor Q1 is turned on, and the standby power supply supplies power to the load circuit.
[0011] As a further solution of the present invention: the second backflow prevention component is a second diode D2, the anode of the second diode D2 is connected to the drain of the first transistor Q1, and the cathode of the second diode D2 is connected to the first input end of the load circuit.
[0012] As a further solution of the present invention: the port control circuit includes a first transistor Q3, the first transistor Q3 is an NPN transistor, the collector of the first transistor Q3 is connected to the second end of the second resistor R2 and the gate of the second transistor Q2, and the gate voltage of the second transistor Q2 is pulled up to V by the second resistor R2. BACK The emitter of the first transistor Q3 is grounded, the base of the first transistor Q3 is connected to the second end of the third resistor R3 and the first end of the fifth resistor R5, the first end of the third resistor R3 is connected to the input / output port, the second end of the fifth resistor R5 is grounded, the second transistor Q2 is an NMOS transistor, the base of the first transistor Q3 receives the GPIO signal sent by the port control circuit through the third resistor R3, and the base of the first transistor Q3 is grounded through the fifth resistor R5, which can ensure that when there is no GPIO signal input, the base level of the first transistor Q3 can be maintained in a stable state.
[0013] As a further solution of the present invention: the input / output port is a GPIO port.
[0014] As a further solution of the present invention: the emitter junction circuit includes a second transistor Q4, the collector of the second transistor Q4 is connected to the second end of the second resistor R2, the emitter of the second transistor Q4 is grounded, the base of the second transistor Q4 is connected to the anode of the Zener diode D3, the cathode of the Zener diode D3 is connected to the second end of the fourth resistor R4, and the first end of the fourth resistor R4 is connected to the output end of the main power supply.
[0015] As a further solution of the present invention: the alarm information sending module is internally integrated with a gateway module, the gateway module includes 4G, WiFi and Ethernet, and the alarm information sending module sends the alarm information to the remote server through the gateway module.
[0016] As a further solution of the present invention: the load circuit is built-in with a first voltage acquisition module and a second voltage acquisition module, the first voltage acquisition module is used to acquire the voltage of the main power supply, and the second voltage acquisition module is used to acquire the voltage of the backup power supply. When the voltage acquired by the first voltage acquisition module and / or the second voltage acquisition module exceeds a preset value range, the alarm information sending module will be triggered to send an alarm message to the server.
[0017] As a further solution of the present invention: the first voltage acquisition module and the second voltage acquisition module are both ADC modules.
[0018] When the main power supply is outputting the main power voltage, the second transistor Q4 is turned on, the second transistor Q2 is turned off, and the first transistor Q1 is turned off. At this time, whether the GPIO signal is high or low, it will not affect the disconnection state of the first transistor Q1; when the main power supply stops outputting the main power voltage and is in the disconnection state, the second transistor Q4 is turned off, the second transistor Q2 is turned on, and the first transistor Q1 is turned on.
[0019] After the alarm information sending module uploads the alarm information to the server, the GPIO signal turns on the first transistor Q3, lowering the gate voltage of the second transistor Q2, and the first transistor Q1 is turned off, turning off the backup power supply.
[0020] Compared with the prior art, the present invention has the following beneficial effects:
[0021] 1. In the present invention, when the main power supply is cut off due to an abnormality, the control circuit will automatically switch to the backup power supply to supply power to the load circuit, and at the same time send an alarm message to the server through the alarm message sending module, which can ensure that the abnormality of the main power supply is reported to the server.
[0022] 2. In the present invention, by setting a first anti-backflow component, a second anti-backflow component, a first switch and an alarm information sending module, the power supply status of the main power supply and the backup power supply can be monitored in real time, and the fault detection capability can be improved. By setting a voltage regulator diode at the output end of the main power supply as a protection circuit, the stability of the main power supply can be ensured and the anti-interference capability of the control circuit can be improved.
[0023] 3. In the present invention, by connecting discrete components in the control circuit, it is beneficial to reduce the cost of the control circuit, facilitate production and maintenance, and improve the automatic switching and energy-saving control of the main power supply and the backup power supply. BRIEF DESCRIPTION OF THE DRAWINGS
[0024] Figure 1 This is a structural diagram of the control circuit module of the present invention;
[0025] Figure 2 FIG. 4 is a structural diagram of an embodiment of the control circuit of the present invention. DETAILED DESCRIPTION
[0026] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0027] Example:
[0028] See also Figure 1 In an embodiment of the present invention, a main power supply and backup power supply automatic switching control circuit for fire alarm equipment includes a main power supply and a backup power supply, wherein the output end of the main power supply is connected to the input end of a first backflow prevention component, and the first backflow prevention component is used to limit the backflow current flowing into the main power supply to prevent damage to the main power supply;
[0029] The output end of the backup power supply is connected to the input end of the first switch, the output end of the first switch is connected to the input end of the second anti-backflow component, the second anti-backflow component is used to limit the backflow current flowing into the backup power supply, the output ends of the first anti-backflow component and the second anti-backflow component are both connected to the first input end of the load circuit, the output end of the load circuit is connected to the alarm information sending module, and the alarm information sending module is used to alarm when the main power supply is unplugged or the power of the backup power supply is exhausted;
[0030] The output end of the backup power supply is connected to the first end of the pull-up resistor R1 and the first end of the second resistor R2, the second end of the pull-up resistor R1 is connected to the drain of the second transistor Q2, the second end of the second resistor R2 is connected to the gate of the second transistor Q2 and the output end of the port control circuit, the source of the second transistor Q2 is grounded, the input end of the port control circuit is connected to the input / output port, the output end of the port control circuit is connected to the gate of the second transistor Q2 and the output end of the emitter junction loop, and the input end of the emitter junction loop is connected to the main power voltage. By setting up the control circuit, automatic switching between the main power supply and the backup power supply can be achieved while ensuring the safety and stability of the circuit;
[0031] By setting up a main power supply, a backup power supply, a backflow prevention component, a load circuit, and an alarm module, the first backflow prevention component and the second backflow prevention component can prevent the current from flowing back into the main power supply or the backup power supply, thereby avoiding possible damage to the main power supply and / or the backup power supply; by setting up a pull-up resistor, a transistor, and a port control circuit, the power supply status can be monitored and switched. When the main power supply is unplugged or the backup power supply is exhausted, the alarm information sending module will sound an alarm to remind relevant personnel to deal with it in time. Among them, the main power supply is the preferred power source in the control circuit. The main power supply is the mains electricity or other stable power source. Under normal circumstances, the main power supply provides power support for the equipment; the backup power supply is a backup power source that starts when the main power supply fails or is disconnected to ensure the continuous operation of the equipment. The backup power supply includes a battery or a generator.
[0032] Preferably, see Figure 2 , SoC circuit is integrated on the load circuit.
[0033] Preferably, the first backflow prevention component is a first diode D1 , an anode of the first diode D1 is connected to the output end of the main power supply, and a cathode of the first diode D1 is connected to the input end of the load circuit.
[0034] Preferably, the first switch is a first transistor Q1, which is a PMOS tube, and the pull-up resistor R1 is used to pull up the voltage of the gate of the first transistor Q1 to the output backup power voltage V BACK , the second end of the pull-up resistor R1 is connected to the gate of the first transistor Q1, and the source of the first transistor Q1 is connected to the output end of the backup power supply;
[0035] When the main power supply outputs the main voltage V MAIN When the first diode D1 is turned on, the main power supply supplies power to the load circuit. At this time, the first transistor Q1 is in the off state. When the main power supply stops outputting the main voltage V MAIN When , the first transistor Q1 is turned on, and the standby power supply supplies power to the load circuit.
[0036] Preferably, the second backflow prevention component is a second diode D2 , an anode of the second diode D2 is connected to the drain of the first transistor Q1 , and a cathode of the second diode D2 is connected to the first input end of the load circuit.
[0037] Preferably, the port control circuit includes a first transistor Q3, which is an NPN transistor. The collector of the first transistor Q3 is connected to the second end of the second resistor R2 and the gate of the second transistor Q2. The gate voltage of the second transistor Q2 is pulled up to V by the second resistor R2. BACKThe emitter of the first transistor Q3 is grounded, the base of the first transistor Q3 is connected to the second end of the third resistor R3 and the first end of the fifth resistor R5, the first end of the third resistor R3 is connected to the input / output port, the second end of the fifth resistor R5 is grounded, the second transistor Q2 is an NMOS transistor, the base of the first transistor Q3 receives the GPIO signal sent by the port control circuit through the third resistor R3, and the base of the first transistor Q3 is grounded through the fifth resistor R5, which can ensure that when there is no GPIO signal input, the base level of the first transistor Q3 can be maintained in a stable state.
[0038] Preferably, the input / output port is a GPIO port.
[0039] Preferably, the emitter junction circuit includes a second transistor Q4, the collector of the second transistor Q4 is connected to the second end of the second resistor R2, the emitter of the second transistor Q4 is grounded, the base of the second transistor Q4 is connected to the anode of the Zener diode D3, the cathode of the Zener diode D3 is connected to the second end of the fourth resistor R4, and the first end of the fourth resistor R4 is connected to the output end of the main power supply.
[0040] Preferably, the alarm information sending module sends the alarm information to the remote server through the gateway module.
[0041] Preferably, the load circuit has a built-in first voltage acquisition module and a second voltage acquisition module. The first voltage acquisition module is used to collect the voltage of the main power supply, and the second voltage acquisition module is used to collect the voltage of the backup power supply. When the voltage collected by the first voltage acquisition module and / or the second voltage acquisition module exceeds the preset value range, the alarm information sending module will be triggered to send an alarm message to the server.
[0042] Preferably, the first voltage acquisition module and the second voltage acquisition module are both ADC modules.
[0043] When the main power supply is outputting the main power voltage, the second transistor Q4 is turned on, the second transistor Q2 is turned off, and the first transistor Q1 is turned off. At this time, whether the GPIO signal is high or low, it will not affect the disconnection state of the first transistor Q1; when the main power supply stops outputting the main power voltage and is in the disconnection state, the second transistor Q4 is turned off, the second transistor Q2 is turned on, and the first transistor Q1 is turned on.
[0044] After the alarm information sending module uploads the alarm information to the server, the GPIO signal turns on the first transistor Q3, lowering the gate voltage of the second transistor Q2, and the first transistor Q1 is turned off, turning off the backup power supply.
[0045] Under normal conditions, the main power supply outputs a main power voltage VMAI N, which is supplied to the load circuit via the first diode D1. The first diode D1 ensures that the load circuit is directly powered when the main power voltage is present and prevents the backup current generated by the backup power voltage from flowing back into the main power supply. Simultaneously, the main power voltage causes the first transistor Q4 to conduct through the emitter junction circuit, thereby lowering the gate level of the second transistor Q2 at the control end and keeping the PMOS first transistor Q1 off, thereby preventing the backup power supply from supplying power to the load circuit. At this time, because the first transistor Q4 conducts when the main power voltage is present, lowering the gate level of the second transistor Q2, and the third transistor Q3 employs an open-collector connection, the GPIO signal state does not affect the conduction state of the first transistor Q1 when the main power voltage is present, ensuring that the main power supply is not affected by the GPIO signal when it is on.
[0046] When the main power voltage is disconnected due to power outage or power failure, the first transistor Q4 is turned off, the control terminal is pulled up and turned on, prompting the first transistor Q1 to turn on, realizing automatic switching to the backup power supply. At this time, the first transistor Q3 can be controlled by the GPIO signal to pull down the gate level of the second transistor Q2, and the alarm information is uploaded to the server or cloud through the alarm information sending module. After the alarm information is uploaded, the second transistor Q2 is turned off, thereby disconnecting the first transistor Q1, realizing timely shutdown of the backup power supply to achieve energy saving.
[0047] The SoC circuit is integrated into the load circuit. The SoC circuit has a built-in ADC module for real-time acquisition of the voltage status of the main power supply and the backup power supply. The ADC module can accurately determine: when the main power supply is detected to be lower than the preset threshold, it is determined that the main power supply voltage is disconnected or in a power outage state, and the system is currently powered by the backup power supply; when the backup power supply voltage drops to the warning threshold, it indicates that the battery is exhausted and triggers the backup power alarm;
[0048] The gateway module is used to upload abnormal status and alarm signals collected by the SoC circuit to the cloud or server in real time, facilitating remote monitoring and troubleshooting, ensuring that any abnormal situation at the fire scene can be quickly notified to the monitoring center.
[0049] The above are only preferred specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any technician familiar with this technical field, within the technical scope disclosed by the present invention, who makes equivalent replacements or changes based on the technical solutions and inventive concepts of the present invention, should be covered by the scope of protection of the present invention.
Claims
1. A main power supply and backup power supply automatic switching control circuit suitable for fire alarm equipment, including a main power supply and a backup power supply, characterized in that: The output end of the main power supply is connected to the input end of the first backflow prevention component, and the first backflow prevention component is used to limit the backflow current flowing into the main power supply; The output end of the backup power supply is connected to the input end of the first switch, the output end of the first switch is connected to the input end of the second anti-backflow component, the second anti-backflow component is used to limit the backflow current flowing into the backup power supply, the output ends of the first anti-backflow component and the second anti-backflow component are both connected to the first input end of the load circuit, the output end of the load circuit is connected to the alarm information sending module, and the alarm information sending module is used to alarm when the main power supply is unplugged or the power of the backup power supply is exhausted; The output end of the backup power supply is connected to the first end of the pull-up resistor and the first end of the second resistor, the second end of the pull-up resistor is connected to the drain of the second transistor, the second end of the second resistor is connected to the gate of the second transistor and the output end of the port control circuit, the source of the second transistor is grounded, the input end of the port control circuit is connected to the input / output port, the output end of the port control circuit is connected to the gate of the second transistor and the output end of the emitter junction loop, and the input end of the emitter junction loop is connected to the main power voltage.
2. The main and standby power automatic switching control circuit for fire alarm equipment according to claim 1, characterized in that: The first backflow prevention component is a first diode, the anode of the first diode is connected to the output end of the main power supply, and the cathode of the first diode is connected to the input end of the load circuit.
3. The main and standby power automatic switching control circuit for fire alarm equipment according to claim 2, characterized in that: The first switch is a first transistor, the pull-up resistor is used to pull up the voltage of the gate of the first transistor to the output backup power voltage of the backup power supply, the second end of the pull-up resistor is connected to the gate of the first transistor, and the source of the first transistor is connected to the output end of the backup power supply; When the main power supply outputs the main voltage V MAIN When the first diode D1 is turned on, the main power supply supplies power to the load circuit. At this time, the first transistor Q1 is in the off state. When the main power supply stops outputting the main voltage V MAIN When , the first transistor Q1 is turned on, and the standby power supply supplies power to the load circuit.
4. The main and standby power automatic switching control circuit for fire alarm equipment according to claim 3, characterized in that: The second backflow prevention component is a second diode, an anode of the second diode is connected to the drain of the first transistor, and a cathode of the second diode is connected to the first input end of the load circuit.
5. The main and standby power automatic switching control circuit for fire alarm equipment according to claim 4, characterized in that: The port control circuit includes a first transistor, a collector of the first transistor Q3 is connected to the second end of the second resistor and the gate of the second transistor, an emitter of the first transistor Q3 is grounded, a base of the first transistor Q3 is connected to the second end of the third resistor and the first end of the fifth resistor, the first end of the third resistor is connected to the input / output port, and the second end of the fifth resistor is grounded.
6. The main and standby power automatic switching control circuit for fire alarm equipment according to claim 5, characterized in that: The input / output port is a GPIO port.
7. The main and standby power automatic switching control circuit for fire alarm equipment according to claim 1, characterized in that: The emitter junction circuit includes a second triode, the collector of the second triode is connected to the second end of the second resistor, the emitter of the second triode is grounded, the base of the second triode is connected to the anode of the Zener diode, the cathode of the Zener diode is connected to the second end of the fourth resistor, and the first end of the fourth resistor is connected to the output end of the main power supply.
8. The main and standby power automatic switching control circuit for fire alarm equipment according to claim 1, characterized in that: The alarm information sending module is internally integrated with a gateway module, and the alarm information sending module sends the alarm information to a remote server via the gateway module.
9. The main and standby power automatic switching control circuit for fire alarm equipment according to claim 1, characterized in that: The load circuit has a built-in first voltage acquisition module and a second voltage acquisition module. The first voltage acquisition module is used to acquire the voltage of the main power supply, and the second voltage acquisition module is used to acquire the voltage of the backup power supply.
10. The main and standby power automatic switching control circuit for fire alarm equipment according to claim 1, characterized in that: The first voltage acquisition module and the second voltage acquisition module are both ADC modules.
Citation Information
Patent Citations
Standby power system of vehicle-mounted terminal
CN118214137A
Dual power supply automatic switch -over module
CN205248902U
Rapid discharging circuit
CN220210242U
Electronic equipment and power supply circuit thereof
CN220254178U
Redundant power supply switching circuit
CN221487425U