A bridging device and a power saving method thereof are disclosed. The disclosed bridging device includes a connector, a connection detector and a bridging chip. The connector is operative to connect to a host and includes a power pin and a command pin. The connection detector is coupled to the power pin to determine whether the connector is floating, and, outputs a linked signal when the connection is non-floating. The bridging chip is coupled to the command pin and the connection detector. When the bridging chip receives a power saving command transferred from the host via the command pin and the linked signal transferred from the connection detector, the bridging chip executes a power saving operation.
|
1. A bridging device for connecting to a host, comprising:
a connector being arranged for connecting to the host, wherein the connector comprises a power pin and a command pin;
a connection detector, coupled to the power pin to determine whether the connector is floating based on a voltage level at the power pin, wherein the connection detector outputs a linked signal when the connector is non-floating and outputs an unlinked signal when the connector is floating; and
a bridging chip, coupled to the command pin and the connection detector, wherein:
when the connector is non-floating, the connection detector outputs the linked signal to the bridging chip even though the host does not supply power to the power pin;
when receiving a power-saving command from the host via the command pin, the bridging chip executes a power-saving operation or a polling operation according to status of the connector detected by the connection detector;
the bridging chip executes the power-saving operation to enter a power saving state when receiving the power-saving command from the host via the command pin and receiving the linked signal output from the connection detector;
the bridging chip executes the polling operation to enter a polling state when receiving the power-saving command from the host via the command pin and receiving the unlinked signal output from the connection detector; and
power consumption of the bridging chip in the power saving state is less than power consumption of the bridging chip in the polling state.
10. A power-saving method for a bridging device, comprising:
providing a connection detector in the bridging device, wherein the bridging device is arranged for connecting to a host;
using the connection detector to determine whether a connector of the bridging device is non-floating based on a voltage level at a power pin of the connector and generate a linked signal when the connector is non-floating and generating an unlinked signal when the connector is floating; and
using a bridging chip of the bridging device to receive the linked signal and the unlinked signal from the connection detector and a power-saving command from the host,
wherein:
when the connector is non-floating, the connection detector outputs the linked signal to the bridging chip even though the host does not supply power to the power pin;
when receiving the power-saving command from the host, the bridging chip executes a power-saving operation or a polling operation according to status of the connector detected by the connection detector;
the bridging chip executes the power-saving operation to enter a power saving state when receiving the power-saving command from the host and receiving the linked signal output from the connection detector;
the bridging chip executes the polling operation to enter a polling state when receiving the power-saving command from the host and receiving the unlinked signal output from the connection detector; and
power consumption of the bridging chip in the power saving state is less than power consumption of the bridging chip in the polling state.
2. The bridging device as claimed in
a first resistor, coupled between the power pin and a voltage source; and
a comparator, comprising a non-inverting input terminal, an inverting input terminal and an output terminal, wherein the non-inverting input terminal receives a reference voltage, the inverting input terminal is coupled to the power pin and the output terminal is coupled to the bridging chip, and, the comparator determines whether the connector is floating based on a voltage level at the non-inverting input terminal and a voltage level at the inverting input terminal and outputs the linked signal at the output terminal accordingly.
3. The bridging device as claimed in
a voltage output from the voltage source is greater than the reference voltage; and
the voltage level at the inverting input terminal is greater than the reference voltage when the connector is floating, and, the voltage at the inverting input terminal is lower than the reference voltage when the connector is non-floating.
4. The bridging device as claimed in
a second resistor and a third resistor, coupled between the voltage source and a ground in series, wherein a connection terminal between the second resistor and the third resistor is coupled to the non-inverting input terminal to provide the non-inverting input terminal with the reference voltage.
5. The bridging device as claimed in
6. The bridging device as claimed in
7. The bridging device as claimed in
8. The bridging device as claimed in
9. The bridging device as claimed in
11. The power-saving method as claimed in
12. The power-saving method as claimed in
|
This Application claims priority of Taiwan Patent Application No. 100142882, filed on Nov. 23, 2011, the entirety of which is incorporated by reference herein.
1. Field of the Invention
The present invention relates to an electronic device, and in particular relates to power saving operations of a bridging device.
2. Description of the Related Art
Conventionally, a control chip is required between a host and an external peripheral device as a communication bridge, by which data are transferred between the host and the external peripheral device. The control chip may be an on-board chip on a motherboard of the host, or, the control chip may be placed on an add-on card assembled into an expansion slot of the host. For the on-board control chip, when the host is in a power-saving state (i.e., not in the normal operations) or a shutdown state, the on-board control chip still consumes some power. In another case wherein the control chip is deployed on an add-on card, note that no power is consumed by the control chip when the host is in a power-saving state or a shutdown state.
Ideally, when the host enters the power-saving state or the shutdown state, the host should output commands to the external peripheral device via the control chip to drive the external peripheral device to enter a power-saving state or to a shutdown state as well. However, the external peripheral device may fail to receive the commands for power saving or shutting down once the control chip loses its power (e.g. the control chip deployed on an add-on card). Thus, the on-going external peripheral device results in unnecessary waste of power.
A bridging device and a power saving method for a bridging device are disclosed, which may be implemented in an external electric device.
A bridging device in accordance with an exemplary embodiment of the invention comprises a connector, a connection detector and a bridging chip. The connector is arranged for connecting to a host and comprises a power pin and a command pin. The connection detector is coupled to the power pin to determine whether the connector is floating. When the connector is non-floating, the connection detector outputs a linked signal. The bridging chip is coupled to the command pin and the connection detector. When the bridging chip receives a power-saving command transferred from the host through the command pin and the linked signal from the connection detector, the bridging chip executes a power-saving operation.
A power saving method for a bridging device in accordance with an exemplary embodiment of the invention is discussed in this paragraph. According to the disclosed method, a connection detector is provided within the bridging device, and the bridging device is arranged for connecting to a host. By the connection detector, it is determined whether a connector of the bridging device is floating, and generates a linked signal when the connector is non-floating. A bridging chip of the bridging device is utilized to receive the linked signal and to receive a power-saving command from the host and to execute a power-saving operation accordingly.
A detailed description is given in the following embodiments with reference to the accompanying drawings.
The present invention can be more fully understood by reading the subsequent detailed description and examples with references made to the accompanying drawings, wherein:
The following description shows several exemplary embodiments carrying out the invention. This description is made for the purpose of illustrating the general principles of the invention and should not be taken in a limiting sense. The scope of the invention is best determined by reference to the appended claims.
Typically, a host may have one or more connection ports to connect to external peripheral devices. Every connection port may have its own communication protocol, such as a USB or IEEE1384 communication protocol and so on. When an external peripheral device does not comply with the communication protocol of the connection ports of the host, a bridging device is required as an interface for communication protocol transformation so that data communication between the external peripheral device and the host is achieved. For example, in a case wherein the communication protocol of the connection port of the host is a USB communication interface but the external peripheral device is a SATA HDD (Serial Advanced Technology Attachment Hard Disk Drive), a bridging device is required to provide a communication protocol transformation between the SATA communication interface and the USB communication interface. In this manner, transferring data between the SATA HDD and the host can be accomplished.
The power supply circuit of the bridging device 100 is discussed in this paragraph. In the exemplary embodiment of
As shown in
The bridging chip 106 is coupled to the command pin 118 of the connector 102 as well as the external peripheral device 108. Thus, via the bridging chip 106, the external peripheral device 108 communicates with the host 114 that the connector 102 connects to. Further, the bridging chip 106 is coupled to the connection detector 104 to receive the linked signal or the unlinked signal output from the connection detector 104.
As described above, the connection detector 104 outputs the linked signal when determining that the connector 102 is non-floating. When receiving a power saving command transferred from the host 114 through the command pin 118 of the connector 102 and receiving the linked signal, the bridging chip 106 executes a power saving operation in accordance with the power saving command, to enter a power saving state. In detail, before the host 114 enters the power saving state, the host 114 sends a power saving command to the bridging chip 106. When the power saving command from the host 114 and the linked signal from the connection detector 104 are received, the bridging chip 106 executes a power saving operation to shut down all firmware of the bridging chip 106 and to shut down the power switch 112 and thereby enters a power saving state, wherein only part of the hardware is in a standby mode, to wait for a resume command from the host 114.
On the contrary, when determining that the connector 102 is floating, the connection detector 104 outputs the unlinked signal. When receiving a power saving command and the unlinked signal, the bridging chip 106 executes a polling operation to enter a polling state. In the polling state, the firmware and the related hardware continuously operate to check the connection state of the connector 102. Because the firmware and the related hardware of the bridging chip 106 are continuously operated (i.e. not in the power saving state) in the polling state, the bridging chip 106 consumes much more power in the polling state than in the power saving state. That is, the power consumption of the bridging chip 106 in the power saving state is less than that of the bridging chip 106 in the polling state. Note that once the bridging chip 106 enters the polling state, the linked signal received later does not switch the bridging chip 106 from the polling state to the power saving state, and the bridging chip 106 is held in the polling state.
Conclusively, in the disclosure, the floating/non-floating state of the connector 102 is considered in the present invention. When the connector 102 is non-floating, the bridging chip 106 executes a power-saving operation to enter a power-saving state according to a power-saving command from the host 114. Note that in conventional techniques the power pin of the connector (e.g., the VBUS pin of a USB connector) is directly connected to the bridging chip (not shown) rather than connected to the disclosed connection detector. In the conventional design, when a power-saving command is received by the bridging chip, the direct connection between the power pin and the bridging chip constrains the bridging chip so that the bridging chip of the conventional design selects between the power-saving state and the polling state according to whether the power pin is energized rather than according to whether the connector is floating or non-floating. Note that when the connector is non-floating but the power pin is not energized, the bridging chip, in the conventional design, is incapable of entering the proper power-saving state according to the received power-saving command and is forcibly switched to the polling state which consumes considerable power. One of the purposes of the disclosure is to solve redundant power consumption. In a case wherein the connector 102 is non-floating but the power pin 116 is not energized, the bridging chip 106 operated according to the disclosure is effectively switched to the power-saving state to consume less power, which is significantly better than the conventional techniques. Furthermore, with environmental protection consciousness, power saving is important in electric device design. The EuP directive (eco-design of energy-using products) provides the energy consumption specification for various operating states of several electronic devices. According to the disclosure, the bridging device enters the power-saving state according to the power-saving command even when the bridging device is non-floating (where the power pin may be energized or not). The bridging device is prevented from entering the polling state erroneously. In this manner, the electronic device complies with the Eup directive.
Referring to
When the connector 102 of
Prior to the discussion of how the connection detector 104 of
According to the power state of the host, how the connection detector 104 outputs the linked signal when the connector 102 is non-floating and the power pin 116 is energized is described. For the USB applications, the connector 102 is a USB connector and is coupled to the on-board USB control chip of the host 114. As mentioned above, the on-board USB control chip is directly built in the motherboard of the host 114. When the host 114 is in the power-saving or shutdown state, the on-board USB chip may still output 5 volts to the power pin 116 of the connector 102. Thus, voltage level of the power pin 116 of the connector 102 is 5 volt, and the inverting input terminal (‘−) of the comparator Cp is at 5 volt. In this exemplary embodiment, for the purpose to output signal from the comparator Cp to indicate the linked status of the connector 102 when the connector 102 is non-floating and the power pin 116 is energized, the voltage level of the non-inverting input terminal (‘+’) of the comparator Cp has to be greater than that at the voltage level of the inverting input terminal (‘−’). The voltage level of the non-inverting input terminal (‘+’) of the comparator Cp—the reference voltage Vref—depends on the voltage source DCIN, the second resistor R2 and the third resistor R3. Thus the voltage level of the reference voltage Vref may be designed to be greater than the voltage level of the power pin 116 (5 volt) by adjusting the resistance ratio of the second resistor R2 to the third resistor R3. By properly adjusting the resistance ratio, the voltage level of the non-inverting input terminal (‘+’) of the comparator Cp (the reference voltage Vref) is greater than the voltage level of the inverting input terminal (‘−’, referring to the voltage level of the power pin 116, 5 volt.) Thus, the output terminal 120 outputs the linked signal to indicate that the connector 102 is non-floating.
In this paragraph, how the connection detector 104 outputs the linked signal when the connector 102 is non-floating but the power pin 116 is not energized is described. For USB applications, the connector 102 is a USB connector and is coupled to the USB port (not shown) of the host 114 via a communication cable (not shown). In a case wherein the control chip (not shown) of the host 114 is an add-on card USB control chip, the add-on card USB control chip is incapable of supplying power to the connector 102 when the host 114 is in the power-saving or shutdown state. Thus, the power pin 116 is not energized. However, note that the coupling between the power pin 116 and the USB port (not shown) of the host 114 may result in an equivalent impedance at the power pin 116 (e.g. the impedance of a current overshoot protection circuit loop at the USB connection port.) The equivalent impedance provided by the connection port may be coupled to the first resistor R1 in series to form a voltage dividing circuit which divides the voltage output from the voltage source DCIN. Thus, the voltage level of the inverting input terminal (‘−’) depends on the voltage source DCIN, the first resistor R1 and the equivalent impedance of the connection port. In this exemplary embodiment, for the purpose to output signal from the comparator Cp to indicate the linked status of the connector 102 when the connector 102 is non-floating but the power pin 116 is not energized, the voltage level of the non-inverting input terminal (‘+’) has to be greater than the voltage level of the inverting input terminal (‘−’). The voltage level of the inverting input terminal (‘−’) of the comparator Cp depends on the voltage source DCIN, the first resistor R1 and the equivalent resistance of the connection port. The voltage level of the non-inverting input terminal (‘+’, reference voltage Vref) could be greater than the voltage level of the inverting input terminal (‘−’, the voltage provided from the voltage dividing circuit formed by the first resistor R1 and the equivalent impedance of the connection port) by properly choosing the resistance of the first resistor R1. Then output terminal 120 may output the linked signal to indicate that the connector 102 is non-floating.
In conclusion, the connection detector 104 of the disclosure is capable of determining whether the connector 102 is floating or non-floating. When the connector 102 is floating, the connection detector 104 may output an unlinked signal to the bridging chip 106 to show that the connector 102 is floating. When the connector 102 is non-floating, the connection detector 104 may output a linked signal to the bridging chip 106 to show that the connector 102 is non-floating. As stated above, when receiving a power-saving command, the bridging chip in the conventional design is selectively switched to a power-saving state or a polling state based on the power state of the power pin of the connector. When the connector is non-floating (e.g. connected to a host) but the host does not supply power to the connector (the power pin 116 of the connector is not energized), the bridging device of the conventional design is incapable of entering a power-saving state according to the power-saving command. The bridging device is kept running in the polling state which consumes considerable power. In comparison with the conventional techniques, the connection detector 104 of the disclosure may determine whether the connector 102 is floating or non-floating even though the power pin 116 is not energized. When the connection detector 104 determines that the connector 102 is non-floating, still the bridging chip 106 could enter the power-saving state to reduce power consumption even though the power pin 116 is not energized.
Therefore, according to the techniques of
In some embodiments, the bridging chip 106 of
The bridging chip 100 may be implemented according to a USB, IEEE 1394 or other communication protocols, for communicating with the host 114. The disclosure may be used in any bridging device with a connector having a power pin (e.g. the VBUS pin of a USB connector.)
In step S10, a connection detector is provided within a bridging device. The bridging device is arranged for connecting a peripheral device to a host.
In step S20, the connection detector is operated to determine whether a connector of the bridging device is non-floating. When the connector is non-floating, the connection detector generates a linked signal. When the connector is floating, the connection detector generates an unlinked signal. In the case wherein the connector is non-floating, a power pin of the connector may be energized or not. When the connector is non-floating and the power pin of the connector is not energized, the connection detector still determines that the connector is non-floating and generates the linked signal. In another case, when the power pin of the connector is energized, the connection detector also determines that the connector is non-floating and generates the linked signal. On the contrary, when the connector is floating and the power pin of the connector is not energized, the connection detector determines that the connector is floating and generates an unlinked signal.
In step S30, a bridging chip of the bridging device receives the linked signal and receives a power-saving command from the host, and executes a power saving operation to enter a power-saving state. Note that no matter whether the power pin of the connector is energized or not, the bridging device of the disclosure enters a power-saving state in accordance with the power-saving command from the host when the connector of the bridging device is non-floating. The bridging device consumes less power in the power saving state. In comparison with the conventional bridging devices which are strapped in a polling state (consuming considerable power) and incapable of entering the power saving state when the connector is non-floating but the power pin is not energized, the disclosure successfully solves these problems.
While the invention has been described by way of example and in terms of the preferred embodiments, it is to be understood that the invention is not limited to the disclosed embodiments. To the contrary, it is intended to cover various modifications and similar arrangements (as would be apparent to those skilled in the art). Therefore, the scope of the appended claims should be accorded the broadest interpretation so as to encompass all such modifications and similar arrangements.
Patent | Priority | Assignee | Title |
10168378, | Dec 16 2014 | Samsung Electronics Co., Ltd | Electronic device and method of determining abnormality of electronic device connecting unit |
Patent | Priority | Assignee | Title |
7197578, | Jun 28 2002 | ILLUMAFINITY, LLC | Power management system for bridge circuit |
8024491, | Aug 20 2007 | MONTEREY RESEARCH, LLC | Detecting a connection to an unpowered host |
8595533, | Oct 01 2010 | VIA LABS, INC | Power management system, method thereof and storage medium |
20030070103, | |||
20080222438, | |||
20100088454, | |||
20110121810, | |||
20120126635, | |||
CN102081581, | |||
CN102184152, | |||
JP200794659, | |||
TW201015286, | |||
TW201044159, | |||
TW404409, |
Executed on | Assignor | Assignee | Conveyance | Frame | Reel | Doc |
Oct 26 2012 | CHEN, WEI-HUNG | Via Technologies, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 029304 | /0509 | |
Oct 26 2012 | LIN, HUI-CHIH | Via Technologies, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 029304 | /0509 | |
Nov 15 2012 | VIA Technologies, Inc. | (assignment on the face of the patent) | / | |||
Jun 16 2020 | Via Technologies, INC | VIA LABS, INC | ASSIGNMENT OF ASSIGNORS INTEREST SEE DOCUMENT FOR DETAILS | 053014 | /0275 |
Date | Maintenance Fee Events |
May 09 2019 | M1551: Payment of Maintenance Fee, 4th Year, Large Entity. |
May 05 2023 | M1552: Payment of Maintenance Fee, 8th Year, Large Entity. |
Date | Maintenance Schedule |
Nov 24 2018 | 4 years fee payment window open |
May 24 2019 | 6 months grace period start (w surcharge) |
Nov 24 2019 | patent expiry (for year 4) |
Nov 24 2021 | 2 years to revive unintentionally abandoned end. (for year 4) |
Nov 24 2022 | 8 years fee payment window open |
May 24 2023 | 6 months grace period start (w surcharge) |
Nov 24 2023 | patent expiry (for year 8) |
Nov 24 2025 | 2 years to revive unintentionally abandoned end. (for year 8) |
Nov 24 2026 | 12 years fee payment window open |
May 24 2027 | 6 months grace period start (w surcharge) |
Nov 24 2027 | patent expiry (for year 12) |
Nov 24 2029 | 2 years to revive unintentionally abandoned end. (for year 12) |