JP4284347B2 - Serial data detection circuit - Google Patents

Serial data detection circuit Download PDF

Info

Publication number
JP4284347B2
JP4284347B2 JP2006245713A JP2006245713A JP4284347B2 JP 4284347 B2 JP4284347 B2 JP 4284347B2 JP 2006245713 A JP2006245713 A JP 2006245713A JP 2006245713 A JP2006245713 A JP 2006245713A JP 4284347 B2 JP4284347 B2 JP 4284347B2
Authority
JP
Japan
Prior art keywords
signal
receiver
circuit
serial data
output
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.)
Expired - Lifetime
Application number
JP2006245713A
Other languages
Japanese (ja)
Other versions
JP2007028657A (en
Inventor
秀雄 藤原
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.)
Ricoh Co Ltd
Original Assignee
Ricoh Co Ltd
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 Ricoh Co Ltd filed Critical Ricoh Co Ltd
Priority to JP2006245713A priority Critical patent/JP4284347B2/en
Publication of JP2007028657A publication Critical patent/JP2007028657A/en
Application granted granted Critical
Publication of JP4284347B2 publication Critical patent/JP4284347B2/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Description

本発明は、USB等を使用した高速シリアル通信システムに使用するシリアルデータ検出回路と該シリアルデータ検出回路を使用した受信データ信号処理装置に関する。   The present invention relates to a serial data detection circuit used in a high-speed serial communication system using USB or the like, and a received data signal processing apparatus using the serial data detection circuit.

近年、製品のインタフェースが高速化されており、高速シリアル通信を使用したシステムの開発が進んでおり、例えば、このような高速シリアル通信としてUSBを使用したものがある。USBの規格としては、USB1.1規格があったが、該規格よりも高速な480Mbpsの通信速度を得ることができるUSB2.0規格を使用したシステムの開発が進んでいる。このようなシステムでデータを受信する場合、伝送媒体の接続の有無及び受信データの有無を、信号の振幅レベルの値で判定し、該値が所定のしきい値を超えている場合は、受信データに対して所定の信号再生処理を行い、しきい値を超えていない場合は、受信データに対して該信号再生処理を行わないようにしている。   In recent years, product interfaces have been speeded up, and systems using high-speed serial communication have been developed. For example, there is one using USB as such high-speed serial communication. As the USB standard, there was the USB 1.1 standard, but development of a system using the USB 2.0 standard capable of obtaining a communication speed of 480 Mbps, which is faster than the standard, is progressing. When receiving data with such a system, the presence / absence of connection of the transmission medium and the presence / absence of received data are determined by the value of the amplitude level of the signal. A predetermined signal reproduction process is performed on the data, and when the threshold value is not exceeded, the signal reproduction process is not performed on the received data.

図10は、該USB2.0規格に準拠した受信データ信号処理装置の従来例を示したブロック図である。
図10の受信データ信号処理装置100は、シリアル伝送線路DP,DMから伝送された相反する信号レベルを有する1対のシリアルデータ信号を内部でディジタル信号に変換する通常の信号処理を行うノーマルレシーバ101と、該ノーマルレシーバ101から出力された信号に対して所定の処理を行って出力するディジタル信号処理回路102と、シリアル伝送線路DP,DMからシリアル信号を受信したか否かの検出を行う信号検出用レシーバ103とを備えている。
FIG. 10 is a block diagram showing a conventional example of a received data signal processing apparatus compliant with the USB 2.0 standard.
The received data signal processing apparatus 100 in FIG. 10 is a normal receiver 101 that performs normal signal processing for internally converting a pair of serial data signals having opposite signal levels transmitted from the serial transmission lines DP and DM into digital signals. A digital signal processing circuit 102 that performs a predetermined process on the signal output from the normal receiver 101 and outputs the signal, and signal detection that detects whether or not a serial signal has been received from the serial transmission lines DP and DM. Receiver 103.

更に、信号検出用レシーバ103の出力信号OUTbを積分して出力する積分回路104と、該積分回路104の出力信号を波形整形して、ノーマルレシーバ101のイネーブル制御を行うためのレシーバイネーブル信号REを生成しノーマルレシーバ101に出力するシュミット回路105とを備えている。信号検出用レシーバ103、積分回路104及びシュミット回路105は、シリアル伝送線路DP,DMからシリアルデータ信号が入力されたか否かの検出を行い、該検出結果に応じてノーマルレシーバ101の駆動制御を行うシリアルデータ検出回路106を構成している。   Further, the integrating circuit 104 that integrates and outputs the output signal OUTb of the signal detection receiver 103, and the receiver enable signal RE for performing the enable control of the normal receiver 101 by shaping the output signal of the integrating circuit 104. And a Schmitt circuit 105 that generates and outputs to the normal receiver 101. The signal detection receiver 103, the integration circuit 104, and the Schmitt circuit 105 detect whether or not a serial data signal is input from the serial transmission lines DP and DM, and perform drive control of the normal receiver 101 according to the detection result. A serial data detection circuit 106 is configured.

USB等のシステムでは、アイドル状態の時にはシリアル伝送線路DP,DMの各ノードがロー(Low)レベルになる。この時、ノーマルレシーバ101の出力は不安定状態になり、ディジタル信号処理回路102の信号処理で不具合が発生する場合があった。このような不具合を回避するために、信号検出用レシーバ103を設け、該信号検出用レシーバ103で信号を検出した期間のみ、ノーマルレシーバ101が作動するように制御する。このため、信号検出用レシーバ103には、しきい値にオフセットを設けたものを使用する。   In a system such as a USB, each node of the serial transmission lines DP and DM is at a low level when in an idle state. At this time, the output of the normal receiver 101 becomes unstable, and a problem may occur in the signal processing of the digital signal processing circuit 102. In order to avoid such problems, a signal detection receiver 103 is provided, and control is performed so that the normal receiver 101 operates only during a period in which the signal detection receiver 103 detects a signal. For this reason, the signal detection receiver 103 is provided with an offset in the threshold value.

図11は、図10の各部の信号例を示したタイミングチャートである。信号検出用レシーバ103は、しきい値にオフセットが設けられたレシーバをなし、シリアル伝送線路DP,DMからのシリアルデータ信号の受信を検出すると、該データ信号に応じたパルス信号を生成し出力信号OUTbとして出力する。該出力信号OUTbは、積分回路104で積分された後、シュミット回路105で波形整形されて2値の信号に変換され、レシーバイネーブル信号REとしてノーマルレシーバ101に出力される。   FIG. 11 is a timing chart showing signal examples of the respective units in FIG. The signal detection receiver 103 is a receiver having an offset in the threshold value. When the reception of the serial data signal from the serial transmission lines DP and DM is detected, the signal detection receiver 103 generates a pulse signal corresponding to the data signal and generates an output signal. Output as OUTb. The output signal OUTb is integrated by the integrating circuit 104, then shaped by the Schmitt circuit 105, converted into a binary signal, and output to the normal receiver 101 as a receiver enable signal RE.

すなわち、シリアルデータ検出回路106は、シリアル伝送線路DP,DMからのシリアルデータ信号の受信を検出すると、レシーバイネーブル信号REをハイ(High)レベルに立ち上げてノーマルレシーバ101を作動させる。また、シリアルデータ検出回路106は、シリアルデータ信号の受信を検出していない場合は、レシーバイネーブル信号REをローレベルにしてノーマルレシーバ101の動作を停止させる。   That is, when the serial data detection circuit 106 detects reception of the serial data signal from the serial transmission lines DP and DM, the serial data detection circuit 106 activates the normal receiver 101 by raising the receiver enable signal RE to a high level. When the serial data detection circuit 106 does not detect the reception of the serial data signal, the serial data detection circuit 106 sets the receiver enable signal RE to a low level to stop the operation of the normal receiver 101.

ここで、図12は、図10の信号検出用レシーバ103の回路例を示した図である。図12の信号検出用レシーバ103は、ノーマルタイプのレシーバと同じ回路構成をなしているが、Pチャネル型MOSトランジスタ(以下、PMOSトランジスタと呼ぶ)である入力トランジスタ111と112を異なるサイズのトランジスタにすることによって、オフセットを設けている。なお、PMOSトランジスタ113のゲートには、一定のバイアス電圧が印加されている。   Here, FIG. 12 is a diagram illustrating a circuit example of the signal detection receiver 103 of FIG. The signal detection receiver 103 in FIG. 12 has the same circuit configuration as the normal type receiver, but the input transistors 111 and 112, which are P-channel MOS transistors (hereinafter referred to as PMOS transistors), are changed to transistors of different sizes. Thus, an offset is provided. A constant bias voltage is applied to the gate of the PMOS transistor 113.

