USPatent applicationPatented

Transmitting circuit, receiving circuit, interface switching module and interface switching method for SATA and SAS interfaces

Granted 23 Nov 2010 · no office action yet

Life of the application

6 dated events
⤢ drag to zoom20062008201020122014201620182020202220242026ProsecutionOwnershipTerm & fees
ProsecutionOwnershipTerm & feeshover for detail · click to open

Abstract

A transmitter circuit, a receiver circuit and an interface switching module for SATA or SAS interface are provided. The invention uses transistors as elements with different impedance and also provides impedance modulating method in coordination with the exterior circuit and the layout design so as to develop an auto-switching mechanism between SATA and SAS interfaces, thereby integrating two transmission interfaces in a single system.

Description

7 parts
›This application claims the benefit of the filing…

This application claims the benefit of the filing date of Taiwan Application Ser. No. 094136259, filed on Oct. 18, 2005, the content of which is incorporated herein by reference.

›BACKGROUND OF THE INVENTION

1. Field of the Invention

The invention generally relates to a computer transmission interface, and more specifically to a transmitting circuit, a receiving circuit, a transceiver circuit, an interface switching module and an interface switching method for Serial Advanced Technology Attachment (SATA) and Serial Attached Small Computer System Interface (SAS).

2. Description of the Related Art

FIG. 1 is a circuit diagram of a transmitting circuit in accordance with the SATA and the SAS standards. FIG. 2 is a circuit diagram of a receiving circuit in accordance with the SATA and the SAS standards.

Referring to FIG. 1 and FIG. 2 , a transmitting circuit 100 , including a switch 110 and two variable resistors 101 , receives a transmitting data signal TXD to generate a first transmitting signal TXP and a second transmitting signal TXN. A receiving circuit 200 , including a differential amplifier 210 and two variable resistors 101 , receives a first receiving signal RXP and a second receiving signal RXN to generate a receiving data signal RXD. High-speed serial transmission interface specifications, such as SATA and SAS, define 50-ohm differential impedance elements 101 embedded in the transmitting circuit or the receiving circuit for impedance matching. Thus, when high-speed serial signals are transmitted via physical layer, even too much cyclic redundancy check (CRC) errors do not cause communication link failure. However, precision resistors are used as differential impedance elements in prior art but are not operable in impedance modulation.

Traditionally, a host or a device having same or different transmission interfaces uses a plurality of bridges for data transmission. A minimum of three transceivers is required for a bridge with a switching mechanism among a plurality of high-speed serial signals under the current SATA and SAS architecture, which is complex and high-cost in hardware design. If a plurality of transmission interfaces can be integrated in a single unit, it will significantly meet the convenience in use and reduce use cost.

›SUMMARY OF THE INVENTION

In view of the above-mentioned problems, an object of the invention is to provide an interface switching module, by means of impedance modulation, for a system with a plurality of same or different transmission interfaces.

To achieve the above-mentioned object, the interface switching module, for a system with two serial transmission interfaces, comprises a first interface connector, a second interface connector and a transceiver circuit.

The first interface connector has a first transmitting signal pin, a second transmitting signal pin, a first receiving signal pin, a second receiving signal pin and a plurality of ground pins. All the ground pins are connected to the ground terminal of the system. A second interface connector has the same four signal pins as those of the first interface connector and a plurality of ground pins. At least one among the plurality of ground pins is floated. The four signal pins of the first interface connector are connected to the corresponding four signal pins of the second interface connector. At least one among the plurality of ground pins of the second interface connector is electrically connected to the plurality of ground pins of the first interface connector. According to the potential of the floated ground pin of the second interface connector, the transceiver circuit identifies whether there is a signal input from the second interface connector or not. When there is a signal input from the second interface connector, the transceiver circuit modulates the matching impedance of itself to a high impedance value, and thereby signals from the second interface connector outputs via the first interface connector. Contrarily, when there is no signal input from the second interface connector, the transceiver circuit modulates the matching impedance of itself to a predetermined impedance value, and thereby signals from the transceiver circuit output via the first interface connector.

