Compensating for DC Losses in USB 2.0 High-Speed ​​Applications

By injecting current during the non-transition period of the USB 2.0 system, the signal problem caused by DC loss in the USB 2.0 system is solved, signal integrity and power efficiency are achieved, and USB On-The-Go and embedded host supplementation are supported, solving Interference and compatibility issues with existing hubs.

CN111801660BActive Publication Date: 2024-10-18TEXAS INSTRUMENTS INC
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN201980016418.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-01-11
Publication Date
2024-10-18
Estimated Expiration
2039-01-11

AI Technical Summary

Technical Problem

Add-on components introduced in USB 2.0 systems cause DC losses that prevent signals from passing eye diagram compliance testing, and existing hubs are disruptive, power-hungry, complex, and unable to support USB On-The-Go and embedded host additions.

Method used

By injecting current during the non-transition period of the USB 2.0 system to increase the DC level of the signal, using the transition detection mechanism to detect the start and stop of the data transition period, providing a direction-agnostic current boost system, supporting USB On-The-Go and embedded Host add-on.

Benefits of technology

It achieves signal integrity and power efficiency of signals in the USB 2.0 system, easy-to-implement DC loss compensation, adapts to a wide range of USB 2.0 system applications, and is compatible with USB On-The-Go and embedded host supplements of the USB2.0 specification.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN111801660B_ABST
    Figure CN111801660B_ABST
Patent Text Reader

Abstract

In at least one example, the current source (232) is coupled to a channel input of the switch (234), and the output of the switch (234) is coupled to a positive data line (140) or a negative data line (150) in the USB 2.0 communication system (200). In addition, a first input of the voltage threshold comparator (201) is coupled to the negative data line (150), a second input of the voltage threshold comparator (201) is coupled to the positive data line (140), and an output of the voltage threshold comparator (201) is coupled to a control input of the switch (234).
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates generally to compensating for direct current ("DC") losses, and more particularly to compensating for DC losses in USB 2.0 systems. Background Art

[0002] Many modern applications, such as vehicle infotainment systems, use USB 2.0 data transmission. In addition, these USB 2.0 systems have become increasingly complex, especially with the introduction of additional components (e.g., USB cables, PCB traces, signal switches, etc.) into USB 2.0 systems. However, the introduction of these additional components results in direct current (“DC”) losses in data transmission and reduced eye height because these components introduce additional resistance into the data path. In some cases, DC losses can cause signals to fail USB 2.0 eye diagram compliance testing.

[0003] Conventionally, USB 2.0 hubs attempt to alleviate this problem by repeating signals between USB 2.0 hosts and devices. However, these USB 2.0 hubs are disruptive when the hub disconnects the transmission line, require a lot of power, and must understand and repeat the signal. In addition, because USB 2.0 hubs are unidirectional, they may not fully support the USB On-The-Go and Embedded Host Supplement of the USB 2.0 specification, which provides the function of the host and device swapping roles. Summary of the invention

[0004] Example embodiments use a transition detection mechanism to detect the start-stop of a data transition period. During the non-transition period, current is injected into the "high" level signal to increase the DC level of the "high" signal. This will help USB 2.0 systems that cannot pass the system eye diagram compliance test due to shrinking eye height.

[0005] Example embodiments may have several technical advantages. Technical advantages of the DC loss compensation circuit may include ease of implementation, inherent power efficiency, and a direction-agnostic current boost system. In addition, the DC loss compensation circuit may help maintain the signal integrity of signals communicated between two components in a USB 2.0 system. In addition, the DC loss compensation circuit provides flexibility in parameter adjustment to accommodate a wide range of USB 2.0 system applications. Also, the DC loss compensation circuit may be compatible with the USB On-The-Go and Embedded Host Supplements of the USB 2.0 specification. BRIEF DESCRIPTION OF THE DRAWINGS

[0006] Figure 1An example USB 2.0 system including a direct current (“DC”) loss compensation circuit 130 is shown.

[0007] Figure 2 is an example circuit diagram of a DC loss compensation circuit having a positive data line and a negative data line.

[0008] Figure 3 is an example signal diagram for injecting current in the positive data line or the negative data line through the DC loss compensation circuit.

[0009] Figure 4 An example method of injecting current in a positive data line or a negative data line through a DC loss compensation circuit is shown. DETAILED DESCRIPTION

[0010] In this specification and the accompanying drawings, similar reference numerals represent similar elements. In addition, the steps shown in the accompanying drawings may be performed in a different order than the described order, and one or more steps described herein may be optional. In addition, one or more components shown in the accompanying drawings may be positioned in a different position than the described arrangement, and one or more components shown may be optional.

[0011] Existing USB 2.0 hubs can have issues. For example, USB 2.0 hubs are disruptive when the hub disconnects the transmission line. For another example, USB 2.0 hubs require a lot of power to operate. Also, USB 2.0 hubs are complex, requiring the hub to understand and repeat signals. For another example, USB 2.0 hubs are unidirectional and cannot support the USB On-The-Go and Embedded Host Supplements of the USB 2.0 specification.