一方、図13は、図10の信号検出用レシーバ103の他の回路例を示した図である。
図13の信号検出用レシーバ103では、PMOSトランジスタである入力トランジスタ121と122は同じサイズのPMOSトランジスタであって差動対をなしている。入力トランジスタ121とNチャネル型MOSトランジスタ(以下、NMOSトランジスタと呼ぶ)との接続部に、定電流源130による定電流iaがPMOSトランジスタ131〜133によって加えられ、しきい値にオフセットが設けられている。
On the other hand, FIG. 13 is a diagram showing another circuit example of the signal detection receiver 103 of FIG.
In the signal detection receiver 103 of FIG. 13, the input transistors 121 and 122, which are PMOS transistors, are PMOS transistors of the same size and form a differential pair. A constant current ia from the constant current source 130 is applied by the PMOS transistors 131 to 133 to a connection portion between the input transistor 121 and an N-channel MOS transistor (hereinafter referred to as an NMOS transistor), and an offset is provided in the threshold value. Yes.

なお、本願発明と異なるが、差動信号のシリアルデータの信号が入力される第1及び第2のトランジスタからなる差動回路と、オフセット信号が入力される第3及び第4のトランジスタからなる差動回路を設けると共に、第1のトランジスタのドレインと第3のトランジスタのドレインとの接続点のレベルと、第2のトランジスタのドレインと第4のトランジスタのドレインとの接続点のレベルとを比較するコンパレータが設けられ、該コンパレータからは、シリアルデータ信号が与えられていないときには出力レベルは一定となり、シリアルデータ信号が与えられると、入力データに応じてレベルが変化するような出力が得られるシリアルデータ信号の検出回路があった(例えば、特許文献1参照。)。
特開2001−102878号公報
Although different from the present invention, the difference between the differential circuit composed of the first and second transistors to which the serial data signal of the differential signal is inputted and the third and fourth transistors to which the offset signal is inputted. And a level of the connection point between the drain of the first transistor and the drain of the third transistor and the level of the connection point between the drain of the second transistor and the drain of the fourth transistor are provided. A comparator is provided, and when the serial data signal is not given from the comparator, the output level is constant, and when the serial data signal is given, the serial data from which the level changes according to the input data can be obtained. There was a signal detection circuit (see, for example, Patent Document 1).
JP 2001-102878 A

しかし、図12及び図13のような構成では、プロセス、温度等の変動によって、信号検出用レシーバ103内のトランジスタの特性が変わり、オフセットが変動するという問題があった。該オフセットのばらつきを小さくするためには、各入力トランジスタのゲート面積を大きくする方法が考えられるが、このようにすると信号検出用レシーバ103の動作スピードが低下するという問題が発生すると共に、抑えることができるオフセットのばらつき範囲にも限界があった。   However, the configuration as shown in FIGS. 12 and 13 has a problem that the characteristics of the transistors in the signal detection receiver 103 change due to variations in process, temperature, etc., and the offset varies. In order to reduce the variation of the offset, a method of increasing the gate area of each input transistor is conceivable. However, this causes a problem that the operation speed of the signal detection receiver 103 is lowered and is suppressed. There was also a limit to the range of offset variation that can be performed.

本発明は、上記のような問題を解決するためになされたものであり、オフセット用の電流量をプロセス、温度等に応じて調整することにより、オフセットのばらつきを低減し高速動作を可能にした、USB規格等に準拠したシリアルデータ検出回路を得ることを目的とする。   The present invention has been made to solve the above problems, and by adjusting the amount of offset current according to the process, temperature, etc., variation in offset can be reduced and high-speed operation can be achieved. An object of the present invention is to obtain a serial data detection circuit compliant with the USB standard or the like.

この発明に係るシリアルデータ検出回路は、相反する信号レベルを有する1対のシリアルデータ信号が入力されたか否かの検出を行うシリアルデータ検出回路において、所定の一方の前記シリアルデータ信号に対してオフセットを設け、他方の前記シリアルデータ信号の電圧が該オフセットを設けたシリアルデータ信号の電圧よりも大きくなると、シリアルデータ信号を検出したことを示す所定の信号を出力する、差動増幅回路を有する信号検出回路部と、異なる所定の各定電圧を差動増幅して出力する、一方の入力電圧に対してオフセットを設ける差動増幅回路部と、該差動増幅回路部の各出力信号の電圧が同じになるように、該差動増幅回路部のオフセットを制御すると共に前記信号検出回路部における差動増幅回路のオフセットを制御するオフセット制御回路部とを備えるものである。   The serial data detection circuit according to the present invention is a serial data detection circuit for detecting whether or not a pair of serial data signals having opposite signal levels are input, and is offset with respect to a predetermined one of the serial data signals And a signal having a differential amplifier circuit that outputs a predetermined signal indicating that the serial data signal is detected when the voltage of the other serial data signal is larger than the voltage of the serial data signal provided with the offset. A differential amplification circuit unit that differentially amplifies and outputs each different predetermined constant voltage, outputs an offset with respect to one input voltage, and a voltage of each output signal of the differential amplification circuit unit Control the offset of the differential amplifier circuit unit and control the offset of the differential amplifier circuit in the signal detection circuit unit to be the same That those with an offset control circuit unit.

本発明のシリアルデータ検出回路によれば、差動増幅回路部とオフセット制御回路部のフィードバック信号を用いて、信号検出回路部のオフセット値を決めている。このことから、プロセス、温度等が変動した場合においても、該オフセット値の変動を低減させることができ、USB規格等に準拠した安定したシステムを提供することができると共に、シリアルデータを受信した時にシリアルデータ信号を検出したことを示す信号を高速に生成することができる。   According to the serial data detection circuit of the present invention, the offset value of the signal detection circuit unit is determined using the feedback signals of the differential amplifier circuit unit and the offset control circuit unit. Therefore, even when the process, temperature, etc. fluctuate, the fluctuation of the offset value can be reduced, a stable system compliant with the USB standard can be provided, and when serial data is received A signal indicating that the serial data signal is detected can be generated at high speed.

具体的には、信号検出回路部に、レシーバの出力信号を保持して出力し、出力信号がシリアルデータ信号を検出したか否かを示す信号をなすフリップフロップを使用することにより、シリアルデータ信号の検出を正確に行うことができると共に該検出に要する時間を短くすることができる。   Specifically, the signal detection circuit unit holds and outputs the output signal of the receiver and uses a flip-flop that makes a signal indicating whether the output signal has detected a serial data signal. Can be accurately detected, and the time required for the detection can be shortened.

また、信号検出回路部に、レシーバの出力信号が入力され、出力信号がシリアルデータ信号を検出したか否かを示す信号をなす直列入力・直列出力型のシフトレジスタを使用することによって、ノイズ等の混入に起因するシリアルデータ信号の誤検出を防止することができる。   In addition, by using a serial input / serial output type shift register in which the output signal of the receiver is input to the signal detection circuit unit and the output signal indicates whether a serial data signal has been detected, noise, etc. It is possible to prevent erroneous detection of the serial data signal due to the mixing of.

また、具体的には、信号検出回路部に、第1レシーバ及び第2レシーバの各出力信号のOR演算が行われた結果を示す信号を保持して出力し、出力信号がシリアルデータ信号を検出したか否かを示す信号をなすフリップフロップを使用するようにした。このことから、シリアルデータ信号の検出を正確に行うことができると共に該検出に要する時間を短くすることができ、1対のシリアルデータ信号の信号レベルが所定レベルで一定になる時間が所定値を超える異常状態が発生しても後段の回路に該異常状態のデータを出力することができるため、該後段の回路によって該異常状態に対する処理を行わせることができる。   Specifically, the signal detection circuit unit holds and outputs a signal indicating the result of OR operation of the output signals of the first receiver and the second receiver, and the output signal detects the serial data signal. A flip-flop that makes a signal indicating whether or not it has been used is used. As a result, the serial data signal can be detected accurately and the time required for the detection can be shortened, and the time during which the signal level of the pair of serial data signals becomes constant at a predetermined level is set to a predetermined value. Even if an abnormal state exceeding the above value occurs, the data on the abnormal state can be output to the subsequent circuit, so that the processing on the abnormal state can be performed by the subsequent circuit.

また、信号検出回路部に、第1レシーバ及び第2レシーバの各出力信号のOR演算が行われた結果を示す信号を順次保持して出力し、出力信号がシリアルデータ信号を検出したか否かを示す信号をなす直列入力・直列出力型のシフトレジスタを使用するようにした。このことから、シリアルデータ信号の検出を正確に行うことができ、1対のシリアルデータ信号の信号レベルが所定レベルで一定になる時間が所定値を超える異常状態が発生しても後段の回路に該異常状態のデータを出力することができるため、該後段の回路によって該異常状態に対する処理を行わせることができる。更に、ノイズ等の混入に起因するシリアルデータ信号の誤検出を防止することができる。   Whether or not the signal detection circuit unit sequentially holds and outputs a signal indicating the result of the OR operation of the output signals of the first receiver and the second receiver, and whether the output signal detects a serial data signal or not. A serial input / serial output type shift register that produces a signal indicating the above is used. As a result, the serial data signal can be accurately detected, and even if an abnormal state occurs in which the signal level of the pair of serial data signals is constant at a predetermined level exceeds a predetermined value, Since the data of the abnormal state can be output, the subsequent circuit can be processed for the abnormal state. Further, it is possible to prevent erroneous detection of the serial data signal due to the mixing of noise or the like.