Another object of the invention is to provide an interface switching method for a system having an interface switching module that switches between a first serial transmission interface and a second serial transmission interface. The interface switching method comprises: connecting the system with a first device having the first serial transmission interface; determining whether a second device having the second serial transmission interface is connected to the system; if the second device is connected to the system, disconnecting the system from the first device by using an impedance modulating method, and then returning to the step of determining; and if the second device is not connected to the system, connecting the system with the first device by using the impedance modulating method, and then returning to the step of determining.

A unique feature of the invention is that transistors are substituted for precision resistors as differential impedance elements embedded in the transmitting or receiving circuit of the physical layer transceiver. Also, by using the impedance modulating method, the invention not only has the same effect as precision resistors do, but also performs a switching function among high-speed serial signal flows, thereby developing a switching mechanism of a plurality of transmission interfaces.

›BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 is a circuit diagram of a transmitting circuit in accordance with the SATA and the SAS standards.

FIG. 2 is a circuit diagram of a receiving circuit in accordance with the SATA and the SAS standards.

FIG. 3A is a circuit diagram of a transmitting circuit according to the invention.

FIG. 3B is a circuit diagram of a transmitting circuit according to the first embodiment of the invention.

FIG. 3C is a circuit diagram of a transmitting circuit according to the second embodiment of the invention.

FIG. 3D is a circuit diagram of a transmitting circuit according to the third embodiment of the invention.

FIG. 4A is a circuit diagram of a receiving circuit according to the invention.

FIG. 4B is a circuit diagram of a receiving circuit according to the first embodiment of the invention.

FIG. 4C is a circuit diagram of a receiving circuit according to the second embodiment of the invention.

FIG. 4D is a circuit diagram of a receiving circuit according to the third embodiment of the invention.

FIG. 5 is a circuit diagram of a transceiver circuit with a switching function according to the invention.

FIG. 6A is a circuit diagram of a device with an interface switching module according to an embodiment of the invention.

FIG. 6B shows the relationship and signal flows among device A with an interface switching module, device B and terminal equipment.

FIG. 6C is a flow chart illustrating the interface switching method used in the interface switching module.

›DETAILED DESCRIPTION OF THE INVENTION · 1 of 3

The transmitting circuit, the receiving circuit, the transceiver circuit, the interface switching module and method of the invention will be described with reference to the accompanying drawings.

FIG. 3A is a circuit diagram of a transmitting circuit according to the invention. Referring to FIG. 3A , the transmitting circuit 300 , applied to the SATA and SAS interfaces, comprises two resistor units 322 , 332 , two switch units 321 , 331 , an auto-detection circuit 310 and a current source 341 .

According to the potential of an external reference signal, the auto-detection circuit 310 disables or enables a control signal in order to control or modulate the equivalent impedance of resistor units 322 , 332 , thereby controlling the transmission of data signals. Resistor units 322 , 332 are in the control of the control signal. When the control signal is enabled, the equivalent impedances of resistor units 322 , 332 are modulated to a predetermined impedance value (for example: 50 ohm). On the other hand, when the control signal is disabled, the equivalent impedances of resistor units 322 , 332 are modulated to a high impedance value. The input terminals of resistor units 322 , 332 are connected to a voltage source VCC, and the output terminals of resistor units 322 , 332 are connected to switch units 321 , 331 respectively. Switch units 321 , 331 respectively receive a transmitting data signal TXD and a reversed transmitting data signal /TXD. While the equivalent impedances of resistor units 322 , 332 are modulated to a predetermined impedance (Hi-Z) value, switch units 321 , 331 control the current flow directions of a first transmitting signal TXP and a second transmitting signal TXN. That is, the current flow first goes out along the direction of the second transmitting signal TXN and then comes in the reverse direction of the first transmitting signal TXP. While the equivalent impedances of resistor units 322 , 332 are modulated to a high impedance value, the first transmitting signal TXP and the second transmitting signal TXN are at high impedance state, and therefore no signal is output.

