JP2007049273A - Host controller - Google Patents

Host controller Download PDF

Info

Publication number
JP2007049273A
JP2007049273A JP2005229354A JP2005229354A JP2007049273A JP 2007049273 A JP2007049273 A JP 2007049273A JP 2005229354 A JP2005229354 A JP 2005229354A JP 2005229354 A JP2005229354 A JP 2005229354A JP 2007049273 A JP2007049273 A JP 2007049273A
Authority
JP
Japan
Prior art keywords
signal
host
reflected wave
differential
disconnection
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
Application number
JP2005229354A
Other languages
Japanese (ja)
Inventor
Fumikazu Komatsu
史和 小松
Shoichiro Kasahara
昌一郎 笠原
Mitsuaki Sawada
光章 澤田
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.)
Seiko Epson Corp
Original Assignee
Seiko Epson 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 Seiko Epson Corp filed Critical Seiko Epson Corp
Priority to JP2005229354A priority Critical patent/JP2007049273A/en
Publication of JP2007049273A publication Critical patent/JP2007049273A/en
Withdrawn legal-status Critical Current

Links

Images

Landscapes

  • Dc Digital Transmission (AREA)

Abstract

<P>PROBLEM TO BE SOLVED: To provide a host controller including a cut detection circuit for detecting cut between a host and a device with high precision and low power consumption. <P>SOLUTION: The host controller 400 includes a cut detection circuit 52-3 for detecting cut state between a host and a device by detecting the reflected wave of a frame packet occurring when a state where the host and the device are connected through a connection cable changes to a state where the device is cut from the connection cable. The cut detection circuit 52-3 compares the voltage level at a given timing after the frame packet of a first differential signal DP out of a pair of first and second differential signals DP and DM with a reflected wave comparison voltage RCV. If the voltage level at a given timing of at least one of the first and second differential signals DP and DM is higher than the reflected wave comparison voltage RCV, cut state between the host and the device is detected. <P>COPYRIGHT: (C)2007,JPO&INPIT

Description

本発明は、ホストコントローラに関する。   The present invention relates to a host controller.

近年、パーソナルコンピュータと周辺機器(広義には、電子機器)とを接続するためのインタフェース規格として、USB(Universal Serial Bus)が注目を集めている。このUSBには、従来は別々の規格のコネクタで接続されていたマウスやキーボードやプリンタなどの周辺機器を、同じ規格のコネクタで接続できると共にいわゆるプラグ&プレイやホットプラグも実現できるという利点がある。   In recent years, USB (Universal Serial Bus) has attracted attention as an interface standard for connecting a personal computer and peripheral devices (electronic devices in a broad sense). This USB has the advantage that peripheral devices such as mice, keyboards, and printers that were conventionally connected with connectors of different standards can be connected with connectors of the same standard, and so-called plug and play and hot plug can be realized. .

一方、このUSBには、同じくシリアルバスインタフェース規格として脚光を浴びているIEEE1394に比べて、転送速度が遅いという問題点がある。   On the other hand, this USB has a problem that the transfer speed is lower than that of IEEE 1394, which is also in the spotlight as a serial bus interface standard.

そこで、従来のUSB1.1の規格に対する下位互換性を持ちながら、USB1.1に比べて格段に高速な480Mbps(HS(High Speed)モード)のデータ転送速度を実現できるUSB2.0規格が策定され、注目を浴びている。また、USB2.0の物理層回路や論理層回路のインタフェース仕様を定義したUTMI(USB2.0 Transceiver Macrocell Interface)も策定されている。   Therefore, the USB 2.0 standard has been established that can realize a data transfer speed of 480 Mbps (HS (High Speed) mode) that is much faster than USB 1.1 while having backward compatibility with the conventional USB 1.1 standard. , Attracting attention. In addition, UTMI (USB 2.0 Transceiver Macrocell Interface) that defines interface specifications for USB 2.0 physical layer circuits and logic layer circuits has been established.

このUSB2.0では、従来のUSB1.1で定義されていたFS(Full Speed)モードに加えて、上述したHSモードと呼ばれる転送モードが用意されている。このHSモードでは480Mbpsでデータ転送が行われるため、12Mbpsでデータ転送が行われるFSモードに比べて格段に高速なデータ転送を実現できる。従って、USB2.0によれば、高速な転送速度が要求されるハードディスクドライブや光ディスクドライブなどのストレージ機器に最適なインタフェースを提供できるようになる。   In USB 2.0, in addition to the FS (Full Speed) mode defined in the conventional USB 1.1, a transfer mode called the HS mode described above is prepared. Since data transfer is performed at 480 Mbps in the HS mode, data transfer can be performed at a much higher speed than the FS mode in which data transfer is performed at 12 Mbps. Therefore, according to USB 2.0, an optimum interface can be provided for a storage device such as a hard disk drive or an optical disk drive that requires a high transfer speed.

ただし、USB2.0では、USB1.1よりも高速に小振幅の信号が転送される。周波数の高い小振幅の信号は、伝送路の品質やホスト及びデバイスの終端抵抗によって大きく影響を受ける。従って、USB2.0においてホストコントローラは、このような影響を受けやすい小振幅の信号に対してもホスト−デバイス間の切断検出を高精度に行える切断検出回路が必要となる。   However, in USB 2.0, a signal having a small amplitude is transferred faster than USB 1.1. A small amplitude signal having a high frequency is greatly affected by the quality of the transmission line and the termination resistance of the host and the device. Therefore, in USB 2.0, the host controller needs a disconnection detection circuit capable of detecting the disconnection between the host and the device with high accuracy even for such a small amplitude signal that is easily affected.

なお、特許文献1には、差動信号線の2つの電圧の差が設定値よりも大きいか小さいかを判定するためのウインドウ電圧コンパレータが開示されている。また、特許文献2には、差動対の受信信号の有無を検出するスケルチ回路を設け、差動対の切断検出を、一方の電圧レベルを用いて検出することが開示されている。
特開2002−232273号公報 特開2002−344540号公報
Patent Document 1 discloses a window voltage comparator for determining whether a difference between two voltages of a differential signal line is larger or smaller than a set value. Patent Document 2 discloses that a squelch circuit that detects the presence / absence of a reception signal of a differential pair is provided, and detection of disconnection of the differential pair is detected using one voltage level.
JP 2002-232273 A JP 2002-344540 A

本発明は、以上のような技術的課題に鑑みてなされたものであり、その目的とするところは、低消費電力でホスト−デバイス間の切断検出を高精度に行える切断検出回路を含むホストコントローラを提供することにある。   The present invention has been made in view of the above technical problems, and an object of the present invention is to provide a host controller including a disconnection detection circuit that can detect disconnection between a host and a device with low power consumption and high accuracy. Is to provide.

本発明は、バスを介して差動信号対によるデータ転送を行い、所与の規格で規定されたフレームパケットを前記所与の規格で規定された間隔でデバイス側に送信するホストコントローラであって、ホストとデバイスが接続ケーブルを介して接続されている状態からデバイスが接続ケーブルから切断された状態に変化する際に生じる前記フレームパケットの反射波を検出してホスト−デバイス間の切断状態を検出する切断検出回路を含み、前記切断検出回路は、前記差動信号対を構成する第1及び第2の差動信号のうち、前記第1の差動信号の前記フレームパケットの後の所与のタイミングでの電圧レベルと反射波比較電圧を比較し、前記第2の差動信号の前記フレームパケットの後の所与のタイミングでの電圧レベルと前記反射波比較電圧を比較し、前記第1及び第2の差動信号の少なくとも一方の前記所与のタイミングでの電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出するホストコントローラに関する。   The present invention provides a host controller that performs data transfer by a differential signal pair via a bus and transmits frame packets defined by a given standard to a device side at intervals defined by the given standard. The host-device disconnection state is detected by detecting the reflected wave of the frame packet that is generated when the host and device are connected via the connection cable to the device being disconnected from the connection cable. A disconnection detection circuit configured to perform a given signal after the frame packet of the first differential signal among the first and second differential signals constituting the differential signal pair. The voltage level at the timing and the reflected wave comparison voltage are compared, and the voltage level and the reflected wave comparison voltage at a given timing after the frame packet of the second differential signal are compared. On the other hand, if the voltage level at the given timing of at least one of the first and second differential signals is higher than the reflected wave comparison voltage, the host that detects the disconnection state between the host and the device Concerning the controller.

これにより、フレームパケットが反射波の影響を受け、フレームパケット中の差動信号の電圧レベルを監視しても切断状態を検出できない場合であっても、ホスト−デバイス間の切断状態を検出することができる。また、このようにすることで、第1、第2の差動信号の少なくとも一方の反射波の電圧レベルが反射波比較電圧よりも高い場合に切断検出を行うことができるため、第1又は第2の差動信号のどちらか片方しか監視しない場合に比べて精度の高い切断検出が可能となる。   Thus, even when the frame packet is affected by the reflected wave and the disconnection state cannot be detected even if the voltage level of the differential signal in the frame packet is monitored, the disconnection state between the host and the device is detected. Can do. Further, by doing this, it is possible to perform disconnection detection when the voltage level of at least one reflected wave of the first and second differential signals is higher than the reflected wave comparison voltage. As compared with the case where only one of the two differential signals is monitored, the disconnection detection can be performed with higher accuracy.

また、本発明では、前記切断検出回路は、前記第1の差動信号を受け、前記第1の差動信号の前記フレームパケットの後の所与のタイミングでの電圧レベルと前記反射波比較電圧を比較し、前期所与のタイミングでの前記第1の差動信号の電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第1の反射波比較器と、前記第2の差動信号を受け、前記第2の差動信号の前記フレームパケットの後の所与のタイミングでの電圧レベルと前記反射波比較電圧を比較し、前期所与のタイミングでの前記第2の差動信号の電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第2の反射波比較器と、を含み、前記切断検出回路は、前記第1及び第2の反射波比較器の少なくとも一方がホスト−デバイス間の切断を検出した場合にホスト−デバイス間の切断を検出するようにしてもよい。   Also, in the present invention, the disconnection detection circuit receives the first differential signal, the voltage level of the first differential signal at a given timing after the frame packet and the reflected wave comparison voltage When the voltage level of the first differential signal at a given timing in the previous period is higher than the reflected wave comparison voltage, the first reflected wave comparison for detecting the disconnection state between the host and the device And receiving the second differential signal, comparing the reflected wave comparison voltage with a voltage level at a given timing after the frame packet of the second differential signal, And a second reflected wave comparator for detecting a disconnection state between the host and the device when the voltage level of the second differential signal at the terminal is higher than the reflected wave comparison voltage. The circuit compares the first and second reflected waves. At least one of host - when detecting a disconnection between the device host - may be detected disconnection between devices.

このようにすることで、切断検出回路は第1、第2の差動信号のいずれかの反射波の電圧レベルが反射波比較電圧より高い場合にも確実に切断状態を検出することができる。また、第1、第2の差動信号が供給される側に第1、第2の反射波比較器を接続することで、第1、第2の差動信号に影響する寄生容量のバランスを整えることができ、第1、第2の差動信号のいずれか一方側に反射波比較器を設ける場合よりも差動信号の信号品質を良好にすることができる。   By doing in this way, the cutting | disconnection detection circuit can detect a cutting | disconnection state reliably also when the voltage level of the reflected wave of either the 1st or 2nd differential signal is higher than a reflected wave comparison voltage. Further, by connecting the first and second reflected wave comparators to the side where the first and second differential signals are supplied, the balance of the parasitic capacitance that affects the first and second differential signals is balanced. The signal quality of the differential signal can be improved compared to the case where the reflected wave comparator is provided on either one of the first and second differential signals.

また、本発明では、前記第1の差動信号を受け、前記第1の差動信号の電圧レベルと前記反射波比較電圧を比較し、前期第1の差動信号の電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第1の反射波比較器と、前記第2の差動信号を受け、前記第2の差動信号の電圧レベルと前記反射波比較電圧を比較し、前期第2の差動信号の電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第2の反射波比較器と、前記第1、第2の反射波比較器の出力信号の論理和結果を反射波検出用信号に基づいてラッチするラッチ回路と、を含み、前記反射波検出用信号は、前記フレームパケットが送信された後の所与のタイミングでアクティブに設定され、アクティブに設定された前期反射波検出用信号に基づいて前記ラッチ回路は前記論理和結果をラッチし、前記切断検出回路は、前記第1及び第2の反射波比較器の少なくとも一方がホスト−デバイス間の切断を検出した場合にホスト−デバイス間の切断を検出するようにしてもよい。   In the present invention, the first differential signal is received, the voltage level of the first differential signal is compared with the reflected wave comparison voltage, and the voltage level of the first differential signal in the previous period is the reflected wave. When the voltage is higher than the comparison voltage, the first reflected wave comparator for detecting the disconnection state between the host and the device, the second differential signal, the voltage level of the second differential signal, and the second differential signal are received. A second reflected wave comparator for comparing a reflected wave comparison voltage and detecting a disconnection state between the host and the device when the voltage level of the second differential signal in the previous period is higher than the reflected wave comparison voltage; A latch circuit that latches the logical sum of the output signals of the first and second reflected wave comparators based on the reflected wave detection signal, wherein the frame packet is transmitted as the reflected wave detection signal Set to active at a given time after The latch circuit latches the logical sum result based on the reflected wave detection signal set in the previous period, and the disconnection detection circuit is configured such that at least one of the first and second reflected wave comparators is a host-device. When disconnection between the host and the device is detected, disconnection between the host and the device may be detected.

また、本発明では、前記切断検出回路は、前記第1の差動信号を受け、前記第1の差動信号の前記フレームパケット中の前記所与の範囲に対応する電圧レベルと前記比較電圧とを比較し、前記所与の範囲に対応する前記第1の差動信号の電圧レベルが前記比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第1の比較器と、前記第2の差動信号を受け、前記第2の差動信号の前記フレームパケット中の前記所与の範囲に対応する電圧レベルと前記比較電圧とを比較し、前記所与の範囲に対応する前記第2の差動信号の電圧レベルが前記比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第2の比較器と、を含み、前記切断検出回路は、前記第1及び第2の比較器の少なくとも一方がホスト−デバイス間の切断を検出した場合にホスト−デバイス間の切断を検出するようにしてもよい。   Also, in the present invention, the disconnection detection circuit receives the first differential signal, a voltage level corresponding to the given range in the frame packet of the first differential signal, and the comparison voltage A first comparator for detecting a disconnection state between the host and the device when the voltage level of the first differential signal corresponding to the given range is higher than the comparison voltage; The second differential signal is received, the voltage level corresponding to the given range in the frame packet of the second differential signal is compared with the comparison voltage, and the second differential signal corresponds to the given range. A second comparator for detecting a disconnection state between a host and a device when the voltage level of the second differential signal is higher than the comparison voltage, and the disconnection detection circuit includes the first differential signal. And at least one of the second comparators is a host-device When detecting the disconnection between the host - it may be detected disconnection between devices.

このようにすることで、切断検出回路は第1、第2の差動信号のいずれかの電圧レベルが比較電圧より高い場合にも確実に切断状態を検出することができる。また、第1、第2の差動信号が供給される側に第1、第2の比較器を接続することで、第1、第2の差動信号に影響する寄生容量のバランスを整えることができ、第1、第2の差動信号のいずれか一方側に比較器を設ける場合よりも差動信号の信号品質を良好にすることができる。   In this way, the disconnection detection circuit can reliably detect the disconnection state even when the voltage level of either the first or second differential signal is higher than the comparison voltage. In addition, by connecting the first and second comparators to the side where the first and second differential signals are supplied, the parasitic capacitance affecting the first and second differential signals is balanced. Thus, the signal quality of the differential signal can be made better than when a comparator is provided on either one of the first and second differential signals.

また、本発明では、前記切断検出回路は、前記切断検出回路のイネーブル制御を行うためのイネーブル信号を受け、前記イネーブル信号は、ホストコントローラ側の送信回路の定電流源がオンに設定され、且つ、前記フレームパケットがホストからデバイスに送信される場合に、アクティブに設定され、前記フレームパケットが送信されない場合にはノンアクティブに設定され、前記切断検出回路は、前記イネーブル信号がアクティブに設定される場合には、ホスト−デバイス間の切断状態を監視し、前記イネーブル信号がノンアクティブに設定される場合には、その動作がオフ状態に設定されるようにしてもよい。   Also, in the present invention, the disconnection detection circuit receives an enable signal for performing enable control of the disconnection detection circuit, and the enable signal is set to turn on a constant current source of a transmission circuit on the host controller side, and When the frame packet is transmitted from the host to the device, it is set to active, and when the frame packet is not transmitted, it is set to inactive, and the disconnection detection circuit sets the enable signal to active. In such a case, the disconnection state between the host and the device may be monitored, and when the enable signal is set to non-active, the operation may be set to the off state.

このようにすることで、効率よく切断検出回路の動作を制御できる。例えば切断状態を監視する必要の無い場合などに切断検出回路に無駄な電流を流さずにすむため、消費電力の低減が可能となる。また、フレームパケット中の所与の範囲に対応する差動信号の電圧レベルを比較電圧と比較するため、フレームパケットが送信されない場合には切断検出回路の動作をオフにすることができる。従って、切断検出回路に無駄な電流が流れることを抑えることができ、消費電力の低減が可能となる。   By doing in this way, operation | movement of a cutting | disconnection detection circuit can be controlled efficiently. For example, when it is not necessary to monitor the disconnection state, it is not necessary to send a wasteful current to the disconnection detection circuit, so that power consumption can be reduced. Further, since the voltage level of the differential signal corresponding to a given range in the frame packet is compared with the comparison voltage, the operation of the disconnection detection circuit can be turned off when the frame packet is not transmitted. Therefore, it is possible to suppress a wasteful current from flowing through the disconnection detection circuit, and it is possible to reduce power consumption.

また、本発明では、前記第1及び第2の比較器は、その出力をグランドレベルに固定する出力固定スイッチを含み、前記出力固定スイッチは、前記イネーブル信号がアクティブの場合にはオフに設定され、前記イネーブル信号がノンアクティブの場合にはオンに設定されるようにしてもよい。   In the present invention, the first and second comparators include an output fixing switch for fixing the output to a ground level, and the output fixing switch is set to be off when the enable signal is active. If the enable signal is inactive, it may be set to ON.

これにより、第1、第2の比較器の動作状態がオフ状態の場合であっても、各比較器の出力レベルをグランドレベルに設定することができるため、オフ状態のときに各比較器の出力レベルが不安定になることを防ぐことができる。従って、切断検出回路の誤検出を防ぐことができる。   Thereby, even when the operation state of the first and second comparators is off, the output level of each comparator can be set to the ground level. It is possible to prevent the output level from becoming unstable. Therefore, erroneous detection of the disconnection detection circuit can be prevented.

また、本発明では、前記第1及び第2の比較器の電流源を調整するバイアス信号を発生するバイアス信号発生回路を含み、前記バイアス信号発生回路は、前記イネーブル信号がアクティブの場合に前記バイアス信号を発生し、前記イネーブル信号がノンアクティブの場合には前記バイアス信号を発生しないようにしてもよい。   The present invention further includes a bias signal generation circuit that generates a bias signal for adjusting a current source of the first and second comparators, and the bias signal generation circuit includes the bias signal when the enable signal is active. A signal may be generated, and the bias signal may not be generated when the enable signal is inactive.