一方、信号検出回路部において、レシーバの出力信号を積分し該積分して得られた信号を2値の信号に変換してシリアルデータ信号を検出したか否かを示す信号を生成するようにした。このことから、回路規模の増大を小さくして回路のレイアウト面積の増加を小さくすることができる。   On the other hand, the signal detection circuit unit integrates the output signal of the receiver and converts the signal obtained by the integration into a binary signal to generate a signal indicating whether or not a serial data signal has been detected. . Therefore, an increase in circuit scale can be reduced and an increase in circuit layout area can be reduced.

また、信号検出回路部において、第1レシーバ及び第2レシーバの各出力信号を合成して積分し該積分して得られた信号を2値の信号に変換してシリアルデータ信号を検出したか否かを示す信号を生成するようにした。このことから、回路規模の増大を小さくして回路のレイアウト面積の増加を小さくすることができる。   Whether or not the signal detection circuit unit synthesizes and integrates the output signals of the first receiver and the second receiver and converts the signal obtained by the integration into a binary signal to detect a serial data signal. A signal indicating this is generated. Therefore, an increase in circuit scale can be reduced and an increase in circuit layout area can be reduced.

また、前記差動増幅回路部及びレシーバは、同じ回路構成で同じ特性を有する差動増幅回路、及び同じ回路構成で同じ特性を有するオフセット回路をそれぞれ備えるようにした。このことから、プロセス、温度等が変動した場合においても、レシーバのオフセット値の変動を更に低減させることができる。   The differential amplifier circuit section and the receiver each include a differential amplifier circuit having the same characteristics with the same circuit configuration and an offset circuit having the same characteristics with the same circuit configuration. From this, even when the process, temperature, etc. fluctuate, fluctuations in the offset value of the receiver can be further reduced.

一方、前記差動増幅回路部、第1レシーバ及び第2レシーバは、同じ回路構成で同じ特性を有する差動増幅回路、及び同じ回路構成で同じ特性を有するオフセット回路をそれぞれ備えるようにした。このことから、プロセス、温度等が変動した場合においても、各レシーバのオフセット値の変動を更に低減させることができる。   On the other hand, the differential amplifier circuit unit, the first receiver, and the second receiver each include a differential amplifier circuit having the same characteristics with the same circuit configuration, and an offset circuit having the same characteristics with the same circuit configuration. From this, even when the process, temperature, etc. fluctuate, fluctuations in the offset value of each receiver can be further reduced.

また、本発明の受信データ信号処理装置は、シリアルデータ検出回路において、差動増幅回路部とオフセット制御回路部のフィードバック信号を用いて、信号検出回路部のオフセット値を決めている。このことから、プロセス、温度等が変動した場合においても、該オフセット値の変動を低減させることができ、USB規格等に準拠する安定したシステムを提供することができると共に、シリアルデータを受信した時にシリアルデータ信号を検出したことを示す信号を高速に生成することができるため、シリアルデータ信号の受信を正確に検出することができ、受信した信号に対する正確な信号処理を行うことができる。   In the received data signal processing apparatus of the present invention, in the serial data detection circuit, the offset value of the signal detection circuit unit is determined using the feedback signals of the differential amplifier circuit unit and the offset control circuit unit. Therefore, even when the process, temperature, etc. fluctuate, the fluctuation of the offset value can be reduced, a stable system compliant with the USB standard etc. can be provided, and when serial data is received Since a signal indicating that a serial data signal has been detected can be generated at high speed, reception of the serial data signal can be detected accurately, and accurate signal processing can be performed on the received signal.

次に、図面に示す実施の形態に基づいて、本発明を詳細に説明する。
第1の実施の形態.
図1は、本発明の第1の実施の形態におけるシリアルデータ検出回路の例を示した回路図である。なお、図1では、USB2.0規格に準拠する受信データ信号処理装置に使用した場合を例にして示している。
図1において、受信データ信号処理装置1は、シリアル伝送線路DP,DMから伝送された相反する信号レベルを有する1対のシリアルデータ信号を内部でディジタル信号に変換する、通常の信号処理を行うノーマルレシーバ2と、該ノーマルレシーバ2から出力された信号に対して所定の処理を行って出力するディジタル信号処理回路3と、シリアル伝送線路DP,DMからシリアルデータ信号が入力されたか否かの検出を行うシリアルデータ検出回路4とで構成されている。
Next, the present invention will be described in detail based on the embodiments shown in the drawings.
First embodiment.
FIG. 1 is a circuit diagram showing an example of a serial data detection circuit according to the first embodiment of the present invention. FIG. 1 shows an example in which the received data signal processing apparatus conforms to the USB 2.0 standard.
In FIG. 1, a received data signal processing apparatus 1 performs normal signal processing for internally converting a pair of serial data signals having opposite signal levels transmitted from serial transmission lines DP and DM into digital signals. Detection of the receiver 2, the digital signal processing circuit 3 that performs a predetermined process on the signal output from the normal receiver 2 and outputs the serial data signal from the serial transmission lines DP and DM The serial data detection circuit 4 is configured.

シリアルデータ検出回路4は、シリアル伝送線路DP,DMからシリアルデータ信号が入力されたことを検出すると、レシーバイネーブル信号REをハイレベルに立ち上げてノーマルレシーバ2を作動させる。また、シリアルデータ検出回路4は、シリアルデータ信号が入力されたことを検出していない場合は、レシーバイネーブル信号REをローレベルにしてノーマルレシーバ2の動作を停止させる。   When the serial data detection circuit 4 detects that a serial data signal is input from the serial transmission lines DP and DM, the serial data detection circuit 4 raises the receiver enable signal RE to a high level to operate the normal receiver 2. Further, when the serial data detection circuit 4 has not detected that the serial data signal has been input, the serial data detection circuit 4 sets the receiver enable signal RE to a low level to stop the operation of the normal receiver 2.

シリアルデータ検出回路4は、シリアル伝送線路DP,DMが対応する入力端に接続されて1対のシリアルデータ信号が入力される差動増幅回路で構成されたレシーバ11と、該レシーバ11の出力信号がクロック信号入力端に入力されたDフリップフロップ12とを備えている。レシーバ11は、しきい値に所定のオフセットを有している。Dフリップフロップ12の出力端Qからノーマルレシーバ2の動作制御を行うためのレシーバイネーブル信号REが出力され、Dフリップフロップ12のD入力端には電源電圧VDDが印加されている。   The serial data detection circuit 4 includes a receiver 11 composed of a differential amplifier circuit to which serial transmission lines DP and DM are connected to corresponding input ends and a pair of serial data signals are inputted, and an output signal of the receiver 11 Is provided with a D flip-flop 12 input to the clock signal input terminal. The receiver 11 has a predetermined offset in the threshold value. A receiver enable signal RE for controlling the operation of the normal receiver 2 is output from the output terminal Q of the D flip-flop 12, and the power supply voltage VDD is applied to the D input terminal of the D flip-flop 12.

また、シリアルデータ検出回路4は、レシーバ11の出力信号を積分する積分回路13と、該積分回路13から出力された信号の波形整形を行って出力するシュミット回路14と、シュミット回路14から入力される信号に応じてパルスを生成しDフリップフロップ12のリセット信号入力端Rに出力するパルス発生回路15とを備えている。   The serial data detection circuit 4 is input from the integration circuit 13 that integrates the output signal of the receiver 11, the Schmitt circuit 14 that performs waveform shaping of the signal output from the integration circuit 13, and the Schmitt circuit 14. And a pulse generation circuit 15 that generates a pulse in response to the signal to be output and outputs the pulse to the reset signal input terminal R of the D flip-flop 12.

更に、シリアルデータ検出回路4は、所定の基準電圧Vrを生成して出力する基準電圧発生回路16と、反転入力端に入力された信号に対してオフセットを設けた差動増幅器をなすリファレンスレシーバ17と、該リファレンスレシーバ17からの出力電圧Vo1及びVo2の電圧比較を行い、該比較結果に応じた電圧をレシーバ11とリファレンスレシーバ17にそれぞれ出力するオペアンプ18とを備えている。なお、パルス発生回路15はリセット信号発生回路をなし、基準電圧発生回路16及びリファレンスレシーバ17は差動増幅回路部をなし、オペアンプ18はオフセット制御回路部をなす。   Further, the serial data detection circuit 4 includes a reference voltage generation circuit 16 that generates and outputs a predetermined reference voltage Vr, and a reference receiver 17 that forms a differential amplifier provided with an offset with respect to the signal input to the inverting input terminal. And an operational amplifier 18 that compares the output voltages Vo1 and Vo2 from the reference receiver 17 and outputs a voltage corresponding to the comparison result to the receiver 11 and the reference receiver 17, respectively. The pulse generation circuit 15 forms a reset signal generation circuit, the reference voltage generation circuit 16 and the reference receiver 17 form a differential amplifier circuit section, and the operational amplifier 18 forms an offset control circuit section.