[0012] On the other hand, a DC loss compensation circuit helps correct the DC loss occurring on the transmission line by boosting the signal in both directions of the USB 2.0 system. The DC loss compensation circuit detects the start and stop of the data transition period and injects current during the non-transition period to increase the DC level of the signal. In particular, a current source is coupled to a positive data line or a negative data line in the USB 2.0 communication system through a switch. In addition, a first input of a voltage threshold comparator is coupled to the negative data line, a second input of the voltage threshold comparator is coupled to the positive data line, and an output of the voltage threshold comparator is coupled to a control input of the switch.

[0013] Figure 1An example USB 2.0 system 100 is shown that includes a direct current (“DC”) loss compensation circuit 130. The USB 2.0 system 100 may include a USB 2.0 host 110, a USB 2.0 device 120, and the DC loss compensation circuit 130. A positive data line (“DP”) 140 and a negative data line (“DM”) 150 may carry signal-based current between the USB 2.0 host 110 and the USB 2.0 device 120.

[0014] USB 2.0 host 110 is a device compliant with the USB 2.0 specification that can initiate all communications on DP 140 and DM 150. Example USB 2.0 host 110 may include a personal computer, tablet computer, smartphone, or any other component / device that can initiate communications according to the USB 2.0 specification.

[0015] The USB 2.0 device 120 is a device that complies with the USB 2.0 specification and can interact with the USB 2.0 host 110 using the DP 140 and / or the DM 150. Example USB 2.0 devices 120 may include a USB thumb drive, an external hard drive, a USB Wi-Fi adapter, and any other component / device that can communicate with the USB 2.0 host 110. In some embodiments, the USB 2.0 system 100 may include multiple USB 2.0 devices 120 that can communicate with the USB 2.0 host 110 through the DP 140 and the DM 150.

[0016] The DC loss compensation circuit 130 is a circuit that supplies current to the DP 140 or DM 150 during a non-transition period of communication between the USB 2.0 host 110 and the USB 2.0 device 120. When supplying current to the DP 140 and / or DM 150, the DC loss compensation circuit 130 can be direction agnostic. In the case of direction agnostic, the DC loss compensation circuit 130 can also support USB On-The-Go and Embedded Host Supplements of the USB 2.0 specification that allow the USB 2.0 host 110 and the USB 2.0 device 120 to interchange roles. In some embodiments, the USB 2.0 system 100 can include a plurality of DC loss compensation circuits 130. In addition, since the DC loss compensation circuit 130 does not need to disconnect the transmission lines DP 140 and DM 150, the DC loss compensation circuit 130 can be easily incorporated into an existing USB 2.0 system design.

[0017] DP 140 is a communication line running between a positive data terminal in USB 2.0 host 110 and a positive data terminal in USB 2.0 device 120. DP 140 combines with DM 150 to form a differential pair that carries data transmission between USB 2.0 host 110 and USB 2.0 device 120. Therefore, the signal transmitted through DP 140 is complementary to the signal transmitted through DM 150. Resistive components in DP 140 (e.g., USB cable, PCB traces, signal switches) may generate DC losses in data transmission, resulting in a reduction in the eye height in the eye diagram. The reduction in eye height may cause the USB 2.0 system to fail the eye diagram compliance test.

[0018] DM 150 is a communication line running between a negative data terminal in USB 2.0 host 110 and a negative data terminal in USB 2.0 device 120. DM 150 forms a differential pair in conjunction with DP 140, which carries data transmission between USB 2.0 host 110 and USB 2.0 device 120. Therefore, the signal transmitted through DM 150 is complementary to the signal transmitted through DP 140. Resistive components in DM 150 (e.g., USB cable, PCB trace, signal switch) may generate DC loss in data transmission, resulting in a reduction in the eye height in the eye diagram.

[0019] In an example embodiment, the DC loss compensation loss circuit 130 detects a non-transition period in the USB 2.0 signal passing through the DP 140 and the DM 150. Specifically, the DC loss compensation circuit 130 may detect a rising edge of the signal on the DP 140 and the DM 150 and a falling edge of the signal. In response to detecting the non-transition period, the DC loss compensation circuit 130 may inject a current into the DP 140 or the DM 150. Specifically, the DC loss compensation circuit 130 may inject a current into the DP 140 between detecting a rising edge of the signal on the DP 140 and detecting a falling edge of the signal on the DP 140. As another example, the DC loss compensation circuit 130 may inject a current into the DM 150 between detecting a rising edge of the signal on the DM 150 and detecting a falling edge of the signal on the DM 150.

[0020] In some embodiments, the DC loss compensation circuit 130 does not inject current during the transition period, but rather grounds any potential output current. The current level during the transition period is generally not affected by the addition of resistive components. In addition, to maintain signal integrity during the transition period, the DC loss compensation circuit 130 can display a high impedance, thereby allowing minimal or no current to enter the DC loss compensation circuit 130.

[0021] Figure 22 is an example circuit diagram 200 of the DC loss compensation circuit 130 having the DP 140 and the DM 150. The circuit diagram 200 may include the DP 140, the DM 150, and the DC loss compensation circuit 130. The DC loss compensation circuit 130 may include a first voltage threshold comparator 201 (including a first comparator 202 having a first voltage threshold source 204), a second voltage threshold comparator 205 (including a second comparator 206 having a second voltage threshold source 208), a third voltage threshold comparator 209 (including a third comparator 210 having a third voltage threshold source 212), a fourth voltage threshold comparator 213 (including a fourth comparator 214 having a fourth voltage threshold source 216), a first buffer 218, a second buffer 220, a third buffer 222, a fourth buffer 224, a first NOR gate 226, a second NOR gate 228, a third NOR gate 230, a current source 232, a first switch 234, a second switch 236, a third switch 238 and a load resistor 240.