これにより、イネーブル信号に基づいて第1、第2の比較器の電流源を制御することができ、消費電流の低減が可能となる。   Thus, the current sources of the first and second comparators can be controlled based on the enable signal, and current consumption can be reduced.

また、本発明では、前記第1及び第2の比較器は、第1及び第2の差動増幅器を含み、
前記第1の差動増幅器は、第1の電源と第2の電源の間に並列に設けられた第1及び第2の入力トランジスタを含み、前記第1の入力トランジスタのゲートには前記比較電圧が入力され、前記第2の入力トランジスタのゲートには前記第1及び第2の差動信号のいずれか一方が入力され、前記第2の差動増幅器は、第1の電源と前記第1の電源より電源電圧の高い第2の電源の間に並列に設けられた第3及び第4の入力トランジスタを含み、前記第3の入力トランジスタのゲートは、前記第1の入力トランジスタと前記第2の電源との間の第1の出力ノードと接続され、前記第4の入力トランジスタのゲートは、前記第2の入力トランジスタと前記第2の電源との間の第2の出力ノードと接続されてもよい。
In the present invention, the first and second comparators include first and second differential amplifiers,
The first differential amplifier includes first and second input transistors provided in parallel between a first power source and a second power source, and the comparison voltage is applied to a gate of the first input transistor. , And one of the first and second differential signals is input to the gate of the second input transistor, and the second differential amplifier includes a first power source and the first A third and fourth input transistor provided in parallel between a second power supply having a power supply voltage higher than that of the power supply, wherein the gate of the third input transistor is connected to the first input transistor and the second input transistor; The fourth output transistor is connected to a first output node between the second power supply and the second output node between the second input transistor and the second power supply. Good.

これにより、比較電圧と、第1、第2の差動信号のいずれかの電圧レベルとの差が小さい場合にも、比較電圧と差動信号の電圧レベルを比較することができる。   Thereby, even when the difference between the comparison voltage and the voltage level of one of the first and second differential signals is small, the comparison voltage and the voltage level of the differential signal can be compared.

また、本発明では、前記第1、第2、第3及び第4の入力トランジスタはP型トランジスタで構成されてもよい。   In the present invention, the first, second, third and fourth input transistors may be P-type transistors.

また、本発明では、前記第1及び第2の比較器の検出結果は、前記第4の入力トランジスタと前記第2の電源との間の第3の出力ノードの電圧レベルに基づいて出力されてもよい。   In the present invention, the detection results of the first and second comparators are output based on a voltage level of a third output node between the fourth input transistor and the second power supply. Also good.

これにより、比較電圧と第1又は第2の差動信号の電圧レベルとの比較結果を第1又は第2の比較器の検出結果として出力することができる。   Thereby, the comparison result between the comparison voltage and the voltage level of the first or second differential signal can be output as the detection result of the first or second comparator.

また、本発明では、前記第1及び第2の入力トランジスタはP型トランジスタで構成され、第3及び第4の入力トランジスタはN型トランジスタで構成されてもよい。   In the present invention, the first and second input transistors may be P-type transistors, and the third and fourth input transistors may be N-type transistors.

これにより、第2の差動増幅器の第3及び第4の入力トランジスタは、第1、第2の出力ノードの電圧レベルが高い周波数で振幅する場合にも対応することができる。従って、切断検出回路は高速に切断検出を行うことができる。   As a result, the third and fourth input transistors of the second differential amplifier can cope with the case where the voltage levels of the first and second output nodes swing at a high frequency. Therefore, the disconnection detection circuit can detect disconnection at high speed.

また、本発明では、前記第1及び第2の比較器は、前記第2の差動増幅器の電流源を調整するための第2の差動増幅器用バイアス信号を発生する第2の差動増幅器用バイアス信号発生回路を含み、前記第2の差動増幅器用バイアス信号発生回路は、前記イネーブル信号がアクティブの場合に前記第2の差動増幅器用バイアス信号を発生し、前記イネーブル信号がノンアクティブの場合には前記第2の差動増幅器用バイアス信号を発生しないようにしてもよい。   In the present invention, the first and second comparators may generate a second differential amplifier bias signal for adjusting a current source of the second differential amplifier. The second differential amplifier bias signal generating circuit generates the second differential amplifier bias signal when the enable signal is active, and the enable signal is non-active. In this case, the second differential amplifier bias signal may not be generated.

これにより、第2の差動増幅器の電流源を効率よく制御することができ、切断検出回路の消費電力の低減が可能となる。   Thereby, the current source of the second differential amplifier can be controlled efficiently, and the power consumption of the disconnection detection circuit can be reduced.

また、本発明では、前記第1及び第2の比較器の検出結果は、前記第4の入力トランジスタと前記第1の電源との間の第3の出力ノードの電圧レベルに基づいて出力されることを特徴とするホストコントローラ。   In the present invention, the detection results of the first and second comparators are output based on the voltage level of the third output node between the fourth input transistor and the first power supply. A host controller characterized by that.

これにより、比較電圧と第1又は第2の差動信号の電圧レベルとの比較結果を第1又は第2の比較器の検出結果として出力することができる。   Thereby, the comparison result between the comparison voltage and the voltage level of the first or second differential signal can be output as the detection result of the first or second comparator.

また、本発明では、前記所与の規格は、USB2.0規格であってもよい。   In the present invention, the given standard may be a USB 2.0 standard.

これにより、切断検出回路をUSB2.0規格に準拠した製品に適用することができる。   Thereby, the disconnection detection circuit can be applied to a product compliant with the USB 2.0 standard.

また、本発明では、前記フレームパケットは、前記USB2.0規格で規定されるSOF(Start Of Frame)パケットであってもよい。   In the present invention, the frame packet may be an SOF (Start Of Frame) packet defined by the USB 2.0 standard.

これにより、切断検出回路はUSB2.0規格において切断検出を正確に行うことができる。   As a result, the disconnection detection circuit can accurately detect disconnection in the USB 2.0 standard.

また、本発明では、前記所与の範囲は、前記USB2.0規格で規定されるEOP(End Of Point)に対応するようにしてもよい。   In the present invention, the given range may correspond to EOP (End Of Point) defined by the USB 2.0 standard.

以下、本発明の一実施形態について、図面を参照して説明する。なお、以下に説明する実施の形態は、特許請求の範囲に記載された本発明の内容を不当に限定するものではない。また以下で説明される構成のすべてが本発明の必須構成要件であるとは限らない。なお、以下の図において同符号のものは同様の意味を表す。   Hereinafter, an embodiment of the present invention will be described with reference to the drawings. The embodiments described below do not unduly limit the contents of the present invention described in the claims. Also, not all of the configurations described below are essential constituent requirements of the present invention. In the following drawings, the same reference numerals have the same meaning.

1.USB2.0
USB2.0(広義には所与の規格)によれば、USB1.1又はUSB2.0対応の複数の周辺機器(デバイス)は、例えばハブ装置を介在させて、ホストに接続することができる。
1. USB2.0
According to USB 2.0 (a given standard in a broad sense), a plurality of peripheral devices (devices) compatible with USB 1.1 or USB 2.0 can be connected to a host via a hub device, for example.

このようなホストには、USB2.0に対応したホストコントローラが搭載される。ホストコントローラは、接続されているデバイスがUSB1.1対応かUBS2.0対応かを判断して、バスを介したデータ転送を制御する。   Such a host is equipped with a host controller compatible with USB 2.0. The host controller determines whether the connected device is compatible with USB 1.1 or UBS 2.0, and controls data transfer via the bus.

またハブ装置には、例えばUSB2.0に対応したハブコントローラが搭載される。ハブコントローラは、接続される周辺機器がUSB1.1対応かUSB2.0対応かを判断して、バス転送方式を制御する。   The hub device is mounted with a hub controller compatible with USB 2.0, for example. The hub controller determines whether the peripheral device to be connected is compatible with USB 1.1 or USB 2.0, and controls the bus transfer method.

また、周辺機器(デバイス)にも、USB1.1又はUSB2.0に対応したデバイスコントローラが搭載される。例えば、デバイスコントローラがUSB2.0に対応する場合、このデバイスコントローラは、USB1.1及びUSB2.0のインタフェース規格に対応した物理層回路と、搭載される周辺機器に応じたデータ転送制御を行う論理層回路とを含む。   A peripheral device (device) is also equipped with a device controller that supports USB 1.1 or USB 2.0. For example, when the device controller is compatible with USB 2.0, the device controller is a logic that performs data transfer control according to the physical layer circuit corresponding to the USB 1.1 and USB 2.0 interface standards and the mounted peripheral device. Layer circuit.

本実施形態におけるホストコントローラは、バスを介して例えばUSB2.0で規定されたデータ転送を行うことができる。   The host controller in the present embodiment can perform data transfer defined by, for example, USB 2.0 via the bus.

2.ホストコントローラ
図1に、本実施形態におけるホストコントローラ400の構成の一例を示す。
2. Host Controller FIG. 1 shows an example of the configuration of the host controller 400 in this embodiment.

このホストコントローラ400は、論理層回路と物理層回路を含むが、これに限定されない。   The host controller 400 includes a logical layer circuit and a physical layer circuit, but is not limited thereto.

論理層回路は、データハンドラ回路10、HS(High Speed)回路20、FS(Full Speed)回路30を含む。物理層回路は、アナログフロントエンド回路40を含む。なお、このホストコントローラ400は、回路ブロックの全てを含む必要はなく、それらの一部を省略する構成としても良い。   The logic layer circuit includes a data handler circuit 10, an HS (High Speed) circuit 20, and an FS (Full Speed) circuit 30. The physical layer circuit includes an analog front end circuit 40. The host controller 400 does not have to include all of the circuit blocks, and a part of them may be omitted.

データハンドラ回路10は、USB2.0に準拠したデータ転送のための種々の送信処理及び受信処理を行う。より具体的には、データハンドラ回路は、送信時には、送信データにSYNC(SYNChronization)、SOP(Start Of Packet)、EOP(End Of Packet)を付加する処理や、ビットスタッフィング処理等を行う。一方、データハンドラ回路10は、受信時には、受信データのSYNC、SOP、EOPを検出し、削除する処理や、ビットアンスタッフィング処理などを行う。更に、データハンドラ回路10は、データの送受信を制御するための各種のタイミング信号を生成する処理も行う。このようなデータハンドラ回路10は、SIE(Serial Interface Engine)に接続される。   The data handler circuit 10 performs various transmission processes and reception processes for data transfer conforming to USB 2.0. More specifically, at the time of transmission, the data handler circuit performs processing for adding SYNC (SYNChronization), SOP (Start Of Packet), EOP (End Of Packet) to transmission data, bit stuffing processing, and the like. On the other hand, at the time of reception, the data handler circuit 10 detects and deletes SYNC, SOP, and EOP of received data and performs processing such as bit unstuffing processing. Further, the data handler circuit 10 also performs processing for generating various timing signals for controlling data transmission / reception. Such a data handler circuit 10 is connected to an SIE (Serial Interface Engine).

SIEは、USBパケットIDやアドレスを識別するためのSIE制御ロジックと、エンドポイント番号の識別やFIFO制御などのエンドポイント処理を行うためのエンドポイントロジックとを含む。   The SIE includes an SIE control logic for identifying a USB packet ID and an address, and an endpoint logic for performing endpoint processing such as identification of an endpoint number and FIFO control.

HS回路20は、データ転送速度が480MbpsとなるHS(High Speed)でのデータの送受信を行うためのロジック回路である。   The HS circuit 20 is a logic circuit for transmitting and receiving data at HS (High Speed) at which the data transfer rate is 480 Mbps.

FS回路30は、データ転送速度が12MbpsとなるFS(Full Speed)でのデータの送受信を行うためのロジック回路である。   The FS circuit 30 is a logic circuit for transmitting and receiving data at FS (Full Speed) at which the data transfer rate is 12 Mbps.

アナログフロントエンド回路40は、FSやHSでの送受信を行うためのドライバやレシーバを含むアナログ回路である。USBでは、DP(Data+、広義には第1の差動信号)とDM(Data−、広義には第2の差動信号)を用いた差動対の信号によりデータが送受信される。   The analog front end circuit 40 is an analog circuit including a driver and a receiver for performing transmission / reception by FS and HS. In USB, data is transmitted and received by a differential pair of signals using DP (Data +, first differential signal in a broad sense) and DM (Data-, second differential signal in a broad sense).

本実施形態におけるホストコントローラ400は、その他にHS回路20で用いる480MHzのクロックや、装置内部及びSIEで用いる60MHzのクロックを生成するクロック回路(図示せず)、アナログフロントエンド回路40の各種制御信号を生成する制御回路(図示せず)をさらに含む。   In addition, the host controller 400 in this embodiment includes various control signals for the 480 MHz clock used in the HS circuit 20, a clock circuit (not shown) that generates a 60 MHz clock inside the apparatus and used in the SIE, and the analog front end circuit 40. Further includes a control circuit (not shown) for generating.

HS回路20は、DLL(Delay Line PLL)回路22、エラスティシティバッファ(elasticity buffer)24を含む。   The HS circuit 20 includes a DLL (Delay Line PLL) circuit 22 and an elasticity buffer 24.

DLL回路22は、図示しないクロック回路によって生成されたクロックと、受信信号とに基づいて、データのサンプリングクロックを生成する。   The DLL circuit 22 generates a data sampling clock based on a clock generated by a clock circuit (not shown) and a received signal.

エラスティシティバッファ24は、装置内部と、外部装置(バスに接続される外部装置)とのクロック周波数差(クロックドリフト)等を吸収するための回路である。   The elasticity buffer 24 is a circuit for absorbing a clock frequency difference (clock drift) between the inside of the device and an external device (an external device connected to the bus).

USB2.0では、HSモードとFSモードが、転送モードとして定義されている。HSモードは、USB2.0により新たに定義された転送モードである。FSモードは、従来のUSB1.1で既に定義されている転送モードである。   In USB 2.0, HS mode and FS mode are defined as transfer modes. The HS mode is a transfer mode newly defined by USB 2.0. The FS mode is a transfer mode already defined in the conventional USB 1.1.

HSモードでは、HS回路20を介して、データハンドラ回路10とアナログフロントエンド回路40との間で、データの送受信が行われる。   In the HS mode, data transmission / reception is performed between the data handler circuit 10 and the analog front end circuit 40 via the HS circuit 20.

FSモードでは、FS回路30を介して、データハンドラ回路10とアナログフロントエンド回路40との間で、データの送受信が行われる。   In the FS mode, data is transmitted and received between the data handler circuit 10 and the analog front end circuit 40 via the FS circuit 30.

このため、アナログフロントエンド回路40では、差動対の送受信信号であるDP、DMをHSモードで送受信を行うためのHSモード用ドライバ及びレシーバ、FSモードで送受信を行うためのFSモード用ドライバ及びレシーバが別個に設けられている。   Therefore, in the analog front end circuit 40, an HS mode driver and receiver for transmitting and receiving DP and DM, which are differential pair transmission / reception signals, in the HS mode, an FS mode driver for transmitting and receiving in the FS mode, and A receiver is provided separately.

より具体的には、アナログフロントエンド回路40は、FSドライバ42、FS差動データレシーバ44、SE(Single Ended)_DPレシーバ46、SE_DMレシーバ48、HSカレントドライバ50、切断検出回路52、HS_SQ回路54、HS差動データレシーバ56を含む。   More specifically, the analog front end circuit 40 includes an FS driver 42, an FS differential data receiver 44, an SE (Single Ended) _DP receiver 46, an SE_DM receiver 48, an HS current driver 50, a disconnection detection circuit 52, and an HS_SQ circuit 54. HS differential data receiver 56.

FSドライバ42は、FSモードにおいて、FS回路30からのFS_DPout及びFS_DMoutからなる差動対の送信信号を、DP及びDMからなる差動対の送信信号として出力する。このFSドライバ42は、FS回路30からのFS_OutDisにより出力制御される。   In the FS mode, the FS driver 42 outputs a differential pair transmission signal composed of FS_DPout and FS_DMout from the FS circuit 30 as a differential pair transmission signal composed of DP and DM. The output of the FS driver 42 is controlled by FS_OutDis from the FS circuit 30.

FS差動レシーバ44は、FSモードにおいて、DP及びDMの差動対の受信信号を増幅し、FS_DataInとしてFS回路30に対して出力する。このFS差動レシーバ44は、FS_CompEnbにより増幅制御される。   In the FS mode, the FS differential receiver 44 amplifies the reception signals of the DP and DM differential pairs and outputs the amplified signals to the FS circuit 30 as FS_DataIn. The amplification of the FS differential receiver 44 is controlled by FS_CompEnb.

SE_DPレシーバ46は、FSモードにおいて、シングルエンドの受信信号であるDPを増幅し、SE_DPinとしてFS回路30に対して出力する。   In the FS mode, the SE_DP receiver 46 amplifies DP, which is a single-ended reception signal, and outputs the amplified DP as SE_DPin to the FS circuit 30.

SE_DMレシーバ48は、FSモードにおいて、シングルエンドの受信信号であるDMを増幅し、SE_DMinとしてFS回路30に対して出力する。   The SE_DM receiver 48 amplifies DM, which is a single-ended received signal, in the FS mode, and outputs the amplified signal to the FS circuit 30 as SE_DMin.

HSカレントドライバ50は、HSモードにおいて、HS回路20からのHS_DPout及びHS_DMoutからなる差動対の送信信号を増幅し、DP及びDMからなる差動対の送信信号として出力する。このHSカレントドライバ50は、HS回路20からのHS_OutDisにより出力制御されると共に、HS_CurrentSourceEnbにより駆動電流の制御が行われる。   In the HS mode, the HS current driver 50 amplifies the differential pair transmission signal composed of HS_DPout and HS_DMout from the HS circuit 20 and outputs the amplified differential pair transmission signal composed of DP and DM. The output of the HS current driver 50 is controlled by HS_OutDis from the HS circuit 20, and the drive current is controlled by HS_CurrentSourceEnb.

切断検出回路52は、HSモードにおいて、ホスト−デバイス間の接続状態を監視し、ホスト−デバイス間が切断されている場合に、切断検出結果としてHS_Discoを出力する。切断検出回路52については、詳細を後述する。   The disconnection detection circuit 52 monitors the connection state between the host and the device in the HS mode, and outputs HS_Disco as a disconnection detection result when the connection between the host and the device is disconnected. Details of the disconnection detection circuit 52 will be described later.

HS_SQ回路54は、HSモードにおいて、DP及びDMの差動対の受信信号の有無を検出し、信号検出結果としてHS_SQをHS回路20に対して出力する。このHS_SQ回路54は、HS回路20からのHS_SQ_Enbにより動作制御され、HS_SQ_Pwrにより省電力制御されるようにしてもよい。   In the HS mode, the HS_SQ circuit 54 detects the presence / absence of the received signal of the DP and DM differential pairs, and outputs HS_SQ to the HS circuit 20 as a signal detection result. The HS_SQ circuit 54 may be controlled in operation by HS_SQ_Enb from the HS circuit 20 and may be controlled in power saving by HS_SQ_Pwr.