レシーバ11において、非反転入力端にはシリアル伝送線路DPが、反転入力端にはシリアル伝送線路DMがそれぞれ接続され、出力端はDフリップフロップ12と積分回路13にそれぞれ接続されている。
リファレンスレシーバ17において、反転入力端には基準電圧Vrが入力され、非反転入力端には接地電圧が入力されている。リファレンスレシーバ17の出力電圧Vo1は、オペアンプ18の反転入力端に入力され、リファレンスレシーバ17の出力電圧Vo2は、オペアンプ18の非反転入力端に入力される。オペアンプ18の出力信号は、オフセットを制御する制御信号Scとしてレシーバ11とリファレンスレシーバ17にそれぞれ出力される。
In the receiver 11, the serial transmission line DP is connected to the non-inverting input terminal, the serial transmission line DM is connected to the inverting input terminal, and the output terminal is connected to the D flip-flop 12 and the integrating circuit 13.
In the reference receiver 17, the reference voltage Vr is input to the inverting input terminal, and the ground voltage is input to the non-inverting input terminal. The output voltage Vo1 of the reference receiver 17 is input to the inverting input terminal of the operational amplifier 18, and the output voltage Vo2 of the reference receiver 17 is input to the non-inverting input terminal of the operational amplifier 18. The output signal of the operational amplifier 18 is output to the receiver 11 and the reference receiver 17 as a control signal Sc for controlling the offset.

ここで、図2は、レシーバ11の内部回路例を示した図である。
図2において、レシーバ11は、差動増幅回路部21と、出力回路部22と、オフセット回路部23とで構成されている。
差動増幅回路部21は、PMOSトランジスタ31〜33とNMOSトランジスタ34,35で構成されており、電源電圧VDDと接地電圧との間にPMOSトランジスタ31,32及びNMOSトランジスタ34が直列に接続されている。
Here, FIG. 2 is a diagram illustrating an example of an internal circuit of the receiver 11.
In FIG. 2, the receiver 11 includes a differential amplifier circuit unit 21, an output circuit unit 22, and an offset circuit unit 23.
The differential amplifier circuit section 21 includes PMOS transistors 31 to 33 and NMOS transistors 34 and 35. The PMOS transistors 31 and 32 and the NMOS transistor 34 are connected in series between the power supply voltage VDD and the ground voltage. Yes.

また、PMOSトランジスタ33とNMOSトランジスタ35の直列回路が、PMOSトランジスタ32とNMOSトランジスタ34の直列回路と並列に接続されている。NMOSトランジスタ34及び35は、それぞれゲートとドレインが接続されてダイオードをなしている。PMOSトランジスタ31のゲートには所定の定電圧が印加されてバイアスされており、PMOSトランジスタ31は定電流源をなしている。PMOSトランジスタ32のゲートは、非反転入力端をなしてシリアル伝送線路DPが接続され、PMOSトランジスタ33のゲートは、反転入力端をなしてシリアル伝送線路DMが接続されている。   A series circuit of the PMOS transistor 33 and the NMOS transistor 35 is connected in parallel with the series circuit of the PMOS transistor 32 and the NMOS transistor 34. The NMOS transistors 34 and 35 each have a gate and drain connected to form a diode. The gate of the PMOS transistor 31 is biased by applying a predetermined constant voltage, and the PMOS transistor 31 forms a constant current source. The gate of the PMOS transistor 32 forms a non-inverting input terminal and is connected to the serial transmission line DP, and the gate of the PMOS transistor 33 forms an inverting input terminal and is connected to the serial transmission line DM.

出力回路部22は、PMOSトランジスタ37,38及びNMOSトランジスタ39,40で構成されており、PMOSトランジスタ37及び38はカレントミラー回路を形成している。また、NMOSトランジスタ39はNMOSトランジスタ34と、NMOSトランジスタ40はNMOSトランジスタ35とそれぞれカレントミラー回路を形成している。電源電圧VDDと接地電圧との間には、PMOSトランジスタ37とNMOSトランジスタ39の直列回路と、PMOSトランジスタ38とNMOSトランジスタ40の直列回路がそれぞれ並列に接続されている。PMOSトランジスタ37とNMOSトランジスタ39の接続部がレシーバ11の出力端をなし、出力信号OUT1が出力される。   The output circuit unit 22 includes PMOS transistors 37 and 38 and NMOS transistors 39 and 40. The PMOS transistors 37 and 38 form a current mirror circuit. The NMOS transistor 39 and the NMOS transistor 40 form current mirror circuits, respectively, and the NMOS transistor 34 and 35, respectively. Between the power supply voltage VDD and the ground voltage, a series circuit of a PMOS transistor 37 and an NMOS transistor 39 and a series circuit of a PMOS transistor 38 and an NMOS transistor 40 are respectively connected in parallel. The connection part of the PMOS transistor 37 and the NMOS transistor 39 forms the output terminal of the receiver 11, and the output signal OUT1 is output.

PMOSトランジスタ37及び38の各ゲートは接続されてPMOSトランジスタ38のドレインに接続されている。NMOSトランジスタ39のゲートはNMOSトランジスタ34のゲートに接続され、該接続部がNMOSトランジスタ34のドレインに接続されている。同様に、NMOSトランジスタ40のゲートはNMOSトランジスタ35のゲートに接続され、該接続部がNMOSトランジスタ35のドレインに接続されている。   The gates of the PMOS transistors 37 and 38 are connected to each other and connected to the drain of the PMOS transistor 38. The gate of the NMOS transistor 39 is connected to the gate of the NMOS transistor 34, and the connection is connected to the drain of the NMOS transistor 34. Similarly, the gate of the NMOS transistor 40 is connected to the gate of the NMOS transistor 35, and the connection is connected to the drain of the NMOS transistor 35.

次に、オフセット回路部23は、PMOSトランジスタ41及び42で構成されており、電源電圧VDDと、NMOSトランジスタ35のドレインとの間に、PMOSトランジスタ41と42の直列回路が接続されている。PMOSトランジスタ41のゲートは接地電圧に接続され、PMOSトランジスタ42のゲートには、オペアンプ18からの制御信号Scが入力されている。   Next, the offset circuit unit 23 includes PMOS transistors 41 and 42, and a series circuit of PMOS transistors 41 and 42 is connected between the power supply voltage VDD and the drain of the NMOS transistor 35. The gate of the PMOS transistor 41 is connected to the ground voltage, and the control signal Sc from the operational amplifier 18 is input to the gate of the PMOS transistor 42.

このようなレシーバ11の構成において、NMOSトランジスタ34のドレイン電流をi1とし、NMOSトランジスタ35のドレイン電流をi2とする。更に、オフセット回路部23からNMOSトランジスタ35のドレインに流れる電流をi3とし、PMOSトランジスタ33のドレイン電流をi4とする。電流i2は電流i3と電流i4との和であり、電流i3は、レシーバ11のしきい値にオフセットを設けるためのものである。   In such a configuration of the receiver 11, the drain current of the NMOS transistor 34 is i1, and the drain current of the NMOS transistor 35 is i2. Furthermore, the current flowing from the offset circuit section 23 to the drain of the NMOS transistor 35 is i3, and the drain current of the PMOS transistor 33 is i4. The current i2 is the sum of the current i3 and the current i4, and the current i3 is for providing an offset to the threshold value of the receiver 11.

電流i1は、シリアル伝送線路DPからの入力電圧の電圧値で決まり、電流i4は、シリアル伝送線路DMからの入力電圧の電圧値で決まる。電流i3の電流値に比例して、レシーバ11のしきい値のオフセットが大きくなり、該オフセット値は、オペアンプ18から入力される制御信号Scの電圧で調整することができる。すなわち、オペアンプ18からの入力電圧が小さくなるほど電流i3は大きくなってオフセットが大きくなり、オペアンプ18からの入力電圧が大きくなるほど電流i3は小さくなってオフセットが小さくなる。このように、オペアンプ18の出力信号Scに応じて、レシーバ11のオフセットを調整することができる。   The current i1 is determined by the voltage value of the input voltage from the serial transmission line DP, and the current i4 is determined by the voltage value of the input voltage from the serial transmission line DM. The offset of the threshold value of the receiver 11 increases in proportion to the current value of the current i3, and the offset value can be adjusted by the voltage of the control signal Sc input from the operational amplifier 18. That is, the current i3 increases and the offset increases as the input voltage from the operational amplifier 18 decreases, and the current i3 decreases and the offset decreases as the input voltage from the operational amplifier 18 increases. Thus, the offset of the receiver 11 can be adjusted according to the output signal Sc of the operational amplifier 18.

