WO2007066456A1 - Interface circuit - Google Patents

Interface circuit Download PDF

Info

Publication number
WO2007066456A1
WO2007066456A1 PCT/JP2006/321674 JP2006321674W WO2007066456A1 WO 2007066456 A1 WO2007066456 A1 WO 2007066456A1 JP 2006321674 W JP2006321674 W JP 2006321674W WO 2007066456 A1 WO2007066456 A1 WO 2007066456A1
Authority
WO
WIPO (PCT)
Prior art keywords
circuit
interface circuit
signal
interface
communication
Prior art date
Application number
PCT/JP2006/321674
Other languages
French (fr)
Japanese (ja)
Inventor
Daijyu Murakami
Original Assignee
Matsushita Electric Industrial 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 Matsushita Electric Industrial Co., Ltd. filed Critical Matsushita Electric Industrial Co., Ltd.
Publication of WO2007066456A1 publication Critical patent/WO2007066456A1/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's

Definitions

  • 0001 which relates to an interface which is incorporated in the computer and communicates.
  • C C
  • C instrument such as C (Co ac s) dry, (ae sa es) dry, and the printer, use C and C instrument. It must have an interface for reception.
  • a line that has multiple data e.g. ac e Pac ee face
  • multiple lines can be used for communication, and only lines such as Se and S (e sa Se as) can be used.
  • C and the interface mounted on C are required to be designed and manufactured with more gin than in the past.
  • CC C cc Red da c C ec
  • the C unit that plays back the video and the C unit that plays back the video image.
  • C When C occurs, there is a note that the image is truncated and normal playback cannot be performed. Also, if the C unit is a storage device that can record data, a CC will occur while writing data from C to the recording device, and the data will not be written correctly and recording will fail. There is a note. For example, the recording body cannot be imprinted once.
  • C (e a ed C c) equipped with a circuit capable of receiving seconds can cause communication even if it is affected by the manufacturing condition, operation rate, and use.
  • C which has a circuit capable of receiving seconds, needs high-quality shipping inspections in order to maintain stable operation. Introducing a frequent C tester for this This is a major factor in the strike.
  • An interface that communicates by a communication method in which a predetermined number of signals are transmitted prior to the transmission of data.
  • a detection circuit for detecting a signal generated when the data signal passes through the analog path
  • the characteristics of the analog path are optimally adjusted before the data is received, and the tilt after that can be reduced.
  • the characteristic of the analog circuit is configured to be changed when the number detected by the detection circuit exceeds a predetermined number.
  • the characteristic adjustment can be prevented when, for example, a tiler is generated due to the generated noise.
  • the detection circuit is configured to detect a tiller.
  • the detection circuit is configured so as to detect,
  • the signal is a signal that is output even after communication is established, and the detection circuit is configured to detect even after communication is established.
  • the characteristics of the analog path are adjusted even after the communication is established, so that the circuit characteristics can be set by following the environmental changes that occur during the operation. 002 In addition,
  • It is characterized in that it includes a P path to which the analog signal and the received signal are input, and is configured to change the sex of the P path.
  • It is characterized in that it is one of the flow rate of the chain, the toe wave number of the swiee, and the wave number of the pressure control in the P road that is changed by the above.
  • the analog signal includes a path for amplifying the received signal, and is configured to change the signal path for the received signal. It is characterized by
  • the path in which the analog signal and received signal are input includes a variable resistance element.
  • the tester generated by the channel can be switched to be manually operated.
  • the tester is characterized in that it is the same as the upper limit wave number tan, the random tan, and the synchronization number, which are defined in the communication system.
  • 003 is a block diagram showing the structure of the interface according to the light condition.
  • 22 is a check diagram showing the composition of the check pump.
  • 3 3 is a diagram showing signals exchanged between transmission and reception in the case of S a grade.
  • Figure 3 is a block diagram showing the composition of the interface related to the clear state.
  • the interface is hosted by host 3 through the interface.
  • the host 3 is a sonar computer (below, C) and Se a is adopted as a communication interface.
  • the interface is further connected to digital
  • the digital unit 4 is a circuit that processes the signals received by the C unit and C, and as will be described later in detail, a circuit that controls the characteristics of the analog circuit in the interface ( No) is included. 039 (of the interface)
  • the interface is: , An aligner 2, a P 2 (for P) for transmission, a dry 22, 23, a tan 24, and a chi 25.
  • the resistance can be changed according to the control of the vehicle. This, S. In a, the standard specifies 5 by the force of the differential signal.
  • the width of the second issue can also be changed.
  • the width of the input signal of 2 is changed.
  • the 004 3 4 supplies the voltage to the 3rd case.
  • It has a pump 52 (for P), a swivel 53 (for P), and a voltage control 54 (for C) to interface the received signal.
  • 004 Detector 5 is a receiver and voltage control 54
  • the 004 pump 52 has a current 52a, a switch 52b, and a switch 52 as shown in 2.
  • And column-equipped cheat pumps configured with a current 52d, with the power of each chair pump being sw-53 connected.
  • Each of the check pumps is controlled by turning on the switch 52b and the switch 52c according to the phase detected by the detector 5.
  • the amount of current flowing through and the current lance can be adjusted.
  • the CH 52a and the CH 52b of the chamfer can also control O 2 O according to the control of the digital camera 4 as described above. In other words, the amount of current that the pump 52 makes can be swept by the digitizer 4.
  • the 004 type is composed of a resistor and a child. By changing either one of the resistor and the amount of the child, the toe frequency can be changed. Of the digital camera 4
  • the pressure control 54 outputs the cook number of the wave number according to the input control pressure. I will do it.
  • the signal of the switch 53 is manually operated as described above, but it can be controlled by the controller of the digital converter 4.
  • Aligner 6 uses the cook (algorithm) output by P 5 for reception.
  • 005 8b b 7 can be used as a digital 4 by removing the 2-bit data stored as the bit data from the bit signal and converting it to the 8-bit signal. If a signal is generated in the analog road, a tiller will occur. That is, this tile is
  • the 0053 detection circuit 8 detects the tiller generated at 8b b 7 according to the control of the digitizer 4 and, and then makes the digitizer 4 detect nothing.
  • Arizer 2 converts the bit number output from 8b b 9 into the A number of.
  • the credit P 2 synchronizes the bit number A with the predetermined number of cooks.
  • Dry 22 sends the signal output by sending P 2 to host 3.
  • 005 823 is connected to the signal line and the resistance can be changed.
  • the 005 ton 24 produces 8b b
  • the testers that are generated are those that are likely to generate a tiler, the signal to which Se a is to be used after the communication is established and the time it is terminated (for example, the signal that includes the SC number that will be described later), or random test. Can be applied.
  • the 006 chi is a chi provided between the dry 22 force and the dry 2 force. As a result, the force from the dry 22 can be reduced to 2.
  • the digital detector 4 has a register that holds the number of tillers detected by the detector circuit 8 and receives the signal transmitted before the data (that is, the signal used to wait for communication).
  • the detection circuit 8 detects the tiller. Specifically, in the embodiment, the T C of the S C titan (described in detail later) in the S a case-like message is detected.
  • the characteristics of the pump 52, sweep 53, and voltage control 54 are changed and detected by the detection circuit 8. Measure the change in the number of lasers, and set the characteristics of these paths to the electrical characteristics with the maximum number of tiles. In this way, the characteristic is changed when the number of tillers exceeds the predetermined number.For example, when the tiller is generated due to noise, the characteristic is adjusted and the subsequent operations are performed. This is because there may be a small amount of gin. It is also because the load of the digital 4 is not larger than necessary.
  • CO S CO and CO W are called OO (O Of ad) in the case of Se a A and consist of signal tones (st) (space) called petit. It The role of OO is followed by G and S C themes. OOG and S C are C C arithmetic exchanges. Also, G and S C are signals used to time the communication.
  • the digital receiver 4 which has received it, transmits the CO and strike to the host 3 via the interface (step S 2)
  • the host 3 after receiving the CO, sends the CO W ST signal to the chair (step S 3)
  • the digital receiver 4 which receives the CO W from the host 3, sends the same CO W to the host 3 through the interface (step S 4)
  • the host 3 that receives 007 CO W transmits the high-speed cook signal of Se a called 2 (step S 5)
  • the digital device 4 transmits G, and the host transmits G as well.
  • the digitizer 4 which is timed by G, is SC
  • the host 3 that has received the S C from the digital unit 4 sends the same S C to the digital unit 4 to complete the mutual support.
  • the digital device 4 sends the status to the host 3, it sends SC with the host 3 digital device 4. Mari, Digital 4 It is possible to receive the SC sent by host 3 for a while until sending.
  • the digital receiver 40 receives S C and the detection circuit 8 detects a tailor. Then, for example, by raising or lowering or switching the flow rate of the chair pump 52, these paths are set to the electricity or the note with the highest Taylor number.
  • S C is inserted at a predetermined interval even after the communication formula is established, so it can be performed each time S C is received. This makes it possible to set the circuit characteristics by following environmental changes that occur during operation, such as frequency changes.
  • the circuitability can be determined, for example, before the product is loaded, before the communication, or when the interface host 3 is not connected. To do this, first create a tester with 24. And so that the dry 22 2 is connected
  • circuit characteristics can be adjusted without preparing a frequent C tester at the time of inspection before product loading. It is also necessary to reduce the yield and ship only the appropriate products, or to increase the size of the transistors that make up the analog circuit. Therefore, according to the present embodiment, the amount of strike can be suppressed and stable communication can be performed.
  • the Se a and S interface explained as the communication method above are examples, and any communication method in which a predetermined data signal is transmitted prior to the data can be used.
  • the interface related to 008 Ming can adjust the characteristics of the analog path before communication actually occurs, so that it has the effect of suppressing the large amount of cost and enabling stable communication. It is useful as an interface for communicating by being incorporated into a computer.