HS差動データレシーバ56は、HSモードにおいて、DP及びDMの差動対の受信信号を増幅し、HS_DataIn、HS_DataIn_Lを出力する。このHS差動レシーバ56は、HS_RxEnbにより増幅制御される。   In the HS mode, the HS differential data receiver 56 amplifies the reception signals of the DP and DM differential pairs, and outputs HS_DataIn and HS_DataIn_L. The amplification of the HS differential receiver 56 is controlled by HS_RxEnb.

差動対の送受信信号DP、DMのうちDPは、SW1及びプルアップ抵抗Rpuを介して、電源電圧3.3Vに(電気的に)接続される。また、差動対の送受信信号のうちDMは、SW2に接続される。SW1及びSW2は、RpuEnbにより制御される。負荷バランスを考慮すると、DMについても、SW2を介してプルアップ抵抗Rpuと同等の抵抗を介してプルアップしてもよい。RpuEnbは、FSモードのとき、少なくともSW1によりDPをプルアップ抵抗Rpuに接続させる。   Of the transmission / reception signals DP and DM of the differential pair, DP is connected (electrically) to the power supply voltage 3.3V via SW1 and the pull-up resistor Rpu. Also, DM of the differential pair transmission / reception signals is connected to SW2. SW1 and SW2 are controlled by RpuEnb. Considering the load balance, DM may be pulled up via SW2 via a resistor equivalent to the pullup resistor Rpu. RpuEnb connects DP to the pull-up resistor Rpu by at least SW1 in the FS mode.

このようにデータ転送制御装置は、HSモードとFSモードの転送速度に対応したドライバ及びレシーバを含んで構成されている。   As described above, the data transfer control device is configured to include a driver and a receiver corresponding to transfer rates in the HS mode and the FS mode.

3.切断検出
3.1.SOF
USB2.0規格では、所与の間隔でSOF(Start Of Frame)パケットがホストコントローラからデバイスに送信される。この所与の間隔はUSB2.0規格で規定されている。
3. Disconnection detection 3.1. SOF
In the USB 2.0 standard, a SOF (Start Of Frame) packet is transmitted from the host controller to the device at given intervals. This given interval is defined by the USB 2.0 standard.

ホストから送信されるSOFパケットは、SYNC、PID(Packet Identifier)、フレームナンバー、CRC5、EOP(End Of Point)で構成され、トータル96ビット長である。SYNCは、32ビット長で規定されている。PIDは送信されるパケットを示し、SOFの場合、PIDはA5hに規定されている。フレームナンバーはSOFパケットのフレームナンバーを示し、USB2.0規格のHSモードでは8マイクロフレーム毎にフレームナンバーが1つインクリメントされる。CRC5はCyclic Redundancy Checkというビットエラーを検出するために付加される5ビットのデータである。これは、フレームナンバーのデータを保護するために使われる。これにより、パリティチェックより高い効率でビットエラーの検出が行える。   The SOF packet transmitted from the host is composed of SYNC, PID (Packet Identifier), frame number, CRC5, and EOP (End Of Point), and has a total length of 96 bits. SYNC is defined by a 32-bit length. PID indicates a packet to be transmitted. In the case of SOF, PID is defined in A5h. The frame number indicates the frame number of the SOF packet. In the USB 2.0 standard HS mode, the frame number is incremented by 1 every 8 microframes. CRC5 is 5-bit data added to detect a bit error called Cyclic Redundancy Check. This is used to protect the frame number data. Thereby, the bit error can be detected with higher efficiency than the parity check.

EOPは、HSモードでは40ビットに設定される。EOPのデータは、40ビット連続してK又はJ状態のデータに設定される。USB2.0規格において、K状態はDMがハイレベルであり、DPがローレベルである状態を示す。反対にJ状態はDPがハイレベルであり、DMがローレベルである状態を示す。EOPのデータは、フレームナンバー及びCRC5のデータによって、K又はJ状態のいずれかに設定される。これは、USB2.0規格において、EOP以外のデータでは、8ビット以上連続して同じ状態(K又はJ状態)に設定されることが禁止されているためである。   EOP is set to 40 bits in the HS mode. The EOP data is set to K or J state data continuously for 40 bits. In the USB 2.0 standard, the K state indicates a state where DM is at a high level and DP is at a low level. Conversely, the J state indicates a state in which DP is at a high level and DM is at a low level. The EOP data is set to either the K or J state depending on the frame number and CRC5 data. This is because in the USB 2.0 standard, data other than EOP is prohibited from being set to the same state (K or J state) continuously for 8 bits or more.

図2はUSB2.0規格で規定されているSOFパケットを説明するための図である。図2は、実測された信号波形ではなく、説明の簡略化のため、DMの波形振幅が模式的に図示され、データ(PID、フレームナンバー、CRC5)が省略されている。なお、図2は、ホスト−デバイス間が切断状態にある場合のDMの波形振幅を示す。   FIG. 2 is a diagram for explaining an SOF packet defined by the USB 2.0 standard. FIG. 2 is not an actually measured signal waveform, but for simplicity of explanation, DM waveform amplitude is schematically illustrated, and data (PID, frame number, CRC5) is omitted. FIG. 2 shows the waveform amplitude of DM when the host-device is disconnected.

USB2.0規格では、ホスト−デバイス間が接続状態にある場合、理想的にはホストコントローラ400のDP、DMで400mVの振幅がみられる。図3(A)に示すようにEOPでは400mVの振幅が確認できる。また、ホスト−デバイス間において切断状態にある場合には、理想的にはホストコントローラ400のDP、DMで800mVの振幅がみられる。図3(B)に示すようにEOPでは800mVの振幅が確認できる。これは、切断状態の場合にデバイス側の終端抵抗がホストから切断されるためである。   In the USB 2.0 standard, when the host-device is in a connected state, an amplitude of 400 mV is ideally observed in the DP and DM of the host controller 400. As shown in FIG. 3A, an EOP can confirm an amplitude of 400 mV. When the host-device is disconnected, ideally, an amplitude of 800 mV is observed in the DP and DM of the host controller 400. As shown in FIG. 3B, an EOP amplitude of 800 mV can be confirmed. This is because the termination resistor on the device side is disconnected from the host in the disconnected state.

即ち、図2に示すように例えば比較電圧を700mVに設定し、SOFパケットの波形振幅レベルと比較電圧を比較することで、切断状態を検出することができる。   That is, as shown in FIG. 2, for example, the cut voltage can be detected by setting the comparison voltage to 700 mV and comparing the waveform amplitude level of the SOF packet with the comparison voltage.

なお、USB2.0規格では、このSOFパケットのEOPでの振幅レベルが525mV〜625mVを超える場合にホスト−デバイス間の切断検出を行うことが規定されているが、具体的な検出方法は規定されていない。   Note that the USB 2.0 standard stipulates that the disconnection detection between the host and the device is performed when the amplitude level at the EOP of the SOF packet exceeds 525 mV to 625 mV, but a specific detection method is specified. Not.

3.2.比較例の切断検出回路
比較例の切断検出回路500を図4に示す。図4の切断検出回路500は、DM又はDPのいずれか(例えばDM)の振幅レベルと比較電圧とを比較し、その検出結果を出力する。こうすることで、図3(A)又は図3(B)に示す波形がSOFパケットとして送信された場合、ホスト−デバイス間の接続状態又は切断状態のいずれかの状態を検出することができる。
3.2. Cut Detection Circuit of Comparative Example FIG. 4 shows a cut detection circuit 500 of a comparative example. The disconnection detection circuit 500 of FIG. 4 compares the amplitude level of either DM or DP (for example, DM) with the comparison voltage, and outputs the detection result. By doing so, when the waveform shown in FIG. 3A or FIG. 3B is transmitted as an SOF packet, either the connection state or the disconnection state between the host and the device can be detected.

しかしながら、SOFパケットのEOPの振幅は、DP及びDMが差動信号であるため、DPがハイレベルの場合にはDMがローレベルとなる。逆に、DMがハイレベルの場合にはDPがローレベルとなる。即ち、DM側の振幅しか見ない比較例の切断検出回路500では、SOFパケットのEOPにおいてDMの振幅レベルがローレベルである場合には、ホスト−デバイス間の切断状態を正しく検出することができない。この場合、EOPでのDMの振幅レベルがハイレベルであるSOFパケットが送信されるまで、正しい切断検出ができないことになる。   However, since the EOP amplitude of the SOF packet is such that DP and DM are differential signals, DM is low when DP is high. Conversely, when DM is at a high level, DP is at a low level. That is, in the disconnection detection circuit 500 of the comparative example that only sees the amplitude on the DM side, when the DM amplitude level is low in the EOP of the SOF packet, the disconnection state between the host and the device cannot be detected correctly. . In this case, correct disconnection detection cannot be performed until an SOF packet having a high DM amplitude level in EOP is transmitted.

また、比較例の切断検出回路500の場合、ホスト側のDMにのみ切断検出回路500が接続され、ホスト側のDPには切断検出回路500が接続されない。USB2.0規格のHSモードは高速なデータ転送を行うモードであるため、差動信号が出力されるDP、DMに要求される精度はシビアである。例えば、差動信号から正しくデータを読み取るためにはDP、DMに付加される容量や抵抗はDP、DMともに等しくすることが重要である。   In the disconnection detection circuit 500 of the comparative example, the disconnection detection circuit 500 is connected only to the host-side DM, and the disconnection detection circuit 500 is not connected to the host-side DP. Since the HS mode of the USB 2.0 standard is a mode for performing high-speed data transfer, the accuracy required for DP and DM from which a differential signal is output is severe. For example, in order to correctly read data from a differential signal, it is important that the capacitance and resistance added to DP and DM are the same for both DP and DM.

この点において、比較例では上述のとおり、ホストのDM側に切断検出回路500が接続され、例えば切断検出回路500の入力トランジスタのゲート容量がDMに対する付加容量となる。一方、比較例ではホストのDP側には切断検出回路500が接続されないため、結果としてホスト側では、DPとDMの容量(例えば配線容量等)が大きく異なってしまう。DPとDMの容量が異なると、差動信号のアイパターンが乱れ、信号品質が低下する。また、ホスト側のDP、DMの容量が異なると、ホストからデバイスに送信される差動信号の品質が劣化するだけでなく、デバイス側から送信される差動信号をホスト側が受信する際にも、その受信信号の品質を低下させる。このように、比較例の切断検出回路500は、ホスト−デバイス間で転送される差動信号の信号品質を低下させる原因となる。   In this regard, in the comparative example, as described above, the disconnection detection circuit 500 is connected to the DM side of the host. For example, the gate capacitance of the input transistor of the disconnection detection circuit 500 is an additional capacitance with respect to DM. On the other hand, in the comparative example, the disconnection detection circuit 500 is not connected to the DP side of the host, and as a result, the DP and DM capacities (for example, wiring capacities, etc.) are greatly different on the host side. If the DP and DM capacities are different, the eye pattern of the differential signal is disturbed and the signal quality is degraded. Also, if the DP and DM capacities on the host side are different, not only will the quality of the differential signal transmitted from the host to the device deteriorate, but also when the host side receives the differential signal transmitted from the device side. Reducing the quality of the received signal. As described above, the disconnection detection circuit 500 according to the comparative example causes the signal quality of the differential signal transferred between the host and the device to deteriorate.

また、図3(A)、図3(B)の波形は、理想状態に近く、ホスト側及びデバイス側の終端抵抗や、ホスト−デバイス間を接続する接続部分(例えば接続ケーブル)がUSB2.0規格に準拠されている場合におけるSOFパケットの波形である。   The waveforms in FIGS. 3A and 3B are close to the ideal state, and the termination resistances on the host side and the device side, and the connection portion (for example, connection cable) connecting the host and the device are USB 2.0. It is a waveform of the SOF packet when it conforms to the standard.

市場にはUSB2.0規格を満たさない製品が出回っている場合がある。例えば、デバイスのDP側の終端抵抗及びDM側の終端抵抗の少なくとも一方がUSB2.0規格を満たしていない場合、SOFパケットの波形の乱れを生じる。例えばデバイスのDP側の終端抵抗は規格をみたし、デバイスのDM側の終端抵抗は規格を満たさない場合、デバイスのDM側で信号の反射を生じ、DM側のSOFパケットに波形の乱れを生じる。これにより、DM側のSOFパケットのEOPの振幅が理想状態からかけ離れた状態となり、DMしかみない比較例の切断検出回路500では、切断状態を正しく検出できないおそれがある。   There are cases where products that do not satisfy the USB 2.0 standard are on the market. For example, if at least one of the DP-side termination resistor and the DM-side termination resistor of the device does not satisfy the USB 2.0 standard, the waveform of the SOF packet is disturbed. For example, if the termination resistance on the DP side of the device meets the standard and the termination resistance on the DM side of the device does not meet the standard, signal reflection occurs on the DM side of the device, and waveform disturbance occurs in the SOF packet on the DM side. . As a result, the EOP amplitude of the SOF packet on the DM side is far from the ideal state, and the disconnection detection circuit 500 of the comparative example that only sees the DM may not be able to detect the disconnection state correctly.

3.3.切断検出回路
本発明の切断検出回路52の一部を図5に示す。切断検出回路52は第1及び第2の比較器CMP1、CMP2を含む。第1の比較器CMP1はDPの信号レベルと比較電圧CVとを比較し、その比較結果として検出信号COMP_OUT_DPを出力する。また、第2の比較器CMP2はDMの信号レベルと比較電圧CVとを比較し、その比較結果として検出信号COMP_OUT_DMを出力する。
3.3. Cut Detection Circuit A part of the cut detection circuit 52 of the present invention is shown in FIG. The disconnection detection circuit 52 includes first and second comparators CMP1 and CMP2. The first comparator CMP1 compares the signal level of DP with the comparison voltage CV, and outputs a detection signal COMP_OUT_DP as the comparison result. The second comparator CMP2 compares the signal level of DM with the comparison voltage CV, and outputs a detection signal COMP_OUT_DM as the comparison result.

検出信号COMP_OUT_DP、COMP_OUT_DMは、NOR回路に入力され、NOR回路からの出力信号はインバータを介して切断検出信号HS_Discoとして出力される。なお、切断検出回路52のNOR回路及びインバータは一例であり、例えばNOR回路及びインバータをOR回路に置き換えて切断検出回路52を構成してもよい。   The detection signals COMP_OUT_DP and COMP_OUT_DM are input to the NOR circuit, and an output signal from the NOR circuit is output as a disconnection detection signal HS_Disco through an inverter. Note that the NOR circuit and the inverter of the disconnection detection circuit 52 are examples, and the disconnection detection circuit 52 may be configured by replacing the NOR circuit and the inverter with an OR circuit, for example.

このように、本発明の切断検出回路52は、DP及びDMの双方の信号レベルに対して個別の比較器を用いて比較電圧CVと比較し、それぞれの比較器CMP1、CMP2のうち、少なくとも一方が切断状態を検出した場合、例えばアクティブに設定された切断検出信号HS_Discoを出力する。   As described above, the disconnection detection circuit 52 according to the present invention compares the signal levels of both DP and DM with the comparison voltage CV using the individual comparators, and at least one of the comparators CMP1 and CMP2. When the disconnection state is detected, for example, the disconnection detection signal HS_Disco set to active is output.

こうすることで、DP及びDMの信号波形を監視することが可能となり、EOPがK又はJ状態のどちらの場合であっても、ホスト−デバイス間の切断検出を正確に行うことができる。   By doing so, it becomes possible to monitor the signal waveforms of DP and DM, and it is possible to accurately detect the disconnection between the host and the device regardless of whether the EOP is in the K or J state.

また、第1及び第2の比較器CMP1、CMP2は同様の回路で構成することができる。これにより、DP及びDMの配線容量等の寄生容量を等しくすることが可能となり、図4の比較例に比べて、信号品質の低下を緩和することができる。   The first and second comparators CMP1 and CMP2 can be configured with similar circuits. This makes it possible to make the parasitic capacitances such as the DP and DM wiring capacitances equal, and to reduce signal quality degradation compared to the comparative example of FIG.

3.3.1.切断検出回路の具体例
図6に切断検出回路52の一部の具体的な構成例を示す。切断検出回路52−1は、第1及び第2の比較器CMP1、CMP2、制御回路100、バイアス回路110(広義にはバイアス信号発生回路)を含むが、これに限定されない。例えば、切断検出回路52−1は制御回路100を含まない構成でもよい。
3.3.1. Specific Example of Cut Detection Circuit FIG. 6 shows a specific configuration example of a part of the cut detection circuit 52. The disconnection detection circuit 52-1 includes the first and second comparators CMP1 and CMP2, the control circuit 100, and the bias circuit 110 (bias signal generation circuit in a broad sense), but is not limited thereto. For example, the disconnection detection circuit 52-1 may be configured not to include the control circuit 100.

制御回路100は、上位層の回路(例えば図1のデータハンドラ回路10)からイネーブル信号ENを受け、イネーブル信号ENに基づいて制御信号XENHを第1、第2の比較器CMP1、CMP2及びバイアス回路110に供給する。制御回路100は、アクティブに設定されたイネーブル信号ENを受けると、制御信号XENHをアクティブに設定する。反対にノンアクティブに設定されたイネーブル信号ENを受けると、制御回路100は制御信号XENHをノンアクティブに設定する。   The control circuit 100 receives an enable signal EN from an upper layer circuit (for example, the data handler circuit 10 in FIG. 1), and receives the control signal XENH based on the enable signal EN as a first comparator, a second comparator CMP1, CMP2, and a bias circuit. 110. When receiving the enable signal EN set to active, the control circuit 100 sets the control signal XENH to active. On the contrary, when receiving the enable signal EN set to non-active, the control circuit 100 sets the control signal XENH to non-active.

バイアス回路110は、制御回路100からの制御信号XENHに基づいてバイアス信号BPを発生し、第1、第2の比較器CMP1、CMP2に出力する。具体的には、制御信号XENHがアクティブに設定されている場合、バイアス回路110はバイアス信号BPをハイレベルからローレベルに設定する。反対に、制御信号XENHがノンアクティブに設定されている場合には、バイアス回路110はバイアス信号BPをハイレベルのままに設定する。   The bias circuit 110 generates a bias signal BP based on the control signal XENH from the control circuit 100 and outputs it to the first and second comparators CMP1 and CMP2. Specifically, when the control signal XENH is set to active, the bias circuit 110 sets the bias signal BP from the high level to the low level. Conversely, when the control signal XENH is set to non-active, the bias circuit 110 sets the bias signal BP at a high level.

第1、第2の比較器CMP1、CMP2の電流源は、バイアス信号BPの信号レベルに基づいて調整される。具体的には、バイアス信号BPがローレベルに設定されている場合に各比較器CMP1、CMP2の電流源がオンに設定され、バイアス信号BPがハイレベルに設定されている場合に各比較器CMP1、CMP2の電流源がオフに設定される。   The current sources of the first and second comparators CMP1 and CMP2 are adjusted based on the signal level of the bias signal BP. Specifically, when the bias signal BP is set to a low level, the current sources of the comparators CMP1 and CMP2 are set to on, and when the bias signal BP is set to a high level, each comparator CMP1. , CMP2 current source is set to OFF.

