JP2001177543A - Device and system for bus connection - Google Patents

Device and system for bus connection

Info

Publication number
JP2001177543A
JP2001177543A JP35735799A JP35735799A JP2001177543A JP 2001177543 A JP2001177543 A JP 2001177543A JP 35735799 A JP35735799 A JP 35735799A JP 35735799 A JP35735799 A JP 35735799A JP 2001177543 A JP2001177543 A JP 2001177543A
Authority
JP
Japan
Prior art keywords
usb
bus
connection
recognized
another
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.)
Pending
Application number
JP35735799A
Other languages
Japanese (ja)
Inventor
Hiroshi Kume
宏 久米
Jinko Handa
仁孝 半田
Kazunari Takemura
和斉 竹村
Sunao Yamamoto
直 山本
Izumi Shimosako
泉 下迫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Onkyo Corp
Original Assignee
Onkyo Corp
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Onkyo Corp filed Critical Onkyo Corp
Priority to JP35735799A priority Critical patent/JP2001177543A/en
Publication of JP2001177543A publication Critical patent/JP2001177543A/en
Pending legal-status Critical Current

Links

Landscapes

  • Bus Control (AREA)
  • Small-Scale Networks (AREA)

Abstract

PROBLEM TO BE SOLVED: To provide a bus connection device capable of easily performing device recognition processing and a device connection system. SOLUTION: A connect detection part 26 detects whether or not USB peripheral equipment 20 is connected to an upstream side device by detecting the potential of the Vbus terminal 241 of an up port 24. A recognition detecting part 28 detects whether or not the equipment 20 is recognized by the upstream side device on the basis of data from the upstream side device, given from through a D positive terminal 24b and D negative terminal 24c. A switch part 32 substantially connects/disconnects the D positive terminal 24b, the D negative terminal 24c and a downstream side USB controller 22 by electronic switching processing. A switch controlling part 34 controls so as to perform processing that substantially disconnects the part 32 and subsequently resumes the part 32 to a connected state, when USB peripheral equipment 20 is decided as not recognized of the connection, on the basis of information obtained from both the detecting part 26 and 28 even though the equipment 20 is connected to the upstream side device.

Description

【発明の詳細な説明】DETAILED DESCRIPTION OF THE INVENTION

【0001】[0001]

【発明の技術分野】この発明はバス接続機器等に関し、
特にバスラインを介して他のバス接続機器に接続可能で
かつバスラインを介して他のバス接続機器に認識可能に
構成されたバス接続機器等に関する。
BACKGROUND OF THE INVENTION 1. Field of the Invention The present invention relates to a bus connection device and the like.
In particular, the present invention relates to a bus connection device configured to be connectable to another bus connection device via a bus line and to be recognized by the other bus connection device via the bus line.

【0002】[0002]

【従来の技術】コンピュータ(とくに、パーソナルコン
ピュータ)におけるシリアル接続の規格としてUSB(ユ
ニバーサル シリアル バス、Universal Serial Bus)が
知られている。USB規格を用いて、たとえば、パーソ
ナルコンピュータと周辺機器とを接続することができ
る。
2. Description of the Related Art USB (Universal Serial Bus) is known as a standard for serial connection in computers (especially personal computers). Using the USB standard, for example, a personal computer and a peripheral device can be connected.

【0003】図5に、従来におけるパーソナルコンピュ
ータなどのUSBホスト機器(またはUSBハブ、以下
同様)2と、キーボードなどのUSB周辺機器8との接
続状態を説明するための図面を示す。
FIG. 5 is a drawing for explaining a conventional connection state between a USB host device (or USB hub, hereinafter the same) 2 such as a personal computer and a USB peripheral device 8 such as a keyboard.

【0004】USBホスト機器2は、上流側USBコン
トローラ4と、ダウン(down)ポート6を備えている。
USB周辺機器8は、下流側USBコントローラ10
と、アップ(up)ポート12を備えている。
[0004] The USB host device 2 has an upstream USB controller 4 and a down port 6.
The USB peripheral device 8 includes a downstream USB controller 10.
And an up port 12.

【0005】USBホスト機器2のダウンポート6とU
SB周辺機器8のアップポート12とは、USBケーブ
ル14により接続される。USBケーブル14の両端
は、ダウンポート6およびアップポート12に対し、接
続・取り外し可能なコネクタ形状(図示せず)に形成さ
れている。
The down port 6 of the USB host device 2 and the U
The up port 12 of the SB peripheral device 8 is connected by a USB cable 14. Both ends of the USB cable 14 are formed in a connector shape (not shown) that can be connected to and detached from the down port 6 and the up port 12.

【0006】USBケーブル14を用いてUSBホスト
機器2とUSB周辺機器8とを接続すると、USBケー
ブル14を介して、USBホスト機器2の上流側USB
コントローラ4とUSB周辺機器8の下流側USBコン
トローラ10との間で、機器認識のための通信が行われ
る。
[0006] When the USB host device 2 and the USB peripheral device 8 are connected using the USB cable 14, the upstream USB of the USB host device 2 is connected via the USB cable 14.
Communication for device recognition is performed between the controller 4 and the downstream USB controller 10 of the USB peripheral device 8.

【0007】この通信によって、USBホスト機器2
は、USB周辺機器8がどのような種類の機器であるか
を自動的に認識する。この作業が完了すると、USBホ
スト機器2とUSB周辺機器8との間で通常のデータ通
信が可能となる。
[0007] By this communication, the USB host device 2
Automatically recognizes what kind of device the USB peripheral device 8 is. When this operation is completed, normal data communication between the USB host device 2 and the USB peripheral device 8 becomes possible.

【0008】このように、USBを用いれば、コンピュ
ータに設けた共通のポートに、種々の周辺機器を区別す
ることなく接続することができるため、便利である。ま
た、ハブを介して多数の周辺機器を一台のコンピュータ
に接続することもできる。さらに、コンピュータを再起
動することなく周辺機器を取り外したり、再接続したり
することができ、好都合である。
As described above, the use of the USB is convenient because various peripheral devices can be connected to a common port provided in a computer without distinction. Also, many peripheral devices can be connected to one computer via a hub. In addition, peripherals can be disconnected and reconnected without restarting the computer, which is advantageous.

【0009】[0009]

【発明が解決しようとする課題】しかしながら、従来の
USB接続には、次のような問題があった。従来のUS
B接続において、USBケーブル14と各ポート6,1
2との物理的な接続は問題ないのに、通信タイミングの
微妙なずれ、外来ノイズの存在などにより、機器認識処
理が正常に完了しないという問題がしばしば生じてい
た。このような場合、USB周辺機器8がどのような種
類の機器であるかがUSBホスト機器2に認識されてい
ないため、両者間での通常のデータ通信を行うことがで
きない。
However, the conventional USB connection has the following problems. Conventional US
In the B connection, the USB cable 14 and each port 6,1
Although there is no problem in the physical connection with the device 2, the device recognition process is often not completed normally due to a slight shift in communication timing, the presence of external noise, and the like. In such a case, since the USB host device 2 does not recognize what kind of device the USB peripheral device 8 is, normal data communication between the two cannot be performed.

【0010】このような場合、USBケーブル14のコ
ネクタをいったんダウンポート6またはアップポート1
2から抜き取り、再び差し込むことにより機器認識処理
が正常に行われることがある。しかしながら、これで
は、作業が煩雑になる。とくに、各ポート6,12が機
器の裏側にある場合には、コネクタの抜き差しが困難と
なる。さらに、必要以上にコネクタの抜き取り・差し込
み回数が増えるため、コネクタや各ポート6,12を損
傷してしまうおそれがある。
In such a case, the connector of the USB cable 14 is once connected to the down port 6 or the up port 1.
2 and then reinserted, the device recognition process may be performed normally. However, this complicates the operation. In particular, when the ports 6 and 12 are located on the back side of the device, it becomes difficult to connect and disconnect the connector. Further, since the number of times of removing and inserting the connector is increased more than necessary, the connector and each of the ports 6 and 12 may be damaged.

【0011】この発明は上記のような問題点を解決し、
機器認識処理を容易に行うことのできるバス接続機器お
よび機器接続システムを提供することを目的とする。
The present invention solves the above problems,
An object of the present invention is to provide a bus connection device and a device connection system that can easily perform device recognition processing.

【0012】[0012]

