Squelch and disconnect detector
11378600 · 2022-07-05
Assignee
Inventors
Cpc classification
H03H7/00
ELECTRICITY
Y02D10/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G01R31/66
PHYSICS
International classification
G01R19/165
PHYSICS
Abstract
A circuit is disclosed. The circuit includes an input port, an output port, a squelch detector and a disconnect detector. The squelch detector and the disconnect detector are enabled or disabled by a signal such that only one of the squelch detector and the disconnect detector is active at a given time. When the squelch detector is active, a threshold generator generates a squelch threshold for the squelch detector based on a squelch configuration data indicative of a predefined squelch threshold. When the disconnect detector is active, the threshold generator generates a disconnect threshold for the disconnect detector based on a disconnect configuration data indicative of a predefined disconnect threshold.
Claims
1. A circuit, comprising: an input port, an output port, a squelch detector and a disconnect detector, wherein the squelch detector and the disconnect detector are enabled or disabled by a signal such that only one of the squelch detector and the disconnect detector is active at a given time, wherein when the squelch detector is active, a threshold generator generates a squelch threshold for the squelch detector based on a squelch configuration data indicative of a predefined squelch threshold, wherein when the disconnect detector is active, the threshold generator generates a disconnect threshold for the disconnect detector based on a disconnect configuration data indicative of a predefined disconnect threshold, the circuit further including a RC network coupled with the input port, wherein the RC network includes a first resistor R1 and a first capacitor C.sub.1, a second resistor R.sub.2 and a second capacitor C.sub.2.
2. The circuit of claim 1, further including a mapping table to map the squelch configuration data and the disconnect configuration data and corresponding predefined thresholds.
3. The circuit of claim 1, wherein the second capacitor C.sub.2 is one or both of a physical capacitor and a parasitic capacitor.
4. The circuit of claim 1, wherein the RC network is configured such that R.sub.1*C.sub.1 is substantially equal to R.sub.2*C.sub.2.
5. The circuit of claim 1, wherein the threshold generator uses a digital to analog converter that is calibrated to output a predefined voltage reference signal based on the squelch configuration data and the disconnect configuration data.
6. A universal serial bus (USB) repeater or transceiver including the circuit according to claim 1.
7. A universal serial bus (USB) to embedded USB (eUSB) repeater including the circuit according to claim 1.
8. The circuit of claim 1, wherein the squelch detector is configured to detect a presence of an input signal at the input port and the squelch detector is active during data reception at a repeater.
9. The circuit of claim 1, wherein the disconnect detector is configured to detect a disconnection of a receiver and the disconnect detector is active during data transmission from a repeater.
10. A circuit, comprising: an input port, an output port, a squelch detector, a disconnect detector and an switchable RC network, wherein the squelch detector and the disconnect detector are enabled or disabled by a signal such that only one of the squelch detector and the disconnect detector is active at a given time, wherein when the disconnect detector is active, the switchable RC network is switched to provide a predefined ratio resistor divider between the input port and an output of the switchable RC network and when the squelch detector is active, the RC network is bypassed.
11. The circuit of claim 10, the switchable RC network is coupled with the input port, wherein the RC network includes a first resistor R.sub.1 and a first capacitor C.sub.1, a second resistor R.sub.2 and a second capacitor C.sub.2.
12. The circuit of claim 11, wherein the second capacitor C.sub.2 is one or both of a physical capacitor and a parasitic capacitor.
13. The circuit of claim 11, wherein the switchable RC network includes a first switch and a second switch.
14. The circuit of claim 13, wherein the first switch and the second switch are configured to connect or bypass the resistors R.sub.1, R.sub.2 and the capacitor C.sub.1.
15. The circuit of claim 14, wherein the first switch and the second switch are configured to bypass the resistors R.sub.1, R.sub.2 and the capacitor C.sub.1 when the disconnect detector is inactive and the squelch detector is active.
16. The circuit of claim 10, further including a comparator coupled with the input port and a fix reference voltage equal to a default squelch threshold, wherein the comparator uses the same fix reference voltage when the squelch detector is active and when the disconnect detector is active.
17. A universal serial bus (USB) repeater or transceiver including the circuit according to claim 10.
18. A universal serial bus (USB) to embedded USB (eUSB) repeater including the circuit according to claim 10.
19. The circuit of claim 10, wherein the squelch detector is configured to detect a presence of an input signal at the input port and the squelch detector is active during data reception at a repeater and the disconnect detector is configured to detect a disconnection of a receiver and the disconnect detector is active during data transmission from a repeater.
Description
BRIEF DESCRIPTION OF THE DRAWINGS
(1)
(2)
(3)
(4)
(5)
(6) Throughout the description, similar reference numbers may be used to identify similar elements.
DETAILED DESCRIPTION
(7) It will be readily understood that the components of the embodiments as generally described herein and illustrated in the appended Figs. could be arranged and designed in a wide variety of different configurations. Thus, the following more detailed description of various embodiments, as represented in the Figs., is not intended to limit the scope of the present disclosure, but is merely representative of various embodiments. While the various aspects of the embodiments are presented in drawings, the drawings are not necessarily drawn to scale unless specifically indicated.
(8) The present invention may be embodied in other specific forms without departing from its spirit or essential characteristics. The described embodiments are to be considered in all respects only as illustrative and not restrictive. The scope of the invention is, therefore, indicated by the appended claims rather than by this detailed description. All changes which come within the meaning and range of equivalency of the claims are to be embraced within their scope.
(9) Reference throughout this specification to features, advantages, or similar language does not imply that all of the features and advantages that may be realized with the present invention should be or are in any single embodiment of the invention. Rather, language referring to the features and advantages is understood to mean that a specific feature, advantage, or characteristic described in connection with an embodiment is included in at least one embodiment of the present invention. Thus, discussions of the features and advantages, and similar language, throughout this specification may, but do not necessarily, refer to the same embodiment.
(10) Furthermore, the described features, advantages, and characteristics of the invention may be combined in any suitable manner in one or more embodiments. One skilled in the relevant art will recognize, in light of the description herein, that the invention can be practiced without one or more of the specific features or advantages of a particular embodiment. In other instances, additional features and advantages may be recognized in certain embodiments that may not be present in all embodiments of the invention.
(11) Reference throughout this specification to “one embodiment”, “an embodiment”, or similar language means that a particular feature, structure, or characteristic described in connection with the indicated embodiment is included in at least one embodiment of the present invention. Thus, the phrases “in one embodiment”, “in an embodiment”, and similar language throughout this specification may, but do not necessarily, all refer to the same embodiment.
(12) Embodiments herein describe a squelch and disconnect detector for a bi-directional USB repeater. In some examples, the embodiments described herein may also be applicable to unidirectional USB repeaters. Some embodiments use programmable threshold to provide flexible design for different applications. In other examples, a switchable resistor divider may be used for changing the threshold without changing a reference voltage. The example circuits described herein requires less area on silicon compared to a typical squelch detector and a disconnect detector. Power saving is achieved by time multiplexing the two functions (squelch detection and disconnect disconnection) and combining input stage and biasing.
(13) eUSB and USB2 support different levels of signaling. Squelch detector is needed in USB2.0 systems to detect any activity on USB2.0 channels before enabling high-speed receivers. Squelch detector is used to indicate that data is invalid when the amplitude of the differential signal at the receiver's inputs falls below the squelch threshold. It should indicate squelch when the signal drops below 100 mV differential amplitude, and it must indicate that line is not in squelch state when the signal exceeds 150 mV differential amplitude.
(14) When USB2 to eUSB path and USB2 signal receiving is needed, USB2 SQD will be enabled. The repeater will be enabled after detection of incoming signal by USB2 SQD which needs to be detected in a few nanoseconds. At the same time, USB2 DCD may remain off. When the eUSB to USB2 path or USB2 transmission is enabled and signal is passing, USB2 DCD is enabled to detect any disconnect condition while USB2 SQD may be turned off. Disconnect needs to be detected in tens of nano-seconds. Disconnect detector is needed to detect the absence/disconnect/detach of peripheral device when high-speed channel is in active mode. Disconnect detector is required in downstream facing ports to detect the high-speed disconnect state on the line. Disconnection must be indicated when the amplitude of the differential signal at the downstream facing driver's connector is greater than or equal to 625 mV, and it must not be indicated when the signal amplitude is less than or equal to 525 mV. Both of the SDQ and DCD work at 480 Mbps (240 MHz) domain, but they have different detection threshold levels and response time. Normally, SQD has faster response time of 4 nanoseconds (for example) while DCD has a response time of less than 12 to 20 nanoseconds (for example).
(15)
(16)
(17)
(18)
(19) The SQD/DCD circuit 200 includes a enable port to receive the signal EN. The output port provides the output SQ_DC_Out. A threshold generator 224 may be included that is configured to generate a threshold according to the input settings. The threshold generator 224 may be implemented using a digital to analog converter that is calibrated to provide output amplitude based on the table 300. A LP port may be included to provide low power operations whenever slower response time can be tolerated. The SQD/DCD circuit 200 can function as a squelch detector (SQD) or as a disconnect detector (DCD) depending on the selected threshold voltage generated by the threshold generator 224. The comparator 230 may be configured to compare the differential voltage between the inputs In and Ip with Vref generated by the threshold generator 224.
(20) Briefly discussing
(21) Programmable threshold makes it universal design for combining squelch detector and disconnect detector into one block. As the blocks are used mutually exclusive, this strategy can be used without impacting any USB PHY system requirements. Squelch detector is used when USB2.0 PHY is used in the receive mode and Disconnect detector is used when USB2.0 PHY is in transmit mode. Turning back to
(22) In another example, the threshold is set by connecting or disconnecting the RC network at the input of the SQD/DCD 200. In some examples, if the threshold generator 224 is being used, the RC network may be excluded from the SQD/DCD 200. When the signal EN is high, the switch 204 and the switch 206 are on and the switches 208, 210 are off, thus R.sub.1, C.sub.1 and R.sub.2 (e.g., the RC network) are bypassed. The comparator 230 may be configured to compare the input signal with a reference voltage Vref (125 mV in one example where default threshold is being used in an application) to provide squelch detection.
(23) When the signal EN is low, the disconnect detector function is active and the resistor divider (with a ratio of R.sub.2/(R.sub.1+R.sub.2)=1/5) is connected to the input of the comparator 230 to downgrade the amplitude of the input signal to 1/5th so that the comparator 230 with the same Vref (for example, 125 mV) can be used for disconnection detection. Therefore, two comparators per input (or one comparator per input with a switchable Vref), one with 125 mV reference and another with 625 mV reference are not needed (by extension, two reference voltage circuits are not needed). In some examples, the RC network is used in conjunction with the programmable thresholds, as described above, to shape the input pulse as discussed in
(24) The control pin “LP” may be enabled during the disconnect detection mode to lower the current. The embodiments described herein may be used in USB2 repeater, eUSB2/USB2 repeater and/or USB2 host transceivers. Also any bi-directional repeater which needs to use SQD and DCD at the same node (e.g., bidirectional PCIe) may use the circuit 200 (or the circuit 120, in some embodiments).
(25) Although the operations of the method(s) herein are shown and described in a particular order, the order of the operations of each method may be altered so that certain operations may be performed in an inverse order or so that certain operations may be performed, at least in part, concurrently with other operations. In another embodiment, instructions or sub-operations of distinct operations may be implemented in an intermittent and/or alternating manner.
(26) It should also be noted that at least some of the operations for the methods described herein may be implemented using software instructions stored on a computer useable storage medium for execution by a computer. As an example, an embodiment of a computer program product includes a computer useable storage medium to store a computer readable program.
(27) The computer-useable or computer-readable storage medium can be an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system (or apparatus or device). Examples of non-transitory computer-useable and computer-readable storage media include a semiconductor or solid-state memory, magnetic tape, a removable computer diskette, a random access memory (RAM), a read-only memory (ROM), a rigid magnetic disk, and an optical disk. Current examples of optical disks include a compact disk with read only memory (CD-ROM), a compact disk with read/write (CD-R/W), and a digital video disk (DVD).
(28) Alternatively, embodiments of the invention may be implemented entirely in hardware or in an implementation containing both hardware and software elements. In embodiments that use software, the software may include but is not limited to firmware, resident software, microcode, etc.
(29) Although specific embodiments of the invention have been described and illustrated, the invention is not to be limited to the specific forms or arrangements of parts so described and illustrated. The scope of the invention is to be defined by the claims appended hereto and their equivalents.