FIG. 3B is a circuit diagram of a transmitting circuit according to the first embodiment of the invention. Referring to FIG. 3B , the transmitting circuit 360 comprises two enhancement PMOS transistors 322 a , 332 a , two enhancement NMOS transistors 321 a , 331 a , an auto-detection circuit 310 and a current source 341 . In this embodiment, the resistor unit 322 ( 332 ) in FIG. 3A is implemented by using an enhancement PMOS transistor 322 a ( 332 a ). While working in the ohmic region, the enhancement PMOS transistor acts as a voltage variable resistor based on its own characteristic. According to the transistor specification, the invention modulates the equivalent impedance of the enhancement PMOS transistor to 50 ohm. While working in the cut-off region, the enhancement PMOS transistor acts as a turn-off switch (at a high impedance state). Furthermore, the resistor unit 321 ( 331 ) in FIG. 3A is implemented by using an enhancement NMOS transistor 321 a ( 331 a ) in this embodiment. Thus, the impedance match is achieved through the equivalent impedances of the enhancement PMOS transistors equal to 50 ohm, and therefore the enhancement NMOS transistors 321 a , 331 a can respectively receive the transmitting data signal TXD and the reversed transmitting data signal /TXD to generate the first transmitting signal TXP and the second transmitting signal TXN. When transistors 322 a , 332 a work in the cut-off region, the first transmitting signal TXP and the second transmitting signal TXN are at high impedance state, and thus no signal is output.

FIG. 3C is a circuit diagram of a transmitting circuit according to the second embodiment of the invention. Referring to FIG. 3C , the transmitting circuit 370 is quite similar to the transmitting circuit 360 , except for having two 50-ohm resistors 322 b , 332 b . In this embodiment, the resistor unit 322 ( 332 ) is implemented by using a 50-ohm resistor 322 b ( 332 b ) cascaded an enhancement PMOS transistor 322 a ( 332 a ) as shown in FIG. 3C . For this situation, the enhancement PMOS transistor 322 a ( 332 a ) is configured as a switch. Due to the small impedance of transistor 322 a ( 332 a ), the 50-ohm impedance for impedance matching is entirely provided by resistors 322 b ( 332 b ). Since the operations of the other devices included in the transmitting circuit 370 are illustrated above, the description is omitted here.

FIG. 3D is a circuit diagram of a transmitting circuit according to the third embodiment of the invention. Referring to FIG. 3D , the transmitting circuit 380 is similar to the transmitting circuit 370 . With the resistor 322 b ( 332 b ) and the enhancement PMOS transistor 322 a ( 332 a ) having been exchanged with each other in the position, the transmitting circuit 380 performs the same operations as the transmitting circuit 370 does.

FIG. 4A is a circuit diagram of a receiving circuit according to the invention. Referring to FIG. 4A , the receiving circuit 400 , applied to the SATA and SAS interfaces, comprises two resistor units 322 , 332 , two receiving units 421 , 431 , an auto-detection circuit 310 , a differential amplifier 210 and two current sources 441 , 442 .

The input terminals of the resistor units 322 , 332 respectively receive a first receiving signal RXP and a second receiving signal RXN, and are simultaneously controlled by the control signal output from the auto-detection circuit 310 . When the control signal is enabled, the equivalent impedance of the resistor unit 322 ( 332 ) is modulated to a predetermined impedance value (for example, 50 ohm). On the other hand, the equivalent impedance of the resistor unit 322 ( 332 ) is modulated to a high impedance value while the control signal is disabled. While the output terminals of the receiving units 421 , 431 are grounded, the input terminals 443 , 444 are respectively connected to the current source 441 , 442 and the input terminals 445 , 446 receive the first receiving signal RXP and the second receiving signal RXN, so that the input terminals 443 , 444 respectively generate a differential signal DR 1 and a differential signal DR 2 . After receiving the differential signal DR 1 and the differential signal DR 2 , the differential amplifier 210 amplifies the difference of two signals DR 1 , DR 2 and then generates the receiving data signal RXD. As mentioned above, the auto-detection circuit 310 enables or disables the control signal to control or modulate two resistor units 322 , 332 for impedance matching according to the potential of the external reference signal, thereby controlling the data signal transmission.