一方、図3は、リファレンスレシーバ17の内部回路例を示した図である。なお、図3では、図2と同じものは同じ符号で示し、ここではその説明を省略する。
図3において、リファレンスレシーバ17は、差動増幅回路部21と、オフセット回路部23とで構成されている。差動増幅回路部21において、PMOSトランジスタ32のゲートには接地電圧が入力され、PMOSトランジスタ33のゲートには基準電圧Vrが入力されている。PMOSトランジスタ32とNMOSトランジスタ34の接続部からは出力電圧Vo1が出力され、PMOSトランジスタ33とNMOSトランジスタ35の接続部からは出力電圧Vo2が出力される。
On the other hand, FIG. 3 is a diagram showing an example of an internal circuit of the reference receiver 17. In FIG. 3, the same components as those in FIG. 2 are denoted by the same reference numerals, and the description thereof is omitted here.
In FIG. 3, the reference receiver 17 includes a differential amplifier circuit unit 21 and an offset circuit unit 23. In the differential amplifier circuit unit 21, the ground voltage is input to the gate of the PMOS transistor 32, and the reference voltage Vr is input to the gate of the PMOS transistor 33. An output voltage Vo1 is output from the connection between the PMOS transistor 32 and the NMOS transistor 34, and an output voltage Vo2 is output from the connection between the PMOS transistor 33 and the NMOS transistor 35.

このように、リファレンスレシーバ17から出力された差動出力はオペアンプ18の対応する入力端にそれぞれ入力され、リファレンスレシーバ17は、オペアンプ18からの比較結果を示す電圧がフィードバックされてオフセットの調整が行われる。オペアンプ18は、リファレンスレシーバ17の出力電圧Vo1及びVo2が同じになるようにリファレンスレシーバ17のオフセットを調整する。このため、レシーバ11及びリファレンスレシーバ17は、基準電圧Vrに応じたしきい値となり、プロセス、温度、電源電圧等が変化してもレシーバ11及びリファレンスレシーバ17のしきい値は一定になる。   In this way, the differential outputs output from the reference receiver 17 are respectively input to the corresponding input terminals of the operational amplifier 18, and the reference receiver 17 feeds back the voltage indicating the comparison result from the operational amplifier 18 to adjust the offset. Is called. The operational amplifier 18 adjusts the offset of the reference receiver 17 so that the output voltages Vo1 and Vo2 of the reference receiver 17 are the same. Therefore, the receiver 11 and the reference receiver 17 have threshold values corresponding to the reference voltage Vr, and the threshold values of the receiver 11 and the reference receiver 17 are constant even when the process, temperature, power supply voltage, and the like change.

一方、USB2.0規格で規定されたシリアルデータ信号の振幅は400mVであり、USB1.1規格で規定された3.3Vからかなり小さい値になっている。このようにシリアルデータ信号の振幅が小さくなってデータ受信を判定することが難しくなった場合においても、図1〜図3で示したシリアルデータ検出回路4は、シリアル伝送線路DP,DMからのシリアルデータ信号の受信判定を正確に行うことができる。また、シリアルデータ検出回路4は、従来のようにオフセットのばらつきを抑制するために入力トランジスタのゲート面積を大きくする必要がなく、高速動作を行うことができる。   On the other hand, the amplitude of the serial data signal defined by the USB 2.0 standard is 400 mV, which is considerably smaller than 3.3 V defined by the USB 1.1 standard. Thus, even when the amplitude of the serial data signal becomes small and it becomes difficult to determine data reception, the serial data detection circuit 4 shown in FIGS. 1 to 3 uses the serial transmission lines DP and DM. Data signal reception determination can be performed accurately. Further, the serial data detection circuit 4 does not need to increase the gate area of the input transistor in order to suppress the variation in offset as in the prior art, and can perform high-speed operation.

次に、図4は、図1〜図3で示したシリアルデータ検出回路4の各部の波形例を示したタイミングチャートであり、図4を用いてシリアルデータ検出回路4におけるレシーバイネーブル信号REの生成動作例について説明する。なお、VPは図2のPMOSトランジスタ32とNMOSトランジスタ34との接続部の電圧を示し、VMは図2のPMOSトランジスタ33とNMOSトランジスタ35との接続部の電圧を示している。また、V1は差動出力のオフセット電圧を示しており、該オフセット電圧V1は基準電圧Vrに比例した電圧になる。   Next, FIG. 4 is a timing chart showing an example of the waveform of each part of the serial data detection circuit 4 shown in FIGS. 1 to 3, and the generation of the receiver enable signal RE in the serial data detection circuit 4 using FIG. An operation example will be described. Note that VP represents a voltage at a connection portion between the PMOS transistor 32 and the NMOS transistor 34 in FIG. 2, and VM represents a voltage at a connection portion between the PMOS transistor 33 and the NMOS transistor 35 in FIG. V1 represents an offset voltage of the differential output, and the offset voltage V1 is a voltage proportional to the reference voltage Vr.

レシーバ11の出力信号OUT1がDフリップフロップ12のクロック信号となり、Dフリップフロップ12は、D入力端に電源電圧VDDが印加されていることから該クロック信号が立ち上がると出力端Qからハイレベルのレシーバイネーブル信号REが出力され、ノーマルレシーバ2を作動させる。レシーバ11から出力された信号OUT1は、同時に積分回路13にも入力され、積分回路13で積分されてシュミット回路14に出力される。   The output signal OUT1 of the receiver 11 becomes the clock signal of the D flip-flop 12, and the D flip-flop 12 is applied with the power supply voltage VDD at the D input terminal. An enable signal RE is output to operate the normal receiver 2. The signal OUT1 output from the receiver 11 is simultaneously input to the integration circuit 13, integrated by the integration circuit 13, and output to the Schmitt circuit 14.

シュミット回路14は、入力された信号を2値の信号に波形整形した信号S1をパルス発生回路15に出力する。シリアル伝送線路DP,DMからシリアルデータが入力されている間は、レシーバ11からパルス信号が出力され、この間はパルス発生回路15の出力端からはローレベルの信号が出力される。シリアル伝送線路DP,DMからシリアルデータが入力されなくなると、レシーバ11の出力信号OUT1はローレベルとなりパルス発生回路15の出力端からはハイレベルのパルス信号Srが出力される。   The Schmitt circuit 14 outputs to the pulse generation circuit 15 a signal S1 obtained by shaping the waveform of the input signal into a binary signal. While serial data is being input from the serial transmission lines DP and DM, a pulse signal is output from the receiver 11, and during this time, a low level signal is output from the output terminal of the pulse generation circuit 15. When serial data is no longer input from the serial transmission lines DP and DM, the output signal OUT1 of the receiver 11 becomes low level, and a high level pulse signal Sr is output from the output terminal of the pulse generation circuit 15.

パルス発生回路15は、入力された信号S1がハイレベルからローレベルに立ち下がると、所定のワンショットパルスを信号SrとしてDフリップフロップ12のリセット信号入力端Rに出力する。Dフリップフロップ12は、リセット信号入力端Rにハイレベルのパルスが入力されると、該パルスの立ち下がりと同時に出力端Qからのレシーバイネーブル信号REをハイレベルからローレベルに立ち下げ、ノーマルレシーバ2の動作を停止させる。   When the input signal S1 falls from the high level to the low level, the pulse generation circuit 15 outputs a predetermined one-shot pulse as the signal Sr to the reset signal input terminal R of the D flip-flop 12. When a high-level pulse is input to the reset signal input terminal R, the D flip-flop 12 causes the receiver enable signal RE from the output terminal Q to fall from the high level to the low level simultaneously with the fall of the pulse, and the normal receiver The operation of 2 is stopped.

このように、本第1の実施の形態におけるシリアルデータ検出回路は、オペアンプ18を用いて、異なる所定の定電圧が入力されたリファレンスレシーバ17の1対の出力電圧Vo1及びVo2が、同じ電圧になるように該リファレンスレシーバ17の差動増幅回路部21に対するオフセット調整をオフセット回路部23に行わせると共に、該リファレンスレシーバ17に対して行わせるオフセット調整と同じオフセット調整をレシーバ11に対しても行わせ、レシーバ11のオフセットが一定になるようにした。このようにすることにより、USB規格等に規定されたシリアルデータ検出用のレシーバにおけるオフセットのばらつきを低減させることができ、USB2.0規格等のような振幅が小さいシリアルデータ信号の検出を正確かつ高速に行うことができる。   As described above, the serial data detection circuit according to the first embodiment uses the operational amplifier 18 to set the pair of output voltages Vo1 and Vo2 of the reference receiver 17 to which different predetermined constant voltages are input to the same voltage. Thus, the offset adjustment for the differential amplifier circuit 21 of the reference receiver 17 is performed by the offset circuit 23, and the same offset adjustment as that performed for the reference receiver 17 is performed for the receiver 11. Therefore, the offset of the receiver 11 is made constant. By doing so, it is possible to reduce the variation in offset in the serial data detection receiver stipulated in the USB standard and the like, and the serial data signal having a small amplitude as in the USB 2.0 standard and the like can be detected accurately and accurately. It can be done at high speed.