【発明の作用および効果】請求項1のバス接続機器にお
いては、当該バス接続機器がバスラインを介して他のバ
ス接続機器に接続されたか否かを検出する接続検出手段
と、当該バス接続機器がバスラインを介して他のバス接
続機器に認識されたか否かを検出する認識検出手段と、
接続検出手段および認識検出手段から得られた情報に基
づいて、当該バス接続機器が他のバス接続機器に接続さ
れかつ認識されたと判断した場合には、他のバス接続機
器と当該バス接続機器との接続状態を維持し、当該バス
接続機器が他のバス接続機器に接続されているにもかか
わらず認識されなかったと判断した場合には、他のバス
接続機器と当該バス接続機器とをいったん実質的に非接
続状態とした後再び接続状態に戻す電気的なスイッチン
グ処理を行う判断スイッチング手段と、を備えたことを
特徴とする。
According to the first aspect of the present invention, there is provided a bus connection device, comprising: connection detection means for detecting whether the bus connection device is connected to another bus connection device via a bus line; Recognition detection means for detecting whether or not is recognized by another bus connection device via the bus line,
Based on the information obtained from the connection detecting means and the recognition detecting means, when it is determined that the bus-connected device is connected to another bus-connected device and recognized, the other bus-connected device and the bus-connected device If it is determined that the bus connection device is not recognized even though it is connected to another bus connection device, the other bus connection device and the bus connection device are temporarily connected. And a determination switching means for performing an electrical switching process for returning to the connection state after the connection state is temporarily disconnected.

【0013】したがって、判断スイッチング手段は、当
該バス接続機器が他のバス接続機器に接続されているに
もかかわらず認識されなかったと判断した場合には、自
動的に、他のバス接続機器と当該バス接続機器とをいっ
たん実質的に非接続状態とした後再び接続状態に戻す電
気的なスイッチング処理を行う。このため、コネクタを
抜き差しするなどすることなく、機器認識処理を容易に
行うことができる。
Therefore, when the judgment switching means judges that the bus connection device is not recognized despite being connected to the other bus connection device, the judgment switching means automatically connects the other bus connection device to the other bus connection device. An electrical switching process is performed in which the connection with the bus connection device is temporarily disconnected and then returned to the connection state again. For this reason, the device recognition process can be easily performed without disconnecting or connecting the connector.

【0014】請求項2のバス接続機器においては、バス
ラインは、他のバス接続機器の電源に接続されるべきラ
インを含み、接続検出手段は、当該ラインの電位を検出
することにより当該バス接続機器がバスラインを介して
他のバス接続機器に接続されたか否かを検出することを
特徴とする。
According to a second aspect of the present invention, the bus line includes a line to be connected to a power supply of another bus connecting device, and the connection detecting means detects the potential of the line to connect the bus. It is characterized in that it is detected whether or not the device is connected to another bus-connected device via a bus line.

【0015】したがって、外来ノイズなどの影響を受け
にくい当該ラインの電位を検出することで、バス接続機
器がバスラインを介して他のバス接続機器に接続された
か否かを容易かつ確実に検出することができる。
Therefore, by detecting the potential of the line which is not easily affected by external noise or the like, it is possible to easily and surely detect whether or not the bus connection device is connected to another bus connection device via the bus line. be able to.

【0016】請求項3のバス接続機器においては、バス
ラインは、バス接続機器間でデータ通信を行うためのラ
インを含み、認識検出手段は、当該ラインを介して与え
られるデータに基づいて当該バス接続機器が他のバス接
続機器に認識されたか否かを検出することを特徴とす
る。
According to a third aspect of the present invention, the bus line includes a line for performing data communication between the bus-connected devices, and the recognition detecting means determines the bus based on data given through the line. It is characterized in that it is detected whether or not the connected device is recognized by another bus connected device.

【0017】したがって、データ通信を行うための既存
のラインを利用して、当該バス接続機器が他のバス接続
機器に認識されたか否かを容易に検出することができ
る。
Therefore, it is possible to easily detect whether or not the bus-connected device has been recognized by another bus-connected device by using an existing line for performing data communication.

【0018】請求項4のバス接続機器においては、判断
スイッチング手段は、データ通信を行うためのラインを
強制的に所定電位に固定するか否かにより、バスライン
と当該バス接続機器とを実質的に非接続状態とするか接
続状態とするかを切り換えるスイッチ手段と、接続検出
手段および認識検出手段から得られた情報に基づいて、
スイッチ手段の切り替えを行うよう制御するスイッチ制
御手段と、を備えたことを特徴とする。
According to a fourth aspect of the present invention, the decision switching means substantially connects the bus line and the bus connection device depending on whether the line for performing data communication is forcibly fixed to a predetermined potential. A switch means for switching between a non-connected state and a connected state, and based on information obtained from the connection detecting means and the recognition detecting means,
Switch control means for controlling switching of the switch means.

【0019】したがって、データ通信を行うためのライ
ンを強制的に所定電位に固定するか否かという単純な方
法を用いて、容易にバスラインと当該バス接続機器とを
実質的に非接続状態としたり接続状態としたりすること
ができる。
Therefore, the bus line and the bus connection device can be easily disconnected from each other by using a simple method of forcibly fixing a line for performing data communication to a predetermined potential. Or in a connected state.

【0020】請求項5のUSB機器においては、上流側
ポートの電源端子の電位を検出することにより当該US
B機器が他のUSB機器に接続されたか否かを検出する
コネクト検出部と、上流側ポートのデータ端子を介して
与えられる他のUSB機器からのデータに基づいて当該
USB機器が他のUSB機器に認識されたか否かを検出
する認識検出部と、上流側ポートのデータ端子を強制的
に所定電位に固定するか否かにより、他のUSB機器と
下流側USBコントローラとを実質的に継断するスイッ
チ部と、コネクト検出部および認識検出部から得られた
情報に基づいて、当該USB機器が他のUSB機器に接
続されかつ認識されたと判断した場合には、スイッチ部
の継状態を維持し、当該USB機器が他のUSB機器に
接続されているにもかかわらず認識されなかったと判断
した場合には、スイッチ部をいったん実質的に断状態と
した後再び継状態に戻す処理を行うよう制御するスイッ
チ制御部と、を備えたことを特徴とする。
According to the USB device of the present invention, the USB device is detected by detecting the potential of the power supply terminal of the upstream port.
A connect detection unit that detects whether the B device is connected to another USB device, and the USB device is connected to another USB device based on data from the other USB device provided via a data terminal of the upstream port. The other USB device and the downstream USB controller are substantially disconnected by determining whether the data terminal of the upstream port is forcibly fixed to a predetermined potential or not by the recognition detection unit for detecting whether or not the USB device has been recognized. When it is determined that the USB device is connected to another USB device and recognized based on the information obtained from the switch unit and the connection detection unit and the recognition detection unit, the connection state of the switch unit is maintained. If it is determined that the USB device is not recognized in spite of being connected to another USB device, the switch unit is temporarily turned off and then turned on again. A switch control unit for controlling to perform a process of returning, characterized by comprising a.

【0021】したがって、下流側のUSB機器が上流側
の他のUSB機器に接続されているにもかかわらず認識
されなかったと判断した場合には、自動的に、他のUS
B機器と当該USB機器とをいったん実質的に非接続状
態とした後再び接続状態に戻す電気的なスイッチング処
理を行う。このため、コネクタを抜き差しするなどする
ことなく、USB機器の認識処理を容易に行うことがで
きる。
Therefore, when it is determined that the downstream USB device is not recognized despite being connected to another USB device on the upstream side, another USB device is automatically detected.
An electrical switching process is performed in which the B device and the USB device are substantially temporarily disconnected and then returned to the connected state. For this reason, the USB device can be easily recognized without having to connect and disconnect the connector.

【0022】また、外来ノイズなどの影響を受けにくい
電源端子の電位を検出することで、USB機器が他のU
SB機器に接続されたか否かを容易かつ確実に検出する
ことができる。
Further, by detecting the potential of the power supply terminal which is not easily affected by external noise or the like, the USB device can be connected to another U.S.
It is possible to easily and reliably detect whether or not a connection has been made to an SB device.

【0023】さらに、データ通信を行うための既存のデ
ータ端子を利用して、当該USB機器が他のUSB機器
に認識されたか否かを容易に検出することができる。
Further, it is possible to easily detect whether or not the USB device has been recognized by another USB device by using an existing data terminal for performing data communication.

【0024】また、上流側ポートのデータ端子を強制的
に所定電位に固定するか否という単純な方法を用いて、
容易に他のUSB機器と下流側USBコントローラとを
実質的に断状態としたり継状態としたりすることができ
る。
Also, by using a simple method of forcibly fixing the data terminal of the upstream port to a predetermined potential,
The other USB device and the downstream USB controller can be easily switched to a substantially disconnected state or a connected state.