›DETAILED DESCRIPTION OF THE INVENTION · 2 of 3

FIG. 4B is a circuit diagram of a receiving circuit according to the first embodiment of the invention. Referring to FIG. 4B , the receiving circuit 460 comprises two enhancement NMOS transistors 322 c , 332 c , two enhancement PMOS transistors 421 a , 431 a , an auto-detection circuit 310 , a differential amplifier 210 and two current sources 441 , 442 . In this embodiment, the resistor unit 322 ( 332 ) and the receiving unit 421 ( 431 ) in FIG. 4A are respectively implemented by using an enhancement NMOS transistor 322 c ( 332 c ) and an enhancement PMOS transistor 421 a ( 431 a ). The control signal is disabled or enabled by the auto-detection circuit 310 , and then is used to modulate the equivalent impedance of the transistor 322 c ( 332 c ) to 50 ohm for establishing data signal transmission or a high impedance value for terminating data signal transmission. If the control signal is disabled, the equivalent impedances of the transistors 322 c , 332 c are modulated to high impedance values such that the first receiving signal RXP and the second receiving signal RXN are incapable of passing through NMOS transistors 322 c , 332 c , and PMOS transistors 421 a , 431 a cannot be turned on. Contrarily, the equivalent impedances of the resistor units 322 c , 332 c are modulated to a predetermined impedance value if the control signal is enabled. Consequently, the first receiving signal RXP and the second receiving signal RXN not only pass through NMOS transistors 322 c , 332 c , but also pull down the potentials of the input terminals 445 , 446 , so that PMOS transistors 421 a , 431 a are switched on and then the differential signal DR 1 and the differential signal DR 2 are correspondingly generated.

FIG. 4C is a circuit diagram of a receiving circuit according to the second embodiment of the invention. Referring to FIG. 4C , the receiving circuit 470 is quite similar to the receiving circuit 460 , except for having two 50-ohm resistors 322 b , 332 b . In this embodiment, the resistor unit 322 ( 332 ) is implemented by using a 50-ohm resistor 322 b ( 332 b ) cascaded an enhancement NMOS transistor 322 c ( 332 c ) as shown in FIG. 4C . For this situation, the enhancement NMOS transistor 322 c ( 332 c ) acts like a switch and has a very small impedance. Thus, the 50-ohm impedance value for impedance matching is entirely provided by resistors 322 b ( 332 b ). Since the other devices included in the receiving circuit 470 are illustrated above, the description of the operations is omitted here.

FIG. 4D is a circuit diagram of a receiving circuit according to the third embodiment of the invention. Referring to FIG. 4D , the receiving circuit 480 is similar to the receiving circuit 470 . With the resistor 322 b ( 332 b ) and the enhancement NMOS transistor 322 c ( 332 c ) having been exchanged with each other in the position, the operation of the receiving circuit 480 is also similar to that of the receiving circuit 470 .

In practice, only one auto-detection circuit 310 is required to simultaneously control the start-up and shut-down of the transmitting and the receiving circuits. FIG. 5 is a circuit diagram of a transceiver circuit with switching function according to the invention. Referring to FIG. 5 , the transceiver circuit 500 comprises an auto-detection circuit 310 , two resistor units 322 , two resistor units 332 , two receiving units 421 , 431 , two switch units 321 , 331 , a differential amplifier 210 and three current sources 341 , 441 , 442 . The operation of the transceiver circuit 500 is the same as that of the transmitting circuit 300 and that of the receiving circuit 400 . The transceiver circuit 500 combines the two circuits 300 , 400 which is controlled by a single auto-detection circuit 310 .