[0022] The first voltage threshold comparator 201 may be any type of component and / or circuit that determines whether the signal voltage at the DM 150 with the additional threshold voltage is greater than and / or equal to the signal voltage at the DP 140. By detecting a sufficiently large difference between the DM 150 and the DP 140 (i.e., a voltage difference that is equal to or higher than the threshold), the first voltage threshold comparator 201 may be able to detect a rising edge of the signal on the DP 140. If the signal voltage at the DM 150 with the additional threshold voltage is greater than and / or equal to the signal voltage at the DP 140, the first voltage threshold comparator 201 outputs a HIGH signal. Alternatively, if the signal voltage at the DM 150 with the additional threshold voltage is not greater than and / or equal to the signal voltage at the DP 140, the first voltage threshold comparator 201 outputs a LOW signal.

[0023] In the illustrated embodiment, a first input (ie, non-inverting input) of the first comparator 202 is coupled to the DM 150 through a first voltage threshold source 204, and a second input (ie, inverting input) of the first comparator 202 is coupled to the DP 140. In a specific embodiment, the first comparator 202 is an operational amplifier.

[0024] The first voltage threshold source 204 may be any type of component and / or circuit that introduces a voltage to the input of the first comparator 202. The first voltage threshold source 204 may introduce a voltage so that the first comparator 202 can compare the signal voltage at the DP 140 with the signal voltage at the DM 150 with an additional threshold voltage. The first voltage threshold source 204 may be adjustable so that the tolerance of the first comparator 202 to detect a sufficiently large difference to obtain a change in the output can be customized. In some embodiments, the first comparator 202 may be inherently capable of comparing the signal voltage at the DP 140 with the signal voltage at the DM 150 without using the first voltage threshold source 204. In this embodiment, the threshold in the first comparator 202 may be adjustable.

[0025] Likewise, the second voltage threshold comparator 205 may be any type of component and / or circuit that determines whether the signal voltage at the DM 150 with the additional threshold voltage is greater than and / or equal to the signal voltage at the DP 140. By detecting a sufficiently large difference between the DM 150 and the DP 140 (i.e., a voltage difference that is equal to or higher than the threshold), the second voltage threshold comparator 205 may be able to detect a falling edge of the signal on the DP 140. If the signal voltage at the DM 150 with the additional threshold voltage is greater than and / or equal to the signal voltage at the DP 140, the second voltage threshold comparator 205 outputs a HIGH signal. Alternatively, if the signal voltage at the DM 150 with the additional threshold voltage is not greater than and / or equal to the signal voltage at the DP 140, the second voltage threshold comparator 205 outputs a LOW signal.

[0026] In some embodiments, the threshold voltage of the second voltage threshold comparator 205 may be different from the threshold voltage of the first voltage threshold comparator 201. In addition, in some embodiments, the first voltage threshold comparator 201 and the second voltage threshold comparator 205 may exist as a single voltage threshold comparator. In this embodiment, the single comparator can detect both the rising edge and the falling edge of the DP 140.

[0027] In the illustrated embodiment, a first input (ie, non-inverting input) of second comparator 206 is coupled to DM 150 through second voltage threshold source 208, and a second input (ie, inverting input) of second comparator 206 is coupled to DP 140. In a specific embodiment, second comparator 206 is an operational amplifier.

[0028] The second voltage threshold source 208 can be any type of component and / or circuit that introduces a voltage to the input of the second comparator 206. In some embodiments, the second voltage threshold source 208 can be set to a different voltage than the first voltage threshold source 204. The second voltage threshold source 208 can introduce a voltage so that the second comparator 206 can compare the signal voltage at DP 140 with the signal voltage at DM 150 with an additional threshold voltage. The second voltage threshold source 208 can be adjustable so that the tolerance that the second comparator 206 detects a sufficiently large difference to obtain a change in the output can be customized. In some embodiments, the second comparator 206 can inherently be able to compare the signal voltage at DP 140 with the signal voltage at DM 150 without using the second voltage threshold source 208. In this embodiment, the threshold in the second comparator 206 can be adjustable.

[0029] The third voltage threshold comparator 209 may be any type of component and / or circuit that determines whether the signal voltage at the DP 140 with the additional threshold voltage is greater than and / or equal to the signal voltage at the DM 150. By detecting a sufficiently large difference between the DP 140 and the DM 150 (i.e., a voltage difference that is equal to or higher than the threshold), the third voltage threshold comparator 209 may detect a rising edge of the signal on the DM 150. If the signal voltage at the DP 140 with the additional threshold voltage is greater than and / or equal to the signal voltage at the DM 150, the third voltage threshold comparator 209 outputs a HIGH signal. Alternatively, if the signal voltage at the DP 140 with the additional threshold voltage is not greater than and / or equal to the signal voltage at the DM 150, the third voltage threshold comparator 209 outputs a LOW signal.