また、第1、第2の比較器CMP1、CMP2は、制御回路100からの制御信号XENHがアクティブに設定されている場合に、DP(又はDM)と比較電圧CVとの比較結果を検出信号COMP_OUT_DP(又はCOMP_OUT_DM)として出力する。反対に、制御信号XENHがノンアクティブに設定されている場合には、第1、第2の比較器CMP1、CMP2は検出信号COMP_OUT_DP、COMP_OUT_DMの信号レベルをローレベルに設定する。   Further, the first and second comparators CMP1 and CMP2 detect the comparison result between DP (or DM) and the comparison voltage CV when the control signal XENH from the control circuit 100 is set to active, as a detection signal COMP_OUT_DP. (Or COMP_OUT_DM). On the other hand, when the control signal XENH is set to non-active, the first and second comparators CMP1 and CMP2 set the signal levels of the detection signals COMP_OUT_DP and COMP_OUT_DM to a low level.

即ち、各比較器CMP1、CMP2の検出信号COMP_OUT_DP、COMP_OUT_DMは、イネーブル信号ENに基づいて、DP(又はDM)と比較電圧CVとの比較結果又は、ローレベルの信号のいずれかに設定される。例えばイネーブル信号ENは、切断検出回路52−1の動作をオフ状態に設定する場合にノンアクティブに設定される。   That is, the detection signals COMP_OUT_DP and COMP_OUT_DM of the comparators CMP1 and CMP2 are set to either a comparison result of DP (or DM) and the comparison voltage CV or a low level signal based on the enable signal EN. For example, the enable signal EN is set to non-active when the operation of the disconnection detection circuit 52-1 is set to an off state.

切断検出回路52−1は低消費電力で動作が可能であり、切断検出回路52−1がオフ状態に設定された場合であっても、各比較器CMP1、CMP2の出力レベルが不安定になるおそれがある。これに対して本実施形態では、イネーブル信号ENがノンアクティブに設定されている場合には、各比較器CMP1、CMP2の出力がローレベルの信号に設定されるため、切断検出回路52−1がオフ状態の場合に各比較器CMP1、CMP2が誤検出を行うことを防止することができる。   The disconnection detection circuit 52-1 can operate with low power consumption, and the output levels of the comparators CMP1 and CMP2 become unstable even when the disconnection detection circuit 52-1 is set to the off state. There is a fear. On the other hand, in the present embodiment, when the enable signal EN is set to non-active, the outputs of the comparators CMP1 and CMP2 are set to low level signals. It is possible to prevent the comparators CMP1 and CMP2 from performing erroneous detection in the off state.

なお、イネーブル信号ENは、ホストからデバイスにパケットが送信される場合であって、且つ、送信されるパケットがSOFパケットである場合にアクティブに設定される。こうすることにより、ホストからSOFパケットが送信されない場合や、ホストから何もパケットが送信されない場合において、切断検出回路52−1で消費される電力を極限まで抑えることができる。例えば、イネーブル信号ENがノンアクティブに設定されると、バイアス回路110から出力されるバイアス信号BPがハイレベルに設定される。このため、第1、第2の比較器CMP1、CMP2の電流源がオフに設定され、切断検出回路52−1の動作が不要な際の無駄な消費電流をカットすることができる。   The enable signal EN is set to active when a packet is transmitted from the host to the device and when the transmitted packet is an SOF packet. In this way, when no SOF packet is transmitted from the host or when no packet is transmitted from the host, the power consumed by the disconnection detection circuit 52-1 can be suppressed to the limit. For example, when the enable signal EN is set to non-active, the bias signal BP output from the bias circuit 110 is set to a high level. For this reason, the current sources of the first and second comparators CMP1 and CMP2 are set to OFF, and wasteful current consumption can be cut when the operation of the disconnection detection circuit 52-1 is unnecessary.

(比較器)
図7に第1の比較器CMP1の構成例を示す。なお、第2の比較器CMP2は第1の比較器CMP1と同様の回路構成である。比較器CMP1は、p型MOSトランジスタPTR1〜PTR3(広義には電流源)、n型MOSトランジスタFNT(広義には出力固定スイッチ)、NTR1を含む。また、比較器CMP1は第1の差動増幅器200、第2の差動増幅器210を含む。各トランジスタPTR1〜PTR3のゲートには図6のバイアス回路110から供給されるバイアス信号BPが入力される。バイアス信号BPの電圧レベルに基づいて各差動増幅器200、210に供給される電流やノードND5に供給される電流が調整される。
(Comparator)
FIG. 7 shows a configuration example of the first comparator CMP1. The second comparator CMP2 has a circuit configuration similar to that of the first comparator CMP1. The comparator CMP1 includes p-type MOS transistors PTR1 to PTR3 (current source in a broad sense), an n-type MOS transistor FNT (output fixed switch in a broad sense), and NTR1. The comparator CMP1 includes a first differential amplifier 200 and a second differential amplifier 210. A bias signal BP supplied from the bias circuit 110 in FIG. 6 is input to the gates of the transistors PTR1 to PTR3. Based on the voltage level of the bias signal BP, the current supplied to the differential amplifiers 200 and 210 and the current supplied to the node ND5 are adjusted.

