Disclosure of Invention
In view of this, embodiments of the present invention provide a power switching device to solve the problem in the prior art that when a main power source or a standby power source fails, the entire circuit board needs to be replaced, which results in high cost.
The embodiment of the invention provides a power supply switching device, which comprises: a master power module and at least one slave power module;
the master power supply module and the slave power supply module are both connected with an external load, the master power supply module is connected with the slave power supply module, and all the slave power supply modules are mutually connected;
the main power supply module is used for supplying power to an external load, monitoring whether the main power supply module has a fault or not, and if the main power supply module monitors that the main power supply module has the fault, sending a fault signal to each slave power supply module;
the target slave power supply module is used for monitoring the output parameter of the main power supply module and the output parameter of the target slave power supply module after receiving the fault signal, and starting to supply power to an external load and simultaneously sending a power supply stopping signal to the main power supply module if the output synchronization of the main power supply module and the output of the target slave power supply module is determined according to the output parameter of the main power supply module and the output parameter of the target slave power supply module; the target slave power supply module is any one of the at least one slave power supply module;
the main power supply module is also used for stopping supplying power to the external load after receiving the power supply stopping signal.
Optionally, the master power module is further configured to send a zero-crossing trigger signal to each slave power module when the output voltage of the master power module is monitored to be 0;
the target slave power supply module is also used for starting to supply power to the external load if the external load is not supplied with power after receiving the zero-crossing trigger signal.
Optionally, the target slave power module is further configured to, after receiving the zero-crossing trigger signal, detect whether the output voltage of the master power module is 0 if the external load is not supplied with power, and start to supply power to the external load if the output voltage of the master power module is detected to be 0.
Optionally, the output parameter of the main power supply module includes an output phase of the main power supply module and/or an output voltage of the main power supply module; the output parameters of the self-body comprise the output phase of the self-body and/or the output voltage of the self-body;
the target slave power supply module is further used for determining that the output of the main power supply module is synchronous with the output of the target slave power supply module when the absolute value of the difference value between the output phase of the main power supply module and the output phase of the target slave power supply module is not larger than the preset phase difference value and/or the absolute value of the difference value between the output voltage of the main power supply module and the output voltage of the target slave power supply module is not larger than the preset voltage difference value.
Optionally, the main power module is further configured to monitor an input parameter of the main power module and an output parameter of the main power module, and determine that the main power module is faulty if the input parameter of the main power module exceeds a first preset range and/or the output parameter of the main power module exceeds a second preset range.
Optionally, the target slave power supply module is a highest priority slave power supply module of the at least one slave power supply module.
Optionally, the power switching device further comprises a bus;
the main power supply module and each slave power supply module are connected through a bus.
Optionally, the output end of the master power module is connected with the output ends of the slave power modules and then connected with an external load;
when the main power supply module supplies power to an external load, the slave power supply module determines the output parameters of the main power supply module by detecting the output parameters of the output end of the slave power supply module.
Optionally, the main power supply module comprises a first control unit and a first switch unit; the slave power supply module comprises a second control unit and a second switch unit;
the first control unit is respectively connected with the first switch unit and the second control unit, the second switch unit is respectively connected with the second control unit and the external load, and the first switch unit is connected with the external load;
the first control unit is used for monitoring whether the main power supply module fails or not, and if the main power supply module fails, sending a failure signal to the second control units included in the slave power supply modules;
the target second control unit is used for monitoring the output parameters of the main power supply module and the output parameters of the target slave power supply module after receiving the fault signal, and controlling the target second switch unit to be switched on and simultaneously sending a power supply stopping signal to the first control unit if the output synchronization of the main power supply module and the target slave power supply module is determined according to the output parameters of the main power supply module and the output parameters of the target slave power supply module; the target slave power supply module comprises a target second control unit and a target second switch unit;
the first control unit is also used for controlling the first switch unit to be switched off after receiving the power supply stopping signal.
Optionally, the master power module further includes a first display screen connected to the first control unit, and the slave power module further includes a second display screen connected to the second control unit;
the first display screen is used for receiving and displaying the monitoring parameters sent by the first control unit, acquiring the priority of the main power supply module and the priority of each slave power supply module which are input from the outside, and sending the priority of the main power supply module and the priority of each slave power supply module to the first control unit;
the second display screen is used for receiving and displaying the monitoring parameters sent by the corresponding second control unit, acquiring the priority of the main power supply module and the priority of each slave power supply module which are input from the outside, and sending the priority of the main power supply module and the priority of each slave power supply module to the corresponding second control unit.
Compared with the prior art, the embodiment of the invention has the following beneficial effects: the power supply switching device provided by the embodiment of the invention comprises a main power supply module and at least one slave power supply module, wherein when the main power supply module has no fault, the main power supply module supplies power to an external load; when the main power supply module breaks down, the secondary power supply module determines whether to start to supply power to an external load or not by monitoring the main power supply module and output parameters of the secondary power supply module, and sends a power supply stopping signal to the main power supply module when determining that the external load supplies power; and the main power supply module stops supplying power to the external load according to the power supply stopping signal. The main power supply module and each slave power supply module in the power supply switching device are independent bodies, when any power supply module breaks down, only the power supply module with the fault needs to be replaced, the whole power supply switching device does not need to be replaced, and the cost can be saved and the power supply switching device is flexible in design of flattening.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system structures, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. It will be apparent, however, to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
In order to explain the technical means of the present invention, the following description will be given by way of specific examples.
Fig. 1 is a schematic structural diagram of a power switching device according to an embodiment of the present invention, and only a portion related to the embodiment of the present invention is shown for convenience of description. As shown in fig. 1, the power switching apparatus may include: a master power supply module 10 and at least one slave power supply module 20;
the master power supply module 10 and the slave power supply module 20 are both connected with an external load 30, the master power supply module 10 is connected with the slave power supply module 20, and the slave power supply modules 20 are connected with each other;
the master power module 10 is configured to supply power to the external load 30, monitor whether a fault occurs in the master power module, and send a fault signal to each slave power module 20 if the fault occurs in the master power module;
the target slave power module 20 is configured to monitor an output parameter of the master power module 10 and an output parameter of the target slave power module after receiving the fault signal, and if it is determined that the master power module 10 and the output of the target slave power module are synchronous according to the output parameter of the master power module 10 and the output parameter of the target slave power module, start to supply power to the external load 30, and send a power supply stop signal to the master power module 10; the target slave power supply module 20 is any one of the at least one slave power supply module 20;
the main power supply module 10 is further configured to stop supplying power to the external load 30 after receiving the power supply stop signal.
In the embodiment of the present invention, it is preferable that the main power module 10 supplies power to the external load 30, and when the main power module 10 fails, any one of the slave power modules 20 is selected to supply power to the external load 30, so that it can be ensured that the external load 30 is not powered off.
Wherein, when the power switching apparatus includes only one slave power module 20, each slave power module 20 refers to the one slave power module 20 included in the power switching apparatus, and the target slave power module 20 is the slave power module 20; when the power switching device includes two or more slave power modules 20, the target slave power module 20 is any one of the two or more slave power modules 20.
Each power supply module can have the same function and can monitor whether the power supply module has a fault or not, and if the power supply module has the fault, fault signals are sent to other power supply modules; the output parameters of other power supply modules can be monitored; it is possible to monitor whether the output parameters of other power modules are synchronized with the output parameters of the power modules themselves, and so on. Wherein each power supply module comprises a master power supply module 10 and at least one slave power supply module 20.
When the master power supply module 10 detects a failure in itself while supplying power to the external load 30, it transmits a failure signal to each of the slave power supply modules 20. After receiving the fault signal, one of the slave power modules 20 monitors whether its output is synchronous with the output of the master power module 10, and if so, starts to supply power to the external load 30 and simultaneously instructs the master power module 10 to stop supplying power to the load; the other slave power supply modules 20 do not perform any action.
Optionally, before monitoring whether the output of the slave power module 20 is synchronous with the output of the master power module 10, the slave power module 20 first determines whether a fault exists, and if the fault exists, no action is performed, and the other slave power modules 20 supply power to the external load 30; if there is no fault, the output of the main power supply module 10 is monitored for synchronization with the output of the main power supply module, thereby determining when to supply power to the external load 30.
Alternatively, the master power module 10 and each slave power module 20 may be externally connected with different power supplies to supply power to each.
As can be seen from the above description, the power switching apparatus provided by the embodiment of the present invention includes a master power module 10 and at least one slave power module 20, and when there is no fault in the master power module 10, the master power module 10 supplies power to an external load 30; when the main power supply module 10 fails, the slave power supply module 20 determines whether to start to supply power to the external load 30 by monitoring the output parameters of the main power supply module 10 and the slave power supply module, and when determining to supply power to the external load 30, sends a power supply stop signal to the main power supply module 10; the main power supply module 10 stops supplying power to the external load 30 according to the power supply stop signal. The main power module 10 and each slave power module 20 in the power switching device are independent bodies, when any power module breaks down, only the power module with the fault needs to be replaced, the whole power switching device does not need to be replaced, and the flat design is adopted, so that the cost can be saved, and the power switching device is flexible.
In an embodiment of the present invention, the master power module 10 is further configured to send a zero-crossing trigger signal to each slave power module 20 when monitoring that the output voltage of the master power module is 0;
the target slave power supply module 20 is further configured to start supplying power to the external load 30 if the external load 30 is not supplied with power after receiving the zero-crossing trigger signal.
The master power module 10 monitors the output voltage of itself in real time after monitoring the fault of itself, and when monitoring that the output voltage of itself is 0 or near 0, sends a zero-crossing trigger signal to each slave power module 20. The target starts supplying power to the external load 30 from the power supply module 20 after receiving the zero-crossing trigger signal.
When the target slave power supply module 20 monitors that its output is out of synchronization with the main power supply output, it starts to supply power to the external load 30 when the output of the main power supply module 10 becomes 0.
In an embodiment of the present invention, the target slave power module 20 is further configured to detect whether the output voltage of the master power module 10 is 0 if the external load 30 is not powered after receiving the zero-crossing trigger signal, and start to power the external load 30 if the output voltage of the master power module 10 is detected to be 0.
After receiving the zero-crossing trigger signal, the target slave power module 20 may detect the output of the master power module 10 to further determine whether the output of the master power module 10 is 0, so as to improve the accuracy.
Optionally, when monitoring that the failure of the master power module 10 is removed, the master power module 10 may send a failure removal signal to each slave power module 20, and monitor whether the output parameter of the master power module is synchronous with the output parameter of the target slave power module, and if so, start to supply power to the external load, and send a power supply stop signal to the target slave power module; and if the target slave power supply module is out of synchronization, starting to supply power to the external load after detecting that the output voltage of the target slave power supply module is 0. And the target slave power supply module stops supplying power to the external load after receiving the power supply stop signal. And if the target does not receive the power supply stopping signal from the power supply module but receives the fault removing signal, stopping supplying power to the external load until the output voltage is 0.
In one embodiment of the present invention, the output parameter of the main power supply module 10 includes an output phase of the main power supply module 10 and/or an output voltage of the main power supply module 10; the output parameters of the self-body comprise the output phase of the self-body and/or the output voltage of the self-body;
the target slave power supply module 20 is further configured to determine that the output of the master power supply module 10 is synchronous with the output of the target slave power supply module when it is monitored that the absolute value of the difference between the output phase of the master power supply module 10 and the output phase of the target slave power supply module is not greater than the preset phase difference, and/or the absolute value of the difference between the output voltage of the master power supply module 10 and the output voltage of the target slave power supply module is not greater than the preset voltage difference.
In an embodiment of the present invention, the output parameter may include an output phase, and when an absolute value of a difference between the output phase of the master power source module 10 and the output phase of the target slave power source module 20 is not greater than a preset phase difference, it is determined that the outputs of the master power source module 10 and the target slave power source module 20 are synchronized.
The output parameter may include an output voltage, and when an absolute value of a difference between the output voltage of the main power source module 10 and the output voltage of the target slave power source module 20 is not greater than a preset voltage difference, it is determined that the outputs of the main power source module 10 and the target slave power source module 20 are synchronized.
The output parameters may include an output phase and an output voltage, and when an absolute value of a difference between the output phase of the main power source module 10 and the output phase of the target slave power source module 20 is not greater than a preset phase difference, and an absolute value of a difference between the output voltage of the main power source module 10 and the output voltage of the target slave power source module 20 is not greater than a preset voltage difference, it is determined that the outputs of the main power source module 10 and the target slave power source module 20 are synchronized.
The preset phase difference value and the preset voltage difference value are smaller values and can be set according to actual requirements.
In an embodiment of the present invention, the main power module 10 is further configured to monitor an input parameter of the main power module and an output parameter of the main power module, and determine that the main power module is faulty if the input parameter of the main power module exceeds a first preset range and/or the output parameter of the main power module exceeds a second preset range.
The input parameter may include at least one of input current, input voltage and the like; the output parameter may include at least one of an output current, an output voltage, and an output phase.
Whether the input parameter or the output parameter is the input parameter or the output parameter, a normal range exists, and when the normal range is exceeded, the fault of the self is judged.
The first preset range and the second preset range may be set to specific ranges according to settings of the input parameter and the output parameter, respectively, and are not specifically limited herein.
In one embodiment of the present invention, the target slave power module 20 is the highest priority slave power module 20 of the at least one slave power module 20.
In the embodiment of the present invention, the slave power modules 20 have priorities, and the external load 30 is supplied with power by the priority with the highest priority.
Preferably, the target slave power supply module 20 is the slave power supply module 20 with the highest priority among the non-failed slave power supply modules 20 among the at least one slave power supply module 20.
In one embodiment of the invention, the power switching device further comprises a bus;
the master power supply module 10 and each slave power supply module 20 are connected by a bus.
In one embodiment of the invention, the bus is an RS485 bus.
In the embodiment of the invention, the power supply modules are cascaded through the RS485 bus, so that communication can be carried out among the power supply modules, and when one power supply module fails, other power supply modules can supply power to the failed power supply module, so that the controller in the power supply module can continue to work.
In one embodiment of the present invention, the output terminal of the master power module 10 and the output terminals of the slave power modules 20 are connected together and then connected to the external load 30;
when the main power supply module 10 supplies power 30 to the external load, the slave power supply module 20 determines an output parameter of the main power supply module 10 by detecting an output parameter of its output terminal.
When the main power module 10 supplies power to the external load 30, the secondary power module 20 is not connected to the external load 30, and at this time, the output parameter of the output terminal of the secondary power module 20 detected by the secondary power module 20 is the output parameter of the main power module 10.
In one embodiment of the present invention, the main power supply module 10 includes a first control unit 11 and a first switch unit 12; the slave power supply module 20 includes a second control unit 21 and a second switching unit 22;
the first control unit 11 is respectively connected with the first switch unit 12 and the second control unit 21, the second switch unit 22 is respectively connected with the second control unit 21 and the external load 30, and the first switch unit 12 is connected with the external load 30;
the first control unit 11 is configured to monitor whether the master power module 10 fails, and if it is monitored that the master power module 10 fails, send a failure signal to the second control unit 21 included in each slave power module 20;
the target second control unit 21 is configured to monitor an output parameter of the master power source module 10 and an output parameter of the target slave power source module 20 after receiving the fault signal, and if it is determined that the outputs of the master power source module 10 and the target slave power source module 20 are synchronous according to the output parameter of the master power source module 10 and the output parameter of the target slave power source module 20, control the target second switch unit 22 to be turned on, and send a power supply stop signal to the first control unit 11; wherein the target slave power supply module 20 includes a target second control unit 21 and a target second switching unit 22;
the first control unit 11 is further configured to control the first switch unit 12 to turn off after receiving the power supply stop signal.
The slave power module 20 may obtain its own output parameter by detecting a relevant parameter of the first end of the second switching unit 22, and may obtain an output parameter of the master power module 10 by detecting a relevant parameter of the second end of the second switching unit 22. A first end of the second switch unit 22 is connected to the second control unit 21, and a second end of the second switch unit 22 is connected to the external load 30.
The first control unit 11 and the second control unit 21 may each include a controller, and the first switch unit 12 and the second switch unit 22 may each include a Silicon Controlled Rectifier (SCR).
When a certain power module starts to supply power to the external load 30, the internal control unit controls the internal switch unit to be conducted; when a power module stops supplying power to the external load 30, the internal control unit controls the internal switch unit to be turned off.
It should be noted that the internal structures of the master power supply module 10 and the slave power supply module 20 are the same, and in order to distinguish the master power supply module 10 from the slave power supply module 20, the internal components are first and second distinguished.
In one embodiment of the present invention, the master power module 10 further includes a first display 13 connected to the first control unit 11, and the slave power module 20 further includes a second display 23 connected to the second control unit 21;
the first display screen 13 is configured to receive and display the monitoring parameters sent by the first control unit 11, acquire the priority of the master power module 10 and the priority of each slave power module 20 input from the outside, and send the priority of the master power module 10 and the priority of each slave power module 20 to the first control unit 11;
the second display screen 23 is configured to receive and display the monitoring parameters sent by the corresponding second control unit 21, acquire the priority of the master power module 10 and the priority of each slave power module 20, which are input from the outside, and send the priority of the master power module 10 and the priority of each slave power module 20 to the corresponding second control unit 21.
In the embodiment of the invention, the display screen included in each power supply module can display the monitoring parameters of the power supply module, can display the monitoring parameters of other power supplies, and can receive external input instructions and the like.
Optionally, the master power module 10 and the slave power module 20 may further include other units, for example, an acquisition unit for acquiring parameters thereof and sending the parameters to the control unit, and so on, which are not described herein again.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and reference may be made to the related descriptions of other embodiments for parts that are not described or illustrated in a certain embodiment.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
In the embodiments provided in the present application, it should be understood that the disclosed power switching apparatus and method may be implemented in other ways. For example, the above-described power switching apparatus embodiments are merely illustrative, and for example, the division of the modules or units is only one logical function division, and there may be other division manners in actual implementation, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated modules/units, if implemented in the form of software functional units and sold or used as separate products, may be stored in a computer readable storage medium. Based on such understanding, all or part of the flow in the method of the embodiments described above can be realized by a computer program, which can be stored in a computer-readable storage medium and can realize the steps of the embodiments of the methods described above when the computer program is executed by a processor. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-Only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, and the like. It should be noted that the computer readable medium may contain other components which may be suitably increased or decreased as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media which may not include electrical carrier signals and telecommunications signals in accordance with legislation and patent practice.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present application, and not for limiting the same; although the present application has been described in detail with reference to the foregoing embodiments, it should be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; such modifications and substitutions do not substantially depart from the spirit and scope of the embodiments of the present application and are intended to be included within the scope of the present application.