【0025】請求項6の機器接続システムにおいては、
2つの機能機器が信号路を介して接続されたか否かを検
出する接続検出手段と、一方の機能機器が信号路を介し
て他方の機能機器に認識されたか否かを検出する認識検
出手段と、接続検出手段および認識検出手段から得られ
た情報に基づいて、2つの機能機器が接続されかつ一方
の機器が他方の機器に認識されたと判断した場合には、
2つの機能機器の接続状態を維持し、2つの機能機器が
接続されているにもかかわらず一方の機器が他方の機器
に認識されなかったと判断した場合には、2つの機能機
器をいったん実質的に非接続状態とした後再び接続状態
に戻す電気的なスイッチング処理を行う判断スイッチン
グ手段と、を備えたことを特徴とする。
In the device connection system according to claim 6,
Connection detection means for detecting whether two functional devices are connected via a signal path, and recognition detection means for detecting whether one functional device is recognized by the other functional device via a signal path; Based on the information obtained from the connection detection means and the recognition detection means, when it is determined that two functional devices are connected and one device is recognized by the other device,
When the connection state of the two functional devices is maintained, and it is determined that one device is not recognized by the other device even though the two functional devices are connected, the two functional devices are substantially once And a determination switching means for performing an electrical switching process for returning to the connected state after the connection is disconnected.

【0026】したがって、判断スイッチング手段は、当
該機能機器が他の機能機器に接続されているにもかかわ
らず認識されなかったと判断した場合には、自動的に、
他の機能機器と当該機能機器とをいったん実質的に非接
続状態とした後再び接続状態に戻す電気的なスイッチン
グ処理を行う。このため、コネクタを抜き差しするなど
することなく、機器認識処理を容易に行うことができ
る。
Therefore, when the judgment switching means judges that the function device is not recognized in spite of being connected to another function device, the judgment switching means automatically sets:
An electrical switching process is performed in which the other functional device and the functional device are temporarily disconnected and then returned to the connected state. For this reason, the device recognition process can be easily performed without disconnecting or connecting the connector.

【0027】[0027]

【発明の実施の形態】図1に、この発明の一実施形態に
よるUSB機器(バス接続機器、一方の機能機器)であ
るUSB周辺機器20の構成を説明するためのブロック
図を示す。
FIG. 1 is a block diagram for explaining a configuration of a USB peripheral device 20 which is a USB device (bus connection device, one functional device) according to an embodiment of the present invention.

【0028】USB周辺機器20は、上流側の他のUS
B機器(他のバス接続機器、他方の機能機器)であるU
SBホスト機器2(図2参照)に接続するための上流側
ポートであるアップ(up)ポート24と、アップポート
24に接続される下流側USBコントローラ22とを備
えている。
The USB peripheral device 20 is connected to another US on the upstream side.
U, which is a B device (other bus connection device, other functional device)
An up port 24 which is an upstream port for connecting to the SB host device 2 (see FIG. 2) and a downstream USB controller 22 connected to the up port 24 are provided.

【0029】USB周辺機器20は、アップポート24
のデータ端子であるD+端子24bおよびD−端子24
cを介して行われるUSBホスト機器2と下流側USB
コントローラ22との通信により当該USB周辺機器2
0がUSBホスト機器2に認識され得るよう構成されて
いる。
The USB peripheral device 20 includes an up port 24
Data terminals D + terminal 24b and D- terminal 24
c. USB host device 2 and downstream USB
By communication with the controller 22, the USB peripheral device 2
0 is recognized by the USB host device 2.

【0030】USB周辺機器20は、さらに、コネクト
検出部26、認識検出部28,判断スイッチング手段3
0を備えている。コネクト検出部26は、アップポート
24の電源端子であるVbus端子24aの電位を検出す
ることにより当該USB周辺機器20がUSBホスト機
器2に接続されたか否かを検出する。なお、アップポー
ト24は、電源端子としてGND端子24dをも備えて
いる。GND端子24dは、接地電位に接続されてい
る。
The USB peripheral device 20 further includes a connect detection unit 26, a recognition detection unit 28,
0 is provided. The connection detection unit 26 detects whether or not the USB peripheral device 20 is connected to the USB host device 2 by detecting the potential of the Vbus terminal 24a that is the power terminal of the up port 24. Note that the up port 24 also has a GND terminal 24d as a power supply terminal. The GND terminal 24d is connected to the ground potential.

【0031】認識検出部28は、アップポート24のD
+端子24bおよびD−端子24cを介して与えられる
USBホスト機器2からのデータに基づいて当該USB
周辺機器20がUSBホスト機器2に認識されたか否か
を検出する。
The recognition detection unit 28 detects the D
Based on data from the USB host device 2 given via the + terminal 24b and the D- terminal 24c, the USB
It detects whether the peripheral device 20 has been recognized by the USB host device 2.

【0032】判断スイッチング手段30は、スイッチ部
32(スイッチ手段)およびスイッチ制御部34(スイ
ッチ制御手段)を備えている。
The decision switching means 30 includes a switch section 32 (switch means) and a switch control section 34 (switch control means).

【0033】スイッチ部32は、アップポート24のD
+端子24bおよびD−端子24cと下流側USBコン
トローラ22とを電気的なスイッチング処理により実質
的に継断する。
The switch unit 32 is provided with a D
The + terminal 24b and the D- terminal 24c are substantially disconnected from the downstream USB controller 22 by an electrical switching process.

【0034】スイッチ制御部34は、コネクト検出部2
6(接続検出手段)および認識検出部28(認識検出手
段)から得られた情報に基づいて、当該USB周辺機器
20がUSBホスト機器2に接続されかつ認識されたと
判断した場合には、スイッチ部32の継状態(接続状
態)を維持し、当該USB周辺機器20がUSBホスト
機器2に接続されているにもかかわらず認識されなかっ
たと判断した場合には、スイッチ部32をいったん実質
的に断状態(非接続状態)とした後再び継状態に戻す処
理を行うよう制御する。
The switch control section 34 is connected to the connection detection section 2
If it is determined that the USB peripheral device 20 is connected to the USB host device 2 and is recognized based on information obtained from the connection detection unit 6 and the recognition detection unit 28 (recognition detection unit), the switch unit If the USB peripheral device 20 is not recognized even though the USB peripheral device 20 is connected to the USB host device 2, the switch unit 32 is temporarily turned off once. Control is performed so as to perform processing for returning to the connection state after the state (disconnected state).

【0035】図2に、USB周辺機器20およびUSB
ホスト機器2を含む接続機器システムの配線を説明する
ための図面を示す。
FIG. 2 shows the USB peripheral device 20 and the USB
2 is a diagram for explaining wiring of a connection device system including a host device 2.

【0036】USBホスト機器2は、上流側USBコン
トローラ4と、ダウン(down)ポート6を備えている。
ダウンポート6は、電源端子であるVbus端子6aおよ
びGND端子6dならびにデータ端子であるD+端子6
bおよびD−端子6cを備えている。
The USB host device 2 has an upstream USB controller 4 and a down port 6.
The down port 6 has a Vbus terminal 6a and a GND terminal 6d as power supply terminals and a D + terminal 6 as a data terminal.
b and a D-terminal 6c.

【0037】この実施形態においては、Vbus端子6a
およびGND端子6dは、それぞれ、+5ボルト(電源
電位)、0ボルト(接地電位)に接続されている。
In this embodiment, the Vbus terminal 6a
And GND terminal 6d are connected to +5 volts (power supply potential) and 0 volts (ground potential), respectively.

【0038】D+端子6bおよびD−端子6cは、上流
側USBコントローラ4に接続されている。D+端子6
bおよびD−端子6cは、さらに、それぞれ、プルダウ
ン用の抵抗R11、R12を介して接地電位に接続され
ている。なお、この実施形態においては、抵抗R11、
R12は、ともに15KΩである。
The D + terminal 6b and the D- terminal 6c are connected to the upstream USB controller 4. D + terminal 6
The b and D- terminals 6c are further connected to the ground potential via pull-down resistors R11 and R12, respectively. In this embodiment, the resistor R11,
R12 is 15 KΩ.

