Power supply switching control circuit and control method
By detecting signal delay in real time and dynamically adjusting the switching time interval in a dual-power design, the short-term power supply interruption caused by signal delay fluctuations is solved, the stability of power supply is improved, and the stable operation of the equipment is ensured.
Patent Information
- Application Number
- CN202510113972.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-24
- Publication Date
- 2025-03-04
- Estimated Expiration
- Not applicable · inactive patent
AI Technical Summary
In a dual power supply design, the short-term power supply interruption caused by signal delay fluctuations affects the stable operation of the equipment.
A power switching control circuit is designed, including a first switching module, a second switching module and a control module. The control module detects the maximum signal delay value of the two power supply in real time, and adjusts the rotation switching time interval of the switch module according to this value to ensure stable switching of the power supply.
By detecting signal delay in real time and dynamically adjusting the switching time interval, the power interruption and power supply discontinuity caused by signal delay fluctuations are avoided, the stability of power supply is improved, and the stable operation of the equipment is ensured.
Smart Images

Figure CN119561224A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of power supply technology, and in particular, relates to a power supply switching control circuit and a control method. Background Art
[0002] The normal operation of electronic devices usually requires stable power from an external power supply. However, when powered by a single power supply, once the external power supply fails or loses power, the electronic device may not work, which may have serious consequences for some key application scenarios such as monitoring circuits and alarm systems. Especially in monitoring equipment, power outages may cause real-time monitoring to fail, while in alarm systems, power supply abnormalities may result in safety risks not being handled in a timely manner. In addition, for key components in electronic devices such as storage, power outages may result in data not being saved in time, resulting in the loss of important data and irreparable losses.
[0003] At present, in order to improve the reliability and stability of power supply, dual power supply design has gradually become an important solution for power supply of electronic equipment. Dual power supply design introduces two power supplies. When one power supply fails, the other power supply can quickly switch and take over the power supply to ensure the continuous operation of the equipment. However, when both power supplies are normal, the signal delay is often used as the basis for switching in turn. If the signal delay fluctuates, it may cause a short power outage, affecting the stable operation of the equipment. Summary of the invention
[0004] In view of this, an embodiment of the present invention provides a power switching control circuit and a control method, which aim to solve the problem of short power supply interruption caused by fluctuations in signal delay in traditional technical solutions and ensure stable operation of the equipment.
[0005] A first aspect of an embodiment of the present invention provides a power switching control circuit, which is used to control a first power supply and a second power supply. The power switching control circuit includes: A first switch module, connected between the first power source and the power-consuming device, and used to control the on / off connection between the first power source and the power-consuming device; A second switch module is connected between the second power supply and the power-consuming device, and is used to control the on / off connection between the second power supply and the power-consuming device; The control module is connected to the first power supply and the second power supply, and is used to detect the working status of the first power supply and the second power supply, and when the working status of the first power supply and the second power supply are both normal, detect the maximum value of the signal delay of the first power supply and the second power supply in real time, adjust the alternating switching time interval of the first switch module and the second switch module according to the maximum value of the signal delay, and control the first switch module and the second switch module to be turned on alternately based on the adjusted alternating switching time interval.
[0006] In one embodiment, the control module includes a first power supply detection module and a second power supply detection module; the first power supply detection module is connected to the first power supply and is used to detect whether the first power supply is in a normal working state; the second power supply detection module is connected to the second power supply and is used to detect whether the second power supply is in a normal working state.
[0007] In one embodiment, the first power supply detection module includes a first voltage divider circuit, a first comparator, a first reference voltage source and a first filter capacitor; the input end of the first voltage divider circuit is connected to the output end of the first power supply, the output end of the first voltage divider circuit is connected to the positive input end of the first comparator, and the negative input end of the first comparator is connected to the first reference voltage source; the first filter capacitor is connected in parallel between the output end of the first voltage divider circuit and the ground, and the output end of the first comparator is connected to the control module; The second power supply detection module includes a second voltage divider circuit, a second comparator, a second reference voltage source and a second filter capacitor; the input end of the second voltage divider circuit is connected to the output end of the second power supply, the output end of the second voltage divider circuit is connected to the positive input end of the second comparator, and the negative input end of the second comparator is connected to the second reference voltage source; the second filter capacitor is connected in parallel between the output end of the second voltage divider circuit and the ground, and the output end of the second comparator is connected to the control module.
[0008] In one embodiment, the first voltage divider circuit includes a first resistor and a second resistor, one end of the first resistor is connected to the positive electrode of the first power supply, the other end of the first resistor is connected to one end of the second resistor, and the other end of the second resistor is grounded; the connection point between the first resistor and the second resistor outputs a voltage divider signal and is connected to the positive input terminal of the first comparator; The second voltage divider circuit includes a third resistor and a fourth resistor, one end of the third resistor is connected to the positive electrode of the second power supply, the other end of the third resistor is connected to one end of the fourth resistor, and the other end of the fourth resistor is grounded; the connection point between the third resistor and the fourth resistor outputs a voltage divider signal and is connected to the positive input terminal of the second comparator.
[0009] In one embodiment, the control module also includes a programmable logic controller, which is used to detect the maximum signal delay of the first power supply and the second power supply in real time when the working states of the first power supply and the second power supply are both normal, adjust the alternating switching time interval of the first switch module and the second switch module according to the maximum signal delay, and control the first switch module and the second switch module to be turned on alternately based on the adjusted alternating switching time interval.
[0010] In one embodiment, the programmable logic controller is also used to control the first switch module to be turned on and the second switch module to be turned off when the working state of the first power supply is normal and the working state of the second power supply is abnormal; when the working state of the second power supply is normal and the working state of the first power supply is abnormal, control the second switch module to be turned on and the first switch module to be turned off.
[0011] A second aspect of the present application provides a power switching control method, which is applied to the power switching control circuit of the first aspect. The method includes: Detecting the working status of the first power supply and the second power supply; When the working states of the first power supply and the second power supply are both normal, detecting the maximum value of the signal delay between the first power supply and the second power supply in real time; According to the maximum value of the signal delay, adjusting the switching time interval of the first switch module and the second switch module; The first switch module and the second switch module are controlled to be turned on alternately based on the adjusted alternating switching time interval.
[0012] In one embodiment, real-time detection of the maximum value of the signal delay of the first power source and the second power source includes: Within a preset time period, real-time detection of a first delay time when the first power source enters the on state and a second delay time when the second power source enters the on state; Calculate a first maximum fluctuation value of the first delay time and a second maximum fluctuation value of the second delay time respectively; The first maximum fluctuation value and the second maximum fluctuation value are compared to obtain the maximum value of the signal delay.
[0013] In one embodiment, adjusting the alternating switching time interval of the first switch module and the second switch module according to the maximum signal delay time includes: If the maximum signal delay value is greater than the first preset signal delay threshold, increasing the switching time interval of the first switch module and the second switch module; If the maximum signal delay value is less than the second preset signal delay threshold, shortening the switching time interval between the first switch module and the second switch module; If the maximum signal delay value is between the first preset signal delay threshold and the second preset signal delay threshold, there is no need to adjust the alternating switching time interval of the first switch module and the second switch module.
[0014] In one embodiment, the first preset signal delay threshold is greater than the second preset signal delay threshold.
[0015] The beneficial effects of the embodiments of the present application are as follows: the first switch module is connected between the first power supply and the power-consuming device to control the on-off connection between the first power supply and the power-consuming device, and the second switch module is connected between the second power supply and the power-consuming device to control the on-off connection between the second power supply and the power-consuming device; the control module is connected to the first power supply and the second power supply to detect the working status of the first power supply and the second power supply, and when the working status of the first power supply and the second power supply are both normal, the maximum value of the signal delay of the first power supply and the second power supply is detected in real time, and the alternating switching time interval of the first switch module and the second switch module is adjusted according to the maximum value of the signal delay, and the first switch module and the second switch module are controlled to be turned on in turn based on the adjusted alternating switching time interval. By dynamically adjusting the time interval of the alternating switching of the first switch module and the second switch module by real-time detection of the signal delay, the power supply interruption and power supply discontinuity caused by switching too fast or too slow due to fluctuations in the signal delay are avoided, and the stability of the power supply is improved to ensure the stable operation of the equipment. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.
[0017] Figure 1 A schematic block diagram of a power switching control circuit provided in an embodiment of the present application; Figure 2 A schematic block diagram of a control module provided in an embodiment of the present application; Figure 3 A schematic circuit diagram of a first power detection module provided in an embodiment of the present application; Figure 4 A schematic circuit diagram of a second power supply detection module provided in an embodiment of the present application; Figure 5 A schematic block diagram of a control module provided in another embodiment of the present application; Figure 6 A schematic diagram of a flow chart of a power switching control method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0018] The following embodiments of the technical solution of the present application are described in detail in conjunction with the accompanying drawings. The following embodiments are only used to more clearly illustrate the technical solution of the present application, and are therefore only used as examples, and cannot be used to limit the scope of protection of the present application.
[0019] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by technicians in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" in the specification and claims of this application and the above-mentioned figure descriptions and any variations thereof are intended to cover non-exclusive inclusions.
[0020] In the description of the embodiments of the present application, the technical terms "first", "second", etc. are only used to distinguish different objects, and cannot be understood as indicating or implying relative importance or implicitly indicating the number, specific order or primary and secondary relationship of the indicated technical features. In the description of the embodiments of the present application, the meaning of "multiple" is more than two, unless otherwise clearly and specifically defined.
[0021] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0022] In the description of the embodiments of the present application, the term "and / or" is only a description of the association relationship of the associated objects, indicating that there may be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.
[0023] In the description of the embodiments of the present application, the term "multi-frame" refers to more than two (including two).
[0024] In the description of the embodiments of the present application, the technical terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", "axial", "radial", "circumferential", etc. indicate orientations or positional relationships based on the orientations or positional relationships shown in the accompanying drawings, which are only for the convenience of describing the embodiments of the present application and simplifying the description, and do not indicate or imply that the referred device or element must have a specific orientation, be constructed and operated in a specific orientation, and therefore should not be understood as a limitation on the embodiments of the present application.
[0025] The present application embodiment provides a power switching control circuit, which is used to control a first power supply and a second power supply. Figure 1 As shown, Figure 1A schematic block diagram of a power switching control circuit provided in an embodiment of the present application. Figure 1 It can be seen that the power switching control circuit provided in the embodiment of the present application includes: a first switch module 110, connected between the first power supply 210 and the power-consuming device 300, and used to control the on-off connection between the first power supply 210 and the power-consuming device 300; a second switch module 120, connected between the second power supply 220 and the power-consuming device 300, and used to control the on-off connection between the second power supply 220 and the power-consuming device 300; a control module 400, connected to the first power supply 210 and the second power supply 220, and used to detect the working status of the first power supply 210 and the second power supply 220, and when the working status of the first power supply 210 and the second power supply 220 are both normal, real-time detection of the maximum value of the signal delay of the first power supply 210 and the second power supply 220, according to the maximum value of the signal delay, adjusting the alternating switching time interval of the first switch module 110 and the second switch module 120, and controlling the first switch module 110 and the second switch module 120 to be turned on alternately based on the adjusted alternating switching time interval.
[0026] The present application detects the maximum value of the signal delay of the first power supply and the second power supply through the control module, and dynamically adjusts the switching time interval according to the actual fluctuation situation, which effectively reduces the jitter and instability that may occur during the switching process, thereby improving the stability and reliability of the power switching. Specifically, when the working status of the two power supplies are normal, based on the real-time signal delay monitoring, the switching cycle of the switch module is flexibly adjusted to make the switching operation more accurate, avoid interruption or impact on the power supply of the electrical equipment due to unstable power supply signals, thereby optimizing the power supply continuity of the equipment.
[0027] See also Figure 2 As shown, Figure 2 A schematic block diagram of a control module provided in an embodiment of the present application. Figure 2 It can be seen that the control module 400 includes a first power supply detection module 410 and a second power supply detection module 420; the first power supply detection module 410 is connected to the first power supply 210 and is used to detect whether the first power supply 210 is in a normal working state; the second power supply detection module 420 is connected to the second power supply 220 and is used to detect whether the second power supply 220 is in a normal working state.
[0028] In the present application, the first power supply detection module 410 and the second power supply detection module 420 operate in parallel. The first power supply detection module 410 continuously detects the operating status of the first power supply 210, and the second power supply detection module 420 continuously detects the operating status of the second power supply 220, ensuring the real-time and accuracy of information collection, and being able to timely determine the operating status of the first power supply 210 and the second power supply 220 for use in subsequent switching control logic.
[0029] See also Figure 3As shown, Figure 3 A schematic circuit diagram of a first power detection module provided in an embodiment of the present application. Figure 3 It can be seen that the first power supply detection module 410 includes a first voltage divider circuit 411, a first comparator 412, a first reference voltage source 413 and a first filter capacitor 414; the input end of the first voltage divider circuit 411 is connected to the output end of the first power supply 210, the output end of the first voltage divider circuit 411 is connected to the positive input end of the first comparator 412, and the negative input end of the first comparator 412 is connected to the first reference voltage source 413; the first filter capacitor 414 is connected in parallel between the output end of the first voltage divider circuit 411 and the ground, and the output end of the first comparator 412 is connected to the programmable logic controller 430 included in the control module 400. Specifically, as Figure 5 As shown, the control module 400 further includes a programmable logic controller 430 .
[0030] In the present application, the first voltage divider circuit 411 divides the output voltage of the first power supply 210 according to a certain ratio to facilitate subsequent circuit processing. Figure 3 It can be seen that the first voltage divider circuit 411 includes a first resistor 4111 and a second resistor 4112, one end of the first resistor 4111 is connected to the output end of the first power supply 210, the other end of the first resistor 4111 is connected to one end of the second resistor 4112, and the other end of the second resistor 4112 is grounded; the connection point between the first resistor 4111 and the second resistor 4112 outputs a voltage divider signal and is connected to the positive input end of the first comparator 412.
[0031] The voltage division signal can be expressed as: ;in, is the output voltage of the first power supply, is the first resistor, is the second resistor.
[0032] The first comparator 412 is connected to the output of the first voltage divider circuit 411 through the positive input terminal to receive the voltage signal after voltage division, and is connected to the first reference voltage source 413 through the negative input terminal to provide a stable reference voltage, and compares the output voltage of the first voltage divider circuit 411 with the reference voltage provided by the first reference voltage source 413 to determine whether the working state of the first power supply 210 is normal. Specifically, if the voltage output by the first voltage divider circuit 411 is higher than the reference voltage, the first comparator 412 outputs a high level signal, indicating that the first power supply 210 is in a normal working state, and if the voltage output by the first voltage divider circuit 411 is lower than or equal to the reference voltage, the first comparator 412 outputs a low level signal, indicating that the first power supply 210 is in an abnormal working state. The reference voltage source can select chips such as LM4040 and REF5050.
[0033] The first reference voltage source 413 provides a stable reference voltage as a threshold for determining the working state of the first power supply, for example, for distinguishing the boundary between normal voltage and overvoltage / undervoltage.
[0034] The first filter capacitor 414 is connected in parallel between the output terminal of the first voltage divider circuit and the ground, and is used to filter out high-frequency noise or instantaneous interference signals in the voltage divider circuit to improve the stability and accuracy of the voltage divider signal.
[0035] See also Figure 4 As shown, Figure 4 A schematic circuit diagram of a second power supply detection module provided in an embodiment of the present application. Figure 4 It can be seen that the second power supply detection module 420 includes a second voltage divider circuit 421, a second comparator 422, a second reference voltage source 423 and a second filter capacitor 424; the input end of the second voltage divider circuit 421 is connected to the output end of the second power supply 220, the output end of the second voltage divider circuit 421 is connected to the positive input end of the second comparator 422, and the negative input end of the second comparator 422 is connected to the second reference voltage source 423; the second filter capacitor 424 is connected in parallel between the output end of the second voltage divider circuit 421 and the ground, and the output end of the second comparator 422 is connected to the control module 400.
[0036] Depend on Figure 4 It can be seen that the second voltage divider circuit 421 includes a third resistor 4211 and a fourth resistor 4212, one end of the third resistor 4211 is connected to the positive electrode of the second power supply 220, the other end of the third resistor 4211 is connected to one end of the fourth resistor 4212, and the other end of the fourth resistor 4212 is grounded; the connection point between the third resistor 4211 and the fourth resistor 4212 outputs a voltage divider signal and is connected to the positive input terminal of the second comparator 422.
[0037] In the present application, the second voltage divider circuit 421 divides the output voltage of the second power supply 220 according to a certain ratio to facilitate subsequent circuit processing. Specifically, Figure 4 It can be seen that the second voltage divider circuit 421 includes a third resistor 4211 and a fourth resistor 4212, one end of the third resistor 4211 is connected to the output end of the second power supply 220, the other end of the third resistor 4211 is connected to one end of the fourth resistor 4212, and the other end of the fourth resistor 4212 is grounded; the connection point between the third resistor 4211 and the fourth resistor 4212 outputs a voltage divider signal and is connected to the positive input end of the second comparator 422.
[0038] Specifically, the voltage division signal can be expressed as: ;in, is the output voltage of the second power supply, is the third resistor, is the fourth resistor.
[0039] The second comparator 422 is connected to the output of the second voltage divider circuit 421 through the positive input terminal to receive the voltage signal after voltage division, and is connected to the second reference voltage source 423 through the negative input terminal to provide a stable reference voltage, and compares the output voltage of the second voltage divider circuit 421 with the reference voltage provided by the second reference voltage source 423 to determine whether the working state of the second power supply 220 is normal. Specifically, if the voltage output by the second voltage divider circuit 421 is higher than the reference voltage, the second comparator 422 outputs a high-level signal, indicating that the second power supply 220 is in a normal working state, and if the voltage output by the second voltage divider circuit 421 is lower than or equal to the reference voltage, the second comparator 422 outputs a low-level signal, indicating that the second power supply 220 is in an abnormal working state.
[0040] The second reference voltage source 423 provides a fixed reference voltage as a threshold for determining the working state of the second power supply, for example, for distinguishing the boundary between normal voltage and overvoltage / undervoltage.
[0041] The second filter capacitor 424 is connected in parallel between the output terminal of the second voltage divider circuit and the ground, and is used to filter out high-frequency noise or instantaneous interference signals in the voltage divider circuit to improve the stability and accuracy of the voltage divider signal.
[0042] In one embodiment, see Figure 5 As shown, Figure 5 A schematic block diagram of a control module provided in another embodiment of the present application. Figure 5 It can be seen that the control module 400 also includes a programmable logic controller 430, which is used to detect the maximum signal delay of the first power supply 210 and the second power supply 220 in real time when the working states of the first power supply 210 and the second power supply 220 are both normal, and adjust the alternating switching time interval of the first switch module 110 and the second switch module 120 according to the maximum signal delay, and control the first switch module 110 and the second switch module 120 to be turned on alternately based on the adjusted alternating switching time interval.
[0043] Signal delay during power supply refers to the time delay of the power supply responding to the load demand. Due to the characteristics of the power supply itself (such as load fluctuations, instantaneous current changes, etc.), delay fluctuations will occur. The maximum value of delay fluctuation indicates the maximum unstable range of signal transmission during power supply operation.
[0044] The purpose of switching power supplies in turn is to balance the load, reduce the pressure on a single power supply, and ensure the redundancy of power supply during operation. If the time interval is not set properly, frequent power switching may cause instantaneous load fluctuations and affect the stability of system operation. Therefore, timely adjusting the switching time interval according to the maximum signal delay can effectively reduce power supply jitter and interference during switching.
[0045] In one embodiment, the programmable logic controller 430 is also used to control the first switch module 110 to be turned on and the second switch module 120 to be turned off when the working state of the first power supply 210 is normal and the working state of the second power supply 220 is abnormal; when the working state of the second power supply 220 is normal and the working state of the first power supply 210 is abnormal, control the second switch module 120 to be turned on and the first switch module 110 to be turned off.
[0046] From the above analysis, it can be known that the power switching control circuit provided by the embodiment of the present application comprises a first switch module connected between the first power supply and the power-consuming device to control the on-off of the connection between the first power supply and the power-consuming device, and a second switch module connected between the second power supply and the power-consuming device to control the on-off of the connection between the second power supply and the power-consuming device; the control module is connected to the first power supply and the second power supply, and is used to detect the working state of the first power supply and the second power supply, and when the working states of the first power supply and the second power supply are both normal, the maximum value of the signal delay of the first power supply and the second power supply is detected in real time, and the alternating switching time interval of the first switch module and the second switch module is adjusted according to the maximum value of the signal delay, and the first switch module and the second switch module are controlled to be turned on in turn based on the adjusted alternating switching time interval. By dynamically adjusting the time interval of the alternating conduction of the first switch module and the second switch module by real-time detection of the signal delay, the power supply interruption and power supply discontinuity caused by switching too fast or too slow due to fluctuations in the signal delay are avoided, and the stability of the power supply is improved to ensure the stable operation of the equipment.
[0047] A second aspect of the present application provides a power switching control method, which is applied to the power switching control circuit of the first aspect. Figure 6 , Figure 6 A schematic diagram of a flow chart of a power switching control method provided in an embodiment of the present application. Figure 6 It can be seen that the power switching control method provided in the embodiment of the present application includes the following steps: S610: Detect the working status of the first power source and the second power source.
[0048] S620: When the working states of the first power supply and the second power supply are both normal, detect the maximum value of the signal delay of the first power supply and the second power supply in real time.
[0049] In one embodiment, the maximum value of the signal delay of the first power supply and the second power supply is detected in real time, including: within a preset time period, real-time detecting a first delay time when the first power supply enters the on state and a second delay time when the second power supply enters the on state; respectively calculating a first maximum fluctuation value of the first delay time and a second maximum fluctuation value of the second delay time; comparing the first maximum fluctuation value and the second maximum fluctuation value to obtain the maximum value of the signal delay.
[0050] S630: Adjusting the switching time interval between the first switch module and the second switch module according to the maximum signal delay value.
[0051] In one embodiment, adjusting the alternating switching time interval of the first switch module and the second switch module according to the maximum value of the signal delay includes: if the maximum value of the signal delay is greater than the first preset signal delay threshold, increasing the alternating switching time interval of the first switch module and the second switch module; if the maximum value of the signal delay is less than the second preset signal delay threshold, shortening the alternating switching time interval of the first switch module and the second switch module; if the maximum value of the signal delay is between the first preset signal delay threshold and the second preset signal delay threshold, then there is no need to adjust the alternating switching time interval of the first switch module and the second switch module. Wherein, the first preset signal delay threshold is greater than the second preset signal delay threshold.
[0052] It should be noted that if the maximum signal delay is greater than the first preset signal delay threshold, there may be instability in power signal transmission or conduction. By extending the power supply switching time, the pressure of frequent power switching in a short time is reduced, which helps to alleviate delay fluctuations and improve power supply stability.
[0053] The maximum value of the signal delay is less than the second preset signal delay threshold, indicating that the power supply switching is stable and the switching time can be appropriately shortened to improve the power supply utilization efficiency and make the power supply rotation more flexible.
[0054] The maximum value of the signal delay is between the first preset signal delay threshold and the second preset signal delay threshold, indicating that the power supply switching is in a relatively stable state. Stability is ensured by maintaining the existing switching time interval.
[0055] S640: Control the first switch module and the second switch module to be turned on alternately based on the adjusted alternating switching time interval.
[0056] The beneficial effects of the embodiments of the present application are as follows: the first switch module is connected between the first power supply and the power-consuming device to control the on-off connection between the first power supply and the power-consuming device, and the second switch module is connected between the second power supply and the power-consuming device to control the on-off connection between the second power supply and the power-consuming device; the control module is connected to the first power supply and the second power supply to detect the working status of the first power supply and the second power supply, and when the working status of the first power supply and the second power supply are both normal, the maximum value of the signal delay of the first power supply and the second power supply is detected in real time, and the alternating switching time interval of the first switch module and the second switch module is adjusted according to the maximum value of the signal delay, and the first switch module and the second switch module are controlled to be turned on in turn based on the adjusted alternating switching time interval. By dynamically adjusting the time interval of the alternating switching of the first switch module and the second switch module by real-time detection of the signal delay, the power supply interruption and power supply discontinuity caused by switching too fast or too slow due to fluctuations in the signal delay are avoided, and the stability of the power supply is improved to ensure the stable operation of the equipment.
[0057] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned functions can be distributed and completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0058] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0059] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should be included in the protection scope of the present application.
Claims
1. A power switching control circuit, used to control the switching between a first power source and a second power source, characterized in that: The power switching control circuit comprises: A first switch module, the first switch module is connected between the first power supply and the power-consuming device, and is used to control the on / off connection between the first power supply and the power-consuming device; A second switch module, the second switch module is connected between the second power supply and the power-consuming device, and is used to control the on / off connection between the second power supply and the power-consuming device; A control module, wherein the control module is connected to the first power supply and the second power supply, and is used to detect the working status of the first power supply and the second power supply, and when the working status of the first power supply and the second power supply are both normal, detect the maximum value of the signal delay of the first power supply and the second power supply in real time, adjust the alternating switching time interval of the first switch module and the second switch module according to the maximum value of the signal delay, and control the first switch module and the second switch module to be turned on alternately based on the adjusted alternating switching time interval.
2. The power switching control circuit according to claim 1, characterized in that: The control module includes a first power detection module and a second power detection module; the first power detection module is connected to the first power supply and is used to detect whether the first power supply is in a normal working state; The second power supply detection module is connected to the second power supply and is used to detect whether the second power supply is in a normal working state.
3. The power switching control circuit according to claim 2, characterized in that: The first power supply detection module includes a first voltage divider circuit, a first comparator, a first reference voltage source and a first filter capacitor; the input end of the first voltage divider circuit is connected to the output end of the first power supply, the output end of the first voltage divider circuit is connected to the positive input end of the first comparator, and the negative input end of the first comparator is connected to the first reference voltage source; the first filter capacitor is connected in parallel between the output end of the first voltage divider circuit and the ground, and the output end of the first comparator is connected to the control module; The second power supply detection module includes a second voltage divider circuit, a second comparator, a second reference voltage source and a second filter capacitor; the input end of the second voltage divider circuit is connected to the output end of the second power supply, the output end of the second voltage divider circuit is connected to the positive input end of the second comparator, and the negative input end of the second comparator is connected to the second reference voltage source; the second filter capacitor is connected in parallel between the output end of the second voltage divider circuit and the ground, and the output end of the second comparator is connected to the control module.
4. The power switching control circuit according to claim 3, characterized in that: The first voltage divider circuit includes a first resistor and a second resistor, one end of the first resistor is connected to the positive electrode of the first power supply, the other end of the first resistor is connected to one end of the second resistor, and the other end of the second resistor is grounded; the connection point between the first resistor and the second resistor outputs a voltage division signal and is connected to the positive input terminal of the first comparator; The second voltage divider circuit includes a third resistor and a fourth resistor, one end of the third resistor is connected to the positive electrode of the second power supply, the other end of the third resistor is connected to one end of the fourth resistor, and the other end of the fourth resistor is grounded; the connection point between the third resistor and the fourth resistor outputs a voltage divider signal and is connected to the positive input terminal of the second comparator.
5. The power switching control circuit according to claim 1, wherein: The control module also includes a programmable logic controller, which is used to detect the maximum signal delay of the first power supply and the second power supply in real time when the working states of the first power supply and the second power supply are normal, adjust the alternating switching time interval of the first switch module and the second switch module according to the maximum signal delay, and control the first switch module and the second switch module to be turned on alternately based on the adjusted alternating switching time interval.
6. The power switching control circuit according to claim 5, characterized in that: The programmable logic controller is also used to control the first switch module to be turned on and the second switch module to be turned off when the working state of the first power supply is normal and the working state of the second power supply is abnormal; and to control the second switch module to be turned on and the first switch module to be turned off when the working state of the second power supply is normal and the working state of the first power supply is abnormal.
7. A power switching control method, characterized in that: Applied to the power switching control circuit according to any one of claims 1 to 6, the method comprises: Detecting the working status of the first power supply and the second power supply; When the working states of the first power supply and the second power supply are both normal, detecting the maximum value of the signal delay of the first power supply and the second power supply in real time; According to the maximum value of the signal delay, adjusting the switching time interval of the first switch module and the second switch module; The first switch module and the second switch module are controlled to be turned on alternately based on the adjusted alternating switching time interval.
8. The power switching control method according to claim 7, wherein: The real-time detection of the maximum value of the signal delay of the first power supply and the second power supply includes: Within a preset time period, real-time detection of a first delay time when the first power source enters an on state and a second delay time when the second power source enters an on state; respectively calculating a first maximum fluctuation value of the first delay time and a second maximum fluctuation value of the second delay time; The first maximum fluctuation value and the second maximum fluctuation value are compared to obtain the maximum value of the signal delay.
9. The power switching control method according to claim 7 or 8, characterized in that: The adjusting the alternating switching time interval of the first switch module and the second switch module according to the maximum signal delay value includes: If the maximum signal delay value is greater than a first preset signal delay threshold, increasing the switching time interval of the first switch module and the second switch module; If the maximum signal delay value is less than a second preset signal delay threshold, shortening the switching time interval between the first switch module and the second switch module; If the maximum signal delay value is between the first preset signal delay threshold value and the second preset signal delay threshold value, there is no need to adjust the alternating switching time interval of the first switch module and the second switch module.
10. The power switching control method according to claim 9, wherein: The first preset signal delay threshold is greater than the second preset signal delay threshold.
Citation Information
Patent Citations
Overvoltage protection circuit
CN101593963A
Uninterruptible power supply input switching control method and device
CN103683469A
LED lamp having dimming function during turn-on and turn-off and dimming method during turn-on and turn-off
CN108174474A
Power switching control circuit and control method
CN110008069A
Server power supply switching circuit and switching method
CN112332525A