Abstract

An error detecting circuit (180) detects parity errors occurred in analog circuits during the receipt of SYNC and outputs signals sequentially to a circuit-characteristic setting section of a digital circuit (400) as to whether the detecting circuit (180) detects them or not. When the number of detected parity errors is over a predetermined value, electrical characteristics of a terminating resistance (110), a charge pump group (152), a low-pass filter (153) and a voltage-controlled oscillator (154) are changed by a circuit-character setting section and changes of the number of detected parity errors are measured by the error detecting circuit (180). Thus, characteristics of these circuits are set to electrical characteristics for the least number of the parity errors.

Description

明 細 書 Specification
インターフェース回路 interface circuit
技術分野 Technical field
[0001] 本発明は、コンピュータやコンピュータ周辺機器等に組み込まれてシリアル通信を 行なうインターフェース回路に関するものである。 [0001] The present invention relates to an interface circuit that is incorporated into a computer, computer peripheral equipment, etc. and performs serial communication.
背景技術 Background technology
[0002] パーソナルコンピュータ(以下、 PC)と、 CD (Compact Disk)ドライブや、 DVD ( Digital Versatile Disk)ドライブや、プリンタ等といった PC周辺機器とを接続する には、 PC、および PC周辺機器の双方に規格ィ匕された信号送受信のためのインター フェースを備えなければならな 、。 [0002] To connect a personal computer (PC) and PC peripherals such as a CD (Compact Disk) drive, DVD (Digital Versatile Disk) drive, printer, etc., both the PC and the PC peripherals must be connected. It must be equipped with an interface for transmitting and receiving signals according to standards.
[0003] このようなインターフェースの規格には、 ATAZATAPI (AT Attachment/ AT [0003] Standards for such interfaces include ATAZATAPI (AT Attachment).
Attachment Packet Interface)のように複数本のデータバスを持った信号ライ ンと複数本の制御ラインとを併用して通信を行うパラレル通信方式と、 SerialATAや USB (Universal Serial Bus)等のように高々数組のペアの差動信号ラインのみ を使用して通信を行うシリアル通信方式がある。高速通信を実現しつつ通信安定性 を確保するため、さらにはユーザの利便性を図るために PCと PC周辺機器との接続 を容易できるようにするためなどの理由から、現在ではシリアル通信方式を採用した P Cや PC周辺機器が主流となって 、る。 Parallel communication methods, such as SerialATA and USB (Universal Serial Bus), use a combination of signal lines with multiple data buses and multiple control lines to communicate. There is a serial communication method that uses only several pairs of differential signal lines to communicate. Serial communication methods are currently being used for reasons such as achieving high-speed communication and ensuring communication stability, as well as making it easier to connect PCs and PC peripherals for user convenience. PCs and PC peripherals that have been adopted have become mainstream.
[0004] 近年のシリアル通信方式にお!、ては、ギガビット毎秒の通信速度を有して 、る。そ のため、安定的な通信を確保するために、 PCや PC周辺機器等に搭載されるインタ 一フェース回路は従来よりもマージンを確保した設計および製造が求められている。 例えば、 USBや SerialATAなどの規格では、 CRC (Cyclic Redundancy Chec k)演算などの仕組みをプロトコルに入れてインターフェースバス上のエラーを検出す る機能があるが、マージンの少ないインターフェース回路を通信に用いると、 CRCェ ラーが発生しやすぐ深刻な通信エラーを招いてしまう可能性がある。 [0004] Recent serial communication systems have communication speeds of gigabits per second. Therefore, in order to ensure stable communications, interface circuits installed in PCs and PC peripherals must be designed and manufactured with greater margins than in the past. For example, in standards such as USB and SerialATA, there is a function to detect errors on the interface bus by incorporating mechanisms such as CRC (Cyclic Redundancy Check) calculation into the protocol, but if an interface circuit with a small margin is used for communication, , a CRC error can quickly lead to a serious communication error.
[0005] 例えば、 DVDビデオを再生する PC周辺機器で、ビデオ映像を再生して ヽる際に C[0005] For example, when playing back video images on a PC peripheral device that plays DVD videos, C
RCエラーが発生すると、映像がコマ落ちして正常な再生ができな 、可能性がある。 また、 PC周辺機器が記録可能な記憶装置の場合には、 PC力もデータを記録装置に 書込んでいる最中に CRCエラーが発生してしまうと、データを正常に書込めず、記録 に失敗してしまう可能性がある。例えば、記録媒体が一度しか書き込みできない DV D-R (Digital Versatile Disc— Recordable)である場合には、一度の CRCエラ 一によつてメディアを破損してしまう可能性がある。 If an RC error occurs, there is a possibility that the video may drop frames and cannot be played normally. Additionally, if the PC peripheral device is a recordable storage device, if a CRC error occurs while the PC is writing data to the storage device, the data will not be written correctly and the recording will fail. There is a possibility that it will happen. For example, if the recording medium is a DV DR (Digital Versatile Disc—Recordable) that can only be written to once, a single CRC error may damage the medium.
[0006] また、ギガビット毎秒の通信が可能な回路を搭載した IC (Integrated Circuit)は 、製造状態や動作温度や使用時の電源電圧等の影響によっても通信エラーが発生 する可能性がある。そのため、歩留を落としてでも高精度な製品だけを出荷する必要 があり、高コストな ICになってしまう。 [0006] Furthermore, in ICs (Integrated Circuits) equipped with circuits capable of gigabit per second communication, communication errors may occur due to the influence of manufacturing conditions, operating temperature, power supply voltage during use, etc. Therefore, it is necessary to ship only high-precision products even if the yield is reduced, resulting in high-cost ICs.
[0007] さらに、このような高精度な製品を製造するには、例えばアナログ回路を構成するト ランジスタのサイズを大きくしたり、部品点数を増やしたりする必要があり、この点もや はりコスト増大に結びつ 、てしまう。 [0007] Furthermore, in order to manufacture such high-precision products, it is necessary, for example, to increase the size of the transistors that make up the analog circuit or to increase the number of parts, which also increases costs. It is tied to and ends up.
[0008] 上記の問題点に対しては、パラレル通信方式のインターフェース回路において、 C RCエラー発生状況に応じて、通信速度を変更したり、信号ラインをドライブする電流 値を変更したりすることによって、それ以降の CRCエラーを回避するようにしたものが ある (たとえば、特許文献 1を参照)。 [0008] The above problem can be solved by changing the communication speed or the current value driving the signal line in the parallel communication interface circuit depending on the occurrence of the CRC error. There is a method that avoids subsequent CRC errors (for example, see Patent Document 1).
[0009] このインターフェース回路によれば、 CRCエラーを検知した後は、最適な通信状態 に回路の特性が調整され、安定な通信が可能になる。 [0009] According to this interface circuit, after a CRC error is detected, the characteristics of the circuit are adjusted to the optimum communication state, and stable communication becomes possible.
特許文献 1 :特開平 11 249821号公報 Patent document 1: Japanese Patent Application Laid-open No. 11 249821
発明の開示 Disclosure of invention
発明が解決しょうとする課題 The problem that the invention seeks to solve
[0010] しかしながら、上記のインターフェース回路のように、 CRCエラーを回避するために 、通信速度を安全に通信できるまで落したのでは、高速な通信が要求される機器に は応用できない。 [0010] However, as in the above interface circuit, if the communication speed is reduced to a level that allows safe communication in order to avoid CRC errors, it cannot be applied to devices that require high-speed communication.
[0011] また、実際に通信エラーが発生する前に、通信速度や電気的な特性を調整できる のが本来は好ましい。 [0011] Furthermore, it is originally preferable to be able to adjust the communication speed and electrical characteristics before a communication error actually occurs.
[0012] また、ギガビット毎秒の通信が可能な回路を搭載した ICは、安定的な動作確保のた めに高精度、高品質な出荷検査が必要となる。これには、高精度な ICテスタを導入 する必要があり、コストの増大要因となる。 [0012] Furthermore, ICs equipped with circuits capable of gigabit per second communication require highly accurate and high quality shipping inspection to ensure stable operation. For this purpose, we introduced a high-precision IC tester. It is necessary to do so, which increases costs.
[0013] 本発明は、前記の問題に着目してなされたものであり、コストの増大を抑えつつ、安 定して通信を行なえるインターフェース回路を提供することを目的としている。 [0013] The present invention has been made with attention to the above-mentioned problem, and an object of the present invention is to provide an interface circuit that can perform stable communication while suppressing an increase in cost.
課題を解決するための手段 Means to solve problems
[0014] 前記の課題を解決するため、本発明の一態様は、 [0014] In order to solve the above problems, one aspect of the present invention includes:
データの送信に先立って所定パタンの信号が送信される通信方式で通信を行なう インターフェース回路であって、 An interface circuit that performs communication using a communication method in which a predetermined pattern of signals is transmitted prior to data transmission,
受信した信号が入力されるアナログ回路と、 an analog circuit into which the received signal is input;
前記所定パタンの信号が前記アナログ回路を通過した際に発生するエラーを検出 するエラー検出回路と、 an error detection circuit that detects an error that occurs when the signal of the predetermined pattern passes through the analog circuit;
前記エラー検出回路で検出されるエラーが減少するように、前記アナログ回路の特 性を変更する回路特性設定部と、 a circuit characteristic setting unit that changes characteristics of the analog circuit so that errors detected by the error detection circuit are reduced;
を備えたことを特徴とする。 It is characterized by having the following.
[0015] これにより、データを受信する前にアナログ回路の電気的な特性が最適に調整され るので、それ以降のノ リティエラー発生頻度を下げることができる。 [0015] As a result, the electrical characteristics of the analog circuit are optimally adjusted before data is received, so that the frequency of occurrence of error errors thereafter can be reduced.
[0016] また、本発明の一態様は、 [0016] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
前記回路特性設定部は、前記エラー検出回路が検出したエラー数が、所定数を越 えた場合に、前記アナログ回路の特性を変更するように構成されて ヽることを特徴と する。 The circuit characteristic setting section is characterized in that it is configured to change the characteristics of the analog circuit when the number of errors detected by the error detection circuit exceeds a predetermined number.
[0017] これにより、例えば突発的なノイズによってパリティエラーが発生した場合等には特 性調整が行なわれな ヽようにできる。また回路特性設定部などシステムに必要以上 の負荷を与えな 、ようにできる。 [0017] This makes it possible to prevent characteristic adjustment from being performed, for example, when a parity error occurs due to sudden noise. In addition, it is possible to avoid placing an unnecessary load on the system such as the circuit characteristic setting section.
[0018] また、本発明の一態様は、 [0018] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
前記エラー検出回路は、ノ リティエラーを検出するように構成されていることを特徴 とする。 The error detection circuit is characterized in that it is configured to detect error errors.
[0019] また、本発明の一態様は、 上記のインターフェース回路であって、 [0019] Further, one aspect of the present invention is The above interface circuit,
前記通信方式は、ビットスタッフ方式であり、 The communication method is a bit stuff method,
前記エラー検出回路は、ビットスタッフエラーを検出するように構成されていることを 特徴とする。 The error detection circuit is characterized in that it is configured to detect a bit stuff error.
[0020] これらにより、アナログ回路で発生した内部エラーが検出される。 [0020]Thus, internal errors occurring in the analog circuit are detected.
[0021] また、本発明の一態様は、 [0021] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
前記所定パタンの信号は、通信が確立した後にも送信される信号であり、 前記エラー検出回路は、通信が確立した後にも、エラーを検出するように構成され ていることを特徴とする。 The predetermined pattern signal is a signal that is transmitted even after communication is established, and the error detection circuit is configured to detect errors even after communication is established.
[0022] これにより、通信が確立した後もアナログ回路の電気的な特性が調整されるので、 例えば温度変化等の動作中に生じた環境変化に追従して、回路特性を設定できる。 [0022]Thereby, the electrical characteristics of the analog circuit are adjusted even after communication is established, so that the circuit characteristics can be set in accordance with environmental changes that occur during operation, such as temperature changes.
[0023] また、本発明の一態様は、 [0023] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
前記アナログ回路は、受信した信号を入力とする PLL回路を含んだものであり、 前記回路特性設定部は、前記 PLL回路の特性を変更するように構成されているこ とを特徴とする。 The analog circuit includes a PLL circuit that receives a received signal as input, and the circuit characteristic setting section is configured to change the characteristics of the PLL circuit.
[0024] また、本発明の一態様は、 [0024] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
前記 PLL回路は、チャージポンプ、ローノ スフィルタ、および電圧制御発振器を含 んだものであり、 The PLL circuit includes a charge pump, a low-nos filter, and a voltage-controlled oscillator, and
前記回路特性設定部が変更する前記 PLL回路の特性は、前記チャージポンプの 電流量、前記ローパスフィルタのカットオフ周波数、および前記電圧制御発振器の発 振周波数のうちの少なくとも何れか 1つであることを特徴とする。 The characteristic of the PLL circuit that is changed by the circuit characteristic setting section is at least one of the amount of current of the charge pump, the cutoff frequency of the low-pass filter, and the oscillation frequency of the voltage-controlled oscillator. It is characterized by
[0025] また、本発明の一態様は、 [0025] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
前記アナログ回路は、受信した信号を増幅するレシーバ回路を含んだものであり、 前記回路特性設定部は、前記レシーバ回路の増幅率を変更するように構成されて いることを特徴とする。 The analog circuit includes a receiver circuit that amplifies a received signal, and the circuit characteristic setting section is configured to change an amplification factor of the receiver circuit. It is characterized by the presence of
[0026] また、本発明の一態様は、 [0026] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
前記アナログ回路は、受信した信号が入力される経路に、抵抗値を可変できる終 端抵抗素子を含んだものであり、 The analog circuit includes a terminating resistance element whose resistance value can be varied in a path through which the received signal is input,
前記回路特性設定部は、前記終端抵抗素子の抵抗値を変更するように構成されて いることを特徴とする。 The circuit characteristic setting section is characterized in that it is configured to change the resistance value of the terminating resistor element.
[0027] これらにより、アナログ回路の電気的な特性(出力される電流量や電圧値)が調整さ れる。 [0027] These adjust the electrical characteristics (output current amount and voltage value) of the analog circuit.
[0028] また、本発明の一態様は、 [0028] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
前記所定パタンの信号は、同期調整用の信号であることを特徴とする。 The predetermined pattern signal is a signal for synchronization adjustment.
[0029] これにより、同期信号を受信中に、アナログ回路の電気的な特性が調整される。 [0029]Thereby, the electrical characteristics of the analog circuit are adjusted while receiving the synchronization signal.
[0030] また、本発明の一態様は、 [0030] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
さらに、テスト用信号パタンを生成するパタン生成回路を備え、 Furthermore, it is equipped with a pattern generation circuit that generates test signal patterns.
前記アナログ回路は、受信した信号に代えて、前記パタン生成回路が生成したテス ト用信号パタンを切り替えて入力できるように構成されて 、ることを特徴とする。 The analog circuit is characterized in that it is configured to be able to switch and input a test signal pattern generated by the pattern generation circuit instead of the received signal.
[0031] また、本発明の一態様は、 [0031] Further, one aspect of the present invention is
上記のインターフェース回路であって、 The above interface circuit,
前記テスト用信号パタンは、通信方式の規格上定められている上限周波数の信号 パタン、ランダムな信号パタン、および同期調整用の信号と同じパタンのうちの少なく とも何れ力 1つであることを特徴とする。 The test signal pattern is at least one of the following: a signal pattern with an upper limit frequency determined by a communication system standard, a random signal pattern, and a pattern the same as a signal for synchronization adjustment. shall be.
[0032] これらにより、テスト用信号パタンが生成されるので、インターフェース回路単独でァ ナログ回路の電気的な特性を設定できる。 [0032] Since a test signal pattern is generated by these, the electrical characteristics of the analog circuit can be set using the interface circuit alone.
発明の効果 Effect of the invention
[0033] 本発明によれば、通信エラーが実際に発生する前にアナログ回路の電気的な特性 を調整できるので、コストの増大を抑えつつ、安定して通信を行なえる。 図面の簡単な説明 [0033] According to the present invention, the electrical characteristics of the analog circuit can be adjusted before a communication error actually occurs, so that stable communication can be performed while suppressing an increase in cost. Brief description of the drawing
[図 1]図 1は、本発明の実施形態に係るインターフェース回路の構成を示すブロック 図である。 [FIG. 1] FIG. 1 is a block diagram showing the configuration of an interface circuit according to an embodiment of the present invention.
[図 2]図 2は、チャージポンプの構成を示すブロック図である。 [Figure 2] Figure 2 is a block diagram showing the configuration of the charge pump.
[図 3]図 3は、 SerialATA規格の通信において、送信側と受信側との間でやり取りさ れる信号を示す図である。 [Figure 3] Figure 3 is a diagram showing the signals exchanged between the sending side and the receiving side in SerialATA standard communication.
符号の説明 Explanation of symbols
100 インターフェース回路 100 interface circuit
110 終端抵抗 110 Terminal resistor
120 レシーバ回路 120 receiver circuit
130 エンファシス回路 130 Emphasis circuit
140 電源 140 Power supply
150 受信用 PLL回路 150 PLL circuit for reception
151 フェーズディテクタ 151 Phase Detector
152 チャージポンプ 152 Charge pump
152a 電流源 152a current source
152b スィッチ 152b switch
152c スィッチ 152c switch
152d 電流源 152d current source
153 ローパスフィルタ 153 Low pass filter
154 電圧制御発振器 154 Voltage Controlled Oscillator
160 デシリアライザ 160 Deserializer
170 8bZl0b変換回路 170 8bZl0b conversion circuit
180 エラー検出回路 180 Error detection circuit
190 8b,10b変換回路 190 8b,10b conversion circuit
200 シリアライザ 200 Serializer
210 送信用 PLL回路 210 PLL circuit for transmission
220 ドライバ回路 230 終端抵抗 220 driver circuit 230 Terminal resistor
240 パタン生成回路 240 Pattern generation circuit
250 スィッチ 250 switch
300 ホスト装置 300 host device
400 デジタル回路 400 digital circuits
発明を実施するための最良の形態 BEST MODE FOR CARRYING OUT THE INVENTION
[0036] 以下、本発明の実施形態について図面を参照しながら説明する。図 1は、本発明 の実施形態に係るインターフェース回路 100の構成を示すブロック図である。 [0036] Hereinafter, embodiments of the present invention will be described with reference to the drawings. FIG. 1 is a block diagram showing the configuration of an interface circuit 100 according to an embodiment of the present invention.
[0037] インターフェース回路 100は、インターフェースケーブルを介してホスト装置 300と 接続されて、通信を行なうようになっている。本実施形態では、ホスト装置 300は、パ 一ソナルコンピュータ(以下、 PC)であり、通信インターフェースとして SerialATAが 採用されているものとする。 [0037] Interface circuit 100 is connected to host device 300 via an interface cable to perform communication. In this embodiment, it is assumed that the host device 300 is a personal computer (hereinafter referred to as a PC) and uses SerialATA as a communication interface.
[0038] また、インターフェース回路 100は、さらにデジタル回路 400と接続され、デジタル 回路 400とともに、例えば DVDドライブなどの PC周辺機器や PCに組み込まれてい る。デジタル回路 400は、この PC周辺機器や PCにおいて、受信した信号の処理な どを行なう回路であり、後に詳述するように、インターフェース回路 100内のアナログ 回路の電気的な特性設定を制御する回路特性設定部(図示せず)を含んで!/ヽる。 [0038] Furthermore, the interface circuit 100 is further connected to a digital circuit 400, and is incorporated together with the digital circuit 400 into, for example, a PC peripheral device such as a DVD drive or a PC. The digital circuit 400 is a circuit that processes signals received in this PC peripheral device or PC, and, as will be described in detail later, is a circuit that controls electrical characteristic settings of the analog circuit in the interface circuit 100. It includes a characteristic setting section (not shown).
[0039] (インターフェース回路 100の構成) [0039] (Configuration of interface circuit 100)
インターフェース回路 100は、図 1に示すように、終端抵抗 110、レシーバ回路 120 、エンファシス回路 130、電源 140、受信用 PLL回路 150 (PLLは、 Phase Locked Loopの略である)、デシリアライザ 160、 8bZl0b変換回路 170、エラー検出回路 180、 8bZl0b変換回路 190、シリアライザ 200、送信用 PLL回路 210 (図中では T xPLLと略記)、ドライバ回路 220、終端抵抗 230、パタン生成回路 240、およびスィ ツチ 250を備えて構成されて 、る。 As shown in Figure 1, the interface circuit 100 includes a termination resistor 110, a receiver circuit 120, an emphasis circuit 130, a power supply 140, a reception PLL circuit 150 (PLL is an abbreviation for Phase Locked Loop), a deserializer 160, and an 8bZl0b conversion circuit. Equipped with a circuit 170, an error detection circuit 180, an 8bZl0b conversion circuit 190, a serializer 200, a transmission PLL circuit 210 (abbreviated as T xPLL in the figure), a driver circuit 220, a terminating resistor 230, a pattern generation circuit 240, and a switch 250. It is made up of.
[0040] 終端抵抗 110は、信号受信経路に接続され、デジタル回路 400の回路特性設定 部の制御に応じて、抵抗値を可変できるようになつている。この抵抗値は、 SerialAT Aでは、規格上、差動信号の入力で 100 Ω ± 15%と定められている。終端抵抗 110 を規格に合わせて調整することで、インターフェース回路 100の基板特性を鑑みたィ ンピーダンスマッチングを取ることができる。また、抵抗値の上下に応じて、レシーバ 回路 120への入力信号の振幅も変更することができる。 [0040] The terminating resistor 110 is connected to the signal receiving path, and its resistance value can be varied under the control of the circuit characteristic setting section of the digital circuit 400. For SerialAT A, this resistance value is specified as 100 Ω ± 15% for differential signal input according to the standard. By adjusting the terminating resistor 110 according to the standard, it is possible to Impedance matching can be performed. Further, the amplitude of the input signal to the receiver circuit 120 can also be changed depending on the rise or fall of the resistance value.
[0041] レシーバ回路 120は、ホスト装置 300から受信した信号 (以下、受信信号)を所定の 振幅に増幅するようになって 、る。 [0041] Receiver circuit 120 is configured to amplify a signal received from host device 300 (hereinafter referred to as a received signal) to a predetermined amplitude.
[0042] エンファシス回路 130は、デジタル回路 400の回路特性設定部の制御に応じて、レ シーバ回路 120の出力した信号の振幅を変更するようになっている。 [0042] The emphasis circuit 130 is configured to change the amplitude of the signal output from the receiver circuit 120 in accordance with the control of the circuit characteristic setting section of the digital circuit 400.
[0043] 電源 140は、エンファシス回路 130に電圧を供給するようになっている。 [0043] Power supply 140 is adapted to supply voltage to emphasis circuit 130.
[0044] 受信用 PLL回路 150は、フェーズディテクタ 151 (図中では PDと略記)、チャージ ポンプ群 152 (図中では CPと略記)、ローパスフィルタ 153 (図中では LPと略記)、お よび電圧制御発振器 154 (図中では VCOと略記)を備え、受信信号をインターフエ ース回路 100内部のクロック信号に同期させるようになって 、る。 [0044] The receiving PLL circuit 150 includes a phase detector 151 (abbreviated as PD in the figure), a charge pump group 152 (abbreviated as CP in the figure), a low-pass filter 153 (abbreviated as LP in the figure), and a voltage A controlled oscillator 154 (abbreviated as VCO in the figure) is provided to synchronize the received signal with the clock signal inside the interface circuit 100.
[0045] フェーズディテクタ 151は、受信信号と電圧制御発振器 154の出力信号との位相 差を検出するようになって 、る。 [0045] Phase detector 151 detects the phase difference between the received signal and the output signal of voltage controlled oscillator 154.
[0046] チャージポンプ群 152は、図 2に示すように電流源 152a、スィッチ 152b、スィッチ 1 52c、および電流源 152dを備えて構成されたチャージポンプを複数段並列に備え、 それぞれのチャージポンプの出力がローパスフィルタ 153と接続されている。 [0046] As shown in FIG. 2, the charge pump group 152 includes multiple stages of charge pumps configured in parallel with a current source 152a, a switch 152b, a switch 152c, and a current source 152d. The output is connected to a low pass filter 153.
[0047] それぞれのチャージポンプは、フェーズディテクタ 151が検出した位相差に応じ、ス イッチ 152b、およびスィッチ 152cを ONZOFFすることでチャージポンプ群 152内 を流れる電流量および電流バランスを調整することができる。また、各チャージポンプ のスィッチ 152a、およびスィッチ 152bは、前記位相差にかかわらずデジタル回路 40 0の回路特性設定部の制御に応じて、 ONZOFFを制御することもできる。すなわち 、チャージポンプ群 152の出力する電流量をデジタル回路 400の回路特性設定部に よってスイープさせることができる。 [0047] Each charge pump can adjust the amount of current flowing through the charge pump group 152 and the current balance by turning off the switch 152b and the switch 152c according to the phase difference detected by the phase detector 151. . Further, the switch 152a and the switch 152b of each charge pump can also control ONZOFF in accordance with the control of the circuit characteristic setting section of the digital circuit 400 regardless of the phase difference. That is, the amount of current output by charge pump group 152 can be swept by the circuit characteristic setting section of digital circuit 400.
[0048] ローパスフィルタ 153は、抵抗素子と容量素子とで構成されたフィルタであり、抵抗 素子の抵抗値および容量素子の容量の少なくとも一方を可変させて、カットオフ周波 数を可変できるようになつている。前記の抵抗値や容量は、デジタル回路 400の回路 特性設定部によって制御される。 [0048] The low-pass filter 153 is a filter composed of a resistive element and a capacitive element, and the cutoff frequency can be varied by varying at least one of the resistance value of the resistive element and the capacitance of the capacitive element. ing. The resistance value and capacitance described above are controlled by a circuit characteristic setting section of the digital circuit 400.
[0049] 電圧制御発振器 154は、入力された制御電圧に応じた周波数のクロック信号を出 力するようになっている。この電圧制御発振器 154には、ローパスフィルタ 153の出 力信号が前述の制御電圧として入力される力 この制御電圧はデジタル回路 400の 回路特性設定部の制御によってシフトできるようになって!/、る。 [0049] Voltage controlled oscillator 154 outputs a clock signal with a frequency according to the input control voltage. It's supposed to be powerful. This voltage controlled oscillator 154 receives the output signal of the low-pass filter 153 as the aforementioned control voltage, and this control voltage can be shifted by the control of the circuit characteristic setting section of the digital circuit 400. .
[0050] 上記の終端抵抗 110、レシーバ回路 120、受信用 PLL回路 150は、アナログ回路 であり、これらのアナログ回路では、ホスト装置 300が送信した信号の品質、ケーブル 等から進入するノイズ、あるいは周囲の温度などが信号にエラーを発生させる原因と なる。 [0050] The above-mentioned terminating resistor 110, receiver circuit 120, and receiving PLL circuit 150 are analog circuits, and in these analog circuits, the quality of the signal transmitted by the host device 300, noise entering from the cable etc., or the surroundings temperature etc. can cause errors in the signal.
[0051] デシリアライザ 160は、受信用 PLL回路 150が出力したクロック信号 (シリアル信号 [0051] The deserializer 160 receives the clock signal (serial signal) output by the receiving PLL circuit 150.
)を 10ビットのパラレル信号に変換するようになっている。なお、本実施形態では、前 記の 10ビットのうちの 2ビットは、パリティ一データである。 ) to a 10-bit parallel signal. Note that in this embodiment, 2 bits of the 10 bits are parity data.
[0052] 8b/10b変換回路 170は、 10ビットのパラレル信号力もノ リティーデータとして含ま れた 2ビットのデータを取り除いて 8ビット信号に変換し、デジタル回路 400に出力す るようになっている。アナログ回路内で信号にエラーを生じてしまった場合には、パリ ティエラーが発生する。すなわち、このパリティエラーは、 SerialATAインターフエ一 スのバス上では直接発見できな 、内部エラーである。 [0052] The 8b/10b conversion circuit 170 is designed to remove the 2-bit data included in the 10-bit parallel signal power and convert it into an 8-bit signal, which is output to the digital circuit 400. . A parity error occurs when a signal error occurs in an analog circuit. In other words, this parity error is an internal error that cannot be detected directly on the Serial ATA interface bus.
[0053] エラー検出回路 180は、デジタル回路 400の回路特性設定部の制御に応じて、 8b[0053] The error detection circuit 180 detects 8b according to the control of the circuit characteristic setting section of the digital circuit 400.
ZlOb変換回路 170で発生したパリティエラーを検出し、逐次、検出の有無をデジタ ノレ回路 400〖こ出力するようになって 、る。 The parity error generated in the ZlOb conversion circuit 170 is detected and the presence/absence of detection is sequentially output to the digital sensor circuit 400.
[0054] 8bZl0b変換回路 190は、デジタル回路 400がホスト装置 300に送信するために 出力した 8ビットのパラレル信号に、 2ビットのパリティ一データを付カ卩して、 10ビットの ノラレル信号に変換して出力するようになっている。 [0054] The 8bZl0b conversion circuit 190 adds 2 bits of parity data to the 8-bit parallel signal output by the digital circuit 400 for transmission to the host device 300, and converts it into a 10-bit Noral signal. and output it.
[0055] シリアライザ 200は、 8bZl0b変換回路 190が出力した 10ビットのパラレル信号を[0055] Serializer 200 converts the 10-bit parallel signal output from 8bZl0b conversion circuit 190 into
、 10ビットのシリアル信号に変換するようになっている。 , it is designed to convert to a 10-bit serial signal.
[0056] 送信用 PLL回路 210は、 10ビット信号のシリアル信号を、所定周波数のクロック信 号に同期させて出力するようになっている。 [0056] The transmission PLL circuit 210 is configured to output a 10-bit serial signal in synchronization with a clock signal of a predetermined frequency.
[0057] ドライバ回路 220は、送信用 PLL回路 210が出力したシリアル信号をホスト装置 30[0057] The driver circuit 220 transmits the serial signal output from the transmission PLL circuit 210 to the host device 30.
0に送信するようになって ヽる。 Now it starts sending to 0.
[0058] 終端抵抗 230は、信号送信経路に接続され、抵抗値を可変できるようになって!/ヽる [0059] パタン生成回路 240は、所定のテスト用信号パタンを生成して 8bZl0b変換回路 1 90に出力するようになっている。生成するテスト用信号パタンとしては、ノ^ティエラ 一が発生しやす!/、信号パタンや、通信が確立してから終了するまでに SerialATAの 通信で用いられる信号パタン (例えば後に詳述する SYNC信号を含んだ信号パタン )、あるいはランダムな信号パタンを適用できる。 [0058] The terminating resistor 230 is connected to the signal transmission path, and the resistance value can be varied!/ヽru [0059] The pattern generation circuit 240 is configured to generate a predetermined test signal pattern and output it to the 8bZl0b conversion circuit 190. The test signal patterns to be generated include Notierra 1, which is most likely to occur!/ signal patterns, and signal patterns used in SerialATA communication from the time communication is established to the end (for example, the SYNC signal, which will be detailed later). ) or a random signal pattern can be applied.
[0060] 具体的にパリティエラーが発生しやすい信号パタンとしては、例えば規格上で定め られている上限周波数の信号パタンや、予め使用環境などがわ力 ている場合など は、高温での使用環境を想定した周波数の信号が挙げられる。 [0060] Specific signal patterns that are likely to cause parity errors include, for example, signal patterns with the upper limit frequency specified in the standard, and cases where the usage environment is unstable in advance, such as usage environments at high temperatures. An example of this is a signal with a frequency assumed to be .
[0061] スィッチ 250は、ドライバ回路 220の出力とレシーバ回路 120の入力との間に設け られたスィッチである。これにより、ドライバ回路 220からの出力をレシーバ回路 120 にも送信できる。 [0061] Switch 250 is a switch provided between the output of driver circuit 220 and the input of receiver circuit 120. Thereby, the output from the driver circuit 220 can also be transmitted to the receiver circuit 120.
[0062] デジタル回路 400の回路特性設定部は、エラー検出回路 180が検出したパリティ エラーの数を保持するレジスタを備え、データに先立って送信される信号 (例えば、 通信の同期を取るために使用される信号等)を受信中に、エラー検出回路 180にパ リティエラーを検出させるようになつている。本実施形態では、具体的には、 SerialA TA規格の通信における SYNCと 、うプリミティブパタン (後に詳述する)の受信中に ノ リティエラーを検出させる。 [0062] The circuit characteristic setting section of the digital circuit 400 includes a register that holds the number of parity errors detected by the error detection circuit 180, and includes a register that holds the number of parity errors detected by the error detection circuit 180, and a register that holds the number of parity errors detected by the error detection circuit 180. The error detection circuit 180 is configured to detect a parity error while receiving a parity signal (such as a signal to be transmitted). Specifically, in this embodiment, a communication error is detected during reception of SYNC and primitive patterns (described in detail later) in SerialA TA standard communication.
[0063] そして、デジタル回路 400の回路特性設定部は、検出されたパリティエラー数が所 定数を越えた際に、終端抵抗 110、チャージポンプ群 152、ローパスフィルタ 153、 および電圧制御発振器 154の電気的な特性を変更して、エラー検出回路 180で検 出されるパリティエラー数の変化を測定し、ノ^ティエラー数が一番少なくなる電気的 な特性にこれらの回路の特性を設定する。このようにパリティエラー数が所定数を越 えた際に特性の変更を行なうのは、例えば突発的なノイズによってパリティエラーが 発生した場合に特性調整を行なうと、それ以降の動作で却ってマージンが少なくなる 可能性があるためである。またデジタル回路 400の負荷を必要以上に大きくしな 、た めである。 [0063] Then, when the number of detected parity errors exceeds a predetermined number, the circuit characteristic setting section of the digital circuit 400 controls the electrical power of the termination resistor 110, the charge pump group 152, the low-pass filter 153, and the voltage-controlled oscillator 154. The circuit characteristics are changed to measure changes in the number of parity errors detected by the error detection circuit 180, and the characteristics of these circuits are set to the electrical characteristics that minimize the number of parity errors. Changing the characteristics when the number of parity errors exceeds a predetermined number in this way means that, for example, if you adjust the characteristics when a parity error occurs due to sudden noise, the margin for subsequent operations will be reduced. This is because there is a possibility that This is also to prevent the load on the digital circuit 400 from becoming unnecessarily large.
[0064] (インターフェース回路 100の動作) SerialATA規格の通信で、ホスト装置 300が送信したデータをインターフェース回 路 100で受信する場合には、送信側と受信側との間で通信方式を確立するために、 図 3のようなステップで信号のやりとりが行われる。 [0064] (Operation of interface circuit 100) When data sent by the host device 300 is received by the interface circuit 100 in SerialATA standard communication, the steps shown in Figure 3 are used to transmit signals in order to establish a communication method between the sending side and the receiving side. An exchange takes place.
[0065] 図 3に示す信号のうち、 COMRESET、 COMINIT、および COMWAKEは Seria 1ATA規格の通信では OOB (Out of Band)と呼ばれ、各信号はプリミティブと呼 ばれる信号パタン (バースト信号)と無信号区間 (スペース)によって構成されて!、る。 また、 OOBの後には、 ALIGNおよび SYNCというというプリミティブパタンが続いて いる。 OOB、 ALIGN,および SYNCは、 CRC演算のないやり取りである。また、 ALI GNおよび SYNCは、通信の同期を取るために使用される信号である。 [0065] Among the signals shown in Figure 3, COMRESET, COMINIT, and COMWAKE are called OOB (Out of Band) in Seria 1ATA standard communication, and each signal has a signal pattern called a primitive (burst signal) and a no signal. Consists of intervals (spaces)!,ru. Additionally, OOB is followed by the primitive patterns ALIGN and SYNC. OOB, ALIGN, and SYNC are interactions without CRC operations. Additionally, ALI GN and SYNC are signals used to synchronize communications.
[0066] まず、ホスト装置 300が COMRESETと!、うバースト信号をデバイスに送信する(ス テツプ S 101)。 [0066] First, the host device 300 transmits a COMRESET burst signal to the device (Step S 101).
[0067] それを受信したデジタル回路 400は、インターフェース回路 100を介して、 COMI [0067] The digital circuit 400 that received it communicates with the COMI via the interface circuit 100.
NITというバースト信号をホスト装置 300に送信する(ステップ S102)。 A burst signal called NIT is transmitted to the host device 300 (step S102).
[0068] ホスト装置 300は、 COMINITを受信した後、 COMWAKEというバースト信号をデ バイスに送信する (ステップ S 103)。 [0068] After receiving COMINIT, host device 300 transmits a burst signal called COMWAKE to the device (step S103).
[0069] ホスト装置 300からの COMWAKEを受信したデジタル回路 400は、ホスト装置 30[0069] The digital circuit 400 that received COMWAKE from the host device 300 is the host device 30
0に対して同じ COMWAKEを、インターフェース回路 100を介して送信する(ステツ プ S104)。 0 via the interface circuit 100 (step S104).
[0070] COMWAKEを受信したホスト装置 300は、 D10. 2と呼ばれる SerialATAの最高 速のクロック信号を送信する (ステップ S 105)。 [0070] Upon receiving COMWAKE, the host device 300 transmits the highest speed clock signal of SerialATA called D10.2 (Step S105).
[0071] これに対してデジタル回路 400は、 ALIGNを送信し、ホストも同様に ALIGNを送 信する。 [0071] In response, the digital circuit 400 transmits ALIGN, and the host similarly transmits ALIGN.
[0072] その後、 ALIGNによって信号の同期がとれたデジタル回路 400は、 SYNCという プリミティブパタンをホストに送信する (ステップ S 106)。 [0072] After that, the digital circuit 400 whose signals have been synchronized by ALIGN transmits a primitive pattern called SYNC to the host (step S 106).
[0073] デジタル回路 400からの SYNCを受け取ったホスト装置 300力 同じ SYNCをデジ タル回路 400に送信することで、お互いの通信確立が完了したことになる。 [0073] When the host device 300 receives the SYNC from the digital circuit 400 and sends the same SYNC to the digital circuit 400, the establishment of mutual communication is completed.
[0074] デジタル回路 400がステータスをホスト装置 300に送信するまで、ホスト装置 300と デジタル回路 400とは、 SYNCを送信しあう。つまり、デジタル回路 400は、ステータ スを送信するまでのある程度の期間、ホスト装置 300が送信する SYNCを受信しつ づけることが可能である。 [0074] The host device 300 and the digital circuit 400 send SYNC to each other until the digital circuit 400 sends the status to the host device 300. That is, the digital circuit 400 is the stator It is possible to continue receiving the SYNC sent by the host device 300 for a certain period of time until the host device 300 sends the SYNC.
[0075] そこで、デジタル回路 400の回路特性設定部は、 SYNCを受信中に、エラー検出 回路 180にパリティエラーを検出させる。そして、例えば終端抵抗 110の抵抗値を上 下させたり、チャージポンプ群 152の電流量をスイープさせたりする等して、これらの 回路をパリティエラー数が一番少なくなる電気的な特性に設定する。 [0075] Therefore, the circuit characteristic setting section of digital circuit 400 causes error detection circuit 180 to detect a parity error while receiving SYNC. Then, for example, by increasing or decreasing the resistance value of the termination resistor 110 or by sweeping the amount of current of the charge pump group 152, these circuits are set to have electrical characteristics that minimize the number of parity errors. .
[0076] これにより、データを受信する前にアナログ回路の電気的な特性が最適に調整され 、それ以降のノ^ティエラー発生頻度を下げることができる。 [0076] As a result, the electrical characteristics of the analog circuit are optimally adjusted before data is received, and the frequency of subsequent note errors can be reduced.
[0077] なお、 SerialATA規格の通信では、 SYNCは、通信方式が確立した後も所定の間 隔で挿入されるので、上記の回路特性の設定は、 SYNCを受信するたびに行なって もよい。これにより、例えば温度変化等の動作中に生じた環境変化に追従して、回路 特性を設定できる。 [0077] Note that in SerialATA standard communication, SYNC is inserted at predetermined intervals even after the communication method is established, so the above circuit characteristics setting may be performed every time SYNC is received. This allows circuit characteristics to be set by following environmental changes that occur during operation, such as temperature changes.
[0078] また、インターフェース回路 100では、例えば製品出荷前の検査時や、通信開始前 や、インターフェース回路 100とホスト装置 300とが接続されていない状態などにも回 路特性の設定ができる。これには、まずパタン生成回路 240で、テスト用信号パタン を生成させる。そして、ドライバ回路 220とレシーバ回路 120が接続されるようにスイツ チ 250を切り替える。 [0078] Furthermore, the circuit characteristics of the interface circuit 100 can be set, for example, during inspection before product shipment, before starting communication, or even when the interface circuit 100 and the host device 300 are not connected. To do this, first, the pattern generation circuit 240 generates a test signal pattern. Then, switch 250 is switched so that driver circuit 220 and receiver circuit 120 are connected.
[0079] これにより、インターフェース回路 100単独で回路特性の設定ができる。すなわち、 製品出荷前の検査の際に、高精度な ICテスタを用意しなくても回路特性の調整が行 なえる。また、歩留まりを落して高精度な製品だけを出荷したり、アナログ回路を構成 するトランジスタのサイズを大きくしたりする必要もない。それゆえ、本実施形態によれ ば、コストの増大を抑えつつ、安定して通信を行なえる。 [0079] Thereby, the circuit characteristics can be set for the interface circuit 100 alone. In other words, circuit characteristics can be adjusted during pre-shipment inspections without the need for a high-precision IC tester. In addition, there is no need to reduce yield to ship only high-precision products or to increase the size of transistors that make up analog circuits. Therefore, according to this embodiment, stable communication can be performed while suppressing an increase in cost.
[0080] なお、ノ^ティエラーを検出するのは、データが送信されるのに先立って回路特性 の設定を行なえる信号であればよい。したがって、上記で説明した SYNCに代えて、 例えば上記の ALIGNも使用できる。 [0080] Note that note errors may be detected using any signal that allows circuit characteristics to be set prior to data transmission. Therefore, instead of SYNC as described above, you can also use, for example, ALIGN as described above.
[0081] また、エラー検出のための時間や回路設定の変更のための時間に特に制限がない ような場合には、通信の開始から終了までに存在しうる全てのパタンを、パタン生成 回路 240によって送信するようにしてもよい。これにより、より高品質な通信が可能な 回路特性に設定できる。 [0081] In addition, in cases where there is no particular limit to the time for detecting an error or changing the circuit settings, the pattern generation circuit generates all patterns that may exist from the start to the end of communication. It may also be sent by This allows for higher quality communication Can be set to circuit characteristics.
[0082] また、上記の実施形態は、 USBインターフェースに適用してもよい。この場合には、 ノ リティエラーに代えてビットスタッフエラーを検出するようにすればよい。 [0082] Furthermore, the above embodiment may be applied to a USB interface. In this case, bit stuff errors can be detected instead of error errors.
[0083] また、上記で通信方式として説明した SerialATAや USBインターフェースは例示 であり、データに先立って、所定パタンの信号が送信される通信方式であれば適用 できる。 [0083] Furthermore, the SerialATA and USB interfaces described above as communication methods are examples, and any communication method in which a predetermined pattern of signals is transmitted prior to data can be applied.
産業上の利用可能性 Industrial applicability
[0084] 本発明に係るインターフェース回路は、通信エラーが実際に発生する前にアナログ 回路の電気的な特性を調整できるので、コストの増大を抑えつつ、安定して通信を行 なえるという効果を有し、コンピュータやコンピュータ周辺機器等に組み込まれてシリ アル通信を行なうインターフェース回路等として有用である。 [0084] Since the interface circuit according to the present invention can adjust the electrical characteristics of the analog circuit before a communication error actually occurs, it has the effect of stably communicating while suppressing an increase in cost. However, it is useful as an interface circuit for serial communication built into computers and computer peripherals.