n型MOSトランジスタFNTのゲートには図6の制御回路100から供給される制御信号XENHが入力される。制御回路100は上記のようにアクティブなイネーブル信号ENを受けると制御信号XENHをアクティブに設定する。このとき制御信号XENHは例えばローレベルに設定される。これにより、バイアス回路110から例えばローレベルに設定されたバイアス信号BPが各比較器CMP1、CMP2に供給される。また、ローレベルに設定された制御信号XENHを受け、図7のn型トランジスタFNTはオフ状態となり、比較電圧CVと差動信号DM(又はDP)の電圧レベルの比較結果が検出信号COMP_OUT_DM(COMP_OUT_DPとして出力される。   A control signal XENH supplied from the control circuit 100 of FIG. 6 is input to the gate of the n-type MOS transistor FNT. When receiving the active enable signal EN as described above, the control circuit 100 sets the control signal XENH to active. At this time, the control signal XENH is set to a low level, for example. As a result, the bias signal BP set to, for example, a low level from the bias circuit 110 is supplied to the comparators CMP1 and CMP2. Further, in response to the control signal XENH set to the low level, the n-type transistor FNT in FIG. 7 is turned off, and the comparison result between the voltage levels of the comparison voltage CV and the differential signal DM (or DP) is the detection signal COMP_OUT_DM (COMP_OUT_DP). Is output as

第1の差動増幅器200は第1の入力トランジスタIPT1、第2の入力トランジスタIPT2を含む。第1及び第2の入力トランジスタIPT1、IPT2はp型MOSトランジスタで構成され、第1の入力トランジスタIPT1のゲートには比較電圧CVが入力される。第2の入浴トランジスタIPT2のゲートには差動信号DM(又はDP)が入力される。   The first differential amplifier 200 includes a first input transistor IPT1 and a second input transistor IPT2. The first and second input transistors IPT1 and IPT2 are p-type MOS transistors, and the comparison voltage CV is input to the gate of the first input transistor IPT1. The differential signal DM (or DP) is input to the gate of the second bathing transistor IPT2.

第2の差動増幅器210は第3の入力トランジスタIPT3、第4の入力トランジスタIPT4を含む。第3及び第4の入力トランジスタIPT3、IPT4はp型MOSトランジスタで構成され、第3の入力トランジスタIPT3のゲートは第1の差動増幅器200のノードND2(広義には第2の出力ノード)と接続される。また、第4の入力トランジスタIPT4のゲートは第1の差動増幅器200のノードND1(広義には第1の出力ノード)と接続される。   The second differential amplifier 210 includes a third input transistor IPT3 and a fourth input transistor IPT4. The third and fourth input transistors IPT3 and IPT4 are p-type MOS transistors, and the gate of the third input transistor IPT3 is connected to the node ND2 (second output node in a broad sense) of the first differential amplifier 200. Connected. The gate of the fourth input transistor IPT4 is connected to the node ND1 (first output node in a broad sense) of the first differential amplifier 200.

また、n型トランジスタNTR1のゲートは第2の差動増幅器210のノードND4と接続される。   The gate of the n-type transistor NTR1 is connected to the node ND4 of the second differential amplifier 210.

以上のように図6の制御回路100に供給されるイネーブル信号ENがアクティブに設定されると、バイアス回路110のバイアス信号BPがアクティブにされる。これにより、各比較器CMP1、CMP2のp型トランジスタPTR1〜PTR3がオンとなり、各比較器CMP1、CMP2の差動増幅器200,210が動作状態となり、比較電圧CVと差動信号DM(又はDP)との信号レベルの差に応じて第2の差動増幅器210のノードND4(広義には第3の出力ノード)の電位が変化する。このノードND4の電位に応じてn型トランジスタNTR1が制御され、比較電圧CVと差動信号DM(又はDP)との比較結果が検出信号COMP_OUT_DM(COMP_OUT_DPとして出力される。   As described above, when the enable signal EN supplied to the control circuit 100 in FIG. 6 is set to active, the bias signal BP of the bias circuit 110 is activated. As a result, the p-type transistors PTR1 to PTR3 of the comparators CMP1 and CMP2 are turned on, the differential amplifiers 200 and 210 of the comparators CMP1 and CMP2 are activated, and the comparison voltage CV and the differential signal DM (or DP). The potential of the node ND4 (third output node in a broad sense) of the second differential amplifier 210 changes according to the signal level difference between the first and second differential amplifiers 210. The n-type transistor NTR1 is controlled according to the potential of the node ND4, and the comparison result between the comparison voltage CV and the differential signal DM (or DP) is output as the detection signal COMP_OUT_DM (COMP_OUT_DP).

次に、図8(A)〜図8(D)、図9(A)〜図9(D)の波形図を用いて、比較器CMP1、CMP2の動作を説明する。なお、図8(A)〜図8(D)は、ホスト−デバイス間が接続状態にある場合の波形図であり、図9(A)〜図9(D)は、ホスト−デバイス間が切断状態にある場合の波形図である。また、図8(A)〜図8(D)、図9(A)〜図9(D)では、比較電圧CVが図8(A)に示すように例えば600mVに設定されている。   Next, the operations of the comparators CMP1 and CMP2 will be described with reference to the waveform diagrams of FIGS. 8A to 8D and FIGS. 9A to 9D. 8A to 8D are waveform diagrams when the host and the device are in a connected state, and FIGS. 9A to 9D are disconnected between the host and the device. It is a wave form diagram in a state. Further, in FIGS. 8A to 8D and FIGS. 9A to 9D, the comparison voltage CV is set to, for example, 600 mV as shown in FIG. 8A.

図8(A)のA1は例えば差動信号DPのEOPを示し、A2は例えば差動信号DMのEOPを示す。また、図8(A)のA3は例えば差動信号DMのEOPを示し、A4は例えば差動信号DPのEOPを示す。   In FIG. 8A, A1 indicates EOP of the differential signal DP, for example, and A2 indicates EOP of the differential signal DM, for example. 8A indicates, for example, EOP of the differential signal DM, and A4 indicates, for example, EOP of the differential signal DP.

まず、ホスト−デバイス間が切断されていない場合の切断検出回路52−1の動作を説明する。ホスト−デバイス間が接続状態の場合には、図8(A)のA1やA3に示すように、SOFパケットが送信されたときの差動信号DP及びDMのEOPの電圧レベルは比較電圧CVの電圧レベルよりも低い。この場合、切断検出回路52はホスト−デバイス間が接続状態にあることを示す信号を出力しなくてはならない。   First, the operation of the disconnection detection circuit 52-1 when the host-device is not disconnected will be described. When the host-device is connected, as shown in A1 and A3 in FIG. 8A, the voltage levels of the EOPs of the differential signals DP and DM when the SOF packet is transmitted are equal to the comparison voltage CV. Below the voltage level. In this case, the disconnection detection circuit 52 must output a signal indicating that the host-device is connected.

このとき、図7の比較器CMP1、CMP2のノードND1の電圧レベルは、図8(B)のA6、A8に示すようにローレベルであり、ノードND2の電圧レベルはA5、A7に示すようにハイレベルとなる。これは、入力トランジスタIPT1のゲートに入力される電圧レベルが入力トランジスタIPT2のゲートに入力される電圧レベルよりも高いためである。なお、図8(B)は図7のノードND1、ND2の電圧レベルを示す波形図であり、A5〜A8は差動信号DP、DMのEOPに対応する期間でのノードND1、ND2の電圧レベルである。   At this time, the voltage levels of the nodes ND1 of the comparators CMP1 and CMP2 in FIG. 7 are low as shown by A6 and A8 in FIG. 8B, and the voltage level of the node ND2 is shown by A5 and A7. Become high level. This is because the voltage level input to the gate of the input transistor IPT1 is higher than the voltage level input to the gate of the input transistor IPT2. 8B is a waveform diagram showing the voltage levels of the nodes ND1 and ND2 in FIG. 7, and A5 to A8 are the voltage levels of the nodes ND1 and ND2 in the period corresponding to the EOP of the differential signals DP and DM. It is.

これにより、図7の差動増幅器210の入力トランジスタIPT3のゲートにはハイレベルの電圧が入力され、入力トランジスタIPT4のゲートにはローレベルの電圧が入力される。従って、このときのノードND4の電圧レベルは図8(C)のA9、A11に示すようにハイレベルとなる。なお、ノードND3の電圧レベルは図8(C)のA10、A12に示すようにローレベルとなる。   Accordingly, a high level voltage is input to the gate of the input transistor IPT3 of the differential amplifier 210 of FIG. 7, and a low level voltage is input to the gate of the input transistor IPT4. Accordingly, the voltage level of the node ND4 at this time becomes a high level as indicated by A9 and A11 in FIG. 8C. Note that the voltage level of the node ND3 is low as indicated by A10 and A12 in FIG.

ノードND4の電圧レベルがハイレベルに設定されるため、n型トランジスタNTR1がオン状態となり、ノードND5の電圧レベルがグランドレベル側に変化する。従って、図8(D)のA13に示すように各比較器CMP1、CMP2の検出信号COMP_OUT_DM、COMP_OUT_DPの電圧レベルがローレベルに設定される。即ち、図6の切断検出回路52−1は、ホスト−デバイス間が接続状態の場合に、誤った切断検出をすることなく、切断されていないことを示す検出信号を出力することができる。   Since the voltage level of the node ND4 is set to the high level, the n-type transistor NTR1 is turned on, and the voltage level of the node ND5 changes to the ground level side. Therefore, as indicated by A13 in FIG. 8D, the voltage levels of the detection signals COMP_OUT_DM and COMP_OUT_DP of the comparators CMP1 and CMP2 are set to a low level. That is, the disconnection detection circuit 52-1 of FIG. 6 can output a detection signal indicating that disconnection has not occurred without erroneously detecting disconnection when the host-device is connected.

なお、A14は図6のイネーブル信号ENの電圧レベルを示す。切断検出の際にイネーブル信号ENはハイレベル(アクティブ)に設定され、それに伴い、バイアス信号BPは図8(D)のA15に示すようにハイレベルからローレベルに設定される。これにより、図7の各トランジスタPTR1〜PTR3のソース・ドレイン間に電流が流れる。   A14 indicates the voltage level of the enable signal EN in FIG. When the disconnection is detected, the enable signal EN is set to the high level (active), and accordingly, the bias signal BP is set from the high level to the low level as indicated by A15 in FIG. 8D. Thereby, a current flows between the source and drain of each of the transistors PTR1 to PTR3 in FIG.

次に、ホスト−デバイス間が切断されている状態の場合の切断検出回路52−1の動作を説明する。ホスト−デバイス間が切断されている状態の場合には、図9(A)のB1やB3に示すように、SOFパケットが送信されたときの差動信号DPやDMのEOPの電圧レベルは比較電圧CVの電圧レベルよりも高い。この場合、切断検出回路52はホスト−デバイス間が切断状態にあることを示す信号を出力しなくてはならない。   Next, the operation of the disconnection detection circuit 52-1 when the host-device is disconnected will be described. When the host-device is disconnected, as shown in B1 and B3 in FIG. 9A, the voltage levels of the differential signal DP and DM EOP when the SOF packet is transmitted are compared. It is higher than the voltage level of the voltage CV. In this case, the disconnection detection circuit 52 must output a signal indicating that the host-device is disconnected.

例えばSOFパケットのEOPにおいて、差動信号DP、DMが図9(A)のB1、B2に示すような場合、図7の比較器CMP1の入力トランジスタIPT1のゲートには比較電圧CVが入力され、比較器CMP1の入力トランジスタIPT2のゲートには、図9(A)に示すように比較電圧CVよりも電圧レベルの高い差動信号DPが入力される。   For example, in the EOP of the SOF packet, when the differential signals DP and DM are as indicated by B1 and B2 in FIG. 9A, the comparison voltage CV is input to the gate of the input transistor IPT1 of the comparator CMP1 in FIG. A differential signal DP having a voltage level higher than the comparison voltage CV is input to the gate of the input transistor IPT2 of the comparator CMP1 as shown in FIG.

これにより、図7の比較器CMP1のノードND1の電圧レベルは図9(B)のB5に示すようにハイレベルとなり、比較器CMP1のノードND2の電圧レベルはB6に示すようにローレベルとなる。従って、比較器CMP1の差動増幅器210の入力トランジスタIPT3のゲートにはローレベルの電圧が入力され、入力トランジスタIPT4のゲートにはハイレベルの電圧が入力されることになる。即ち、差動増幅器210のノードND3の電圧レベルは図9(C)のB7に示すように、B8のノードND4の電圧レベルより高くなり、ノードND4の電圧レベルは図9(C)のB8に示すようにローレベルとなる。   As a result, the voltage level of the node ND1 of the comparator CMP1 in FIG. 7 becomes a high level as indicated by B5 in FIG. 9B, and the voltage level of the node ND2 of the comparator CMP1 becomes a low level as indicated by B6. . Accordingly, a low level voltage is input to the gate of the input transistor IPT3 of the differential amplifier 210 of the comparator CMP1, and a high level voltage is input to the gate of the input transistor IPT4. That is, the voltage level of the node ND3 of the differential amplifier 210 is higher than the voltage level of the node ND4 of B8 as indicated by B7 in FIG. 9C, and the voltage level of the node ND4 is B8 of FIG. 9C. As shown, it goes low.

これにより、図7の比較器CMP1のn型トランジスタNTR1のゲートにはローレベルの電圧が入力されるため、図7のノードND5の電圧レベルはp型トランジスタPTR3によって調整されたレベルとなり、比較器CMP1の検出信号COMP_OUT_DPはハイレベルとなる。   Accordingly, since a low level voltage is input to the gate of the n-type transistor NTR1 of the comparator CMP1 in FIG. 7, the voltage level of the node ND5 in FIG. 7 becomes a level adjusted by the p-type transistor PTR3. The detection signal COMP_OUT_DP of CMP1 becomes high level.

一方、差動信号DMが入力される比較器CMP2側では、図7の比較器CMP2の入力トランジスタIPT1のゲートには比較電圧CVが入力され、比較器CMP2の入力トランジスタIPT2のゲートには、図9(A)のB2に示すように比較電圧CVよりも電圧レベルの低い差動信号DMが入力される。   On the other hand, on the side of the comparator CMP2 to which the differential signal DM is input, the comparison voltage CV is input to the gate of the input transistor IPT1 of the comparator CMP2 of FIG. 7, and the gate of the input transistor IPT2 of the comparator CMP2 is A differential signal DM having a voltage level lower than the comparison voltage CV is input as indicated by B2 in 9 (A).

これにより、図7の比較器CMP2のノードND1の電圧レベルは図9(B)のB9に示すようにローレベルとなり、比較器CMP2のノードND2の電圧レベルはB10に示すようにハイレベルとなる。従って、比較器CMP2の差動増幅器210の入力トランジスタIPT3のゲートにはハイレベルの電圧が入力され、入力トランジスタIPT4のゲートにはローレベルの電圧が入力されることになる。即ち、差動増幅器210のノードND3の電圧レベルは図9(C)のB11に示すように、B12のノードND4の電圧レベルより低くなり、ノードND4の電圧レベルは図9(C)のB12に示すようにハイレベルとなる。   As a result, the voltage level of the node ND1 of the comparator CMP2 in FIG. 7 becomes a low level as indicated by B9 in FIG. 9B, and the voltage level of the node ND2 of the comparator CMP2 becomes a high level as indicated by B10. . Therefore, a high level voltage is input to the gate of the input transistor IPT3 of the differential amplifier 210 of the comparator CMP2, and a low level voltage is input to the gate of the input transistor IPT4. That is, the voltage level of the node ND3 of the differential amplifier 210 is lower than the voltage level of the node ND4 of B12, as indicated by B11 in FIG. 9C, and the voltage level of the node ND4 is B12 of FIG. 9C. High level as shown.

これにより、図7の比較器CMP2のn型トランジスタNTR1のゲートにはハイレベルの電圧が入力されるため、図7のノードND5の電圧レベルは、前述のホスト−デバイス間が接続状態にあるときと同様にグランドレベル側に変化する。   Accordingly, since a high level voltage is input to the gate of the n-type transistor NTR1 of the comparator CMP2 in FIG. 7, the voltage level of the node ND5 in FIG. It changes to the ground level side as well.

以上のようにして、比較器CMP1の検出信号COMP_OUT_DPはハイレベルに設定され、比較器CMP2の検出信号COMP_OUT_DMはローレベルに設定される。即ち、切断検出回路52−1は図9(D)のB13に示すようにハイレベルの信号を出力し、ホスト−デバイス間の切断状態を検出する。これは、図9(A)のB1のように差動信号DPの電圧レベルが比較電圧CVの電圧レベルを上回った場合における切断検出であり、図9(D)のB13に示すように切断検出回路52−1は、図9(A)のB1の差動信号DPと比較電圧CVとを比較して直ちに切断検出することが可能である。   As described above, the detection signal COMP_OUT_DP of the comparator CMP1 is set to a high level, and the detection signal COMP_OUT_DM of the comparator CMP2 is set to a low level. That is, the disconnection detection circuit 52-1 outputs a high level signal as indicated by B13 in FIG. 9D, and detects the disconnection state between the host and the device. This is disconnection detection when the voltage level of the differential signal DP exceeds the voltage level of the comparison voltage CV as indicated by B1 in FIG. 9A, and disconnection detection is indicated as indicated by B13 in FIG. 9D. The circuit 52-1 can detect disconnection immediately by comparing the differential signal DP of B1 of FIG. 9A with the comparison voltage CV.

なお、図9(D)のB14は図8(D)と同様に図6のイネーブル信号ENの電圧レベルを示し、B15はバイアス信号BPを示す。   Note that B14 in FIG. 9D indicates the voltage level of the enable signal EN in FIG. 6 as in FIG. 8D, and B15 indicates the bias signal BP.

また、図9(A)のB3、B4に示すように、SOFパケットのEOPにおいて、差動信号DMの電圧レベルが比較電圧CVの電圧レベルより高く、差動信号DPの電圧レベルが比較電圧CVの電圧レベルより低い場合には、図7の比較器CMP1の入力トランジスタIPT1のゲートには比較電圧CVが入力され、比較器CMP1の入力トランジスタIPT2のゲートには、図9(A)に示すように比較電圧CVよりも電圧レベルの高い差動信号DMが入力される。   Further, as shown by B3 and B4 in FIG. 9A, in the EOP of the SOF packet, the voltage level of the differential signal DM is higher than the voltage level of the comparison voltage CV, and the voltage level of the differential signal DP is higher than the comparison voltage CV. 7 is input to the gate of the input transistor IPT1 of the comparator CMP1 in FIG. 7, and the gate of the input transistor IPT2 of the comparator CMP1 is input to the gate of the input transistor IPT2 as shown in FIG. A differential signal DM having a voltage level higher than that of the comparison voltage CV is input.

この場合の切断検出回路52−1の動作は、前述の差動信号DPの電圧レベルが比較電圧CVの電圧レベルより高い場合とほとんど同様であり、各ノードND1〜ND4の電圧レベルを示す波形が比較器CMP1とCMP2とで入れ替わるだけである。   The operation of the disconnection detection circuit 52-1 in this case is almost the same as the case where the voltage level of the differential signal DP is higher than the voltage level of the comparison voltage CV, and the waveform indicating the voltage level of each of the nodes ND1 to ND4. Only the comparators CMP1 and CMP2 are switched.

例えば、図9(B)のB16は比較器CMP2のノードND1の電圧レベルを示し、B17は比較器CMP2のノードND2の電圧レベルを示す。また、B18は比較器CMP1のノードND1の電圧レベルを示し、B19は比較器CMP1のノードND2の電圧レベルを示す。   For example, B16 in FIG. 9B indicates the voltage level of the node ND1 of the comparator CMP2, and B17 indicates the voltage level of the node ND2 of the comparator CMP2. B18 indicates the voltage level of the node ND1 of the comparator CMP1, and B19 indicates the voltage level of the node ND2 of the comparator CMP1.

同様に図9(C)のB20は比較器CMP2のノードND3の電圧レベルを示し、B21は比較器CMP2のノードND4の電圧レベルを示す。また、B22は比較器CMP1のノードND3の電圧レベルを示し、B23は比較器CMP1のノードND4の電圧レベルを示す。   Similarly, B20 in FIG. 9C indicates the voltage level of the node ND3 of the comparator CMP2, and B21 indicates the voltage level of the node ND4 of the comparator CMP2. B22 indicates the voltage level of the node ND3 of the comparator CMP1, and B23 indicates the voltage level of the node ND4 of the comparator CMP1.

結果として、図7の比較器CMP1のn型トランジスタNTR1のゲートにはハイレベルの電圧が入力されるため、比較器CMP1の検出信号COMP_OUT_DPはローレベルとなる。また、比較器CMP2のn型トランジスタNTR1のゲートにはローレベルの電圧が入力されるため、比較器CMP2の検出信号COMP_OUT_DMはハイレベルとなる。即ち、切断検出回路52−1は、図9(D)のB24に示すようにハイレベルの信号を出力して切断検出する。   As a result, since a high level voltage is input to the gate of the n-type transistor NTR1 of the comparator CMP1 in FIG. 7, the detection signal COMP_OUT_DP of the comparator CMP1 becomes a low level. Further, since a low level voltage is input to the gate of the n-type transistor NTR1 of the comparator CMP2, the detection signal COMP_OUT_DM of the comparator CMP2 becomes high level. That is, the disconnection detection circuit 52-1 outputs a high level signal to detect disconnection as indicated by B24 in FIG.

このように、切断検出回路52−1は、差動信号DMの電圧レベルが比較電圧CVの電圧レベルを上回った場合でも直ちに切断検出が可能である。   As described above, the disconnection detection circuit 52-1 can immediately detect disconnection even when the voltage level of the differential signal DM exceeds the voltage level of the comparison voltage CV.

以上のように、切断検出回路52−1は、差動信号DP、DMのいずれか一方の電圧レベルが比較電圧CVを上回った場合に直ちにホスト−デバイス間の切断検出を行うことができる。   As described above, the disconnection detection circuit 52-1 can immediately detect disconnection between the host and the device when the voltage level of one of the differential signals DP and DM exceeds the comparison voltage CV.

3.3.2.切断検出回路の変形例
図10に切断検出回路52の一部の具体的な構成例の変形例を示す。図10の切断検出回路52−2は、第1及び第2の比較器CMP1、CMP2、制御回路100、バイアス回路112(広義にはバイアス信号発生回路、第2の差動増幅器用バイアス信号発生回路)を含むが、これに限定されない。例えば、切断検出回路52−2は制御回路100を含まない構成でもよい。
3.3.2. Modification of Cut Detection Circuit FIG. 10 shows a modification of a specific configuration example of a part of the cut detection circuit 52. 10 includes a first and second comparators CMP1, CMP2, a control circuit 100, and a bias circuit 112 (a bias signal generating circuit in a broad sense, a second differential amplifier bias signal generating circuit). ), But is not limited to this. For example, the disconnection detection circuit 52-2 may not include the control circuit 100.

制御回路100は、切断検出回路52−1と同様の構成でよく、イネーブル信号ENに基づいて制御信号XENHを第1、第2の比較器CMP1、CMP2及びバイアス回路112に供給する。   The control circuit 100 may have the same configuration as the disconnection detection circuit 52-1, and supplies the control signal XENH to the first and second comparators CMP1 and CMP2 and the bias circuit 112 based on the enable signal EN.

バイアス回路112は、制御回路100からの制御信号XENHに基づいてバイアス信号BP及びBN(広義には第2の差動増幅器用バイアス信号)を発生し、第1、第2の比較器CMP1、CMP2に出力する。具体的には、制御信号XENHがアクティブに設定されている場合、バイアス回路110はバイアス信号BPをハイレベルからローレベルに設定し、バイアス信号BNをローレベルからハイレベルに設定する。反対に、制御信号XENHがノンアクティブに設定されている場合には、バイアス回路110はバイアス信号BPをハイレベルのままに設定し、バイアス信号BNをローレベルのままにする。   The bias circuit 112 generates bias signals BP and BN (second differential amplifier bias signal in a broad sense) based on the control signal XENH from the control circuit 100, and the first and second comparators CMP1, CMP2 Output to. Specifically, when the control signal XENH is set to active, the bias circuit 110 sets the bias signal BP from a high level to a low level and sets the bias signal BN from a low level to a high level. On the other hand, when the control signal XENH is set to non-active, the bias circuit 110 sets the bias signal BP at a high level and keeps the bias signal BN at a low level.

第1、第2の比較器CMP1、CMP2の電流源は、バイアス信号BP、BNの信号レベルに基づいて調整される。具体的には、図11にも示されているが、バイアス信号BPがローレベルに設定されている場合に各比較器CMP1、CMP2の第1の差動増幅器200の電流源がオンに設定され、バイアス信号BPがハイレベルに設定されている場合に各比較器CMP1、CMP2の第1の差動増幅器200の電流源がオフに設定される。同様に、バイアス信号BNがハイレベルに設定されている場合に各比較器CMP1、CMP2の第2の差動増幅器210の電流源がオンに設定され、バイアス信号BNがローレベルに設定されている場合に各比較器CMP1、CMP2の第2の差動増幅器210の電流源がオフに設定される。   The current sources of the first and second comparators CMP1 and CMP2 are adjusted based on the signal levels of the bias signals BP and BN. Specifically, as shown in FIG. 11, when the bias signal BP is set to a low level, the current source of the first differential amplifier 200 of each of the comparators CMP1 and CMP2 is set to ON. When the bias signal BP is set to the high level, the current source of the first differential amplifier 200 of each of the comparators CMP1 and CMP2 is set to OFF. Similarly, when the bias signal BN is set to the high level, the current source of the second differential amplifier 210 of each of the comparators CMP1 and CMP2 is set to on, and the bias signal BN is set to the low level. In this case, the current source of the second differential amplifier 210 of each of the comparators CMP1 and CMP2 is set off.

切断検出回路52−2と切断検出回路52−1の相違点は、バイアス回路112と、各比較器CMP1、CMP2の構成である。その他に関しては切断検出回路52−2は本実施形態は切断検出回路52−1と同様である。   The difference between the disconnection detection circuit 52-2 and the disconnection detection circuit 52-1 is the configuration of the bias circuit 112 and the comparators CMP1 and CMP2. In other respects, the disconnection detection circuit 52-2 is the same as the disconnection detection circuit 52-1.

(比較器)
図11に変形例にかかる切断検出回路52−2の第1の比較器CMP1の構成例を示す。なお、第2の比較器CMP2は第1の比較器CMP1と同様の回路構成である。図11の比較器CMP1は、第1の差動増幅器200と、第2の差動増幅器220を含む。なお、切断検出回路52−1の比較器CMP1と変形例の比較器CMP1の相違点は第2の差動増幅器210、220である。その他の構成は切断検出回路52−1、52−2とも同様である。
(Comparator)
FIG. 11 shows a configuration example of the first comparator CMP1 of the disconnection detection circuit 52-2 according to the modification. The second comparator CMP2 has a circuit configuration similar to that of the first comparator CMP1. The comparator CMP1 of FIG. 11 includes a first differential amplifier 200 and a second differential amplifier 220. The difference between the comparator CMP1 of the disconnection detection circuit 52-1 and the comparator CMP1 of the modification is the second differential amplifiers 210 and 220. Other configurations are the same as the disconnection detection circuits 52-1 and 52-2.

第2の差動増幅器220は第3の入力トランジスタINT1、第4の入力トランジスタINT2を含む。第3及び第4の入力トランジスタINT1、INT2はn型MOSトランジスタで構成され、第3の入力トランジスタINT1のゲートは第1の差動増幅器200のノードND2と接続される。また、第4の入力トランジスタINT2のゲートは第1の差動増幅器200のノードND1と接続される。   The second differential amplifier 220 includes a third input transistor INT1 and a fourth input transistor INT2. The third and fourth input transistors INT1 and INT2 are n-type MOS transistors, and the gate of the third input transistor INT1 is connected to the node ND2 of the first differential amplifier 200. The gate of the fourth input transistor INT2 is connected to the node ND1 of the first differential amplifier 200.

また、第2の差動増幅器220は、n型トランジスタNTR2を含み、n型トランジスタNTR2のゲートには図10のバイアス回路112からのバイアス信号BNが入力される。バイアス信号BNの電圧レベルに基づいて差動増幅器220に供給される電流が調整される。   The second differential amplifier 220 includes an n-type transistor NTR2, and the bias signal BN from the bias circuit 112 in FIG. 10 is input to the gate of the n-type transistor NTR2. The current supplied to the differential amplifier 220 is adjusted based on the voltage level of the bias signal BN.

また、n型トランジスタNTR1のゲートは第2の差動増幅器220のノードND14と接続される。   The gate of the n-type transistor NTR1 is connected to the node ND14 of the second differential amplifier 220.

制御回路100は上記のようにアクティブなイネーブル信号ENを受けると制御信号XENHをアクティブに設定する。このとき制御信号XENHは例えばローレベルに設定される。これにより、バイアス回路112から例えばハイレベルからローレベルに設定されたバイアス信号BP及び例えばローレベルからハイレベルに設定されたバイアス信号BNが各比較器CMP1、CMP2に供給される。これにより、各差動増幅器200、220の電流源であるトランジスタPTR1、NTR2がオン状態となる。   When receiving the active enable signal EN as described above, the control circuit 100 sets the control signal XENH to active. At this time, the control signal XENH is set to a low level, for example. Thereby, the bias signal BP set from the high level to the low level, for example, and the bias signal BN set from the low level to the high level, for example, are supplied from the bias circuit 112 to the comparators CMP1 and CMP2. As a result, the transistors PTR1 and NTR2 which are current sources of the differential amplifiers 200 and 220 are turned on.

以上のように図10の制御回路100に供給されるイネーブル信号ENがアクティブに設定されると、バイアス回路112のバイアス信号BP、BNがアクティブにされる。これにより、各比較器CMP1、CMP2の電流源がオンとなり、各比較器CMP1、CMP2の差動増幅器200,220が動作状態となり、比較電圧CVと差動信号DM(又はDP)との信号レベルの差に応じて第2の差動増幅器220のノードND14の電位が変化する。このノードND14の電位に応じてn型トランジスタNTR1が制御され、比較電圧CVと差動信号DM(又はDP)との比較結果が検出信号COMP_OUT_DM(COMP_OUT_DPとして出力される。   As described above, when the enable signal EN supplied to the control circuit 100 of FIG. 10 is set to active, the bias signals BP and BN of the bias circuit 112 are made active. As a result, the current sources of the comparators CMP1 and CMP2 are turned on, the differential amplifiers 200 and 220 of the comparators CMP1 and CMP2 are activated, and the signal level between the comparison voltage CV and the differential signal DM (or DP). The potential of the node ND14 of the second differential amplifier 220 changes according to the difference. The n-type transistor NTR1 is controlled according to the potential of the node ND14, and the comparison result between the comparison voltage CV and the differential signal DM (or DP) is output as the detection signal COMP_OUT_DM (COMP_OUT_DP).

次に、図12(A)〜図12(D)、図13(A)〜図13(D)の波形図を用いて、変形例における比較器CMP1、CMP2の動作を説明する。なお、図12(A)〜図12(D)は、ホスト−デバイス間が接続状態にある場合の波形図であり、図13(A)〜図13(D)は、ホスト−デバイス間が切断状態にある場合の波形図である。また、図12(A)〜図12(D)、図13(A)〜図13(D)では、比較電圧CVが図8(A)に示すように例えば600mVに設定されている。   Next, operations of the comparators CMP1 and CMP2 in the modification will be described with reference to waveform diagrams of FIGS. 12A to 12D and 13A to 13D. 12A to 12D are waveform diagrams when the host and the device are in a connected state, and FIGS. 13A to 13D are disconnected between the host and the device. It is a wave form diagram in a state. Further, in FIGS. 12A to 12D and FIGS. 13A to 13D, the comparison voltage CV is set to, for example, 600 mV as shown in FIG. 8A.

図12(A)のA1は例えば差動信号DPのEOPを示し、A2は例えば差動信号DMのEOPを示す。また、図12(A)のA3は例えば差動信号DMのEOPを示し、A4は例えば差動信号DPのEOPを示す。なお、図12(A)、図12(B)の波形は図8(A)、図8(B)と同様である。切断検出回路52−1、52−2では第1の差動増幅器200が同様の動作をするため、入力される差動信号DP、DMが同じなら、各ノードND1、ND2の波形も大体同じになる。   In FIG. 12A, A1 indicates, for example, EOP of the differential signal DP, and A2 indicates, for example, EOP of the differential signal DM. Further, A3 in FIG. 12A indicates EOP of the differential signal DM, for example, and A4 indicates EOP of the differential signal DP, for example. The waveforms in FIGS. 12A and 12B are the same as those in FIGS. 8A and 8B. In the disconnection detection circuits 52-1, 52-2, the first differential amplifier 200 operates in the same manner. Therefore, if the input differential signals DP, DM are the same, the waveforms of the nodes ND1, ND2 are substantially the same. Become.

まず、ホスト−デバイス間が切断されていない場合の切断検出回路52−2の動作を説明する。ホスト−デバイス間が接続状態の場合には、図12(A)のA1やA3に示すように、SOFパケットが送信されたときの差動信号DP及びDMのEOPの電圧レベルは比較電圧CVの電圧レベルよりも低い。この場合、切断検出回路52−2はホスト−デバイス間が接続状態にあることを示す信号を出力しなくてはならない。   First, the operation of the disconnection detection circuit 52-2 when the host-device is not disconnected will be described. When the host-device is connected, as shown in A1 and A3 of FIG. 12A, the voltage levels of the differential signals DP and DM EOP when the SOF packet is transmitted are equal to the comparison voltage CV. Below the voltage level. In this case, the disconnection detection circuit 52-2 must output a signal indicating that the host-device is connected.

このとき、図11の比較器CMP1、CMP2のノードND1の電圧レベルは、図12(B)のA6、A8に示すようにローレベルであり、ノードND2の電圧レベルはA5、A7に示すようにハイレベルとなる。なお、図12(B)は図11のノードND1、ND2の電圧レベルを示す波形図である。   At this time, the voltage levels of the nodes ND1 of the comparators CMP1 and CMP2 in FIG. 11 are low levels as indicated by A6 and A8 in FIG. 12B, and the voltage levels of the nodes ND2 are indicated by A5 and A7. Become high level. FIG. 12B is a waveform diagram showing voltage levels of the nodes ND1 and ND2 in FIG.

これにより、図11の差動増幅器220の入力トランジスタINT1のゲートにはハイレベルの電圧が入力され、入力トランジスタINT2のゲートにはローレベルの電圧が入力される。従って、このときのノードND4の電圧レベルは図12(C)のC1、C3に示すようにハイレベルとなる。なお、ノードND3の電圧レベルは図12(C)のC2、C4に示すようにローレベルとなる。   Accordingly, a high level voltage is input to the gate of the input transistor INT1 of the differential amplifier 220 in FIG. 11, and a low level voltage is input to the gate of the input transistor INT2. Accordingly, the voltage level of the node ND4 at this time becomes a high level as indicated by C1 and C3 in FIG. Note that the voltage level of the node ND3 is low as indicated by C2 and C4 in FIG.

ノードND4の電圧レベルがハイレベルに設定されるため、n型トランジスタNTR1がオン状態となり、ノードND5の電圧レベルがグランドレベル側に変化する。従って、図12(D)のC5に示すように各比較器CMP1、CMP2の検出信号COMP_OUT_DM、COMP_OUT_DPの電圧レベルがローレベルに設定される。即ち、図10の切断検出回路52−2は、ホスト−デバイス間が接続状態の場合に、誤った切断検出をすることなく、切断されていないことを示す検出信号を出力することができる。   Since the voltage level of the node ND4 is set to the high level, the n-type transistor NTR1 is turned on, and the voltage level of the node ND5 changes to the ground level side. Accordingly, as indicated by C5 in FIG. 12D, the voltage levels of the detection signals COMP_OUT_DM and COMP_OUT_DP of the comparators CMP1 and CMP2 are set to a low level. That is, the disconnection detection circuit 52-2 in FIG. 10 can output a detection signal indicating that disconnection has not occurred without erroneously detecting disconnection when the host-device is connected.

なお、図12(D)のC7は図10のイネーブル信号ENの電圧レベルを示す。切断検出の際にイネーブル信号ENはハイレベル(アクティブ)に設定され、それに伴い、バイアス信号BPは図12(D)のC8に示すようにハイレベルからローレベルに設定される。また、バイアス信号BNがC6に示すようにローレベルからハイレベルに設定される。これにより、図11の各トランジスタPTR1、PTR3、NTR2のソース・ドレイン間に電流が流れる。   Note that C7 in FIG. 12D indicates the voltage level of the enable signal EN in FIG. When the disconnection is detected, the enable signal EN is set to a high level (active), and accordingly, the bias signal BP is set from a high level to a low level as indicated by C8 in FIG. Further, the bias signal BN is set from the low level to the high level as indicated by C6. As a result, a current flows between the source and drain of each of the transistors PTR1, PTR3, and NTR2 in FIG.

次に、ホスト−デバイス間が切断されている状態の場合の切断検出回路52−2の動作を説明する。ホスト−デバイス間が切断されている状態の場合には、図13(A)のD1やD3に示すように、SOFパケットが送信されたときの差動信号DPやDMのEOPの電圧レベルは比較電圧CVの電圧レベルよりも高い。この場合、切断検出回路52−2はホスト−デバイス間が切断状態にあることを示す信号を出力しなくてはならない。   Next, the operation of the disconnection detection circuit 52-2 when the host-device is disconnected will be described. When the host-device is disconnected, the voltage levels of the differential signal DP and DM EOP when the SOF packet is transmitted are compared as indicated by D1 and D3 in FIG. It is higher than the voltage level of the voltage CV. In this case, the disconnection detection circuit 52-2 must output a signal indicating that the host-device is disconnected.

例えばSOFパケットのEOPにおいて、差動信号DP、DMが図13(A)のD1、D2に示すような場合、図11の比較器CMP1の入力トランジスタIPT1のゲートには比較電圧CVが入力され、比較器CMP1の入力トランジスタIPT2のゲートには、図13(A)に示すように比較電圧CVよりも電圧レベルの高い差動信号DPが入力される。   For example, in the EOP of the SOF packet, when the differential signals DP and DM are as indicated by D1 and D2 in FIG. 13A, the comparison voltage CV is input to the gate of the input transistor IPT1 of the comparator CMP1 in FIG. A differential signal DP having a voltage level higher than the comparison voltage CV is input to the gate of the input transistor IPT2 of the comparator CMP1 as shown in FIG.

これにより、図11の比較器CMP1のノードND1の電圧レベルは図13(B)のD5に示すようにハイレベルとなり、比較器CMP1のノードND2の電圧レベルはD6に示すようにローレベルとなる。従って、比較器CMP1の差動増幅器220の入力トランジスタINT1のゲートにはローレベルの電圧が入力され、入力トランジスタINT2のゲートにはハイレベルの電圧が入力されることになる。即ち、差動増幅器220のノードND3の電圧レベルは図13(C)のD7に示すように、D8のノードND4の電圧レベルより高くなり、ノードND4の電圧レベルは図13(C)のD8に示すようにローレベルとなる。   As a result, the voltage level of the node ND1 of the comparator CMP1 in FIG. 11 becomes a high level as indicated by D5 in FIG. 13B, and the voltage level of the node ND2 of the comparator CMP1 becomes a low level as indicated by D6. . Accordingly, a low level voltage is input to the gate of the input transistor INT1 of the differential amplifier 220 of the comparator CMP1, and a high level voltage is input to the gate of the input transistor INT2. That is, the voltage level of the node ND3 of the differential amplifier 220 is higher than the voltage level of the node ND4 of D8 as indicated by D7 in FIG. 13C, and the voltage level of the node ND4 is D8 of FIG. 13C. As shown, it goes low.

これにより、図11の比較器CMP1のn型トランジスタNTR1のゲートにはローレベルの電圧が入力されるため、図11のノードND5の電圧レベルはp型トランジスタPTR3によって調整されたレベルとなり、比較器CMP1の検出信号COMP_OUT_DPはハイレベルとなる。   Accordingly, since a low level voltage is input to the gate of the n-type transistor NTR1 of the comparator CMP1 in FIG. 11, the voltage level of the node ND5 in FIG. 11 becomes a level adjusted by the p-type transistor PTR3. The detection signal COMP_OUT_DP of CMP1 becomes high level.

一方、差動信号DMが入力される比較器CMP2側では、図11の比較器CMP2の入力トランジスタIPT1のゲートには比較電圧CVが入力され、比較器CMP2の入力トランジスタIPT2のゲートには、図13(A)のD2に示すように比較電圧CVよりも電圧レベルの低い差動信号DMが入力される。   On the other hand, on the side of the comparator CMP2 to which the differential signal DM is input, the comparison voltage CV is input to the gate of the input transistor IPT1 of the comparator CMP2 in FIG. 11, and the gate of the input transistor IPT2 of the comparator CMP2 is A differential signal DM having a voltage level lower than the comparison voltage CV is input as indicated by D2 in 13 (A).

これにより、図11の比較器CMP2のノードND1の電圧レベルは図13(B)のD9に示すようにローレベルとなり、比較器CMP2のノードND2の電圧レベルはD10に示すようにハイレベルとなる。従って、比較器CMP2の差動増幅器220の入力トランジスタINT1のゲートにはハイレベルの電圧が入力され、入力トランジスタINT2のゲートにはローレベルの電圧が入力されることになる。即ち、差動増幅器220のノードND3の電圧レベルは図13(C)のD11に示すように、D12のノードND4の電圧レベルより低くなり、ノードND4の電圧レベルは図13(C)のD12に示すようにハイレベルとなる。   As a result, the voltage level of the node ND1 of the comparator CMP2 in FIG. 11 becomes a low level as indicated by D9 in FIG. 13B, and the voltage level of the node ND2 of the comparator CMP2 becomes a high level as indicated by D10. . Accordingly, a high level voltage is input to the gate of the input transistor INT1 of the differential amplifier 220 of the comparator CMP2, and a low level voltage is input to the gate of the input transistor INT2. That is, the voltage level of the node ND3 of the differential amplifier 220 is lower than the voltage level of the node ND4 of D12, as indicated by D11 of FIG. 13C, and the voltage level of the node ND4 is D12 of FIG. 13C. High level as shown.

これにより、図11の比較器CMP2のn型トランジスタNTR1のゲートにはハイレベルの電圧が入力されるため、図11のノードND5の電圧レベルは、前述のホスト−デバイス間が接続状態にあるときと同様にグランドレベル側に変化する。   Accordingly, since a high level voltage is input to the gate of the n-type transistor NTR1 of the comparator CMP2 in FIG. 11, the voltage level of the node ND5 in FIG. It changes to the ground level side as well.

以上のようにして、比較器CMP1の検出信号COMP_OUT_DPはハイレベルに設定され、比較器CMP2の検出信号COMP_OUT_DMはローレベルに設定される。即ち、切断検出回路52−2は図13(D)のD13に示すようにハイレベルの信号を出力し、ホスト−デバイス間の切断状態を検出する。これは、図13(A)のD1のように差動信号DPの電圧レベルが比較電圧CVの電圧レベルを上回った場合における切断検出であり、図13(D)のD13に示すように切断検出回路52−2は、図13(A)のD1の差動信号DPと比較電圧CVとを比較して直ちに切断検出することが可能である。   As described above, the detection signal COMP_OUT_DP of the comparator CMP1 is set to a high level, and the detection signal COMP_OUT_DM of the comparator CMP2 is set to a low level. That is, the disconnection detection circuit 52-2 outputs a high level signal as indicated by D13 in FIG. 13D, and detects the disconnection state between the host and the device. This is disconnection detection when the voltage level of the differential signal DP exceeds the voltage level of the comparison voltage CV as indicated by D1 in FIG. 13A, and disconnection detection is indicated as indicated by D13 in FIG. The circuit 52-2 can immediately detect disconnection by comparing the differential signal DP of D1 in FIG. 13A and the comparison voltage CV.

なお、図13(D)のC7は図12(D)と同様に図10のイネーブル信号ENの電圧レベルを示し、C6はバイアス信号BN、C8はバイアス信号BPを示す。   Note that C7 in FIG. 13D indicates the voltage level of the enable signal EN in FIG. 10 as in FIG. 12D, C6 indicates the bias signal BN, and C8 indicates the bias signal BP.

また、図13(A)のB3、B4に示すように、SOFパケットのEOPにおいて、差動信号DMの電圧レベルが比較電圧CVの電圧レベルより高く、差動信号DPの電圧レベルが比較電圧CVの電圧レベルより低い場合には、図11の比較器CMP1の入力トランジスタIPT1のゲートには比較電圧CVが入力され、比較器CMP1の入力トランジスタIPT2のゲートには、図11(A)に示すように比較電圧CVよりも電圧レベルの高い差動信号DMが入力される。   Further, as indicated by B3 and B4 in FIG. 13A, in the EOP of the SOF packet, the voltage level of the differential signal DM is higher than the voltage level of the comparison voltage CV, and the voltage level of the differential signal DP is higher than the comparison voltage CV. 11 is input to the gate of the input transistor IPT1 of the comparator CMP1 in FIG. 11, and the gate of the input transistor IPT2 of the comparator CMP1 is as shown in FIG. 11A. A differential signal DM having a voltage level higher than that of the comparison voltage CV is input.

この場合の切断検出回路52−2の動作は、前述の差動信号DPの電圧レベルが比較電圧CVの電圧レベルより高い場合とほとんど同様であり、各ノードND1〜ND4の電圧レベルを示す波形が比較器CMP1とCMP2とで入れ替わるだけである。従って、切断検出回路52−2は、図13(D)のD14に示すようにハイレベルの信号を出力し、ホスト−デバイス間の切断状態を検出する。この場合も、図13(D)のD14に示すように切断検出回路52−2は、図13(A)のD1の差動信号DPと比較電圧CVとを比較して直ちに切断検出することが可能である。   The operation of the disconnection detection circuit 52-2 in this case is almost the same as that when the voltage level of the differential signal DP is higher than the voltage level of the comparison voltage CV, and the waveform indicating the voltage level of each of the nodes ND1 to ND4. Only the comparators CMP1 and CMP2 are switched. Accordingly, the disconnection detection circuit 52-2 outputs a high level signal as indicated by D14 in FIG. 13D, and detects the disconnection state between the host and the device. Also in this case, as shown by D14 in FIG. 13D, the disconnection detection circuit 52-2 can detect the disconnection immediately by comparing the differential signal DP of D1 in FIG. 13A and the comparison voltage CV. Is possible.

ここで切断検出回路52−1と、切断検出回路52−2を比較すると、切断検出を行った場合における検出信号のハイレベルである期間が異なる。切断検出回路52−1の場合は、例えば図9(D)のB25に示すように差動信号DP、DMのEOPに相当する期間に切断検出を示す信号がハイレベルに設定される
これに対して、変形例の切断検出回路52−2では、図13(D)のD15に示すように、差動信号DP、DMのEOPに相当する期間と、D16に示すようにEOP以外の期間に切断検出を示す信号がハイレベルに設定される。即ち、切断検出回路52−2の比較器CMP1、CMP2は、EOPよりも前の期間での差動信号DP、DMの電圧レベルを比較電圧CVと比較することができる。EOPよりも前の期間では、図9(A)や図13(A)に示すように差動信号DP、DMは高い周波数で振幅している。そのため、切断検出回路52−1の比較器CMP1、CMP2では高い周波数で振幅する差動信号DP、DMに追従することができないため、切断の検出はEOPの期間で行われる。
Here, when the disconnection detection circuit 52-1 and the disconnection detection circuit 52-2 are compared, the period during which the detection signal is at a high level when disconnection detection is performed differs. In the case of the disconnection detection circuit 52-1, for example, a signal indicating disconnection detection is set to a high level during a period corresponding to EOP of the differential signals DP and DM, as indicated by B25 in FIG. 9D. In the disconnection detection circuit 52-2 of the modified example, disconnection is performed in a period corresponding to EOP of the differential signals DP and DM as shown in D15 of FIG. 13D and in a period other than EOP as shown in D16. A signal indicating detection is set to a high level. That is, the comparators CMP1 and CMP2 of the disconnection detection circuit 52-2 can compare the voltage levels of the differential signals DP and DM in the period before EOP with the comparison voltage CV. In a period prior to EOP, the differential signals DP and DM have an amplitude at a high frequency as shown in FIGS. 9A and 13A. For this reason, the comparators CMP1 and CMP2 of the disconnection detection circuit 52-1 cannot follow the differential signals DP and DM that are amplified at a high frequency.

これに対して、変形例の切断検出回路52−2に用いられている比較器CMP1、CMP2は図11に示すように第2の差動増幅器220の第3、第4の入力トランジスタINT1、INT2がn型トランジスタで構成されている。n型トランジスタはp型トランジスタよりも高速にスイッチングが可能なため、図11の比較器CMP1、CMP2は図7の比較器CMP1、CMP2に比べて高速に動作することが可能であり、高い周波数で振幅する差動信号DP、DMに対しても比較電圧CVと、その電圧レベルを比較することができる。   On the other hand, the comparators CMP1 and CMP2 used in the disconnection detection circuit 52-2 of the modified example include the third and fourth input transistors INT1 and INT2 of the second differential amplifier 220 as shown in FIG. Is composed of n-type transistors. Since the n-type transistor can be switched at higher speed than the p-type transistor, the comparators CMP1 and CMP2 in FIG. 11 can operate faster than the comparators CMP1 and CMP2 in FIG. The voltage level of the comparison voltage CV can also be compared with the differential signals DP and DM having amplitude.

また図11の比較器CMP1、CMP2は、図7の比較器CMP1、CMP2の差動増幅器210を差動増幅器220に置き換えたものと見ることができる。差動増幅器210,220の消費電力は、ほぼ同じにすることができる。従って、変形例では、低消費電力を維持しながら高速動作を実現することができる。   Further, the comparators CMP1 and CMP2 in FIG. 11 can be regarded as the differential amplifier 210 of the comparators CMP1 and CMP2 in FIG. The power consumption of the differential amplifiers 210 and 220 can be made substantially the same. Therefore, in the modified example, high-speed operation can be realized while maintaining low power consumption.

以上のように、変形例の切断検出回路52−2は、EOPの前の期間においても切断検出が可能であり、ホスト−デバイス間が切断された際に切断検出回路52−1よりも素早く切断検出を行うことができる。   As described above, the disconnection detection circuit 52-2 according to the modification can detect disconnection even before the EOP, and disconnects faster than the disconnection detection circuit 52-1 when the host-device is disconnected. Detection can be performed.

4.反射波の比較検出
ホストとデバイスは例えば所定の長さのケーブルを介して接続される場合がある。このとき、ホスト側のレセプタクルをAレセプタクルとし、デバイス側のレセプタクルをBレセプタクルとする。Bレセプタクルでデバイスからケーブルがはずされると、ホスト−デバイス間が切断状態となり、この場合、ケーブルの両端のうちのBレセプタクル側でSOFパケットの反射が起こり、Aレセプタクル側では反射波が観測される。Aレセプタクル側でホストからケーブルが切断される場合にはこの反射波をほとんど見られない。
4). Reflected wave comparison detection The host and the device may be connected via a cable having a predetermined length, for example. At this time, the receptacle on the host side is the A receptacle, and the receptacle on the device side is the B receptacle. When the cable is disconnected from the device at the B receptacle, the host-device is disconnected. In this case, the SOF packet is reflected at the B receptacle side at both ends of the cable, and the reflected wave is observed at the A receptacle side. The When the cable is cut from the host on the A receptacle side, this reflected wave is hardly seen.

この反射波による影響は、ケーブルの長さが長いほど大きくなり、図14(A)、図14(B)はそれぞれ、例えば5m、10mのケーブルを用いたときのBレセプタクル側での切断を行った場合の、Aレセプタクル側で観測されるSOFパケットの波形図を示す。   The effect of this reflected wave increases as the cable length increases, and FIGS. 14A and 14B each perform cutting on the B receptacle side when, for example, 5 m and 10 m cables are used. Shows a waveform diagram of the SOF packet observed on the A receptacle side in the case of

図14(A)のE1や図14(B)のE2に示すように、差動信号DP、DMは反射波の影響を受け、そのEOP部分の波形が乱れてしまう。この結果、ホスト−デバイス間は切断状態にあるのに、ホスト側が接続状態と誤認識してしまう事態を生じる。   As indicated by E1 in FIG. 14A and E2 in FIG. 14B, the differential signals DP and DM are affected by the reflected wave, and the waveform of the EOP portion is disturbed. As a result, there is a situation in which the host side erroneously recognizes the connection state even though the host-device is disconnected.

例えば、図14(A)では、反射の影響により、EOP部分において、差動信号DP、DMが比較電圧よりも電圧レベルの高い状態が継続する期間がE1に示すようにかなり短くなってしまう。このような場合、切断検出回路52−1、52−2は正確に切断検出を行えないおそれがある。   For example, in FIG. 14A, due to the influence of reflection, the period during which the differential signals DP and DM remain at a higher voltage level than the comparison voltage in the EOP portion is considerably shortened as indicated by E1. In such a case, the disconnection detection circuits 52-1 and 52-2 may not be able to accurately detect disconnection.

また、図14(B)では、反射波の影響により、EOP期間での差動信号DP、DMが非常に乱れ、切断検出回路52−1、52−2は切断検出が行えない。   In FIG. 14B, the differential signals DP and DM in the EOP period are very disturbed due to the influence of the reflected wave, and the disconnection detection circuits 52-1 and 52-2 cannot detect the disconnection.

そこで、図15に本発明に係る切断検出回路52−3の構成例を示す。切断検出回路52−3は、切断検出回路52−1又は52−2の構成に対して、第1、第2の反射波比較器RCMP1、RCMP2とラッチ回路120が追加されている。第1、第2の反射波比較器RCMP1、RCMP2の具体的な構成は、図7又は図11に示される比較器CMP1、CMP2の構成と同様であり、図14(A)のE3や図14(B)のE4に示す反射波の電圧レベルと反射波比較電圧RCVとを比較する。   FIG. 15 shows a configuration example of the disconnection detection circuit 52-3 according to the present invention. The disconnection detection circuit 52-3 includes first and second reflected wave comparators RCMP1 and RCMP2 and a latch circuit 120 in addition to the configuration of the disconnection detection circuit 52-1 or 52-2. The specific configurations of the first and second reflected wave comparators RCMP1 and RCMP2 are the same as the configurations of the comparators CMP1 and CMP2 shown in FIG. 7 or FIG. 11, and E3 in FIG. The voltage level of the reflected wave indicated by E4 in (B) is compared with the reflected wave comparison voltage RCV.

反射波の電圧レベルと反射波比較電圧RCVとの比較結果はラッチ回路120に供給される。ラッチ回路120は反射波検出用信号STBに基づいて該比較結果をラッチする。具体的には、反射波検出用信号STBが例えばアクティブに設定されると、ラッチ回路120は比較結果をラッチする。   The comparison result between the reflected wave voltage level and the reflected wave comparison voltage RCV is supplied to the latch circuit 120. The latch circuit 120 latches the comparison result based on the reflected wave detection signal STB. Specifically, when the reflected wave detection signal STB is set to active, for example, the latch circuit 120 latches the comparison result.

反射波検出用信号STBは、例えば上位層の回路ブロックによって設定され、例えばSOFパケットが送信された後の所定のタイミングでアクティブに設定される。これにより、反射波が発生した場合に反射波の電圧レベルと反射波比較電圧RCVとの比較結果をラッチ回路120にラッチさせることができる。なお、上位層の回路ブロックにてSOFパケットを送る指示をすることも可能なため、SOFパケットの送信されるタイミングはホストコントローラ側で把握できる。また、SOFパケットのビット数はUSB2.0規格により定義されている。このため、反射波検出用信号STBをSOFパケットのEOPの後の所定のタイミングにアクティブに設定することが可能である。   The reflected wave detection signal STB is set by, for example, an upper layer circuit block, and is set to be active at a predetermined timing after the SOF packet is transmitted, for example. Thereby, when the reflected wave is generated, the comparison result between the reflected wave voltage level and the reflected wave comparison voltage RCV can be latched by the latch circuit 120. Since it is possible to instruct the upper layer circuit block to send the SOF packet, the host controller side can grasp the timing of sending the SOF packet. The number of bits of the SOF packet is defined by the USB 2.0 standard. Therefore, the reflected wave detection signal STB can be set to active at a predetermined timing after EOP of the SOF packet.

次に図16(A)〜図16(C)、図17(A)〜図17(C)を用いて切断検出回路52−3の動作を説明する。   Next, the operation of the disconnection detection circuit 52-3 will be described with reference to FIGS. 16 (A) to 16 (C) and FIGS. 17 (A) to 17 (C).

なお、図16(A)〜図16(C)は、ホスト−デバイス間が接続状態にある場合の波形図であり、図17(A)〜図17(C)は、ホスト−デバイス間が切断状態にある場合の波形図である。また、図16(A)〜図16(C)、図17(A)〜図17(C)では、比較電圧CVが図16(A)に示すように例えば600mVに設定され、反射波比較電圧RCVが例えば200mVに設定されている。   16A to 16C are waveform diagrams when the host and the device are in a connected state, and FIGS. 17A to 17C are disconnected between the host and the device. It is a wave form diagram in a state. Further, in FIGS. 16A to 16C and FIGS. 17A to 17C, the comparison voltage CV is set to, for example, 600 mV as shown in FIG. 16A, and the reflected wave comparison voltage is set. RCV is set to 200 mV, for example.

図16(A)のF1、F6は例えば差動信号DPのEOPを示し、F2、F5は例えば差動信号DMのEOPを示す。また、図16(A)のF3、F8は例えば差動信号DPの反射波を示し、F4、F7は例えば差動信号DMの反射波を示す。   In FIG. 16A, F1 and F6 indicate EOP of the differential signal DP, for example, and F2 and F5 indicate EOP of the differential signal DM, for example. Further, F3 and F8 in FIG. 16A indicate, for example, reflected waves of the differential signal DP, and F4 and F7 indicate, for example, reflected waves of the differential signal DM.

まず、ホスト−デバイス間が切断されていない場合の切断検出回路52−3の動作を説明する。ホスト−デバイス間が接続状態の場合には、図16(A)のF1やF2に示すように、SOFパケットが送信されたときの差動信号DP及びDMのEOPの電圧レベルは比較電圧CVの電圧レベルよりも低い。この場合、切断検出回路52はホスト−デバイス間が接続状態にあることを示す信号を出力しなくてはならない。   First, the operation of the disconnection detection circuit 52-3 when the host-device is not disconnected will be described. When the host-device is connected, as shown in F1 and F2 of FIG. 16A, the voltage levels of the EOPs of the differential signals DP and DM when the SOF packet is transmitted are equal to the comparison voltage CV. Below the voltage level. In this case, the disconnection detection circuit 52 must output a signal indicating that the host-device is connected.

このとき、図16(A)のF1に示すように差動信号DPの電圧レベルは反射波比較電圧RCVよりも高い。したがって、図15の第1の反射波比較器RCMP1の検出信号OUTDP2は図16(B)のF9に示すようにハイレベルとなる。   At this time, as indicated by F1 in FIG. 16A, the voltage level of the differential signal DP is higher than the reflected wave comparison voltage RCV. Accordingly, the detection signal OUTDP2 of the first reflected wave comparator RCMP1 in FIG. 15 becomes high level as indicated by F9 in FIG.

しかしながら、図16(C)のF16に示すように反射波検出用信号STBはSOFパケットのEOPの後の所定のタイミングでアクティブに設定される。このため、図16(C)のF10に示すタイミングでは反射波検出用信号STBがノンアクティブ(例えばローレベル)に設定されているため、図16(B)のF9に示すハイレベルの検出信号OUTDP2はラッチ回路120にラッチされない。   However, as indicated by F16 in FIG. 16C, the reflected wave detection signal STB is set active at a predetermined timing after the EOP of the SOF packet. For this reason, since the reflected wave detection signal STB is set to non-active (for example, low level) at the timing indicated by F10 in FIG. 16C, the high level detection signal OUTDP2 indicated by F9 in FIG. Are not latched by the latch circuit 120.

また、差動信号DMの電圧レベルは図16(A)のF2に示すように反射波比較電圧RCVより低いため、図15の第2の反射波比較器RCMP2の検出信号OUTDM2は図16(B)のF11に示すようにローレベルとなる。   Since the voltage level of the differential signal DM is lower than the reflected wave comparison voltage RCV as indicated by F2 in FIG. 16A, the detection signal OUTDM2 of the second reflected wave comparator RCMP2 in FIG. ) At a low level as indicated by F11.