第2の実施の形態.
USB規格においては、シリアル伝送線路からの1対のシリアルデータ信号が所定のビット長以上ハイレベル又はローレベルである状態を禁止している。しかし、前記第1の実施の形態では、このような状態が発生するとシリアルデータ信号が検出できなかったとしてノーマルレシーバ2の動作を停止させるため、前記のような異常状態の発生を検出することができない。そこで、シリアル伝送線路からの1対のシリアルデータ信号が所定のビット長以上ハイレベル又はローレベルである状態が発生してもノーマルレシーバ2の動作を停止させないようにしたものを本発明の第2の実施の形態とする。
Second embodiment.
In the USB standard, a pair of serial data signals from a serial transmission line is prohibited from being in a high level or low level for a predetermined bit length or more. However, in the first embodiment, when such a state occurs, the operation of the normal receiver 2 is stopped on the assumption that the serial data signal cannot be detected, so that the occurrence of the abnormal state as described above can be detected. Can not. Therefore, the second receiver according to the present invention prevents the operation of the normal receiver 2 from being stopped even when a pair of serial data signals from the serial transmission line is in a high level or a low level for a predetermined bit length or more. The embodiment is as follows.

図5は、本発明の第2の実施の形態におけるシリアルデータ検出回路の例を示した回路図である。なお、図5では、図1と同じものは同じ符号で示しており、ここではその説明を省略すると共に図1との相違点のみ説明する。また、図5においても、USB2.0規格に準拠する受信データ信号処理装置に使用した場合を例にして示している。
図5における図1との相違点は、レシーバ51及びOR回路52を追加したことと、レシーバ51の追加に伴って図1の積分回路13の回路構成を変えて積分回路53にしたことにあり、これらのことから図1のシリアルデータ検出回路4をシリアルデータ検出回路4aに、図1の受信データ信号処理装置1を受信データ信号処理装置1aにしたことにある。
FIG. 5 is a circuit diagram showing an example of a serial data detection circuit according to the second embodiment of the present invention. In FIG. 5, the same components as those in FIG. FIG. 5 also shows an example in which the received data signal processing apparatus conforms to the USB 2.0 standard.
5 differs from FIG. 1 in that a receiver 51 and an OR circuit 52 are added, and that the circuit configuration of the integrating circuit 13 in FIG. Therefore, the serial data detection circuit 4 of FIG. 1 is replaced with the serial data detection circuit 4a, and the reception data signal processing device 1 of FIG. 1 is replaced with the reception data signal processing device 1a.

図5において、受信データ信号処理装置1aは、ノーマルレシーバ2と、ディジタル信号処理回路3と、シリアル伝送線路DP,DMからシリアルデータ信号が入力されたか否かの検出を行うシリアルデータ検出回路4aとで構成されている。
シリアルデータ検出回路4aは、シリアル伝送線路DP,DMからシリアルデータ信号が入力されたことを検出すると、レシーバイネーブル信号REをハイレベルに立ち上げてノーマルレシーバ2を作動させる。また、シリアルデータ検出回路4aは、シリアルデータ信号が入力されたことを検出していない場合は、レシーバイネーブル信号REをローレベルにしてノーマルレシーバ2の動作を停止させる。
In FIG. 5, a received data signal processing device 1a includes a normal receiver 2, a digital signal processing circuit 3, and a serial data detection circuit 4a for detecting whether or not a serial data signal is input from the serial transmission lines DP and DM. It consists of
When the serial data detection circuit 4a detects that a serial data signal is input from the serial transmission lines DP and DM, the serial data detection circuit 4a raises the receiver enable signal RE to a high level and operates the normal receiver 2. If the serial data detection circuit 4a has not detected that the serial data signal has been input, the serial data detection circuit 4a sets the receiver enable signal RE to a low level to stop the operation of the normal receiver 2.

シリアルデータ検出回路4aは、レシーバ11と、シリアル伝送線路DP,DMが対応する入力端に接続され、1対のシリアルデータ信号が入力される差動増幅回路で構成されたレシーバ51と、該レシーバ11及び51の各出力信号OUT1,OUT2に対してOR演算を行うOR回路52と、該OR回路52の出力信号がクロック信号入力端に入力されたDフリップフロップ12とを備えている。   The serial data detection circuit 4a includes a receiver 51, a receiver 51 configured by a differential amplifier circuit to which serial transmission lines DP and DM are connected to corresponding input ends and a pair of serial data signals are input. An OR circuit 52 that performs an OR operation on the output signals OUT1 and OUT2 of 11 and 51, and a D flip-flop 12 in which the output signal of the OR circuit 52 is input to a clock signal input terminal.

なお、この場合、レシーバ11は第1レシーバを、レシーバ51は第2レシーバをそれぞれなす。レシーバ51は、レシーバ11と同様、しきい値に所定のオフセットを有している。また、シリアルデータ検出回路4aは、レシーバ11及び51の各出力信号を合成して積分する積分回路53と、該積分回路53から出力された信号の波形整形を行って出力するシュミット回路14と、パルス発生回路15と、基準電圧発生回路16と、リファレンスレシーバ17と、オペアンプ18とを備えている。   In this case, the receiver 11 forms a first receiver and the receiver 51 forms a second receiver. Similarly to the receiver 11, the receiver 51 has a predetermined offset in the threshold value. The serial data detection circuit 4a includes an integration circuit 53 that synthesizes and integrates the output signals of the receivers 11 and 51, a Schmitt circuit 14 that performs waveform shaping of the signal output from the integration circuit 53, and outputs the waveform. A pulse generation circuit 15, a reference voltage generation circuit 16, a reference receiver 17, and an operational amplifier 18 are provided.

レシーバ11の出力端は、OR回路52の一方の入力端と積分回路53にそれぞれ接続されている。また、レシーバ51において、非反転入力端にはシリアル伝送線路DMが、反転入力端にはシリアル伝送線路DPがそれぞれ接続され、出力端はOR回路52の他方の入力端と積分回路53にそれぞれ接続されている。一方、オペアンプ18の出力信号は、オフセットを制御する制御信号Scとして、レシーバ11,51及びリファレンスレシーバ17にそれぞれ出力される。なお、レシーバ51の内部回路例は、図2のレシーバ11と同じであることからその説明を省略する。ただし、レシーバ51の場合、図2のPMOSトランジスタ32のゲートにシリアル伝送線路DMが接続され、図2のPMOSトランジスタ33のゲートにシリアル伝送線路DPが接続されている。   The output terminal of the receiver 11 is connected to one input terminal of the OR circuit 52 and the integrating circuit 53. In the receiver 51, the serial transmission line DM is connected to the non-inverting input terminal, the serial transmission line DP is connected to the inverting input terminal, and the output terminal is connected to the other input terminal of the OR circuit 52 and the integrating circuit 53, respectively. Has been. On the other hand, the output signal of the operational amplifier 18 is output to the receivers 11 and 51 and the reference receiver 17 as a control signal Sc for controlling the offset. An example of the internal circuit of the receiver 51 is the same as that of the receiver 11 in FIG. However, in the case of the receiver 51, the serial transmission line DM is connected to the gate of the PMOS transistor 32 in FIG. 2, and the serial transmission line DP is connected to the gate of the PMOS transistor 33 in FIG.

次に、図6は、図5で示したシリアルデータ検出回路4aの各部の波形例を示したタイミングチャートであり、図6を用いてシリアルデータ検出回路4aにおけるレシーバイネーブル信号REの生成動作例について説明する。なお、図6では、レシーバ11及び51の差動出力の各オフセット電圧は、それぞれV1となる。
レシーバ11及び51の各出力信号OUT1,OUT2がOR回路52でOR演算されて得られた信号がDフリップフロップ12のクロック信号となる。また、レシーバ11及び51から出力された各信号OUT1,OUT2は、同時に積分回路53にも入力され、積分回路53で合成し積分されてシュミット回路14に出力される。
Next, FIG. 6 is a timing chart showing a waveform example of each part of the serial data detection circuit 4a shown in FIG. 5, and an example of the operation of generating the receiver enable signal RE in the serial data detection circuit 4a with reference to FIG. explain. In FIG. 6, each offset voltage of the differential outputs of the receivers 11 and 51 is V1.
A signal obtained by performing an OR operation on the output signals OUT1 and OUT2 of the receivers 11 and 51 by the OR circuit 52 becomes a clock signal of the D flip-flop 12. The signals OUT1 and OUT2 output from the receivers 11 and 51 are simultaneously input to the integration circuit 53, synthesized by the integration circuit 53, integrated, and output to the Schmitt circuit 14.

ここで、図7は、図5で示した積分回路53の内部回路例を示した図であり、図7において、積分回路53は、PMOSトランジスタ61、NMOSトランジスタ62,63及びローパスフィルタ64で構成されている。電源電圧VDDと接地電圧との間には、PMOSトランジスタ61とNMOSトランジスタ62が直列に接続されている。更に、NMOSトランジスタ62と並列にNMOSトランジスタ63が接続され、PMOSトランジスタ61のゲートは接地電圧に接続されている。NMOSトランジスタ62のゲートにレシーバ11からの出力信号OUT1が入力され、NMOSトランジスタ63のゲートにレシーバ51からの出力信号OUT2が入力されている。PMOSトランジスタ61、NMOSトランジスタ62及び63の接続部がローパスフィルタ64の入力端に接続されている。   7 is a diagram showing an example of an internal circuit of the integrating circuit 53 shown in FIG. 5. In FIG. 7, the integrating circuit 53 includes a PMOS transistor 61, NMOS transistors 62 and 63, and a low-pass filter 64. Has been. A PMOS transistor 61 and an NMOS transistor 62 are connected in series between the power supply voltage VDD and the ground voltage. Further, an NMOS transistor 63 is connected in parallel with the NMOS transistor 62, and the gate of the PMOS transistor 61 is connected to the ground voltage. The output signal OUT1 from the receiver 11 is input to the gate of the NMOS transistor 62, and the output signal OUT2 from the receiver 51 is input to the gate of the NMOS transistor 63. A connection part of the PMOS transistor 61 and the NMOS transistors 62 and 63 is connected to an input terminal of the low-pass filter 64.