Claims

請求の範囲 The scope of the claims
[1] データの送信に先立って所定パタンの信号が送信される通信方式で通信を行なう インターフェース回路であって、 [1] An interface circuit that performs communication using a communication method in which a predetermined pattern of signals is transmitted prior to data transmission,
受信した信号が入力されるアナログ回路と、 an analog circuit into which the received signal is input;
前記所定パタンの信号が前記アナログ回路を通過した際に発生するエラーを検出 するエラー検出回路と、 an error detection circuit that detects an error that occurs when the signal of the predetermined pattern passes through the analog circuit;
前記エラー検出回路で検出されるエラーが減少するように、前記アナログ回路の特 性を変更する回路特性設定部と、 a circuit characteristic setting unit that changes characteristics of the analog circuit so that errors detected by the error detection circuit are reduced;
を備えたことを特徴とするインターフェース回路。 An interface circuit characterized by comprising:
[2] 請求項 1のインターフェース回路であって、 [2] The interface circuit according to claim 1,
前記回路特性設定部は、前記エラー検出回路が検出したエラー数が、所定数を越 えた場合に、前記アナログ回路の特性を変更するように構成されて ヽることを特徴と するインターフェース回路。 The interface circuit is characterized in that the circuit characteristic setting section is configured to change the characteristics of the analog circuit when the number of errors detected by the error detection circuit exceeds a predetermined number.
[3] 請求項 1のインターフェース回路であって、 [3] The interface circuit of claim 1,
前記エラー検出回路は、ノ リティエラーを検出するように構成されていることを特徴 とするインターフェース回路。 The interface circuit is characterized in that the error detection circuit is configured to detect error errors.
[4] 請求項 1のインターフェース回路であって、 [4] The interface circuit according to claim 1,
前記通信方式は、ビットスタッフ方式であり、 The communication method is a bit stuff method,
前記エラー検出回路は、ビットスタッフエラーを検出するように構成されていることを 特徴とするインターフェース回路。 An interface circuit, wherein the error detection circuit is configured to detect a bit stuff error.
[5] 請求項 1のインターフェース回路であって、 [5] The interface circuit of claim 1,
前記所定パタンの信号は、通信が確立した後にも送信される信号であり、 前記エラー検出回路は、通信が確立した後にも、エラーを検出するように構成され て 、ることを特徴とするインターフェース回路。 The interface is characterized in that the signal of the predetermined pattern is a signal that is transmitted even after communication is established, and the error detection circuit is configured to detect an error even after communication is established. circuit.
[6] 請求項 1のインターフェース回路であって、 [6] The interface circuit of claim 1,
前記アナログ回路は、受信した信号を入力とする PLL回路を含んだものであり、 前記回路特性設定部は、前記 PLL回路の特性を変更するように構成されているこ とを特徴とするインターフェース回路。 The interface circuit is characterized in that the analog circuit includes a PLL circuit that inputs a received signal, and the circuit characteristic setting section is configured to change the characteristics of the PLL circuit. .
[7] 請求項 6のインターフェース回路であって、 [7] The interface circuit according to claim 6,
前記 PLL回路は、チャージポンプ、ローノ スフィルタ、および電圧制御発振器を含 んだものであり、 The PLL circuit includes a charge pump, a low-nos filter, and a voltage-controlled oscillator, and
前記回路特性設定部が変更する前記 PLL回路の特性は、前記チャージポンプの 電流量、前記ローパスフィルタのカットオフ周波数、および前記電圧制御発振器の発 振周波数のうちの少なくとも何れか 1つであることを特徴とするインターフェース回路。 The characteristic of the PLL circuit that is changed by the circuit characteristic setting section is at least one of the amount of current of the charge pump, the cutoff frequency of the low-pass filter, and the oscillation frequency of the voltage-controlled oscillator. An interface circuit featuring:
[8] 請求項 1のインターフェース回路であって、 [8] The interface circuit of claim 1,
前記アナログ回路は、受信した信号を増幅するレシーバ回路を含んだものであり、 前記回路特性設定部は、前記レシーバ回路の増幅率を変更するように構成されて The analog circuit includes a receiver circuit that amplifies a received signal, and the circuit characteristic setting section is configured to change an amplification factor of the receiver circuit.
V、ることを特徴とするインターフェース回路。 An interface circuit characterized by V.
[9] 請求項 1のインターフェース回路であって、 [9] The interface circuit according to claim 1,
前記アナログ回路は、受信した信号が入力される経路に、抵抗値を可変できる終 端抵抗素子を含んだものであり、 The analog circuit includes a terminating resistance element whose resistance value can be varied in a path through which the received signal is input,
前記回路特性設定部は、前記終端抵抗素子の抵抗値を変更するように構成されて The circuit characteristic setting section is configured to change the resistance value of the terminating resistance element.
V、ることを特徴とするインターフェース回路。 An interface circuit characterized by V.
[10] 請求項 1のインターフェース回路であって、 [10] The interface circuit of claim 1,
前記所定パタンの信号は、同期調整用の信号であることを特徴とするインターフエ ース回路。 An interface circuit characterized in that the signal of the predetermined pattern is a signal for synchronization adjustment.
[11] 請求項 1のインターフェース回路であって、 [11] The interface circuit of claim 1,
さらに、テスト用信号パタンを生成するパタン生成回路を備え、 Furthermore, it is equipped with a pattern generation circuit that generates test signal patterns.
前記アナログ回路は、受信した信号に代えて、前記パタン生成回路が生成したテス ト用信号パタンを切り替えて入力できるように構成されて 、ることを特徴とするインタ 一フェース回路。 The interface circuit is characterized in that the analog circuit is configured to be able to switch and input a test signal pattern generated by the pattern generation circuit instead of the received signal.
[12] 請求項 11のインターフェース回路であって、 [12] The interface circuit according to claim 11,
前記テスト用信号パタンは、通信方式の規格上定められている上限周波数の信号 パタン、ランダムな信号パタン、および同期調整用の信号と同じパタンのうちの少なく とも何れ力 1つであることを特徴とするインターフェース回路。 The test signal pattern is at least one of the following: a signal pattern with an upper limit frequency determined by a communication system standard, a random signal pattern, and a pattern the same as a signal for synchronization adjustment. interface circuit.
PCT/JP2006/321674 2005-12-05 2006-10-30 Interface circuit WO2007066456A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP2005350718 2005-12-05
JP2005-350718 2005-12-05