また、図16(A)のF1やF2に示すように差動信号DP、DMの電圧レベルは比較電圧CVよりも低いため、図15の比較器CMP1、CMP2の検出信号OUTDP1、OUTDM1は、図16(B)のF11に示すようにローレベルとなる。   Also, as indicated by F1 and F2 in FIG. 16A, the voltage levels of the differential signals DP and DM are lower than the comparison voltage CV, so that the detection signals OUTDP1 and OUTDM1 of the comparators CMP1 and CMP2 in FIG. It becomes a low level as indicated by F11 of 16 (B).

以上のようにして、切断検出回路52−3は図16(C)のF15に示すようにローレベルの検出信号を出力し、ホスト−デバイス間が接続状態であることを検出する。   As described above, the disconnection detection circuit 52-3 outputs a low-level detection signal as indicated by F15 in FIG. 16C, and detects that the host-device is connected.

なお、図16(C)のF14はイネーブル信号ENを示す。また、図16(A)のF5に示すように差動信号DMのEOPでの電圧レベルが反射波比較電圧RCVよりも高い場合には、図16(B)のF12に示すように図15の第2の反射波比較器RCMP2の検出信号OUTDM2がハイレベルとなる。これについても、前述と同様であり、反射波検出用信号STBは図16(C)のF13に示すタイミングでノンアクティブ(例えばローレベル)に設定されているため、検出信号OUTDM2はラッチ回路120にラッチされない。従って、この場合でも図16(C)のF17に示すように切断検出回路52−3の検出信号はローレベルに設定されるため、正確にホスト−デバイス間の接続状態を検出することができる。   Note that F14 in FIG. 16C represents an enable signal EN. Further, when the voltage level at the EOP of the differential signal DM is higher than the reflected wave comparison voltage RCV as indicated by F5 in FIG. 16A, as indicated by F12 in FIG. The detection signal OUTDM2 of the second reflected wave comparator RCMP2 becomes high level. This is also the same as described above, and the reflected wave detection signal STB is set to non-active (for example, low level) at the timing indicated by F13 in FIG. 16C, so that the detection signal OUTDM2 is sent to the latch circuit 120. Not latched. Accordingly, even in this case, the detection signal of the disconnection detection circuit 52-3 is set to a low level as indicated by F17 in FIG. 16C, so that the connection state between the host and the device can be accurately detected.