【0039】USBホスト機器2のダウンポート6と、
USB周辺機器20のアップポート24とは、バスライ
ン(信号路)であるUSBケーブル14により接続され
る。USBケーブル14は、USBホスト機器2の電源
に接続されるべきラインであるVbusライン14aおよ
びGNDライン14d、ならびに、USBホスト機器2
とUSB周辺機器20との間でデータ通信を行うための
ラインであるD+ライン14bおよびD−ライン14c
を備えている。
A down port 6 of the USB host device 2;
The up port 24 of the USB peripheral device 20 is connected by the USB cable 14 which is a bus line (signal path). The USB cable 14 includes a Vbus line 14a and a GND line 14d, which are lines to be connected to the power supply of the USB host device 2, and the USB host device 2
Line 14b and D- line 14c, which are lines for performing data communication between the USB device 20 and the USB peripheral device 20
It has.

【0040】USBケーブル14の両端は、ダウンポー
ト6およびアップポート24に対し、接続・取り外し可
能なコネクタ形状(図示せず)に形成されている。
Both ends of the USB cable 14 are formed in connector shapes (not shown) that can be connected to and detached from the down port 6 and the up port 24.

【0041】USB周辺機器20は、マイクロコンピュ
ータ部40と、上述のアップポート24を備えている。
マイクロコンピュータ部40は、図1に示す下流側US
Bコントローラ22,コネクト検出部26,認識検出部
28,スイッチ制御部34に対応する。
The USB peripheral device 20 includes a microcomputer section 40 and the above-described up port 24.
The microcomputer unit 40 is connected to the downstream US shown in FIG.
It corresponds to the B controller 22, the connection detection unit 26, the recognition detection unit 28, and the switch control unit 34.

【0042】アップポート24のVbus端子24aは、
マイクロコンピュータ部40の入力ポート40aに接続
されている。D+端子24b、D−端子24cは、それ
ぞれ、マイクロコンピュータ部40の入出力ポート40
c、40dに接続されている。
The Vbus terminal 24a of the up port 24
It is connected to the input port 40a of the microcomputer section 40. The D + terminal 24b and the D− terminal 24c are connected to the input / output port 40 of the microcomputer unit 40, respectively.
c, 40d.

【0043】D+端子24bは、プルアップ用の抵抗R
21を介してVbus端子24aに接続されている。な
お、この実施形態においては、抵抗R21は、1.5K
Ωであり、上述のプルダウン用の抵抗R11、R12よ
り低い抵抗値(1/10程度)となっている。
The D + terminal 24b is connected to a pull-up resistor R
21 to a Vbus terminal 24a. In this embodiment, the resistance R21 is 1.5K
Ω, which is lower (about 1/10) than the pull-down resistors R11 and R12.

【0044】D+端子24bは、また、ダイオードD1
のアノードに接続されている。ダイオードD1のカソー
ドは、マイクロコンピュータ部40の出力ポート40b
に接続されている。ダイオードD1が、図1に示すスイ
ッチ部32に対応する。
The D + terminal 24b is connected to the diode D1.
Connected to the anode. The cathode of the diode D1 is connected to the output port 40b of the microcomputer unit 40.
It is connected to the. The diode D1 corresponds to the switch unit 32 shown in FIG.

【0045】なお、この実施形態においてはUSB周辺
機器20は、バスパワード型のバス接続機器であり、U
SBケーブル14のVbusライン14aおよびGNDラ
イン14dを介して、USBホスト機器2のVbus端子
6aおよびGND端子6dから電力を供給される。
In this embodiment, the USB peripheral device 20 is a bus-powered bus connection device.
Power is supplied from the Vbus terminal 6a and the GND terminal 6d of the USB host device 2 via the Vbus line 14a and the GND line 14d of the SB cable 14.

【0046】図3に、USB周辺機器20およびUSB
ホスト機器2を含む接続機器システムの具体的な構成例
を示す。この例では、USBホスト機器2(上流側のバ
ス接続機器)はコンピュータ(パーソナルコンピュー
タ)であり、USB周辺機器20(下流側のバス接続機
器)はキーボードである。また、この例では、USBホ
スト機器2はダウンポートを2つ備えている。一つは、
上述のダウンポート6である。もう一つのダウンポート
7には、USBケーブル71を介してUSBハブ50が
接続されている。
FIG. 3 shows the USB peripheral device 20 and the USB
1 shows a specific configuration example of a connection device system including a host device 2. In this example, the USB host device 2 (upstream-side bus connection device) is a computer (personal computer), and the USB peripheral device 20 (downstream-side bus connection device) is a keyboard. In this example, the USB host device 2 has two down ports. one,
This is the down port 6 described above. The USB hub 50 is connected to another down port 7 via a USB cable 71.

【0047】USBハブ50のダウンポート50a、5
0b、50c、50dには、それぞれ、USBケーブル
72,73,74,75を介して、プリンタ60,スキ
ャナ62,ターミナルアダプタ64,USBハブ52が
接続されている。
The down ports 50a, 5a of the USB hub 50
A printer 60, a scanner 62, a terminal adapter 64, and a USB hub 52 are connected to Ob, 50c, and 50d via USB cables 72, 73, 74, and 75, respectively.

【0048】USBハブ50は、USBホスト機器2と
の関係においては下流側のバス接続機器に該当するが、
プリンタ60,スキャナ62,ターミナルアダプタ6
4,USBハブ52との関係においては、上流側のバス
接続機器に該当する。
The USB hub 50 corresponds to a downstream-side bus connection device in relation to the USB host device 2.
Printer 60, scanner 62, terminal adapter 6
4, in relation to the USB hub 52, corresponds to an upstream-side bus connection device.

【0049】USBハブ52のダウンポート52a、5
2bには、それぞれ、USBケーブル76,77を介し
て、ゲームパッド66,ジョイスティック68が接続さ
れている。
The down ports 52a and 5a of the USB hub 52
A game pad 66 and a joystick 68 are connected to 2b via USB cables 76 and 77, respectively.

【0050】USBハブ52は、USBハブ50との関
係においては下流側のバス接続機器に該当するが、ゲー
ムパッド66,ジョイスティック68との関係において
は、上流側のバス接続機器に該当する。
The USB hub 52 corresponds to a downstream bus connecting device in relation to the USB hub 50, but corresponds to an upstream bus connecting device in relation to the game pad 66 and the joystick 68.

【0051】また、この例では、USB周辺機器20に
は、USBケーブル78を介してマウス69が接続され
ている。USB周辺機器20にUSBハブの機能が内蔵
されており、当該USBハブのダウンポート(図示せ
ず)を介してマウス69が接続されているのである。し
たがって、マウス69との関係においては、USB周辺
機器20は、上流側のバス接続機器に該当する。
In this example, a mouse 69 is connected to the USB peripheral device 20 via a USB cable 78. The USB peripheral device 20 has a built-in USB hub function, and the mouse 69 is connected via a down port (not shown) of the USB hub. Therefore, in relation to the mouse 69, the USB peripheral device 20 corresponds to an upstream bus connection device.

【0052】つぎに、図2および図4に基づいて、US
B周辺機器20とUSBホスト機器2とをUSBケーブ
ル14を用いて接続する場合の動作を説明する。図4
は、当該動作の処理手順を示すフローチャートである。
Next, based on FIG. 2 and FIG.
An operation when the B peripheral device 20 and the USB host device 2 are connected using the USB cable 14 will be described. FIG.
5 is a flowchart showing a processing procedure of the operation.

【0053】USBホスト機器2の上流側USBコント
ローラ4は、ダウンポート6のD+端子6bおよびD−
端子6cの電位を監視している。上述のように、D+端
子6bおよびD−端子6cは、それぞれ、プルダウン用
の抵抗R11、R12を介して接地電位に接続されてい
るので、ダウンポート6に下流側のバス接続機器が接続
されていない場合には、D+端子6bおよびD−端子6
c両端子は接地電位となっている。
The upstream USB controller 4 of the USB host device 2 is connected to the D + terminal 6 b of the down port 6 and the D- terminal
The potential of the terminal 6c is monitored. As described above, since the D + terminal 6b and the D- terminal 6c are connected to the ground potential via the pull-down resistors R11 and R12, respectively, the downstream bus connection device is connected to the down port 6. Otherwise, the D + terminal 6b and the D- terminal 6
c Both terminals are at the ground potential.

【0054】D+端子6bおよびD−端子6cがともに
接地電位となっている間は、上流側USBコントローラ
4は、下流側のバス接続機器に対する認識処理を開始し
ない。
While both the D + terminal 6b and the D- terminal 6c are at the ground potential, the upstream USB controller 4 does not start the recognition processing for the downstream bus-connected device.