Summarily, the invention uses transistors as differential impedance elements in the physical layer transceiver, and also uses the auto-detection circuit 310 for modulating the equivalent impedance of the transistors to a predetermined value (50 ohm) or high impedance values, thereby setting the enable/disable state of the connection. When the equivalent impedances of the transistors are modulated to a predetermined value, the impedance matching is constituted and then data transmission is under way. When the equivalent impedances of the transistors are modulated to be high impedance values, the connection between terminal equipment and the system is terminated. This is hereinafter called impedance modulating method.

Accordingly, the invention covers the group consisting of serial signal interfaces, such as serial ATA (SATA), serial attached small computer system interface (SAS), high definition multimedia interface (HDMI), peripheral controller interface express (PCI-EXP), and low voltage differential signal (LVDS). By incorporating the above-mentioned impedance modulating method with the exterior circuitry and layout design, the invention is applicable to a system with two or more serial transmission interfaces, and thereby develops a switching mechanism among a plurality of different serial signal transmission interfaces. The switching mechanism among a plurality of different serial signal transmission interfaces will be hereinafter detailed.

FIG. 6A is a circuit diagram of a device with an interface switching module according to an embodiment of the invention. Referring to FIG. 6A , the interface switching module 630 is applied to (or embedded in) a device 600 with two different serial signal transmission interfaces. The device 600 comprises components, such as a microprocessor 605 , a random access memory (not shown) or a read only memory (not shown), to execute other operations or functions. The interface switching module 630 comprises a SATA connector 610 , a E-SATA connector 620 and a transceiver circuit 500 . In this embodiment, the transceiver circuit 500 and the microprocessor 605 are integrated into a single chip 606 , and also integrated with the SATA connector 610 and the E-SATA connector 620 into a printed circuit board (PCB).

›DETAILED DESCRIPTION OF THE INVENTION · 3 of 3

Due to transferring the same signals, both the SATA connector 610 and the E-SATA connector 620 have the same signal pins transferring the first transmitting signal TXP, the second transmitting signal TXN, the first receiving signal RXP and the second receiving signal RXN, and both also have three ground signals GND (not shown). The three ground signal pins of the SATA connector 610 are connected to the ground terminal of the device or the PCB. One side of the SATA connector 610 is connected to a SATA bus, and the other side is a socket capable of receiving the plug-in of the cable 641 being connected to the SATA device 640 . The E-SATA connector 620 is also connected to the SATA bus, but one of the three ground pins is floated with the other ground pins being connected to the three ground pins of the SATA connector 610 . Four signal pins TXP, TXN, RXP, RXN of the SATA bus are connected to the corresponding pins of the transceiver circuit 500 . The floated ground pin of the E-SATA connector 620 is connected to the auto-detection circuit 310 and regarded as the reference signal for impedance modulation. One side of the E-SATA connector 620 is a socket, which is capable of receiving the plug-in of the cable 651 being connected to the E-SATA device 650 . Once the plug of the cable 651 being connected to the E-SATA device 650 is plugged into the E-SATA connector 620 , the potential of the floated ground pin of the E-SATA connector 620 is then pulled down to zero owing to the three ground pins of the cable 651 being all connected to ground. At this moment, the auto-detection circuit 310 detects the zero-voltage potential of the reference signal and then modulates the input and the output terminals of the transceiver circuit 500 to a high impedance state, thus allowing the transmission between the SATA device 640 and the E-SATA device 650 .

The above-mentioned description of the switching mechanism between E-SATA and SATA interfaces is only an embodiment. In applications, the invention can be extended to general serial signal transmission interfaces, such as SAS, HDMI, PCI-EXP, LVDS . . . etc. For simplicity, hereinafter, device 600 , E-SATA device 650 and SATA device 640 in FIG. 6A are renamed device A 660 , device B 670 and terminal equipment 680 in FIGS. 6B , 6 C.

FIG. 6B shows the relationship and signal flows among device A 660 with an interface switching module, device B 670 and terminal equipment 680 . FIG. 6C is a flow chart illustrating the interface switching method used in the interface switching module.