次に、ホスト−デバイス間が切断されている状態の場合の切断検出回路52−3の動作を説明する。ホスト−デバイス間が切断されている状態の場合には、切断検出回路52はホスト−デバイス間が切断状態にあることを示す信号を出力しなくてはならない。このとき、図17(A)のG1やG5に示すように差動信号DP、DMの電圧レベルが反射波の影響により、比較電圧CVを上回らない場合には、切断検出回路52−3はG3やG6に示すように反射波の電圧レベルを反射波比較電圧RCVと比較することができる。   Next, the operation of the disconnection detection circuit 52-3 when the host-device is disconnected is described. When the host-device is disconnected, the disconnection detection circuit 52 must output a signal indicating that the host-device is disconnected. At this time, if the voltage levels of the differential signals DP and DM do not exceed the comparison voltage CV due to the influence of reflected waves as indicated by G1 and G5 in FIG. As shown in G6, the voltage level of the reflected wave can be compared with the reflected wave comparison voltage RCV.

図17(A)のG1に示すように差動信号DPの電圧レベルが反射波比較電圧RCVより高いため、図17(B)のG9に示すように反射波比較器RCMP1の検出信号OUTODP2がハイレベルとなる。ただし、前述したように、ラッチ回路120は反射波検出用信号STBに基づいてラッチ動作するためG9に示すハイレベルの検出信号OUTDP2はラッチ回路120にラッチされない。   Since the voltage level of the differential signal DP is higher than the reflected wave comparison voltage RCV as indicated by G1 in FIG. 17A, the detection signal OUTODP2 of the reflected wave comparator RCMP1 is high as indicated by G9 in FIG. Become a level. However, as described above, since the latch circuit 120 performs a latch operation based on the reflected wave detection signal STB, the high-level detection signal OUTDP2 indicated by G9 is not latched by the latch circuit 120.

また、図17(A)のG1、G2に示すように、差動信号DP、DMの電圧レベルが比較電圧CVよりも低いため、図15の比較器CMP1、CMP2の検出信号OUTDP1、OUTDM1は図17(B)のG10に示すようにローレベルに設定される。   Further, as indicated by G1 and G2 in FIG. 17A, since the voltage levels of the differential signals DP and DM are lower than the comparison voltage CV, the detection signals OUTDP1 and OUTDM1 of the comparators CMP1 and CMP2 in FIG. It is set to a low level as indicated by G10 of 17 (B).

また、図17(A)のG3に示すように差動信号DPの電圧レベルが反射波比較電圧RCVより高くなるため、図17(B)のG11に示すように反射波比較器RCMP1の検出信号OUTDP2がハイレベルに設定される。このとき、図17(C)のF16に示すように反射波検出用信号STBがアクティブに設定されるため、ラッチ回路120に図17(B)のG11に示すハイレベルの検出信号OUTDP2がラッチされる。従って、図17(C)のG12に示すように切断検出回路52−3はハイレベルの検出信号を出力し、SOFパケットが反射波の影響を受ける場合であってもホスト−デバイス間の切断状態を検出することができる。   Since the voltage level of the differential signal DP becomes higher than the reflected wave comparison voltage RCV as indicated by G3 in FIG. 17A, the detection signal of the reflected wave comparator RCMP1 is indicated as indicated by G11 in FIG. OUTDP2 is set to a high level. At this time, since the reflected wave detection signal STB is set active as indicated by F16 in FIG. 17C, the high level detection signal OUTDP2 indicated by G11 in FIG. The Accordingly, as indicated by G12 in FIG. 17C, the disconnection detection circuit 52-3 outputs a high-level detection signal, and even if the SOF packet is affected by the reflected wave, the disconnection state between the host and the device Can be detected.

図17(A)のG6に示すように差動信号DMの電圧レベルが反射波比較電圧RCVを上回った場合にも、上記と同様の動作により、第2の反射波比較器RCMP2の検出信号OUTDM2が図17(B)のG13に示すようにハイレベルに設定される。これにより、切断検出回路52−3はホスト−デバイス間の切断状態を正確に検出することができる。   Even when the voltage level of the differential signal DM exceeds the reflected wave comparison voltage RCV as indicated by G6 in FIG. 17A, the detection signal OUTDM2 of the second reflected wave comparator RCMP2 is obtained by the same operation as described above. Is set to a high level as indicated by G13 in FIG. Thereby, the disconnection detection circuit 52-3 can accurately detect the disconnection state between the host and the device.

以上のようにして、切断検出回路52−3は、差動信号DP、DMのEOPでの電圧レベルが反射波の影響を受ける場合であっても、反射波の電圧レベルを反射波比較電圧RCVと比較することができるので、正確な切断検出が可能となる。   As described above, the disconnection detection circuit 52-3 sets the reflected wave voltage level to the reflected wave comparison voltage RCV even when the voltage level at the EOP of the differential signals DP and DM is affected by the reflected wave. Therefore, accurate cutting detection can be performed.

上記のように、本発明の実施例について詳細に説明したが、本発明の新規事項及び効果から実体的に逸脱しない多くの変形が可能であることは当業者には容易に理解できるであろう。したがって、このような変形例はすべて本発明の範囲に含まれるものとする。例えば、明細書または図面において、少なくとも一度、より広義又は同義な異なる用語と共に記載された用語は、明細書または図面のいかなる箇所においても、その異なる用語に置き換えることができる。   As described above, the embodiments of the present invention have been described in detail. However, those skilled in the art can easily understand that many modifications can be made without departing from the novel matters and effects of the present invention. . Accordingly, all such modifications are intended to be included in the scope of the present invention. For example, a term described with a different term having a broader meaning or the same meaning at least once in the specification or the drawings can be replaced with the different term anywhere in the specification or the drawings.

本発明に係るホストコントローラの構成例を示す図である。It is a figure which shows the structural example of the host controller which concerns on this invention. SOFパケットを説明ためのする図である。It is a figure for demonstrating a SOF packet. 図3(A)は接続状態におけるSOFパケットの波形図であり、図3(B)は、切断状態におけるSOFパケットの波形図である。3A is a waveform diagram of the SOF packet in the connected state, and FIG. 3B is a waveform diagram of the SOF packet in the disconnected state. 本発明に係る比較例の検出回路の構成例を示す図である。It is a figure which shows the structural example of the detection circuit of the comparative example which concerns on this invention. 本発明に係る切断検出回路の構成例を示す図である。It is a figure which shows the structural example of the cutting | disconnection detection circuit based on this invention. 本発明に係る切断検出回路の一部の構成例を示す図である。It is a figure which shows the structural example of a part of cutting | disconnection detection circuit based on this invention. 本発明に係る比較器の回路構成を示す図である。It is a figure which shows the circuit structure of the comparator which concerns on this invention. 図8(A)〜図8(D)は接続状態における本発明に係る切断検出回路の動作を説明するための波形図である。FIGS. 8A to 8D are waveform diagrams for explaining the operation of the disconnection detection circuit according to the present invention in the connected state. 図9(A)〜図9(D)は切断状態における本発明に係る切断検出回路の動作を説明するための波形図である。FIGS. 9A to 9D are waveform diagrams for explaining the operation of the disconnection detection circuit according to the present invention in the disconnected state. 変形例に係る切断検出回路の構成例を示す図である。It is a figure which shows the structural example of the cutting | disconnection detection circuit which concerns on a modification. 変形例に係る比較器の回路構成を示す図である。It is a figure which shows the circuit structure of the comparator which concerns on a modification. 図12(A)〜図12(D)は接続状態における本発明に係る変形例の切断検出回路の動作を説明するための波形図である。12 (A) to 12 (D) are waveform diagrams for explaining the operation of the disconnection detection circuit of the modification according to the present invention in the connected state. 図13(A)〜図13(D)は切断状態における本発明に係る変形例の切断検出回路の動作を説明するための波形図である。FIGS. 13A to 13D are waveform diagrams for explaining the operation of the cutting detection circuit according to the modification of the present invention in the cutting state. 図14(A)及び図14(B)は、SOFパケットが受ける反射波の影響を示す波形図。FIGS. 14A and 14B are waveform diagrams showing the influence of reflected waves received by the SOF packet. 本発明に係る変形例を示す図である。It is a figure which shows the modification based on this invention. 図16(A)〜図16(C)は接続状態における本発明に係る切断検出回路の動作を説明するための他の波形図である。16A to 16C are other waveform diagrams for explaining the operation of the disconnection detection circuit according to the present invention in the connected state. 図17(A)〜図17(C)は切断状態における本発明に係る切断検出回路の動作を説明するための他の波形図である。17A to 17C are other waveform diagrams for explaining the operation of the disconnection detection circuit according to the present invention in the disconnected state.

