This application was originally filed as PCT Application No. PCT/IB2006/054694 filed Dec. 8, 2006.
This invention relates to a method, an apparatus, a computer program product and a system for a first serial and a second serial interface, e.g. a USB interface.
USB is a technology which provides a fast, cabled data connection between a complex device (e.g. a PC) which is called the Host and a connected peripheral (e.g. a mouse, keyboard etc.) which is called the Device.
The USB standard has been extended to include connections between mobile devices in the USB on-The-Go (OTG) supplement. This supplement allows a peripheral at either end of the connection to take a Host or Device role. The initial roles are decided by the direction of the cable connection i.e. the type of plug A or B inserted into the peripheral.
The peripheral with the USB OTG A-plug inserted is called the A-Device, wherein this A-Device supplies power for the duration of the connection and will initially take the host role. The peripheral with the USB OTG B-plug inserted is called the B-Device, wherein the B-Device draws power from the A-Device and initially takes a device role.
Since USB provides the capability to provide power from one device to another it is also possible to make a charger which utilises the USB port. Such a charger is currently defined in the white paper “USB charging white paper”, Revision 0.81, Jul. 22, 2006 by the USB implementer's forum. Detection of such a USB charger requires that the charger outputs a logical high on the D− line when the D+ line is pulled high and the D− line is pulled low.
Many peripherals are provided with one single USB connector only. This shows the problem of charging a USB unit, e.g. by means of the above-mentioned charger, and simultaneously providing data passthrough to another USB device via a single USB connector of said USB unit, and thereby not effecting OTG functionalities.
In view of the above-mentioned problem, it is, inter alia, an object of the present invention to provide a method, a computer program, a computer program product, an apparatus and a system for enabling enhanced simultaneously charging and data passthrough to another apparatus via a single serial connector.
It is proposed an apparatus, comprising a first serial interface and a second serial interface, each comprising at least one data line and a power supply line, a first switching unit coupled to the power supply line of said first serial interface and said second serial interface, wherein in a first state said first switching unit connects the power supply line of said first serial interface to the power supply line of said second serial interface, and wherein in a second state said first switching unit connects the power supply line of said first serial interface to a first further power supply line, said first further power supply line being configured to be connected to a first power supply; and said apparatus comprising a controller configured to control said first switching unit.
Said first serial interface and said second serial interface may be any kind of serial interface which is configured to transfer power by means of the power supply line and which is configured to transfer data via said at least one data line. E.g., said serial interface may represent a USB interface, but it may also represent any other serial interface.
For instance, said apparatus may be connected to a first electronic unit via the first serial interface, and said apparatus may be connected to a second electronic unit via the second serial interface. The first and the second electronic units may be configured to communicate via the at least one data line of the serial interfaces.
In the first state of said first switching unit, the first electronic unit may be charged from the second electronic unit via the connected power supply lines of the first and the second serial interface. In the second state of said first switching unit the first electronic unit may be charged from the first further power supply line of the apparatus. The first further power supply line may be connected to an internal charger placed in the apparatus, wherein said internal charger may be connected to the first power supply, or the first power supply line may be connected to an external charger placed outside the apparatus and connected to the first power supply.
Thus, the apparatus according to the present invention allows simultaneously connecting a first electronic unit to a second electronic unit and simultaneously charging the first electronic unit via one single serial interface connector. The charging may be performed either by the power supply of the apparatus or by the second electronic unit connected to the second interface, which may depend on type of the electronic unit connected to the apparatus.
Thus, increased flexibility is achieved since the first electronic unit may be charged from two different sources. Furthermore, implementation complexity is reduced concerning the first electronic unit, since only one serial interface connector is necessary instead of two connectors for separate and simultaneous charging and providing data transfer to a second electronic unit.
According to an embodiment of the apparatus of the present invention, said first and second serial interfaces are USB interfaces.
Thus, each the first USB interface and the second USB interface may comprise a differential data line, i.e. D+ and D− lines, and the power supply lines may correspond to the VBUS lines.
For instance, said apparatus may be connected to a first USB unit via the first USB interface, and said apparatus may be connected to a second USB unit via the second USB interface. The first and the second USB units may communicate via the D+ and D− lines, wherein the D+ pin of the first interface may be connected to the D+ pin of the second interface, and wherein the D− pin of the first interface may be connected to the D− pin of the second interface.
In the first state of said first switching unit, the first USB unit may be charged from the second USB unit, e.g. in case the first USB unit represents a USB OTG B-Device and the second USB represents a USB OTG A-Device like a Host-Charger, or, vice versa, the first USB unit may charge the second USB unit, e.g. in case the first USB unit represents a USB OTG A-Device and the second USB unit represents a USB OTG B-Device. In the second state of said first switching unit the first USB unit may be charged from the first power supply line of the apparatus. The first power supply line may be connected to an internal charger placed in the apparatus, wherein said internal charger may be connected to the first power supply, or the first power supply line may be connected to an external charger placed outside the apparatus and connected to the first power supply.
Thus, the apparatus according to the present invention allows simultaneously connecting a first USB unit to a second USB unit and simultaneously charging the first USB unit via one single USB connector. The charging may be performed either by the power supply of the apparatus or by the second USB unit connected to the second interface, which may depend on type of USB units connected to the apparatus. For instance, USB charging during any application data transfer may be performed via a single USB connector of the first USB unit.
Thus, increased flexibility is achieved since the first USB unit may be charged from two different sources. Furthermore, implementation complexity is reduced concerning the first USB unit, since only one USB connector is necessary instead of two USB connectors for separate charging and connecting to a second USB unit.
According to an embodiment of the apparatus of the present invention, said apparatus comprises an interface for connecting the first further power supply line to the first power supply.
For instance, a main supply may be connected to the apparatus via said connector in order to provide said first further power supply line with power. Said main supply may comprise or may represent said first power supply.
Alternatively, a charger may be connected to the apparatus via said connector. E.g., in case the serial interfaces represent USB interfaces, a USB-charger may be connected to the apparatus via said connector. In this case, the USB-charger has a mains connector, a transforming means to generate the specified VBUS voltage (e.g. 5 V), a cable and a USB connector to supply the VBUS voltage to a USB device for charging. Thus, said connector of the apparatus is a USB connector. This embodiment has the advantage, that the supplied voltage doesn't need to be transformed inside the apparatus, as it already provides the right voltage level.
According to an embodiment of the apparatus of the present invention, the controller switches the first switching unit into the second state if said first further power supply line is connected to the first power supply.
Thus, when the apparatus is provided with power from the first power supply, then a first electronic unit, e.g. a USB unit, connected to the first interface may be charged by the connected first power supply. For the case that a charger or a Host-charger is connected as second electronic unit to the second interface, then the controller may optionally switch the first switching unit into the first state in order to charge the first electronic unit by the connected charger or Host-charger.
According to an embodiment of the apparatus of the present invention, said apparatus comprises a charger identification unit configured to detect a charger connected to the second serial interface, and wherein said controller switches said first switching unit into the first state if a charger is detected at the second serial interface.
Said charger identification may depend on the type of serial interface.
For instance, in case the first and second serial interfaces represents USB interfaces, the said charger identification may be performed by detecting the levels of the D+ and D− pins of the second interface, e.g. a charger may be indicated by D+ high and D− low, and, for instance, by the voltage of the VBUS of the second interface.
According to an embodiment of the apparatus of the present invention, said apparatus comprises a second switching unit coupled to at least one data line of said at least one data line of said first serial interface and coupled to at least one data line of said at least one data line of second serial interface, respectively, and wherein in a first state said second switching unit connects said at least one data line of said at least one data line of said first serial interface to the corresponding at least one data line of said at least one data line of said second serial interface, respectively, and wherein in a second state said second switching unit disables data passthrough from the first to the second serial interface.
Thus, in said first state data passthrough between said first serial interface and said second serial interface is enabled.
According to an embodiment of the apparatus of the present invention, said first and second serial interfaces are USB interfaces, and said power supply lines of said first and second USB interfaces represent VBUS power supply lines, wherein said second switching unit is coupled to the D+ and D− pins of the first and second USB interfaces, respectively, wherein in said first state said second switching unit connects the D+ pins of the first and second USB interfaces to each other and connects the D− pins of the first and second USB interfaces to each other.
Thus, in said first state data passthrough between said first USB interface and said second USB interface is enabled. For instance, in the second state the D+ and D− pins of the first interface and/or the D+ and D− pins of the second interface may be shortened, wherein a shortened D+ and D− pin at an interface indicates a charger according to the USB OTG rules. Thus, this second state may be also used in order to indicate a charger at the first interface and/or at the second interface.
According to an embodiment of the apparatus of the present invention, in a first sub-state of said second state said second switching unit shorts the D+ and D− pins of the first USB interface together in order to indicate a charger, and said second switching unit is switched into said first sub-state if a charger is detected at the second USB interface.
For instance, the short may be carried out by switching an impedance between the respective D+ and D− pins of the first USB interface. Thus, RF interference may be reduced or eliminated. Furthermore, other filter means like electrostatic dischargers may be applied in order to decrease RF interference which could interfere the apparatus.
According to an embodiment of the apparatus of the present invention, said apparatus is configured to communicate via the ID pin of the first USB interface.
For instance, in order to provide full OTG functionality the apparatus should be able to communicate with a connected first USB unit via the first interface. According to the USB standard, the ID pin of a B-plug is floating and the ID pin of an A-plug is connected to ground. Thus, it is possible to use the ID-pin of the first interface for data communication to a compatible USB unit, e.g. by connecting a 5 wire cable to the first interface having a USB B-plug at its end suited for connecting to a USB receptacle of a USB unit. For this communication via the ID-pin of the first interface the apparatus may comprise a communication unit, which may be connected to the controller. Any suited link system may be used for this communication to the connected USB unit.
Furthermore, for instance, the apparatus may be configured to transmit and/or receive a Radio Frequency (RF) signal via the ID pin of the first USB interface. This may be used for instance to bypass an FM-antenna signal from an accessory to a USB unit connected to the first USB interface via the apparatus.
According to an embodiment of the apparatus of the present invention, said communication via the ID pin is performed by a dual impedance Enhancement Control Interface (ECI) link interrupt.
According to an embodiment of the apparatus of the present invention, when a USB unit is connected to the first USB interface, said apparatus switches the second switching unit into the first state, if said USB unit is suited to communicate to the apparatus via the ID pin of the first USB interface and no charger is detected at the second USB interface, and wherein said apparatus switches the second switching unit into the second state if said USB unit is not suited to communicate to the apparatus via the ID pin of the first USB interface.
Thus, data transfer through the apparatus may only be provided if the apparatus and the USB unit connected to the first interface can communicate to each other. Otherwise, the apparatus may only provide limited functionality e.g. charging only.
According to an embodiment of the apparatus of the present invention, in case an USB OTG B-Device is connected to the second USB interface, the controller switches the first switching unit into a first sub-state of the second state, wherein in said first sub-state the first switching unit connects the VBUS of the first USB interface to the first further power supply line and connects the VBUS of the second USB interface to a second further power supply line.
This second further power supply line may be connected to a separate second power supply in order to provide a second USB unit connected to the second interface with power. This second further power supply may also be connected to the connector of the apparatus, if this second further power supply may represent an internal power supply which may be powered from the first power supply.
According to an embodiment of the apparatus of the present invention, in case an USB OTG B-Device is connected to the second USB interface, and in case that said USB unit connected to the first USB interface is suited to communicate to the apparatus via the ID pin of the first USB interface, then the apparatus signals to the USB unit via the ID pin to switch into a host role.
Thus, the full USB OTG functionality is provided, since the USB OTG B-Device connected to the second interface needs an A-Device as antagonist, i.e. a Host-Device. Hence, the communication via the ID pin ensures OTG functionality.
According to an embodiment of the apparatus of the present invention, in case an USB OTG A-Device is connected to the second USB interface, and said USB unit connected to the first USB interface is suited to communicate to the apparatus via the ID pin of the first USB interface, then the apparatus signals to the USB unit via the ID pin to switch into a peripheral role.
Thus, the full USB OTG functionality is provided, since the USB OTG A-Device connected to the second interface needs an B-Device as antagonist, i.e. a Peripheral-Device. Hence, the communication via the ID pin ensures OTG functionality.
According to an embodiment of the apparatus of the present invention, said apparatus comprises a leakage switch circuit connected to the VBUS of the second USB interface, wherein said leakage switch circuit is configured to be switched into a state for compensating the VBUS load according to the VBUS load range of the USB OTG standard.
Thus, the VBUS impedance and power consumption values as defined in the standard and OTG supplement can be met by the VBUS.
According to an embodiment of the apparatus of the present invention, in case that said USB unit connected to the first USB interface is suited to communicate to the apparatus via the ID pin of the first USB interface, and in case that during operation said first power supply is removed from the apparatus, then the controller switches the first switching unit into the first state, and then in case an USB OTG B-Device is connected to the second USB, the USB unit is signalled via the ID pin to turn on its power supply.
In case that the first power supply is removed during operation, e.g. by being disconnected from the apparatus connector, then the first switching unit is switched into the first state in order to connect the VBUS of the first interface to the VBUS of the second interface. In case that the second USB unit is an OTG A-Device, then power supply to the first USB unit connected to the first interface is provided by the A-Device, and in case that the second USB unit is no OTG A-Device, then the first USB unit which is connected to the first interface is signaled via the communication unit to turn on its power supply in order to provide the second USB unit connected to the second interface with power.
Thus, power supply can be ensured even when the first power supply is removed.
According to an embodiment of the apparatus of the present invention, in case that said USB unit connected to the first USB interface is suited to communicate to the apparatus via the ID pin of the first USB interface, and in case that during operation said first power supply is connected to the apparatus, then the controller switches the first switching unit into the second state, and in case an USB OTG B-Device is connected to the second USB, the USB unit is signalled via the ID pin to turn off its power supply.
In case it is detected that a removed first power supply is connected to the apparatus during operation, then the first switching unit is switched in to the second state, and, if the second USB unit is not an OTG A-Device, then the first USB unit which is connected to the first interface is signaled via the communication unit to turn off its power supply.
According to an embodiment of the apparatus of the present invention, said apparatus is configured to be switched into a dual charge mode, wherein the first switching unit is switched into a first sub-state of the second state, and wherein in said first sub-state the first switching unit connects the VBUS of the first USB interface to the first further power supply line and connects the VBUS of the second USB interface to a second further power supply line, and wherein said second switching unit is switched into a second sub-state of the second state, wherein in said second sub-state said second switching unit shorts both the D+ and D− pins of the first USB interface and of the second USB interface together in order to indicate a charger.
For instance, in this first sub-state of the second state, the first further power supply line may connect the VBUS of the first interface to an first charger in order to charge the USB unit connected to the first interface, and the VBUS of the second interface is connected to the second further power supply line, wherein said second further power supply line may be provided by a second charger or, alternatively, also by the first charger.
According to an embodiment of the apparatus of the present invention, said first interface represents a USB Micro-B plug.
According to a USB Micro-B plug, the ID pin is floating and thus can be used for the communication to a connected USB unit as mentioned above. For instance, the Micro-B plug may be placed at the end of a 5-wire cable which is connected to the apparatus.
According to an embodiment of the apparatus of the present invention, said second interface represents a USB Micro-AB receptacle.
Thus, any USB Micro-plug can be connected to the Micro-AB receptacle. According to the OTG rules, via the communication link over the ID pin of the first interface a compatible USB unit connected to the first interface can be signalled to take the host or device role accordingly.
Furthermore, a method is proposed, said method comprises switching a first switching unit of an apparatus into a state out of a set of states, wherein said apparatus comprises a first serial interface and a second serial interface, each of said first and second serial interfaces comprising at least one data line and a power supply line, and wherein said first switching unit is coupled to the power supply line of both said first serial interface and said second serial interface; wherein said set of states comprises a first state for connecting the power supply line of said first serial interface to the power supply line of said second serial interface, and a second state for connecting the power supply line of said first serial interface to a first further power supply line, said first further power supply line being configured to be connected to a first power supply.
The explanations concerning the embodiments of the proposed apparatus also hold for the proposed method.
Furthermore, a computer program product is proposed, in which a computer program code is stored in a computer readable medium, which computer program codes realizes the method proposed above.
Further, a computer-readable medium having a computer program stored thereon is proposed, the computer program comprising instructions operable to cause a processor to perform the method proposed above.
Furthermore, an apparatus is proposed, said apparatus comprising a first serial interface means and second serial interface means, each of said first and second serial interfaces comprising at least one data line and a power supply line, said apparatus further comprising a first means for switching coupled to the power supply line of said first serial interface means and said second serial interface means, wherein in a first state said first means for switching connects the power supply line of said first serial interface means to the power supply line of said second serial interface means, and wherein in a second state said first means for switching connects the power supply line of said first serial interface to a first further power supply line, said first further power supply line being configured to be connected to a first power supply; and said apparatus comprising means for controlling configured to control said first means for switching.
Finally, a system is proposed, said system comprising said apparatus proposed above, and an electronic unit suited to be connected to the first serial interface.
For instance, said electronic unit suited to be connected to the first serial interface may represent a mobile phone, or a handheld device.
According to an embodiment of said system of the present invention, said first and second serial interfaces are USB interfaces, and said electronic unit is a USB unit.
According to an embodiment of said system of the present invention, said USB unit is configured to communicate to the apparatus via the ID pin of the first USB interface.
For instance, said USB unit may be configured to detect the connected apparatus by means of the communication via the ID pin of the first USB interface, and it may communicate a positive result of said detection to the apparatus via the communication. E.g., in case the above-mentioned ECI link interrupt is used for the communication via the ID pin, then in case of a positive result of said detection the USB unit may allow the apparatus to use low impedance interrupt via the ID pin. This permission may guarantee compatibility, and it may guarantee that not prepared USB units connected to the first USB interface will not be commanded erroneously.
These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter.
In the figures show:
a: a block diagram of a first exemplary embodiment of an apparatus according to the present invention;
b: a block diagram of a second exemplary embodiment of an apparatus according to the present invention;
c: a block diagram of an exemplary embodiment of a first switching unit of an apparatus according to the present invention;
a: a block diagram of a first exemplary embodiment of a second switching unit of an apparatus according to the present invention;
b: a block diagram of a second exemplary embodiment of a second switching unit of an apparatus according to the present invention;
a/9b: a flowchart of an exemplary embodiment method according to the present invention;
a depicts a block diagram of a first exemplary embodiment of an apparatus 1 according to the present invention. The apparatus comprises a first serial interface 10, a second serial interface 20, and a first switching unit 130 coupled to a power supply line 11 of the first serial interface 10 and coupled to the power supply line 21 of the second serial interface 20. Said first serial interface 10 comprises at least one data line 12, and said second serial interface 20 comprises at least one data line 22. Said first switching unit 130 is configured to connect the power supply line 11, 111′ of said first serial interface 10 to the power supply line 21, 121′ of said second serial interface 20 in a first state, and said first switching unit 130 is configured to connect the power supply line 11 of said first serial interface 10 to a first further power supply line 160 in a second state, wherein said first further power supply line 160 is configured to be connected to a first power supply, e.g. by connector 150. The apparatus 1 further comprises a controller 140 configured to control said first switching unit 130.
For instance, said apparatus 1 may be connected to a first electronic unit via the first serial interface 10, and said apparatus 1 may be connected to a second electronic unit via the second serial interface 20. As depicted exemplarily in
Furthermore, in the first state of said first switching unit 130 the first electronic unit may be charged from the second electronic unit, e.g. in case the second electronic unit represents an electronic device configured to provide power, or, vice versa, the first electronic unit may charge the second electronic unit, e.g. in case the first electronic unit represents an electronic device configured to provide power. In the second state of said first switching unit the first electronic unit may be charged from the first further power supply line 160 of the apparatus 1. For instance, the apparatus may contain an internal charger (not shown in
b depicts a block diagram of a second exemplary embodiment of an apparatus 100 according to the present invention, wherein this second exemplary embodiment is based on the first embodiment, and wherein the first serial interface 10, 110 represents an USB interface 110 (I1) and the second serial interface 20, 120 represents an USB interface 120 (I2). Thus, the explanations regarding the first exemplary embodiment also hold for this second exemplary embodiment. The following exemplary embodiments are not restricted to the use of USB interfaces as serial interfaces exclusively, the USB interfaces 110, 120 may also be replaced by other suited interfaces.
The apparatus 100 comprises a first USB interface 110 (I1), a second USB interface 120 (I2), and the first switching unit 130 coupled to the VBUS 111 of the first USB interface 110 and coupled to the VBUS 121 of the second USB interface 120. Said first switching unit 130 is configured to connect the VBUS 111 (i.e. the power supply line) of said first USB interface 110 to the VBUS 121 (i.e. the power supply line) of said second USB interface 120 in a first state, and said first switching unit 130 is configured to connect the VBUS 111 of said first USB interface 110 to a first further power supply line 160, wherein said first further power supply line 160 is configured to be connected to a first power supply, e.g. by connector 150. The apparatus 100 further comprises the controller 140 configured to control said first switching unit 130.
For instance, said apparatus 100 may be connected to a first USB unit via the first USB interface 110, and said apparatus 100 may be connected to a second USB unit via the second USB interface 120. As depicted exemplarily in
Thus, the apparatus 100 according to the present invention allows simultaneously connecting a first USB unit to a second USB unit and simultaneously charging the first USB unit via one single USB connector. The charging may be performed either by the internal power supply of the apparatus 100 or by the second USB unit connected to the second interface 120, which may depend on type of USB units connected to the apparatus 100. For instance, USB charging during any application data transfer may be performed via a single USB connector of the first USB unit.
The explanations and advantages concerning these first and second exemplary embodiments of an apparatus 1, 100 according to the present invention also hold for the succeeding exemplary embodiments. In the sequel, the at least one data line 12 of the first serial interface 10 corresponds to the D+ pin 112 and D− pin 113 of the first USB interface 110, and the power supply line 11 of the first serial interface 10 corresponds to the VBUS pin 111 of the first USB interface 110. With respect to the second serial interface 20 and the second USB interface 120, the at least one data line 22 corresponds to the D+ pin 122 and D− pin 123 of the second USB interface 120, and the power supply line 21 corresponds to the VBUS pin 121 of the second USB interface 120.
A block diagram of an exemplary embodiment of said first switching unit 130 of an apparatus 1, 100 according to the present invention is depicted in
The first switching unit 130 may be controlled in such a way that in case one of the vertical switches S2, S3 is closed the horizontal switch S1 must be open. This may be controlled via a controller, e.g. controller 140 depicted in
The apparatus 200 further comprises a second switching unit 270 coupled to the D+ pins 112, 122 and D− pins 113, 123 of the first and second interface 110, 120, respectively, wherein in a first state said second switching unit connects the D+ pins 112, 122 of the first and second USB interfaces 110, 120 to each other and connects the D− pins 113, 123 of the first and second USB interfaces 110, 120 to each other, and wherein in a second state said second switching unit disables data passthrough from the first USB interface 110 to the second USB interface 120.
a depicts a block diagram of a first exemplary embodiment of said second switching unit 270′ of an apparatus 200 according to the present invention, wherein said second switching unit 270′ comprises three switches D1, D2, D3, each of them connected to connector 271 in order to be controlled by a controller, e.g. by controller 240. In said first state of the second switching unit 270′ the switches D1 and D3 may be opened and double-switch D2 may be closed, whereas in said second state switches D1 and D3 may be closed and double-switch D2 may be opened so that data passthrough is disabled. Furthermore, the short between the D+ and D− pins in this second state indicates a charger.
b depicts a block diagram of a second exemplary embodiment of a second switching unit 270″ of an apparatus 200 according to the present invention, wherein said second switching unit 270′ comprises a switch S4 connected to connector 271 in order to be controlled by a controller, e.g. by controller 240. In said first state of the second switching unit 270″ the switch S4 is opened in order to allow data passthrough, and in the second state the switch S4 is closed so that data passthrough is disabled. Furthermore, the short between the D+ and D− pins in this second state indicates a charger. The impedances connected to the D+ and D− line may have a DC-impedance of 500-1000Ω, thus a charger detection system interprets D+ and D− still to be shortened, and these impedances, possible resistors and other possible filtering elements depicted in
In order to provide full functionality of the apparatus 200, a USB unit connected to the first interface 110 should enable communication to the apparatus 200, e.g. for signaling to the connected USB unit. This communication may be performed via the ID pin 114 of the first interface 110. According to the USB standard, the ID pin of a B-plug is floating and the ID pin of an A-plug is connected to ground. Thus, it is possible to use the ID-pin 114 of the first interface 110 for data communication to a compatible USB unit, e.g. by connecting a 5 wire cable to the first interface 110 having a USB B-plug at its end suited for connecting to a USB receptacle of a USB unit. For this communication via the ID-pin 114 of the first interface 110 the apparatus may comprise a communication unit 280, which may be connected to the controller 240. A possible communication via the ID-pin 114 may be performed by an Enhancement Control Interface (ECI) link, as exemplary depicted in
Furthermore, for instance, the apparatus 200 may be configured to transmit and/or receive a Radio Frequency (RF) signal via the ID pin 114 of the first USB interface 110. This may be used for instance to bypass an FM-antenna signal from an accessory to a USB unit connected to the first USB interface 100 via the apparatus 200. For instance, the ID pin 124 of the second USB interface 120 may be connected to the ID pin 114 of the first USB interface by means of an ID line, and said FM-antenna signal may be transmitted from a connected accessory via the ID pin 124 of the second USB interface 120 through an apparatus' ID line to the ID pin 114 of the first USB interface 110. E.g., the communication unit 280 and/or the detection unit 290 may be connected by means of a lowpass unit to said ID line so that a RF signal on the ID line does not interfere the communication unit 280 and/or the detection unit 290. Said lowpass unit may comprise at least one coil.
In the sequel, the functions of the apparatus 200 will be explained by reference to flowchart of an exemplary embodiment of a method according to the present invention depicted in
At first, the apparatus may determine whether a USB unit connected to the first interface 110 (I1) is a compatible unit, i.e. a USB unit configured to communicate to the apparatus 200 via the ID-pin 114 of the first interface 110. This determining (step 910) may be performed by the communication unit 280. In case that a USB unit connected to the first interface 110 provides no communication to the apparatus 200, i.e. represents a non-compatible USB unit, then the apparatus 200 may only provide limited functionality e.g. charging only, so that the second switching unit 270, 270′, 270″ may be switched into the second state (step 920). Thus, no data communication via the D+ and D− lines is possible and the apparatus 200 signals a charger via the D+ and D− lines. The apparatus may detect whether a charger is connected to the second interface, e.g. by means of the detection unit 290, wherein the charger may be detected by D+ 122 high and D− 123 low and VBUS 121 supply. This detection may be performed before the second switch is switched into the second state (step 920). In case a charger is connected to the second interface 120 (step 921), then the USB unit connected to the first interface 110 may by charged from the connected charger, i.e. the controller 240 switches the first switching unit 130′ into the first state (steps 921 and 923), or the USB unit connected to the first interface 110 may be charged from the first further power supply line 160, i.e. the controller 240 switches the first switching unit 130′ into the second state (steps 921 and 923). If no charger is connected to the second interface 120 (I2) (step 921), then the controller 240 may directly switch the first switching unit 130′ into the second state (if the optional dual-charge mode is not implemented), or, in case that a dual-charge mode exists, then it is determined in step 922 whether dual-charge is activated, and if this the case, then the first switching unit switches into a first sub-state of the second state (step 924). In this first sub-state of the second state, the first further power supply line 160 may connect the VBUS 111 of the first interface 110 to the charger 285 in order to charge the USB unit connected to the first interface 110, and the VBUS 121 of the second interface 120 is connected to the second further power supply line 161, so that the USB unit connected to the second USB interface may be charged via the power unit 286, which may be switched to a charger functionality in the dual-charge mode. If no dual-charge is activated, then the first switching unit 130′ is switched into the second state at step 925. Activating the dual-charge mode may be performed by a dual-charge button, which shows the advantage of low-cost implementation and good user comfort, or it may be activated by the controller 240, e.g. based on software control, which introduces no further hardware costs.
If the USB unit connected to the first interface 110 is detected as compatible unit (step 910), then the apparatus 200 may provide full functionality. Then, a second USB unit connected to the second interface 120 may be detected by the detection unit 290 (step 930).
Then it may be checked whether the second USB unit is an USB OTG A-Device (step 935). If the second USB unit is an A-Device, and if this A-Device represents a Host-Charger (step 940), then the first switching unit 130′ is switched into the first state and the second switching unit 270 is switched into the first state (step 942). In case the second USB unit is an A-Device but no Host-charger, then (step 943) the first switching unit is switched into the second state in order to charge the first USB unit via the first interface 110 and the second switching unit is switched into the first state in order to allow data passthrough via the first interface 110 and the second interface 120. Furthermore, the apparatus may signal to the first USB unit connected to the first interface 110 to disable HNP&SRP by means of the communication unit via the ID-pin 114 of the first interface 110 (step 944).
In case that no USB OTG A-Device is connected to the second interface 120 (step 935), then it may be checked whether a charger is connected to the second USB interface (step 937), e.g. indicated by D+ 122 high and D− 123 low, and in case a charger is detected then the method may proceed at step 920 or may directly jump to step 923.
If no charger is detected to be connected to the second interface 120 (step 937), and if the optional dual-charge mode is implemented, it is first checked whether dual-charge is on (step 950), and if the dual-charge is activated then (step 951) the first switching unit is switched into the first sub-state of the second state and the second switching unit is switched into the second state in order to indicate a USB charger. Otherwise, if dual-charge is not on or if the optional dual-charge-mode is not implemented, then the first switching unit 130′ is switched into the second state in order to charge the first USB unit via the first interface 110 and the second switching unit 270 is switched into the first state in order to provide data passthrough (step 952), and the apparatus may signal to the first USB unit connected to the first interface 110 to switch into a host, e.g. if a USB-OTG B-Device is detected to be connected to the second interface.
Furthermore, in case that the first power supply is removed during operation, e.g. by being disconnected from connector 250, which may be detected in steps 945 or 954, respectively, then the first switching unit is switched into the first state (steps 946 and 955) in order to connect the VBUS 111 of the first interface 110 to the VBUS 121 of the second interface. In case that the second USB unit is an OTG A-Device, then power supply to the first USB unit connected to the first interface 110 is provided by the A-Device (step 946, 955), and in case that the second USB unit is no OTG A-Device, then the first USB unit which is connected to the first interface 110 is signaled via the communication unit 280 to turn on its power supply in order to provide the second USB unit connected to the second interface 120 with power.
Further, if it is detected that a removed first power supply is connected to the apparatus 200 during operation (steps 947, step 957), then the first switching unit 130′ is switched in to the second state (steps 948 and 958), and, if the second USB unit is not an OTG A-Device, then the first USB unit which is connected to the first interface 110 is signaled via the communication unit 280 to turn off its power supply (step 959).
Optionally, the apparatus 200 may further comprise an additional switch configured to switch the controller 240 to the VBUS 111, 121 of the first or second USB interface 110, 120, so that in case the first power supply is removed during operation (steps 945, 954), then this additional switch may connect the controller 240 to the VBUS in order to get power. In case that the first power supply provides the apparatus 200 with power, then this additional switch is open and thus power is not taken to control unit 240 from the external VBUS in order to prevent to take too much current from the external VBUS. Thus, extra robustness may be guaranteed in case of power interrupts.
Furthermore, any one-time OTG detection, e.g. at step 930, may be done by multiplexing. This expects, that charging is interrupted for a short period and resumed after detection of VBUS is completed.
Additionally, the apparatus 200 may further be configured to detect a disconnection of the first USB unit from the first USB interface 110 (not shown in
The apparatus 200 may further optionally comprise an optional OTG device 295 which is connected to the VBUS 121 of the second interface, wherein this OTG device 295 represents a leakage switch circuit which is configured to be switched into a state for compensating for the VBUS load according the VBUS load range of the USB OTG standard. An exemplary embodiment of this OTG device 295 is depicted in
The apparatus 400 is similar to the apparatus 200 depicted in
The ECI-link needs proper mechanism to start communication with the ID-line in a specification compliant way. For that purpose a Hi-Z interrupt signal is needed and also special detection circuitry that will be available, as integrated as mixed signal IC in the USB unit 405, otherwise integration to other ICs or discrete solutions may be used.
When the USB unit 405 detects an ID-low state, it will also initiate the specific data mode without interrupt from the apparatus 400. The data mode is showing low impedance and is set by LZ-mode switch in
The ECI interface communication and configuration may be initiated also by the USB unit 405. In this case the VBUS voltage appearance is needed to start the communication trial and the USB unit 405 needs to set the low-impedance mode as the communication impedance needs to be about 1 . . . 2 kΩ. If there is no response it can be decided that the connected system does not include ECI, and the communication mode can be aborted. The communications may expect that the apparatus 400 is powered from the connector, e.g. connector 250 depicted in
Electrostatic discharge (ESD) protection is connected to both connectors VBUS 111, 121 and ID pins 114, 124 (see
Furthermore, when power is taken from battery while an application is running on a USB unit, and the apparatus 100, 200, 400 is connected but not powered by the charger, then switching creates interruption in the power delivery. If charging is now needed the switch-over will terminate a running application that may create a problem for the user. In this case a handover system may be arranged in the apparatus 100, 200, 400 that needs special control performance from the charger. Apparatus and VBUS handover may be controlled by a voltage control loop arrangement to a regulator of the apparatus so that during handover there will not take place any voltage transient. The handover may be done in both directions until power is on. The handover switch control latency is in the range of tens of milliseconds via ECI communication system, e.g. depicted in
Furthermore, for instance, the apparatus 100, 200, 400 may be transparent to an external charger identification system, wherein D+ and D− roles may be for instance swapped.
Furthermore, any of the apparatuses 1, 100, 200, 400, 1000 mentioned above may comprise a plug 1010 connected to first USB interface 110, wherein this plug 1010 may be one out of a Standard B-Plug, Mini-B Plug, Micro B-Plug, Captive (i.e. proprietary) or hard-wired captive (i.e. non-removeable), and any of the apparatuses 100, 200, 400, 1000 may comprise a receptacle 1020 connected to the second USB interface 120, wherein this receptacle 1020 is one out of Mini-AB, Micro-AB or combination of Standard A/Mini-A plus one of a B-side connector.
The invention has been described above by means of exemplary embodiments. It should be noted that there are alternative ways and variations which are obvious to a skilled person in the art and can be implemented without deviating from the scope and spirit of the appended claims.
Filing Document | Filing Date | Country | Kind | 371c Date |
---|---|---|---|---|
PCT/IB2006/054694 | 12/8/2006 | WO | 00 | 2/22/2010 |
Publishing Document | Publishing Date | Country | Kind |
---|---|---|---|
WO2008/068552 | 6/12/2008 | WO | A |
Number | Name | Date | Kind |
---|---|---|---|
6253329 | Kang | Jun 2001 | B1 |
6279060 | Luke et al. | Aug 2001 | B1 |
6516205 | Oguma | Feb 2003 | B1 |
6774604 | Matsuda et al. | Aug 2004 | B2 |
6943683 | Perret | Sep 2005 | B2 |
7185132 | Tang | Feb 2007 | B2 |
7310697 | Pandit et al. | Dec 2007 | B2 |
7329136 | Su et al. | Feb 2008 | B2 |
20020154060 | Smith | Oct 2002 | A1 |
20020197963 | Angermann | Dec 2002 | A1 |
20040192227 | Beach et al. | Sep 2004 | A1 |
20040239294 | Veselic et al. | Dec 2004 | A1 |
20050136972 | Smith et al. | Jun 2005 | A1 |
20050174094 | Purdy et al. | Aug 2005 | A1 |
20060145666 | Liu | Jul 2006 | A1 |
20060181241 | Veselic | Aug 2006 | A1 |
20070022311 | Park | Jan 2007 | A1 |
20070028127 | Kim | Feb 2007 | A1 |
20080126594 | Monks et al. | May 2008 | A1 |
20080140887 | Gallant et al. | Jun 2008 | A1 |
20080313477 | Numano | Dec 2008 | A1 |
20100169534 | Saarinen et al. | Jul 2010 | A1 |
Number | Date | Country |
---|---|---|
1487081 | Dec 2004 | EP |
1691252 | Aug 2006 | EP |
0148613 | Jul 2001 | WO |
2005112220 | Nov 2005 | WO |
Entry |
---|
Office Action received in corresponding Chinese Application No. 200780050173.2, Dated Dec. 21, 2011, 16 pages. |
Universal Serial Bus Specification Rev. 2.0, USB Implementers Forum, Apr. 27, 2000, www.usb.org. |
USB On-The-Go Supplement Rev. 1.2 to Universal Serial Bus Specification Rev. 2.0, USB Implementers Forum, Apr. 4, 2006, www. usb. org, 81 pages. |
Inter-Chip Universal Serial Bus Supplement Rev. 1.0 to Universal Serial Bus Specification 2.0, USB Implementers Forum, Mar. 13, 2006, 48 pages. |
USB Workgroup: “Universal Serial Bust Specification” Sep. 23, 1998, Compaq, Intel, Microsoft, NEC, XP002459839 p. 229-p. 232. |
“International Search Report and The Written Opinion of the International Searching Authority”, received in corresponding PCT Application No. PCT/IB2006/054694, Dated Dec. 20, 2007, 18 pages. |
Number | Date | Country | |
---|---|---|---|
20100169534 A1 | Jul 2010 | US |