Publications (1)

Publication Number Publication Date
WO2007066456A1 true WO2007066456A1 (en) 2007-06-14

Family

ID=38122607

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2006/321674 WO2007066456A1 (en) 2005-12-05 2006-10-30 Interface circuit

Country Status (1)

Country Link
WO (1) WO2007066456A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009189016A (en) * 2008-02-05 2009-08-20 Sony Corp System and method for implementing digital phase-locked loop
JP2012178731A (en) * 2011-02-25 2012-09-13 Nec Corp Transmission system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1097495A (en) * 1996-09-20 1998-04-14 Canon Inc Data communication method and its device
JP2000196571A (en) * 1998-12-24 2000-07-14 Hitachi Ltd Phase adjustment system
JP2004328369A (en) * 2003-04-24 2004-11-18 Matsushita Electric Ind Co Ltd Test circuit of semiconductor integrated circuit and data transmission test system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH1097495A (en) * 1996-09-20 1998-04-14 Canon Inc Data communication method and its device
JP2000196571A (en) * 1998-12-24 2000-07-14 Hitachi Ltd Phase adjustment system
JP2004328369A (en) * 2003-04-24 2004-11-18 Matsushita Electric Ind Co Ltd Test circuit of semiconductor integrated circuit and data transmission test system

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2009189016A (en) * 2008-02-05 2009-08-20 Sony Corp System and method for implementing digital phase-locked loop
JP2012178731A (en) * 2011-02-25 2012-09-13 Nec Corp Transmission system

