US20190286603A1 - Electronic device and hot-plug protection circuit - Google Patents
Electronic device and hot-plug protection circuit Download PDFInfo
- Publication number
- US20190286603A1 US20190286603A1 US15/995,359 US201815995359A US2019286603A1 US 20190286603 A1 US20190286603 A1 US 20190286603A1 US 201815995359 A US201815995359 A US 201815995359A US 2019286603 A1 US2019286603 A1 US 2019286603A1
- Authority
- US
- United States
- Prior art keywords
- voltage
- node
- terminal coupled
- coupled
- voltage source
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Granted
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/263—Arrangements for using multiple switchable power supplies, e.g. battery and AC
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/266—Arrangements to supply power to external peripherals either directly from the computer or under computer control, e.g. supply of power through the communication port, computer controlled power-strips
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F1/00—Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
- G06F1/26—Power supply means, e.g. regulation thereof
- G06F1/32—Means for saving power
- G06F1/3203—Power management, i.e. event-based initiation of a power-saving mode
- G06F1/3206—Monitoring of events, devices or parameters that trigger a change in power modality
- G06F1/3215—Monitoring of peripheral devices
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
- G06F13/4081—Live connection to bus, e.g. hot-plugging
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/42—Bus transfer protocol, e.g. handshake; Synchronisation
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R12/00—Structural associations of a plurality of mutually-insulated electrical connecting elements, specially adapted for printed circuits, e.g. printed circuit boards [PCB], flat or ribbon cables, or like generally planar structures, e.g. terminal strips, terminal blocks; Coupling devices specially adapted for printed circuits, flat or ribbon cables, or like generally planar structures; Terminals specially adapted for contact with, or insertion into, printed circuits, flat or ribbon cables, or like generally planar structures
- H01R12/70—Coupling devices
- H01R12/71—Coupling devices for rigid printing circuits or like structures
- H01R12/72—Coupling devices for rigid printing circuits or like structures coupling with the edge of the rigid printed circuits or like structures
- H01R12/73—Coupling devices for rigid printing circuits or like structures coupling with the edge of the rigid printed circuits or like structures connecting to other rigid printed circuits or like structures
-
- H—ELECTRICITY
- H01—ELECTRIC ELEMENTS
- H01R—ELECTRICALLY-CONDUCTIVE CONNECTIONS; STRUCTURAL ASSOCIATIONS OF A PLURALITY OF MUTUALLY-INSULATED ELECTRICAL CONNECTING ELEMENTS; COUPLING DEVICES; CURRENT COLLECTORS
- H01R13/00—Details of coupling devices of the kinds covered by groups H01R12/70 or H01R24/00 - H01R33/00
- H01R13/62—Means for facilitating engagement or disengagement of coupling parts or for holding them in engagement
- H01R13/629—Additional means for facilitating engagement or disengagement of coupling parts, e.g. aligning or guiding means, levers, gas pressure electrical locking indicators, manufacturing tolerances
- H01R13/631—Additional means for facilitating engagement or disengagement of coupling parts, e.g. aligning or guiding means, levers, gas pressure electrical locking indicators, manufacturing tolerances for engagement only
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/4068—Electrical coupling
-
- G—PHYSICS
- G06—COMPUTING OR CALCULATING; COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F13/00—Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F13/38—Information transfer, e.g. on bus
- G06F13/40—Bus structure
- G06F13/4063—Device-to-bus coupling
- G06F13/409—Mechanical coupling
-
- Y—GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02D—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
- Y02D10/00—Energy efficient computing, e.g. low power processors, power management or thermal management
Definitions
- the invention is directed to an electronic device for communicating with an external device.
- the electronic devices includes a connector, a controller, a first switch element, a second switch element, a first voltage source, a second voltage source, a third voltage source, and a fourth voltage source.
- the connector receives a device existence voltage from the external device.
- the controller generates a first control signal and a second control signal according to the device existence voltage.
- the first voltage source provides a first voltage.
- the second voltage source provides a second voltage.
- the first switch element couples the first voltage source or the second voltage source to the connector according to the first control signal, such that the first voltage or the second voltage is used as a supply voltage of the external device.
- the third voltage source provides a third voltage.
- the fourth voltage source provides a fourth voltage.
- the second switch element couples the third voltage source or the fourth voltage source to an output node according to the second control signal, such that the third voltage or the fourth voltage is used as a tunable output voltage at the output node.
- the device existence voltage if the external device supports the M. 2 standard, the device existence voltage has a high logic level, and if the external device supports the NGSFF standard, the device existence voltage has a low logic level.
- the second voltage is higher than the first voltage.
- the first switch element couples the first voltage source to the connector, and if the device existence voltage has a low logic level, the first switch element couples the second voltage source to the connector.
- the fourth voltage is higher than the third voltage.
- the second switch element couples the third voltage source to the output node, and if the device existence voltage has a low logic level, the second switch element couples the fourth voltage source to the output node.
- the electronic device further includes a peripheral element coupled to the output node.
- the peripheral element receives the tunable output voltage.
- the peripheral element is an expander or a level shifter.
- the fourth voltage source is integrated with the first voltage source so as to form a single voltage source.
- the invention is directed to an electronic device for communicating with an external device.
- the electronic devices includes a connector, a controller, a first switch element, a second switch element, a first voltage source, a second voltage source, a third voltage source, a fourth voltage source, and a hot-plug protection circuit.
- the connector receives a device existence voltage from the external device.
- the controller generates a first control signal and a second control signal according to the device existence voltage.
- the first voltage source provides a first voltage.
- the second voltage source provides a second voltage.
- the first switch element couples the first voltage source or the second voltage source to the connector according to the first control signal, such that the first voltage or the second voltage is used as a supply voltage of the external device.
- the third voltage source provides a third voltage.
- the fourth voltage source provides a fourth voltage.
- the second switch element couples the third voltage source or the fourth voltage source to an output node according to the second control signal, such that the third voltage or the fourth voltage is used as a tunable output voltage at the output node.
- the hot-plug protection circuit is coupled between the first switch element and the connector. When the external device is coupled to the connector, the hot-plug protection circuit enables the supply voltage. When the external device is not coupled to the connector, the hot-plug protection circuit disables the supply voltage.
- the hot-plug protection circuit selectively enables or disables the supply voltage according to a device notification voltage from the connector.
- the device notification voltage when the external device is coupled to the connector, the device notification voltage has a low logic level, and when the external device is not coupled to the connector, the device notification voltage has a high logic level.
- the hot-plug protection circuit includes a first resistor, a second resistor, a diode, a third resistor, a capacitor, and a first transistor.
- the first resistor has a first terminal coupled to the supply voltage, a second terminal coupled to a control node. The voltage at the control node is determined according to the device notification voltage.
- the second resistor has a first terminal coupled to the control node, and a second terminal coupled to a switch node.
- the diode has an anode coupled to the control node, and a cathode coupled to the switch node.
- the third resistor has a first terminal coupled to the switch node, and a second terminal coupled to the supply voltage.
- the capacitor has a first terminal coupled to the switch node, and a second terminal coupled to the supply voltage.
- the first transistor has a control terminal coupled to the switch node, a first terminal coupled to the supply voltage, and a second terminal coupled to a voltage output node.
- the voltage output node is configured to selectively output the supply voltage to the connector.
- the invention is directed to a hot-plug protection circuit including a first resistor, a second resistor, a diode, a third resistor, a capacitor, and a first transistor.
- the first resistor has a first terminal coupled to a supply voltage, a second terminal coupled to a control node.
- the second resistor has a first terminal coupled to the control node, and a second terminal coupled to a switch node.
- the diode has an anode coupled to the control node, and a cathode coupled to the switch node.
- the third resistor has a first terminal coupled to the switch node, and a second terminal coupled to the supply voltage.
- the first transistor is a PMOS transistor (P-type Metal Oxide Semiconductor Field Effect Transistor).
- control node is arranged for receiving a device notification voltage.
- the hot-plug protection circuit further includes a second transistor.
- the second transistor has a control terminal for receiving a power enable voltage, a first terminal for receiving a device notification voltage, and a second terminal coupled to the control node.
- the hot-plug protection circuit further includes a second transistor, an AND gate, a fourth resistor, a fifth resistor, and a third transistor.
- the second transistor has a control terminal coupled to a first node, a first terminal coupled to a ground voltage, and a second terminal coupled to the control node.
- the AND gate has a first input terminal coupled to a second node for receiving a power enable voltage, a second input terminal coupled to a third node, and an output terminal coupled to the first node.
- the fourth resistor has a first terminal coupled to a fixed voltage, and a second terminal coupled to the second node.
- the fifth resistor has a first terminal coupled to the fixed voltage, and a second terminal coupled to the third node.
- the third transistor has a control terminal for receiving a device notification voltage, a first terminal coupled to the ground voltage, and a second terminal coupled to the third node.
- FIG. 1 is a diagram of an electronic device and an external device according to an embodiment of the invention
- FIG. 2A is a diagram of a first switch element according to an embodiment of the invention.
- FIG. 2B is a diagram of a second switch element according to an embodiment of the invention.
- FIG. 3A is a diagram of a detection mechanism of an electronic device according to an embodiment of the invention.
- FIG. 3B is a diagram of a detection mechanism of an electronic device according to another embodiment of the invention.
- FIG. 4 is a diagram of an electronic device and an external device according to another embodiment of the invention.
- FIG. 5 is a diagram of an electronic device and an external device according to another embodiment of the invention.
- FIG. 6 is a flowchart of a control method according to an embodiment of the invention.
- FIG. 7 is a diagram of an electronic device and a plurality of external devices according to another embodiment of the invention.
- FIG. 8 is a diagram of a storage system according to another embodiment of the invention.
- FIG. 9 is a diagram of an electronic device and an external device according to another embodiment of the invention.
- FIG. 10 is a diagram of a hot-plug protection circuit according to an embodiment of the invention.
- FIG. 11 is a diagram of a hot-plug protection circuit according to another embodiment of the invention.
- FIG. 12 is a diagram of a hot-plug protection circuit according to another embodiment of the invention.
- FIG. 1 is a diagram of an electronic device 100 and an external device 190 according to an embodiment of the invention.
- the external device 190 is independent of the electronic device 100 .
- the electronic device 100 can communicate with the external device 190 , so as to obtain the standard information relative to the external device 190 .
- the electronic device 100 includes a connector 110 , a controller 120 , a first switch element 130 , a first voltage source 141 , a second voltage source 142 , a third voltage source 143 , a fourth voltage source 144 , and a second switch element 150 .
- the electronic device 100 may be a server, a rack server, a computing device, a backplane, a circuit carrier board, or a host device, but it is not limited thereto. It should be understood that the electronic device 100 may further include other components, such as a housing, a CPU (Central Processing Unit), a GPIO (General-Purpose Input/Output) expander, an I2C (Inter-Integrated Circuit) expander, and/or a power supply module, although they are not displayed in FIG. 1 .
- a CPU Central Processing Unit
- GPIO General-Purpose Input/Output
- I2C Inter-Integrated Circuit
- the external device 190 can support an M. 2 standard or an NGSFF (Next Generation Small Form Factor) standard.
- NGSFF Next Generation Small Form Factor
- the previous version of the NGSFF standard is an NGFF (Next Generation Form Factor) standard.
- the external device 190 is an SSD (Solid State Disk).
- the invention is not limited to the above.
- the external device 190 may be any type of device for supporting the M. 2 standard or the NGSFF standard.
- the connecter 110 receives a device existence voltage VE (also called a “PRSNT” signal) from the external device 190 .
- VE device existence voltage
- the controller 120 is a hardware circuit which is independent of a CPU or the electronic device 100 .
- the controller 120 may be coupled to the connector 110 , so as to receive the device existence voltage VE.
- the controller 120 generates a first control signal SC 1 and a second control signal SC 2 according to the device existence voltage VE. For example, if the external device 190 supports the M.
- the device existence voltage VE may have a high logic level (i.e., a logic “1”); and conversely, if the external device 190 supports the NGSFF standard, the device existence voltage VE may have a low logic level (i.e., a logic “0”).
- the controller 120 can simply determine the standard and the type of the external device 190 .
- the first voltage source 141 can provide a first voltage V 1 .
- the second voltage source 142 can provide a second voltage V 2 .
- the second voltage V 2 may be higher than the first voltage V 1 .
- the first voltage V 1 is equal to 3.3V
- the second voltage V 2 is equal to 12V, but they are not limited thereto.
- the first switch element 130 may be a SPDT (Single-Port Double-Throw) switch.
- the first switch element 130 couples either the first voltage source 141 or the second voltage source 142 to the connector 110 according to the first control signal SC 1 , such that either the first voltage V 1 of the first voltage source 141 or the second voltage V 2 of the second voltage source 142 is used as a supply voltage VDD of the external device 190 .
- the first switch element 131 can couple the first voltage source 141 to the connector 110 , such that the supply voltage VDD may be equal to the first voltage V 1 ; and conversely, if the device existence voltage VE has a low logic level (or the external device 190 supports the NGSFF standard), the first switch element 130 can couple the second voltage source 142 to the connector 110 , such that the supply voltage VDD may be equal to second voltage V 2 .
- the third voltage source 143 can provide a third voltage V 3 .
- the fourth voltage source 144 can provide a fourth voltage V 4 .
- the fourth voltage V 4 may be higher than the third voltage V 3 .
- the third voltage V 3 is equal to 1.8V
- the fourth voltage V 4 is equal to 3.3V, but they are not limited thereto.
- the second switch element 150 may be another SPDT switch. The second switch element 150 couples either the third voltage source 143 or the fourth voltage source 144 to an output node NOUT of the electronic device 100 according to the second control signal SC 2 , such that either the third voltage V 3 of the third voltage source 143 or the fourth voltage V 4 of the fourth voltage source 144 is used as a tunable output voltage VOUT at the output node NOUT.
- the second switch element 150 can couple the third voltage source 143 to the output node NOUT, such that the tunable output voltage VOUT may be equal to the third voltage V 3 ; and conversely, if the device existence voltage VE has a low logic level (or the external device 190 supports the NGSFF standard), the second switch element 150 can couple the fourth voltage source 144 to the output node NOUT, such that the tunable output voltage VOUT may be equal to the fourth voltage V 4 .
- the electronic device 100 can automatically determine the standard and the type of the external device 190 , so as to provide the corresponding supply voltage VDD and the corresponding tunable output voltage VOUT. Accordingly, the invention has at least the advantages of both reducing the system design cost and increasing the system freedom. When a user operates the electronic device 100 , there is no need to replace any component of the electronic device 100 , regardless of the standard of the external device 190 . This will significantly improve the ease of use of the invention.
- FIG. 2A is a diagram of a first switch element 230 according to an embodiment of the invention.
- the first switch element 230 includes a first sub-switch element 231 and a second sub-switch element 232 .
- the first sub-switch element 231 is coupled between the first voltage source 141 and a common node NCM.
- the second sub-switch element 232 is coupled between the second voltage source 142 and the common node NCM.
- the common node NCM is arranged for outputting the supply voltage VDD to the connector 110 .
- the first control signal SC 1 can close one of the first sub-switch element 231 and the second sub-switch element 232 , and open the other of the first sub-switch element 231 and the second sub-switch element 232 .
- the supply voltage VDD is equal to either the first voltage V 1 or the second voltage V 2 .
- the device existence voltage VE has a high logic level (or the external device 190 supports the M.
- the first sub-switch element 231 may be closed and the second sub-switch element 232 may be opened, such that the supply voltage VDD may be equal to the first voltage V 1 ; and conversely, if the device existence voltage VE has a low logic level (or the external device 190 supports the NGSFF standard), the first sub-switch element 231 may be opened and the second sub-switch element 232 may be opened, such that the supply voltage VDD may be equal to second voltage V 2 .
- Other features of FIG. 2A are similar to those of the electronic device 100 of FIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance.
- FIG. 2B is a diagram of a second switch element 250 according to an embodiment of the invention.
- the second switch element 250 includes a third sub-switch element 251 and a fourth sub-switch element 252 .
- the third sub-switch element 251 is coupled between the third voltage source 143 and the output node NOUT.
- the fourth sub-switch element 252 is coupled between the fourth voltage source 144 and the output node NOUT.
- the output node NOUT is arranged for outputting the tunable output voltage VOUT.
- the second control signal SC 2 can close one of the third sub-switch element 251 and the fourth sub-switch element 252 , and open the other of the third sub-switch element 251 and the fourth sub-switch element 252 .
- the tunable output voltage VOUT is equal to either the third voltage V 3 or the fourth voltage V 4 .
- the device existence voltage VE has a high logic level (or the external device 190 supports the M.
- the third sub-switch element 251 can be closed and the fourth sub-switch element 252 can be opened, such that the tunable output voltage VOUT may be equal to the third voltage V 3 ; and conversely, if the device existence voltage VE has a low logic level (or the external device 190 supports the NGSFF standard), the third sub-switch element 251 can be opened and the fourth sub-switch element 252 can be closed, such that the tunable output voltage VOUT may be equal to the fourth voltage V 4 .
- Other features of FIG. 2B are similar to those of the electronic device 100 of FIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance.
- FIG. 3A is a diagram of a detection mechanism of the electronic device 100 according to an embodiment of the invention.
- the controller 120 further includes a detection element 360 .
- the detection element 360 includes a voltage detector 362 , a first current path PA 1 , a second current path PA 2 , and a resistor R 1 .
- the voltage detector 362 may be implemented with a voltmeter.
- Each of the first current path PA 1 and the second current path PA 2 may be implemented with a metal conductive line.
- the resistor R 1 may be a fixed resistor or a variable resistor.
- the connector 110 has a first pin PIN 6 and a second pin PIN 67 .
- the controller 120 uses the detection element 360 to obtain the device existence voltage VE at the first pin PIN 6 .
- the first pin PIN 6 may be coupled through the first current path PA 1 and the resistor R 1 to a test supply voltage VT (e.g., equal to the supply voltage VDD), and the second pin PIN 67 may be coupled through the second current path PA 2 to a ground voltage VSS (e.g., equal to 0V).
- VT test supply voltage
- VSS ground voltage
- the voltage detector 362 determines that the device existence voltage VE at the first pin PIN 6 has a high logic level (i.e., the test supply voltage VT).
- the test supply voltage VT the test supply voltage
- FIG. 3B is a diagram of a detection mechanism of the electronic device 100 according to another embodiment of the invention.
- FIG. 3B is similar to FIG. 3A .
- the voltage detector 362 determines that the device existence voltage VE at the first pin PIN 6 has a low logic level (i.e., the ground voltage VSS).
- Other features of FIG. 3B are similar to those of the electronic device 100 of FIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance.
- FIG. 4 is a diagram of an electronic device 400 and the external device 190 according to another embodiment of the invention.
- the electronic device 400 further includes a peripheral element 470 .
- the peripheral element 470 is coupled to the output node NOUT for receiving the tunable output voltage VOUT.
- the peripheral element 470 may be an expander or a level shifter, but it is not limited thereto.
- Other features of the electronic device 400 of FIG. 4 are similar to those of the electronic device 100 of FIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance.
- FIG. 5 is a diagram of an electronic device 500 and the external device 190 according to another embodiment of the invention.
- the fourth voltage source 144 is integrated with the first voltage source 141 so as to form a single voltage source of the electronic device 500 .
- the electronic device 500 may include only the first voltage source 141 , the second voltage source 142 , and the third voltage source 143 .
- the fourth voltage source 144 may be omitted to reduce the total manufacturing cost.
- the aforementioned fourth voltage V 4 may be equal to the first voltage V 1
- the first voltage source 141 can provide the first voltage V 1 for both the first switch element 130 and the second switch element 150 (i.e., the aforementioned fourth voltage V 4 is replaced with the first voltage V 1 ).
- Other features of the electronic device 500 of FIG. 5 are similar to those of the electronic device 100 of FIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance.
- FIG. 6 is a flowchart of a control method according to an embodiment of the invention.
- the control method includes the following steps.
- step S 610 when an external device is coupled to a connector, a device existence voltage is received by the connector from the external device.
- step S 620 a first control signal and a second control signal are generated by a controller according to the device existence voltage.
- step S 630 a first voltage source or a second voltage source is coupled to the connector by a first switch element according to the first control signal, such that a first voltage of the first voltage source or a second voltage of the second voltage source is used as a supply voltage of the external device.
- step S 640 a third voltage source or a fourth voltage source is coupled to an output node by a second switch element according to the second control signal, such that a third voltage of the third voltage source or a fourth voltage of the fourth voltage source is used as a tunable output voltage at the output node.
- FIG. 7 is a diagram of an electronic device 700 and a plurality of external devices 791 , 792 , 793 and 794 according to another embodiment of the invention.
- FIG. 7 is similar to FIG. 1 .
- the electronic device 700 includes a plurality of connectors 711 , 712 , 713 and 714 , a controller 720 , a first switch element 130 , a first voltage source 141 , a second voltage source 142 , a third voltage source 143 , a fourth voltage source 144 , a second switch element 150 , and a logic circuit 780 .
- One or more of the external devices 791 , 792 , 793 and 794 can support the M. 2 standard or the NGSFF standard.
- the M. 2 standard is set as a prior standard (prior to the NGSFF standard). Specifically, if any one of the device existence voltages VE 1 , VE 2 , VE 3 and VE 4 has a high logic level (or any one of the external devices 791 , 792 , 793 and 794 coupled to the connectors 711 , 712 , 713 and 714 supports the M. 2 standard), the electronic device 700 may provide a power supply using the M. 2 standard.
- the first switch element 130 may switch to the first voltage source 141
- the second switch element 150 may switch to the third voltage source 143 , such that the supply voltage VDD may be equal to the first voltage V 1
- the tunable output voltage VOUT may be equal to the third voltage V 3 .
- the electronic device 700 may provide a power supply using the NGSFF standard.
- the first switch element 130 may switch to the first voltage source 141
- the second switch element 150 may switch to the third voltage source 143 ; furthermore, the logic circuit 780 may disable the power supply of the connectors 712 , 713 and 714 (i.e., the supply voltage VDD can be transmitted to only the connector 711 , but cannot be transmitted to the connectors 712 , 713 and 714 ). For example, if the connectors 711 and 712 are respectively coupled to the external devices 791 and 792 supporting the M.
- the first switch element 130 may switch to the second voltage source 142
- the second switch element 150 may switch to the fourth voltage source 144 ; furthermore, the logic circuit 780 may disable the power supply of the connectors 713 and 714 (i.e., the supply voltage VDD can be transmitted to only the connectors 711 and 712 , but cannot be transmitted to the connectors 713 and 714 ). For example, if the connectors 711 and 712 are respectively coupled to the external devices 791 and 792 supporting the M.
- the first switch element 130 may switch to the first voltage source 141
- the second switch element 150 may switch to the third voltage source 143 ; furthermore, the logic circuit 780 may enable the power supply of all of the connectors 711 , 712 , 713 and 714 (i.e., the supply voltage VDD can be transmitted all of the connectors 711 , 712 , 713 and 714 ).
- Other features of the electronic device 700 of FIG. 7 are similar to those of the electronic device 100 of FIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance.
- Each of the riser cards 821 , 822 , 823 and 824 may be coupled between the mainboard 810 and a respective one of the carrier boards 830 , 840 , 850 and 860 .
- the mainboard 810 includes a BMC (Base Board Manager Controller) 811 and a main expander 812 (e.g., an I2C expander), and each of the carrier boards 830 , 840 , 850 and 860 includes one or more storage devices 831 , 832 , 833 and 834 and an expander 835 (e.g., an I2C expander).
- BMC Base Board Manager Controller
- main expander 812 e.g., an I2C expander
- each “carrier board” of FIG. 8 may be equivalent to the above “electronic device”, each “storage device” of FIG. 8 may be equivalent to the above “external device”, and their inner components and relative functions have been described in the embodiments of FIGS. 1 to 7 .
- the external device e.g., the storage device 831
- the electronic device e.g., the carrier board 830
- the storage system 800 may include more or fewer riser cards, more or fewer carrier boards, and more or fewer storage devices in other embodiments although there are four riser cards 821 , 822 , 823 and 824 , four carrier boards 830 , 840 , 850 and 860 , and four storage devices 831 , 832 , 833 and 834 displayed in FIG. 8 .
- the carrier board 830 includes only two storage devices
- the main expander 812 of the mainboard 810 can communicate with the expander 835 of the carrier board 830 , so as to obtain the total number of the storage devices.
- Other features of the storage system of FIG. 8 are similar to those of the electronic devices 100 to 700 of FIGS. 1 to 7 . Accordingly, these embodiments can achieve similar levels of performance.
- FIG. 9 is a diagram of an electronic device 900 and an external device 190 according to another embodiment of the invention.
- FIG. 9 is similar to FIG. 1 .
- the electronic device 900 further includes a hot-plug protection circuit 910 .
- the hot-plug protection circuit 910 is coupled between the first switch element 130 and the connector 110 .
- the hot-plug protection circuit 910 is used as a switchable element operating in a closed state or an open state.
- the hot-plug protection circuit 910 enables the supply voltage VDD. That is, the supply voltage VDD can be transmitted from the first switch element 130 through the hot-plug protection circuit 910 to the connector 110 .
- the hot-plug protection circuit 910 disables the supply voltage VDD. That is, the hot-plug protection circuit 910 can block the supply voltage VDD, so as to prevent the connector 110 from receiving the supply voltage VDD. In some embodiments, the hot-plug protection circuit 910 selectively enables or disables the supply voltage VDD according to a device notification voltage VK from the connector 110 . For example, when the external device 190 is coupled to the connector 110 , the device notification voltage VK may have a low logic level, and when the external device 190 is not coupled to the connector 110 , the device notification voltage VK may have a high logic level.
- the device notification voltage VK is different from the aforementioned device existence voltage VE. If any external device 190 is coupled to the connector 110 , the device notification voltage VK of the connector 110 will be pulled down to a low logic level, regardless of such external device 190 supporting the M. 2 standard or the NGSFF standard. In the embodiment of FIG. 9 , the connector 110 is not supplied by the supply voltage VDD on the condition that the external device 190 is removed. Such a design can reduces the total power consumption, avoid the risk of short-circuited damage, and omit the pre-charge circuit required by the conventional design, so as to decrease the total manufacturing cost. Other features of the electronic device 900 of FIG. 9 are similar to those of the electronic devices 100 to 700 of FIGS. 1 to 7 . Accordingly, these embodiments can achieve similar levels of performance.
- FIG. 10 is a diagram of a hot-plug protection circuit 920 according to an embodiment of the invention.
- the hot-plug protection circuit 920 includes a first resistor R 1 , a second resistor R 2 , a third resistor R 3 , a diode D 1 , acapacitor C 1 , and a first transistor M 1 .
- the first transistor M 1 may be a PMOS transistor (P-type Metal Oxide Semiconductor Field Effect Transistor).
- the first resistor R 1 has a first terminal coupled to the supply voltage VDD, a second terminal coupled to a control node NC.
- the supply voltage VDD may be from the first switch element 130 , and the supply voltage VDD may be equal to either the first voltage V 1 or the second voltage V 2 .
- the voltage at the control node NC is determined according to the device notification voltage VK.
- the control node NC may directly or indirectly receive the device notification device VK, but it is not limited thereto.
- the second resistor R 2 has a first terminal coupled to the control node NC, and a second terminal coupled to a switch node NW.
- the diode D 1 has an anode coupled to the control node NC, and a cathode coupled to the switch node NW.
- the third resistor R 3 has a first terminal coupled to the switch node NW, and a second terminal coupled to the supply voltage VDD.
- the capacitor C 1 has a first terminal coupled to the switch node NW, and a second terminal coupled to the supply voltage VDD.
- the first transistor M 1 has a control terminal coupled to the switch node NW, a first terminal coupled to the supply voltage VDD, and a second terminal coupled to a voltage output node NVO.
- the voltage output node NVO may be further coupled to the connector 110 .
- the voltage output node NVO is configured to selectively output the supply voltage VDD to the connector 110 .
- the operation principles of the hot-plug protection circuit 920 may be as follows.
- the device notification voltage VK has a low logic level
- the voltage at the switch node NW is pulled down and the first transistor M 1 is turned on, such that the voltage output node NVO can output the supply voltage VDD to the connector 110 .
- the device notification voltage VK has a high logic level
- the voltage at the switch node NW is pulled up and the first transistor M 1 is turned off, such that the voltage output node NVO cannot output the supply voltage VDD to the connector 110 .
- a combination of the second resistor R 2 , the diode D 1 , the third resistor R 3 , and the capacitor C 1 is used as a soft-start circuit.
- the soft-start circuit is configured to slowly turn on and quickly turn off the first transistor M 1 , so as to suppress the initial inrush currents and increase the reliability of the whole circuitry.
- the resistance ratio of the second resistor R 2 to the third resistor R 3 is from 1/2 to 1, such as 2/3.
- the resistance of the second resistor R 2 may be about 200 k ⁇
- the resistance of the third resistor R 3 may be about 300 k ⁇
- the capacitance of the capacitor C 1 may be about 0.1 ⁇ F. According to practical measurements, the above ranges of resistances and capacitance can provide a sufficiently large RC time constant and enhance the performance of the soft-start circuit.
- FIG. 11 is a diagram of a hot-plug protection circuit 930 according to another embodiment of the invention.
- FIG. 11 is similar to FIG. 10 .
- the hot-plug protection circuit 930 further includes a second transistor M 2 .
- the second transistor M 2 may be an NMOS transistor (N-type Metal Oxide Semiconductor Field Effect Transistor).
- the second transistor M 2 has a control terminal for receiving a power enable voltage VL, a first terminal for receiving the device notification voltage VK, and a second terminal coupled to the control node NC.
- the power enable voltage VL may be generated by a processor (not shown) according to a software program.
- the power enable voltage VL is auxiliary and helps to control the hot-plug protection circuit 930 to determine whether to output the supply voltage VDD to the connector 110 . Specifically, only when the power enable voltage VL has a high logic level and the device notification voltage VK has a low logic level, the voltage at the control node NC is pulled down to a low logic level, such that the voltage output node NVO of the hot-plug protection circuit 930 can output the supply voltage VDD; otherwise, the voltage output node NVO of the hot-plug protection circuit 930 cannot output the supply voltage VDD.
- Other features of the hot-plug protection circuit 930 of FIG. 11 are similar to those of the hot-plug protection circuit 920 of FIG. 10 . Accordingly, these embodiments can achieve similar levels of performance.
- FIG. 12 is a diagram of a hot-plug protection circuit 940 according to another embodiment of the invention.
- FIG. 12 is similar to FIG. 10 .
- the hot-plug protection circuit 940 further includes a second transistor M 2 , a third transistor M 3 , an AND gate 941 , a fourth transistor R 4 , and a fifth transistor R 5 .
- Each of the second transistor M 2 and the third transistor M 3 may be an NMOS transistor.
- the second transistor M 2 has a control terminal coupled to a first node N 1 , a first terminal coupled to a ground voltage VSS (e.g., 0V), and a second terminal coupled to the control node NC.
- VSS ground voltage
- the AND gate 941 has a first input terminal coupled to a second node N 2 for receiving a power enable voltage VL, a second input terminal coupled to a third node N 3 , and an output terminal coupled to the first node N 1 .
- the fourth resistor R 4 has a first terminal coupled to a fixed voltage VF (e.g., 3V), and a second terminal coupled to the second node N 2 .
- the fifth resistor R 5 has a first terminal coupled to the fixed voltage VF, and a second terminal coupled to the third node N 3 .
- the third transistor M 3 has a control terminal for receiving a device notification voltage VK, a first terminal coupled to the ground voltage VSS, and a second terminal coupled to the third node N 3 .
- the power enable voltage VL may be generated by a processor (not shown) according to a software program.
- the power enable voltage VL is auxiliary and helps to control the hot-plug protection circuit 940 to determine whether to output the supply voltage VDD to the connector 110 . Specifically, only when the power enable voltage VL has a high logic level and the device notification voltage VK has a low logic level, the voltage at the control node NC is pulled down to a low logic level, such that the voltage output node NVO of the hot-plug protection circuit 940 can output the supply voltage VDD; otherwise, the voltage output node NVO of the hot-plug protection circuit 940 cannot output the supply voltage VDD.
- Other features of the hot-plug protection circuit 940 of FIG. 12 are similar to those of the hot-plug protection circuit 920 of FIG. 10 . Accordingly, these embodiments can achieve similar levels of performance.
- the method of the invention may take the form of a program code (i.e., executable instructions) embodied in tangible media, such as floppy diskettes, CD-ROMS, hard drives, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine thereby becomes an apparatus for practicing the methods.
- the methods may also be embodied in the form of a program code transmitted over some transmission medium, such as electrical wiring or cabling, through fiber optics, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the disclosed methods.
- the program code When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to application specific logic circuits.
- the electronic device and the hot-plug protection circuit of the invention are not limited to the configurations of FIGS. 1-12 .
- the invention may include any one or more features of any one or more embodiments of FIGS. 1-12 . In other words, not all of the features displayed in the figures should be implemented in the electronic device and the hot-plug protection circuit of the invention.
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Engineering (AREA)
- Computer Hardware Design (AREA)
- Power Sources (AREA)
- Semiconductor Integrated Circuits (AREA)
- Control Of Voltage And Current In General (AREA)
- Electronic Switches (AREA)
Abstract
Description
- This Application claims priority of Taiwan Patent Application No. 107109048 filed on Mar. 16, 2018, and further claims priority of Taiwan Patent Application No. 107114861 filed on May 2, 2018, the entirety of which is incorporated by reference herein.
- The disclosure generally relates to an electronic device, and more particularly, to an electronic device for communicating with an external device.
- Current electronic devices can be coupled with a variety of external devices. However, since these external devices have different standards, they may not be compatible with some electronic devices, and this limits the uses and applications thereof. Accordingly, there is a need to propose a novel solution for solving the problems of the prior art.
- In an exemplary embodiment, the invention is directed to an electronic device for communicating with an external device. The electronic devices includes a connector, a controller, a first switch element, a second switch element, a first voltage source, a second voltage source, a third voltage source, and a fourth voltage source. When the external device is coupled to the connector, the connector receives a device existence voltage from the external device. The controller generates a first control signal and a second control signal according to the device existence voltage. The first voltage source provides a first voltage. The second voltage source provides a second voltage. The first switch element couples the first voltage source or the second voltage source to the connector according to the first control signal, such that the first voltage or the second voltage is used as a supply voltage of the external device. The third voltage source provides a third voltage. The fourth voltage source provides a fourth voltage. The second switch element couples the third voltage source or the fourth voltage source to an output node according to the second control signal, such that the third voltage or the fourth voltage is used as a tunable output voltage at the output node.
- In some embodiments, the external device supports an M. 2 standard or an NGSFF (Next Generation Small Form Factor) standard.
- In some embodiments, if the external device supports the M. 2 standard, the device existence voltage has a high logic level, and if the external device supports the NGSFF standard, the device existence voltage has a low logic level.
- In some embodiments, the external device is an SSD (Solid State Disk).
- In some embodiments, the second voltage is higher than the first voltage.
- In some embodiments, if the device existence voltage has a high logic level, the first switch element couples the first voltage source to the connector, and if the device existence voltage has a low logic level, the first switch element couples the second voltage source to the connector.
- In some embodiments, the fourth voltage is higher than the third voltage.
- In some embodiments, if the device existence voltage has a high logic level, the second switch element couples the third voltage source to the output node, and if the device existence voltage has a low logic level, the second switch element couples the fourth voltage source to the output node.
- In some embodiments, the electronic device further includes a peripheral element coupled to the output node. The peripheral element receives the tunable output voltage.
- In some embodiments, the peripheral element is an expander or a level shifter.
- In some embodiments, the fourth voltage source is integrated with the first voltage source so as to form a single voltage source.
- In another exemplary embodiment, the invention is directed to an electronic device for communicating with an external device. The electronic devices includes a connector, a controller, a first switch element, a second switch element, a first voltage source, a second voltage source, a third voltage source, a fourth voltage source, and a hot-plug protection circuit. When the external device is coupled to the connector, the connector receives a device existence voltage from the external device. The controller generates a first control signal and a second control signal according to the device existence voltage. The first voltage source provides a first voltage. The second voltage source provides a second voltage. The first switch element couples the first voltage source or the second voltage source to the connector according to the first control signal, such that the first voltage or the second voltage is used as a supply voltage of the external device. The third voltage source provides a third voltage. The fourth voltage source provides a fourth voltage. The second switch element couples the third voltage source or the fourth voltage source to an output node according to the second control signal, such that the third voltage or the fourth voltage is used as a tunable output voltage at the output node. The hot-plug protection circuit is coupled between the first switch element and the connector. When the external device is coupled to the connector, the hot-plug protection circuit enables the supply voltage. When the external device is not coupled to the connector, the hot-plug protection circuit disables the supply voltage.
- In some embodiments, the hot-plug protection circuit selectively enables or disables the supply voltage according to a device notification voltage from the connector.
- In some embodiments, when the external device is coupled to the connector, the device notification voltage has a low logic level, and when the external device is not coupled to the connector, the device notification voltage has a high logic level.
- In some embodiments, the hot-plug protection circuit includes a first resistor, a second resistor, a diode, a third resistor, a capacitor, and a first transistor. The first resistor has a first terminal coupled to the supply voltage, a second terminal coupled to a control node. The voltage at the control node is determined according to the device notification voltage. The second resistor has a first terminal coupled to the control node, and a second terminal coupled to a switch node. The diode has an anode coupled to the control node, and a cathode coupled to the switch node. The third resistor has a first terminal coupled to the switch node, and a second terminal coupled to the supply voltage. The capacitor has a first terminal coupled to the switch node, and a second terminal coupled to the supply voltage. The first transistor has a control terminal coupled to the switch node, a first terminal coupled to the supply voltage, and a second terminal coupled to a voltage output node. The voltage output node is configured to selectively output the supply voltage to the connector.
- In another exemplary embodiment, the invention is directed to a hot-plug protection circuit including a first resistor, a second resistor, a diode, a third resistor, a capacitor, and a first transistor. The first resistor has a first terminal coupled to a supply voltage, a second terminal coupled to a control node. The second resistor has a first terminal coupled to the control node, and a second terminal coupled to a switch node. The diode has an anode coupled to the control node, and a cathode coupled to the switch node. The third resistor has a first terminal coupled to the switch node, and a second terminal coupled to the supply voltage. The capacitor has a first terminal coupled to the switch node, and a second terminal coupled to the supply voltage. The first transistor has a control terminal coupled to the switch node, a first terminal coupled to the supply voltage, and a second terminal coupled to a voltage output node.
- In some embodiments, the first transistor is a PMOS transistor (P-type Metal Oxide Semiconductor Field Effect Transistor).
- In some embodiments, the control node is arranged for receiving a device notification voltage.
- In some embodiments, the hot-plug protection circuit further includes a second transistor. The second transistor has a control terminal for receiving a power enable voltage, a first terminal for receiving a device notification voltage, and a second terminal coupled to the control node.
- In some embodiments, the hot-plug protection circuit further includes a second transistor, an AND gate, a fourth resistor, a fifth resistor, and a third transistor. The second transistor has a control terminal coupled to a first node, a first terminal coupled to a ground voltage, and a second terminal coupled to the control node. The AND gate has a first input terminal coupled to a second node for receiving a power enable voltage, a second input terminal coupled to a third node, and an output terminal coupled to the first node. The fourth resistor has a first terminal coupled to a fixed voltage, and a second terminal coupled to the second node. The fifth resistor has a first terminal coupled to the fixed voltage, and a second terminal coupled to the third node. The third transistor has a control terminal for receiving a device notification voltage, a first terminal coupled to the ground voltage, and a second terminal coupled to the third node.
- The invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
-
FIG. 1 is a diagram of an electronic device and an external device according to an embodiment of the invention; -
FIG. 2A is a diagram of a first switch element according to an embodiment of the invention; -
FIG. 2B is a diagram of a second switch element according to an embodiment of the invention; -
FIG. 3A is a diagram of a detection mechanism of an electronic device according to an embodiment of the invention; -
FIG. 3B is a diagram of a detection mechanism of an electronic device according to another embodiment of the invention; -
FIG. 4 is a diagram of an electronic device and an external device according to another embodiment of the invention; -
FIG. 5 is a diagram of an electronic device and an external device according to another embodiment of the invention; -
FIG. 6 is a flowchart of a control method according to an embodiment of the invention; -
FIG. 7 is a diagram of an electronic device and a plurality of external devices according to another embodiment of the invention; -
FIG. 8 is a diagram of a storage system according to another embodiment of the invention; -
FIG. 9 is a diagram of an electronic device and an external device according to another embodiment of the invention; -
FIG. 10 is a diagram of a hot-plug protection circuit according to an embodiment of the invention; -
FIG. 11 is a diagram of a hot-plug protection circuit according to another embodiment of the invention; and -
FIG. 12 is a diagram of a hot-plug protection circuit according to another embodiment of the invention. - In order to illustrate the foregoing and other purposes, features and advantages of the invention, the embodiments and figures of the invention will be described in detail as follows.
- Certain terms are used throughout the description and following claims to refer to particular components. As one skilled in the art will appreciate, manufacturers may refer to a component by different names. This document does not intend to distinguish between components that differ in name but not function. In the following description and in the claims, the terms “include” and “comprise” are used in an open-ended fashion, and thus should be interpreted to mean “include, but not limited to . . . ”. The term “substantially” means the value is within an acceptable error range. One skilled in the art can solve the technical problem within a predetermined error range and achieve the proposed technical performance. Also, the term “couple” is intended to mean either an indirect or direct electrical connection. Accordingly, if one device is coupled to another device, that connection may be through a direct electrical connection, or through an indirect electrical connection via other devices and connections.
-
FIG. 1 is a diagram of anelectronic device 100 and anexternal device 190 according to an embodiment of the invention. Theexternal device 190 is independent of theelectronic device 100. When theexternal device 190 is coupled to theelectronic device 100, theelectronic device 100 can communicate with theexternal device 190, so as to obtain the standard information relative to theexternal device 190. As shown inFIG. 1 , theelectronic device 100 includes aconnector 110, acontroller 120, afirst switch element 130, afirst voltage source 141, asecond voltage source 142, athird voltage source 143, afourth voltage source 144, and asecond switch element 150. For example, theelectronic device 100 may be a server, a rack server, a computing device, a backplane, a circuit carrier board, or a host device, but it is not limited thereto. It should be understood that theelectronic device 100 may further include other components, such as a housing, a CPU (Central Processing Unit), a GPIO (General-Purpose Input/Output) expander, an I2C (Inter-Integrated Circuit) expander, and/or a power supply module, although they are not displayed inFIG. 1 . - The
external device 190 can support an M. 2 standard or an NGSFF (Next Generation Small Form Factor) standard. The previous version of the NGSFF standard is an NGFF (Next Generation Form Factor) standard. In some embodiments, theexternal device 190 is an SSD (Solid State Disk). However, the invention is not limited to the above. In alternative embodiments, theexternal device 190 may be any type of device for supporting the M. 2 standard or the NGSFF standard. - When the
external device 190 is coupled to theconnector 110 of theelectronic device 100, theconnecter 110 receives a device existence voltage VE (also called a “PRSNT” signal) from theexternal device 190. In some embodiments, thecontroller 120 is a hardware circuit which is independent of a CPU or theelectronic device 100. Thecontroller 120 may be coupled to theconnector 110, so as to receive the device existence voltage VE. Thecontroller 120 generates a first control signal SC1 and a second control signal SC2 according to the device existence voltage VE. For example, if theexternal device 190 supports the M. 2 standard, the device existence voltage VE may have a high logic level (i.e., a logic “1”); and conversely, if theexternal device 190 supports the NGSFF standard, the device existence voltage VE may have a low logic level (i.e., a logic “0”). By analyzing the level of the device existence voltage VE, thecontroller 120 can simply determine the standard and the type of theexternal device 190. - The
first voltage source 141 can provide a first voltage V1. Thesecond voltage source 142 can provide a second voltage V2. The second voltage V2 may be higher than the first voltage V1. In some embodiments, the first voltage V1 is equal to 3.3V, and the second voltage V2 is equal to 12V, but they are not limited thereto. For example, thefirst switch element 130 may be a SPDT (Single-Port Double-Throw) switch. Thefirst switch element 130 couples either thefirst voltage source 141 or thesecond voltage source 142 to theconnector 110 according to the first control signal SC1, such that either the first voltage V1 of thefirst voltage source 141 or the second voltage V2 of thesecond voltage source 142 is used as a supply voltage VDD of theexternal device 190. For example, if the device existence voltage VE has a high logic level (or theexternal device 190 supports the M. 2 standard), the first switch element 131 can couple thefirst voltage source 141 to theconnector 110, such that the supply voltage VDD may be equal to the first voltage V1; and conversely, if the device existence voltage VE has a low logic level (or theexternal device 190 supports the NGSFF standard), thefirst switch element 130 can couple thesecond voltage source 142 to theconnector 110, such that the supply voltage VDD may be equal to second voltage V2. - The
third voltage source 143 can provide a third voltage V3. Thefourth voltage source 144 can provide a fourth voltage V4. The fourth voltage V4 may be higher than the third voltage V3. In some embodiments, the third voltage V3 is equal to 1.8V, and the fourth voltage V4 is equal to 3.3V, but they are not limited thereto. For example, thesecond switch element 150 may be another SPDT switch. Thesecond switch element 150 couples either thethird voltage source 143 or thefourth voltage source 144 to an output node NOUT of theelectronic device 100 according to the second control signal SC2, such that either the third voltage V3 of thethird voltage source 143 or the fourth voltage V4 of thefourth voltage source 144 is used as a tunable output voltage VOUT at the output node NOUT. For example, if the device existence voltage VE has a high logic level (or theexternal device 190 supports the M. 2 standard), thesecond switch element 150 can couple thethird voltage source 143 to the output node NOUT, such that the tunable output voltage VOUT may be equal to the third voltage V3; and conversely, if the device existence voltage VE has a low logic level (or theexternal device 190 supports the NGSFF standard), thesecond switch element 150 can couple thefourth voltage source 144 to the output node NOUT, such that the tunable output voltage VOUT may be equal to the fourth voltage V4. - With the design of the invention, the
electronic device 100 can automatically determine the standard and the type of theexternal device 190, so as to provide the corresponding supply voltage VDD and the corresponding tunable output voltage VOUT. Accordingly, the invention has at least the advantages of both reducing the system design cost and increasing the system freedom. When a user operates theelectronic device 100, there is no need to replace any component of theelectronic device 100, regardless of the standard of theexternal device 190. This will significantly improve the ease of use of the invention. -
FIG. 2A is a diagram of afirst switch element 230 according to an embodiment of the invention. In the embodiment ofFIG. 2A , thefirst switch element 230 includes a firstsub-switch element 231 and a secondsub-switch element 232. The firstsub-switch element 231 is coupled between thefirst voltage source 141 and a common node NCM. The secondsub-switch element 232 is coupled between thesecond voltage source 142 and the common node NCM. The common node NCM is arranged for outputting the supply voltage VDD to theconnector 110. The first control signal SC1 can close one of the firstsub-switch element 231 and the secondsub-switch element 232, and open the other of the firstsub-switch element 231 and the secondsub-switch element 232. Thus, the supply voltage VDD is equal to either the first voltage V1 or the second voltage V2. For example, if the device existence voltage VE has a high logic level (or theexternal device 190 supports the M. 2 standard), the firstsub-switch element 231 may be closed and the secondsub-switch element 232 may be opened, such that the supply voltage VDD may be equal to the first voltage V1; and conversely, if the device existence voltage VE has a low logic level (or theexternal device 190 supports the NGSFF standard), the firstsub-switch element 231 may be opened and the secondsub-switch element 232 may be opened, such that the supply voltage VDD may be equal to second voltage V2. Other features ofFIG. 2A are similar to those of theelectronic device 100 ofFIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance. -
FIG. 2B is a diagram of asecond switch element 250 according to an embodiment of the invention. In the embodiment ofFIG. 2B , thesecond switch element 250 includes a thirdsub-switch element 251 and a fourthsub-switch element 252. The thirdsub-switch element 251 is coupled between thethird voltage source 143 and the output node NOUT. The fourthsub-switch element 252 is coupled between thefourth voltage source 144 and the output node NOUT. The output node NOUT is arranged for outputting the tunable output voltage VOUT. The second control signal SC2 can close one of the thirdsub-switch element 251 and the fourthsub-switch element 252, and open the other of the thirdsub-switch element 251 and the fourthsub-switch element 252. Thus, the tunable output voltage VOUT is equal to either the third voltage V3 or the fourth voltage V4. For example, if the device existence voltage VE has a high logic level (or theexternal device 190 supports the M. 2 standard), the thirdsub-switch element 251 can be closed and the fourthsub-switch element 252 can be opened, such that the tunable output voltage VOUT may be equal to the third voltage V3; and conversely, if the device existence voltage VE has a low logic level (or theexternal device 190 supports the NGSFF standard), the thirdsub-switch element 251 can be opened and the fourthsub-switch element 252 can be closed, such that the tunable output voltage VOUT may be equal to the fourth voltage V4. Other features ofFIG. 2B are similar to those of theelectronic device 100 ofFIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance. -
FIG. 3A is a diagram of a detection mechanism of theelectronic device 100 according to an embodiment of the invention. In the embodiment ofFIG. 3A , thecontroller 120 further includes adetection element 360. Thedetection element 360 includes avoltage detector 362, a first current path PA1, a second current path PA2, and a resistor R1. Thevoltage detector 362 may be implemented with a voltmeter. Each of the first current path PA1 and the second current path PA2 may be implemented with a metal conductive line. The resistor R1 may be a fixed resistor or a variable resistor. Specifically, theconnector 110 has a first pin PIN6 and a second pin PIN67. When theexternal device 190 supporting the M. 2 standard is coupled to theconnector 110, an open-circuited path is formed between the first pin PIN6 and the second pin PIN67. Thecontroller 120 uses thedetection element 360 to obtain the device existence voltage VE at the first pin PIN6. For example, the first pin PIN6 may be coupled through the first current path PA1 and the resistor R1 to a test supply voltage VT (e.g., equal to the supply voltage VDD), and the second pin PIN67 may be coupled through the second current path PA2 to a ground voltage VSS (e.g., equal to 0V). Since the first pin PIN6 is electrically isolated from the second pin PIN67, thevoltage detector 362 determines that the device existence voltage VE at the first pin PIN6 has a high logic level (i.e., the test supply voltage VT). Other features ofFIG. 3A are similar to those of theelectronic device 100 ofFIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance. -
FIG. 3B is a diagram of a detection mechanism of theelectronic device 100 according to another embodiment of the invention.FIG. 3B is similar toFIG. 3A . In the embodiment ofFIG. 3B , when theexternal device 190 supporting the NGSFF standard is coupled to theconnector 110, a short-circuited path is formed between the first pin PIN6 and the second pin PIN67. Since the first pin PIN6 is electrically connected to the second pin PIN67, thevoltage detector 362 determines that the device existence voltage VE at the first pin PIN6 has a low logic level (i.e., the ground voltage VSS). Other features ofFIG. 3B are similar to those of theelectronic device 100 ofFIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance. -
FIG. 4 is a diagram of anelectronic device 400 and theexternal device 190 according to another embodiment of the invention. In the embodiment ofFIG. 4 , theelectronic device 400 further includes aperipheral element 470. Theperipheral element 470 is coupled to the output node NOUT for receiving the tunable output voltage VOUT. For example, theperipheral element 470 may be an expander or a level shifter, but it is not limited thereto. Other features of theelectronic device 400 ofFIG. 4 are similar to those of theelectronic device 100 ofFIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance. -
FIG. 5 is a diagram of anelectronic device 500 and theexternal device 190 according to another embodiment of the invention. In the embodiment ofFIG. 5 , thefourth voltage source 144 is integrated with thefirst voltage source 141 so as to form a single voltage source of theelectronic device 500. For example, theelectronic device 500 may include only thefirst voltage source 141, thesecond voltage source 142, and thethird voltage source 143. Thefourth voltage source 144 may be omitted to reduce the total manufacturing cost. Thus, the aforementioned fourth voltage V4 may be equal to the first voltage V1, and thefirst voltage source 141 can provide the first voltage V1 for both thefirst switch element 130 and the second switch element 150 (i.e., the aforementioned fourth voltage V4 is replaced with the first voltage V1). Other features of theelectronic device 500 ofFIG. 5 are similar to those of theelectronic device 100 ofFIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance. -
FIG. 6 is a flowchart of a control method according to an embodiment of the invention. The control method includes the following steps. In step S610, when an external device is coupled to a connector, a device existence voltage is received by the connector from the external device. In step S620, a first control signal and a second control signal are generated by a controller according to the device existence voltage. In step S630, a first voltage source or a second voltage source is coupled to the connector by a first switch element according to the first control signal, such that a first voltage of the first voltage source or a second voltage of the second voltage source is used as a supply voltage of the external device. In step S640, a third voltage source or a fourth voltage source is coupled to an output node by a second switch element according to the second control signal, such that a third voltage of the third voltage source or a fourth voltage of the fourth voltage source is used as a tunable output voltage at the output node. It should be noted that the above steps are not required to be performed in order, and any feature of the electronic devices of the embodiments ofFIGS. 1-5 may be applied to the control method ofFIG. 6 . -
FIG. 7 is a diagram of anelectronic device 700 and a plurality of 791, 792, 793 and 794 according to another embodiment of the invention.external devices FIG. 7 is similar toFIG. 1 . In the embodiment ofFIG. 7 , theelectronic device 700 includes a plurality of 711, 712, 713 and 714, aconnectors controller 720, afirst switch element 130, afirst voltage source 141, asecond voltage source 142, athird voltage source 143, afourth voltage source 144, asecond switch element 150, and alogic circuit 780. One or more of the 791, 792, 793 and 794 can support the M. 2 standard or the NGSFF standard. When theexternal devices 791, 792, 793 and 794 are respectively coupled to theexternal devices 711, 712, 713 and 714 of theconnectors electronic device 700, the 711, 712, 713 and 714 receive a plurality of device existence voltages VE1, VE2, VE3 and VE4 from theconnectors 791, 792, 793 and 794, respectively. For example, if theexternal devices external device 791 supports the M. 2 standard, the device existence voltage VE1 may have a high logic level. For example, if theexternal device 792 supports the NGSFF standard, the device existence voltage VE2 may have a low logic level. On the other hand, if one or more of the 711, 712, 713 and 714 are not connected to any external device, the corresponding one or more of the device existence voltages VE1, VE2, VE3 and VE4 may be omitted. In other words, the device existence voltages VE1, VE2, VE3 and VE4 have the same or different logic levels in response to a variety of types of theconnectors 791, 792, 793 and 794. Theexternal devices logic circuit 780 processes the device existence voltages VE1, VE2, VE3 and VE4, and generates an indication existence voltage VEC according to the device existence voltages VE1, VE2, VE3 and VE4. The indication existence voltage VEC may represent a logic operation result of the device existence voltages VE1, VE2, VE3 and VE4. For example, thelogic circuit 780 may perform an OR logic operation or an AND logic operation to the device existence voltages VE1, VE2, VE3 and VE4, but it is not limited thereto. Thecontroller 720 generates a first control signal SC1 and a second control signal SC2 according to the indication existence voltage VEC, so as to control thefirst switch element 130 and thesecond switch element 150, respectively. The operation principles of thefirst switch element 130, thesecond switch element 150, thefirst voltage source 141, thesecond voltage source 142, thethird voltage source 143, and thefourth voltage source 144 have been described in the above embodiments. It should be noted that considering the design factors of heat dissipation capability and current carrying capability, theelectronic device 700 may include more or fewer connectors corresponding to more or fewer external devices in other embodiments although there are merely four 791, 792, 793 and 794 and fourexternal devices 711, 712, 713 and 714 displayed inconnectors FIG. 7 . - In some embodiments, the M. 2 standard is set as a prior standard (prior to the NGSFF standard). Specifically, if any one of the device existence voltages VE1, VE2, VE3 and VE4 has a high logic level (or any one of the
791, 792, 793 and 794 coupled to theexternal devices 711, 712, 713 and 714 supports the M. 2 standard), theconnectors electronic device 700 may provide a power supply using the M. 2 standard. For example, thefirst switch element 130 may switch to thefirst voltage source 141, and thesecond switch element 150 may switch to thethird voltage source 143, such that the supply voltage VDD may be equal to the first voltage V1, and the tunable output voltage VOUT may be equal to the third voltage V3. Conversely, if each of the device existence voltages VE1, VE2, VE3 and VE4 does not have a high logic level (or each of the 791, 792, 793 and 794 coupled to theexternal devices 711, 712, 713 and 714 does not support the M. 2 standard), theconnectors electronic device 700 may provide a power supply using the NGSFF standard. For example, thefirst switch element 130 may switch to thesecond voltage source 142, and thesecond switch element 150 may switch to thefourth voltage source 144, such that the supply voltage VDD may be equal to the second voltage V2, and the tunable output voltage VOUT may be equal to the fourth voltage V4. - For example, if the
711, 712, 713 and 714 are respectively coupled to theconnectors 791, 792, 793 and 794 supporting the M. 2 standard, theexternal devices first switch element 130 may switch to thefirst voltage source 141, and thesecond switch element 150 may switch to thethird voltage source 143. For example, if the 711, 712, 713 and 714 are respectively coupled to theconnectors 791, 792, 793 and 794 supporting the NGSFF standard, theexternal devices first switch element 130 may switch to thesecond voltage source 142, and thesecond switch element 150 may switch to thefourth voltage source 144. For example, if theconnector 711 is coupled to theexternal device 791 supporting the M. 2 standard and the 712, 713 and 714 are respectively coupled to theconnectors 792, 793 and 794 supporting the NGSFF standard, theexternal devices first switch element 130 may switch to thefirst voltage source 141, and thesecond switch element 150 may switch to thethird voltage source 143; furthermore, thelogic circuit 780 may disable the power supply of the 712, 713 and 714 (i.e., the supply voltage VDD can be transmitted to only theconnectors connector 711, but cannot be transmitted to the 712, 713 and 714). For example, if theconnectors 711 and 712 are respectively coupled to theconnectors 791 and 792 supporting the M. 2 standard and theexternal devices 713 and 714 are respectively coupled to theconnectors 793 and 794 supporting the NGSFF standard, theexternal devices first switch element 130 may switch to thefirst voltage source 141, and thesecond switch element 150 may switch to thethird voltage source 143; furthermore, thelogic circuit 780 may enable the power supply of all of the 711, 712, 713 and 714 (i.e., the supply voltage VDD can be transmitted all of theconnectors 711, 712, 713 and 714). For example, if theconnectors 711 and 712 are respectively coupled to theconnectors 791 and 792 supporting the M. 2 standard and theexternal devices 713 and 714 are respectively coupled to theconnectors 793 and 794 supporting the NGSFF standard, theexternal devices first switch element 130 may switch to thefirst voltage source 141, and thesecond switch element 150 may switch to thethird voltage source 143; furthermore, thelogic circuit 780 may disable the power supply of theconnectors 713 and 714 (i.e., the supply voltage VDD can be transmitted to only the 711 and 712, but cannot be transmitted to theconnectors connectors 713 and 714). For example, if theconnector 711 is coupled to theexternal device 791 supporting the M. 2 standard, theconnectors 712 is coupled to theexternal device 792 supporting the NGSFF standard, and the 713 and 714 are not coupled to any external device (i.e., theconnectors 793 and 794 are omitted), theexternal devices first switch element 130 may switch to thefirst voltage source 141, and thesecond switch element 150 may switch to thethird voltage source 143; furthermore, thelogic circuit 780 may disable the power supply of the 712, 713 and 714 (i.e., the supply voltage VDD can be transmitted to only theconnectors connector 711, but cannot be transmitted to the 712, 713 and 714). For example, if theconnectors 711 and 712 are respectively coupled to theconnectors 791 and 792 supporting the NGSFF standard and theexternal devices 713 and 714 are not coupled to any external device (i.e., theconnectors 793 and 794 are omitted), theexternal devices first switch element 130 may switch to thesecond voltage source 142, and thesecond switch element 150 may switch to thefourth voltage source 144; furthermore, thelogic circuit 780 may disable the power supply of theconnectors 713 and 714 (i.e., the supply voltage VDD can be transmitted to only the 711 and 712, but cannot be transmitted to theconnectors connectors 713 and 714). For example, if the 711 and 712 are respectively coupled to theconnectors 791 and 792 supporting the M. 2 standard and theexternal devices 713 and 714 are not coupled to any external device (i.e., theconnectors 793 and 794 are omitted), theexternal devices first switch element 130 may switch to thefirst voltage source 141, and thesecond switch element 150 may switch to thethird voltage source 143; furthermore, thelogic circuit 780 may enable the power supply of all of the 711, 712, 713 and 714 (i.e., the supply voltage VDD can be transmitted all of theconnectors 711, 712, 713 and 714). Other features of theconnectors electronic device 700 ofFIG. 7 are similar to those of theelectronic device 100 ofFIG. 1 . Accordingly, the two embodiments can achieve similar levels of performance. -
FIG. 8 is a diagram of astorage system 800 according to another embodiment of the invention. Thestorage system 800 may be a hot storage device. The hot storage device may be a portion of a rack server, and it may include a variety of applications of the electronic devices described in the above embodiments. In the embodiment ofFIG. 8 , thestorage system 800 at least includes amainboard 810, and one or 830, 840, 850 and 860 coupled to themore carrier boards mainboard 810. Thestorage system 800 may further include one or 821, 822, 823 and 824. Each of themore riser cards 821, 822, 823 and 824 may be coupled between theriser cards mainboard 810 and a respective one of the 830, 840, 850 and 860. Specifically, thecarrier boards mainboard 810 includes a BMC (Base Board Manager Controller) 811 and a main expander 812 (e.g., an I2C expander), and each of the 830, 840, 850 and 860 includes one orcarrier boards 831, 832, 833 and 834 and an expander 835 (e.g., an I2C expander).more storage devices FIG. 8 uses thecarrier board 830 as an example, and each of the 840, 850 and 860 may have the same structure as that of theother carrier boards carrier board 830. It should be understood that each “carrier board” ofFIG. 8 may be equivalent to the above “electronic device”, each “storage device” ofFIG. 8 may be equivalent to the above “external device”, and their inner components and relative functions have been described in the embodiments ofFIGS. 1 to 7 . In the embodiment ofFIG. 8 , the external device (e.g., the storage device 831) is integrated with the electronic device (e.g., the carrier board 830), and it becomes a portion of the electronic device. Specifically, theexpander 835 of thecarrier board 830 can obtain the standard information (e.g., the M. 2 standard or the NGSFF standard) relative to the 831, 832, 833 and 834, and the standard information can be transmitted through thestorage devices riser card 821 to themain expander 812 of themainboard 810, such that theBMC 811 of themainboard 810 can receive the standard information relative to the 831, 832, 833 and 834 by reading thestorage devices main expander 812. It should be noted that thestorage system 800 may include more or fewer riser cards, more or fewer carrier boards, and more or fewer storage devices in other embodiments although there are four 821, 822, 823 and 824, fourriser cards 830, 840, 850 and 860, and fourcarrier boards 831, 832, 833 and 834 displayed instorage devices FIG. 8 . For example, if thecarrier board 830 includes only two storage devices, themain expander 812 of themainboard 810 can communicate with theexpander 835 of thecarrier board 830, so as to obtain the total number of the storage devices. Other features of the storage system ofFIG. 8 are similar to those of theelectronic devices 100 to 700 ofFIGS. 1 to 7 . Accordingly, these embodiments can achieve similar levels of performance. -
FIG. 9 is a diagram of anelectronic device 900 and anexternal device 190 according to another embodiment of the invention.FIG. 9 is similar toFIG. 1 . In the embodiment ofFIG. 9 , theelectronic device 900 further includes a hot-plug protection circuit 910. The hot-plug protection circuit 910 is coupled between thefirst switch element 130 and theconnector 110. The hot-plug protection circuit 910 is used as a switchable element operating in a closed state or an open state. When theexternal device 190 is coupled to theconnector 110, the hot-plug protection circuit 910 enables the supply voltage VDD. That is, the supply voltage VDD can be transmitted from thefirst switch element 130 through the hot-plug protection circuit 910 to theconnector 110. Conversely, when theexternal device 190 is not coupled to theconnector 110, the hot-plug protection circuit 910 disables the supply voltage VDD. That is, the hot-plug protection circuit 910 can block the supply voltage VDD, so as to prevent theconnector 110 from receiving the supply voltage VDD. In some embodiments, the hot-plug protection circuit 910 selectively enables or disables the supply voltage VDD according to a device notification voltage VK from theconnector 110. For example, when theexternal device 190 is coupled to theconnector 110, the device notification voltage VK may have a low logic level, and when theexternal device 190 is not coupled to theconnector 110, the device notification voltage VK may have a high logic level. It should be noted that the device notification voltage VK is different from the aforementioned device existence voltage VE. If anyexternal device 190 is coupled to theconnector 110, the device notification voltage VK of theconnector 110 will be pulled down to a low logic level, regardless of suchexternal device 190 supporting the M. 2 standard or the NGSFF standard. In the embodiment ofFIG. 9 , theconnector 110 is not supplied by the supply voltage VDD on the condition that theexternal device 190 is removed. Such a design can reduces the total power consumption, avoid the risk of short-circuited damage, and omit the pre-charge circuit required by the conventional design, so as to decrease the total manufacturing cost. Other features of theelectronic device 900 ofFIG. 9 are similar to those of theelectronic devices 100 to 700 ofFIGS. 1 to 7 . Accordingly, these embodiments can achieve similar levels of performance. - The following embodiments will introduce a variety of circuit configurations of the hot-
plug protection circuit 910. It should be understood that these figures and descriptions are merely exemplary, rather than limitations of the invention. -
FIG. 10 is a diagram of a hot-plug protection circuit 920 according to an embodiment of the invention. In the embodiment ofFIG. 10 , the hot-plug protection circuit 920 includes a first resistor R1, a second resistor R2, a third resistor R3, a diode D1, acapacitor C1, and a first transistor M1. The first transistor M1 may be a PMOS transistor (P-type Metal Oxide Semiconductor Field Effect Transistor). The first resistor R1 has a first terminal coupled to the supply voltage VDD, a second terminal coupled to a control node NC. As mentioned above, the supply voltage VDD may be from thefirst switch element 130, and the supply voltage VDD may be equal to either the first voltage V1 or the second voltage V2. The voltage at the control node NC is determined according to the device notification voltage VK. For example, the control node NC may directly or indirectly receive the device notification device VK, but it is not limited thereto. The second resistor R2 has a first terminal coupled to the control node NC, and a second terminal coupled to a switch node NW. The diode D1 has an anode coupled to the control node NC, and a cathode coupled to the switch node NW. The third resistor R3 has a first terminal coupled to the switch node NW, and a second terminal coupled to the supply voltage VDD. The capacitor C1 has a first terminal coupled to the switch node NW, and a second terminal coupled to the supply voltage VDD. The first transistor M1 has a control terminal coupled to the switch node NW, a first terminal coupled to the supply voltage VDD, and a second terminal coupled to a voltage output node NVO. The voltage output node NVO may be further coupled to theconnector 110. The voltage output node NVO is configured to selectively output the supply voltage VDD to theconnector 110. - The operation principles of the hot-
plug protection circuit 920 may be as follows. When the device notification voltage VK has a low logic level, the voltage at the switch node NW is pulled down and the first transistor M1 is turned on, such that the voltage output node NVO can output the supply voltage VDD to theconnector 110. Conversely, when the device notification voltage VK has a high logic level, the voltage at the switch node NW is pulled up and the first transistor M1 is turned off, such that the voltage output node NVO cannot output the supply voltage VDD to theconnector 110. On the other hand, a combination of the second resistor R2, the diode D1, the third resistor R3, and the capacitor C1 is used as a soft-start circuit. The soft-start circuit is configured to slowly turn on and quickly turn off the first transistor M1, so as to suppress the initial inrush currents and increase the reliability of the whole circuitry. In some embodiments, the resistance ratio of the second resistor R2 to the third resistor R3 is from 1/2 to 1, such as 2/3. For example, the resistance of the second resistor R2 may be about 200 kΩ, the resistance of the third resistor R3 may be about 300 kΩ, and the capacitance of the capacitor C1 may be about 0.1 μF. According to practical measurements, the above ranges of resistances and capacitance can provide a sufficiently large RC time constant and enhance the performance of the soft-start circuit. -
FIG. 11 is a diagram of a hot-plug protection circuit 930 according to another embodiment of the invention.FIG. 11 is similar toFIG. 10 . In the embodiment ofFIG. 11 , the hot-plug protection circuit 930 further includes a second transistor M2. The second transistor M2 may be an NMOS transistor (N-type Metal Oxide Semiconductor Field Effect Transistor). The second transistor M2 has a control terminal for receiving a power enable voltage VL, a first terminal for receiving the device notification voltage VK, and a second terminal coupled to the control node NC. The power enable voltage VL may be generated by a processor (not shown) according to a software program. The power enable voltage VL is auxiliary and helps to control the hot-plug protection circuit 930 to determine whether to output the supply voltage VDD to theconnector 110. Specifically, only when the power enable voltage VL has a high logic level and the device notification voltage VK has a low logic level, the voltage at the control node NC is pulled down to a low logic level, such that the voltage output node NVO of the hot-plug protection circuit 930 can output the supply voltage VDD; otherwise, the voltage output node NVO of the hot-plug protection circuit 930 cannot output the supply voltage VDD. Other features of the hot-plug protection circuit 930 ofFIG. 11 are similar to those of the hot-plug protection circuit 920 ofFIG. 10 . Accordingly, these embodiments can achieve similar levels of performance. -
FIG. 12 is a diagram of a hot-plug protection circuit 940 according to another embodiment of the invention.FIG. 12 is similar toFIG. 10 . In the embodiment ofFIG. 12 , the hot-plug protection circuit 940 further includes a second transistor M2, a third transistor M3, an ANDgate 941, a fourth transistor R4, and a fifth transistor R5. Each of the second transistor M2 and the third transistor M3 may be an NMOS transistor. The second transistor M2 has a control terminal coupled to a first node N1, a first terminal coupled to a ground voltage VSS (e.g., 0V), and a second terminal coupled to the control node NC. The ANDgate 941 has a first input terminal coupled to a second node N2 for receiving a power enable voltage VL, a second input terminal coupled to a third node N3, and an output terminal coupled to the first node N1. The fourth resistor R4 has a first terminal coupled to a fixed voltage VF (e.g., 3V), and a second terminal coupled to the second node N2. The fifth resistor R5 has a first terminal coupled to the fixed voltage VF, and a second terminal coupled to the third node N3. The third transistor M3 has a control terminal for receiving a device notification voltage VK, a first terminal coupled to the ground voltage VSS, and a second terminal coupled to the third node N3. The power enable voltage VL may be generated by a processor (not shown) according to a software program. The power enable voltage VL is auxiliary and helps to control the hot-plug protection circuit 940 to determine whether to output the supply voltage VDD to theconnector 110. Specifically, only when the power enable voltage VL has a high logic level and the device notification voltage VK has a low logic level, the voltage at the control node NC is pulled down to a low logic level, such that the voltage output node NVO of the hot-plug protection circuit 940 can output the supply voltage VDD; otherwise, the voltage output node NVO of the hot-plug protection circuit 940 cannot output the supply voltage VDD. Other features of the hot-plug protection circuit 940 ofFIG. 12 are similar to those of the hot-plug protection circuit 920 ofFIG. 10 . Accordingly, these embodiments can achieve similar levels of performance. - The method of the invention, or certain aspects or portions thereof, may take the form of a program code (i.e., executable instructions) embodied in tangible media, such as floppy diskettes, CD-ROMS, hard drives, or any other machine-readable storage medium, wherein, when the program code is loaded into and executed by a machine, such as a computer, the machine thereby becomes an apparatus for practicing the methods. The methods may also be embodied in the form of a program code transmitted over some transmission medium, such as electrical wiring or cabling, through fiber optics, or via any other form of transmission, wherein, when the program code is received and loaded into and executed by a machine, such as a computer, the machine becomes an apparatus for practicing the disclosed methods. When implemented on a general-purpose processor, the program code combines with the processor to provide a unique apparatus that operates analogously to application specific logic circuits.
- Note that the above element parameters are not limitations of the invention. A designer can fine-tune these settings or values according to different requirements. It should be understood that the electronic device and the hot-plug protection circuit of the invention are not limited to the configurations of
FIGS. 1-12 . The invention may include any one or more features of any one or more embodiments ofFIGS. 1-12 . In other words, not all of the features displayed in the figures should be implemented in the electronic device and the hot-plug protection circuit of the invention. - Use of ordinal terms such as “first”, “second”, “third”, etc., in the claims to modify a claim element does not by itself connote any priority, precedence, or order of one claim element over another or the temporal order in which acts of a method are performed, but are used merely as labels to distinguish one claim element having a certain name from another element having the same name (but for use of the ordinal term) to distinguish the claim elements.
- It will be apparent to those skilled in the art that various modifications and variations can be made in the invention. It is intended that the standard and examples be considered as exemplary only, with the true scope of the disclosed embodiments being indicated by the following claims and their equivalents.
Claims (20)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US16/507,729 US10534416B2 (en) | 2018-03-16 | 2019-07-10 | Storage system and control method |
Applications Claiming Priority (6)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| TW107109048A | 2018-03-16 | ||
| TW107109048 | 2018-03-16 | ||
| TW107109048 | 2018-03-16 | ||
| TW107114861A TWI647913B (en) | 2018-03-16 | 2018-05-02 | Electronic device and hot plug protection circuit |
| TW107114861A | 2018-05-02 | ||
| TW107114861 | 2018-05-02 |
Related Child Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/507,729 Continuation US10534416B2 (en) | 2018-03-16 | 2019-07-10 | Storage system and control method |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| US10394298B1 US10394298B1 (en) | 2019-08-27 |
| US20190286603A1 true US20190286603A1 (en) | 2019-09-19 |
Family
ID=65804252
Family Applications (2)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US15/995,359 Active US10394298B1 (en) | 2018-03-16 | 2018-06-01 | Electronic device and hot-plug protection circuit |
| US16/507,729 Active US10534416B2 (en) | 2018-03-16 | 2019-07-10 | Storage system and control method |
Family Applications After (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| US16/507,729 Active US10534416B2 (en) | 2018-03-16 | 2019-07-10 | Storage system and control method |
Country Status (3)
| Country | Link |
|---|---|
| US (2) | US10394298B1 (en) |
| CN (1) | CN110275852B (en) |
| TW (1) | TWI647913B (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112531674A (en) * | 2020-12-08 | 2021-03-19 | 浪潮商用机器有限公司 | A DC power supply parallel power supply system and electronic product |
| US11971758B2 (en) * | 2020-12-16 | 2024-04-30 | Samsung Electronics Co., Ltd. | Insertable electronic device and method for the same |
| CN114050714B (en) * | 2022-01-13 | 2022-04-22 | 苏州浪潮智能科技有限公司 | Method, circuit, device and medium for protecting PCIE (peripheral component interface express) card power supply |
| TWI859759B (en) * | 2023-03-10 | 2024-10-21 | 修平學校財團法人修平科技大學 | Storage device |
| DE102023114483B3 (en) | 2023-06-01 | 2024-05-08 | aoloa-Engineering GmbH | Data processing device and power supply device |
Family Cites Families (12)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JPH02280621A (en) * | 1989-03-16 | 1990-11-16 | Siemens Ag | Transistor circuit |
| US5376831A (en) * | 1993-09-24 | 1994-12-27 | International Business Machines Corporation | Power switch circuit providing linear voltage rise |
| US5870617A (en) * | 1994-12-22 | 1999-02-09 | Texas Instruments Incorporated | Systems, circuits and methods for mixed voltages and programmable voltage rails on integrated circuits |
| US5930496A (en) * | 1997-09-26 | 1999-07-27 | Compaq Computer Corporation | Computer expansion slot and associated logic for automatically detecting compatibility with an expansion card |
| US6157974A (en) * | 1997-12-23 | 2000-12-05 | Lsi Logic Corporation | Hot plugging system which precharging data signal pins to the reference voltage that was generated from voltage detected on the operating mode signal conductor in the bus |
| US6166455A (en) * | 1999-01-14 | 2000-12-26 | Micro Linear Corporation | Load current sharing and cascaded power supply modules |
| US7170315B2 (en) * | 2003-07-31 | 2007-01-30 | Actel Corporation | Programmable system on a chip |
| TWI243230B (en) * | 2004-07-16 | 2005-11-11 | Delta Electronics Inc | Hot-swap circuit system for fan tray |
| US7884495B2 (en) * | 2006-05-16 | 2011-02-08 | Honeywell International Inc. | Method and apparatus for hot swap of line replaceable modules for AC and DC electric power systems |
| US8547161B1 (en) * | 2008-05-08 | 2013-10-01 | Google Inc. | Transistor having asymmetric gate-voltage control |
| US10255215B2 (en) * | 2016-01-29 | 2019-04-09 | Liqid Inc. | Enhanced PCIe storage device form factors |
| TWM537760U (en) * | 2016-09-21 | 2017-03-01 | 華碩電腦股份有限公司 | Electronic device |
-
2018
- 2018-05-02 TW TW107114861A patent/TWI647913B/en active
- 2018-05-15 CN CN201810461457.0A patent/CN110275852B/en active Active
- 2018-06-01 US US15/995,359 patent/US10394298B1/en active Active
-
2019
- 2019-07-10 US US16/507,729 patent/US10534416B2/en active Active
Also Published As
| Publication number | Publication date |
|---|---|
| CN110275852B (en) | 2023-06-16 |
| US20190332151A1 (en) | 2019-10-31 |
| US10394298B1 (en) | 2019-08-27 |
| US10534416B2 (en) | 2020-01-14 |
| TW201939895A (en) | 2019-10-01 |
| TWI647913B (en) | 2019-01-11 |
| CN110275852A (en) | 2019-09-24 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| US10534416B2 (en) | Storage system and control method | |
| US10103714B2 (en) | Adjust voltage for thermal mitigation | |
| US20130318389A1 (en) | Power supply management system and method | |
| US9086712B2 (en) | Device and method for compensating for voltage drops | |
| US8935451B2 (en) | Network card detecting circuit | |
| US7996175B2 (en) | PCI load card | |
| US11418052B2 (en) | Power circuit and driving method thereof | |
| US8325052B2 (en) | Over-current protection apparatus | |
| US5808377A (en) | Power supply contention prevention circuit | |
| US9825627B2 (en) | Apparatus for performing signal driving in an electronic device with aid of different types of decoupling capacitors for pre-driver and post-driver | |
| US20090244798A1 (en) | Power status notification method and power status notification circuit | |
| US11163348B2 (en) | Connectors that connect a storage device and power supply control device, and related power supply control devices and host interface devices | |
| US10732699B2 (en) | Redundancy in distribution of voltage-frequency scaling parameters | |
| US7944239B2 (en) | System and method for providing live insertion | |
| US20250300561A1 (en) | Dynamically configurable power conversion topology | |
| US20150138744A1 (en) | Printed circuit board | |
| US12401159B2 (en) | Detection device and detection method for detecting whether M.2 device is coupled to M.2 connector | |
| CN119171733B (en) | Overshoot suppression circuits and electronic products | |
| US20220359035A1 (en) | Integrated circuit test apparatus | |
| CN221551144U (en) | A computing device | |
| US8030958B2 (en) | System for providing a reference voltage to a semiconductor integrated circuit | |
| CN110364522B (en) | Circuit Architecture to Protect Low Voltage Components | |
| US20160258437A1 (en) | Fan operation detection | |
| US7508237B2 (en) | Mainboard, electronic component, and controlling method of logic operation | |
| KR20240134729A (en) | Overvoltage protection circuit, connector and semiconductor device |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| AS | Assignment |
Owner name: WIWYNN CORPORATION, TAIWAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:CHANG, LI-MIN;LAI, KAI JIE;YEN, CHIA-HUNG;AND OTHERS;REEL/FRAME:045960/0322 Effective date: 20180503 |
|
| FEPP | Fee payment procedure |
Free format text: ENTITY STATUS SET TO UNDISCOUNTED (ORIGINAL EVENT CODE: BIG.); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY |
|
| STCF | Information on status: patent grant |
Free format text: PATENTED CASE |
|
| MAFP | Maintenance fee payment |
Free format text: PAYMENT OF MAINTENANCE FEE, 4TH YEAR, LARGE ENTITY (ORIGINAL EVENT CODE: M1551); ENTITY STATUS OF PATENT OWNER: LARGE ENTITY Year of fee payment: 4 |