ここで、NMOSトランジスタ62及び63の各電流駆動能力は、PMOSトランジスタ61よりもそれぞれ大きくし、PMOSトランジスタ61のオン抵抗に対してNMOSトランジスタ62及び63の各オン抵抗は十分に小さいものとする。このようにすることにより、NMOSトランジスタ62及び63の各ゲートに入力されたそれぞれの信号OUT1,OUT2は、信号レベルが反転されてローパスフィルタ64に入力され、ローパスフィルタ64で積分されてシュミット回路14に出力される。   Here, it is assumed that the current drive capability of the NMOS transistors 62 and 63 is larger than that of the PMOS transistor 61, and the on-resistances of the NMOS transistors 62 and 63 are sufficiently smaller than the on-resistance of the PMOS transistor 61. In this way, the signals OUT1 and OUT2 input to the gates of the NMOS transistors 62 and 63 are inverted in signal level and input to the low-pass filter 64, integrated by the low-pass filter 64, and then the Schmitt circuit 14 Is output.

シュミット回路14は、入力された信号を2値の信号に波形整形し信号レベルを反転させてパルス発生回路15に出力することから、図5の場合、シュミット回路14はインバータ回路をなしている。なお、図1で示した積分回路13は、図7のNMOSトランジスタ63をなくした構成にしてもよく、このようにした場合、図1のシュミット回路14においてもインバータ回路をなすようにすればよい。   Since the Schmitt circuit 14 shapes the input signal into a binary signal, inverts the signal level and outputs the signal to the pulse generation circuit 15, the Schmitt circuit 14 forms an inverter circuit in the case of FIG. The integrating circuit 13 shown in FIG. 1 may be configured without the NMOS transistor 63 of FIG. 7, and in this case, the Schmitt circuit 14 of FIG. 1 may be configured as an inverter circuit. .

シリアル伝送線路DP,DMからシリアルデータ信号が入力されている間は、レシーバ11及び51からそれぞれパルス信号が出力され、この間はパルス発生回路15の出力端からはローレベルの信号Srが出力される。シリアル伝送線路DP,DMからシリアルデータ信号が入力されなくなると、レシーバ11及び51の各出力信号OUT1,OUT2はそれぞれローレベルとなりパルス発生回路15の出力端からはハイレベルのパルス信号Srが出力される。   While serial data signals are input from the serial transmission lines DP and DM, pulse signals are output from the receivers 11 and 51, respectively, and during this period, a low level signal Sr is output from the output terminal of the pulse generation circuit 15. . When serial data signals are no longer input from the serial transmission lines DP and DM, the output signals OUT1 and OUT2 of the receivers 11 and 51 become low level, respectively, and a high level pulse signal Sr is output from the output terminal of the pulse generation circuit 15. The

また、例えば、シリアル伝送線路DPから規格で定められた以上の長さのローレベルの信号が入力されると、シリアル伝送線路DMから該ローレベルの長さと同じ長さのハイレベルの信号が入力される。この間、レシーバ11の出力端からはローレベルの信号OUT1が出力されるのに対して、レシーバ51の出力端からはハイレベルの信号OUT2が出力されるため、シュミット回路14の出力信号S1はハイレベルを維持し、パルス発生回路15からパルス信号が出力されることはなく、Dフリップフロップ12からはハイレベルのレシーバイネーブル信号REが出力される。   Further, for example, when a low level signal having a length longer than that defined in the standard is input from the serial transmission line DP, a high level signal having the same length as the low level is input from the serial transmission line DM. Is done. During this time, the low-level signal OUT1 is output from the output terminal of the receiver 11, whereas the high-level signal OUT2 is output from the output terminal of the receiver 51, so that the output signal S1 of the Schmitt circuit 14 is high. The level is maintained, the pulse generation circuit 15 does not output a pulse signal, and the D flip-flop 12 outputs a high-level receiver enable signal RE.

なお、シリアル伝送線路DMから規格で定められた以上の長さのローレベルの信号が入力される場合も同様である。このようにして、シリアル伝送線路DP,DMから規格で定められた以上の時間、信号レベルが反転しない場合が生じても、シリアルデータ検出回路4aによってノーマルレシーバ2の動作を停止させることをなくすことができる。   The same applies when a low-level signal having a length longer than that defined by the standard is input from the serial transmission line DM. In this way, even if the signal level does not invert from the serial transmission lines DP and DM for a time longer than that specified in the standard, the operation of the normal receiver 2 is not stopped by the serial data detection circuit 4a. Can do.

このように、本第2の実施の形態におけるシリアルデータ検出回路は、シリアル伝送線路DPをレシーバ11の非反転入力端とレシーバ51の反転入力端にそれぞれ接続すると共にシリアル伝送線路DMをレシーバ11の反転入力端とレシーバ51の非反転入力端にそれぞれ接続し、オペアンプ18を用いて、異なる所定の定電圧が入力されたリファレンスレシーバ17の1対の出力電圧Vo1及びVo2が、同じ電圧になるように該リファレンスレシーバ17の差動増幅回路部21に対するオフセット調整をオフセット回路部23に行わせると共に、該リファレンスレシーバ17に対して行わせるオフセット調整と同じオフセット調整をレシーバ11及び51に対してもそれぞれ行わせ、レシーバ11及び51のオフセットがそれぞれ一定になるようにした。   As described above, the serial data detection circuit according to the second embodiment connects the serial transmission line DP to the non-inverting input terminal of the receiver 11 and the inverting input terminal of the receiver 51, and connects the serial transmission line DM to the receiver 11. A pair of output voltages Vo1 and Vo2 of the reference receiver 17 connected to the inverting input terminal and the non-inverting input terminal of the receiver 51, respectively, and input with different predetermined constant voltages using the operational amplifier 18, are the same voltage. The offset adjustment for the differential amplifier circuit 21 of the reference receiver 17 is performed by the offset circuit 23 and the same offset adjustment as that performed for the reference receiver 17 is performed for the receivers 11 and 51, respectively. The offsets of the receivers 11 and 51 are constant. It was as to become.

このようにすることにより、前記第1の実施の形態と同様の効果を得ることができると共に、シリアル伝送線路からの1対のシリアルデータが所定のビット長以上ハイレベル又はローレベルである異常状態が発生してもノーマルレシーバを作動させることができ、後段の回路に該異常状態のデータを出力することができるため、該後段の回路によって該異常状態に対する処理を行うことができる。   By doing this, the same effect as in the first embodiment can be obtained, and an abnormal state where a pair of serial data from the serial transmission line is at a high level or a low level over a predetermined bit length Even if this occurs, the normal receiver can be operated and the data of the abnormal state can be output to the subsequent circuit, so that the processing of the abnormal state can be performed by the subsequent circuit.

なお、前記第1及び第2の各実施の形態では、Dフリップフロップ12は1段である場合を例にして説明したが、該Dフリップフロップ12の後段に少なくとも1つのDフリップフロップを直列に接続して、直列入力・直列出力型のシフトレジスタを形成するようにしてもよい。例えば3つのDフリップフロップ12,12a,12bを使用して該シフトレジスタを形成する場合、Dフリップフロップ12の出力端QをDフリップフロップ12aのクロック信号入力端に接続し、Dフリップフロップ12aの出力端QをDフリップフロップ12bのクロック信号入力端に接続する。   In the first and second embodiments, the case where the D flip-flop 12 has one stage has been described as an example. However, at least one D flip-flop is connected in series in the subsequent stage of the D flip-flop 12. They may be connected to form a serial input / serial output type shift register. For example, when the shift register is formed using three D flip-flops 12, 12a, 12b, the output terminal Q of the D flip-flop 12 is connected to the clock signal input terminal of the D flip-flop 12a, and the D flip-flop 12a The output terminal Q is connected to the clock signal input terminal of the D flip-flop 12b.

Dフリップフロップ12bの出力端Qから出力される信号がレシーバイネーブル信号REとしてノーマルレシーバ2に出力される。また、Dフリップフロップ12,12a,12bにおいて、各D入力端にはそれぞれ電源電圧VDDが印加され、各リセット信号入力端Rにはそれぞれパルス発生回路15からの信号Srがそれぞれ入力されている。このようにすることにより、シリアルデータ信号の検出に要する時間が長くなるが、ノイズ等の要因でレシーバが反応した時にレシーバイネーブル信号REを誤って出力することが発生しにくくなる。また、Dフリップフロップの段数は、受信データ信号処理装置を使用するシステムに応じた数にすればよい。   A signal output from the output terminal Q of the D flip-flop 12b is output to the normal receiver 2 as a receiver enable signal RE. In the D flip-flops 12, 12a, 12b, the power supply voltage VDD is applied to each D input terminal, and the signal Sr from the pulse generation circuit 15 is input to each reset signal input terminal R. By doing so, the time required for detection of the serial data signal becomes longer, but it becomes difficult to erroneously output the receiver enable signal RE when the receiver reacts due to factors such as noise. Further, the number of stages of the D flip-flops may be set according to the system using the received data signal processing device.