Referring to FIGS. 6B , 6 C, initially, in step S 661 , the device A 660 is connected to the terminal equipment 680 via the serial signal bus, and data exchange is performed between the device A 660 and the terminal equipment 680 . Then, in step S 662 , the auto-detection circuit 310 determines whether the device B 670 is plugged into the E-SATA connector 620 or not. The control circuit, shown in FIG. 6B , represents the reference signal as the floated ground pin of the E-SATA connector 620 in FIG. 6A . According to the potential of the reference signal, the auto-detection circuit 310 determines whether the device B 670 is plugged in or not. If the potential of the reference signal is equal to zero, it represents that the device B 670 has been plugged into the E-SATA connector 620 . In step S 663 , the auto-detection circuit 310 immediately modulates the equivalent impedance of resistor units 322 , 332 to high impedance (Hi-Z) values (the impedance matching method). Thus, the connection between the device A 660 and the terminal equipment 680 is terminated so as to allow the data exchange between the device B 670 and the terminal equipment 680 . Afterward, in step S 664 , the auto-detection circuit 310 continuously monitors the connection status of the device B 670 and the flow returns to step S 662 . In step 662 , if the potential of the reference signal is equal to 1, it means that the plug of the device B 670 has been removed from the E-SATA connector 620 . In step S 665 , the auto-detection circuit 310 immediately modulates the equivalent impedance of resistor units 322 , 332 to a standard impedance value (the impedance matching method) to establish the connection between the device A 660 and the terminal equipment 680 . Lastly, in step 666 , the data transmission between the device A 660 and the terminal equipment 680 is performed. In step S 664 , the auto-detection circuit 310 continuously monitors the connection status of the device B 670 and the flow returns to step S 662 .

According to the invention, the feature of the interface switching module 630 is sharing a serial signal data bus. Accordingly, while the device B 670 exists, the device A with the interface switching module 630 breaks up the connection with the terminal equipment 680 . While the device B 670 doesn't existed, the device A with the interface switching module 630 establishes the connection with the terminal equipment 680 to avoid the serial signal bus conflict.

Based on cost, design simplicity and convenience, IC designers achieve the same effect as prior art does by using the impedance modulating method. The invention not only saves time and cost of research and development, but also solves the noise and timing delay problems upon internal high speed switching. With a plurality of transmission interfaces having been integrated in a single unit, all the system designers have to do is simply think up the hardware layout, thus significantly reducing product cost.

While certain exemplary embodiments have been described and shown in the accompanying drawings, it is to be understood that such embodiments are merely illustrative of and not restrictive on the broad invention, and that this invention should not be limited to the specific construction and arrangement shown and described, since various other modifications may occur to those ordinarily skilled in the art.

1 of 7 part labels are ours — the grant heads the rest

Claims as granted

24 claims

Log in to read the claims of this application.

Log in to unlock

Classifications

7 codes
IPC · International Patent Classification
Section H — Electricity
  • H04B1/02
USPC · US Patent Classification
455/107455/83455/78455/248.1375/219370/356

Claim changes

Soon
Coming soonHow the claims changed between publication and grant

See which claims were amended, added or cancelled during examination, with every added and removed word marked.

AmendedAddedCancelledUnchanged

The published claims of this application are not paired with the granted ones in what we hold.

File wrapper

⤢ drag to zoomJan 2007Jul 2007Jan 2008Jul 2008Jan 2009Jul 2009Jan 2010Jul 2010Jan 2011USPTOApplicantNotice of allowance
USPTOApplicanthover for detail · click to open
Pendency
4.1 y
1,502 days filing → grant
Office actions
0
none on record
Examiner
Minh D Dao
art unit 2618 · TC 2600
Citations: 28 back · 0 forward

See the full prosecution history — every USPTO and applicant action on this file, in order.

Log in to unlock

Documents

Log in to open the documents of this file: the application as filed, every office action and response, the notice of allowance.

Log in to unlock

Chain of title

⤢ drag to zoom20062008201020122014201620182020202220242026Owner 1
Titlehover for detail · click to open

See the full assignment history — every owner this patent has passed through, with recordation dates and reel/frame numbers.

Log in to unlock