[0030] In the illustrated embodiment, a first input (ie, non-inverting input) of the third comparator 210 is coupled to the DP 140 through a third voltage threshold source 212, and a second input (ie, inverting input) of the third comparator 210 is coupled to the DM 150. In a specific embodiment, the third comparator 210 is an operational amplifier.

[0031] The third voltage threshold source 212 can be any type of component and / or circuit that introduces a voltage to the input of the third comparator 210. The third voltage threshold source 212 can introduce a voltage so that the third comparator 210 can compare the signal voltage at DP 140 with the signal voltage at DM 150 with the additional threshold voltage. The third voltage threshold source 212 can be adjustable so that the tolerance that the third comparator 210 detects a sufficiently large difference to obtain a change in the output can be customized. In some embodiments, the third comparator 210 can inherently be able to compare the signal voltage at DM150 and the signal voltage at DP 140 without using the third voltage threshold source 212. In this embodiment, the threshold in the third comparator 210 can be adjustable.

[0032] Likewise, the fourth voltage threshold comparator 213 may be any type of component and / or circuit that determines whether the signal voltage at the DP 140 having the additional threshold voltage is greater than and / or equal to the signal voltage at the DM 150. By detecting a sufficiently large difference between the DP 140 and the DM 150 (i.e., a voltage difference that is equal to or higher than the threshold), the fourth voltage threshold comparator 213 may be able to detect a falling edge of the signal on the DM 150. If the signal voltage at the DP 140 having the additional threshold voltage is greater than and / or equal to the signal voltage at the DM 150, the fourth voltage threshold comparator 213 outputs a HIGH signal. Alternatively, if the signal voltage at the DP 140 having the additional threshold voltage is not greater than and / or equal to the signal voltage at the DM 150, the fourth voltage threshold comparator 213 outputs a LOW signal.

[0033] In some embodiments, the threshold voltage of the fourth voltage threshold comparator 213 may be different from the threshold voltage of the third voltage threshold comparator 209. In addition, in some embodiments, the third voltage threshold comparator 209 and the fourth voltage threshold comparator 213 may exist as a single voltage threshold comparator. In this embodiment, the single comparator can detect the rising edge and the falling edge of the DM 150.

[0034] In the illustrated embodiment, a first input (ie, non-inverting input) of fourth comparator 214 is coupled to DP 140 through fourth voltage threshold source 216, and a second input (ie, inverting input) of fourth comparator 214 is coupled to DM 150. In a specific embodiment, fourth comparator 214 is an operational amplifier.

[0035] The fourth voltage threshold source 216 can be any type of component and / or circuit that introduces a voltage to the input of the fourth comparator 214. In some embodiments, the fourth voltage threshold source 216 can be set at a different voltage than the third voltage threshold source 212. The fourth voltage threshold source 216 can introduce a voltage so that the fourth comparator 214 can compare the signal voltage at DP140 with the signal voltage at DM 150 with the additional threshold voltage. The fourth voltage threshold source 216 can be adjustable so that the fourth comparator 214 can be customized to detect a sufficiently large difference to obtain a tolerance that changes in the output. In some embodiments, the fourth comparator 214 can inherently be able to compare the signal voltage at DM 150 with the signal voltage at DP 140 without using the fourth voltage threshold source 216. In this embodiment, the threshold in the fourth comparator 214 can be adjustable.

[0036] The first buffer 218, the second buffer 220, the third buffer 222, and the fourth buffer 224 (collectively referred to as these buffers) are any type of component or circuit that can provide gain to the input. In particular, these buffers can amplify the signal passing through them. In addition, these buffers can be delay-adjustable. The delay-adjustable buffer can intentionally introduce a delay in the signal passing through the buffer. The adjustable delay can optimize the timing of DC loss compensation and improve the signal integrity of the eye diagram.

[0037] The output of the first voltage threshold comparator 201 is coupled to a first input of a first NOR gate 226 via a first buffer 218 in some embodiments. Similarly, the output of the second voltage threshold comparator 205 is coupled to a second input of the first NOR gate 226 via a second buffer 220 in some embodiments.

[0038] The output of the first NOR gate 226 is coupled to the control input of the first switch 234. In the illustrated embodiment, the output of the first NOR gate 226 is coupled to the control electrode of the transistor that is the first switch 234. The output of the first NOR gate 226 indicates whether the current from the current source 232 is loaded into the DP 140, for example, by outputting a HIGH signal. Between the detection of the rising edge of the DP 140 and the detection of the falling edge of the DP 140, the current is loaded into the DP 140. The first switch 234 can be any component or circuit that directs the current generated by the current source 232 into the DP 140. The output of the first NOR gate 226 can also be coupled to the first input of the third NOR gate 230.

[0039] The output of the third voltage threshold comparator 209 is coupled to the first input of the second NOR gate 228 through the third buffer 222 in some embodiments. In some embodiments, the second NOR gate 228 is a second logic circuit. Similarly, the output of the fourth voltage threshold comparator 213 is coupled to the second input of the second NOR gate 228 through the fourth buffer 224 in some embodiments.

[0040] The output of the second NOR gate 228 is coupled to the control input of the second switch 236. In the illustrated embodiment, the output of the second NOR gate 228 is coupled to the control electrode of the transistor that is the second switch 236. The output of the second NOR gate 228 indicates whether the current from the current source 232 is loaded into the DM 150, for example, by outputting a HIGH signal. Between the detection of the rising edge in the DM 150 and the detection of the falling edge in the DM 150, the current is loaded into the DM 150. The second switch 236 can be any component or circuit that directs the current generated by the current source 232 into the DM 150. The output of the second NOR gate 228 can also be coupled to the second input of the third NOR gate 230.

