A control device and method for redundant power supply system
The MCU controls the strong time-sharing input of the redundant power supply and monitors the power output voltage in real time to realize the power supply's rotation and fault information uploading, which solves the problem of redundant power supply failure and switching affecting the continuous operation of the system due to power grid fluctuations, and improves the system's reliability. Reliability and maintainability.
Patent Information
- Application Number
- CN202111558690.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-12-17
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2041-12-17
AI Technical Summary
Redundant power supplies are prone to failure simultaneously when encountering grid voltage fluctuations, and traditional redundant power supply control methods need to disconnect the system power supply when switching power supplies, affecting the continuous operation of the system.
The MCU is used to control the strong power time-sharing input of the redundant power supply. Through the power supply control circuit, output control circuit, output sampling circuit and DC-DC step-down circuit, the power supply output voltage is monitored in real time, extending the MCU working time during the switching process, and realizing the power supply Work in turns and upload fault information.
It effectively prevents redundant power supplies from being damaged simultaneously due to power grid fluctuations, ensures the health of the power supply voltage, avoids an increase in the failure rate caused by long-term operation of a single power supply, and does not cut off the system's total power supply when replacing a damaged power supply to improve system maintainability.
Smart Images

Figure CN114498892B_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of power supply, and in particular relates to a control device and method for a redundant power supply system. Background Art
[0002] For some systems that need to work uninterruptedly for a long time and have high reliability, a high-reliability power supply is often required. The design of redundant power supply is a key part and plays a vital role in high-reliability systems.
[0003] Common redundant power supply designs generally use two or more power supplies connected in series with diodes or other unidirectional control circuits and then output in parallel to the power bus. All power supplies are powered at the same time, but at a certain moment only one power supply is output to the system. When the current power supply fails, the remaining power supplies automatically power the system. In this solution, the redundant power supplies are powered on at the same time. When encountering grid voltage fluctuations, such as lightning strikes, it is very likely that the redundant power supplies will fail at the same time. Furthermore, the traditional redundant power supply control method is that one power supply works for a long time until it fails and then switches to another power supply. Since the other power supply has not worked for a long time, the power supply may have been damaged during this period. Even if the power supply is switched, the system cannot work normally. Common redundant power supply control methods require disconnecting the system power supply when replacing a failed power supply, and then re-powering it after the replacement, which affects the continuous operation of the system. Summary of the invention
[0004] The technical problem solved by the present invention is: when a redundant power supply fails due to power grid reasons, only the current power supply fails and other power supplies are not affected. At the same time, the redundant power supplies work in turn to prevent a certain power supply from failing due to long-term operation or long-term standby.
[0005] Technical solution: In order to solve the above technical problems, the technical solution adopted by the present invention is as follows:
[0006] A control device for a redundant power supply system, comprising: a power supply control circuit, an output control circuit, an output sampling circuit, an MCU and a DC-DC step-down circuit;
[0007] The power grid is connected to the power supply via the power supply control circuit to supply power to the power supply;
[0008] The MCU is connected to the power supply control circuit to control the power supply to access the power grid;
[0009] The MCU is connected to the power supply via the output control circuit, and outputs control information to the power supply to control the power supply connected to the power grid to be output to the system;
[0010] The MCU is connected to the output sampling circuit, and the output sampling circuit samples the power supply output voltage after dividing it by a precision circuit.
[0011] The DC-DC step-down circuit steps down the power supply output voltage to power the MCU. At the same time, the delayed discharge circuit is used to extend the discharge time, so that the MCU can work uninterruptedly and stably during the redundant power supply switching process.
[0012] There are multiple power supplies to form a redundant power supply system, and each power supply is configured with a corresponding power supply control circuit, an output control circuit, and an output sampling circuit.
[0013] Preferably, the MCU 6 is connected to a switch button 8, so as to realize manual switching to another power source 3 by using the button and to realize the quality test of the power source 3.
[0014] Preferably, at least two power supplies are provided, and the power supply control circuit of one of the power supplies includes a relay RE2, a relay contact buffer capacitor C8, a relay coil freewheeling diode D10, a relay conduction indicator LED4 and a switching circuit; the relay coil freewheeling diode D10 is connected in reverse parallel with the relay coil, and the power grid 1 powers on the power supply through the normally closed contact of the relay RE2, and the power supply outputs VCC1; VCC1 supplies power to MCU6 through a DC-DC step-down circuit; the output sampling circuit includes a precision resistor R6 and a resistor R11 connected in series, and VCC1 is connected to an ADC port of MCU6 after being divided by the resistor R6 and the resistor R11, and MCU6 determines the number of power supplies connected to the system through the sampling value of the ADC port.
[0015] Preferably, the switching circuit includes a transistor Q5, a resistor R22, a current limiting resistor R91 and a current limiting resistor R92, one end of the current limiting resistor R91 is connected to the base of the transistor Q5, and the other end is connected to the resistor R22, MCU6 is connected to the resistor R22 through an ordinary I / O port, one end of the current limiting resistor R92 is connected to the base of the transistor Q5, and the other end is connected to the emitter of the transistor Q5, and the collector of the transistor Q5 is connected to the pin of the relay RE2.
[0016] Preferably, the delayed discharge circuit includes an isolation diode D1, an isolation diode D2, a capacitor C4, a capacitor C6 and a capacitor charging resistor R7. The output end of the power supply is connected in parallel to the input end of the DC-DC buck circuit through the diode D1 and the diode D2. The output end of the DC-DC buck circuit 7 is connected to MCU6 to power MCU6; the output end of the DC-DC buck circuit is grounded through the capacitor C6, and the input end of the DC-DC buck circuit is grounded through the resistor R7 and the capacitor C4.
[0017] A control method for a redundant power supply system, wherein an MCU controls multiple power supplies to access a power grid in a time-sharing manner through a power supply control circuit, and the MCU monitors the voltage and working time of the power supply. If the measured actual voltage value exceeds the set overvoltage or undervoltage reference value or the working time reaches a preset value, the power supply is switched to another power supply through an output control circuit, and fault information is uploaded through RS485 communication; the MCU is powered by a DC-DC step-down circuit and a delayed discharge circuit, so that the system power supply is not cut off when the faulty power supply is replaced.
[0018] Preferably, at least two power supplies are provided, wherein the two power supplies include a first power supply and a second power supply. After the system is powered on, the coils of relay RE1 and relay RE2 are not energized, and the AC live wire ACL is connected to the redundant power supply through the normally closed contact of the relay. When one of the first power supply and the second power supply is connected to the circuit, VCC1 and VCC2 will have at least one output, and VCC1 or VCC2 will power the MCU after reducing the voltage.
[0019] VCC1 and VCC2 are connected to two ports of the MCU respectively. The MCU determines the number of power supplies connected to the system through the sampling values of these two ports. If only the first power supply is connected to the system, the MCU outputs a low level to the power supply control circuit of the first power supply, its switch circuit is not turned on, the coil of relay RE2 is not attracted, and the power grid powers on the first power supply through the normally closed contact of relay RE2. At the same time, the MCU outputs a high level to the power supply control circuit of the second power supply, its switch circuit is turned on, the coil of relay RE1 is energized, the normally closed contact is disconnected, and the second power supply is not powered on, so that only the first power supply outputs VCC1, and VCC1 powers the system.
[0020] Preferably, VCC1 is connected to an ADC port of MCU6 after voltage division by resistors R6 and R11, and VCC2 is connected to another ADC port of MCU after voltage division by resistors R17 and R19, and the number of power supplies connected to the system is sampled and determined through the two ADC ports;
[0021] The MCU gives a low level to resistor R22 through an ordinary I / O port, pulling down the base voltage of transistor Q5, so that transistor Q5 is not turned on, the coil of relay RE2 is not energized, and the power grid powers on the first power supply through the normally closed contact of relay RE2; the MCU gives a high level to resistor R23 through another ordinary I / O port, and after voltage division by current-limiting resistor R93 and resistor R94, the voltage is higher than the conduction threshold voltage of transistor Q6, transistor Q6 is turned on, the coil of relay RE1 is energized through Q6, the normally closed contact is disconnected, and the second power supply is not powered on.
[0022] As a preferred embodiment, in the system working process, the MCU compares the sampled voltage value with its preset overvoltage and undervoltage reference voltage values. If they are within the range, the first power supply continues to be used for power supply, and the working time of the first power supply is recorded. If the sampled value is not within the preset range, the second power supply is switched to power supply. The control logic is as above. When only the second power supply is connected to the power grid, the sampled voltage is detected, and the working time is recorded.
[0023] During normal operation of the system, when the power supply working time reaches a preset duration, the MCU controls the transistors Q5 and Q6 of the power supply control circuits of the first power supply and the second power supply and the output control circuits of the first power supply and the second power supply to switch the power supply.
[0024] Preferably, when the current power supply of the system is cut off and switched to another power supply, if the system still cannot work normally, the quality of the other power supply is tested by pressing button SW3. During the normal operation of the system, press button SW3, MCU6 will control transistor Q5, transistor Q6 and the output control circuit of the first power supply and the second power supply, switch to another power supply, and test the quality of the other power supply.
[0025] Beneficial effects: Compared with the prior art, the present invention has the following advantages:
[0026] The advantages of the present invention are that the MCU is used to control the strong power time-sharing input of the redundant power supply, the power supply output voltage is monitored in real time, the redundant power supply is rotated to work, the damaged power supply does not need to cut off the system main power supply, the fault information can be uploaded through RS485 communication, and the power supply can be manually switched by pressing a button. Compared with the redundant power supply being connected to the power grid at the same time, the strong power time-sharing input of the redundant power supply can effectively prevent the redundant power supply from being damaged at the same time due to power grid fluctuations, and the real-time monitoring of the power supply output voltage can ensure the health of the power supply voltage. The MCU records the working time of the current power supply, and when the time reaches the preset value, it automatically switches to another power supply to work in rotation. Compared with the traditional method, a certain power supply is allowed to work for a long time until it is damaged and then switched, which can prevent the single power supply from working for too long or the standby time, and the failure rate increases. When replacing the damaged power supply, the system main power supply does not need to be cut off, and the operation is convenient and quick. After the system power supply is switched, the MCU can upload the switching data, which is convenient for subsequent fault analysis. The present invention can also switch the working power supply by pressing a button, which is used to verify the quality of the redundant power supply, and prevent the power supply that is not powered on from being damaged. After the power supply is switched, the system still cannot work. The present invention has few circuit components, is simple and reliable, and is convenient to design. BRIEF DESCRIPTION OF THE DRAWINGS
[0027] Figure 1 It is the principle block diagram of the control device of the redundant power supply system;
[0028] Figure 2 It is the circuit schematic diagram of the control device of the redundant power supply system;
[0029] Figure 3 It is a flow chart of a control method of a redundant power supply system. DETAILED DESCRIPTION
[0030] The present invention is further illustrated below in conjunction with specific examples. The examples are implemented based on the technical solutions of the present invention. It should be understood that these examples are only used to illustrate the present invention and are not used to limit the scope of the present invention.
[0031] like Figure 1 and 2 As shown, a control device for a redundant power supply system includes a power grid 1, a power supply control circuit 2, an output control circuit 4, an output sampling circuit 5, an MCU 6, a DC-DC buck circuit 7 and a switch button 8.
[0032] The power grid 1 is connected to the power supply 3 via the power supply control circuit 2 to supply power to the power supply 3 .
[0033] Power supply control circuit 2: MCU6 is connected to the power supply control circuit 2 to control a certain power supply 3 to be connected to the power grid 1.
[0034] Output control circuit 4: MCU6 is connected to power supply 3 via output control circuit 4, and outputs control information to power supply 3 to control power supply 3 connected to power grid 1 to output to the system.
[0035] Output sampling circuit 5: MCU6 is connected to output sampling circuit 5, and output sampling circuit 5 samples the output voltage of power supply 3 to MCU6 after voltage division by precision circuit.
[0036] DC-DC buck circuit 7: after the output voltage of power supply 3 is stepped down to +5V, it supplies power to MCU6 and other circuits. At the same time, a delayed discharge circuit is used to extend the discharge time, so that MCU6 can work uninterruptedly and stably during the redundant power supply switching process.
[0037] Switch button 8: After pressing the switch button 8, manually switch to another power supply.
[0038] There are multiple power supplies 3 to form a redundant power supply system. Each power supply 3 is configured with a corresponding power supply control circuit 2 , an output control circuit 4 , and an output sampling circuit 5 .
[0039] The power supply 3 constituting the redundant power supply system is provided with at least two paths. In this embodiment, two paths are provided, namely, a first power supply 31 and a second power supply 32. The following is a detailed description taking these two paths of power supply as an example:
[0040] The AC live line (ACL) of the power grid 1 is connected to the first power supply 31 and the second power supply 32 respectively through the normally closed contacts (NC contacts, pins 3 and 5) of the relay RE2 and the relay RE1, and the AC neutral line (ACN) is directly connected to the first power supply 31 and the second power supply 32. The power grid 1 powers on the power supply through the normally closed contacts of the relay, and the first power supply 31 outputs VCC1 or the second power supply 32 outputs VCC2; VCC1 or VCC2 supplies power to the MCU 6 through the DC-DC buck circuit 7.
[0041] Power supply control circuit 2: MCU6 controls a certain power supply to access the power grid during normal operation; the power supply control circuit of the first power supply 31 includes relay RE2, relay contact buffer capacitor C8, relay coil freewheeling diode D10, relay conduction indicator LED4 and switch circuit; the relay coil freewheeling diode D10 is connected in reverse parallel with the relay coil, and the relay conduction indicator LED4 is connected in parallel with the relay coil; the relay contact buffer capacitor C8 is connected to the normally closed contact (NC contact, pin 3 and pin 5) of relay RE2; the switch circuit includes transistor Q5, resistor R22, current limiting resistor R91 and current limiting resistor R92, one end of the current limiting resistor R91 is connected to the base of the transistor Q5, and the other end is connected to the resistor R22, MCU6 is connected to the resistor R22 through an ordinary I / O port, one end of the current limiting resistor R92 is connected to the base of the transistor Q5, and the other end is connected to the emitter of the transistor Q5, and the collector of the transistor Q5 is connected to the negative pole of the coil of the relay RE2.
[0042] The power supply control circuit 2 of the second power supply 32 includes a relay RE1, a relay contact buffer capacitor C9, a relay coil freewheeling diode D11, a relay conduction indicator LED5 and a switching circuit; the relay coil freewheeling diode D11 is connected in reverse parallel to the relay coil, and the relay conduction indicator LED5 is connected in parallel to the relay coil; the relay contact buffer capacitor C9 is connected to the normally closed contact (NC contact, pin 3 and pin 5) of the relay RE1; the switching circuit includes a transistor Q6, a resistor R23, a current limiting resistor R93 and a current limiting resistor R94, one end of the current limiting resistor R93 is connected to the base of the transistor Q6, and the other end is connected to the resistor R23, MCU6 is connected to the resistor R23 through an ordinary I / O port, one end of the current limiting resistor R94 is connected to the base of the transistor Q6, and the other end is connected to the emitter of the transistor Q6, and the collector of the transistor Q6 is connected to the negative pole of the coil of the relay RE1.
[0043] Output sampling circuit 5: The output sampling circuit 5 of the first power supply 31 includes a precision resistor R6 and a resistor R11 connected in series. The resistor R6 and the resistor R11 are connected in series. One end of the resistor R6 is connected to the output end VCC1 of the first power supply 31, and the other end is connected to the resistor R11. The resistor R11 is grounded. The resistor R6 and the resistor R11 are connected to an ADC port (P1 DET pin) of MCU6. The output sampling circuit 5 of the second power supply 32 includes a precision resistor R17 and a resistor R19 connected in series. The resistor R17 and the resistor R19 are connected in series. One end of the resistor R17 is connected to the output end VCC2 of the second power supply 32, and the other end is connected to the resistor R19. The resistor R19 is grounded. The resistor R17 and the resistor R19 are connected to another ADC port (P2 DET pin) of MCU6. VCC1 is connected to an ADC port of MCU6 after voltage division by resistor R6 and resistor R11, and VCC2 is connected to another ADC port of MCU6 after voltage division by resistor R17 and resistor R19. MCU6 determines the number of power supplies connected to the system through the sampling value of the ADC port.
[0044] Delayed discharge circuit: including isolation diode D1, isolation diode D2, filtering and charging capacitor C4, filtering and charging capacitor C6 and capacitor charging resistor R7. The output end of power supply 3 is connected in parallel to the input end of DC-DC buck circuit 7 through diode D1 and diode D2. The output end of DC-DC buck circuit 7 is connected to MCU6 to power MCU6; the output end of DC-DC buck circuit 7 is grounded through capacitor C6, and the input end of DC-DC buck circuit 7 is grounded through resistor R7 and capacitor C4. In order to ensure the power switching gap, when there is no power supply, the MCU works normally until the power switching is completed, and the large capacitors C4 and C6 are used to extend the discharge time. Diodes D1 and D2 ensure that any power supply can power the MCU through the DC-DC circuit. Resistor R7 prevents excessive charging current of capacitor C4 at the moment of power-on. Diode D6 ensures that the capacitor is quickly discharged to the DC-DC circuit during the power-off gap.
[0045] MCU6 is connected with a switch button 8, which can be used to manually switch to another power supply 3 and test the quality of power supply 3. In order to prevent the system backup power supply from malfunctioning, when the current power supply of the system is powered off, the system still cannot work normally after switching to another power supply, so the button SW3 is set to test the quality of another power supply. During the normal operation of the system, press the button SW3, and the MCU will control Q5, Q6 and the output control circuits of power supplies 1 and 2, switch to another power supply, and test the quality of another power supply.
[0046] Transistors can be replaced by MOS tubes and relays, diodes can be replaced by various rectifier diodes, switching diodes and Schottky diodes, and MCUs can be replaced by various MCUs and FPGAs with ADC functions.
[0047] like Figure 3 As shown, the present invention also discloses a control method for a redundant power supply system, wherein MCU6 controls multiple power supplies 3 to access the power grid 1 in a time-sharing manner through a power supply control circuit 2, and MCU6 monitors the voltage of the power supply 3 and the working time of the power supply 3. If the measured actual voltage value exceeds the set overvoltage or undervoltage reference value or the working time reaches a preset value, the power supply is switched to another power supply 3 through the output control circuit 4, and the fault information is uploaded through RS485 communication; the MCU6 is powered by a DC-DC step-down circuit 7 and a delayed discharge circuit, so that the system power supply is not cut off when the faulty power supply is replaced.
[0048] The power supply 3 is provided with at least two circuits, wherein the two circuits of the power supply include a first power supply 31 and a second power supply 32. After the system is powered on, the coils of the relay RE1 and the relay RE2 are not energized, and the AC live wire ACL is connected to the redundant power supply through the normally closed contact of the relay. When one of the first power supply 31 and the second power supply 32 is connected to the circuit, VCC1 and VCC2 will have at least one output, and VCC1 or VCC2 is connected in parallel to the DC-DC buck circuit 7 through the diodes D1 and D2 to step down the voltage and then supply power to the MCU6;
[0049] VCC1 and VCC2 are connected to two ports of MCU6 respectively. VCC1 is connected to an ADC port of MCU6 after voltage division by resistors R6 and R11. VCC2 is connected to another ADC port of MCU6 after voltage division by resistors R17 and R19. MCU6 determines the amount of power connected to the system through the sampling values of these two ports.
[0050] If only the first power supply 31 is connected to the system, MCU6 outputs a low level to the power supply control circuit 2 of the first power supply 31, and its switch circuit is not turned on (specifically: MCU6 gives a low level to the resistor R22 through a common I / O port, pulls down the base voltage of the transistor Q5, and the transistor Q5 is not turned on), and the power grid 1 powers on the first power supply 31 through the normally closed contact of the relay RE2. At the same time, MCU6 outputs a high level to the power supply control circuit 2 of the second power supply 32, and its switch circuit is turned on (specifically: MCU6 gives a high level to the resistor R23 through another common I / O port, and after the voltage is divided by the current limiting resistor R93 and the resistor R94, the voltage is higher than the conduction threshold voltage of the transistor Q6, and the transistor Q6 is turned on), the relay RE1 coil is energized, the normally closed contact is disconnected, the second power supply 32 is not powered on, and at the same time, the +12V power passes through the LED indicator LED5, the current limiting resistor R90 and the transistor Q6 to light up the LED5. At this time, only the power supply 1 is powered on to power the system. In this way, only the first power supply 31 outputs VCC1, and VCC1 supplies power to the system.
[0051] If only the second power supply 32 is connected to the system, MCU6 gives a low level to resistor R23 through a common I / O port, pulls down the base voltage of transistor Q6, Q6 is not turned on, and the coil of relay RE1 is not attracted. In order to prevent the induced voltage generated by the RE1 coil from damaging Q5 when it is powered off, diode D11 is used for freewheeling, and the power grid powers on the second power supply 32 through the normally closed contact of relay RE1, and the second power supply 32 outputs VCC2. MCU6 gives a high level to the output control circuit of the second power supply 32 through another common I / O port, and VCC2 powers the system. MCU6 gives a high level to R22 through a common I / O port, and after the voltage is divided by the current limiting resistor R91 and the resistor R92, the voltage is higher than the conduction threshold voltage of transistor Q5, and Q5 is turned on. The coil of relay RE2 is energized through transistor Q5, and the normally closed contact is disconnected. At the same time, the +12V power supply passes through the LED indicator LED4, the current limiting resistor R89 and the transistor Q5 to light up LED4. At this time, only the second power supply 32 is powered on to supply power to the system.
[0052] If the first power supply 31 and the second power supply 32 are connected to the power grid system at the same time, the first power supply 31 is used to supply power to the system first, and the control logic is as above when only the first power supply 31 is connected to the power grid. During the system operation, the MCU compares the sampled voltage value with its preset overvoltage and undervoltage reference voltage values. If it is within the range, the first power supply 31 continues to supply power, and the working time of the first power supply 31 is recorded. If the sampled value is not within the preset range, the second power supply 32 is switched to supply power, and the control logic is as above when only the second power supply 32 is connected to the power grid, and the sampled voltage is detected, and the working time is recorded.
[0053] During the system operation, MCU6 compares the sampled voltage value with its preset overvoltage and undervoltage reference voltage values. If they are within the range, the first power supply 31 continues to supply power, and the working time of the first power supply 31 is recorded. If the sampled value is not within the preset range, the second power supply 32 is switched to supply power. The control logic is as above when only the second power supply 32 is connected to the power grid, and the sampled voltage is detected, and the working time is recorded.
[0054] During normal operation of the system, when the power supply working time reaches a preset duration, MCU6 controls transistor Q5, transistor Q6 of the power supply control circuit 2 of the first power supply 31 and the second power supply 32 and the output control circuit 4 of the first power supply 31 and the second power supply 32 to switch the power supply.
[0055] When the current power supply of the system is cut off and switched to another power supply, the system still cannot work normally, then the key SW3 is used to test the quality of the other power supply. During the normal operation of the system, press the key SW3, MCU6 will control the transistor Q5, transistor Q6 and the output control circuit 4 of the first power supply 31 and the second power supply 32, switch to another power supply, and test the quality of the other power supply.
[0056] The working principle of the present invention is as follows: after the system is powered on, the relay contact for controlling the redundant power supply to access the power grid is in a normally closed state. As long as at least one power supply is connected to the system, the MCU will be powered by the DC-DC step-down circuit. After the MCU works, the number of power supplies connected to the system is determined by detecting the output voltage of the redundant power supply, and then one of the power supplies is controlled to output to the system, and the relay contact for the other power supply to access the power grid is disconnected to ensure that only one power supply is connected to the power grid during normal operation. During the operation of the system, the MCU will calculate the working time of the current power supply and compare it with the preset time. When the preset time is reached, the system will switch the power supply and recalculate the working time, and repeat this process to allow the power supplies to work in turn. If it is detected that another power supply is not connected after the power supply is switched, the system will switch back to the power supply that worked last time to allow it to continue working, and send fault information through RS458 communication. During the operation of the system, the damaged power supply can be replaced without powering off the system. If the power switch button is pressed during operation, the system will immediately switch to another power supply for power supply.
[0057] The present invention uses MCU to control the strong power time-sharing independent power supply of redundant power supplies. During normal operation, only one power supply is connected to the power grid to protect the redundant power supplies from being damaged at the same time due to power grid reasons. The MCU sets the reference value of the power supply output voltage overvoltage and undervoltage according to the actual situation, compares the measured value with the reference value, and controls the circuit switching when the measured value exceeds the reference value to ensure the health of the system power supply. The working time of the current power supply can be recorded. When the preset value is reached, the power supply is automatically switched to allow the power supply to work in rotation, thereby increasing the service life of the system power supply. When replacing a damaged power supply, there is no need to cut off the total power supply of the system, thereby improving the maintainability of the system.
[0058] The above are only preferred embodiments of the present invention. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present invention. These improvements and modifications should also be regarded as the scope of protection of the present invention.
Claims
1. A control device for a redundant power supply system, characterized in that: include: A power supply control circuit (2), an output control circuit (4), an output sampling circuit (5), an MCU (6) and a DC-DC step-down circuit (7); The power grid (1) is connected to the power supply (3) via the power supply control circuit (2) to supply power to the power supply (3); The MCU (6) is connected to the power supply control circuit (2) to control the power supply (3) to be connected to the power grid (1); The MCU (6) is connected to the power supply (3) via the output control circuit (4), and outputs control information to the power supply (3) to control the power supply (3) connected to the power grid (1) to output to the system; The MCU (6) is connected to the output sampling circuit (5), and the output sampling circuit (5) samples the power supply output voltage to the MCU (6) after dividing the voltage; The DC-DC step-down circuit (7) steps down the output voltage of the power supply (3) to supply power to the MCU (6), and at the same time uses a delayed discharge circuit to extend the discharge time, so that the MCU (6) can work uninterruptedly and stably during the redundant power supply switching process; A plurality of power supplies (3) are provided to form a redundant power supply system, each power supply (3) being configured with a corresponding power supply control circuit (2), an output control circuit (4), and an output sampling circuit (5); the power supply (3) is provided with at least two paths, the power supply control circuit (2) of one of the power supplies (3) comprising a relay RE2, a relay contact buffer capacitor C8, a relay coil freewheeling diode D10, a relay on indicator LED4, and a switch circuit; the relay coil freewheeling diode D10 is connected in reverse parallel with the relay coil, the power grid (1) powers the power supply (3) through the normally closed contact of the relay RE2, and the power supply (3) outputs VCC1; VCC1 supplies power to the MCU (6) through a DC-DC step-down circuit (7); the output sampling circuit (5) comprises a resistor R6 and a resistor R11 connected in series, VCC1 is connected to an ADC port of the MCU (6) after being divided by the resistor R6 and the resistor R11, and the MCU (6) determines the number of power supplies connected to the system through the sampling value of the ADC port; The switch circuit comprises a transistor Q5, a resistor R22, a current limiting resistor R91 and a current limiting resistor R92, one end of the current limiting resistor R91 is connected to the base of the transistor Q5, and the other end is connected to the resistor R22, the MCU (6) is connected to the resistor R22 via a common I / O port, one end of the current limiting resistor R92 is connected to the base of the transistor Q5, and the other end is connected to the emitter of the transistor Q5, and the collector of the transistor Q5 is connected to the negative pole of the coil of the relay RE2; The delayed discharge circuit comprises an isolation diode D1, an isolation diode D2, a capacitor C4, a capacitor C6 and a capacitor charging resistor R7. The output end of the power supply (3) is connected in parallel to the input end of the DC-DC buck circuit (7) through the isolation diode D1 and the isolation diode D2. The output end of the DC-DC buck circuit (7) is connected to the MCU (6) to supply power to the MCU (6). The output end of the DC-DC buck circuit (7) is grounded through the capacitor C6, and the input end of the DC-DC buck circuit (7) is grounded through the capacitor charging resistor R7 and the capacitor C4. The MCU (6) is connected to a switching button (8) to realize manual switching to another power supply (3) by pressing the button, and to realize a good or bad test of the power supply (3).
2. A control method for a redundant power supply system, implemented based on the control device for a redundant power supply system according to claim 1, characterized in that: The MCU (6) controls the multiple power supplies (3) to access the power grid (1) in a time-sharing manner through the power supply control circuit (2), and the MCU (6) monitors the voltage of the power supply (3) and the working time of the power supply (3). If the measured actual voltage value exceeds the set overvoltage or undervoltage reference value or the working time reaches the preset value, the MCU (6) switches to another power supply (3) through the output control circuit (4), and uploads the fault information through RS485 communication; the MCU (6) is powered by the DC-DC step-down circuit (7) and the delayed discharge circuit, so that the system power supply is not cut off when the faulty power supply is replaced; When the current power supply of the system is powered off and switched to another power supply, but the system still fails to work normally, the quality of the other power supply is tested by pressing the button SW3. During the normal operation of the system, the button SW3 is pressed, and the MCU (6) controls the transistor Q5, the transistor Q6 and the output control circuit (4) of the first power supply (31) and the second power supply (32), and switches to the other power supply to test the quality of the other power supply.
3. The control method of the redundant power supply system according to claim 2, characterized in that: The power supply (3) is provided with at least two circuits, wherein the two circuits of power supply include a first power supply (31) and a second power supply (32). After the system is powered on, the coils of the relay RE1 and the relay RE2 are not energized, and the AC live wire ACL is connected to the redundant power supply through the normally closed contact of the relay. When one of the first power supply (31) and the second power supply (32) is connected to the circuit, VCC1 and VCC2 will have at least one output, and VCC1 or VCC2 will supply power to the MCU (6) after voltage reduction; VCC1 and VCC2 are connected to two ports of the MCU (6) respectively. The MCU (6) determines the number of power supplies connected to the system through the sampled values of the two ports. If only the first power supply (31) is connected to the system, the MCU (6) outputs a low level to the power supply control circuit (2) of the first power supply (31), and its switch circuit is not turned on, the coil of the relay RE2 is not attracted, and the power grid (1) powers on the first power supply (31) through the normally closed contact of the relay RE2. At the same time, the MCU (6) outputs a high level to the power supply control circuit (2) of the second power supply (32), and its switch circuit is turned on, the coil of the relay RE1 is energized, the normally closed contact is disconnected, and the second power supply (32) is not powered on, thereby achieving that only the first power supply (31) outputs VCC1, and VCC1 powers the system.
4. The control method of the redundant power supply system according to claim 3, characterized in that: VCC1 is connected to an ADC port of MCU (6) after being divided by resistors R6 and R11, and VCC2 is connected to another ADC port of MCU (6) after being divided by resistors R17 and R19. The two ADC ports are used to sample and determine the amount of power connected to the system. The MCU (6) outputs a low level to the resistor R22 through a common I / O port, thereby lowering the base voltage of the transistor Q5, so that the transistor Q5 is not turned on, the coil of the relay RE2 is not attracted, and the power grid (1) powers on the first power supply (31) through the normally closed contact of the relay RE2; the MCU (6) outputs a high level to the resistor R23 through another common I / O port, and after the voltage is divided by the current limiting resistor R93 and the resistor R94, the voltage is higher than the conduction threshold voltage of the transistor Q6, the transistor Q6 is turned on, the coil of the relay RE1 is energized through Q6, the normally closed contact is disconnected, and the second power supply (32) is not powered on.
5. The control method of the redundant power supply system according to claim 4, characterized in that: During the system operation, the MCU (6) compares the sampled voltage value with its preset overvoltage and undervoltage reference voltage values. If the values are within the range, the first power supply (31) continues to supply power, and the working time of the first power supply (31) is recorded. If the sampled value is not within the preset range, the second power supply (32) is switched to supply power. The control logic is the same as above. When only the second power supply (32) is connected to the power grid, the sampled voltage is detected, and the working time is recorded. During normal operation of the system, when the power supply operation time reaches a preset time length, the MCU (6) controls the transistors Q5 and Q6 of the power supply control circuits (2) of the first power supply (31) and the second power supply (32) and the output control circuits (4) of the first power supply (31) and the second power supply (32) to switch the power supply.