また、前記第1及び第2の実施の形態では、Dフリップフロップ12を使用したが、該Dフリップフロップを使用せずにシュミット回路14の出力信号S1をレシーバイネーブル信号REにすることもできる。このようにした場合、図1は図8のように、図5は図9のようにそれぞれなり、シリアルデータ信号の検出に要する時間が長くなり、プロセス等の変動でも該時間が変わるが、回路規模を小さくすることができる。   In the first and second embodiments, the D flip-flop 12 is used. However, the output signal S1 of the Schmitt circuit 14 can be used as the receiver enable signal RE without using the D flip-flop. In this case, FIG. 1 is as shown in FIG. 8 and FIG. 5 is as shown in FIG. 9, and the time required for detection of the serial data signal becomes longer. The scale can be reduced.

本発明の第1の実施の形態におけるシリアルデータ検出回路の例を示した回路図である。FIG. 3 is a circuit diagram illustrating an example of a serial data detection circuit in the first embodiment of the present invention. 図1におけるレシーバ11の内部回路例を示した図である。It is the figure which showed the example of the internal circuit of the receiver 11 in FIG. 図1におけるリファレンスレシーバ17の内部回路例を示した図である。It is the figure which showed the example of the internal circuit of the reference receiver 17 in FIG. 図1〜図3で示したシリアルデータ検出回路4の各部の波形例を示したタイミングチャートである。4 is a timing chart showing an example of waveforms at various parts of the serial data detection circuit 4 shown in FIGS. 本発明の第2の実施の形態におけるシリアルデータ検出回路の例を示した回路図である。It is the circuit diagram which showed the example of the serial data detection circuit in the 2nd Embodiment of this invention. 図5で示したシリアルデータ検出回路4aの各部の波形例を示したタイミングチャートである。6 is a timing chart showing an example of waveforms at various parts of the serial data detection circuit 4a shown in FIG. 図5で示した積分回路53の内部回路例を示した図である。FIG. 6 is a diagram illustrating an example of an internal circuit of the integration circuit 53 illustrated in FIG. 5. 本発明の第1の実施の形態におけるシリアルデータ検出回路の他の例を示した回路図である。FIG. 7 is a circuit diagram showing another example of the serial data detection circuit in the first embodiment of the present invention. 本発明の第2の実施の形態におけるシリアルデータ検出回路の他の例を示した回路図である。It is the circuit diagram which showed the other example of the serial data detection circuit in the 2nd Embodiment of this invention. 従来の受信データ信号処理装置の例を示したブロック図である。It is the block diagram which showed the example of the conventional reception data signal processing apparatus. 図10の各部の信号例を示したタイミングチャートである。FIG. 11 is a timing chart showing an example of signals of each part in FIG. 10. FIG. 図10における信号検出用レシーバ103の回路例を示した図である。It is the figure which showed the circuit example of the receiver 103 for signal detection in FIG. 図10における信号検出用レシーバ103の他の回路例を示した図である。FIG. 11 is a diagram illustrating another circuit example of the signal detection receiver 103 in FIG. 10.

符号の説明Explanation of symbols

1,1a 受信データ信号処理装置
2 ノーマルレシーバ
3 ディジタル信号処理回路
4,4a シリアルデータ検出回路
11,51 レシーバ
12 Dフリップフロップ
13,53 積分回路
14 シュミット回路
15 パルス発生回路
16 基準電圧発生回路
17 リファレンスレシーバ
18 オペアンプ
21 差動増幅回路部
22 出力回路部
23 オフセット回路部
52 OR回路
DESCRIPTION OF SYMBOLS 1,1a Reception data signal processing apparatus 2 Normal receiver 3 Digital signal processing circuit 4, 4a Serial data detection circuit 11, 51 Receiver 12 D flip-flop 13, 53 Integration circuit 14 Schmitt circuit 15 Pulse generation circuit 16 Reference voltage generation circuit 17 Reference Receiver 18 Operational amplifier 21 Differential amplifier circuit unit 22 Output circuit unit 23 Offset circuit unit 52 OR circuit

Claims (1)

相反する信号レベルを有する1対のシリアルデータ信号が入力されたか否かの検出を行うシリアルデータ検出回路において、
所定の一方の前記シリアルデータ信号に対してオフセットを設け、他方の前記シリアルデータ信号の電圧が該オフセットを設けたシリアルデータ信号の電圧よりも大きくなると、シリアルデータ信号を検出したことを示す所定の信号を出力する、差動増幅回路を有する信号検出回路部と、
異なる所定の各定電圧を差動増幅して出力する、一方の入力電圧に対してオフセットを設ける差動増幅回路部と、
該差動増幅回路部の各出力信号の電圧が同じになるように、該差動増幅回路部のオフセットを制御すると共に前記信号検出回路部における差動増幅回路のオフセットを制御するオフセット制御回路部と、
を備えることを特徴とするシリアルデータ検出回路。
In a serial data detection circuit for detecting whether or not a pair of serial data signals having opposite signal levels are input,
An offset is provided with respect to one of the predetermined serial data signals, and when the voltage of the other serial data signal becomes larger than the voltage of the serial data signal with the offset, a predetermined serial data signal is detected. A signal detection circuit unit having a differential amplifier circuit for outputting a signal;
A differential amplification circuit section that differentially amplifies and outputs different predetermined constant voltages, and provides an offset with respect to one input voltage;
Offset control circuit unit for controlling the offset of the differential amplifier circuit unit and controlling the offset of the differential amplifier circuit in the signal detection circuit unit so that the voltages of the output signals of the differential amplifier circuit unit are the same. When,
A serial data detection circuit comprising:
JP2006245713A 2006-09-11 2006-09-11 Serial data detection circuit Expired - Lifetime JP4284347B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2006245713A JP4284347B2 (en) 2006-09-11 2006-09-11 Serial data detection circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2006245713A JP4284347B2 (en) 2006-09-11 2006-09-11 Serial data detection circuit

Related Parent Applications (1)

Application Number Title Priority Date Filing Date
JP2002045933A Division JP3926645B2 (en) 2002-02-22 2002-02-22 Serial data detection circuit

Publications (2)

Publication Number Publication Date
JP2007028657A JP2007028657A (en) 2007-02-01
JP4284347B2 true JP4284347B2 (en) 2009-06-24

Family

ID=37788704

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2006245713A Expired - Lifetime JP4284347B2 (en) 2006-09-11 2006-09-11 Serial data detection circuit

Country Status (1)

Country Link
JP (1) JP4284347B2 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5370030B2 (en) * 2009-09-11 2013-12-18 株式会社リコー Detection circuit

Also Published As

Publication number Publication date
JP2007028657A (en) 2007-02-01

Similar Documents

Publication Publication Date Title
KR100967481B1 (en) Data transmitting system
JP4979344B2 (en) Signal detection circuit
US7778374B2 (en) Dual reference input receiver of semiconductor device and method of receiving input data signal
JP2007097176A (en) Signal detection circuit
US10361691B2 (en) Skew detection circuit and input circuit using the same
KR20170093381A (en) Reciever circuit and system using the same
JP3926645B2 (en) Serial data detection circuit
US8542035B2 (en) Squelch detection circuit
GB2343574A (en) A CMOS data receiver with insensitivity to common-mode voltages
JP2005086646A (en) Squelch detection circuit
JP2007336119A (en) Semiconductor device, and impedance control method
US7701282B2 (en) Offset canceling circuit and offset canceling method
US8358151B2 (en) Receiver circuitry for receiving reduced swing signals from a channel
KR100500928B1 (en) Circuit for detecting switching point and semiconductor device using the same
JP4284347B2 (en) Serial data detection circuit
JP4056819B2 (en) Potential difference detection circuit, serial data detection circuit using this potential difference detection circuit, and received data signal processing apparatus using this serial data detection circuit
JP5370030B2 (en) Detection circuit
KR100892722B1 (en) Receiver circuit
JP2007097131A (en) Differential amplifier
JP2009194600A (en) Detection circuit
US20090060083A1 (en) Receiver circuit
US7768439B2 (en) Data transmission system
KR101147295B1 (en) Receiver circuit of semiconductor apparatus and method for receiving a signal
US6803823B2 (en) Circuit, apparatus and method for an adaptive voltage swing limiter
KR100820158B1 (en) Serial interface device

Legal Events

Date Code Title Description
TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20090317

A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20090323

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120327

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20120327

Year of fee payment: 3

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20130327

Year of fee payment: 4

FPAY Renewal fee payment (event date is renewal date of database)

Free format text: PAYMENT UNTIL: 20140327

Year of fee payment: 5