[0041] The output of the first NOR gate 226 is coupled to the first input of the third NOR gate 230, and the output of the second NOR gate 228 is coupled to the second input of the third NOR gate 230. The output of the third NOR gate 230 is coupled to the control input of the third switch 238. In the illustrated embodiment, the output of the third NOR gate 230 is coupled to the control electrode of the transistor that serves as the third switch 238. The first channel electrode (e.g., drain) may be coupled to the current source 232, and the second channel electrode (e.g., source) may be coupled to the load resistor 240. The load resistor 240 may be further grounded. The output of the third NOR gate 230 indicates whether the current from the current source 232 is grounded, and thus the current is not loaded into the DP 140 or the DM 150. The third switch 238 may be any component or circuit that prohibits the current generated by the current source 232 from entering the DP 140 and / or the DM 150.

[0042] These NOR gates (e.g., first NOR gate 226, second NOR gate 228, and third NOR gate 230) are basic logic types that typically have two or more inputs and one output. For example, a NOR gate can output HIGH only when both inputs are LOW. On the other hand, a NOR gate can output LOW when either input is HIGH. NOR gates are illustrated herein as simple logic gates, but various circuit and component designs and variations of logic gates can implement logic tables similar to the NOR gates shown.

[0043] Figure 3is an example signal diagram 300 for injecting current in the DP 140 or the DM 150 via the DC loss compensation circuit 130 .

[0044] DP signal 302 represents the voltage across DP 140. Similarly, DM signal 304 represents the voltage across DM 150. DP signal 302 and DM signal 304 are stable at current i or ground. Therefore, during a stable period, when either DP signal 302 or DM signal 304 is transmitting current i, both DP signal 302 and DM signal 304 are affected by the resistive component on the communication path. On the other hand, when the signal is grounded, the resistive component does not affect DP signal 302 or DM signal 304.

[0045] Rising edge detection D1 306 represents the output of the first voltage threshold comparator 201 associated with the DP signal 302 and the DM signal 304. When the DP signal 302 is higher than the DM signal 304 by a voltage threshold, the rising edge detection D1 306 becomes LOW. On the other hand, when the DP signal 302 is not higher than the DM signal 304 by a voltage threshold, the rising edge detection D1 306 becomes HIGH.

[0046] The first buffer output 308 represents the output of the first buffer 218. As shown, the output of the first buffer 218 may be a delayed signal of the output of the first voltage threshold comparator 201.

[0047] Falling edge detection D1 310 represents the output of the second voltage threshold comparator 205 associated with the DP signal 302 and the DM signal 304. When the DP signal 302 is higher than the DM signal 304 by a voltage threshold, the falling edge detection D1 310 becomes LOW. On the other hand, when the DP signal 302 is not higher than the DM signal 304 by a voltage threshold, the falling edge detection D1 310 becomes HIGH.

[0048] The rising edge detection D2 312 represents the output of the third voltage threshold comparator 209 associated with the DP signal 302 and the DM signal 304. When the DM signal 304 is higher than the DP signal 302 by a voltage threshold, the rising edge detection D2 312 becomes LOW. On the other hand, when the DM signal 304 is not higher than the DP signal 302 by a voltage threshold, the rising edge detection D2 312 becomes HIGH.

[0049] The third buffer output 314 represents the output of the third buffer 222. As shown, the output of the third buffer 222 may be a delayed signal of the output of the third voltage threshold comparator 209.

[0050] Falling edge detection D2 316 represents the output of the fourth voltage threshold comparator 213 associated with the DP signal 302 and the DM signal 304. When the DM signal 304 is higher than the DP signal 302 by a voltage threshold, the falling edge detection D2 316 becomes LOW. On the other hand, when the DM signal 304 is not higher than the DP signal 302 by a voltage threshold, the falling edge detection D2 316 becomes HIGH.

[0051] Graph 318 indicates periods during which DC loss compensation circuit 130 grounds current source 232 (ie, GND 320a-d), injects current into DP 140 (ie, loads current into DP 322a-b), and injects current into DM 150 (ie, loads current into DM 324a-b).

[0052] The periods of GND 320a-d represent periods when the current from the current source 232 is grounded through the third switch 238. In the illustrated embodiment, GND 320a-d occurs during periods when (1) the first buffer output 308 is HIGH and the falling edge detection D2 316 is HIGH and (2) the third buffer output 314 is HIGH or the falling edge detection D1 310 is HIGH. For example, GND 320a starts when the falling edge detection D1 310 goes HIGH and stops when the third buffer output 314 goes LOW. As another example, GND 320b starts when the falling edge detection D2 316 goes HIGH and stops when the first buffer output 308 goes LOW.

[0053] The period of loading current into DP 322a-b represents the period of time when the current from current source 232 is injected into DP 140 via first switch 234. Loading current into DP 322-b occurs during the period when both first buffer output 308 and falling edge detection D1 310 are LOW, and loading current into DP 322-b stops when either first buffer output 308 or falling edge detection D1 310 returns to HIGH. For example, loading current into DP 322 occurs when both first buffer output 308 and falling edge detection D1 310 are LOW, and loading current into DP 322 stops when falling edge detection D1 310 returns to HIGH. For another example, loading current into DP 322 occurs when both first buffer output 308 and falling edge detection D1 310 are LOW.