【0055】ここで、USBケーブル14を介して、ダ
ウンポート6にUSB周辺機器20のアップポート24
を接続すると、USBケーブル14のVbusライン14
aおよびGNDライン14dを介して、USBホスト機
器2からUSB周辺機器20への電力の供給が開始され
る。
Here, the up port 24 of the USB peripheral device 20 is connected to the down port 6 via the USB cable 14.
Is connected, the Vbus line 14 of the USB cable 14
The supply of electric power from the USB host device 2 to the USB peripheral device 20 is started via a and the GND line 14d.

【0056】USB周辺機器20への電力の供給が開始
されると、USB周辺機器20のマイクロコンピュータ
部40が起動する。また、USB周辺機器20への電力
の供給が開始されると、マイクロコンピュータ部40の
入力ポート40aに高電位(+5ボルト、論理”H”に
対応)が印加される。
When power supply to the USB peripheral device 20 is started, the microcomputer unit 40 of the USB peripheral device 20 starts. When the supply of power to the USB peripheral device 20 is started, a high potential (+5 volt, corresponding to logic “H”) is applied to the input port 40 a of the microcomputer unit 40.

【0057】USB周辺機器20のマイクロコンピュー
タ部40は、入力ポート40aが高電位になると、アッ
プポート24に上流側のバス接続機器が接続されたと判
断する(ステップS1)。
When the input port 40a has a high potential, the microcomputer unit 40 of the USB peripheral device 20 determines that the upstream bus connecting device has been connected to the up port 24 (step S1).

【0058】また、USB周辺機器20への電力の供給
が開始されると、とくに指令のない限りマイクロコンピ
ュータ部40の出力ポート40bが高電位(+5ボル
ト、論理”H”に対応)になるよう設定されている。こ
れにより、USBケーブル14のD+ラインを介してデ
ータ通信を行うことが可能となる。
When the supply of power to the USB peripheral device 20 is started, the output port 40b of the microcomputer section 40 is set to a high potential (+5 volts, corresponding to logic "H") unless otherwise specified. Is set. Thereby, data communication can be performed via the D + line of the USB cable 14.

【0059】一方、USB周辺機器20への電力の供給
が開始されると、USB周辺機器20側のプルアップ用
の抵抗R21の作用により、USBホスト機器2のダウ
ンポート6のD+端子6bの電位は引き上げられる。引
き上げられた電位の論理レベルが”H”になるよう、抵
抗R11および抵抗R21の抵抗値が設定されている。
On the other hand, when the supply of power to the USB peripheral device 20 is started, the potential of the D + terminal 6b of the down port 6 of the USB host device 2 is actuated by the action of the pull-up resistor R21 on the USB peripheral device 20 side. Is raised. The resistance values of the resistors R11 and R21 are set so that the logic level of the raised potential becomes “H”.

【0060】USBホスト機器2の上流側USBコント
ローラ4は、ダウンポート6のD+端子6bまたはD−
端子6cの電位の論理レベルが”H”になるのを検出す
ると、D+端子6bおよびD−端子6cを介して、下流
側のバス接続機器の下流側USBコントローラ(この実
施形態においては、USB周辺機器20のマイクロコン
ピュータ部40)に対し、認識作業の開始をリクエスト
する。
The upstream USB controller 4 of the USB host device 2 sends the D + terminal 6 b of the down port 6 or the D- terminal
When detecting that the logic level of the potential of the terminal 6c becomes “H”, the downstream USB controller (in this embodiment, the USB peripheral device) of the downstream bus connection device is connected via the D + terminal 6b and the D− terminal 6c. The microcomputer unit 40) of the device 20 is requested to start the recognition operation.

【0061】リクエストを受けたUSB周辺機器20の
マイクロコンピュータ部40は、必要な情報、たとえ
ば、自己がキーボードである旨の情報などを、D+端子
24bおよびD−端子24cを介して送出する。
The microcomputer 40 of the USB peripheral device 20 that has received the request sends necessary information, for example, information indicating that it is a keyboard, via the D + terminal 24b and the D- terminal 24c.

【0062】USBホスト機器2の上流側USBコント
ローラ4は、USB周辺機器20のマイクロコンピュー
タ部40から送られてきた情報に基づいて、USB周辺
機器20がどのような種類のバス接続機器であるかを認
識する。USBホスト機器2の上流側USBコントロー
ラ4は、当該認識処理が問題なく完了した場合には、所
定の認識完了信号を、D+端子6bおよびD−端子6c
を介して送出する。
The upstream USB controller 4 of the USB host device 2 determines what kind of bus connection device the USB peripheral device 20 is based on the information sent from the microcomputer section 40 of the USB peripheral device 20. Recognize. When the recognition processing is completed without any problem, the upstream USB controller 4 of the USB host device 2 sends a predetermined recognition completion signal to the D + terminal 6b and the D− terminal 6c.
Out via.

【0063】USB周辺機器20のマイクロコンピュー
タ部40は、所定時間の間、認識完了信号を監視してい
る(ステップS2およびステップS4)。
The microcomputer 40 of the USB peripheral device 20 monitors the recognition completion signal for a predetermined time (steps S2 and S4).

【0064】当該所定時間の間に認識完了信号が得られ
た場合には、認識処理が正常に完了したものと判断する
(ステップS2)。
When the recognition completion signal is obtained during the predetermined time, it is determined that the recognition processing has been completed normally (step S2).

【0065】認識処理が正常に完了すると、USBケー
ブル14のD+ライン14bおよびD−ライン14cを
介してUSBホスト機器2とUSB周辺機器20との間
で通常の通信処理が開始される(ステップS3)。
When the recognition processing is completed normally, normal communication processing is started between the USB host device 2 and the USB peripheral device 20 via the D + line 14b and the D- line 14c of the USB cable 14 (step S3). ).

【0066】一方、当該所定時間の間に認識完了信号が
得られなかった場合、すなわちステップS4においてタ
イムアウトとなった場合には、USB周辺機器20のマ
イクロコンピュータ部40は、後述する再接続処理が規
定回数(たとえば、3回程度)行われたか否かを判断す
る(ステップS5)。この時点では、再接続処理は未だ
行われていないから、ステップS6に移行する。
On the other hand, when the recognition completion signal is not obtained during the predetermined time, that is, when the timeout occurs in step S4, the microcomputer unit 40 of the USB peripheral device 20 executes the reconnection processing described later. It is determined whether a predetermined number of times (for example, about three times) has been performed (step S5). At this point, since the reconnection process has not been performed yet, the process proceeds to step S6.

【0067】ステップS6においては、ディスコネクト
(切断)処理が行われる。ディスコネクト処理は、US
B周辺機器20のマイクロコンピュータ部40の出力ポ
ート40bを低電位(接地電位、論理”L”に対応)に
することにより行う。これにより、USBケーブル14
のD+ライン14bは、強制的に接地電位(所定電位、
論理レベル”L”に対応)に固定される。
In step S6, a disconnect (disconnect) process is performed. Disconnect processing is US
This is performed by setting the output port 40b of the microcomputer unit 40 of the B peripheral device 20 to a low potential (ground potential, corresponding to logic "L"). Thereby, the USB cable 14
D + line 14b is forced to ground potential (predetermined potential,
(Corresponding to the logic level "L").

【0068】USBケーブル14のD+ライン14bが
接地電位になると、USBホスト機器2のダウンポート
6のD+端子6bが接地電位となる。D+端子6bが接
地電位に固定されると、上流側USBコントローラ4
は、下流側にバス接続機器が接続されていないと判断し
て、確認処理を中断する。すなわち、ディスコネクト処
理を行うことにより、USB周辺機器20またはUSB
ホスト機器2からUSBケーブル14を取り外したのと
同じ状態になる。
When the D + line 14b of the USB cable 14 has the ground potential, the D + terminal 6b of the down port 6 of the USB host device 2 has the ground potential. When the D + terminal 6b is fixed to the ground potential, the upstream USB controller 4
Determines that the bus connection device is not connected to the downstream side, and suspends the confirmation processing. That is, by performing the disconnection processing, the USB peripheral device 20 or the USB
This is the same state as removing the USB cable 14 from the host device 2.

【0069】USB周辺機器20のマイクロコンピュー
タ部40は、ディスコネクト状態を所定時間継続した
後、再コネクト(再接続)処理を行う(ステップS
7)。
The microcomputer unit 40 of the USB peripheral device 20 performs a reconnect (reconnect) process after continuing the disconnect state for a predetermined time (step S).
7).