Similar Documents

Publication Publication Date Title
JP5930025B2 (en) USB isolator integrated circuit with USB 2.0 high speed mode and automatic speed detection
EP3830706B1 (en) Embedded universal serial bus 2 repeater
KR102035986B1 (en) Timing controller, and display system including the same
TWI696356B (en) Integrated circuit and anti-interference method thereof
US10002101B2 (en) Methods and apparatus for equalization of a high speed serial bus
TWI564725B (en) Transmission circuit for i/o interface and signal transmission method thereof
JP2011010244A (en) Device and method for detecting information
JP2022031983A (en) Transmission device, reception apparatus, and transceiver system
WO2007066456A1 (en) Interface circuit
US20170046302A1 (en) Method and associated interface circuit for mitigating interference due to signaling of a bus
US8650430B2 (en) Enabling a peripheral device to transmit a request for interrupt processing to a host when no clock signal is output from the host device
US7627800B2 (en) Communicating with error checking to a device capable of operating according to an address prefix serial bus protocol
US20140258584A1 (en) Bus relay apparatus, integrated circuit apparatus, cable, connector, electronic appliance, and bus relay method
US11901961B2 (en) Interface circuit, memory controller and method for calibrating signal processing devices in an interface circuit of a memory controller
JP2010287035A (en) Communication control method and interface device
TWI792732B (en) Interface circuit, memory controller and method for calibrating signal processing devices in an interface circuit
CN116762064A (en) Switching driver capable of switching between linear mode and limited mode
TWI338842B (en) Signal transfer systems and methods
JP6596901B2 (en) Data transfer control device and electronic device using the same
WO2022049907A1 (en) Sensor device, reception device, and transceiver system
TWI836958B (en) 100base-tx transceiver and 100base-tx transceiving method
TWI802335B (en) Interface circuit, memory controller and method for calibrating signal processing devices in an interface circuit of a memory controller
JP2008060768A (en) Terminating resistance adjustment method and terminating resistance adjustment circuit
US20120119789A1 (en) Peak Detector Extension System
JP2008236178A (en) Serial data receiving circuit

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application
NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 06812183

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: JP