[0054] The period of loading current into DM 324a-b represents the period of time during which the current from the current source 232 is injected into DM 150 via the second switch 236. Loading current into DM 324-b occurs during the period when both the third buffer output 314 and the falling edge detection D2 316 are LOW, and loading current into DM 324-b stops when the falling edge detection D2 316 returns to HIGH. For example, when both the third buffer output 314 and the falling edge detection D2 316 are LOW, loading current into DM 324a occurs, and when the third buffer output 314 or the falling edge detection D2 316 returns to HIGH, loading current into DM 324a stops. For another example, when both the third buffer output 314 and the falling edge detection D2 316 are LOW, loading current into DM 324b occurs, and when the falling edge detection D2 316 returns to HIGH, loading current into DM 324b stops.

[0055] Figure 4 An example method 400 for injecting current in DP 140 or DM 150 by DC loss compensation circuit 130 is shown. The method may begin at step 405, where DC loss compensation circuit 130 detects a non-transition period of a signal in a USB 2.0 communication system. In particular, the DC loss compensation circuit may detect a rising edge of a signal on DP 140 and DM 150 and / or a falling edge of a signal. In response to detecting a non-transition period, the method moves to step 415. Alternatively, in response to detecting a transition period, the method moves to step 410.

[0056] At step 410, the DC loss compensation circuit 130 does not inject current into the DP 140 and / or DM 150, but rather grounds any potential output current. Current levels during the transition period are generally not affected by the addition of resistive components. In addition, to maintain signal integrity during the transition period, the DC loss compensation circuit 130 may present a high impedance, thereby allowing minimal or no current to enter the DC loss compensation circuit 130.

[0057] However, if the DC loss compensation circuit 130 detects a non-transition period, the DC loss compensation circuit 130 then determines at step 415 whether the detection is a rising edge of the DP 140 or a rising edge of the DM 150. If the DC loss compensation circuit 130 detects a rising edge of the DP 140, the method moves to step 420. Alternatively, if the DC loss compensation circuit 130 detects a rising edge of the DM 150, the method moves to step 435.

[0058] At step 420, when the DC loss compensation circuit 130 detects the rising edge of the DP 140, the DC loss compensation circuit 130 injects current into the DP 140. Specifically, the DC loss compensation circuit 130 may inject current into the DP 140 between detecting the rising edge of the signal on the DP 140 and detecting the falling edge of the signal on the DP 140.

[0059] At step 425, the DC loss compensation circuit 130 determines whether a falling edge has been detected on the DP 140. If so, the method moves to step 430. Otherwise, the method continues injecting current into the DP 140 at step 420.

[0060] At step 430, when the DC loss compensation circuit 130 detects a falling edge on the DP 140, the DC loss compensation circuit 130 stops loading current into the DP 140. Instead, the DC loss compensation circuit 130 may connect the current generated from the current source 232 to ground. In some embodiments, the DC loss compensation circuit 130 may inject current into the DP 140 between detecting a rising edge of the signal on the DP 140 and detecting a falling edge of the signal on the DP 140.

[0061] If the DC loss compensation circuit 130 detects the rising edge of the DM 150 in step 415, the DC loss compensation circuit 130 injects current into the DM 150. In particular, the DC loss compensation circuit 130 may inject current into the DM 150 between detecting the rising edge of the signal on the DM 150 and detecting the falling edge of the signal on the DM 150.

[0062] At step 440 , the DC loss compensation circuit 130 determines whether a falling edge is detected on the DM 150 . If so, the method moves to step 440 . Otherwise, the method continues injecting current into the DM 150 at step 435 .

[0063] At step 445, when the DC loss compensation circuit 130 detects a falling edge on the DM 150, the DC loss compensation circuit 130 stops loading current into the DM 150. Instead, the DC loss compensation circuit 130 may connect the current generated from the current source 232 to ground. In some embodiments, the DC loss compensation circuit 130 may inject current into the DM 150 between detecting a rising edge of the signal on the DM 150 and detecting a falling edge of the signal on the DM 150.

[0064] Where appropriate, specific examples may be repeated Figure 4 one or more steps of a method. Figure 4 The specific steps of the methods are described and shown herein as occurring in a specific order, but Figure 4Any suitable steps of the method may appear in any suitable order. In addition, although this document describes and illustrates a method for Figure 4 The DC loss compensation circuit 130 may inject current into the DP 140 or DM 150 by using the DC loss compensation circuit 130. Any suitable method may be used to inject current into the DP 140 or DM 150 by using the DC loss compensation circuit 130. The DC loss compensation circuit 130 may include any suitable steps. Figure 4 In addition, although the method described and shown herein is used to perform Figure 4 The specific components, devices or systems of the specific steps of the method of injecting current in DP 140 or DM 150 through DC loss compensation circuit 130 may be performed, but any suitable combination of any suitable components, devices or systems may be used to perform any suitable steps of the method of injecting current in DP 140 or DM 150 through DC loss compensation circuit 130.

