US20080150512A1 - Electronic device - Google Patents
Electronic device Download PDFInfo
- Publication number
- US20080150512A1 US20080150512A1 US12/000,762 US76207A US2008150512A1 US 20080150512 A1 US20080150512 A1 US 20080150512A1 US 76207 A US76207 A US 76207A US 2008150512 A1 US2008150512 A1 US 2008150512A1
- Authority
- US
- United States
- Prior art keywords
- switch
- usb
- identification pin
- electronic device
- voltage
- 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.)
- Abandoned
Links
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR 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; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2213/00—Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
- G06F2213/0042—Universal serial bus [USB]
Definitions
- the present invention relates to an electronic device connected through a USB (universal serial bug) interface.
- the USB is known widely as an interface through which a personal computer and its peripheral devices are connected
- a USB host equipped with a USB host controller and a USB device equipped with a USB device controller are typically connected through the USB interface
- the USS host and the USB device are connected with each other via the USB connection, power is normally supplied from the USB host to the USB device.
- technologies known in the related art that allow power to be supplied from the USB device to the USB host, as well (see, for instance, Japanese laid Open Patent Publication No. 2005-25405).
- the USB device supplies power to the USB host in the related art by supplying power to a VBUS pin as the USB host becomes connected thereto lowering the voltage at an ID pin to a predetermined level. This gives rise to a concern that the USB device may supply power to a USB host connected thereto even if the USB host does not require power as the voltage at the ID pin becomes lowered to the predetermined level.
- a USB electronic device with a power source loaded therein which is connected to another USB electronic device via a USB connector.
- the USB electronic device comprises voltage detection unit that detects a voltage at an identification pin of the USB connector, a power supply control unit that controls connection/disconnection between a power supply pin of the USB connector and the power source based upon a change in voltage at the identification pin detected by the voltage detection unit, and an allow/disallow control unit that executes control to allow/disallow detection of the voltage change at the identification pin.
- the allow/disallow control unit includes a pull-up circuit and a switch that connects/disconnects the pull-up circuit to/from the identification pin, and the power supply control unit connects the pull-up circuit to the identification pin when the detection of the voltage change is allowed and disconnects the pull-up circuit from the identification pin when detection of the voltage change is disallowed by controlling changeover at the switch.
- the USB electronic device comprises a setting operation unit with which a user selects a setting to allow/disallow the detection of a voltage change at the identification pin.
- a USB electronic device with a power source loaded therein which is connected to another USB electronic device via a USB connector.
- the USB electronic device comprises a voltage detection unit that detects a voltage at an identification pin of the USB connector and power supply control unit that controls connection/disconnection between a power supply pin of the USB connector and the power source based upon a voltage change at the identification pin detected by the voltage detection unit.
- the power supply control unit includes a first switch disposed between the power supply pin and the power source, with which the power supply pin and the power source are connected with each other or disconnected from each other in response to a switching control signal and a second switch with which allow/disallow control is executed with regard to changeover at the first switch.
- the switching control signal when the changeover at the first switch is allowed via the second switch, the switching control signal is applied to the first switch via the second switch, whereas when the changeover at the first switch is disallowed via the second switch, the switching control signal is interrupted from the first switch by the second switch.
- the second switch is disposed between a switching control terminal of the first switch and the identification pin of the USB connector so as to connect/disconnect the switching control terminal of the first switch to/from the identification pin of the USB connector.
- the first switch is a semiconductor switching element and the switching control signal is applied to a switching control terminal of the semiconductor switching element, which is turned ON/OFF in correspondence to a voltage level at the identification pin. When the voltage level at the identification pin is low, the semiconductor switching element enters an ON state connecting the power supply pin to the power source.
- the electronic device comprises an allow/disallow control unit that executes control to allow/disallow detection of a voltage change at the identification pin.
- the allow/disallow control unit is able to consists as well as an allow/disallow control unit comprised in a USB electronic device according to the first aspect of the present invention.
- a USB electronic device that includes a USB device controller and a power source loaded therein.
- the USB electronic device comprises a USB connector at which an electronic device equipped with a USB host controller is connected, a voltage detection unit that detects a voltage at an identification pin of the USB connector, a first switch that connects/disconnects a power supply pin of the USB connector to/from the power source, a detection unit that detects a voltage change at the identification pin detected via the voltage detection unit, a second switch disposed between a switching control terminal of the first switch and the identification pin, an allow/disallow control unit that executes control to allow/disallow detection of a voltage change by-the detection unit, and a switching control unit that executes switching control for the second switch so as to connect the identification pin to the switching control terminal of the first switch when the detection of the voltage change by the detection unit is allowed by the allow/disallow control unit and the voltage change is detected by the detection unit.
- the USB electronic device is still able to comprise a setting operation unit with which a user selects a setting to allow/disallow the detection of a voltage change at the identification pin.
- the allow/disallow control unit in the USB electronic device includes a pull-up circuit and a switch that connects/disconnects the pull-up circuit to/from an identification pin and the switch connects the pull-up circuit to the identification pin when a setting for allowing detection of a voltage change is selected via the setting operation unit and disconnects the pull-up circuit from the identification pin when detection of the voltage change is disallowed.
- FIG. 1 illustrates the interface system achieved in an embodiment of the present invention
- FIG. 2 illustrates how a USB host adopting a structure different from that of the USB host in FIG. 1 may be connected.
- FIG. 1 illustrates the interface system achieved in the first embodiment of the present invention.
- the interface system shown in FIG. 1 is constituted with a plurality of electronic devices connected with each other through a USB connection.
- the USB connection is achieved in compliance with the USB (universal serial bus) specification which is set forth by the USB Implementers Forum (USB-IF)
- USB-IF USB Implementers Forum
- a USB device 10 and a USB host 50 in the interface system achieved in the embodiment are directly connected with each other through a connector RC 11 and a connector PL 2 without a cable, with power supplied from the USB device 10 to the USB host 50 .
- the connector RC 11 and the connector PL 2 may be otherwise referred to as USB connectors.
- the USB device 10 may be, for instance, an electronic camera, whereas the USB host 50 may be a wireless LAN module.
- the wireless LAN module 50 By directly connecting the wireless LAN module 50 to the electronic camera 10 via the USB connectors, image data accumulated in the electronic camera 10 can be directly transferred to a server or the like on a network without having to transmit the image data via a personal computer or the like.
- the USB interface comprises a power source VBUS line, a data D+ line, a data D ⁇ line, a reference potential GND line and an ID line.
- the ID line is used to identify a dual-role device as a “USB host” or a “USB device”.
- a dual role device is a device that operates in compliance with the USB-OTG specification (On-The-Go Supplement to the USB 2.0 Specification) and may be determined to be operating as a “USB host” or as a “USB device” depending upon the voltage level detected at the ID line.
- the power supply between devices connected through a USB connection is executed through the VBUS line.
- the devices connected through the USB connection communicate with each other through serial communication via a pair of data lines, i.e. the D+ line and the D ⁇ line.
- the USB device 10 in FIG. 1 includes a control unit 12 , a device controller 13 , a semiconductor switching element (hereafter referred to as an FET) 14 such as a field effect transistor, resistors 15 and 20 , diodes 16 and 19 , analog switches 17 and 18 and the connector RC 11 mentioned earlier, with a battery 11 loaded therein.
- an FET semiconductor switching element
- Power is supplied from the battery 11 to the various components and elements constituting the USB device 10 , such as the control unit 12 and the device controller 13 .
- the control unit 12 includes a microcomputer and controls the operations of the various components and elements in the USB device 10 (an electronic camera in this example).
- the device controller 13 executes control so as to enable the USB device 10 to operate as the “USB device”.
- Data communication between the USB device 10 and the USB host 50 is controlled by a host controller 51 to be detailed later.
- the USB interface is configured so that the USB device 10 cannot transmit data to the USB host 50 unless the USB host 50 grants a bus utilization authorization to the USB device 10 .
- the analog switch 18 is disposed between a gate terminal of the FET 14 and an identification pin ID of the connector RC 11 and its ON/OFF state is controlled based upon a switching control signal provided by the control unit 12 . More specifically, the analog switch 18 enters an ON state when the logic level of the switching control signal is at H and enters an OFF state when the logic level of the switching control signal is at L.
- the ON/OFF state of the FET 14 is controlled based upon the state selected for the analog switch 18 and the voltage level at the ID line.
- the FET 14 enters an ON state when the analog switch 18 is in the ON state and the voltage at the ID line is equal to or less than a predetermined voltage level. If the analog switch 18 is in the OFF state, the FET 14 assumes the OFF state as well. In addition, even if the analog switch 18 is in the ON state, the FET 14 assumes the OFF state if the voltage at the ID line is higher than the predetermined voltage level.
- the battery 11 becomes connected to a VBUS pin of the connector RC 11 via the FET 14 and the diodes 16 .
- the diode 16 is disposed for purposes of reverse current prevention, whereas the resistor 15 is disposed to set the potential at the gate terminal of the FET 14 to a predetermined potential level.
- switching element such as an analog switch or a relay may be used in place of the FET 14 .
- the ON/OFF state of the analog switch 17 is controlled based upon a switching control signal provided by the control unit 12 . More specifically, the analog switch 17 enters an ON state when the logic level of the switching control signal is at H and enters an OFF state when the logic level of the switching control signal is at L.
- the user of the USB device 10 selects a setting allowing the use of a wireless LAN module through, for instance, a menu operation performed by using the operation member.
- the control unit 12 at the USB device 10 turns on the analog switch 17 as the wireless LAN module use setting is selected, but the control unit 12 sustains the analog switch 17 in the OFF state until the wireless LAN module use setting is selected.
- the control unit 12 includes a detection port P rb used to detect the voltage level at the ID line.
- the analog switch 17 As the analog switch 17 is turned on, the ID line becomes connected with the positive pole of the battery 11 via the resistor 20 , and thus becomes pulled up. Namely, when the connector RC 11 is in an open state, the level of the voltage at the ID line indicates a voltage value higher than a predetermined voltage.
- the voltage at the ID line shifts from high level to low level as another device becomes connected to the USB device 10 via the connector RC 11 and the ID line becomes connected with the GND line via the other device, enabling the control unit 12 to detect the connection with the other device by reading the signal of the change in voltage at the detection port P ID .
- the analog switch 17 When the wireless LAN module use setting is not selected, the analog switch 17 does not enter the ON state and thus, the ID line does not become connected to the battery 11 via the resistor 20 leaving the level of the voltage at the ID line in an indeterminate state while the connector RC 11 is in the open state. Under these circumstances, even if another device becomes connected-to the USB device 10 via the connector RC 11 and the ID line becomes connected to the GND line via the other device, the control unit 12 is not able to detect a reduction in the voltage level at the ID line. It is to be noted that the diode 19 is disposed for purposes of preventing a reverse flow of current at the ID line.
- the connector RC 11 is a Mini B-type receptacle (Mini-B receptacle).
- the Mini B-type receptacle is a connector dedicated to the “USB device”
- a Mini B-type plug (Mini-B plug) at the “USB host” or a “USB cable” can be plugged into the connector RC 11 .
- the Mini B-type plug (Mini-B plug) at the USB host 50 is connected to the connector RC 11 .
- the connector RC 11 includes a VBUS pin corresponding to the VBUS line, a D+ pin corresponding to the D+ line, a D ⁇ pin corresponding to the D ⁇ line, a GND pin corresponding to the GND line and an ID pin corresponding to the ID line.
- the USB host 50 includes a control unit 52 , the host controller 51 and the connector PL 21 . It is to be noted that the figure does not include an illustration of the components and elements engaged in wireless communication processing in the USB host 50 .
- the USB host 50 does not have a power source and instead, it receives power supplied from the USB device 10 and delivers it to the host controller 51 and the control unit 52 .
- the control unit 52 includes a microcomputer and controls the operations of the various components, and elements in the USB host 50 (a wireless LAN module in this example).
- the host controller 51 executes control so as to enable the USB host 50 to operate as the “USB host”. Any processing via the bus is invariably. triggered by the USB host 50 under control executed by the host controller 51 .
- the connector PL 21 is a Mini B-type plug (Mini-B plug).
- the A Mini B-type plug is a connector dedicated to the “USB host”.
- the Mini B-type receptacle (Mini-B receptacle) at the “USB device” i.e., the connector RC 11 is connected to the connector PL 21 .
- the connector PL 21 includes a VBUS pin corresponding to the VBUS line, a D+ pin corresponding to the D+ line, a D ⁇ pin corresponding to the D ⁇ line, a GND pin corresponding to the GND line and an ID pin corresponding to the ID line. It is to be noted that the GND pin and the ID pin are connected with each other within the USB host 50 .
- Power is supplied from the USB device 10 to the USB host 50 through the following procedure.
- the USB device 10 and the USB host 50 become connected with each other via the connector RC 11 and the connector PL 21 .
- the wireless LAN module use setting is selected at the USB device 10 through a menu operation performed by using, for instance, the operation member.
- the control unit 12 at the USB device 10 sets the logic level of the switching control signal output to the analog switch 17 to H, thereby turning on the analog switch 17 .
- the detection port P ID of the control unit 12 becomes connected to the power source via the resistor 20 and thus becomes pulled up.
- the control unit 12 becomes able (is allowed) to detect the reduction in the voltage level at the ID line.
- the control unit 12 of the USB device 10 switches the logic level of the switching control signal output to the analog switch 18 to H, thereby turning on the analog switch 18 , as the control unit 12 detects a reduction in the voltage at the detection port P ID , i.e., a reduction in the voltage level at the ID line.
- the analog switch 18 is turned on, the ID line where the voltage level has become lower is connected to the gate terminal of the FET 14 , thereby turning on the FET 14 , which, in turn, allows the power from the battery 11 to be supplied from the USB device 10 to the USB host 50 through the VBUS line.
- the control unit 12 of the USB device 10 switches the logic level of the switching control signal output to the analog switch 17 to L, thereby turning off the analog switch 17 .
- the control unit 12 does not detect a reduction in the voltage at the ID line, it switches the logic level of the switching control signal output to the analog switch 18 to L, thereby turning off the analog switch 18 .
- the interface system in the first embodiment is configured so that while the USB device 10 and the USB host 50 are connected with each other via the USB connectors, power can be supplied from the USB device 10 to the USB host 50 through the VBUS line in correspondence to the voltage detected at the ID line.
- the USB device 10 includes the analog switch 17 through which detection of a change in voltage level at the ID line by the control unit 12 is allowed or disallowed.
- a USB device 10 adopting the failsafe structure does not detect a voltage reduction even when an unexpected device becomes connected to the USB device 10 and the voltage at the ID line becomes lower.
- the USB device 10 in the interface system achieved in the first embodiment includes the FET 14 through which the power line connecting the power source (battery 11 ) with the VBUS line is turned ON/OFF and the analog switch 18 through which an ON/OFF changeover at the FET 14 is allowed/disallowed.
- the USB device adopting the failsafe structure does not allow the FET 14 to enter the ON state even if the voltage at the ID line becomes lower.
- the switching control signal for the FET 14 is input to the gate terminal of the FET 14 when the analog switch 18 is in the ON state but the switching control signal is not input when the analog switch 18 is in the OFF state.
- the FET 14 is never turned on and thus, the power supply via the VBUS line is disabled with a high level of reliability regardless of what type of switching control signal is generated.
- the analog switch 18 is switched on only after the analog switch 17 first enters the ON state and thus, the FET 14 never enters the ON state unless a voltage reduction is detected at the ID line.
- the analog switch 18 is in the OFF state, the FET 14 , too, invariably assumes the OFF state. Namely, the FET 14 is a P-type FET which enters the ON state as the gate terminal becomes grounded. Consequently, whenever power should not be supplied from the USB device 10 to the USB host 50 , the power supply can be reliably stopped.
- Power can be supplied from the USB device 10 to the USB host 50 without having to constitute the USB device 10 as a dual role device, i.e., without having to install a controller or software in compliance with the USB-OTG specification in the USB device. As a result, an inexpensive interface system is realized.
- FIG. 2 illustrates the interface system achieved in the second embodiment of the present invention with a USB host 60 different from that shown in FIG. 1 connected therein.
- the USB device 10 and the USB host 60 in FIG. 2 are connected with each other via a USB cable 65 .
- the USB device 10 maybe constituted with an electronic camera and the USB host 60 may be constituted with a wireless LAN module in the example presented in FIG. 2 .
- the USB host 60 in the second embodiment has a function of supplying power to the USB device 10 .
- the USB cable 65 is a directional cable.
- a connector PL 42 disposed at one end of the USB cable 65 is a Mini-B type plug (Mini-B plug).
- the Mini-B plug is a connector used to the “USB device”.
- the RC connector RC 11 of the “USB device”, i.e., the Mini-B type receptacle (Mini-B receptacle) is connected to the connector PL 42 .
- a connector PL 41 disposed at the other end of the USB cable 65 , is an A-type plug (A plug).
- the A-type plug is a connector to the “USB host”.
- a connector RC 31 of the “USB host”, i.e., an A-type receptacle (A receptacle) is connected to the connector PL 41 . Since the connectors disposed at the two ends of the USB cable 65 assume different shapes, two “USB hosts” or two “USB devices” are never connected with each other by mistake.
- the connector PL 41 is a full-size connector with four pins.
- the connector FL 42 is a Mini-type connector as explained earlier and includes five pins. Since the connector PL 41 does not include an ID pin, the USB cable 65 does not include a wiring for ID pin connection and the ID pin of the connector PL 42 is left open-circuited.
- the USB host 60 includes a control unit 62 , a host controller 61 and the connector RC 31 (A-type receptacle), with a battery 63 loaded therein. It is to be noted that an illustration of the components, elements and the like in the USB host 60 engaged in wireless communication processing is not provided.
- the USB host 60 supplies power from the battery 63 to the host controller 61 and the control unit 62 .
- the control unit 62 includes a microcomputer and controls the operations of the individual components, elements and the like in the USB host 60 .
- the host controller 61 executes control so as to enable the USB host 60 to operate as the “USB host”, Any processing via the bus is invariably triggered by the USB host 60 under control executed by the host controller 61 .
- the connector RC 31 is an A-type receptacle (A-receptacle).
- the A-receptacle is a connector dedicated to the “USB host”.
- the connector PL 41 (A plug) of the USB cable 65 is connected to the connector RC 31 .
- the connector RC 31 includes a VBUS pin corresponding to the VBUS line, a D+ pin corresponding to the D+line, a D ⁇ pin corresponding to the D ⁇ line and a GND pin corresponding to the GND line.
- the USB device 10 constituting the interface system shown in FIG. 2 is able to engage in operation on the power provided therein (from the battery 11 ) without having to rely on power supplied from the “USB host” via the VBUS line.
- the wireless LAN module 60 becomes connected to the USE device 10 via the USE cable 65 .
- the wireless LAN module use setting or the wireless LAN module nonuse setting is selected.
- the wireless LAN module nonuse setting is selected as the default setting.
- the control unit 12 sets the analog switch 17 in the OFF state and thus, the FET 14 remains off with no power from the battery 11 in the USE device 10 supplied to the VBUS.
- the analog switch 17 is turned on pulling up the detection port P ID and enabling the control unit 12 to detect a voltage change at the voltage detection port P ID .
- the other end of the ID line at the USB cable 65 is open-circuited and the voltage at the voltage detection port P ID in the control unit 12 remains unchanged regardless of whether the USB host 60 is connected or disconnected. Consequently, the FET 14 sustains the OFF state, preventing the power source interference between the batteries 11 and 63 .
- One of or both of the analog switches 17 and 18 may be constituted with a mechanical switch.
- the mechanical switch is turned on when the user allows to use the wireless LAN module with the USB device 10 . If, on the other hand, the user disallows use of the wireless LAN module with the USB device 10 , the mechanical switch is turned off.
- the switching control signal may be generated in the control unit 12 .
- the control unit 12 upon detecting a reduction in the voltage level at the XD line applied from the outside of the USB device 10 , the control unit 12 outputs a signal of L level as the switching control signal to be input to the gate terminal of the FET 14 .
- the control unit 12 outputs a signal of H level as the switching control signal for the FET 14 .
- USB device includes both the switch 17 and the switch 18
- the USB device may instead include either of the switches 17 or 18 .
- the present invention may instead be adopted in an interface system in which power is supplied from a USB host with a battery loaded therein to a USB device into which a battery cannot be loaded.
- the interface system should adopt a structure that allows power to be supplied through the VBUS line from the USB host to the USB device in correspondence to the voltage at the ID line.
- USB device 10 is constituted with an electronic camera
- present invention is not limited to this example and it may be adopted in conjunction with a USB device constituted with a portable electronic device such as a portable telephone or a PDA.
- USB host 50 in the description provided above is a wireless LAN module
- the present invention may be adopted in conjunction with a USB host constituted with a tuner module, a GPS receiver module or the like, instead.
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Computer Hardware Design (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Power Sources (AREA)
- Studio Devices (AREA)
Abstract
A USB electronic device with a power source loaded therein, which is connected to another USB electronic device via a USB connector, comprises a voltage detection unit that detects a voltage at an identification pin of the USB connector, a power supply control unit that controls connection/disconnection between a power supply pin of the USB connector and the power source based upon a change in voltage at the identification pin detected by the voltage detection unit and an allow/disallow control unit that executes control to allow/disallow detection of the voltage change at the identification pin.
Description
- The disclosure of the following priority application is herein incorporated by reference:
- Japanese Patent Application No. 2006-347361 filed Dec. 25, 2006
- 1. Field of the Invention
- The present invention relates to an electronic device connected through a USB (universal serial bug) interface.
- 2. Description of Related Art
- The USB is known widely as an interface through which a personal computer and its peripheral devices are connected A USB host equipped with a USB host controller and a USB device equipped with a USB device controller are typically connected through the USB interface When the USS host and the USB device are connected with each other via the USB connection, power is normally supplied from the USB host to the USB device. However, there are technologies known in the related art that allow power to be supplied from the USB device to the USB host, as well (see, for instance, Japanese laid Open Patent Publication No. 2005-25405).
- The USB device supplies power to the USB host in the related art by supplying power to a VBUS pin as the USB host becomes connected thereto lowering the voltage at an ID pin to a predetermined level. This gives rise to a concern that the USB device may supply power to a USB host connected thereto even if the USB host does not require power as the voltage at the ID pin becomes lowered to the predetermined level.
- According to the first aspect of the present invention, a USB electronic device with a power source loaded therein, which is connected to another USB electronic device via a USB connector. The USB electronic device comprises voltage detection unit that detects a voltage at an identification pin of the USB connector, a power supply control unit that controls connection/disconnection between a power supply pin of the USB connector and the power source based upon a change in voltage at the identification pin detected by the voltage detection unit, and an allow/disallow control unit that executes control to allow/disallow detection of the voltage change at the identification pin.
- The allow/disallow control unit includes a pull-up circuit and a switch that connects/disconnects the pull-up circuit to/from the identification pin, and the power supply control unit connects the pull-up circuit to the identification pin when the detection of the voltage change is allowed and disconnects the pull-up circuit from the identification pin when detection of the voltage change is disallowed by controlling changeover at the switch.
- It is preferred that the USB electronic device comprises a setting operation unit with which a user selects a setting to allow/disallow the detection of a voltage change at the identification pin.
- According to the second aspect of the present invention, a USB electronic device with a power source loaded therein, which is connected to another USB electronic device via a USB connector. The USB electronic device comprises a voltage detection unit that detects a voltage at an identification pin of the USB connector and power supply control unit that controls connection/disconnection between a power supply pin of the USB connector and the power source based upon a voltage change at the identification pin detected by the voltage detection unit. The power supply control unit includes a first switch disposed between the power supply pin and the power source, with which the power supply pin and the power source are connected with each other or disconnected from each other in response to a switching control signal and a second switch with which allow/disallow control is executed with regard to changeover at the first switch.
- In the USB electronic device according to the second aspect of the present invention, when the changeover at the first switch is allowed via the second switch, the switching control signal is applied to the first switch via the second switch, whereas when the changeover at the first switch is disallowed via the second switch, the switching control signal is interrupted from the first switch by the second switch.
- In the USB electronic device according to the second aspect of the present invention, the second switch is disposed between a switching control terminal of the first switch and the identification pin of the USB connector so as to connect/disconnect the switching control terminal of the first switch to/from the identification pin of the USB connector. The first switch is a semiconductor switching element and the switching control signal is applied to a switching control terminal of the semiconductor switching element, which is turned ON/OFF in correspondence to a voltage level at the identification pin. When the voltage level at the identification pin is low, the semiconductor switching element enters an ON state connecting the power supply pin to the power source.
- It is preferred that the electronic device according to the second aspect of the present invention comprises an allow/disallow control unit that executes control to allow/disallow detection of a voltage change at the identification pin. In this case, the allow/disallow control unit is able to consists as well as an allow/disallow control unit comprised in a USB electronic device according to the first aspect of the present invention.
- According to the third aspect of the present invention, a USB electronic device that includes a USB device controller and a power source loaded therein. The USB electronic device comprises a USB connector at which an electronic device equipped with a USB host controller is connected, a voltage detection unit that detects a voltage at an identification pin of the USB connector, a first switch that connects/disconnects a power supply pin of the USB connector to/from the power source, a detection unit that detects a voltage change at the identification pin detected via the voltage detection unit, a second switch disposed between a switching control terminal of the first switch and the identification pin, an allow/disallow control unit that executes control to allow/disallow detection of a voltage change by-the detection unit, and a switching control unit that executes switching control for the second switch so as to connect the identification pin to the switching control terminal of the first switch when the detection of the voltage change by the detection unit is allowed by the allow/disallow control unit and the voltage change is detected by the detection unit.
- The USB electronic device according to the third aspect of the present invention is still able to comprise a setting operation unit with which a user selects a setting to allow/disallow the detection of a voltage change at the identification pin. The allow/disallow control unit in the USB electronic device according to the third aspect of the present invention includes a pull-up circuit and a switch that connects/disconnects the pull-up circuit to/from an identification pin and the switch connects the pull-up circuit to the identification pin when a setting for allowing detection of a voltage change is selected via the setting operation unit and disconnects the pull-up circuit from the identification pin when detection of the voltage change is disallowed.
-
FIG. 1 illustrates the interface system achieved in an embodiment of the present invention; and -
FIG. 2 illustrates how a USB host adopting a structure different from that of the USB host inFIG. 1 may be connected. - The following is an explanation of the best embodiment of the invention given in reference to the drawings.
-
FIG. 1 illustrates the interface system achieved in the first embodiment of the present invention. The interface system shown inFIG. 1 is constituted with a plurality of electronic devices connected with each other through a USB connection. The USB connection is achieved in compliance with the USB (universal serial bus) specification which is set forth by the USB Implementers Forum (USB-IF) AUSB device 10 and aUSB host 50 in the interface system achieved in the embodiment are directly connected with each other through aconnector RC 11 and a connector PL 2 without a cable, with power supplied from theUSB device 10 to theUSB host 50. It is to be noted that in the description of the embodiment, theconnector RC 11 and the connector PL 2 may be otherwise referred to as USB connectors. - The
USB device 10 may be, for instance, an electronic camera, whereas theUSB host 50 may be a wireless LAN module. By directly connecting thewireless LAN module 50 to theelectronic camera 10 via the USB connectors, image data accumulated in theelectronic camera 10 can be directly transferred to a server or the like on a network without having to transmit the image data via a personal computer or the like. - The USB interface comprises a power source VBUS line, a data D+ line, a data D− line, a reference potential GND line and an ID line. The ID line is used to identify a dual-role device as a “USB host” or a “USB device”. A dual role device is a device that operates in compliance with the USB-OTG specification (On-The-Go Supplement to the USB 2.0 Specification) and may be determined to be operating as a “USB host” or as a “USB device” depending upon the voltage level detected at the ID line.
- The power supply between devices connected through a USB connection is executed through the VBUS line. In addition, the devices connected through the USB connection communicate with each other through serial communication via a pair of data lines, i.e. the D+ line and the D− line.
- The
USB device 10 inFIG. 1 includes acontrol unit 12, adevice controller 13, a semiconductor switching element (hereafter referred to as an FET) 14 such as a field effect transistor,resistors diodes analog switches battery 11 loaded therein. It is to be noted that no explanation of members including the members engaged in photographing processing in the camera, such as an imaging optical system, an imaging sensor, a image processing unit, a memory, a operation member, a recording medium and the like of theUSB device 10 is provided in this specification. - Power is supplied from the
battery 11 to the various components and elements constituting theUSB device 10, such as thecontrol unit 12 and thedevice controller 13. Thecontrol unit 12 includes a microcomputer and controls the operations of the various components and elements in the USB device 10 (an electronic camera in this example). In response to an instruction from thecontrol unit 12, thedevice controller 13 executes control so as to enable theUSB device 10 to operate as the “USB device”. Data communication between theUSB device 10 and theUSB host 50 is controlled by ahost controller 51 to be detailed later. The USB interface is configured so that theUSB device 10 cannot transmit data to theUSB host 50 unless theUSB host 50 grants a bus utilization authorization to theUSB device 10. - The
analog switch 18 is disposed between a gate terminal of theFET 14 and an identification pin ID of theconnector RC 11 and its ON/OFF state is controlled based upon a switching control signal provided by thecontrol unit 12. More specifically, theanalog switch 18 enters an ON state when the logic level of the switching control signal is at H and enters an OFF state when the logic level of the switching control signal is at L. - The ON/OFF state of the
FET 14 is controlled based upon the state selected for theanalog switch 18 and the voltage level at the ID line. In more specific terms, theFET 14 enters an ON state when theanalog switch 18 is in the ON state and the voltage at the ID line is equal to or less than a predetermined voltage level. If theanalog switch 18 is in the OFF state, the FET 14 assumes the OFF state as well. In addition, even if theanalog switch 18 is in the ON state, theFET 14 assumes the OFF state if the voltage at the ID line is higher than the predetermined voltage level. As the FET 14 enters the ON state, thebattery 11 becomes connected to a VBUS pin of theconnector RC 11 via the FET 14 and thediodes 16. Thediode 16 is disposed for purposes of reverse current prevention, whereas theresistor 15 is disposed to set the potential at the gate terminal of theFET 14 to a predetermined potential level. - It is to be noted that another type of switching element such as an analog switch or a relay may be used in place of the FET 14.
- The ON/OFF state of the
analog switch 17 is controlled based upon a switching control signal provided by thecontrol unit 12. More specifically, theanalog switch 17 enters an ON state when the logic level of the switching control signal is at H and enters an OFF state when the logic level of the switching control signal is at L. - The user of the
USB device 10 selects a setting allowing the use of a wireless LAN module through, for instance, a menu operation performed by using the operation member. Thecontrol unit 12 at theUSB device 10 turns on theanalog switch 17 as the wireless LAN module use setting is selected, but thecontrol unit 12 sustains theanalog switch 17 in the OFF state until the wireless LAN module use setting is selected. - The
control unit 12 includes a detection port Prb used to detect the voltage level at the ID line. As theanalog switch 17 is turned on, the ID line becomes connected with the positive pole of thebattery 11 via theresistor 20, and thus becomes pulled up. Namely, when theconnector RC 11 is in an open state, the level of the voltage at the ID line indicates a voltage value higher than a predetermined voltage. Thus, when the wireless LAN module use setting is selected, the voltage at the ID line shifts from high level to low level as another device becomes connected to theUSB device 10 via theconnector RC 11 and the ID line becomes connected with the GND line via the other device, enabling thecontrol unit 12 to detect the connection with the other device by reading the signal of the change in voltage at the detection port PID. - When the wireless LAN module use setting is not selected, the
analog switch 17 does not enter the ON state and thus, the ID line does not become connected to thebattery 11 via theresistor 20 leaving the level of the voltage at the ID line in an indeterminate state while theconnector RC 11 is in the open state. Under these circumstances, even if another device becomes connected-to theUSB device 10 via theconnector RC 11 and the ID line becomes connected to the GND line via the other device, thecontrol unit 12 is not able to detect a reduction in the voltage level at the ID line. It is to be noted that thediode 19 is disposed for purposes of preventing a reverse flow of current at the ID line. - The
connector RC 11 is a Mini B-type receptacle (Mini-B receptacle). The Mini B-type receptacle is a connector dedicated to the “USB device” A Mini B-type plug (Mini-B plug) at the “USB host” or a “USB cable” can be plugged into theconnector RC 11. In the embodiment, the Mini B-type plug (Mini-B plug) at theUSB host 50 is connected to theconnector RC 11. Theconnector RC 11 includes a VBUS pin corresponding to the VBUS line, a D+ pin corresponding to the D+ line, a D− pin corresponding to the D− line, a GND pin corresponding to the GND line and an ID pin corresponding to the ID line. - The
USB host 50 includes acontrol unit 52, thehost controller 51 and the connector PL 21. It is to be noted that the figure does not include an illustration of the components and elements engaged in wireless communication processing in theUSB host 50. TheUSB host 50 does not have a power source and instead, it receives power supplied from theUSB device 10 and delivers it to thehost controller 51 and thecontrol unit 52. - The
control unit 52 includes a microcomputer and controls the operations of the various components, and elements in the USB host 50 (a wireless LAN module in this example). In response to an instruction from thecontrol unit 52, thehost controller 51 executes control so as to enable theUSB host 50 to operate as the “USB host”. Any processing via the bus is invariably. triggered by theUSB host 50 under control executed by thehost controller 51. - The connector PL 21 is a Mini B-type plug (Mini-B plug).
- The A Mini B-type plug is a connector dedicated to the “USB host”. The Mini B-type receptacle (Mini-B receptacle) at the “USB device” i.e., the
connector RC 11, is connected to the connector PL 21. The connector PL 21 includes a VBUS pin corresponding to the VBUS line, a D+ pin corresponding to the D+ line, a D− pin corresponding to the D− line, a GND pin corresponding to the GND line and an ID pin corresponding to the ID line. It is to be noted that the GND pin and the ID pin are connected with each other within theUSB host 50. - Power is supplied from the
USB device 10 to theUSB host 50 through the following procedure. - First, the
USB device 10 and theUSB host 50 become connected with each other via theconnector RC 11 and the connector PL 21. The wireless LAN module use setting is selected at theUSB device 10 through a menu operation performed by using, for instance, the operation member. Once the use of the wireless LAN module is allowed, thecontrol unit 12 at theUSB device 10 sets the logic level of the switching control signal output to theanalog switch 17 to H, thereby turning on theanalog switch 17. As theanalog switch 17 is turned on, the detection port PID of thecontrol unit 12 becomes connected to the power source via theresistor 20 and thus becomes pulled up. As a result, thecontrol unit 12 becomes able (is allowed) to detect the reduction in the voltage level at the ID line. - In the wireless LAN module use allowed state achieved as described above, the
control unit 12 of theUSB device 10 switches the logic level of the switching control signal output to theanalog switch 18 to H, thereby turning on theanalog switch 18, as thecontrol unit 12 detects a reduction in the voltage at the detection port PID, i.e., a reduction in the voltage level at the ID line. As theanalog switch 18 is turned on, the ID line where the voltage level has become lower is connected to the gate terminal of theFET 14, thereby turning on theFET 14, which, in turn, allows the power from thebattery 11 to be supplied from theUSB device 10 to theUSB host 50 through the VBUS line. - When the use of the wireless LAN module is not allowed, the
control unit 12 of theUSB device 10 switches the logic level of the switching control signal output to theanalog switch 17 to L, thereby turning off theanalog switch 17. In addition, when thecontrol unit 12 does not detect a reduction in the voltage at the ID line, it switches the logic level of the switching control signal output to theanalog switch 18 to L, thereby turning off theanalog switch 18. - The following advantages are achieved in the interface system in the embodiment described above.
- (1) The interface system in the first embodiment is configured so that while the
USB device 10 and theUSB host 50 are connected with each other via the USB connectors, power can be supplied from theUSB device 10 to theUSB host 50 through the VBUS line in correspondence to the voltage detected at the ID line. TheUSB device 10 includes theanalog switch 17 through which detection of a change in voltage level at the ID line by thecontrol unit 12 is allowed or disallowed. Thus, as long as the detection of voltage level change at the ID line is disallowed, aUSB device 10 adopting the failsafe structure does not detect a voltage reduction even when an unexpected device becomes connected to theUSB device 10 and the voltage at the ID line becomes lower.
(2) When theanalog switch 17 is in the ON state, the ID line is connected through a pull-up connection to the power source (battery 11) via theresistor 20. When theanalog switch 17 is in the OFF state, however, the ID line is not connected to the power source through the pull-up connection. Consequently, when the detection is not allowed, the ID line, at which the voltage level is neither H level nor L level, can be set to a high impedance state.
(3) In addition, theUSB device 10 in the interface system achieved in the first embodiment includes theFET 14 through which the power line connecting the power source (battery 11) with the VBUS line is turned ON/OFF and theanalog switch 18 through which an ON/OFF changeover at theFET 14 is allowed/disallowed. As a result, as long as the changeover is disallowed, the USB device adopting the failsafe structure does not allow theFET 14 to enter the ON state even if the voltage at the ID line becomes lower.
(4) The switching control signal for theFET 14 is input to the gate terminal of theFET 14 when theanalog switch 18 is in the ON state but the switching control signal is not input when theanalog switch 18 is in the OFF state. As a result, as long as the changeover at theFET 14 is disallowed, theFET 14 is never turned on and thus, the power supply via the VBUS line is disabled with a high level of reliability regardless of what type of switching control signal is generated.
(5) Theanalog switch 18 is switched on only after theanalog switch 17 first enters the ON state and thus, theFET 14 never enters the ON state unless a voltage reduction is detected at the ID line.
(6) When theanalog switch 18 is in the OFF state, theFET 14, too, invariably assumes the OFF state. Namely, theFET 14 is a P-type FET which enters the ON state as the gate terminal becomes grounded. Consequently, whenever power should not be supplied from theUSB device 10 to theUSB host 50, the power supply can be reliably stopped.
(7) Power can be supplied from theUSB device 10 to theUSB host 50 without having to constitute theUSB device 10 as a dual role device, i.e., without having to install a controller or software in compliance with the USB-OTG specification in the USB device. As a result, an inexpensive interface system is realized. -
FIG. 2 illustrates the interface system achieved in the second embodiment of the present invention with aUSB host 60 different from that shown inFIG. 1 connected therein. TheUSB device 10 and theUSB host 60 inFIG. 2 are connected with each other via aUSB cable 65. As in the first embodiment, theUSB device 10 maybe constituted with an electronic camera and theUSB host 60 may be constituted with a wireless LAN module in the example presented inFIG. 2 . TheUSB host 60 in the second embodiment has a function of supplying power to theUSB device 10. - Since the
USB device 10 is similar to that shown inFIG. 1 , its explanation is omitted. It is to be noted thatFIG. 2 does not provide an illustration of the individual components, elements and the like engaged in the photographing processing executed in the camera. TheUSB cable 65 is a directional cable. A connector PL 42 disposed at one end of theUSB cable 65 is a Mini-B type plug (Mini-B plug). The Mini-B plug is a connector used to the “USB device”. TheRC connector RC 11 of the “USB device”, i.e., the Mini-B type receptacle (Mini-B receptacle) is connected to the connector PL 42. - A connector PL 41, disposed at the other end of the
USB cable 65, is an A-type plug (A plug). The A-type plug is a connector to the “USB host”. A connector RC 31 of the “USB host”, i.e., an A-type receptacle (A receptacle) is connected to the connector PL 41. Since the connectors disposed at the two ends of theUSB cable 65 assume different shapes, two “USB hosts” or two “USB devices” are never connected with each other by mistake. - The connector PL 41 is a full-size connector with four pins. The connector FL 42 is a Mini-type connector as explained earlier and includes five pins. Since the connector PL 41 does not include an ID pin, the
USB cable 65 does not include a wiring for ID pin connection and the ID pin of the connector PL 42 is left open-circuited. - The
USB host 60 includes acontrol unit 62, ahost controller 61 and the connector RC 31 (A-type receptacle), with abattery 63 loaded therein. It is to be noted that an illustration of the components, elements and the like in theUSB host 60 engaged in wireless communication processing is not provided. TheUSB host 60 supplies power from thebattery 63 to thehost controller 61 and thecontrol unit 62. - The
control unit 62 includes a microcomputer and controls the operations of the individual components, elements and the like in theUSB host 60. In response to an instruction from thecontrol unit 62, thehost controller 61 executes control so as to enable theUSB host 60 to operate as the “USB host”, Any processing via the bus is invariably triggered by theUSB host 60 under control executed by thehost controller 61. - The connector RC 31 is an A-type receptacle (A-receptacle). The A-receptacle is a connector dedicated to the “USB host”. The connector PL 41 (A plug) of the
USB cable 65 is connected to the connector RC 31. The connector RC 31 includes a VBUS pin corresponding to the VBUS line, a D+ pin corresponding to the D+line, a D− pin corresponding to the D− line and a GND pin corresponding to the GND line. - The
USB device 10 constituting the interface system shown inFIG. 2 is able to engage in operation on the power provided therein (from the battery 11) without having to rely on power supplied from the “USB host” via the VBUS line. - The operational procedure adopted in the interface system achieved in the second embodiment is now explained.
- As in the first embodiment, the
wireless LAN module 60 becomes connected to theUSE device 10 via theUSE cable 65. From the menu screen at theUSB device 10, the wireless LAN module use setting or the wireless LAN module nonuse setting is selected. At theUSB device 10, the wireless LAN module nonuse setting is selected as the default setting. When the wireless LAN module nonuse setting is selected, thecontrol unit 12 sets theanalog switch 17 in the OFF state and thus, theFET 14 remains off with no power from thebattery 11 in theUSE device 10 supplied to the VBUS. As a result, even when thewireless LAN module 60 with thebattery 63 loaded therein is connected with theUSB device 10, i.e., even when thebattery 63 is connected to the VBUS pin of theconnector RC 11 of theUSB device 10, power source interference between thebatteries - As the wireless LAN module use setting is selected in the menu screen, the
analog switch 17 is turned on pulling up the detection port PID and enabling thecontrol unit 12 to detect a voltage change at the voltage detection port PID. In the interface system achieved in the second embodiment, the other end of the ID line at theUSB cable 65 is open-circuited and the voltage at the voltage detection port PID in thecontrol unit 12 remains unchanged regardless of whether theUSB host 60 is connected or disconnected. Consequently, theFET 14 sustains the OFF state, preventing the power source interference between thebatteries - (Variation 1)
- One of or both of the analog switches 17 and 18 may be constituted with a mechanical switch. In such a case, the mechanical switch is turned on when the user allows to use the wireless LAN module with the
USB device 10. If, on the other hand, the user disallows use of the wireless LAN module with theUSB device 10, the mechanical switch is turned off. - (Variation 2)
- Instead of using a signal input from the outside of the
USB device 10 through the ID pin as the switching control signal to be input to the gate terminal of theFET 14, the switching control signal may be generated in thecontrol unit 12. In. such a case, upon detecting a reduction in the voltage level at the XD line applied from the outside of theUSB device 10, thecontrol unit 12 outputs a signal of L level as the switching control signal to be input to the gate terminal of theFET 14. In addition, if a reduction in the voltage level at the ID line is not detected, thecontrol unit 12 outputs a signal of H level as the switching control signal for theFET 14. - (Variation 3)
- While an explanation is given above on an example in which the USB device includes both the
switch 17 and theswitch 18, the USB device may instead include either of theswitches - (Variation 4)
- In the interface system achieved in the first embodiment, power is supplied from the
USB device 10 with thebattery 11 loaded therein to theUSB host 50 into which a battery cannot be loaded. However, the present invention may instead be adopted in an interface system in which power is supplied from a USB host with a battery loaded therein to a USB device into which a battery cannot be loaded. In the latter case, the interface system should adopt a structure that allows power to be supplied through the VBUS line from the USB host to the USB device in correspondence to the voltage at the ID line. - While an explanation is given above on an example in which the
USB device 10 is constituted with an electronic camera, the present invention is not limited to this example and it may be adopted in conjunction with a USB device constituted with a portable electronic device such as a portable telephone or a PDA. - While the
USB host 50 in the description provided above is a wireless LAN module, the present invention may be adopted in conjunction with a USB host constituted with a tuner module, a GPS receiver module or the like, instead. - The above described embodiments are examples, and various modifications can be made without departing from the scope of the invention.
Claims (19)
1. A USB electronic device with a power source loaded therein, which is connected to another USB electronic device via a USB connector, comprising:
a voltage detection unit that detects a voltage at an identification pin of the USB connector;
a power supply control unit that controls connection/disconnection between a power supply pin of the USB connector and the power source based upon a change in voltage at the identification pin detected by the voltage detection unit; and
an allow/disallow control unit that executes control to allow/disallow detection of the voltage change at the identification pin.
2. An electronic device according to claim 1 , wherein:
the allow/disallow control unit includes:
a pull-up circuit and a switch that connects/disconnects the pull-up circuit to/from the identification pin; and
the power supply control unit connects the pull-up circuit to the identification pin when the detection of the voltage change is allowed and disconnects the pull-up circuit from the identification pin when detection of the voltage change is disallowed by controlling changeover at the switch.
3. An electronic device according to claim 2 , further comprising:
a setting operation unit with which a user selects a setting to allow/disallow the detection of a voltage change at the identification pin.
4. A USB electronic device with a power source loaded therein, which is connected to another USB electronic device via a USB connector, comprising:
a voltage detection unit that detects a voltage at an identification pin of the USB connector; and
power supply control unit that controls connection/disconnection between a power supply pin of the USB connector and the power source based upon a voltage change at the identification pin detected by the voltage detection unit, wherein: the power supply control unit includes:
a first switch disposed between the power supply pin and the power source, with which the power supply pin and the power source are connected with each other or disconnected from each other in response to a switching control signal; and
a second switch with which allow/disallow control is executed with regard to changeover at the first switch.
5. An electronic device according to claim 4 , wherein:
when the changeover at the first switch is allowed via the second switch, the switching control signal is applied to the first switch via the second switch, whereas when the changeover at the first switch is disallowed via the second switch, the switching control signal is interrupted from the first switch by the second switch.
6. An electronic device according to claim 5 , wherein:
the second switch is disposed between a switching control terminal of the first switch and the identification pin of the USB connector so as to connect/disconnect the switching control terminal of the first switch to/from the identification pin of the USB connector.
7. An electronic device according to claim 6 , wherein:
the first switch is a semiconductor switching element and the switching control signal is applied to a switching control terminal of the semiconductor switching element, which is turned ON/OFF in correspondence to a voltage level at the identification pin.
8. An electronic device according to claim 7 , wherein:
when the voltage level at the identification pin is low, the semiconductor switching element enters an ON state connecting the power supply pin to the power source.
9. An electronic device according to claim 4 , further comprising:
an allow/disallow control unit that executes control to allow/disallow detection of a voltage change at the identification pin.
10. An electronic device according to claim 9 , wherein:
the allow/disallow control unit includes:
a pull-up circuit; and
a switch that connects/disconnects the pull-up circuit to/from an identification pin; and
the switch connects the pull-up circuit to the identification pin when the detection of the voltage change is allowed and disconnects the pull-up circuit from the identification pin when detection of the voltage change is disallowed.
11. An electronic device according to claim 10 , wherein:
when the changeover at the first switch is allowed by the second switch, the switching control signal is applied to the first switch via the second switch, whereas when the changeover at the first switch is disallowed by the second switch, the switching control signal is interrupted from the first switch by the second switch.
12. An electronic device according to claim 11 , wherein:
the second switch is switched so as to connect/disconnect a switching control terminal of the first switch to/from the identification pin.
13. An electronic device according to claim 12 , wherein:
the first switch is a semiconductor switching element and the second switch is disposed between a control terminal of the semiconductor switching element and the identification pin.
14. An electronic device according to claim 13 , wherein:
the switching control signal corresponds to a voltage level at the identification pin and the semiconductor switching element is turned ON/OFF in correspondence to the voltage level at the identification pin.
15. An electronic device according to claim 14 , wherein:
when the voltage level at the identification pin is low, the semiconductor switching element enters an ON state connecting the power supply pin to the power source.
16. An electronic device according td claim 9 , further comprising:
a setting operation unit with which a user selects a setting to allow/disallow the detection of a voltage change at the identification pin.
17. A USB electronic device that includes a USB device controller and a power source loaded therein, comprising:
a USB connector at which an electronic device equipped with a USB host controller is connected;
a voltage detection unit that detects a voltage at an identification pin of the USB connector;
a first switch that connects/disconnects a power supply pin of the USB connector to/from the power source;
a detection unit that detects a voltage change at the identification pin detected via the voltage detection unit;
a second switch disposed between a switching control terminal of the first switch and the identification pin;
an allow/disallow control unit that executes control to allow/disallow detection of a voltage change by the detection unit; and
a switching control unit that executes switching control for the second switch so as to connect the identification pin to the switching control terminal of the first switch when the detection of the voltage change by the detection unit is allowed by the allow/disallow control unit and the voltage change is detected by the detection unit.
18. An electronic device according to claim 17 , further comprising:
a setting operation unit with which a user selects a setting to allow/disallow the detection of a voltage change at the identification pin.
19. An electronic device according to claim 18 , wherein:
the allow/disallow control unit includes:
a pull-up circuit and a switch that connects/disconnects the pull-up circuit to/from an identification pin; and
the switch connects the pull-up circuit to the identification pin when a setting for allowing detection of a voltage change is selected via the setting operation unit and disconnects the pull-up circuit from the identification pin when detection of the voltage change is disallowed.
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
US13/252,514 US20120030485A1 (en) | 2006-12-25 | 2011-10-04 | Electronic device |
US13/523,168 US8539266B2 (en) | 2006-12-25 | 2012-06-14 | Electronic device |
Applications Claiming Priority (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2006-347361 | 2006-12-25 | ||
JP2006347361A JP4961999B2 (en) | 2006-12-25 | 2006-12-25 | Electronics |
Related Child Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/252,514 Continuation US20120030485A1 (en) | 2006-12-25 | 2011-10-04 | Electronic device |
Publications (1)
Publication Number | Publication Date |
---|---|
US20080150512A1 true US20080150512A1 (en) | 2008-06-26 |
Family
ID=39541869
Family Applications (3)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US12/000,762 Abandoned US20080150512A1 (en) | 2006-12-25 | 2007-12-17 | Electronic device |
US13/252,514 Abandoned US20120030485A1 (en) | 2006-12-25 | 2011-10-04 | Electronic device |
US13/523,168 Active US8539266B2 (en) | 2006-12-25 | 2012-06-14 | Electronic device |
Family Applications After (2)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
US13/252,514 Abandoned US20120030485A1 (en) | 2006-12-25 | 2011-10-04 | Electronic device |
US13/523,168 Active US8539266B2 (en) | 2006-12-25 | 2012-06-14 | Electronic device |
Country Status (2)
Country | Link |
---|---|
US (3) | US20080150512A1 (en) |
JP (1) | JP4961999B2 (en) |
Cited By (26)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20110099300A1 (en) * | 2009-10-27 | 2011-04-28 | Fairchild Semiconductor Corporation | Camera shutter control through a usb port or audio/video port |
US20110099298A1 (en) * | 2009-10-27 | 2011-04-28 | Fairchild Semiconductor Corporation | Method of detecting accessories on an audio jack |
US20120071095A1 (en) * | 2010-02-03 | 2012-03-22 | Lm Technologies Ltd | Device Arranged To Use An Electromagnetic Link To Replicate A Serial Port |
US8156349B2 (en) * | 2006-12-05 | 2012-04-10 | Nikon Corporation | Electronic device and interface system |
US20120198183A1 (en) * | 2011-01-28 | 2012-08-02 | Randall Wetzel | Successive approximation resistor detection |
CN103135739A (en) * | 2011-11-30 | 2013-06-05 | 纬创资通股份有限公司 | Power consumption control method of electronic system and related electronic system |
US20130159559A1 (en) * | 2011-12-15 | 2013-06-20 | Motorola Mobility, Inc. | Customizing and/or multiplexing universal serial bus pins |
US8539266B2 (en) | 2006-12-25 | 2013-09-17 | Nikon Corporation | Electronic device |
US20140049112A1 (en) * | 2012-08-20 | 2014-02-20 | Quanta Computer Inc. | Electronic device with connection interface supporting signal communication and charging operation |
US8817994B2 (en) | 2010-07-23 | 2014-08-26 | Fairchild Semiconductor Corporation | Audio jack reset |
CN104320115A (en) * | 2014-11-06 | 2015-01-28 | 贸联电子(昆山)有限公司 | USB OTG module |
CN104615569A (en) * | 2014-12-31 | 2015-05-13 | 小米科技有限责任公司 | Electronic equipment and data transmission system |
US9047073B2 (en) | 2011-02-14 | 2015-06-02 | Nikon Corporation | System method for detecting a type of device wherein a potential level of the device determines if power should be supplied based on the type of the device |
US9060228B2 (en) | 2012-08-03 | 2015-06-16 | Fairchild Semiconductor Corporation | Accessory detection circuit with improved functionality |
CN105095137A (en) * | 2014-05-05 | 2015-11-25 | 新唐科技股份有限公司 | Control chip and connection module |
CN105228044A (en) * | 2015-09-28 | 2016-01-06 | 惠州Tcl移动通信有限公司 | A kind of harmless tonequality earphone |
US9294857B2 (en) | 2011-07-22 | 2016-03-22 | Fairchild Semiconductor Corporation | Detection and GSM noise filtering |
US20160233624A1 (en) * | 2015-02-09 | 2016-08-11 | Hong Fu Jin Precision Industry (Wuhan) Co., Ltd. | Electronic device and charging interface |
EP3128435A3 (en) * | 2015-08-07 | 2017-02-22 | Xiaomi Inc. | Interface circuit, method and device for state switching |
CN106684955A (en) * | 2015-11-11 | 2017-05-17 | 小米科技有限责任公司 | Charger, electronic equipment and charging method |
CN107113181A (en) * | 2015-10-02 | 2017-08-29 | 倍福自动化有限公司 | Input/output module for bus system |
US20170338597A1 (en) * | 2016-11-22 | 2017-11-23 | Haoxiang Electric Energy (Kunshan) Co., Ltd. | Power communication electrical connector |
US20180019681A1 (en) * | 2016-07-12 | 2018-01-18 | Thomson Licensing | Galvanic isolated device and corresponding method and system |
RU2649971C1 (en) * | 2015-12-21 | 2018-04-06 | Сяоми Инк. | Method and device for state switching |
US20180210854A1 (en) * | 2015-10-02 | 2018-07-26 | Beckhoff Automation Gmbh | Bus system |
CN108628787A (en) * | 2017-03-22 | 2018-10-09 | 鸿富锦精密工业(武汉)有限公司 | Interface control circuit |
Families Citing this family (23)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP2390969A1 (en) * | 2010-05-26 | 2011-11-30 | Samsung Electronics Co., Ltd. | Connector and interface device |
EP2609513A1 (en) * | 2010-08-24 | 2013-07-03 | Marvell World Trade Ltd. | Device interface and apparatus |
JP5293756B2 (en) * | 2011-02-14 | 2013-09-18 | 株式会社ニコン | Interface system and dual-role device |
JP5382045B2 (en) * | 2011-03-31 | 2014-01-08 | 株式会社ニコン | Electronic device, electronic device system and program |
US8788852B2 (en) * | 2011-07-01 | 2014-07-22 | Intel Corporation | System and method for providing power through a reverse local data transfer connection |
JP2013090006A (en) | 2011-10-13 | 2013-05-13 | Nikon Corp | Electronic apparatus and program |
WO2013168289A1 (en) * | 2012-05-11 | 2013-11-14 | 富士通株式会社 | Electronic device and control method therefor |
US9497544B2 (en) | 2012-07-02 | 2016-11-15 | Qualcomm Incorporated | Systems and methods for surround sound echo reduction |
KR102158288B1 (en) * | 2012-07-09 | 2020-09-21 | 삼성전자주식회사 | Method for charging battery and an electronic device thereof |
KR102044898B1 (en) * | 2012-12-03 | 2019-11-14 | 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. | Method for sensing connection of USB device and image forming apparatus performing the same |
TWI501085B (en) * | 2013-05-17 | 2015-09-21 | Primax Electronics Ltd | Usb interface detection device |
KR20150006559A (en) * | 2013-07-09 | 2015-01-19 | 삼성전자주식회사 | Universal serial bus apparatus and electric device including the universal serial bus apparatus |
US9507398B2 (en) * | 2014-02-28 | 2016-11-29 | Infineon Technologies Austria Ag | Communication over identification line |
JP5986145B2 (en) * | 2014-07-02 | 2016-09-06 | レノボ・シンガポール・プライベート・リミテッド | Portable devices, cable assemblies and USB systems |
JP6434630B2 (en) * | 2014-12-25 | 2018-12-05 | 華為技術有限公司Huawei Technologies Co.,Ltd. | USB OTG device identification system and apparatus |
US9984030B2 (en) | 2014-12-31 | 2018-05-29 | Xiaomi Inc. | Electronic device and data transmission system |
KR102386551B1 (en) * | 2015-07-27 | 2022-04-15 | 삼성전자주식회사 | Connecting Device and Method for Recognizing Device |
JP6021208B1 (en) * | 2015-10-29 | 2016-11-09 | Necプラットフォームズ株式会社 | Incorrect connection prevention device and erroneous connection prevention method |
JP6661342B2 (en) * | 2015-11-26 | 2020-03-11 | Dynabook株式会社 | Port connection circuit, port connection control method, electronic equipment |
JP6878102B2 (en) * | 2017-04-07 | 2021-05-26 | キヤノン株式会社 | Electronic devices and their control methods |
US10837934B2 (en) | 2018-03-28 | 2020-11-17 | Samsung Electronics Co., Ltd. | Water detection circuit, electronic device including the same, and water detection method |
WO2019233389A1 (en) * | 2018-06-04 | 2019-12-12 | 惠州市睿普斯林智能科技有限公司 | Sofa usb socket |
US11777237B1 (en) * | 2022-05-24 | 2023-10-03 | Inventus Power, Inc. | Disconnecting power from external USB connectors of conformable wearable battery packs in the presence of conducting fluids |
Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6963933B2 (en) * | 2002-08-30 | 2005-11-08 | Seiko Epson Corporation | Data transfer control device, electronic equipment, and power supply switching method |
Family Cites Families (21)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
JPS5396423A (en) * | 1977-02-01 | 1978-08-23 | Mitsubishi Electric Corp | Control system for induction motor |
US6072304A (en) * | 1999-07-21 | 2000-06-06 | Regent Lighting Corporation | Circuit and method for triggering a thyristor |
US7028126B1 (en) * | 2000-09-21 | 2006-04-11 | Ping Liang | Universal serial bus for mobile devices having expansion modules |
JP3558059B2 (en) | 2001-08-10 | 2004-08-25 | セイコーエプソン株式会社 | Power supply control circuit and electronic equipment |
AU2003282290A1 (en) * | 2002-10-18 | 2004-05-04 | Thomson Licensing S.A. | Bus controlled power switch |
JP3959374B2 (en) * | 2003-06-30 | 2007-08-15 | Tdk株式会社 | USB interface system |
US20050036034A1 (en) * | 2003-08-15 | 2005-02-17 | Rea David D. | Apparatus for communicating over a network images captured by a digital camera |
JP4504666B2 (en) * | 2003-12-09 | 2010-07-14 | 株式会社アイ・オー・データ機器 | Peripheral device and reconnection program |
JP2006001063A (en) * | 2004-06-16 | 2006-01-05 | Fuji Photo Film Co Ltd | Direct print system |
JP2006018466A (en) * | 2004-06-30 | 2006-01-19 | Canon Inc | Electronic apparatus and power supply control method therefor |
JP2006099354A (en) * | 2004-09-29 | 2006-04-13 | Matsushita Electric Ind Co Ltd | Data transfer control device and data transfer control method |
US7343147B2 (en) * | 2005-04-04 | 2008-03-11 | Freescale Semiconductor, Inc. | Method and apparatus for powering and loading software into a battery-less electronic device |
JP2007043490A (en) * | 2005-08-03 | 2007-02-15 | Canon Inc | Camera cradle apparatus and its system |
TWI383289B (en) * | 2005-09-05 | 2013-01-21 | Hon Hai Prec Ind Co Ltd | Controller and method for on-off switching of power supply |
US7589536B2 (en) * | 2007-01-05 | 2009-09-15 | Apple Inc. | Systems and methods for determining the configuration of electronic connections |
US8035368B2 (en) * | 2006-02-13 | 2011-10-11 | Freescale Semiconductor, Inc. | Integrated circuit, universal serial bus on-the-go power source and methods for use therewith |
US7899418B2 (en) * | 2006-02-22 | 2011-03-01 | Fujifilm Corporation | Mobile device and wireless communication apparatus |
JP4961999B2 (en) | 2006-12-25 | 2012-06-27 | 株式会社ニコン | Electronics |
US20080265838A1 (en) * | 2007-04-24 | 2008-10-30 | Saurabh Garg | Battery charging using a USB-ID pin of a USB interface |
CN101861574B (en) * | 2007-11-15 | 2013-09-18 | 诺基亚公司 | Device and method for power connection between serial interfaces |
US8230126B2 (en) * | 2009-10-27 | 2012-07-24 | Fairchild Semiconductor Corporation | Camera shutter control through a USB port or audio/video port |
-
2006
- 2006-12-25 JP JP2006347361A patent/JP4961999B2/en active Active
-
2007
- 2007-12-17 US US12/000,762 patent/US20080150512A1/en not_active Abandoned
-
2011
- 2011-10-04 US US13/252,514 patent/US20120030485A1/en not_active Abandoned
-
2012
- 2012-06-14 US US13/523,168 patent/US8539266B2/en active Active
Patent Citations (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6963933B2 (en) * | 2002-08-30 | 2005-11-08 | Seiko Epson Corporation | Data transfer control device, electronic equipment, and power supply switching method |
Cited By (49)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US8156349B2 (en) * | 2006-12-05 | 2012-04-10 | Nikon Corporation | Electronic device and interface system |
US8539266B2 (en) | 2006-12-25 | 2013-09-17 | Nikon Corporation | Electronic device |
CN104699636A (en) * | 2009-10-27 | 2015-06-10 | 飞兆半导体公司 | Self-configuration device and method for automatically configuring electronic device |
CN102056072A (en) * | 2009-10-27 | 2011-05-11 | 飞兆半导体公司 | Method of detecting accessories on an audio jack |
US8230126B2 (en) * | 2009-10-27 | 2012-07-24 | Fairchild Semiconductor Corporation | Camera shutter control through a USB port or audio/video port |
US20110099300A1 (en) * | 2009-10-27 | 2011-04-28 | Fairchild Semiconductor Corporation | Camera shutter control through a usb port or audio/video port |
US8244927B2 (en) * | 2009-10-27 | 2012-08-14 | Fairchild Semiconductor Corporation | Method of detecting accessories on an audio jack |
CN104699637A (en) * | 2009-10-27 | 2015-06-10 | 飞兆半导体公司 | Method of detecting accessories on an audio jack |
US8914552B2 (en) | 2009-10-27 | 2014-12-16 | Fairchild Semiconductor Corporation | Detecting accessories on an audio or video jack |
US8489782B2 (en) | 2009-10-27 | 2013-07-16 | Fairchild Semiconductor Corporation | Detecting accessories on an audio or video jack |
US20110099298A1 (en) * | 2009-10-27 | 2011-04-28 | Fairchild Semiconductor Corporation | Method of detecting accessories on an audio jack |
US20120071095A1 (en) * | 2010-02-03 | 2012-03-22 | Lm Technologies Ltd | Device Arranged To Use An Electromagnetic Link To Replicate A Serial Port |
US8817994B2 (en) | 2010-07-23 | 2014-08-26 | Fairchild Semiconductor Corporation | Audio jack reset |
US8831234B2 (en) | 2010-07-23 | 2014-09-09 | Fairchild Semiconductor Corporation | Audio jack detection and configuration |
US20120198183A1 (en) * | 2011-01-28 | 2012-08-02 | Randall Wetzel | Successive approximation resistor detection |
CN102680794A (en) * | 2011-01-28 | 2012-09-19 | 快捷半导体(苏州)有限公司 | Resistor detection apparatus, resistor detection method and self-configuration system |
US9229833B2 (en) * | 2011-01-28 | 2016-01-05 | Fairchild Semiconductor Corporation | Successive approximation resistor detection |
US9047073B2 (en) | 2011-02-14 | 2015-06-02 | Nikon Corporation | System method for detecting a type of device wherein a potential level of the device determines if power should be supplied based on the type of the device |
US9591421B2 (en) | 2011-07-22 | 2017-03-07 | Fairchild Semiconductor Corporation | Audio jack detection circuit |
US9497559B2 (en) | 2011-07-22 | 2016-11-15 | Fairchild Semiconductor Corporation | MIC/GND detection and automatic switch |
US9432786B2 (en) | 2011-07-22 | 2016-08-30 | Fairchild Semiconductor Corporation | MIC audio noise filtering |
US9294857B2 (en) | 2011-07-22 | 2016-03-22 | Fairchild Semiconductor Corporation | Detection and GSM noise filtering |
CN103135739A (en) * | 2011-11-30 | 2013-06-05 | 纬创资通股份有限公司 | Power consumption control method of electronic system and related electronic system |
US20130159559A1 (en) * | 2011-12-15 | 2013-06-20 | Motorola Mobility, Inc. | Customizing and/or multiplexing universal serial bus pins |
US9060228B2 (en) | 2012-08-03 | 2015-06-16 | Fairchild Semiconductor Corporation | Accessory detection circuit with improved functionality |
US9225200B2 (en) * | 2012-08-20 | 2015-12-29 | Quanta Computer Inc. | Electronic device with connection interface supporting signal communication and charging operation |
US20140049112A1 (en) * | 2012-08-20 | 2014-02-20 | Quanta Computer Inc. | Electronic device with connection interface supporting signal communication and charging operation |
CN105095137A (en) * | 2014-05-05 | 2015-11-25 | 新唐科技股份有限公司 | Control chip and connection module |
CN104320115A (en) * | 2014-11-06 | 2015-01-28 | 贸联电子(昆山)有限公司 | USB OTG module |
RU2625442C2 (en) * | 2014-12-31 | 2017-07-13 | Сяоми Инк. | Electronic device and data transmission system |
CN104615569A (en) * | 2014-12-31 | 2015-05-13 | 小米科技有限责任公司 | Electronic equipment and data transmission system |
JP2017505502A (en) * | 2014-12-31 | 2017-02-16 | シャオミ・インコーポレイテッド | Electronic device and data transmission system |
EP3040872A1 (en) * | 2014-12-31 | 2016-07-06 | Xiaomi Inc. | Electronic device and data transmission system |
US20160233624A1 (en) * | 2015-02-09 | 2016-08-11 | Hong Fu Jin Precision Industry (Wuhan) Co., Ltd. | Electronic device and charging interface |
US9722444B2 (en) * | 2015-02-09 | 2017-08-01 | Hong Fu Jin Precision Industry (Wuhan) Co., Ltd. | Electronic device and charging interface |
EP3128435A3 (en) * | 2015-08-07 | 2017-02-22 | Xiaomi Inc. | Interface circuit, method and device for state switching |
US10210122B2 (en) | 2015-08-07 | 2019-02-19 | Xiaomi Inc. | Interface circuit, method and device for state switching |
CN105228044A (en) * | 2015-09-28 | 2016-01-06 | 惠州Tcl移动通信有限公司 | A kind of harmless tonequality earphone |
CN107113181A (en) * | 2015-10-02 | 2017-08-29 | 倍福自动化有限公司 | Input/output module for bus system |
US20180210854A1 (en) * | 2015-10-02 | 2018-07-26 | Beckhoff Automation Gmbh | Bus system |
US10572428B2 (en) * | 2015-10-02 | 2020-02-25 | Beckhoff Automation Gmbh | Bus system |
US10614013B2 (en) * | 2015-10-02 | 2020-04-07 | Beckhoff Automation Gmbh | Input/output module for a bus system |
CN106684955A (en) * | 2015-11-11 | 2017-05-17 | 小米科技有限责任公司 | Charger, electronic equipment and charging method |
RU2649971C1 (en) * | 2015-12-21 | 2018-04-06 | Сяоми Инк. | Method and device for state switching |
US10572424B2 (en) | 2015-12-21 | 2020-02-25 | Xiaomi Inc. | Method and apparatus for switching state |
US20180019681A1 (en) * | 2016-07-12 | 2018-01-18 | Thomson Licensing | Galvanic isolated device and corresponding method and system |
US20170338597A1 (en) * | 2016-11-22 | 2017-11-23 | Haoxiang Electric Energy (Kunshan) Co., Ltd. | Power communication electrical connector |
US10573999B2 (en) * | 2016-11-22 | 2020-02-25 | Haoxiang Electric Energy (Kunshan) Co., Ltd. | Power communication electrical connector |
CN108628787A (en) * | 2017-03-22 | 2018-10-09 | 鸿富锦精密工业(武汉)有限公司 | Interface control circuit |
Also Published As
Publication number | Publication date |
---|---|
US8539266B2 (en) | 2013-09-17 |
US20120254638A1 (en) | 2012-10-04 |
US20120030485A1 (en) | 2012-02-02 |
JP2008158840A (en) | 2008-07-10 |
JP4961999B2 (en) | 2012-06-27 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8539266B2 (en) | Electronic device | |
US8156349B2 (en) | Electronic device and interface system | |
KR100775992B1 (en) | Device operable as a host | |
US8898363B2 (en) | Multiple connections to a single serial interface | |
US9356460B2 (en) | Method and apparatus of fast battery charging with universal high power input source | |
US7356715B2 (en) | Device that provides power to a host via a Mini-B interface upon detection of a predetermined voltage | |
US7085876B2 (en) | USB controlling apparatus for data transfer between computers and method for the same | |
US10866920B2 (en) | Method and device for adjusting signal transmission direction in bidirectional ReDriver IC chip | |
USRE43752E1 (en) | USB (universal serial bus) interface allowing a maximum load value of 2 amperes and switching the USB interface to a disconnected state when the load value exceeds 2 amperes | |
US5802328A (en) | Apparatus for detecting correct insertion of a PC card in an information processing system | |
US20180181177A1 (en) | Electronic apparatus and method for controlling the same | |
US20160004650A1 (en) | Portable device, cable assembly, and usb system | |
US20210109580A1 (en) | Usb device and operation method thereof | |
US20080082842A1 (en) | Power supply control circuit of subsystem and subsystem | |
US20090037622A1 (en) | Method and system for changing operation modes of an interface device | |
WO2017063459A1 (en) | Usb control apparatus and device | |
CN110247264B (en) | Connector and method for controlling charging by using connector | |
US20080012524A1 (en) | Chargeable electronic devices and direct current voltage supply systems | |
US7028126B1 (en) | Universal serial bus for mobile devices having expansion modules | |
KR20010015076A (en) | Signal input and output apparatus | |
JP2002116853A (en) | Usb mounted electronic equipment and use cable to be used therefor | |
WO1994008305A1 (en) | Automatic disabling of termination of a digital computer bus | |
JP2007102444A (en) | Electronic equipment, method for controlling electronic equipment and control program | |
JP2001306413A (en) | Usb communication device | |
US11322970B2 (en) | Device with power-off charging capability |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
AS | Assignment |
Owner name: NIKON CORPORATION, JAPAN Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNOR:KAWANO, TAKESHI;REEL/FRAME:020315/0782 Effective date: 20071213 |
|
STCB | Information on status: application discontinuation |
Free format text: ABANDONED -- FAILURE TO RESPOND TO AN OFFICE ACTION |