【0070】再コネクト処理は、USB周辺機器20の
マイクロコンピュータ部40の出力ポート40bを高電
位(+5ボルト、論理”H”に対応)に戻すことにより
行う。これにより、USBケーブル14のD+ライン1
4bを介してUSBホスト機器2のダウンポート6のD
+端子6bの電位の論理レベルが”H”になる。
The reconnect process is performed by returning the output port 40b of the microcomputer unit 40 of the USB peripheral device 20 to a high potential (+5 volt, corresponding to logic "H"). Thereby, the D + line 1 of the USB cable 14
4b, the D of the down port 6 of the USB host device 2
The logic level of the potential of the + terminal 6b becomes "H".

【0071】USBホスト機器2の上流側USBコント
ローラ4は、ダウンポート6のD+端子6bの電位の論
理レベルが”H”になるのを検出して、再び、認識処理
を開始する。
The upstream USB controller 4 of the USB host device 2 detects that the logic level of the potential of the D + terminal 6b of the down port 6 becomes "H", and starts the recognition process again.

【0072】以下、認識処理が正常に完了するまで、ス
テップS1、S2、S4〜S7を繰り返す。この場合、
再コネクトの回数が所定回数に達したときは、当該US
B周辺機器20は不明な機器(デバイス)であると判断
して、処理を終了する(ステップS8)。
Thereafter, steps S1, S2 and S4 to S7 are repeated until the recognition processing is completed normally. in this case,
When the number of reconnects reaches the predetermined number, the US
The B peripheral device 20 determines that it is an unknown device (device), and terminates the processing (step S8).

【0073】なお、図4のステップS1が、図1のコネ
クト検出部26に対応する。ステップS2が、認識検出
部28に対応する。ステップS4〜S7が、スイッチ制
御部34に対応する。
Note that step S1 in FIG. 4 corresponds to the connect detecting section 26 in FIG. Step S2 corresponds to the recognition detection unit 28. Steps S4 to S7 correspond to the switch control unit 34.

【0074】このように、この実施形態においては、U
SB周辺機器20のアップポート24のVbus端子24
aの電位を検出することにより当該USB周辺機器20
がUSBホスト機器2に接続されたか否かを検出し、ア
ップポート24のD+端子24bおよびD−端子24c
を介して与えられるUSBホスト機器2からのデータに
基づいて当該USB周辺機器20がUSBホスト機器2
に認識されたか否かを検出する。
As described above, in this embodiment, U
Vbus terminal 24 of up port 24 of SB peripheral device 20
a of the USB peripheral device 20
Is detected whether the USB port is connected to the USB host device 2, and the D + terminal 24b and the D- terminal 24c of the up port 24 are detected.
USB peripheral device 20 is connected to the USB host device 2 based on data from the USB host device 2
It is detected whether or not it has been recognized.

【0075】また、アップポート24のD+端子24b
およびD−端子24cのうち、少なくとも一方の端子の
電位を強制的に固定電位(接地電位)とするか否かによ
って、USBホスト機器2とUSB周辺機器20とを実
質的に継断するようにしている。
The D + terminal 24b of the up port 24
And the USB host device 2 and the USB peripheral device 20 are substantially disconnected depending on whether or not the potential of at least one of the D- terminals 24c is forcibly set to a fixed potential (ground potential). ing.

【0076】さらに、USB周辺機器20がUSBホス
ト機器2に接続されたか否かの情報、およびUSB周辺
機器20がUSBホスト機器2に認識されたか否かの情
報に基づいて、当該USB周辺機器20がUSBホスト
機器2に接続されかつ認識されたと判断した場合には、
USBホスト機器2とUSB周辺機器20とを実質的に
継状態とし、当該USB周辺機器20がUSBホスト機
器2に接続されているにもかかわらず認識されなかった
と判断した場合には、USBホスト機器2とUSB周辺
機器20とをいったん実質的に断状態とした後再び継状
態に戻す処理を行うようにしている。
Further, based on information as to whether the USB peripheral device 20 is connected to the USB host device 2 and information as to whether the USB peripheral device 20 has been recognized by the USB host device 2, the USB peripheral device 20 is connected. Is determined to be connected to and recognized by the USB host device 2,
If the USB host device 2 and the USB peripheral device 20 are substantially connected to each other, and it is determined that the USB peripheral device 20 is not recognized despite being connected to the USB host device 2, the USB host device 2 2 and the USB peripheral device 20 are temporarily disconnected and then returned to the connected state.

【0077】したがって、コネクタを抜き差しするなど
することなく、USB周辺機器20の認識処理を容易に
行うことができる。また、外来ノイズなどの影響を受け
にくいVbus端子24aの電位を検出することで、US
B周辺機器20がUSBホスト機器2に接続されたか否
かを容易かつ確実に検出することができる。さらに、デ
ータ通信を行うための既存のD+端子24bおよびD−
端子24cを利用して、当該USB周辺機器20がUS
Bホスト機器2に認識されたか否かを容易に検出するこ
とができる。
Therefore, the process of recognizing the USB peripheral device 20 can be easily performed without disconnecting or connecting the connector. Also, by detecting the potential of the Vbus terminal 24a, which is less susceptible to external noises, the US
Whether or not the B peripheral device 20 has been connected to the USB host device 2 can be easily and reliably detected. Further, existing D + terminals 24b and D-
Using the terminal 24c, the USB peripheral device 20
It can be easily detected whether or not the B host device 2 has recognized it.

【0078】なお、上述の実施形態においては、接続検
出手段として、マイクロコンピュータ部40を用い、V
bus端子24aの電位を監視するよう構成したが、接続
検出手段はこれに限定されるものではない。たとえば、
GND端子24dの電位を監視するよう構成することも
できる。
In the above embodiment, the microcomputer 40 is used as the connection detecting means,
Although the configuration is such that the potential of the bus terminal 24a is monitored, the connection detecting means is not limited to this. For example,
It can be configured to monitor the potential of the GND terminal 24d.

【0079】また、上述の実施形態においては、スイッ
チング手段として、ダイオードD1を用い、D+ライン
14bを強制的に接地電位とするか否かを切り換えるよ
うにしているが、スイッチング手段はこれに限定される
ものではない。たとえば、D−ライン14cを強制的に
接地電位とするか否かを切り換えるよう構成することも
できる。
In the above-described embodiment, the diode D1 is used as the switching means to switch whether or not the D + line 14b is forcibly set to the ground potential. However, the switching means is not limited to this. Not something. For example, it may be configured to switch whether or not the D-line 14c is forcibly set to the ground potential.

【0080】また、スイッチング手段はダイオードに限
定されるものではない。スイッチング手段として、たと
えばトランジスタなどのスイッチング素子を用いること
もできる。さらに、この場合、D+端子24bと入出力
ポート40cとの間、および/または、D−端子24c
と入出力ポート40dとの間にトランジスタを挿入する
ようにしてもよい。この場合、たとえば、当該トランジ
スタはマイクロコンピュータ部40によりコントロール
され、D+端子24bと入出力ポート40cとの間、お
よび/または、D−端子24cと入出力ポート40dと
の間が導通制御される。
The switching means is not limited to a diode. As the switching means, for example, a switching element such as a transistor can be used. Further, in this case, between the D + terminal 24b and the input / output port 40c and / or the D− terminal 24c
A transistor may be inserted between the input and output port 40d. In this case, for example, the transistor is controlled by microcomputer unit 40, and conduction between D + terminal 24b and input / output port 40c and / or between D− terminal 24c and input / output port 40d is controlled.

【0081】また、上述の実施形態においては、図1に
示すUSB周辺機器20の下流側USBコントローラ2
2,コネクト検出部26,認識検出部28,スイッチ制
御部34の機能をマイクロコンピュータを用いて構成し
た場合を例に説明したが、上記各機能の一部又は全部を
ハードウェアロジックにより構成してもよい。
In the above embodiment, the downstream USB controller 2 of the USB peripheral device 20 shown in FIG.
2. The case where the functions of the connection detection unit 26, the recognition detection unit 28, and the switch control unit 34 are configured using a microcomputer has been described as an example, but a part or all of the functions are configured by hardware logic. Is also good.

【0082】また、上述の実施形態においては、D+端
子24bが抵抗を介して+5ボルト(電源電位)にプル
アップされているUSB周辺機器を例に説明したが、こ
の発明はこれに限定されるものではない。たとえば、D
−端子24cが抵抗を介して+5ボルト(電源電位)に
プルアップされているUSB周辺機器にもこの発明を適
用することができる。さらに、D+端子24bが抵抗を
介して電源電位以外の電位、たとえば+3.3ボルトに
プルアップされているUSB周辺機器にも、この発明を
適用することができる。
In the above embodiment, the USB peripheral device in which the D + terminal 24b is pulled up to +5 volts (power supply potential) via a resistor has been described as an example, but the present invention is not limited to this. Not something. For example, D
The present invention can be applied to a USB peripheral device in which the negative terminal 24c is pulled up to +5 volts (power supply potential) via a resistor. Further, the present invention can be applied to a USB peripheral device in which the D + terminal 24b is pulled up to a potential other than the power supply potential, for example, +3.3 volts via a resistor.