[0065] Example embodiments may include a computer program product. The computer program product may include a computer-readable storage medium (or media) having computer-readable program instructions thereon for causing a processor to implement various aspects of the example embodiments.

[0066] A computer-readable storage medium may be a tangible device that can retain and store instructions for use by an instruction execution device. A computer-readable storage medium may be, for example, but not limited to, an electronic storage device, a magnetic storage device, an optical storage device, an electromagnetic storage device, a semiconductor storage device, or any suitable combination of the above. A non-exhaustive list of more specific examples of computer-readable storage media includes the following: a portable computer floppy disk, a hard disk, a random access memory ("RAM"), a read-only memory ("ROM"), an erasable programmable read-only memory ("EPROM" or flash memory), a static random access memory ("SRAM"), a portable compact disc read-only memory ("CD-ROM"), a digital versatile disk ("DVD"), a memory stick, a floppy disk, a mechanical encoding device (such as a punch card or a raised structure in a groove having recorded instructions), and any suitable combination of the above. The computer-readable storage medium used herein should not be understood as being a transient signal per se, such as a radio wave or other freely propagating electromagnetic wave, an electromagnetic wave propagated through a waveguide or other transmission medium (e.g., a light pulse through a fiber optic cable), or an electrical signal transmitted through a wire.

[0067] The computer-readable program instructions described herein can be downloaded from a computer-readable storage medium to a corresponding computing / processing device via a network (e.g., the Internet, a local area network, a wide area network, and / or a wireless network), or downloaded to an external computer or external storage device. The network can include copper transmission cables, optical transmission fibers, wireless transmissions, routers, firewalls, switches, gateway computers, and / or edge servers. The network adapter card or network interface in each computing / processing device receives the computer-readable program instructions from the network and forwards the computer-readable program instructions to be stored in a computer-readable storage medium in the corresponding computing / processing device.

[0068] The computer-readable program instructions for performing the work of the exemplary embodiment may be assembly instructions, instruction set architecture ("ISA") instructions, machine instructions, machine-related instructions, microcode, firmware instructions, state setting data, or source code or object code written in any combination of one or more programming languages, including object-oriented programming languages ​​(such as Smalltalk, C++, etc.), and traditional program programming languages ​​(such as "C" programming languages ​​or similar programming languages). The computer-readable program instructions may be executed as a stand-alone software package, entirely on the user's computer, partially on the user's computer, partially on the user's computer, partially on a remote computer, or entirely on a remote computer or server. In the latter case, the remote computer may be connected to the user's computer through any type of network including a local area network ("LAN") or a wide area network ("WAN"), or may be connected to an external computer (e.g., using an Internet service provider through the Internet). In some embodiments, in order to perform various aspects of the exemplary embodiment, an electronic circuit including a programmable logic circuit, a field programmable gate array ("FPGA"), or a programmable logic array ("PLA") may execute computer-readable program instructions to personalize the electronic circuit by utilizing the state information of the computer-readable program instructions.

[0069] Various aspects of the exemplary embodiments are described herein with reference to flowchart illustrations and / or block diagrams of methods, devices (systems) and computer program products according to the embodiments. Each block of the flowchart illustration and / or block diagram, and combinations of blocks in the flowchart illustration and / or block diagram, can be implemented by computer-readable program instructions.

[0070] These computer-readable program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device create a device for implementing the functions / actions specified in one or more boxes of the flowchart and / or block diagram. These computer-readable program instructions can also be stored in a computer-readable storage medium, which can instruct the computer, programmable data processing device, and / or other device to operate in a specific manner, so that the computer-readable storage medium with instructions stored therein includes a manufactured product, which includes instructions for implementing various aspects of the functions / actions specified in one or more boxes of the flowchart and / or block diagram.

[0071] Computer-readable program instructions may also be loaded onto a computer, other programmable data processing device, or other apparatus to cause a series of operational steps to be performed on the computer, other programmable device, or other apparatus to produce a computer-implemented process, so that the instructions executed on the computer, other programmable device, or other apparatus implement the functions / actions specified in one or more boxes of the flowchart and / or block diagram.

[0072] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functions and operations of possible implementations of systems, methods and computer program products according to various embodiments. In this regard, each box in the flowchart or block diagram can represent a module, segment or part of an instruction, which includes one or more executable instructions for implementing (one or more) specified logical functions. In some alternative embodiments, the functions of the boxes may not appear in the order shown in the accompanying drawings. For example, in fact, two boxes displayed in succession can be executed substantially simultaneously, or, depending on the functions involved, these boxes can sometimes be executed in reverse order. The description of each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented by a system based on special-purpose hardware, which performs a specified function or action or performs a combination of special-purpose hardware and computer instructions.

[0073] In addition, the system according to various embodiments may include a processor and logic integrated with the processor and / or logic executable by the processor, configured to perform one or more processing steps described herein. By integrated, it is meant that the processor has logic embedded as hardware logic, such as an application specific integrated circuit ("ASIC"), FPGA, etc. The logic executable by the processor refers to the hardware logic. Software logic, such as firmware, part of an operating system, part of an application, etc., or a combination of hardware and software logic that is accessible to the processor and configured to enable the processor to perform certain functions when the processor executes. As known in the art, the software logic can be stored in local and / or remote memory of any memory type. Any processor known in the art, such as a software processor module and / or a hardware processor, such as an ASIC, FPGA, a central processing unit ("CPU"), an integrated circuit ("IC"), a graphics processing unit ("GPU"), etc., can be used.

