USB signal detection device and system
By designing a USB signal detection device, the coordinated work of the protocol extraction module, the orthogonal decoding module, the data analysis module, the control module and the display module are solved, and the existing USB signal testing machine is efficiently detected and visualized.
Patent Information
- Application Number
- CN202111259861.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-28
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2041-10-28
AI Technical Summary
The existing USB signal testing machine is large in size, inconvenient to carry, and it is difficult to adapt to complex and changeable engineering sites. The test operations are complex and the results are not intuitive enough.
A USB signal detection device is designed, including a protocol extraction module, an orthogonal decoding module, a data analysis module, a control module and a display module. Through the coordinated work of these modules, the detection, analysis and visual display of USB signals are realized.
It improves the portability and simplicity of the USB signal detection device, adapts to a complex and changeable engineering detection environment, and realizes visual analysis of signal detection results.
Smart Images

Figure CN113886163B_ABST
Abstract
Description
Technical Field
[0001] The invention relates to the field of communication testing, and in particular to a USB signal detection device and system. Background Art
[0002] Universal Serial Bus (USB) is a serial bus that has the advantages of hot-plug support, high transmission rate, easy expansion and flexible use. It is widely used in common electronic devices such as PCs, mobile devices and embedded IOT. The bus uses differential signals with non-return to zero inversion (NRZI) for data transmission. Due to the large number of application scenarios of USB, the actual signal quality in different scenarios varies, resulting in enumeration failure, packet loss, insufficient voltage and other problems in the application. At present, the existing technology mainly uses a professional USB signal test machine to test the USB signal quality by testing the consistency and / or eye diagram of the USB signal to determine the USB signal quality. This professional USB signal test machine has the problems of large size, inconvenient to carry, difficult to adapt to the abnormality elimination in complex and changeable engineering sites, complex test operation, and not intuitive test results. Summary of the invention
[0003] In order to solve the above problems, the present invention provides a USB signal detection device and system, which greatly improves the portability of the USB signal detection device, is quick and convenient to operate, can adapt to complex and changeable engineering detection environments, and realizes visualization of signal detection result analysis. The specific technical solutions of the present invention are as follows:
[0004] A USB signal detection device, the USB signal detection device comprising: a protocol extraction module, connected to a USB bus and an orthogonal decoding module respectively, for extracting a specified differential signal from the USB bus according to a signal extraction rule and transmitting the signal to the orthogonal decoding module; an orthogonal decoding module, connected to a protocol extraction module and a protocol analysis module respectively, for receiving a specified differential signal transmitted by the protocol extraction module, performing orthogonal decoding processing on the specified differential signal to obtain decoded data, and transmitting the decoded data to a data analysis module; a data analysis module, connected to an orthogonal decoding module and a control module respectively, for receiving decoded data transmitted by the orthogonal decoding module, performing data analysis processing on the decoded data, and transmitting the data analysis result to the control module; a control module, connected to a data analysis module and a display module respectively, for receiving a data analysis result transmitted by the data analysis module, and transmitting the data analysis result to the display module; a display module, connected to a main controller, for receiving and displaying the data analysis result transmitted by the control module.
[0005] Furthermore, the USB signal detection device further comprises: an impedance adjustment module; the impedance adjustment module is connected to the USB bus and is used to transmit impedance adjustment parameters to the USB bus to adjust the resistance value of the matching resistor on the USB bus.
[0006] Furthermore, an impedance increase adjustment button and an impedance decrease adjustment button are provided on the housing of the USB signal detection device; the impedance increase adjustment button is used to increase the impedance adjustment parameter transmitted by the impedance adjustment module to the USB bus; the impedance decrease adjustment button is used to reduce the impedance adjustment parameter transmitted by the impedance adjustment module to the USB bus.
[0007] Furthermore, the impedance adjustment module includes an input port and an output port, and the input port of the impedance adjustment module and the output port of the impedance adjustment module are respectively connected to the control module; the input port of the impedance adjustment module is used to receive the corresponding impedance adjustment instructions transmitted to the impedance adjustment module by the control module according to the data analysis results; the output port of the impedance adjustment module is used to transmit the impedance adjustment parameters adaptively adjusted according to the impedance adjustment instructions to the control module.
[0008] Furthermore, the control module is also used to transmit the impedance adjustment parameters transmitted by the impedance adjustment module to the display module, so that the display module displays the impedance adjustment parameters.
[0009] Furthermore, the display module includes a display arranged on the outer surface of the USB signal detection device, and the display is used to display the data analysis result and / or the impedance adjustment parameter.
[0010] Further, the protocol extraction module includes a first input port, a second input port, a first output port, and a second output port; the USB bus includes a synchronous output port and an asynchronous output port; the first input port of the protocol extraction module is connected to the synchronous output port of the USB bus, so as to enable the protocol extraction module to extract a specified differential signal from the USB bus according to a signal extraction rule; the second input port of the protocol extraction module is connected to the asynchronous output port of the USB bus, so as to enable the protocol extraction module to extract another specified differential signal from the USB bus according to the signal extraction rule; the first output port and the second output port of the protocol extraction module are respectively connected to the orthogonal decoding module, so as to enable the protocol extraction module to transmit two specified differential signals to the orthogonal decoding module.
[0011] Furthermore, the protocol extraction module also includes a third input port, and the third input port of the protocol extraction module is connected to the control module, so as to enable the protocol extraction module to receive the signal extraction rules transmitted by the control module. The control module transmits the signal extraction rules to the protocol extraction module to specify the differential signal extracted by the protocol extraction module from the USB bus.
[0012] Furthermore, the orthogonal decoding module includes a first input port, a second input port and a third output port; the first input port of the orthogonal decoding module is connected to the first output port of the protocol extraction module, so as to enable the orthogonal decoding module to receive a specified differential signal transmitted by the protocol extraction module; the second input port of the orthogonal decoding module is connected to the second output port of the protocol extraction module, so as to enable the orthogonal decoding module to receive another specified differential signal transmitted by the protocol extraction module; the third output port of the orthogonal decoding module is connected to the data analysis module, so as to enable the orthogonal decoding module to transmit the decoded data obtained after orthogonal decoding based on two specified differential signals to the data analysis module.
[0013] Furthermore, the data analysis module has a caching function for caching the decoded data transmitted from the orthogonal decoding module to the data analysis module; the data analysis module performs data analysis on the decoded data cached within a preset time period at intervals, and transmits the data analysis results to the control module.
[0014] Furthermore, the USB signal detection device further includes a power module, and the power module is used to provide power for the USB signal detection device.
[0015] The present invention also discloses a USB signal detection system, which specifically includes: the USB signal detection device as mentioned above, which is connected to the USB host and the USB slave respectively, and is used to realize the signal quality detection of the USB signal between the USB host and the USB slave; the USB host is connected to the USB signal detection device; the USB slave is connected to the USB signal detection device.
[0016] Furthermore, the housing of the USB signal detection device is provided with a first port and a second port, the first port of the USB signal detection device is connected to the USB host, and the second port of the USB signal detection device is connected to the USB slave.
[0017] The present invention sets a protocol extraction module to perform targeted extraction of the USB bus protocol, thereby realizing detection of USB signals at the near end and the far end of the device respectively, improving the accuracy of analysis, and performing orthogonal decoding on a group of differential signals input by the USB bus by setting an orthogonal decoding module, converting the USB signal into decoded data capable of characterizing the USB signal error through an algorithm, and establishing a conversion relationship between two different forms of information based on the orthogonal decoding module, realizing analysis of USB signal quality in the form of decoded data, and realizing displaying the data analysis result to the user through the display module, realizing visualization of USB signal quality analysis. BRIEF DESCRIPTION OF THE DRAWINGS
[0018] Figure 1 The figure is a module diagram of a USB signal detection device according to an embodiment of the present invention.
[0019] Figure 2 This is a module diagram of a USB signal detection device according to another embodiment of the present invention.
[0020] Figure 3 A schematic diagram of a housing of a USB signal detection device according to an embodiment of the present invention.
[0021] Figure 4 The figure is a schematic diagram of the structure of a USB signal detection system according to an embodiment of the present invention. DETAILED DESCRIPTION
[0022] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention will be described and illustrated in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described below are only used to explain the present invention and are not used to limit the present invention. In addition, it can be understood that for ordinary technicians in this field, some changes in design, manufacturing or production on the technical content disclosed in the present invention are just conventional technical means, and should not be understood as insufficient content disclosed in this application.
[0023] Unless otherwise defined, the technical terms or scientific terms involved in the present invention shall have the usual meanings understood by ordinary technicians in the technical field to which this application belongs. The terms "comprise", "include", "have" and any variations thereof involved in this application are intended to cover non-exclusive inclusions, such as: a process, method, system product or device comprising a series of steps or modules, not limited to the listed steps or modules, but may also include steps or modules not listed, or may also include other steps or modules inherent to these processes, methods, products or devices.
[0024] As a preferred embodiment of the present invention, a USB signal detection device is provided in the first embodiment of the present invention, such as Figure 1As shown, the USB signal detection device includes: a protocol extraction module, an orthogonal decoding module, a data analysis module, a control module and a display module. It should be noted that, Figure 1 The arrows between the modules and the directions of the arrows only represent the data transmission and the direction of data transmission between the modules. The number of data types transmitted between the modules cannot be used to determine the number of data types transmitted between the modules.
[0025] Specifically, the protocol extraction module is connected to the USB bus and the orthogonal decoding module respectively, and is used to extract the specified differential signal from the USB bus according to the signal extraction rule and transmit it to the orthogonal decoding module; the signal extraction rule can be but not limited to the rule pre-set in the protocol extraction module for limiting the protocol extraction module to extract the specified signal from the USB bus, or the rule set by the control module according to the actual detection object and transmitted to the protocol extraction module for limiting the protocol extraction module to extract the specified signal from the USB bus. By setting the signal extraction rule, the protocol extraction module in this embodiment can extract the specified differential signal from the USB bus according to the signal extraction rule, so as to achieve the purpose of accurate signal detection. Based on the signal extraction rule, by modifying the signal extraction rule, the USB signal detection device can detect the far-end USB signal and the near-end USB signal of the detection object respectively, so as to improve the reliability of USB signal detection; wherein, the far-end USB signal refers to the specified signal on the USB bus at the end far away from the detection object; conversely, the near-end USB signal refers to the guidance signal on the USB bus at the end close to the detection object; the far-end and the near-end refer to the far and near of the relative distance.
[0026] Specifically, the orthogonal decoding module is connected to the protocol extraction module and the protocol analysis module, respectively, and is used to receive the specified differential signal transmitted by the protocol extraction module, perform orthogonal decoding on the specified differential signal to obtain decoded data, and transmit the decoded data to the data analysis module; it should be noted that the specified differential signal transmitted by the protocol extraction module to the orthogonal decoding module is a group of differential signals, and the orthogonal decoding module orthogonally decodes a group of differential signals into one decoded data through an algorithm, thereby converting the USB signal from the form of a signal to the form of data, and the signal changes and quality can be analyzed more accurately and intuitively in the form of data.
[0027] Specifically, the data analysis module is connected to the orthogonal decoding module and the control module, respectively, and is used to receive the decoded data transmitted by the orthogonal decoding module, perform data analysis and processing on the decoded data, and transmit the data analysis results to the control module; wherein the means for performing data analysis and processing on the decoded data include but are not limited to comparing the decoded data with the previously acquired decoded data to analyze changes in the decoded data, etc.; the data analysis results include but are not limited to USB signal quality value, eye diagram, decoded data and time relationship curve, etc.
[0028] Specifically, the control module is connected to the data analysis module and the display module, respectively, and is used to receive the data analysis results transmitted by the data analysis module, and transmit the data analysis results to the display module; the control module set in this embodiment serves as a data transmission transfer station in the USB signal detection device, and is used to integrate and constrain the data or information transmitted by each module to improve the detection efficiency of the USB signal detection device.
[0029] Specifically, the display module is connected to the main controller and is used to receive and display the data analysis results transmitted by the control module; it should be noted that the display module can be but is not limited to a display with a display function, so that the USB signal detection device can display its data analysis results more intuitively and realize the visualization of USB signal detection and analysis.
[0030] The USB signal detection device provided in this embodiment is configured to perform targeted extraction of the USB bus protocol by setting a protocol extraction module, thereby realizing detection of USB signals at the near end and the far end of the device respectively, thereby improving the accuracy of USB signal detection and analysis. At the same time, an orthogonal decoding module is configured to perform orthogonal decoding on a set of differential signals input by the USB bus, and the USB signal is converted into decoded data capable of characterizing the USB signal error through an algorithm. Based on the orthogonal decoding module, a conversion relationship is established between two different forms of information, thereby realizing analysis of USB signal quality in the form of decoded data, displaying the data analysis results to the user through a display module, and realizing visualization of USB signal instruction analysis.
[0031] Based on the above embodiments, as a preferred embodiment of the present invention, the USB signal detection device in the second embodiment of the present invention further includes: an impedance adjustment module. Figure 2 As shown, the impedance adjustment module is connected to the synchronous output port DP of the USB bus and the asynchronous output port DM of the USB bus respectively. The impedance adjustment module has an impedance adjustment function, and can transmit corresponding impedance adjustment parameters to the USB bus according to actual adjustment requirements to adjust the resistance value of the matching resistor on the USB bus, thereby indirectly achieving the purpose of improving the quality of the USB signal.
[0032] Specifically, the impedance adjustment module includes an input port and an output port, the input port of the impedance adjustment module and the output port of the impedance adjustment module are respectively connected to the control module; the input port of the impedance adjustment module is used to receive the corresponding impedance adjustment instruction transmitted to the impedance adjustment module by the control module according to the data analysis result; the output port of the impedance adjustment module is used to transmit the impedance adjustment parameter adaptively adjusted according to the impedance adjustment instruction to the control module. In this embodiment, the impedance adjustment module is provided to enable the USB signal detection device to have an impedance adjustment function, and can output the impedance adjustment parameter in real time according to the data analysis result to act on the USB bus, indirectly adjust the USB signal quality, so that the USB signal detection device of this embodiment can adapt to complex and changeable engineering environments, and the USB signal quality detected by it is reliable.
[0033] Based on the above embodiments, as a preferred embodiment of the present invention, in the third embodiment of the present invention, the control module is also used to transmit the impedance adjustment parameter transmitted by the impedance adjustment module to the display module, so that the display module displays the impedance adjustment parameter. In this embodiment, the impedance adjustment parameter is displayed on the display module via the control module, so that the outside can more intuitively understand the specific value of the current impedance adjustment parameter, so as to understand the matching resistance value received by the USB bus, and then according to the impedance adjustment parameter output by the device, after the USB signal detection is completed, the corresponding matching resistor can be configured on the device, so as to achieve the purpose of improving the quality of the USB signal in a targeted manner.
[0034] Based on the above embodiments, as a preferred embodiment of the present invention, in a fourth embodiment of the present invention, the display module includes a display arranged on the outer surface of the USB signal detection device, and the display is used to display the data analysis results and / or the impedance adjustment parameters. Figure 4 As shown, the display is arranged on the outer surface of the USB signal detection device. It should be noted that, although the display is limited to a regular rectangle in the figure, the display can also be a square, a circle, an ellipse or a polygon in the actual design and production process. In this embodiment, by arranging a display with a display function on the outer surface of the USB signal detection device, the user can observe the USB signal detection result more intuitively, and it is more convenient for the user to adjust the device according to the real-time USB signal detection result.
[0035] Based on the above embodiments, as a preferred embodiment of the present invention, Figure 4As shown, in the fifth embodiment of the present invention, the housing of the USB signal detection device is provided with an impedance increase adjustment button and an impedance decrease adjustment button; the impedance increase adjustment button is used to increase the impedance adjustment parameter transmitted by the impedance adjustment module to the USB bus; the impedance decrease adjustment button is used to reduce the impedance adjustment parameter transmitted by the impedance adjustment module to the USB bus. It should be noted that although Figure 4 The impedance increase adjustment button and the impedance decrease adjustment button are defined as circles of the same size, but in the actual design and production process, the impedance increase adjustment button and the impedance decrease adjustment button may be, but are not limited to, buttons of the same or different sizes and the same or different shapes, and the shapes of the impedance increase adjustment button and the impedance decrease adjustment button may be, but are not limited to, square, circular, elliptical or polygonal shapes. In this embodiment, by arranging the impedance increase adjustment button and the impedance decrease adjustment button on the outer surface of the USB signal detection device, the USB signal detection device can accept external adjustment of the impedance adjustment parameter size, and can not only adjust the impedance adjustment parameter adaptively, but also manually adjust the impedance adjustment parameter, so as to achieve the effect of dynamic impedance matching and increase the flexibility of the USB signal detection device in outputting the impedance adjustment parameter.
[0036] Based on the above embodiments, as a preferred embodiment of the present invention, the protocol extraction module in the sixth embodiment of the present invention includes a first input port, a second input port, a first output port and a second output port; the USB bus includes a synchronous output port and an asynchronous output port; the first input port of the protocol extraction module is connected to the synchronous output port of the USB bus, so as to realize that the protocol extraction module extracts a specified differential signal from the USB bus according to the signal extraction rule; the second input port of the protocol extraction module is connected to the asynchronous output port of the USB bus, so as to realize that the protocol extraction module extracts another specified differential signal from the USB bus according to the signal extraction rule; the first output port and the second output port of the protocol extraction module are respectively connected to the orthogonal decoding module, so as to realize that the protocol extraction module transmits two specified differential signals to the orthogonal decoding module. This embodiment realizes the extraction of specified differential signals from the USB bus based on the protocol extraction module, and achieves the detection of near-end signals and far-end signals of the USB bus by setting the signal extraction rule, thereby improving the accuracy of USB signal detection.
[0037] Based on the above embodiments, as a preferred embodiment of the present invention, in the seventh embodiment of the present invention, the protocol extraction module further includes a third input port, and the third input port of the protocol extraction module is connected to the control module, so as to realize that the protocol extraction module receives the signal extraction rule transmitted by the control module, and the control module transmits the signal extraction rule to the protocol extraction module to specify the differential signal extracted by the protocol extraction module from the USB bus. This embodiment realizes the information transmission between the control module and the protocol extraction module by setting the third input port on the protocol extraction module, realizes the flexible change of the signal extraction rule based on the control module, realizes the accurate extraction of the specified signal by the protocol extraction module, and changes the signal extraction rule, so that the USB signal detection device can obtain the specified signal more flexibly, so that the USB signal detection device can adapt to various complex engineering sites.
[0038] Based on the above embodiments, as a preferred embodiment of the present invention, the orthogonal decoding module in the eighth embodiment of the present invention includes a first input port, a second input port and a third output port; the first input port of the orthogonal decoding module is connected to the first output port of the protocol extraction module, so as to realize that the orthogonal decoding module receives a specified differential signal transmitted by the protocol extraction module; the second input port of the orthogonal decoding module is connected to the second output port of the protocol extraction module, so as to realize that the orthogonal decoding module receives another specified differential signal transmitted by the protocol extraction module; the third output port of the orthogonal decoding module is connected to the data analysis module, so as to realize that the orthogonal decoding module transmits the decoded data obtained after orthogonal decoding based on two specified differential signals to the data analysis module. In this embodiment, the orthogonal decoding module is set to a dual-input single-output form, so as to realize that the orthogonal decoding module performs format conversion on a group of differential signals inside the orthogonal decoding module and converts them into decoded data, so that the USB signal detection device can perform quality analysis on the signal in the form of data, so that the quality analysis result is more intuitive and obvious.
[0039] Based on the above embodiments, as a preferred embodiment of the present invention, in the ninth embodiment of the present invention, the data analysis module has a cache function, which is used to cache the decoded data transmitted from the orthogonal decoding module to the data analysis module; the data analysis module performs data analysis and processing on the decoded data cached within the preset time period every preset time period, and transmits the data analysis and processing results to the control module. It should be noted that the preset time period can be but not limited to 30 seconds, 60 seconds, 1 minute, 2 minutes and other time lengths. In this embodiment, the data analysis module is set as a module with a cache function, so that the data analysis module can compare the currently acquired decoded data with the previously acquired decoded data, thereby determining the change of the decoded data, obtaining the relationship curve between the decoded data and time, and improving the accuracy and reliability of the USB signal quality value by analyzing the curvature of the relationship curve between the decoded data and time and other data. The data analysis module transmits the USB signal quality value and the relationship curve between the decoded data and time as the data analysis result to the control module, and displays the USB signal quality value and the relationship curve between the decoded data and time through the display module, so that the USB signal detection result is intuitively visible.
[0040] Based on the above embodiments, as a preferred embodiment of the present invention, the USB signal detection device in the tenth embodiment of the present invention further includes a power module, and the power module is used to provide power for the USB signal detection device. It should be noted that the power module may include a power management system, one or more power supplies, and other components related to the production, management and distribution of power for the device. In this embodiment, a power module is built into the USB signal detection device, so that the USB signal detection device can be self-powered, which greatly improves the portability of the USB signal detection device.
[0041] Based on the above embodiments, as a preferred embodiment of the present invention, the eleventh embodiment of the present invention provides a USB signal detection system, such as Figure 4 As shown, the USB signal detection system specifically includes: the USB signal detection device as described above, connected to the USB host and the USB slave respectively, for realizing signal quality detection of the USB signal between the USB host and the USB slave; the USB host, connected to the USB signal detection device; the USB slave, connected to the USB signal detection device. The USB signal detection system in this embodiment realizes that the USB signal detection device detects the quality of the USB signal between the USB host and the USB slave in the form of data analysis.
[0042] Based on the above embodiments, as a preferred embodiment of the present invention, Figure 3As shown, in the twelfth embodiment of the present invention, the housing of the USB signal detection device is provided with a first port and a second port, the first port of the USB signal detection device is connected to the USB host, and the second port of the USB signal detection device is connected to the USB slave. It should be noted that although Figure 3 The first port and the second port are defined as rectangles, but in the actual design and production process, the shapes of the first port and the second port are adapted to the shapes of the connection line ports of the USB host and the USB slave, and the first port and the second port can be designed on the same side of the housing of the USB signal detection device. In this embodiment, the connection with the USB host and the USB slave is achieved by setting the first port and the second port.
[0043] It should be noted by those skilled in the art that the modules mentioned in the various embodiments of the present invention are merely modules divided by function, and in actual application, the above modules may also divide more than one module into the same module, or divide one module into more than one modules.
[0044] Obviously, the above-mentioned embodiments are only some embodiments of the present invention, rather than all embodiments, and the technical solutions between the various embodiments can be combined with each other. In the above-mentioned embodiments of the present invention, the descriptions of the various embodiments have their own emphasis. For the parts that are not described in detail in a certain embodiment, please refer to the relevant descriptions of other embodiments. In the several embodiments provided by the present invention, it should be understood that the disclosed technical content can be implemented in other ways. It should also be noted that the various specific technical features described in the above-mentioned specific embodiments can be combined in any suitable way without contradiction. In order to avoid unnecessary repetition, the various possible combinations of the embodiments of the present invention will not be described separately.
[0045] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit it. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or replace some or all of the technical features therein with equivalents. However, these modifications or replacements do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of the present invention.
Claims
1. A USB signal detection device, characterized in that: The USB signal detection device comprises: The protocol extraction module is connected to the USB bus and the orthogonal decoding module respectively, and is used to extract the specified differential signal from the USB bus according to the signal extraction rule and transmit it to the orthogonal decoding module; An orthogonal decoding module, connected to the protocol extraction module and the protocol analysis module respectively, for receiving a specified differential signal transmitted by the protocol extraction module, performing orthogonal decoding processing on the specified differential signal to obtain decoded data, and transmitting the decoded data to the data analysis module; The data analysis module is connected to the orthogonal decoding module and the control module respectively, and is used to receive the decoded data transmitted by the orthogonal decoding module, perform data analysis on the decoded data, and transmit the data analysis results to the control module; The control module is connected to the data analysis module and the display module respectively, and is used to receive the data analysis results transmitted by the data analysis module, and transmit the data analysis results to the display module; A display module, connected to the main controller, for receiving and displaying the data analysis results transmitted by the control module; An impedance adjustment module, connected to the USB bus, and used to transmit impedance adjustment parameters to the USB bus to adjust the resistance value of the matching resistor on the USB bus; Among them, the impedance adjustment module includes an input port and an output port, and the input port of the impedance adjustment module and the output port of the impedance adjustment module are respectively connected to the control module; the input port of the impedance adjustment module is used to receive the corresponding impedance adjustment instructions transmitted to the impedance adjustment module by the control module according to the data analysis results; the output port of the impedance adjustment module is used to transmit the impedance adjustment parameters adaptively adjusted according to the impedance adjustment instructions to the control module.
2. The USB signal detection device according to claim 1, characterized in that: An impedance increase adjustment button and an impedance decrease adjustment button are provided on the housing of the USB signal detection device; the impedance increase adjustment button is used to increase the impedance adjustment parameter transmitted by the impedance adjustment module to the USB bus; the impedance decrease adjustment button is used to reduce the impedance adjustment parameter transmitted by the impedance adjustment module to the USB bus.
3. The USB signal detection device according to claim 1, characterized in that: The control module is further configured to transmit the impedance adjustment parameters transmitted by the impedance adjustment module to the display module, so that the display module displays the impedance adjustment parameters.
4. The USB signal detection device according to claim 3, characterized in that: The display module includes a display arranged on the outer surface of the USB signal detection device, and the display is used to display the data analysis result and / or the impedance adjustment parameter.
5. The USB signal detection device according to claim 1, characterized in that: The protocol extraction module includes a first input port, a second input port, a first output port, and a second output port; the USB bus includes a synchronous output port and an asynchronous output port; the first input port of the protocol extraction module is connected to the synchronous output port of the USB bus, so as to enable the protocol extraction module to extract a specified differential signal from the USB bus according to the signal extraction rule; The second input port of the protocol extraction module is connected to the asynchronous output port of the USB bus, so as to enable the protocol extraction module to extract another specified differential signal from the USB bus according to the signal extraction rule; the first output port and the second output port of the protocol extraction module are respectively connected to the orthogonal decoding module, so as to enable the protocol extraction module to transmit two specified differential signals to the orthogonal decoding module.
6. The USB signal detection device according to claim 5, characterized in that: The protocol extraction module also includes a third input port, and the third input port of the protocol extraction module is connected to the control module, so as to enable the protocol extraction module to receive the signal extraction rule transmitted by the control module. The control module transmits the signal extraction rule to the protocol extraction module to specify the differential signal extracted by the protocol extraction module from the USB bus.
7. The USB signal detection device according to claim 5, characterized in that: The orthogonal decoding module comprises a first input port, a second input port and a third output port; the first input port of the orthogonal decoding module is connected to the first output port of the protocol extraction module, so as to enable the orthogonal decoding module to receive a specified differential signal transmitted by the protocol extraction module; The second input port of the orthogonal decoding module is connected to the second output port of the protocol extraction module, so as to enable the orthogonal decoding module to receive another specified differential signal transmitted by the protocol extraction module; The third output port of the orthogonal decoding module is connected to the data analysis module, so as to enable the orthogonal decoding module to transmit the decoded data obtained after orthogonal decoding based on two designated differential signals to the data analysis module.
8. The USB signal detection device according to claim 1, characterized in that: The data analysis module has a caching function for caching the decoded data transmitted from the orthogonal decoding module to the data analysis module; the data analysis module performs data analysis on the decoded data cached within a preset time period at intervals, and transmits the data analysis results to the control module.
9. The USB signal detection device according to claim 1, characterized in that: The USB signal detection device further comprises a power module, and the power module is used to provide power for the USB signal detection device.
10. A USB signal detection system, characterized in that: The USB signal detection system specifically includes: The USB signal detection device according to any one of claims 1 to 9, connected to a USB host and a USB slave, respectively, for realizing signal quality detection of a USB signal between the USB host and the USB slave; A USB host connected to the USB signal detection device; A USB slave is connected to the USB signal detection device.
11. The USB signal detection system according to claim 10, characterized in that: The housing of the USB signal detection device is provided with a first port and a second port. The first port of the USB signal detection device is connected to the USB host, and the second port of the USB signal detection device is connected to the USB slave.
Citation Information
Patent Citations
USB 2.0 protocol analyzer based on an FPGA and an analysis method
CN109656862A