【0083】また、上述の実施形態においては、バスパ
ワード型のUSB周辺機器を例に説明したが、この発明
はこれに限定されるものではない。たとえば、自己電源
を持つセルフパワード型のUSB周辺機器にも、この発
明を適用することができる。さらに、USB規格以外の
バス接続機器や、機器接続システムにもこの発明を適用
することができる。
Further, in the above-described embodiment, a bus-powered USB peripheral device has been described as an example, but the present invention is not limited to this. For example, the present invention can be applied to a self-powered USB peripheral device having a self-power supply. Further, the present invention can be applied to a bus connection device other than the USB standard and a device connection system.

【図面の簡単な説明】[Brief description of the drawings]

【図1】この発明の一実施形態によるUSB機器である
USB周辺機器20の構成を説明するためのブロック図
である。
FIG. 1 is a block diagram illustrating a configuration of a USB peripheral device 20 which is a USB device according to an embodiment of the present invention.

【図2】USB周辺機器20およびUSBホスト機器2
を含む接続機器システムの配線を説明するための図面で
ある。
FIG. 2 shows a USB peripheral device 20 and a USB host device 2
6 is a diagram for explaining wiring of a connection device system including the above.

【図3】USB周辺機器20およびUSBホスト機器2
を含む接続機器システムの具体的な構成例を示す図面で
ある。
FIG. 3 shows a USB peripheral device 20 and a USB host device 2
It is a figure which shows the example of a specific structure of the connection apparatus system containing a.

【図4】USB周辺機器20とUSBホスト機器2とを
USBケーブル14を用いて接続する場合の動作を説明
するためのフローチャートである。
FIG. 4 is a flowchart for explaining an operation when the USB peripheral device 20 and the USB host device 2 are connected using the USB cable 14.

【図5】従来におけるUSBホスト機器2とUSB周辺
機器8との接続状態を説明するための図面である。
FIG. 5 is a diagram illustrating a conventional connection state between a USB host device 2 and a USB peripheral device 8.

【符号の説明】[Explanation of symbols]

20・・・・USB周辺機器 22・・・・下流側USBコントローラ 24・・・・アップポート 24a・・・Vbus端子 24b・・・D+端子 24c・・・D−端子 26・・・・コネクト検出部 28・・・・認識検出部 32・・・・スイッチ部 34・・・・スイッチ制御部 20: USB peripheral device 22: Downstream USB controller 24: Up port 24a: Vbus terminal 24b: D + terminal 24c: D- terminal 26: Connect detection Unit 28 Recognition detection unit 32 Switch unit 34 Switch control unit

フロントページの続き (72)発明者 竹村 和斉 大阪府寝屋川市日新町2番1号 オンキョ ー株式会社内 (72)発明者 山本 直 大阪府寝屋川市日新町2番1号 オンキョ ー株式会社内 (72)発明者 下迫 泉 大阪府寝屋川市日新町2番1号 オンキョ ー株式会社内 Fターム(参考) 5B014 EA04 HC02 HC06 HC07 5B061 FF01 QQ01 QQ06 5K032 BA04 DA04 Continuation of the front page (72) Inventor Kazuyoshi Takemura 2-1 Nissincho, Neyagawa-shi, Osaka Onkyo Corporation (72) Inventor Nao Yamamoto 2-1 Nissincho, Neyagawa-shi, Osaka Onkyo Corporation ( 72) Inventor Izumi Shimosako 2-1, Nisshinmachi, Neyagawa-shi, Osaka Onkyo Corporation F-term (reference) 5B014 EA04 HC02 HC06 HC07 5B061 FF01 QQ01 QQ06 5K032 BA04 DA04

Claims (6)

【特許請求の範囲】[Claims] 【請求項1】バスラインを介して他のバス接続機器に接
続可能でかつバスラインを介して他のバス接続機器に認
識可能に構成されたバス接続機器において、 当該バス接続機器がバスラインを介して他のバス接続機
器に接続されたか否かを検出する接続検出手段と、 当該バス接続機器がバスラインを介して他のバス接続機
器に認識されたか否かを検出する認識検出手段と、 接続検出手段および認識検出手段から得られた情報に基
づいて、当該バス接続機器が他のバス接続機器に接続さ
れかつ認識されたと判断した場合には、他のバス接続機
器と当該バス接続機器との接続状態を維持し、当該バス
接続機器が他のバス接続機器に接続されているにもかか
わらず認識されなかったと判断した場合には、他のバス
接続機器と当該バス接続機器とをいったん実質的に非接
続状態とした後再び接続状態に戻す電気的なスイッチン
グ処理を行う判断スイッチング手段と、 を備えたことを特徴とするバス接続機器。
A bus connection device configured to be connectable to another bus connection device via a bus line and to be recognized by another bus connection device via a bus line, wherein the bus connection device connects the bus line. Connection detection means for detecting whether or not the bus connection device is connected to another bus connection device, and recognition detection means for detecting whether or not the bus connection device is recognized by another bus connection device via a bus line, Based on the information obtained from the connection detecting means and the recognition detecting means, when it is determined that the bus-connected device is connected to another bus-connected device and recognized, the other bus-connected device and the bus-connected device When it is determined that the bus connection device is not recognized despite being connected to another bus connection device, the other bus connection device and the bus connection device are determined. Bus connection device, characterized by comprising a determination switching means for electrically switching process of returning again to the connected state after the sputum substantially disconnected, the.
【請求項2】請求項1のバス接続機器において、 前記バスラインは、前記他のバス接続機器の電源に接続
されるべきラインを含み、 前記接続検出手段は、当該ラインの電位を検出すること
により当該バス接続機器がバスラインを介して他のバス
接続機器に接続されたか否かを検出すること、を特徴と
するもの。
2. The bus connection device according to claim 1, wherein the bus line includes a line to be connected to a power supply of the other bus connection device, and the connection detection unit detects a potential of the line. Detecting whether or not the bus-connected device is connected to another bus-connected device via a bus line.
【請求項3】請求項1ないし2のいずれかのバス接続機
器において、 前記バスラインは、バス接続機器間でデータ通信を行う
ためのラインを含み、 前記認識検出手段は、当該ラインを介して与えられるデ
ータに基づいて当該バス接続機器が他のバス接続機器に
認識されたか否かを検出すること、 を特徴とするもの。
3. The bus connection device according to claim 1, wherein the bus line includes a line for performing data communication between the bus connection devices, and the recognition detection unit operates via the line. Detecting whether or not the bus-connected device has been recognized by another bus-connected device based on given data.
【請求項4】請求項3のバス接続機器において、 前記判断スイッチング手段は、 前記データ通信を行うためのラインを強制的に所定電位
に固定するか否かにより、バスラインと当該バス接続機
器とを実質的に非接続状態とするか接続状態とするかを
切り換えるスイッチ手段と、 前記接続検出手段および認識検出手段から得られた情報
に基づいて、スイッチ手段の切り替えを行うよう制御す
るスイッチ制御手段と、を備えたことを特徴とするも
の。
4. The bus connection device according to claim 3, wherein the judgment switching means determines whether or not the line for performing the data communication is forcibly fixed to a predetermined potential and determines whether the bus line and the bus connection device are connected to each other. Switch means for switching between a substantially unconnected state and a connected state, and switch control means for controlling switching of the switch means based on information obtained from the connection detection means and the recognition detection means. And characterized by having.
【請求項5】上流側の他のUSB機器に接続するための
上流側ポートと、上流側ポートに接続される下流側US
Bコントローラと、を有するUSB機器であって、上流
側ポートのデータ端子を介して行われる他のUSB機器
と下流側USBコントローラとの通信により当該USB
機器が他のUSB機器に認識され得るよう構成されたU
SB機器において、 上流側ポートの電源端子の電位を検出することにより当
該USB機器が他のUSB機器に接続されたか否かを検
出するコネクト検出部と、 上流側ポートのデータ端子を介して与えられる他のUS
B機器からのデータに基づいて当該USB機器が他のU
SB機器に認識されたか否かを検出する認識検出部と、 上流側ポートのデータ端子を強制的に所定電位に固定す
るか否かにより、他のUSB機器と下流側USBコント
ローラとを実質的に継断するスイッチ部と、 コネクト検出部および認識検出部から得られた情報に基
づいて、当該USB機器が他のUSB機器に接続されか
つ認識されたと判断した場合には、スイッチ部の継状態
を維持し、当該USB機器が他のUSB機器に接続され
ているにもかかわらず認識されなかったと判断した場合
には、スイッチ部をいったん実質的に断状態とした後再
び継状態に戻す処理を行うよう制御するスイッチ制御部
と、 を備えたことを特徴とするUSB機器。
5. An upstream port for connecting to another USB device on the upstream side, and a downstream US connected to the upstream port.
B controller, and the USB device communicates with another USB device via the data terminal of the upstream port and the downstream USB controller.
U configured so that the device can be recognized by other USB devices
In the SB device, a connection detection unit that detects whether or not the USB device is connected to another USB device by detecting the potential of the power supply terminal of the upstream port is provided through the data terminal of the upstream port. Other US
The USB device is connected to another U based on the data from the B device.
A recognition detection unit for detecting whether or not the USB device has been recognized, and whether or not the data terminal of the upstream port is forcibly fixed to a predetermined potential, substantially connects another USB device and the downstream USB controller. When it is determined that the USB device is connected to another USB device and recognized based on information obtained from the switch unit to be connected and the connection detection unit and the recognition detection unit, the connection state of the switch unit is changed. If it is determined that the USB device is not recognized even though the USB device is connected to another USB device, a process of temporarily turning off the switch unit and then returning to the connection state is performed. A USB controller, comprising: a switch control unit configured to perform control as described above.
【請求項6】信号路を介して2つの機能機器を接続する
ことができかつ信号路を介して少なくとも一方の機能機
器が他方の機能機器に認識されることができるよう構成
された機器接続システムにおいて、 2つの機能機器が信号路を介して接続されたか否かを検
出する接続検出手段と、 一方の機能機器が信号路を介して他方の機能機器に認識
されたか否かを検出する認識検出手段と、 接続検出手段および認識検出手段から得られた情報に基
づいて、2つの機能機器が接続されかつ一方の機器が他
方の機器に認識されたと判断した場合には、2つの機能
機器の接続状態を維持し、2つの機能機器が接続されて
いるにもかかわらず一方の機器が他方の機器に認識され
なかったと判断した場合には、2つの機能機器をいった
ん実質的に非接続状態とした後再び接続状態に戻す電気
的なスイッチング処理を行う判断スイッチング手段と、 を備えたことを特徴とする機器接続システム。
6. A device connection system configured to connect two functional devices via a signal path and to allow at least one functional device to be recognized by the other functional device via the signal path. , A connection detecting means for detecting whether two functional devices are connected via a signal path, and a recognition detection for detecting whether one functional device is recognized by the other functional device via a signal path Means for connecting two functional devices when it is determined that two functional devices are connected and one device is recognized by the other device based on information obtained from the connection detecting device and the recognition detecting device. When the state is maintained, and it is determined that one device is not recognized by the other device even though the two functional devices are connected, the two functional devices are temporarily set to the substantially unconnected state. Device connection system characterized by comprising: a determination switching means, the again perform electrical switching process of returning the connection state after.
JP35735799A 1999-12-16 1999-12-16 Device and system for bus connection Pending JP2001177543A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP35735799A JP2001177543A (en) 1999-12-16 1999-12-16 Device and system for bus connection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP35735799A JP2001177543A (en) 1999-12-16 1999-12-16 Device and system for bus connection