[0074] In the drawings, the connector line arrows do not restrict such flow to a particular direction, and thus they do not exclude any flow in the opposite direction.

[0075] As used herein, a channel electrode refers to a device element that carries current through a device, such as a source or drain of a metal oxide semiconductor field effect transistor ("MOSFET"), or an emitter or collector of a bipolar transistor, and a control electrode refers to a device element that controls current through a device, such as a gate of a MOSFET or a base of a bipolar transistor. Additionally, in this specification, terms such as coupled to or coupled with (and the like) describe either an indirect electrical connection or a direct electrical connection. Thus, if a first device is coupled to a second device, that connection may be achieved through a direct electrical connection or through an indirect electrical connection via other devices and / or connections.

[0076] Specific advantages are described above, but various embodiments may achieve all, some, or none of the listed advantages. In addition, the embodiments described herein are only examples, and the scope of this specification is not limited to them. Particular embodiments may include all, some, or none of the components, elements, features, functions, operations, or steps of the above-described embodiments. Any characteristics described in one category (such as method) are also applicable to another category (such as system).

[0077] The described embodiments may be modified, as may other embodiments, within the scope of the claims.

Claims

1. A USB 2.0 system, comprising: Current source; First switch; Second switch; a first voltage threshold comparator; a second voltage threshold comparator; a third voltage threshold comparator; a fourth voltage threshold comparator; a first logic circuit; a second logic circuit; The current source is coupled to a channel input of the first switch and a channel input of the second switch; The output of the first switch is coupled to a positive data line in a USB 2.0 communication system; The output of the second switch is coupled to a negative data line in the USB 2.0 communication system; a first input of the first voltage threshold comparator coupled to the negative data line, a second input of the first voltage threshold comparator coupled to the positive data line, and an output of the first voltage threshold comparator coupled to a first input of the first logic circuit; a first input of the second voltage threshold comparator coupled to the negative data line, a second input of the second voltage threshold comparator coupled to the positive data line, and an output of the second voltage threshold comparator coupled to a second input of the first logic circuit; An output of the first logic circuit is coupled to a control input of the first switch; a first input of the third voltage threshold comparator coupled to the positive data line, a second input of the third voltage threshold comparator coupled to the negative data line, and an output of the third voltage threshold comparator coupled to the first input of the second logic circuit; a first input of the fourth voltage threshold comparator coupled to the positive data line, a second input of the fourth voltage threshold comparator coupled to the negative data line, and an output of the fourth voltage threshold comparator coupled to the first input of the second logic circuit; as well as An output of the second logic circuit is coupled to a control input of the second switch.

2. A USB 2.0 system, comprising: Current source; switch; Voltage threshold comparator; The current source is coupled to a channel input of the switch; The output of the switch is coupled to a positive data line or a negative data line in a USB 2.0 communication system; a first input of the voltage threshold comparator coupled to the negative data line, a second input of the voltage threshold comparator coupled to the positive data line, and an output of the voltage threshold comparator coupled to a control input of the switch; wherein the voltage threshold comparator is a first voltage threshold comparator, the first voltage threshold comparator being coupled to the channel input of the switch via a logic circuit, wherein the output of the first voltage threshold comparator is coupled to a first input of the logic circuit, and the output of the logic circuit is coupled to the control input of the switch; and The system further comprises: a second voltage threshold comparator; and A first input of the second voltage threshold comparator receives the negative data line, a second input of the second voltage threshold comparator receives the positive data line, and an output of the second voltage threshold comparator is coupled to a second input of the logic circuit.

3. The system of claim 2, wherein: The first voltage threshold comparator is an operational amplifier; The first input of the first voltage threshold comparator is a non-inverting input; and The second input of the first voltage threshold comparator is an inverting input.

4. The system of claim 2, wherein: The switch is a first switch; the output of the first switch coupled to the positive data line; as well as The voltage threshold comparator is a first comparator; as well as The system further comprises: Second switch; A channel input of the second switch is coupled to the current source; an output of the second switch coupled to the negative data line; a second voltage threshold comparator; and The first input of the second voltage threshold comparator is coupled to the positive data line, the second input of the second voltage threshold comparator receives the negative data line, and the output of the second voltage threshold comparator is coupled to the control input of the second switch.

5. The system according to claim 4, further comprising: The third switch; Logic circuits; a channel input of the third switch coupled to the current source, a control input of the third switch coupled to the output of the logic circuit, and an output of the third switch connected to ground; as well as A first input of the logic circuit is coupled to the output of the first voltage threshold comparator, and a second input of the logic circuit is coupled to the output of the second voltage threshold comparator.

6. The system according to claim 2, wherein: The output of the first voltage threshold comparator is coupled to the control input of the switch via a buffer.

7. The system according to claim 2, wherein: The switch is a transistor, the channel input of the switch is a first channel electrode of the transistor, the control input of the switch is a control electrode of the transistor, and the output of the switch is a second channel electrode of the transistor.

Citation Information

Patent Citations

  • Signal conditioner

    CN104937579A

  • Active Eye Opener for Current-Source Driven, High-Speed Serial Links

    US20110221521A1