JP2005242476A - Usb connector and reproducing device - Google Patents
Usb connector and reproducing device Download PDFInfo
- Publication number
- JP2005242476A JP2005242476A JP2004048397A JP2004048397A JP2005242476A JP 2005242476 A JP2005242476 A JP 2005242476A JP 2004048397 A JP2004048397 A JP 2004048397A JP 2004048397 A JP2004048397 A JP 2004048397A JP 2005242476 A JP2005242476 A JP 2005242476A
- Authority
- JP
- Japan
- Prior art keywords
- usb
- usb plug
- switch
- usb connector
- plug
- 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.)
- Withdrawn
Links
- 238000000034 method Methods 0.000 claims description 22
- 238000004891 communication Methods 0.000 claims description 5
- 238000003780 insertion Methods 0.000 abstract description 10
- 230000037431 insertion Effects 0.000 abstract description 10
- 238000012545 processing Methods 0.000 description 17
- 239000000725 suspension Substances 0.000 description 8
- 238000012546 transfer Methods 0.000 description 8
- 238000000605 extraction Methods 0.000 description 7
- 239000002184 metal Substances 0.000 description 7
- 229910052751 metal Inorganic materials 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 239000012212 insulator Substances 0.000 description 6
- 230000005236 sound signal Effects 0.000 description 5
- 239000000872 buffer Substances 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 230000006835 compression Effects 0.000 description 3
- 238000007906 compression Methods 0.000 description 3
- 230000002093 peripheral effect Effects 0.000 description 3
- 239000000758 substrate Substances 0.000 description 3
- 230000007704 transition Effects 0.000 description 3
- RYGMFSIKBFXOCR-UHFFFAOYSA-N Copper Chemical compound [Cu] RYGMFSIKBFXOCR-UHFFFAOYSA-N 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 102100031830 Afadin- and alpha-actinin-binding protein Human genes 0.000 description 1
- 101710182459 Afadin- and alpha-actinin-binding protein Proteins 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000001514 detection method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012544 monitoring process Methods 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Images
Landscapes
- Details Of Connecting Devices For Male And Female Coupling (AREA)
Abstract
Description
本発明は、USBコネクタ及びUSBコネクタを備えた再生装置に関する。 The present invention relates to a USB connector and a playback device including the USB connector.
パーソナルコンピュータと外部機器とを接続する汎用インターフェースとしてUSB(Universal Serial Bus)というインターフェースが存在する。USBは、シリアルポートやパラレルポートなどの中低速インターフェースを置き換える目的で登場したPC向けのシリアルインターフェースで、一台のパーソナルコンピュータ(PC;ホスト)が中心となってさまざまな周辺機器(ノード)を接続する形をとる。USBは、プラグアンドプレイに対応しており、接続する機器ごとの設定は必要ない。さらに、近年、USBの規格としてOn−The−Goと呼ばれる規格が登場し、PCを介することなく周辺機器同士を接続することも可能になっている。 An interface called USB (Universal Serial Bus) exists as a general-purpose interface for connecting a personal computer and an external device. USB is a serial interface for PCs that was introduced to replace medium- and low-speed interfaces such as serial ports and parallel ports. It connects various peripheral devices (nodes) around a single personal computer (PC). Take the form of USB supports plug-and-play and does not require settings for each connected device. Furthermore, in recent years, a standard called On-The-Go has appeared as a USB standard, and it has become possible to connect peripheral devices without using a PC.
USBの仕様は、USBインプリメンターズフォーラムによって制定されている。USBのコア仕様は、USBホスト、ハブ、デバイスおよび伝送路に関する共通仕様を規定している。具体的には、USB通信の概要、機能、バスドライバ、コネクタ、伝送路などの物理的および電気的仕様、プロトコル仕様、すべてのUSBデバイスがもつべき共通の標準デバイスリクエスト(コマンドとレスポンス仕様)などが記述されている。 The USB specification is established by the USB Implementers Forum. The USB core specifications prescribe common specifications for USB hosts, hubs, devices, and transmission paths. Specifically, USB communication overview, functions, physical and electrical specifications such as bus driver, connector, transmission path, protocol specifications, common standard device requests (command and response specifications) that all USB devices should have, etc. Is described.
USBの仕様では、信号線の状態も規定している。信号線の状態の一つには、サスペンド状態といわれるものがある。サスペンド状態とは、アイドリング時などに発生する信号線の状態である。ホストとクライアントとが通信を行っているとき、ホストは、クライアントに対してSOFという信号を1msごとに出力している。SOFは、ホストとクライアントとの通信の同期を取る信号である。サスペンド状態になると、ホストは、SOFの出力を停止し、信号線D+の出力をH、信号線D−の出力をLに切り替える。クライアントは、信号線の状態を監視し、信号線D+の出力がH、信号線D−の出力がLの状態が3ms以上続くと、USBがサスペンド状態に入ったことを検出する。 The USB specification also defines the state of signal lines. One of the signal line states is called a suspended state. The suspend state is a state of a signal line that occurs during idling. When the host and the client are communicating, the host outputs a signal called SOF to the client every 1 ms. The SOF is a signal for synchronizing communication between the host and the client. In the suspended state, the host stops the output of the SOF, and switches the output of the signal line D + to H and the output of the signal line D− to L. The client monitors the state of the signal line, and detects that the USB has entered the suspended state when the output of the signal line D + is H and the output of the signal line D− is L for 3 ms or more.
ホストは、アプリケーションからのサスペンド割り込みの発生をトリガとして、サスペンド状態への遷移を行う。サスペンド割り込みを発生する代表的なアプリケーションはOS(Operating System)である。OSは、ユーザからUSBデバイスの安全な取り外しを指示されたときやホスト起動のスタンバイ時、スリープ状態への移行時などにサスペンド割り込みを発生する。 The host makes a transition to the suspend state with the occurrence of a suspend interrupt from the application as a trigger. A typical application that generates a suspend interrupt is an OS (Operating System). The OS generates a suspend interrupt when instructed by the user to safely remove the USB device, at the time of standby when the host is started, or when entering the sleep state.
上述した場合のほかに、ユーザがUSBを挿入した瞬間やUSBを引き抜いた後も、信号線はサスペンド状態に遷移する。このように、サスペンド状態には、USBの抜き差しにより発生するものと、ホスト側の処理により発生するものがあるが、いずれのサスペンドであってもの信号線D+とD−の出力が同じであるため、信号線D+とD−の出力のみでは、引き抜きによるサスペンドであるか、サスペンド割り込みによるサスペンドであるか判断することができない。そこで、従来のデバイスは、信号線D+とD−のほかに、信号線VBusの出力を監視し、VBusが接続されているときにはサスペンド割り込みによるサスペンドであり、VBusが接続されていないときには引き抜きによるサスペンドであると判別している。 In addition to the case described above, the signal line transitions to the suspended state even when the user inserts the USB or after the USB is pulled out. As described above, the suspend state may be caused by USB insertion / removal, or may be caused by processing on the host side, but the output of the signal lines D + and D− is the same in any suspend state. Therefore, it is not possible to determine whether the suspension is due to extraction or suspension due to a suspend interrupt only by the output of the signal lines D + and D−. Therefore, the conventional device monitors the output of the signal line VBus in addition to the signal lines D + and D−, and suspends by a suspend interrupt when the VBus is connected, and suspends by pulling out when the VBus is not connected. It is determined that
しかしながら、USBが半抜き状態にあるときやUSBを引き抜く速度が遅いときには、信号線D+、D−が切断されて、信号線VBusが接続された状態になるので、信号線の状態のみでは、引き抜きによるサスペンドであるか割り込みによるサスペンドであるかを判断できないことがある。 However, when the USB is in a half-drawn state or when the USB is pulled out slowly, the signal lines D + and D- are disconnected and the signal line VBus is connected. It may not be possible to determine whether the suspension is due to interrupt or suspension due to an interrupt.
本発明は、USBの接続状態を確実に判別できるようにしたUSBコネクタ、及び上記USBコネクタを備える再生装置を提供することを目的とする。 It is an object of the present invention to provide a USB connector that can reliably determine a USB connection state, and a playback device including the USB connector.
本発明にかかるUSBコネクタは、電子機器の取り付けられ、USBプラグが接続されたときにUSBプラグの先端部分が到達する位置に先端部分の存在を検出するスイッチを備えている。 The USB connector according to the present invention includes a switch that detects the presence of the tip portion at a position where the tip portion of the USB plug reaches when the electronic device is attached and the USB plug is connected.
また、本発明にかかる再生装置は、光磁気ディスクに記録された情報を読み出す読出手段と、読出手段が読み出した情報を再生する再生手段と、USBコネクタとを備え、USBコネクタは、USBプラグが接続されたときに、USBプラグの先端部分が到達する位置に、先端部分の存在を検出するスイッチを備える。 The reproducing apparatus according to the present invention further comprises a reading means for reading information recorded on the magneto-optical disk, a reproducing means for reproducing the information read by the reading means, and a USB connector. A switch for detecting the presence of the tip portion is provided at a position where the tip portion of the USB plug reaches when connected.
本発明は、USBプラグの接続を検出するスイッチを設けたため、このスイッチの出力を基にUSBプラグの半抜きや緩慢な引き抜きを検出することができる。これにより、USBデバイスにおけるサスペンドの発生源の判別ミスを回避することができる。 In the present invention, since a switch for detecting the connection of the USB plug is provided, it is possible to detect half-drawing or slow pull-out of the USB plug based on the output of the switch. Thereby, it is possible to avoid a determination error of the suspend generation source in the USB device.
以下、本発明を適用したUSBコネクタ及びUSBプラグについて説明する。図1は、USBプラグの構造を示している。USBプラグは、USBケーブルの両端に設けられた端子であり、3つの形状が定義されている。図1(a)に示すUSBプラグ1はホスト側およびハブの下位ポートに挿入されるタイプ(Aタイプ)であり、図1(b)に示すUSBプラグ2はデバイス側(Bタイプ)に挿入されるタイプである。USBでは、異なる形状のプラグをUSBケーブルの両端に設けることにより、エンドユーザが間違った接続をすることを回避している。また、図1(c)に示すUSBプラグ3はミニBタイプと呼ばれ、Bタイプに比較して小さな形状をしている。ミニBタイプは、小さな筐体のハンドヘルドコンピュータやモバイル機器に適用される。
Hereinafter, a USB connector and a USB plug to which the present invention is applied will be described. FIG. 1 shows the structure of a USB plug. The USB plug is a terminal provided at both ends of the USB cable, and three shapes are defined. The USB plug 1 shown in FIG. 1A is a type (A type) inserted into the host side and the lower port of the hub, and the
図2は、AタイプのUSBプラグ1とUSBコネクタ4の構成を示す投射図、図3はAタイプのUSBコネクタ4の正面図と側面図である。USBコネクタ4は、デバイスの筐体に取り付けられている。USBコネクタ4とUSBプラグ1とは、オスとメスの関係になっている。USBプラグ1はオス側の端子であり、USBコネクタ4はメス側の端子である。USBコネクタ4には、USBプラグ1を挿入するための挿入口が設けられている。
FIG. 2 is a projection view showing the configuration of the A type USB plug 1 and the
USBコネクタ4は、デバイスの基板上に設けられており、コンタクトを介して基板にプリントされた銅線と接続している。この銅線は、デバイスのCPU(Central Processing Unit)の端子などと接続されており、基板上のチップと情報を送受信することができる。USBコネクタ4は、USBプラグ1の挿入口を形成するシェル44と、シェル44の内部に形成された端子板41とから構成される。端子板41は、平板な絶縁体42と信号線43とからなり、絶縁体42の表面には信号線43が貼り付けられている。端子板41は、USBプラグ挿入用の凹部の底面から開口部に向かって延出している。
The
図4は、AタイプのUSBプラグ1の正面図と側面図である。USBプラグ1は、図2左側に描画されている。USBプラグ1は、端子板11と、端子板の周囲を囲う金属板14とから形成されている。端子板11は、絶縁体12と、信号線13とから構成されており、絶縁体12の表面には信号線13が貼り付けられている。金属板14は、端子板11の信号線13の貼り付けられていない3面の表面と接触しており、信号線13が貼り付けられた面と金属板14との間は離間し、空間を形成している。この空間は、USBコネクタ4の端子板41の挿入口となる。USBプラグ1をUSBコネクタ4に挿入すると、端子41の信号線43と、端子板11の信号線13とが接続し、信号が伝達できるようになる。
FIG. 4 is a front view and a side view of the A type USB plug 1. The USB plug 1 is drawn on the left side of FIG. The USB plug 1 is formed of a
USBプラグ1に設けられる信号線13は、図5に示すように、PCからの電源であるVBusの信号線13a(1ピン)、D−の信号線13b(2ピン)、D+の信号線13c(3ピン)、GNDの信号線13d(4ピン)の4つのピンが順に並んでいる。このうち、VBus13aとGND13dの2つの信号線は、他の信号線よりも長さdだけ長くなっている。そのため、USBプラグ1をUSBコネクタ4から引き抜いたとき、両端の信号線(VBus、GND)は、内側の信号線(D−、D+)より、長さdの分だけ接続時間が長くなる。
As shown in FIG. 5, the
ところで、USB規格では、サスペンドと呼ばれる信号の状態が定義されている。サスペンドとは、ホストであるPCのスタンバイ時、ホストからUSBの安全な取り外しが可能となったとき、スイッチインターフェースコマンドが発行されたとき、USBプラグ1を挿入した瞬間、USBプラグ1を引き抜いたときなどにおきる信号状態である。サスペンドには、USBプラグ1の物理的な抜き差しによるサスペンドと、ソフトウェア的な処理をトリガとして生じるサスペンドとがある。 By the way, in the USB standard, a signal state called suspend is defined. Suspend is when the host PC is on standby, when it is possible to safely remove the USB from the host, when a switch interface command is issued, when the USB plug 1 is inserted, or when the USB plug 1 is pulled out It is a signal state that occurs in There are two types of suspending: suspending by physically plugging / unplugging the USB plug 1 and suspending triggered by software processing.
従来のホストやクライアントデバイスは、VBusの出力を監視し、VBusの出力がないときには、物理的な抜き差しによるサスペンドであり、VBusの出力があるときには、ソフトウェア的なサスペンドであると判断している。しかしながら、この判断方法では、USBプラグ1の半抜きや緩慢な引き抜きを検出することができない。なぜならば、USBプラグ1の信号線は、VBusとGNDが長く、D+とD−が短くなっており、USBプラグ1をゆっくり引き抜いたときやUSBプラグ1を半抜きにした場合、VBusとGNDが接続され、かつ、D+とD−が切断された状態になることがあるためである。USBコネクタ4に設けられた機械的なスイッチ45は、USBプラグ1の半抜きや緩慢な引き抜きを検出する機能を備える。
A conventional host or client device monitors the output of the VBus, and when there is no VBus output, it is determined that the suspension is based on physical insertion and removal, and when there is an output of the VBus, it is determined that the suspension is software. However, with this determination method, it is not possible to detect half extraction or slow extraction of the USB plug 1. This is because the signal line of the USB plug 1 has a long VBus and GND, and a short D + and D-. When the USB plug 1 is pulled out slowly or when the USB plug 1 is half-cut, the VBus and GND are This is because they may be connected and D + and D− may be disconnected. The
スイッチ45は、図6に示すように、USBコネクタ4のシェル44の内側壁に設けられており、USBプラグ1を奥まで挿入したとき、USBプラグの金属板14から受ける力により押し込まれる。スイッチ45は、USBコネクタ4の開口部側から開口部と逆側に向かって傾斜している。USBプラグ1を挿入すると、まず、金属板14の先端部分がスイッチ45の傾斜面に当接する。そして、USBプラグ1を押し込むにつれてスイッチ45が傾斜に沿って押し上がり、USBプラグ1を奥まで押し込んだときには、スイッチ45がONの状態(USBプラグ1が差し込まれたと検出される状態)になる。また、USBプラグ1を引き抜くときには、スイッチ45が徐々に押し戻され、スイッチ45がOFFの状態(USBプラグ1が差し込まれていないと検出される状態)になる。
As shown in FIG. 6, the
以上説明したように本発明を適用したUSBコネクタ4は、シェル44の内側壁にスイッチ45を設け、USBプラグ1の半抜きを検出する。これにより、サスペンドの発生源がUSBプラグ1の抜き差しか、ソフト的な処理によるサスペンドかを判別することができる。
As described above, the
ここで、図7を参照してスイッチ45の取り付け位置のその他の例について説明する。スイッチ45aとスイッチ45bは、USBコネクタのシェル44の内側壁に設けられる。USBプラグ1を挿入するとスイッチ45aとスイッチ45bは、USBプラグ1によって外側に押し出されスイッチがONになる。スイッチ45cとスイッチ45dは、USBプラグ1の金属板14の先端と接触する位置に設けられ、USBプラグ1を挿入したときにスイッチがONになる。
Here, another example of the mounting position of the
上述したスイッチ45a〜スイッチ45dは、USBプラグ1の挿入を検出する位置に設けられる。本発明は、スイッチの位置は、USBの抜き差しを検出できる位置であれば、図7に示した以外のところに設けてもよい。また、スイッチは、機械式でなくとも圧電素子からなるスイッチや発光素子と受光素子からなる光学的スイッチでもよい。また、この発明は、BタイプやミニBタイプのUSBコネクタやUSBプラグにも適用することができる。
The
次いで、上述したUSBコネクタ4をMD(登録商標:ミニディスク)プレーヤに適用した例について説明する。図8は、MDプレーヤ20の内部ブロックを示している。MDプレーヤ20は、メディアドライブ部21と、メモリ転送コントローラ22と、不揮発性メモリ23と、RAM24と、USBコネクタ4と、USBデバイスコントローラ26、システムコントローラ28と、オーディオ処理部29とを備える。MDプレーヤは、USBケーブル111を介してPC100と接続される。USBコネクタ4には、USBケーブル111の先端に設けられたUSBプラグ1が挿入される。
Next, an example in which the above-described
メディアドライブ部21は、装填された従来MD、次世代MD等の個々のMD90に対する記録/再生を行う。従来MDとは、音楽情報の記録を目的としたMDであり、変調方式がEFMである。また、次世代MDとは、音楽情報の記録領域の他にPCのストレージメディアとしての記録領域を備える。次世代MDの変調方式は、RLL(1−7)PPであり、従来MDよりも高密度になっている。
The media drive
USBデバイスコントローラ12は、USBの伝送制御を行う。RAM24は、メディアドライブ部21によってMD90のデータトラックから高密度データクラスタ単位で読み出されたデータをシステムコントローラ28の制御に基づいてバッファリングする。また、RAM24は、メディアドライブ部21によってMD90から読み出されたUTOCデータ、FATデータ、ユニークID、ハッシュ値等の各種管理情報や特殊情報をシステムコントローラ28の制御に基づいて記憶する。
The
システムコントローラ28は、USBを介して接続されたPC100との間で通信可能とされ、このPC100との間の通信制御を行って、書込要求、読出要求等のコマンドの受信やステイタス情報、その他の必要情報の送信等を行うとともに、MDプレーヤ20全体を統括制御している。
The
メモリ転送コントローラ22は、例えば、MD90がメディアドライブ部21に挿入された際に、MD90からの管理情報等の読出をメディアドライブ部21に指示し、読み出したPTOC、UTOC等の管理情報等をRAM24に格納させる。
For example, when the MD 90 is inserted into the
メモリ転送コントローラ22は、これらの管理情報を読み込むことによって、MD90のトラック記録状態を把握できる。また、FATを読み込ませることにより、データトラック内のクラスタ構造を把握でき、PC100からのデータトラックに対するアクセス要求に対応できる状態となる。
The
また、ユニークIDやハッシュ値により、ディスク認証処理及びその他の処理を実行したり、これらの値をPC100に送信し、PC100上でディスク認証処理及びその他の処理を実行させる。
Also, the disk authentication process and other processes are executed based on the unique ID and the hash value, or these values are transmitted to the
メモリ転送コントローラ22は、RAM24に記憶されているデータを記録データとしてメディアドライブ部21に転送させる。このとき、メディアドライブ部21は、装着されている媒体が従来MDであればEFM変調方式で、次世代MD1又は次世代MD2であればRLL(1−7)PP変調方式で記録データを変調して書き込む。
The
なお、本具体例として示すMDプレーヤ20において、上述した記録再生制御は、データトラックを記録再生する際の制御であり、MDオーディオデータ(オーディオトラック)を記録再生する際のデータ転送は、オーディオ処理部29を介して行われる。
In the
オーディオ処理部29は、入力系として、例えば、ライン入力回路/マイクロフォン入力回路等のアナログ音声信号入力部、A/D変換器、及びデジタルオーディオデータ入力部を備える。また、オーディオ処理部29は、ATRAC圧縮エンコーダ/デコーダ、圧縮データのバッファメモリを備える。さらに、オーディオ処理部29は、出力系として、デジタルオーディオデータ出力部、D/A変換器及びライン出力回路/ヘッドホン出力回路等のアナログ音声信号出力部を備えている。
The
MD90に対してオーディオトラックが記録されるのは、オーディオ処理部29にデジタルオーディオデータ(又は、アナログ音声信号)が入力される場合である。入力されたリニアPCMデジタルオーディオデータ、或いはアナログ音声信号で入力された後、A/D変換器で変換されて得られたリニアPCMオーディオデータは、ATRAC圧縮エンコードされ、バッファメモリに蓄積される。その後、所定タイミング(ADIPクラスタ相当のデータ単位)でバッファメモリから読み出され、メディアドライブ部21に転送される。
An audio track is recorded on the MD 90 when digital audio data (or an analog audio signal) is input to the
メディアドライブ部21では、転送された圧縮データをEFM変調方式又はRLL(1−7)PP変調方式で変調してMD90にオーディオトラックとして書き込む。メディアドライブ部21は、MD90からオーディオトラックを再生する場合、再生データをATRAC圧縮データ状態に復調してオーディオ処理部29に転送する。オーディオ処理部29は、ATRAC圧縮デコードを行ってリニアPCMオーディオデータとし、デジタルオーディオデータ出力部から出力する。或いは、D/A変換器によりアナログ音声信号としてライン出力/ヘッドホン出力を行う。
In the
なお、この図8に示す構成は、一例であって、例えば、MDプレーヤ20をPC100に接続してデータトラックのみ記録再生する外部ストレージ機器として使用する場合は、オーディオ処理部29は、不要である。
The configuration shown in FIG. 8 is an example. For example, when the
MDプレーヤ20は、図8に示すように、USBコネクタ4を備え、USBケーブル111を介して、PC100と接続でき、次世代MDをPC等の外部ストレージとして使用できる。すなわち、MDプレーヤ20のUSBコネクタ4と、PC100のUSBプラグに、USBケーブル111の両端のUSBプラグ1を挿入することにより、PC100とMDプレーヤ20とのUSB接続をすることができる。USBシステムでは、プラグアンドプレイをサポートしており、USBプラグ1をUSBコネクタ4に差し込むだけで、PC100は周辺機器の自動認識を行う。
As shown in FIG. 8, the
USB接続されたPC100は、MDのデータ管理する。MDには、音楽データを専門に格納するセキュアエリアと、PC100のストレージとしてのFAT(File Allocation Table)エリアとがある。PC100には、セキュアエリアのデータを管理する音楽管理ソフトと、FATエリアのデータを管理するファイル管理ソフトとがインストールされている。ファイル管理ソフトの代表的なものとしては、Windows(登録商標)のExplorerがある。音楽管理ソフトの代表的なものとしてはSonic Stageがある。ユーザは、PC100とMDプレーヤ20とをUSBケーブル111でつなぎ、MDのデータをPC100上で編集する。
The USB-connected
ところで、USBの規格では、サスペンドと呼ばれる信号状態が定義されている。サスペンドとは、USBの信号線D+がH、D−がLの状態が3ms以上続いたことをいう。サスペンドには、発生源にはソフトウェア的な処理と、ユーザのUSBの抜き差しによるものがある。本発明のMDプレーヤ20は、サスペンドの発生源を判別して、発生源に応じた処理を行う。
By the way, in the USB standard, a signal state called suspend is defined. Suspend means that the state in which the USB signal line D + is H and D- is L continues for 3 ms or more. In the suspend, the generation source includes software processing and the user's USB insertion / removal. The
MDプレーヤは、サスペンドの発生源がソフトウェア的な処理であるとき、MDプレーヤの動作を停止させる。ソフトウェア的なサスペンドは、PC100がスリープ状態に移行するとき、スタートメニューをスタンバイするとき、ユーザがPC100上でUSBデバイスの「安全な取り外し状態」への移行を指示したときなどに発生する。
The MD player stops the operation of the MD player when the suspend generation source is software processing. Software suspend occurs when the
なお、MDプレーヤは、自身の動作を停止させる前に、不揮発性メモリ23に設定情報を記録する。そのため、RAM24に格納した情報がリセットされても、不揮発性メモリ23に格納された設定情報を使用してサスペンド前の状態にすばやく復帰(レジュームと呼ぶ)することができる。
Note that the MD player records the setting information in the
上述したサスペンドの他に、物理的なサスペンドもある。USBを引き抜いたことによる物理的なサスペンド状態に移行した場合、MDプレーヤ20は、自身の動作を停止させないようになっている。これは、ユーザがUSBを引き抜いた後に、継続して使用する可能性が高いためである。本発明を適用したMDプレーヤ20は、USBにスイッチを設け、USBの抜き差しの有無を確実に判断する。そして、この判断結果を用いて、MDプレーヤ20やPC100の内部処理を決定する。
In addition to the suspend described above, there is a physical suspend. When a transition is made to a physical suspend state due to the USB being pulled out, the
以下、図9のフローチャートを参照して、信号線の状態がサスペンド状態となったときにおけるMDプレーヤ20の処理について説明する。サスペンドとは、信号線D+=H、D−=Lの状態が3ms以上続いた状態をいう。MDプレーヤ20は、信号線のサスペンドを検出すると(ステップS11)、まず、自己の駆動電源がVBusのみか否かを検出する。自己の駆動電源がVBusのみである場合(ステップS12;YES)、MDプレーヤ20は、MDプレーヤ20の動作を停止させる処理を開始する。システムコントローラ28は、この処理において、まず、RAM24に格納された現在の設定情報を不揮発性メモリ23に記録する(ステップS13)。そして、MDプレーヤ20の電源を遮断する(ステップS14)。この状態をMDプレーヤ20のスタンバイ状態と呼ぶ。また、スタンバイ状態のMDプレーヤ20に再度電源を投入することをレジュームと呼ぶ。MDプレーヤ20は、PC100もしくはシステムコントローラ28からのレジューム割り込みを入力するとレジュームを開始する(ステップS15)。システムコントローラ28は、レジュームを開始時に不揮発性メモリ23に記録された設定情報を読出してサスペンド前の状態を復帰させる(ステップS16)。
Hereinafter, the processing of the
一方、自己の駆動電源がVBusの他に存在する場合(ステップS12;NO)、MDプレーヤ20は、サスペンドの発生源を判別する処理を開始する。サスペンドの発生源には、PC100やシステムコントローラ28からのコマンドなどのソフトウェア的な発生源と、USBの引き抜きのような物理的な発生源とがある。システムコントローラ28は、サスペンドの発生源が物理的な引き抜きであるか否かを判別して、物理的な引き抜きでないときソフトウェア的な処理が発生源であると判別する。サスペンドが物理的な引き抜きによって発生したと判別する方法には、VBusの出力を検出する方法と、スイッチの出力を検出する方法とがある。MDプレーヤ20は、この2つの方法の両方を用いてサスペンドの発生源を判別する。
On the other hand, when its own drive power supply exists in addition to VBus (step S12; NO), the
2つの方法は、何れの方法から開始してもよいが、この実施例では、まず、VBusの検出を行う。システムコントローラ28は、信号線がサスペンド状態に入ってから数十から数百ms待機したのち(ステップS17)、VBusの検出を行う。VBusの検出を待機するのは、以下の理由に基づく。上述したように、信号線D+と信号線D−は、VBusとGNDより長さdだけ短くなっている。そのため、信号線D+と信号線D−の接続が切断されても、VBusは接続したままである時間が存在する。この時間がおよそ数十から数百msである。システムコントローラ28は、この時間を待機し、USBを引き抜きが完了したタイミングで、VBusが供給されているか否かを検出する。ここで、VBusが供給されている場合には、USBは物理的に接続されており、VBusが供給されていないときは、USBが引き抜かれたといえる。USBが物理的に接続されている場合は、ソフトウェア的なサスペンドであり、USBが物理的に接続されていない場合は、引き抜きによるサスペンドである判別する。MDプレーヤ20は、このようにして第1の判別を終了する(ステップS18)。
The two methods may be started from either method, but in this embodiment, VBus is first detected. The
第1の判別では、USBが半抜きの場合やUSBをゆっくり抜いたときに、USBの引き抜きを検出することができない。そこで、この第2の判別方法では、デバイス側のUSBコネクタ14に設けたスイッチが半抜きの状態や緩慢な引き抜きを検出するようになっている(ステップS19)。
In the first determination, when the USB is half-drawn or when the USB is slowly pulled out, it is not possible to detect the USB pull-out. Therefore, in the second determination method, the switch provided on the
システムコントローラ28は、第1の判別でVBusの供給があり、第2の判別でUSBが接続されていると検出したとき(ステップS18;YES、ステップS19;NO)、ソフトウェア的な処理によってサスペンド状態に移行したと判別する。システムコントローラ28は、サスペンドがソフトウェア的な処理によって発生したと判断すると(ステップS20)、ステップS13に処理を移行してMDプレーヤの動作を停止させる。
When the
一方、システムコントローラ28は、第1の判別でVBusが検出されず、第2の判別でUSBが引き抜かれたと検出したとき(ステップS18;NO、ステップS19;NO)、サスペンドの発生源はUSBの引き抜きであると判断し(ステップS21)、電源供給源をVBusから他の電源に切り替える(ステップS22)。他の電源には、内蔵電池や電源ケーブルなどがある。電源が供給されると、システムコントローラ28は、MDのシステムリードを行う(ステップS23)。MDのシステムリードが完了すると、MDの再生、記録、編集などが出来るようになる。このように、このMDプレーヤ20では、ユーザがUSBを引き抜いたときにMDプレーヤ20自身の動作を停止させるのではなく、PC100から分離したMDプレーヤ20をユーザが使用できる状態にさせる。
On the other hand, when the
一方、システムコントローラ28は、第1の判別でVBusが接続されており、第2の判別でUSBが引き抜かれたと検出したとき(ステップS13;YES、ステップS14;NO)、USBは半抜き状態またはゆっくり引き抜かれたと判別する(ステップS21)。この場合、システムコントローラ28は、USBが引き抜かれたものとして、ステップS22に処理を移行し、MDプレーヤ20を使用できる状態にさせる。
On the other hand, when the
以上説明したように、本発明を適用したMDプレーヤ20は、USBの信号状態がサスペンド状態になったときに、このサスペンドがUSBの引き抜きによって発生したものか、ソフトウェア的な処理によって発生したものかを判断する。そして、この判断結果に応じて、MDプレーヤ20の制御を決定する。
As described above, in the
本発明を適用したMDプレーヤ20は、サスペンドの発生源を判別するためのスイッチ45をUSBコネクタ4に設けている。これにより、信号線13の監視のみでは検出できなかった半抜きや緩慢な引き抜きを確実に検出することができる。
In the
また、本発明では、USBプラグ1の引き抜きによるサスペンドが発生したときには、MDプレーヤ20を使用可能な状態にさせる。これは、PC100上でMDを編集した後、USBプラグ1を引き抜いてそのまま使用する可能性が高いためこのような仕様にしている。しかしながら、仕様とは、ユーザの要求に合わせたものであるため、ユーザの要望の変化に応じて変更させてもよい。
Further, in the present invention, when the suspend due to the pulling out of the USB plug 1 occurs, the
1 USBプラグ、4 USBコネクタ、11 端子板、12 絶縁体、13a VBus、13b D−、13c D+、13d GND、14 金属板、20 MDプレーヤ、21 メディアドライブ部、22 メモリ転送コントローラ、23 不揮発性メモリ、24 RAM、26 USBデバイスコントローラ、28 システムコントローラ、29 オーディオ処理部、41 端子板、42 絶縁体、43 信号線、44 シェル、45 スイッチ 1 USB plug, 4 USB connector, 11 terminal board, 12 insulator, 13a VBus, 13b D-, 13c D +, 13d GND, 14 metal plate, 20 MD player, 21 media drive unit, 22 memory transfer controller, 23 non-volatile Memory, 24 RAM, 26 USB device controller, 28 System controller, 29 Audio processing unit, 41 Terminal board, 42 Insulator, 43 Signal line, 44 Shell, 45 Switch
Claims (9)
USBプラグが接続されたときに、該USBプラグの先端部分が到達する位置に、該先端部分の存在を検出するスイッチを備えるUSBコネクタ。 In USB (Universal Serial Bus) connectors attached to electronic devices,
A USB connector comprising a switch for detecting the presence of a tip portion at a position where the tip portion of the USB plug reaches when the USB plug is connected.
上記読出手段が読み出した情報を再生する再生手段と、
USBコネクタとを備え、
上記USBコネクタは、
USBプラグが接続されたときに、該USBプラグの先端部分が到達する位置に、該先端部分の存在を検出するスイッチを備えることを特徴する再生装置。 Reading means for reading information recorded on the magneto-optical disk;
Reproducing means for reproducing the information read by the reading means;
With a USB connector,
The USB connector is
A playback device comprising a switch for detecting the presence of a tip portion at a position where the tip portion of the USB plug reaches when the USB plug is connected.
上記USBコネクタの信号線がサスペンド状態であり、かつ、上記USBプラグが接続されていないと判別したときには、上記サスペンド状態がUSBプラグの引き抜きにより発生したと判別することを特徴とする請求項5記載の再生装置。 The control means includes
6. The method according to claim 5, wherein when it is determined that the signal line of the USB connector is in a suspended state and the USB plug is not connected, it is determined that the suspended state is generated by pulling out the USB plug. Playback device.
上記サスペンド状態がUSBプラグの引き抜きにより発生したと判別した場合、
上記読出手段に上記光磁気ディスクに記録された該光磁気ディスクの管理情報を読み出させ、上記管理情報を基に上記光磁気ディスクに記録された情報が再生できるような状態にさせることを特徴とする請求項6記載の再生装置。 The control means includes
If it is determined that the suspend state has occurred due to the USB plug being pulled out,
The reading means causes the management information of the magneto-optical disk recorded on the magneto-optical disk to be read out so that the information recorded on the magneto-optical disk can be reproduced based on the management information. The playback apparatus according to claim 6.
上記サスペンド状態がUSBプラグの引き抜き以外の原因で発生したと判別した場合、
上記制御手段は、上記USBコネクタを介した通信時に使用される設定情報を記憶手段に記憶させた後、当該再生装置の動作を停止させることを特徴とする請求項6記載の再生装置。 The control means includes
If it is determined that the suspend state has occurred for a reason other than pulling out the USB plug,
7. The playback apparatus according to claim 6, wherein the control means stores setting information used during communication via the USB connector in the storage means, and then stops the operation of the playback apparatus.
上記信号線にレジューム割り込み信号が発生したとき、当該再生装置を起動させるとともに、上記記憶手段に記憶させた設定情報を読み出して上記USBコネクタを介して通信可能な状態にすることを特徴とする請求項8記載の再生装置。 The control means includes
When a resume interrupt signal is generated on the signal line, the playback device is activated, and setting information stored in the storage unit is read out so that communication is possible via the USB connector. Item 9. The playback device according to Item 8.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004048397A JP2005242476A (en) | 2004-02-24 | 2004-02-24 | Usb connector and reproducing device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
JP2004048397A JP2005242476A (en) | 2004-02-24 | 2004-02-24 | Usb connector and reproducing device |
Publications (1)
Publication Number | Publication Date |
---|---|
JP2005242476A true JP2005242476A (en) | 2005-09-08 |
Family
ID=35024185
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
JP2004048397A Withdrawn JP2005242476A (en) | 2004-02-24 | 2004-02-24 | Usb connector and reproducing device |
Country Status (1)
Country | Link |
---|---|
JP (1) | JP2005242476A (en) |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2009099006A1 (en) * | 2008-02-08 | 2009-08-13 | Tyco Electronics Amp K. K. | Connector with switch |
JP2012013773A (en) * | 2010-06-29 | 2012-01-19 | Canon Inc | Image formation device |
KR101163997B1 (en) * | 2010-11-26 | 2012-07-18 | (주)에스피에스 | Universal serial bus connector for sensing insertion |
KR101315735B1 (en) | 2007-12-17 | 2013-10-08 | 현대자동차주식회사 | Safety apparatus of USB port of vehicle |
US8690608B2 (en) | 2011-06-20 | 2014-04-08 | Japan Aviation Electronics Industry Limited | Special USB plug having different structure from standard USB plug and USB receptacle matable with the special USB plug |
US8814583B2 (en) | 2012-02-29 | 2014-08-26 | Japan Aviation Electronics Industry, Limited | USB connector |
JP2018005807A (en) * | 2016-07-08 | 2018-01-11 | セイコーエプソン株式会社 | Electronic apparatus |
CN108270114A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of interface protector and mobile terminal |
CN114982071A (en) * | 2020-05-04 | 2022-08-30 | 株式会社Lg新能源 | connector module |
-
2004
- 2004-02-24 JP JP2004048397A patent/JP2005242476A/en not_active Withdrawn
Cited By (17)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101315735B1 (en) | 2007-12-17 | 2013-10-08 | 현대자동차주식회사 | Safety apparatus of USB port of vehicle |
CN101971435B (en) * | 2008-02-08 | 2013-06-19 | 泰科电子日本合同会社 | Connector with switch |
JP2009187899A (en) * | 2008-02-08 | 2009-08-20 | Tyco Electronics Amp Kk | Connector with switch |
CN101971435A (en) * | 2008-02-08 | 2011-02-09 | 泰科电子日本合同会社 | Connector with switch |
US7985096B2 (en) | 2008-02-08 | 2011-07-26 | Tyco Electronics Japan G.K. | Connector with switch |
WO2009099006A1 (en) * | 2008-02-08 | 2009-08-13 | Tyco Electronics Amp K. K. | Connector with switch |
JP2012013773A (en) * | 2010-06-29 | 2012-01-19 | Canon Inc | Image formation device |
WO2012070862A3 (en) * | 2010-11-26 | 2012-08-23 | ㈜에스피에스 | Usb connector for sensing insertion |
KR101163997B1 (en) * | 2010-11-26 | 2012-07-18 | (주)에스피에스 | Universal serial bus connector for sensing insertion |
US8690608B2 (en) | 2011-06-20 | 2014-04-08 | Japan Aviation Electronics Industry Limited | Special USB plug having different structure from standard USB plug and USB receptacle matable with the special USB plug |
US8814583B2 (en) | 2012-02-29 | 2014-08-26 | Japan Aviation Electronics Industry, Limited | USB connector |
JP2018005807A (en) * | 2016-07-08 | 2018-01-11 | セイコーエプソン株式会社 | Electronic apparatus |
CN108270114A (en) * | 2016-12-30 | 2018-07-10 | 维沃移动通信有限公司 | A kind of interface protector and mobile terminal |
CN114982071A (en) * | 2020-05-04 | 2022-08-30 | 株式会社Lg新能源 | connector module |
JP2023503972A (en) * | 2020-05-04 | 2023-02-01 | エルジー エナジー ソリューション リミテッド | connector module |
JP7468933B2 (en) | 2020-05-04 | 2024-04-16 | エルジー エナジー ソリューション リミテッド | Connector Module |
US12308553B2 (en) | 2020-05-04 | 2025-05-20 | Lg Energy Solution, Ltd. | Connector module |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
KR101329307B1 (en) | Apparatus and method for controlling USB operation | |
JP3099627U (en) | Multiple silicon disk driver | |
KR101318512B1 (en) | Dedicated power supply apparatus, terminal, power supply system, and power supply method | |
JP2002062990A (en) | Interface device | |
JP2005242476A (en) | Usb connector and reproducing device | |
JP3140192U (en) | Transmission cable for transmitting E-SATA signal and power | |
KR20040074491A (en) | Hot plug signal generation apparatus and method | |
KR100850714B1 (en) | Apparatus for and method of controlling USB connection, and apparatus for and method of data processing | |
JP2009271924A (en) | Removable storage accelerator device | |
CN109074141B (en) | Computing device with hot plug prediction circuit | |
JP4429187B2 (en) | Information processing apparatus, imaging apparatus, and system | |
JP6693417B2 (en) | Reader / writer device, information processing device, data transfer control method, and program | |
US20020172115A1 (en) | Disk drive device | |
WO2006110108A1 (en) | Data storage device with audio capability | |
JP2004055102A (en) | Large capacity storage medium provided with storage card conversion interface | |
JP4131241B2 (en) | Playback device | |
CN101266536A (en) | Detection device | |
JP2001350548A (en) | Power control circuit of external storage device | |
CN202049741U (en) | Multimedia playing system | |
US20040240791A1 (en) | Optical disk reproducing device | |
JP3093136U (en) | Large-capacity storage carrier | |
KR20070075442A (en) | Optical disc drive using an external memory device | |
KR19990073521A (en) | Drive Device of Media Card | |
US20090187685A1 (en) | Information recording apparatus | |
JP2006155029A (en) | Hard disk control device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
A300 | Withdrawal of application because of no request for examination |
Free format text: JAPANESE INTERMEDIATE CODE: A300 Effective date: 20070501 |