Electronic device and method of operating the same
By designing detection and coupling mechanisms in electronic devices, we ensure that the main power bus is always powered, and the service interruption problem of the server and power distribution unit when there is a problem with the power supply circuit is solved, and the stability of power supply and effective monitoring are achieved. sex.
Patent Information
- Application Number
- CN202010659698.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Priority Date
- 2020-05-27
- Filing Date
- 2020-07-09
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2040-07-09
AI Technical Summary
The existing servers and power distribution units cannot maintain normal operation when there is a problem with the power supply circuit, resulting in service interruption, and the power supply time of the continuous power system is limited, so it is impossible to effectively monitor and maintain power supply.
An electronic device is designed, including a power supply circuit and a control circuit. By detecting the status of the power supply circuit, if it is normal, power will be supplied to the main power bus. If it is abnormal, power supply circuit will be coupled to the connector to ensure that the main power bus always Powered to avoid service interruption.
It realizes that regardless of whether the power supply circuit is abnormal or not, the main power bus of the electronic equipment is always powered, ensuring the continuity of service and the effectiveness of power monitoring, and avoiding interruptions caused by power supply problems.
Smart Images

Figure CN113809818B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to an electronic device and an operating method thereof. Background Art
[0002] Multiple servers deployed in a computer room can provide services through a communication network. To ensure that services are not interrupted, power supply to these servers is one of the important technical issues. Generally speaking, each of these servers is equipped with a unique power supply circuit. However, if a problem occurs in the power supply circuit inside a server, the server cannot maintain normal operation.
[0003] The Power Distribution Unit (PDU) configured in the computer room can transmit power to these servers and monitor the power consumption of these servers, such as monitoring the current and power consumed by these servers. The central control room can receive the power monitoring data sent back by the power distribution unit, and then execute related programs according to the power monitoring data. However, if there is a problem with the power supply (such as power outage, etc.), the power distribution unit will not be able to transmit the power monitoring data to the central control room, and the monitoring effect will be lost.
[0004] Generally speaking, the uninterruptible power system (UPS) installed in the computer room can provide power to these servers when there is a power outage. However, the power supply time of the uninterruptible power system is limited. Therefore, when there is a power problem (or power outage), the uninterruptible power system can make the power distribution unit shut down the power-intensive devices to extend the power supply time of the uninterruptible power system. However, this power distribution unit is also equipped with a dedicated power supply circuit. If there is a problem with the power supply circuit inside the power distribution unit, the power distribution unit will not be able to maintain normal operation.
[0005] It should be noted that the contents of the "Background Technology" section are used to help understand the present invention. Some (or all) of the contents disclosed in the "Background Technology" section may not be the prior art known to those skilled in the art. The contents disclosed in the "Background Technology" section do not mean that the contents have been known to those skilled in the art before the present invention is applied. Summary of the invention
[0006] The present invention is directed to an electronic device and an operating method thereof, so as to supply power to a main power bus of the electronic device.
[0007] In an embodiment of the present invention, the above-mentioned electronic device includes a power supply circuit and a first connector. The power supply circuit is configured to supply power to a main power bus of the electronic device. The first connector is suitable for connecting another electronic device. The control circuit is coupled to the power supply circuit and the first connector. The control circuit is configured to detect the power supply of the power supply circuit. When the power supply of the power supply circuit is normal, the control circuit couples the power supply circuit to the first connector so that the power supply circuit supplies power to the other electronic device via the first connector. When the power supply of the power supply circuit is abnormal, the control circuit couples the first connector to the main power bus of the electronic device so that the other electronic device supplies power to the main power bus of the electronic device via the first connector.
[0008] In an embodiment of the present invention, the above-mentioned operating method includes: detecting the power supply of the power supply circuit of the electronic device by the control circuit of the electronic device; when the power supply of the power supply circuit is normal, the power supply circuit supplies power to the main power bus of the electronic device, and the control circuit couples the power supply circuit to the first connector of the electronic device so that the power supply circuit of the electronic device supplies power to another electronic device via the first connector; and when the power supply of the power supply circuit is abnormal, the control circuit couples the first connector to the main power bus of the electronic device so that another electronic device supplies power to the main power bus of the electronic device via the first connector.
[0009] Based on the above, the electronic device and its operation method described in the embodiments of the present invention can detect the power supply of its own power supply circuit. When the power supply of its own power supply circuit is normal (its own power supply circuit can supply power to its own main power bus), the control circuit can couple the power supply circuit to the first connector (that is, its own power supply circuit can supply power to other electronic devices via the first connector). When the power supply of the power supply circuit is abnormal, the control circuit can couple the first connector to the main power bus (that is, other electronic devices can supply power to the main power bus via the first connector). Therefore, regardless of whether its own power supply circuit is abnormal, the main power bus of the electronic device is powered. BRIEF DESCRIPTION OF THE DRAWINGS
[0010] Figure 1 is a schematic diagram of a circuit block of an electronic device according to an embodiment of the present invention;
[0011] Figure 2 is a flowchart of an operating method of an electronic device according to an embodiment of the present invention;
[0012] Figure 3 According to an embodiment of the present invention, Figure 1 A circuit block diagram of the control circuit shown;
[0013] Figure 4 Another embodiment of the present invention is described Figure 1 A circuit block diagram of the control circuit shown;
[0014] Figure 5 According to another embodiment of the present invention, Figure 1 A circuit block diagram of the control circuit shown;
[0015] Figure 6 According to another embodiment of the present invention, Figure 1 A circuit block diagram of the control circuit shown;
[0016] Figure 7 According to an embodiment of the present invention, Figure 6 A circuit block diagram of the detection circuit shown;
[0017] Figure 8 is a circuit block diagram of an electronic device according to another embodiment of the present invention;
[0018] Fig. 9 According to an embodiment of the present invention, Figure 8 The circuit block diagram of the control circuit shown.
[0019] Description of Reference Numerals
[0020] 10, 20, 30, 100, 800: electronic equipment;
[0021] 11, 21, 31, 110, 810: power supply circuit;
[0022] 12, 22, 32, 120, 820: control circuit;
[0023] 13, 23, 24, 33, 34, 130, 830, 840: connector;
[0024] 121, 821: detection circuit;
[0025] C1, C2: voltage stabilizing capacitors;
[0026] CMP: voltage comparator;
[0027] D1, D2, D3: diodes;
[0028] F1: fuse;
[0029] GND, Vref: reference voltage;
[0030] R1, R2: resistance;
[0031] S210~S250: step;
[0032] Sc1: control signal;
[0033] SW1, SW2, SW3: switches;
[0034] T1: transistor;
[0035] Vbus, Vbus10, Vbus2, Vbus30: main power bus. DETAILED DESCRIPTION
[0036] Reference will now be made in detail to exemplary embodiments of the present invention, examples of which are illustrated in the accompanying drawings. Whenever possible, the same reference numerals are used in the drawings and the description to refer to the same or like parts.
[0037] The term "coupled (or connected)" used in the entire specification of this case (including the claims) may refer to any direct or indirect means of connection. For example, if the text describes a first device coupled (or connected) to a second device, it should be interpreted that the first device can be directly connected to the second device, or the first device can be indirectly connected to the second device through other devices or some connection means. The terms "first", "second", etc. mentioned in the entire specification of this case (including the claims) are used to name the components (element) or to distinguish different embodiments or scopes, and are not used to limit the upper or lower limit of the number of components, nor to limit the order of components. In addition, wherever possible, components / components / steps with the same number in the drawings and embodiments represent the same or similar parts. Components / components / steps using the same number or the same terminology in different embodiments can refer to the relevant descriptions of each other.
[0038] Figure 11 is a schematic diagram of a circuit block of an electronic device 100 according to an embodiment of the present invention. According to design requirements, the electronic device 100 may be a power distribution unit (PDU) or other electronic devices. The electronic device 100 includes a power supply circuit 110, a control circuit 120 and a connector 130. The connector 130 is suitable for connecting to a connector 13 of another electronic device 10. According to design requirements, the electronic device 10 may be a power distribution unit or other electronic devices. The connection interface between the connector 13 and the connector 130 may be set according to design requirements. For example, in some embodiments, the connector 130 may be connected to the connector 13 via a power cable. In other embodiments, the connector 130 may be connected to the connector 13 via a network cable, that is, the connector 13 and the connector 130 may provide a power over the net (PON) function. The electronic device 10 also includes a power supply circuit 11 and a control circuit 12. The electronic device 10 , the power supply circuit 11 , the control circuit 12 and the connector 13 may be deduced by referring to the relevant description of the electronic device 100 , the power supply circuit 110 , the control circuit 120 and the connector 130 , and thus will not be described in detail.
[0039] The power supply circuit 110 can supply power to the main power bus Vbus of the electronic device 100. The voltage stabilizing capacitor C1 coupled between the main power bus Vbus and the reference voltage GND can filter out noise. The main power bus Vbus can transmit power to the load circuit (not shown, such as a controller, a communication circuit and / or other circuits or components) of the electronic device 100 to maintain the normal operation of the electronic device 100. The control circuit 120 is coupled to the power supply circuit 110 and the connector 130. The control circuit 120 can detect the power supply of the power supply circuit 110.
[0040] Figure 2 is a flowchart of an operating method of an electronic device according to an embodiment of the present invention. Figure 1 and Figure 2 In step S210, the power supply circuit 110 may supply power to the main power bus Vbus of the electronic device 100. In step S220, the control circuit 120 of the electronic device 100 may detect the power supply of the power supply circuit 110 of the electronic device 100. When the power supply of the power supply circuit 110 is normal (the judgment result of step S230 is "yes"), the control circuit 120 may proceed to step S240.
[0041] In step S240, the control circuit 120 may couple the power supply circuit 110 to the connector 130 of the electronic device 100, so that the power supply circuit 110 of the electronic device 100 can supply power to another electronic device (e.g., the electronic device 10) via the connector 130. When the power supply of the power supply circuit 11 of the electronic device 10 is abnormal, the control circuit 12 may couple the connector 13 to the main power bus Vbus10 of the electronic device 10. Therefore, the power supply circuit 110 of the electronic device 100 can supply power to the main power bus Vbus10 of the electronic device 10 via the connector 130 and the connector 13 to maintain the normal operation of the electronic device 10.
[0042] After step S240, the control circuit 120 returns to step S210, and can couple the power supply circuit 110 to the main power bus Vbus, so that the power supply circuit 110 can supply power to the main power bus Vbus of the electronic device 100. After step S210, the control circuit 120 returns to steps S220 and S230. When the power supply of the power supply circuit 110 is abnormal (the judgment result of step S230 is "no"), the control circuit 120 can proceed to step S250.
[0043] The electronic device 10 can also perform Figure 2 When the power supply circuit 11 of the electronic device 10 is powered normally, the control circuit 12 of the electronic device 10 can couple the power supply circuit 11 to the connector 13 of the electronic device 10 so that the power supply circuit 11 of the electronic device 10 can supply power to the electronic device 100 via the connector 13 .
[0044] In step S250, the control circuit 120 of the electronic device 100 may couple the connector 130 to the main power bus Vbus of the electronic device 100, so that another electronic device (e.g., the electronic device 10) can supply power to the main power bus Vbus of the electronic device 100 via the connector 130. Therefore, regardless of whether the power supply circuit 110 of the electronic device 100 itself is abnormal, the main power bus Vbus of the electronic device 100 is powered, thereby maintaining the normal operation of the electronic device 100.
[0045] Figure 3 According to an embodiment of the present invention, Figure 1 FIG. 1 is a circuit block diagram of the control circuit 120. Figure 3 In the illustrated embodiment, the connector 130 is coupled to the main power bus Vbus. Figure 3The control circuit 120 shown includes a diode D1. The anode of the diode D1 is coupled to the output end of the power supply circuit 110. The cathode of the diode D1 is coupled to the main power bus Vbus. Based on the characteristics of the diode, the control circuit 120 can detect the power supply of the power supply circuit 110. When the power supply of the power supply circuit 110 is normal, the output power of the power supply circuit 110 can be transmitted to the main power bus Vbus and the connector 130 through the diode D1. When the power supply of the power supply circuit 110 is abnormal, the electronic device 10 can supply power to the main power bus Vbus of the electronic device 100 via the connector 130. Based on the characteristics of the diode, the power provided by the electronic device 10 will not flow back to the power supply circuit 110.
[0046] Figure 4 Another embodiment of the present invention is described Figure 1 FIG. 1 is a circuit block diagram of the control circuit 120. Figure 4 In the illustrated embodiment, the control circuit 120 includes a diode D1 and a fuse F1 . Figure 4 The diode D1 shown can be referred to Figure 3 The relevant description of the diode D1 is shown, so it is not repeated here. Figure 4 The first end and the second end of the fuse F1 are respectively coupled to the main power bus Vbus and the connector 130. The fuse F1 can provide overcurrent protection.
[0047] Figure 5 According to another embodiment of the present invention, Figure 1 FIG. 1 is a circuit block diagram of the control circuit 120. Figure 5 In the illustrated embodiment, the control circuit 120 includes a diode D1 , a diode D2 , a switch SW1 , and a detection circuit 121 . Figure 5 The diode D1 shown can be referred to Figure 3 The relevant description of the diode D1 is shown, so it is not repeated here. Figure 5 The anode of the diode D2 and the first end of the switch SW1 are coupled to the connector 130 . The cathode of the diode D2 and the second end of the switch SW1 are coupled to the main power bus Vbus. The detection circuit 121 is coupled to the power supply circuit 110 .
[0048] The detection circuit 121 can detect the power supply of the power supply circuit 110, and output a control signal Sc1 to the control end of the switch SW1 according to the detection result. When the power supply of the power supply circuit 110 is normal, the detection circuit 121 can turn on the switch SW1. At this time, the output power of the power supply circuit 110 can be transmitted to the connector 130 through the diode D1 and the switch SW1. When the power supply of the power supply circuit 110 is abnormal, the detection circuit 121 can turn off the switch SW1. At this time, the electronic device 10 can supply power to the main power bus Vbus of the electronic device 100 through the connector 130 and the diode D2.
[0049] Figure 6 According to another embodiment of the present invention, Figure 1 FIG. 1 is a circuit block diagram of the control circuit 120. Figure 6 In the illustrated embodiment, the control circuit 120 includes a diode D1 , a diode D2 , a switch SW1 , a fuse F1 , and a detection circuit 121 . Figure 6 The diode D1 shown can be referred to Figure 3 The relevant description of the diode D1 shown is: Figure 6 The diode D2, switch SW1 and detection circuit 121 can refer to Figure 5 The relevant descriptions of the diode D2, the switch SW1 and the detection circuit 121 are shown, so they are not repeated here. Figure 6 The first end of the fuse F1 is coupled to the main power bus Vbus. The second end of the fuse F1 is coupled to the cathode of the diode D2 and the second end of the switch SW1. The fuse F1 can provide overcurrent protection.
[0050] Figure 7 According to an embodiment of the present invention, Figure 6 FIG. 1 is a circuit block diagram of the detection circuit 121. Figure 7In the illustrated embodiment, the detection circuit 121 includes a voltage comparator CMP, a switch SW2, and a resistor R2. A first end of the resistor R2 is coupled to a second end of the fuse F1. A second end of the resistor R2 and a first end of the switch SW2 are coupled to a control end of the switch SW1. A second end of the switch SW2 is coupled to a reference voltage GND. A control end of the switch SW2 is coupled to an output end of the voltage comparator CMP. A first input end (e.g., a non-inverting input end) of the voltage comparator CMP is coupled to an output end of the power supply circuit 110. A second input end (e.g., an inverting input end) of the voltage comparator CMP is coupled to a reference voltage Vref. The level of the reference voltage Vref can be determined according to design requirements. When the output voltage of the power supply circuit 110 is greater than the reference voltage Vref (the power supply of the power supply circuit 110 is normal), the voltage comparator CMP can turn on the switch SW2. When the output voltage of the power supply circuit 110 is less than the reference voltage Vref (the power supply of the power supply circuit 110 is abnormal), the voltage comparator CMP can turn off the switch SW2.
[0051] exist Figure 7 In the illustrated embodiment, the switch SW2 includes a resistor R1 and a transistor T1. A first end of the resistor R1 is coupled to an output end of the voltage comparator CMP. A control end (e.g., a base) of the transistor T1 is coupled to a second end of the resistor R1. A first end (e.g., a collector) of the transistor T1 is coupled to a control end of the switch SW1. A second end (e.g., an emitter) of the transistor T1 is coupled to a reference voltage GND.
[0052] Figure 8 8 is a circuit block diagram of an electronic device 800 according to another embodiment of the present invention. According to design requirements, the electronic device 800 may be a power distribution unit (PDU) or other electronic devices. The electronic device 800 includes a power supply circuit 810, a control circuit 820, a connector 830 and a connector 840. The connector 830 is suitable for connecting to a connector 24 of another electronic device 20. According to design requirements, the electronic device 20 may be a power distribution unit or other electronic devices. The connection interface between the connector 24 and the connector 830 may be set according to design requirements. For example, in some embodiments, the connector 830 may be connected to the connector 24 via a power cable. In other embodiments, the connector 830 may be connected to the connector 24 via a network cable, that is, the connector 24 and the connector 830 may provide a power supply over the Internet (PON) function. The electronic device 20 also includes a power supply circuit 21, a control circuit 22 and a connector 23. The electronic device 20, the power supply circuit 21, the control circuit 22, the connector 23 and the connector 24 can be deduced by referring to the relevant description of the electronic device 800, the power supply circuit 810, the control circuit 820, the connector 830 and the connector 840, so they are not repeated here.
[0053] The connector 840 is suitable for connecting to the connector 33 of another electronic device 30. According to design requirements, the electronic device 30 can be a power distribution unit or other electronic devices. The connection interface between the connector 33 and the connector 840 can be set according to design requirements. For example, in some embodiments, the connector 840 can be connected to the connector 33 via a power cable. In other embodiments, the connector 840 can be connected to the connector 33 via a network cable, that is, the connector 33 and the connector 840 can provide a power supply over the Internet (PON) function. The electronic device 30 also includes a power supply circuit 31, a control circuit 32 and a connector 34. The electronic device 30, the power supply circuit 31, the control circuit 32, the connector 33 and the connector 34 can be referred to the relevant descriptions of the electronic device 800, the power supply circuit 810, the control circuit 820, the connector 830 and the connector 840, so it is not repeated.
[0054] Figure 8 The electronic device 800 shown can refer to Figure 2 Description of the flowchart shown. Figure 8 The power supply circuit 810, the control circuit 820, the connector 840, the main power bus Vbus and the voltage stabilizing capacitor C2 can refer to Figure 1 The related descriptions of the power supply circuit 110 , the control circuit 120 , the connector 130 , the main power bus Vbus and the voltage stabilizing capacitor C1 are analogous and will not be elaborated herein.
[0055] exist Figure 8In the illustrated embodiment, the control circuit 820 of the electronic device 800 can detect the power supply of the power supply circuit 810 of the electronic device 800. When the power supply of the power supply circuit 810 of the electronic device 800 is normal, the control circuit 820 can couple the power supply circuit 810 to the connectors 830 and 840 of the electronic device 800. Therefore, the power supply circuit 810 of the electronic device 800 can supply power to another electronic device (e.g., the electronic device 20) via the connector 830, and the power supply circuit 810 of the electronic device 800 can supply power to another electronic device (e.g., the electronic device 30) via the connector 840. When the power supply of the power supply circuit 21 of the electronic device 20 is abnormal, the control circuit 22 can couple the connector 24 to the main power bus Vbus20 of the electronic device 20. Therefore, the power supply circuit 810 of the electronic device 800 can supply power to the main power bus Vbus20 of the electronic device 20 via the connector 830 and the connector 24 to maintain the normal operation of the electronic device 20. When the power supply circuit 31 of the electronic device 30 is abnormal, the control circuit 32 can couple the connector 33 to the main power bus Vbus30 of the electronic device 30. Therefore, the power supply circuit 810 of the electronic device 800 can supply power to the main power bus Vbus30 of the electronic device 30 via the connector 840 and the connector 3 to maintain the normal operation of the electronic device 30.
[0056] The electronic device 20 and the electronic device 30 can also Figure 2 When the power supply circuit 21 of the electronic device 20 is powered normally, the control circuit 22 of the electronic device 20 can couple the power supply circuit 21 to the connectors 23 and 24 of the electronic device 20. Therefore, the power supply circuit 21 of the electronic device 20 can further supply power to the electronic device 800 via the connector 24. When the power supply circuit 31 of the electronic device 30 is powered normally, the control circuit 32 of the electronic device 30 can couple the power supply circuit 31 to the connectors 33 and 34 of the electronic device 30. Therefore, the power supply circuit 31 of the electronic device 30 can further supply power to the electronic device 800 via the connector 33.
[0057] When the power supply circuit 810 of the electronic device 800 is abnormal, the control circuit 820 can couple the connectors 830 and 840 to the main power bus Vbus of the electronic device 800. Therefore, the electronic device 20 can supply power to the main power bus Vbus of the electronic device 800 via the connector 830, and (or) the electronic device 30 can supply power to the main power bus Vbus of the electronic device 800 via the connector 840. Regardless of whether the power supply circuit 810 of the electronic device 800 itself is abnormal, the main power bus Vbus of the electronic device 800 is powered, thereby maintaining the normal operation of the electronic device 800.
[0058] Fig. 9 According to an embodiment of the present invention, Figure 8 FIG. 8 is a circuit block diagram of the control circuit 820. Fig. 9 In the illustrated embodiment, the control circuit 120 includes a diode D1 , a diode D2 , a diode D3 , a switch SW1 , a switch SW3 , a fuse F1 , and a detection circuit 821 . Fig. 9 The detection circuit 821 shown can refer to Figure 5 , Figure 6 and / or Figure 7 The related description of the detection circuit 121 shown in the figure is analogous, so it is not repeated here.
[0059] Please refer to Fig. 9 . The anode of the diode D1 is coupled to the output end of the power supply circuit 810. The cathode of the diode D1 and the first end of the fuse F1 are coupled to the main power bus Vbus. The anode of the diode D2 and the first end of the switch SW1 are coupled to the connector 840. The cathode of the diode D2 and the second end of the switch SW1 are coupled to the second end of the fuse F1. The anode of the diode D3 and the first end of the switch SW3 are coupled to the connector 830. The cathode of the diode D3 and the second end of the switch SW3 are coupled to the second end of the fuse F1. The detection circuit 821 is coupled to the power supply circuit 810. The detection circuit 821 can detect the power supply of the power supply circuit 810, and output a control signal Sc1 to the control end of the switch SW1 and the control end of the switch SW3 according to the detection result. When the power supply of the power supply circuit 810 is normal, the detection circuit 821 can turn on the switch SW1 and the switch SW3. At this time, the output power of the power supply circuit 810 can be transmitted to the connector 840 through the diode D1 and the switch SW1, and the output power of the power supply circuit 810 can be transmitted to the connector 830 through the diode D1 and the switch SW3. When the power supply of the power supply circuit 810 is abnormal, the detection circuit 821 can turn off the switch SW1 and the switch SW3. At this time, the electronic device 20 can supply power to the main power bus Vbus of the electronic device 800 through the connector 830 and the diode D3, and (or) the electronic device 30 can supply power to the main power bus Vbus of the electronic device 800 through the connector 840 and the diode D2.
[0060] According to different design requirements, the control circuit 120, the detection circuit 121, the control circuit 820 and (or) the detection circuit 821 blocks may be implemented in the form of hardware, firmware, software (i.e., program) or a combination of more than one of the above three.
[0061] In terms of hardware, the control circuit 120, the detection circuit 121, the control circuit 820 and / or the detection circuit 821 blocks can be implemented as logic circuits on an integrated circuit. The control circuit 120, the detection circuit 121, the control circuit 820 and / or the detection circuit 821 related functions can be implemented as hardware using hardware description languages (such as Verilog HDL or VHDL) or other suitable programming languages. For example, the control circuit 120, the detection circuit 121, the control circuit 820 and / or the detection circuit 821 related functions can be implemented in various logic blocks, modules and circuits in one or more controllers, microcontrollers, microprocessors, application-specific integrated circuits (ASICs), digital signal processors (DSPs), field programmable gate arrays (FPGAs) and / or other processing units.
[0062] In terms of software and / or firmware, the related functions of the control circuit 120, the detection circuit 121, the control circuit 820 and / or the detection circuit 821 can be implemented as programming codes. For example, the control circuit 120, the detection circuit 121, the control circuit 820 and / or the detection circuit 821 can be implemented using general programming languages (such as C, C++ or assembly language) or other suitable programming languages. The programming codes can be recorded / stored in a recording medium, and the recording medium includes, for example, a read-only memory (ROM), a storage device and / or a random access memory (RAM). A computer, a central processing unit (CPU), a controller, a microcontroller or a microprocessor can read and execute the programming codes from the recording medium to achieve the related functions. As the recording medium, a "non-transitory computer readable medium" can be used, such as a tape, a disk, a card, a semiconductor memory, a programmable logic circuit, etc. Furthermore, the program may be provided to the computer (or CPU) via any transmission medium (communication network or broadcast wave, etc.), such as the Internet, wired communication, wireless communication or other communication medium.
[0063] In summary, the electronic device 100 (or 800) and its operation method described in the above embodiments can detect the power supply of its own power supply circuit 110 (or 810). When the power supply of its own power supply circuit 110 (or 810) is normal (its own power supply circuit can supply power to its own main power bus Vbus), the control circuit 120 (or 820) can couple the power supply circuit 110 (or 810) to the connector (that is, its own power supply circuit 110 (or 810) can supply power to other electronic devices via the connector). When the power supply of the power supply circuit 110 (or 810) is abnormal, the control circuit 120 (or 820) can couple the connector to the main power bus Vbus (that is, other electronic devices can supply power to the main power bus Vbus via the connector). Therefore, regardless of whether its own power supply circuit 110 (or 810) is abnormal, the main power bus Vbus of the electronic device 100 (or 800) is powered.
[0064] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. An electronic device, It is characterized in that The electronic device comprises: a power supply circuit configured to supply power to a main power bus of the electronic device; A first connector adapted to connect to another electronic device; and a first control circuit coupled to the power supply circuit and the first connector, wherein the first control circuit is used to detect the power supply of the power supply circuit of the electronic device, but not to detect the power supply of another power supply circuit of the other electronic device, wherein the other electronic device includes a second control circuit, and the second control circuit is used to detect the power supply of the other power supply circuit of the other electronic device, but not to detect the power supply of the power supply circuit of the electronic device, wherein When the power supply of the power supply circuit is normal and the power supply of the other power supply circuit of the other electronic device is abnormal, the first control circuit controls the power supply circuit to output power to the main power bus and the first connector respectively, so that the power supply circuit supplies power to the main power bus and the power supply circuit supplies power to the other main power bus of the other electronic device via the first connector, and When the power supply of the power supply circuit is abnormal, the first control circuit cuts off the power supply path between the power supply circuit and the main power bus, and conducts the power supply path between the first connector and the main power bus, so that the other electronic device supplies power to the main power bus of the electronic device via the first connector. The first control circuit comprises: a first diode having an anode coupled to the output of the power supply circuit, wherein a cathode of the first diode is coupled to the main power bus; a second diode having an anode coupled to the first connector, wherein a cathode of the second diode is coupled to the main power bus; a first switch having a first end coupled to the first connector, wherein a second end of the first switch is coupled to the main power bus; and A detection circuit is coupled to the power supply circuit and is configured to detect the power supply of the power supply circuit, wherein when the power supply of the power supply circuit is normal, the detection circuit turns on the first switch, and when the power supply of the power supply circuit is abnormal, the detection circuit turns off the first switch.
2. The electronic device according to claim 1, It is characterized in that The first control circuit further includes: A fuse, wherein the second end of the first switch is coupled to the main power bus via the fuse, and the cathode of the second diode is coupled to the main power bus via the fuse.
3. The electronic device according to claim 2, It is characterized in that The detection circuit comprises: a voltage comparator having a first input terminal and a second input terminal respectively coupled to the output terminal of the power supply circuit and a first reference voltage; and The second switch has a control terminal coupled to the output terminal of the voltage comparator, wherein a first terminal of the second switch is coupled to the control terminal of the first switch, and a second terminal of the second switch is coupled to a second reference voltage.
4. The electronic device according to claim 3, It is characterized in that The second switch comprises: A first resistor having a first end coupled to the output end of the voltage comparator; and A transistor has a control terminal coupled to the second terminal of the first resistor, wherein the first terminal of the transistor is coupled to the control terminal of the first switch, and the second terminal of the transistor is coupled to the second reference voltage.
5. The electronic device according to claim 3, It is characterized in that The detection circuit also includes: The second resistor has a first end coupled to the second end of the fuse, wherein the second end of the second resistor is coupled to the control end of the first switch, and the first end of the fuse is coupled to the main power bus.
6. The electronic device according to claim 1, It is characterized in that The electronic device further comprises: A second connector, adapted to connect to another electronic device; When the power supply circuit is normally supplied, the first control circuit further couples the power supply circuit to the second connector, so that the power supply circuit supplies power to the further electronic device via the second connector; and When the power supply of the power supply circuit is abnormal, the first control circuit also couples the second connector to the main power bus of the electronic device so that the other electronic device can supply power to the main power bus of the electronic device via the second connector.
7. The electronic device according to claim 6, It is characterized in that The first control circuit further includes: a fuse having a first end coupled to the main power bus; a third diode having an anode coupled to the second connector, wherein a cathode of the third diode is coupled to the second end of the fuse; a third switch having a first end coupled to the second connector, wherein a second end of the third switch is coupled to the second end of the fuse; When the power supply of the power supply circuit is normal, the detection circuit further turns on the third switch, and when the power supply of the power supply circuit is abnormal, the detection circuit further turns off the third switch.
8. A method for operating an electronic device, It is characterized in that The operation method comprises: The first control circuit of the electronic device detects the power supply of the power supply circuit of the electronic device, wherein the electronic device includes a first connector for connecting another electronic device, and the first control circuit is not used to detect the power supply of another power supply circuit of the another electronic device, wherein the another electronic device includes a second control circuit, and the second control circuit is used to detect the power supply of the another power supply circuit of the another electronic device, but is not used to detect the power supply of the power supply circuit of the electronic device; When the power supply of the power supply circuit is normal and the power supply of the other power supply circuit of the other electronic device is abnormal, the first control circuit controls the power supply circuit to output power to the main power bus of the electronic device and the first connector, so that the power supply circuit supplies power to the main power bus and the power supply circuit supplies power to another main power bus of another electronic device via the first connector; and When the power supply of the power supply circuit is abnormal, the first control circuit cuts off the power supply path between the power supply circuit and the main power bus, and conducts the power supply path between the first connector and the main power bus, so that the other electronic device supplies power to the main power bus of the electronic device via the first connector. The first control circuit comprises: a first diode having an anode coupled to the output of the power supply circuit, wherein a cathode of the first diode is coupled to the main power bus; a second diode having an anode coupled to the first connector, wherein a cathode of the second diode is coupled to the main power bus; a first switch having a first end coupled to the first connector, wherein a second end of the first switch is coupled to the main power bus; and A detection circuit is coupled to the power supply circuit and is configured to detect the power supply of the power supply circuit, wherein when the power supply of the power supply circuit is normal, the detection circuit turns on the first switch, and when the power supply of the power supply circuit is abnormal, the detection circuit turns off the first switch.