符号の説明Explanation of symbols

52,52−1、52−2、52−3 切断検出回路、100 制御回路、
110 バイアス回路、112 バイアス回路、120 ラッチ回路、
200 第1の差動増幅器、210 第2の差動増幅器、220 第2の差動増幅器、
BN バイアス信号、BP バイアス信号、CMP1 第1の比較器、
CMP2 第2の比較器、CV 比較電圧、DM 第2の差動信号、
DP 第1の差動信号、EN イネーブル信号、FNT n型トランジスタ、
IPT1 第1の入力トランジスタ、IPT2 第2の入力トランジスタ、
IPT3 第3の入力トランジスタ、IPT4 第4の入力トランジスタ、
INT1 第3の入力トランジスタ、INT2 第4の入力トランジスタ、
ND1 第1の出力ノード、ND2 第2の出力ノード、ND3 第3の出力ノード、
RCMP1 第1の反射波比較器、RCMP2 第2の反射波比較器、
RCV 反射波比較電圧、XENH 制御信号
52, 52-1, 52-2, 52-3 disconnection detection circuit, 100 control circuit,
110 bias circuit, 112 bias circuit, 120 latch circuit,
200 first differential amplifier, 210 second differential amplifier, 220 second differential amplifier,
BN bias signal, BP bias signal, CMP1 first comparator,
CMP2 second comparator, CV comparison voltage, DM second differential signal,
DP first differential signal, EN enable signal, FNT n-type transistor,
IPT1 first input transistor, IPT2 second input transistor,
IPT3 third input transistor, IPT4 fourth input transistor,
INT1 third input transistor, INT2 fourth input transistor,
ND1 first output node, ND2 second output node, ND3 third output node,
RCMP1 first reflected wave comparator, RCMP2 second reflected wave comparator,
RCV reflected wave comparison voltage, XENH control signal

Claims (16)

バスを介して差動信号対によるデータ転送を行い、所与の規格で規定されたフレームパケットを前記所与の規格で規定された間隔でデバイス側に送信するホストコントローラであって、
ホストとデバイスが接続ケーブルを介して接続されている状態からデバイスが接続ケーブルから切断された状態に変化する際に生じる前記フレームパケットの反射波を検出してホスト−デバイス間の切断状態を検出する切断検出回路を含み、
前記切断検出回路は、
前記差動信号対を構成する第1及び第2の差動信号のうち、前記第1の差動信号の前記フレームパケットの後の所与のタイミングでの電圧レベルと反射波比較電圧を比較し、
前記第2の差動信号の前記フレームパケットの後の所与のタイミングでの電圧レベルと前記反射波比較電圧を比較し、
前記第1及び第2の差動信号の少なくとも一方の前記所与のタイミングでの電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出することを特徴とするホストコントローラ。
A host controller that performs data transfer by a differential signal pair via a bus and transmits frame packets defined by a given standard to the device side at intervals defined by the given standard,
The host-device disconnection state is detected by detecting the reflected wave of the frame packet generated when the host and the device are connected via the connection cable to the state where the device is disconnected from the connection cable. Including a disconnect detection circuit,
The disconnection detection circuit includes:
Of the first and second differential signals constituting the differential signal pair, a voltage level at a given timing after the frame packet of the first differential signal is compared with a reflected wave comparison voltage. ,
Comparing the reflected wave comparison voltage with a voltage level at a given timing after the frame packet of the second differential signal;
When the voltage level at the given timing of at least one of the first and second differential signals is higher than the reflected wave comparison voltage, a disconnection state between the host and the device is detected. Host controller to be used.
請求項1において、
前記切断検出回路は、
前記第1の差動信号を受け、前記第1の差動信号の前記フレームパケットの後の所与のタイミングでの電圧レベルと前記反射波比較電圧を比較し、前期所与のタイミングでの前記第1の差動信号の電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第1の反射波比較器と、
前記第2の差動信号を受け、前記第2の差動信号の前記フレームパケットの後の所与のタイミングでの電圧レベルと前記反射波比較電圧を比較し、前期所与のタイミングでの前記第2の差動信号の電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第2の反射波比較器と、
を含み、
前記切断検出回路は、前記第1及び第2の反射波比較器の少なくとも一方がホスト−デバイス間の切断を検出した場合にホスト−デバイス間の切断を検出することを特徴とするホストコントローラ。
In claim 1,
The disconnection detection circuit includes:
The first differential signal is received, the voltage level at a given timing after the frame packet of the first differential signal is compared with the reflected wave comparison voltage, and the reflected wave comparison voltage is compared at the given timing in the previous period. If the voltage level of the first differential signal is higher than the reflected wave comparison voltage, a first reflected wave comparator for detecting a disconnection state between the host and the device;
The second differential signal is received, the voltage level of the second differential signal at a given timing after the frame packet is compared with the reflected wave comparison voltage, and the reflected wave comparison voltage is compared with the given timing in the previous period. A second reflected wave comparator for detecting a disconnection state between the host and the device when the voltage level of the second differential signal is higher than the reflected wave comparison voltage;
Including
The disconnection detection circuit detects disconnection between a host and a device when at least one of the first and second reflected wave comparators detects disconnection between the host and the device.
請求項1において、
前記第1の差動信号を受け、前記第1の差動信号の電圧レベルと前記反射波比較電圧を比較し、前期第1の差動信号の電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第1の反射波比較器と、
前記第2の差動信号を受け、前記第2の差動信号の電圧レベルと前記反射波比較電圧を比較し、前期第2の差動信号の電圧レベルが前記反射波比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第2の反射波比較器と、
前記第1、第2の反射波比較器の出力信号の論理和結果を反射波検出用信号に基づいてラッチするラッチ回路と、
を含み、
前記反射波検出用信号は、前記フレームパケットが送信された後の所与のタイミングでアクティブに設定され、アクティブに設定された前期反射波検出用信号に基づいて前記ラッチ回路は前記論理和結果をラッチし、
前記切断検出回路は、前記第1及び第2の反射波比較器の少なくとも一方がホスト−デバイス間の切断を検出した場合にホスト−デバイス間の切断を検出することを特徴とするホストコントローラ。
In claim 1,
When the first differential signal is received, the voltage level of the first differential signal is compared with the reflected wave comparison voltage, and the voltage level of the first differential signal in the previous period is higher than the reflected wave comparison voltage Includes a first reflected wave comparator for detecting a disconnection state between the host and the device;
When the second differential signal is received, the voltage level of the second differential signal is compared with the reflected wave comparison voltage, and the voltage level of the second differential signal in the previous period is higher than the reflected wave comparison voltage Includes a second reflected wave comparator for detecting a disconnection state between the host and the device;
A latch circuit for latching a logical sum result of output signals of the first and second reflected wave comparators based on a reflected wave detection signal;
Including
The reflected wave detection signal is set to active at a given timing after the frame packet is transmitted, and the latch circuit calculates the logical sum result based on the previous reflected wave detection signal set to active. Latch and
The disconnection detection circuit detects disconnection between a host and a device when at least one of the first and second reflected wave comparators detects disconnection between the host and the device.
請求項2又は3において、
前記切断検出回路は、
前記第1の差動信号を受け、前記第1の差動信号の前記フレームパケット中の前記所与の範囲に対応する前記電圧レベルと前記比較電圧とを比較し、前期所与の範囲に対応する前記第1の差動信号の電圧レベルが前記比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第1の比較器と、
前記第2の差動信号を受け、前記第2の差動信号の前記フレームパケット中の前記所与の範囲に対応する前記電圧レベルと前記比較電圧とを比較し、前期所与の範囲に対応する前記第2の差動信号の電圧レベルが前記比較電圧よりも高い場合には、ホスト−デバイス間の切断状態を検出する第2の比較器と、
を含み、
前記切断検出回路は、前記第1及び第2の比較器の少なくとも一方がホスト−デバイス間の切断を検出した場合にホスト−デバイス間の切断を検出することを特徴とするホストコントローラ。
In claim 2 or 3,
The disconnection detection circuit includes:
The first differential signal is received, the voltage level corresponding to the given range in the frame packet of the first differential signal is compared with the comparison voltage, and corresponding to the given range in the previous period A first comparator for detecting a disconnection state between the host and the device when the voltage level of the first differential signal is higher than the comparison voltage;
The second differential signal is received, the voltage level corresponding to the given range in the frame packet of the second differential signal is compared with the comparison voltage, and corresponding to the given range in the previous period A second comparator for detecting a disconnection state between the host and the device when the voltage level of the second differential signal is higher than the comparison voltage;
Including
The disconnection detection circuit detects disconnection between a host and a device when at least one of the first and second comparators detects disconnection between a host and a device.
請求項4において、
前記切断検出回路は、前記切断検出回路のイネーブル制御を行うためのイネーブル信号を受け、
前記イネーブル信号は、
ホストコントローラ側の送信回路の定電流源がオンに設定され、且つ、前記フレームパケットがホストからデバイスに送信される場合に、アクティブに設定され、
前記フレームパケットが送信されない場合にはノンアクティブに設定され、
前記切断検出回路は、
前記イネーブル信号がアクティブに設定される場合には、ホスト−デバイス間の切断状態を監視し、
前記イネーブル信号がノンアクティブに設定される場合には、その動作がオフ状態に設定されることを特徴とするホストコントローラ。
In claim 4,
The disconnection detection circuit receives an enable signal for enabling control of the disconnection detection circuit,
The enable signal is
When the constant current source of the transmission circuit on the host controller side is set to ON and the frame packet is transmitted from the host to the device, it is set to active,
When the frame packet is not transmitted, it is set to inactive,
The disconnection detection circuit includes:
When the enable signal is set to active, the disconnection state between the host and the device is monitored,
When the enable signal is set to non-active, the operation is set to an off state.
請求項4又は5において、
前記第1及び第2の比較器は、その出力をグランドレベルに固定する出力固定スイッチを含み、
前記出力固定スイッチは、前記イネーブル信号がアクティブの場合にはオフに設定され、前期イネーブル信号がノンアクティブの場合にはオンに設定されることを特徴とするホストコントローラ。
In claim 4 or 5,
The first and second comparators include output fixing switches that fix their outputs to ground level;
The host controller is characterized in that the output fixing switch is set off when the enable signal is active and is turned on when the enable signal is inactive.
請求項4乃至6のいずれかにおいて、
前記第1及び第2の比較器の電流源を調整するバイアス信号を発生するバイアス信号発生回路を含み、
前記バイアス信号発生回路は、前記イネーブル信号がアクティブの場合に前記バイアス信号を発生し、前期イネーブル信号がノンアクティブの場合には前記バイアス信号を発生しないことを特徴とするホストコントローラ。
In any one of Claims 4 thru | or 6.
A bias signal generating circuit for generating a bias signal for adjusting a current source of the first and second comparators;
The host controller, wherein the bias signal generation circuit generates the bias signal when the enable signal is active and does not generate the bias signal when the enable signal is inactive.
請求項4乃至7のいずれかにおいて、
前記第1及び第2の比較器は、第1及び第2の差動増幅器を含み、
前記第1の差動増幅器は、第1の電源と第2の電源の間に並列に設けられた第1及び第2の入力トランジスタを含み、
前記第1の入力トランジスタのゲートには前記比較電圧が入力され、
前記第2の入力トランジスタのゲートには前記第1及び第2の差動信号のいずれか一方が入力され、
前記第2の差動増幅器は、第1の電源と前記第1の電源より電源電圧の高い第2の電源の間に並列に設けられた第3及び第4の入力トランジスタを含み、
前記第3の入力トランジスタのゲートは、前記第1の入力トランジスタと前記第2の電源との間の第1の出力ノードと接続され、
前記第4の入力トランジスタのゲートは、前記第2の入力トランジスタと前記第2の電源との間の第2の出力ノードと接続されていることを特徴とするホストコントローラ。
In any of claims 4 to 7,
The first and second comparators include first and second differential amplifiers,
The first differential amplifier includes first and second input transistors provided in parallel between a first power source and a second power source,
The comparison voltage is input to the gate of the first input transistor,
One of the first and second differential signals is input to the gate of the second input transistor,
The second differential amplifier includes third and fourth input transistors provided in parallel between a first power supply and a second power supply having a power supply voltage higher than that of the first power supply,
A gate of the third input transistor is connected to a first output node between the first input transistor and the second power supply;
The gate controller of the fourth input transistor is connected to a second output node between the second input transistor and the second power supply.
請求項8において、
前記第1、第2、第3及び第4の入力トランジスタはP型トランジスタで構成されていることを特徴とするホストコントローラ。
In claim 8,
The host controller, wherein the first, second, third and fourth input transistors are P-type transistors.
請求項8又は9において、
前記第1及び第2の比較器の検出結果は、前記第4の入力トランジスタと前記第2の電源との間の第3の出力ノードの電圧レベルに基づいて出力されることを特徴とするホストコントローラ。
In claim 8 or 9,
A detection result of the first and second comparators is output based on a voltage level of a third output node between the fourth input transistor and the second power supply. controller.
請求項8において、
前記第1及び第2の入力トランジスタはN型トランジスタで構成され、第3及び第4の入力トランジスタはN型トランジスタで構成されていることを特徴とするホストコントローラ。
In claim 8,
The host controller, wherein the first and second input transistors are N-type transistors, and the third and fourth input transistors are N-type transistors.
請求項11において、
前記第1及び第2の比較器は、前記第2の差動増幅器の電流源を調整するための第2の差動増幅器用バイアス信号を発生する第2の差動増幅器用バイアス信号発生回路を含み、
前記第2の差動増幅器用バイアス信号発生回路は、前記イネーブル信号がアクティブの場合に前記第2の差動増幅器用バイアス信号を発生し、前期イネーブル信号がノンアクティブの場合には前記第2の差動増幅器用バイアス信号を発生しないことを特徴とするホストコントローラ。
In claim 11,
The first and second comparators include a second differential amplifier bias signal generation circuit for generating a second differential amplifier bias signal for adjusting a current source of the second differential amplifier. Including
The second differential amplifier bias signal generation circuit generates the second differential amplifier bias signal when the enable signal is active, and the second differential amplifier bias signal generation circuit when the enable signal is inactive. A host controller characterized by not generating a differential amplifier bias signal.
請求項8、11又は12において、
前記第1及び第2の比較器の検出結果は、前記第4の入力トランジスタと前記第1の電源との間の第3の出力ノードの電圧レベルに基づいて出力されることを特徴とするホストコントローラ。
In claim 8, 11 or 12,
The detection result of the first and second comparators is output based on a voltage level of a third output node between the fourth input transistor and the first power supply. controller.
請求項1乃至13のいずれかにおいて、
前記所与の規格は、USB2.0規格であることを特徴とするホストコントローラ。
In any one of Claims 1 thru | or 13.
The given controller is a USB 2.0 standard.
請求項14において、
前記フレームパケットは、前記USB2.0規格で規定されるSOF(Start Of Frame)パケットであることを特徴とするホストコントローラ。
In claim 14,
The frame controller is a SOF (Start Of Frame) packet defined by the USB 2.0 standard.
請求項15において、
前記所与の範囲は、前記USB2.0規格で規定されるEOP(End Of Point)に対応することを特徴とするホストコントローラ。
In claim 15,
The given range corresponds to EOP (End Of Point) defined by the USB 2.0 standard.
JP2005229354A 2005-08-08 2005-08-08 Host controller Withdrawn JP2007049273A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2005229354A JP2007049273A (en) 2005-08-08 2005-08-08 Host controller

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2005229354A JP2007049273A (en) 2005-08-08 2005-08-08 Host controller

Publications (1)

Publication Number Publication Date
JP2007049273A true JP2007049273A (en) 2007-02-22

Family

ID=37851761

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2005229354A Withdrawn JP2007049273A (en) 2005-08-08 2005-08-08 Host controller

Country Status (1)

Country Link
JP (1) JP2007049273A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012516111A (en) * 2009-01-21 2012-07-12 ザイリンクス インコーポレイテッド Universal buffer circuit and method for out-band signaling
CN112732608A (en) * 2019-10-28 2021-04-30 精工爱普生株式会社 Circuit device, electronic apparatus, and moving object

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2012516111A (en) * 2009-01-21 2012-07-12 ザイリンクス インコーポレイテッド Universal buffer circuit and method for out-band signaling
CN112732608A (en) * 2019-10-28 2021-04-30 精工爱普生株式会社 Circuit device, electronic apparatus, and moving object
CN112732608B (en) * 2019-10-28 2023-06-27 精工爱普生株式会社 Circuit device, electronic apparatus, and moving object

Similar Documents

Publication Publication Date Title
JP4973036B2 (en) Host controller
US11749954B2 (en) Semiconductor USB device for detecting foreign substances and method of operating the same
US7218136B2 (en) Transmission circuit, data transfer control device and electronic equipment
CN112753027B (en) Embedded universal serial bus 2 repeater
US9727514B2 (en) Integrated circuits with universal serial bus 2.0 and embedded universal serial bus 2 connectivity
JP4733740B2 (en) Apparatus and method for driving a laser
WO2021196958A1 (en) Capacitive isolation circuit, interface module, chip, and system
US6700408B2 (en) Data transmission circuit for universal serial bus
CN112311381A (en) Interface circuit and method for detecting heat extraction state
US7999569B2 (en) Edge rate suppression for open drain buses
US10466757B2 (en) Methods and apparatus for safe negotiation of high current for active cable assemblies
US9483435B2 (en) USB transceiver
US10614015B2 (en) Circuit device, electronic device, and cable harness
US7464206B2 (en) Semiconductor device and method of connecting the same
JP2007049273A (en) Host controller
US20190372681A1 (en) Transmitting device and receiving device providing relaxed impedance matching
JP2021184218A (en) Connection detection circuit and semiconductor device
US11921651B2 (en) Interface module with low-latency communication of electrical signals between power domains
US20240184730A1 (en) Eusb repeater for passing repeating mode packets between a differential bus and a single-ended bus
JP2008227635A (en) Differential transmission circuit
US20230039848A1 (en) Compensating dc loss in usb 2.0 high speed applications
JP4493578B2 (en) Signal transmission system
JP2024524022A (en) Interface module for low latency communication of electrical signals between power domains
KR20220167190A (en) Latch circuit and equalizer inculding the same
JP2005115499A (en) Transceiver interface

Legal Events

Date Code Title Description
A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20080623

RD04 Notification of resignation of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7424

Effective date: 20080626

A761 Written withdrawal of application

Free format text: JAPANESE INTERMEDIATE CODE: A761

Effective date: 20090608