Publications (1)

Publication Number Publication Date
JP2001177543A true JP2001177543A (en) 2001-06-29

Family

ID=18453725

Family Applications (1)

Application Number Title Priority Date Filing Date
JP35735799A Pending JP2001177543A (en) 1999-12-16 1999-12-16 Device and system for bus connection

Country Status (1)

Country Link
JP (1) JP2001177543A (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100611576B1 (en) * 2003-02-20 2006-08-11 가부시끼가이샤 도시바 Information processing system and information processing method
JP2007293552A (en) * 2006-04-25 2007-11-08 Yokogawa Electric Corp Usb device
JP2008052438A (en) * 2006-08-23 2008-03-06 Seiko Epson Corp Information processor, printing device, information processing method and program
US7506186B2 (en) 2003-08-20 2009-03-17 Panasonic Corporation Optical disc apparatus and disc apparatus
US7801560B2 (en) 2005-08-31 2010-09-21 Samsung Electronics Co., Ltd Accessory apparatus for mobile terminal for receiving and reproducing DMB data and method thereof
WO2013089789A1 (en) * 2011-12-16 2013-06-20 Intel Corporation Automatic downstream to upstream mode switching at a universal serial bus physical layer
JP2016163092A (en) * 2015-02-27 2016-09-05 株式会社アイ・ディ・ケイ Connection fault recovery module, apparatus with fault recovery function, and program

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR100611576B1 (en) * 2003-02-20 2006-08-11 가부시끼가이샤 도시바 Information processing system and information processing method
US7506186B2 (en) 2003-08-20 2009-03-17 Panasonic Corporation Optical disc apparatus and disc apparatus
US7801560B2 (en) 2005-08-31 2010-09-21 Samsung Electronics Co., Ltd Accessory apparatus for mobile terminal for receiving and reproducing DMB data and method thereof
US8442584B2 (en) 2005-08-31 2013-05-14 Samsung Electronics Co., Ltd Accessory apparatus of mobile terminal for receiving and reproducing DMB data and method thereof
JP2007293552A (en) * 2006-04-25 2007-11-08 Yokogawa Electric Corp Usb device
JP2008052438A (en) * 2006-08-23 2008-03-06 Seiko Epson Corp Information processor, printing device, information processing method and program
WO2013089789A1 (en) * 2011-12-16 2013-06-20 Intel Corporation Automatic downstream to upstream mode switching at a universal serial bus physical layer
EP2791807A4 (en) * 2011-12-16 2015-08-05 Intel Corp Automatic downstream to upstream mode switching at a universal serial bus physical layer
TWI502365B (en) * 2011-12-16 2015-10-01 Intel Corp Method,apparatus and article of manufacture of automatic downstream to upstream mode switching at a universal serial bus physical layer
US9864711B2 (en) 2011-12-16 2018-01-09 Intel Corporation Automatic downstream to upstream mode switching at a universal serial bus physical layer
JP2016163092A (en) * 2015-02-27 2016-09-05 株式会社アイ・ディ・ケイ Connection fault recovery module, apparatus with fault recovery function, and program

Similar Documents

Publication Publication Date Title
US20020169915A1 (en) USB connection-detection circuitry and operation methods of the same
US7765344B2 (en) Apparatus and method for dynamically providing hub or host operations
JP4126178B2 (en) Method and apparatus for detecting the type of interface to which a peripheral device is connected
US6415342B1 (en) Universal serial bus controlled connect and disconnect
US5586271A (en) In-line SCSI bus circuit for providing isolation and bi-directional communication between two portions of a SCSI bus
US7085876B2 (en) USB controlling apparatus for data transfer between computers and method for the same
JP3610424B2 (en) Electronic equipment and interface circuit
KR100748554B1 (en) Universal serial bus host, universal serial bus system and method of driving the same
US8281048B2 (en) Information processing apparatus and method for detecting a type of apparatus connected to a connector thereof
US20030212841A1 (en) Method and apparatus of controlling an operational mode of a USB device
WO2022012527A1 (en) Charger, data cable, charging device, and electronic device
EP1092194B1 (en) Device for use as stand-alone device and as slave device in a data bus system
EP1139226A1 (en) Method of emulating an attachment and detachment of a USB device
WO2021227635A1 (en) Usb interface switching apparatus, usb interface switching method, and terminal device
CN100377132C (en) Communication device and control method thereof
JP2001177543A (en) Device and system for bus connection
JP2001306413A (en) Usb communication device
JP2007102444A (en) Electronic equipment, method for controlling electronic equipment and control program
JP2002290490A (en) Electronic device
JP2002312085A (en) Interface automatic discrimination peripheral device
WO2008146073A1 (en) Disconnection detection of electronic devices
JP3830078B2 (en) USB device connection recognition method
WO2010108551A1 (en) Power management
CN108513656B (en) Control method, USB system and electronic device
JP2009205561A (en) Usb connection device, and method of vbus output control in usb connection device

Legal Events

Date Code Title Description
A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20040301

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20040816

A02 Decision of refusal

Free format text: JAPANESE INTERMEDIATE CODE: A02

Effective date: 20041214