High-speed cable test system and adaptive adjustment method, device and equipment

By using the FPGA and high -speed modulus conversion circuits in the high -speed cable test system, the establishment of the attenuated mathematical model of high -speed cables solves the problem that existing technology cannot reflect the attenuation characteristics of the high -speed cable signal. Analysis and optimization.

CN119375771APending Publication Date: 2025-01-28HUNAN GUOKE HONGFEI TECH CO LTD
View PDF 16 Cites 0 Cited by

Patent Information

Application Number
CN202411143837.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-20
Publication Date
2025-01-28

AI Technical Summary

Technical Problem

The prior art cannot effectively reflect the signal amplitude attenuation characteristics and signal phase change characteristics of the excitation signal after passing through the high-speed cable, making it difficult to ensure stable reception of signals in high-speed cable data transmission systems.

Method used

The FPGA is used as a processor, combined with high -speed digital conversion circuits, high -speed modulus conversion circuits, and automatic gain control circuits. Through multiple output incentive signals with different frequencies, comparing the characteristics of incentive signals and receiving signals, establish attenuation of high -speed cables to be tested. Mathematical models include the characteristic curve of the amplitude attenuation and the phase characteristic curve.

Benefits of technology

The accurate analysis and reflection of the magnitude of the signal value of high -speed cables and the change of phase changes is achieved, and the stable transmission and receiving of the signal in the high -speed cable data transmission system is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119375771A_ABST
    Figure CN119375771A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of cable testing, and discloses a high-speed cable testing system and a self-adaptive adjusting method, device and equipment, and the system comprises an FPGA which is used for outputting excitation signals with different frequencies for multiple times to obtain corresponding receiving signals, and comparing the characteristics of the excitation signals with the characteristics of the corresponding receiving signals to obtain a high-speed cable testing result; obtaining an attenuation mathematical model of the to-be-tested high-speed cable; the high-speed digital-to-analog conversion circuit is used for converting the excitation signal into an analog signal; the first automatic gain control circuit is used for automatically adjusting the transmission channel gain; and the second automatic gain control circuit is used for automatically adjusting the gain of the receiving channel. According to the invention, the FPGA is used as a processor, rapid acquisition and accurate analysis of cable signals are realized, an attenuation mathematical model of the cable is obtained, cable attenuation characteristics and channel consistency are analyzed on the basis of testing cable connectivity, and the influence of the cable on signal amplitude attenuation and phase change can be accurately reflected in an actual test circuit.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cable testing, and in particular to a high-speed cable testing system and an adaptive adjustment method, device and equipment. Background Art

[0002] Cables, especially high-speed cables, are key components of data transmission. Their performance and stability are receiving increasing attention. The most important thing is the connectivity of the cable. A multimeter is usually used to connect the two ends of the cable. The short-circuit effect of the multimeter is used to determine whether the cable under test is connected. If the two ends of the cable are connected, the multimeter will emit a "beep" sound. Otherwise, it will not emit a "beep" sound. In order to facilitate automated testing of the connectivity of the cable, a single-chip microcomputer (MCU) is usually used as a processor. The cable under test is connected between the input pin and the output pin of the MCU. The connectivity of the cable under test is determined based on whether the signal received by the input pin of the MCU is the same as the signal output by the output pin.

[0003] The solution of using MCU for automatic judgment can improve the test efficiency to a certain extent compared with the manual multimeter measurement method, but there is a problem of insufficient test coverage, especially for high-speed cables. In the data transmission system constructed by high-speed cables, the signal amplitude attenuation characteristics and signal phase change characteristics of the cable are particularly important. Especially in differential data transmission, the phase relationship of the P-end and N-end signals of the high-speed transmission cable is required to be maintained near 180°, and the signal amplitude must meet a certain threshold range to be stably received by the receiving end. The problem of directly using MCU for automatic judgment is that it cannot reflect the signal amplitude attenuation characteristics and signal phase change characteristics of the excitation signal after passing through a certain length of cable. Summary of the invention

[0004] In view of this, the present invention provides a high-speed cable testing system and an adaptive adjustment method, device and equipment to solve the problem that the signal amplitude attenuation characteristics and signal phase change characteristics after the excitation signal passes through a certain length of cable cannot be reflected.

[0005] In a first aspect, the present invention provides a high-speed cable testing system, the system comprising: an FPGA, a high-speed digital-to-analog conversion circuit, a high-speed analog-to-digital conversion circuit, a first automatic gain control circuit, and a second automatic gain control circuit, wherein: FPGA, whose transmitting end is connected to the input end of the high-speed digital-to-analog conversion circuit and is used to output the excitation signal, and whose receiving end is connected to the output end of the high-speed analog-to-digital conversion circuit and is used to input the receiving signal; A high-speed digital-to-analog conversion circuit, whose output terminal is connected to the input terminal of the first automatic gain control circuit, is used to convert the excitation signal into an analog signal; A first automatic gain control circuit, whose output end is connected to the receiving end of the high-speed cable to be tested, and is used to automatically adjust the gain of the transmission channel; A second automatic gain control circuit, whose input end is connected to the transmitting end of the high-speed cable to be tested, and whose output end is connected to the input end of the high-speed analog-to-digital conversion circuit, is used to automatically adjust the gain of the receiving channel; The FPGA is used to output excitation signals of different frequencies for multiple times to obtain corresponding receiving signals, and the attenuation mathematical model of the high-speed cable to be tested is obtained by comparing the characteristics of the multiple excitation signals with the characteristics of the corresponding receiving signals.

[0006] The high-speed cable test system provided by the present invention uses FPGA as a processor to achieve rapid acquisition and accurate analysis of cable signals, combines a high-speed analog-to-digital conversion circuit, a high-speed digital-to-analog conversion circuit, and an automatic gain control circuit, obtains a cable attenuation mathematical model, and analyzes the cable attenuation characteristics and channel consistency on the basis of testing the cable connectivity, which is conducive to accurately reflecting the influence of the cable on the signal amplitude attenuation and phase change in the actual test circuit.

[0007] In an optional implementation, the attenuation mathematical model includes: an amplitude attenuation characteristic curve and a phase characteristic curve, and excitation signals of different frequencies are input multiple times to obtain corresponding received signals. By comparing the characteristics of multiple excitation signals and the characteristics of the corresponding received signals, the attenuation mathematical model of the high-speed cable to be tested is obtained, including: Connecting the output end of the first automatic gain control circuit to the input end of the second automatic gain control circuit, inputting excitation signals of different frequencies for multiple times, and measuring phase error and amplitude error; Connecting the high-speed cable to be tested between the output end of the first automatic gain control circuit and the input end of the second automatic gain control circuit, inputting excitation signals of different frequencies multiple times, and obtaining the actual phase and actual amplitude of the corresponding received signal; Subtracting multiple actual phases from the phase error to obtain the phase of the high-speed cable to be tested at the corresponding frequency, and subtracting multiple actual amplitudes from the amplitude error to obtain the amplitude of the high-speed cable to be tested at the corresponding frequency; According to the phases of the high-speed cable to be tested and the amplitudes of the high-speed cable to be tested at multiple corresponding frequencies, an amplitude attenuation characteristic curve and a phase characteristic curve are obtained.

[0008] The high-speed cable testing system provided by the present invention utilizes multiple excitation signals of different frequencies and corresponding receiving signals to obtain an amplitude attenuation characteristic curve and a phase characteristic curve, which intuitively and accurately reflects the influence of the high-speed cable to be tested on the signal, and can reflect the signal amplitude attenuation characteristics and signal phase change characteristics after the excitation signal passes through the high-speed cable to be tested.

[0009] In a second aspect, the present invention provides a high-speed cable adaptive adjustment method, wherein the high-speed cable is connected between a test device and a device to be tested, and the method comprises: Acquire excitation amplitude information and excitation phase information of the excitation signal sent by the test device; The receiving amplitude information and the receiving phase information of the signal received by the test equipment are obtained by using the excitation amplitude information, the excitation phase information and the attenuation mathematical model of the high-speed cable. The attenuation mathematical model of the high-speed cable is an amplitude attenuation characteristic curve and a phase characteristic curve obtained by connecting the high-speed cable as the high-speed cable to be tested to the high-speed cable test system of the first aspect for testing. The received amplitude information is compared with a preset amplitude threshold, and if the received amplitude information is less than the preset amplitude threshold, the received amplitude information is adjusted by adjusting the excitation signal strength or the receiving channel gain; A phase error is determined according to the received phase information and the excitation phase information, and the phase error is compared with a preset error threshold. If the phase error is greater than the preset error threshold, the phase error is adjusted through phase compensation.

[0010] The high-speed cable adaptive adjustment method provided by the present invention obtains a received signal according to an excitation signal using an attenuation mathematical model of the high-speed cable, performs characteristic analysis on the received signal, and then makes corresponding adjustments and optimizations according to the analysis results, so that the attenuation characteristics and channel consistency of the high-speed cable meet the requirements of different test scenarios, thereby realizing normal function test verification of the device under test.

[0011] In an optional implementation, the receiving amplitude information and the receiving phase information of the received signal of the test device are obtained by using the excitation amplitude information, the excitation phase information, and the attenuation mathematical model of the high-speed cable, including: The amplitude attenuation characteristic curve of the high-speed cable is used to determine the cable amplitude error with the same frequency as the excitation signal, and the receiving amplitude information is determined according to the cable amplitude error and the excitation amplitude information; The phase characteristic curve of the high-speed cable is used to determine the cable phase error with the same frequency as the excitation signal, and the receiving phase information is determined according to the cable phase error and the excitation phase information.

[0012] The high-speed cable adaptive adjustment method provided by the present invention takes into account the influence of the high-speed cable itself on the signal amplitude and phase, so as to obtain more accurate amplitude and phase of the received signal, which is conducive to more accurate testing and analysis of the device to be tested.

[0013] In an optional implementation, the process of determining the preset amplitude threshold includes: Using multiple excitation signals with different amplitudes and the amplitude attenuation characteristic curve of the high-speed cable, multiple receiving signals with different amplitudes are obtained; The amplitudes of the received signals are compared, and the minimum amplitude is used as the preset amplitude threshold.

[0014] The high-speed cable adaptive adjustment method provided by the present invention can be used to optimize the received signal according to its amplitude attenuation characteristics, so that the received amplitude information meets the normal functional test requirements.

[0015] In an optional implementation, adjusting the received amplitude information by adjusting the excitation signal strength includes: increasing the intensity of the excitation signal multiple times according to a first preset step length to obtain an optimized excitation amplitude; According to the optimized excitation amplitude, the first optimized receiving amplitude is determined using the amplitude attenuation characteristic curve of the high-speed cable until the first optimized receiving amplitude is greater than a preset amplitude threshold or the number of adjustments is greater than a preset number of adjustments.

[0016] In an optional implementation, adjusting the received amplitude information by adjusting the receiving channel gain includes: increasing the receiving channel gain multiple times according to a second preset step length to obtain an optimized gain; According to the optimized gain and excitation amplitude information, the second optimized receiving amplitude is determined using the amplitude attenuation characteristic curve of the high-speed cable until the second optimized receiving amplitude is greater than the preset amplitude threshold or the number of adjustments is greater than the preset number of adjustments.

[0017] The high-speed cable adaptive adjustment method provided by the present invention improves the amplitude of the received signal by increasing the excitation signal strength or the receiving channel gain so that the amplitude of the received signal is greater than a preset amplitude threshold, thereby compensating for the amplitude attenuation characteristics of the high-speed cable and meeting the normal functional test of the device to be tested connected by the high-speed cable.

[0018] In an optional implementation, the excitation phase information includes: an excitation positive phase and an excitation negative phase, the receiving phase information includes: a receiving positive phase and a receiving negative phase, a phase error is determined according to the receiving phase information and the excitation phase information, and the phase error is compared with a preset error threshold, and if the phase error is greater than the preset error threshold, the phase error is adjusted by phase compensation, including: Calculate the positive phase difference between the receiving positive phase and the exciting positive phase, and the negative phase difference between the receiving negative phase and the exciting negative phase; Determine the phase error according to the positive phase difference and the negative phase difference; The phase error is compared with a preset error threshold, and if the phase error is greater than the preset error threshold, the phase error is adjusted by compensating for the excitation phase information of the excitation signal.

[0019] The high-speed cable adaptive adjustment method provided by the present invention reduces the phase delay caused by the high-speed cable through phase compensation, so that the phase errors of two channels of the received signal meet the channel consistency requirements, and realizes the normal function test of the device to be tested.

[0020] In a third aspect, the present invention provides a high-speed cable adaptive adjustment device, wherein the high-speed cable is connected between a test device and a device to be tested, and the device comprises: An excitation information acquisition module, used to acquire excitation amplitude information and excitation phase information of an excitation signal sent by a test device; A receiving information determination module, used to obtain receiving amplitude information and receiving phase information of a signal received by the test device by using the excitation amplitude information, the excitation phase information, and the attenuation mathematical model of the high-speed cable, wherein the attenuation mathematical model of the high-speed cable is an amplitude attenuation characteristic curve and a phase characteristic curve obtained by connecting the high-speed cable as a high-speed cable to be tested to the high-speed cable test system of the first aspect for testing; An amplitude adjustment module is used to compare the received amplitude information with a preset amplitude threshold, and if the received amplitude information is less than the preset amplitude threshold, the received amplitude information is adjusted by adjusting the excitation signal strength or the receiving channel gain; The phase adjustment module is used to determine the phase error according to the received phase information and the excitation phase information, and compare the phase error with a preset error threshold. If the phase error is greater than the preset error threshold, the phase error is adjusted through phase compensation.

[0021] In a fourth aspect, the present invention provides a computer device, comprising: a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, and the processor executing the method of the first aspect or any corresponding embodiment thereof by executing the computer instructions. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the specific implementation methods of the present invention or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 It is a structural schematic diagram of using an MCU to test cable connectivity in a related art according to an embodiment of the present invention; Figure 2 is a schematic structural diagram of a high-speed cable testing system according to an embodiment of the present invention; Figure 3is a schematic flow chart of a high-speed cable adaptive adjustment method according to an embodiment of the present invention; Figure 4 is a structural schematic diagram of a high-speed cable connection test device and a device to be tested in a high-speed cable adaptive adjustment method according to an embodiment of the present invention; Figure 5 is a flow chart of another high-speed cable adaptive adjustment method according to an embodiment of the present invention; Figure 6 It is a schematic diagram of a flow chart of increasing the adjustment amplitude of the excitation signal strength in the high-speed cable adaptive adjustment method according to an embodiment of the present invention; Figure 7 It is a schematic diagram of a flow chart of adjusting the amplitude by increasing the gain of a receiving channel in a high-speed cable adaptive adjustment method according to an embodiment of the present invention; Figure 8 is a schematic diagram of a process of adjusting a phase error by phase compensation in a high-speed cable adaptive adjustment method according to an embodiment of the present invention; Fig. 9 is a structural block diagram of a high-speed cable adaptive adjustment device according to an embodiment of the present invention; Fig.10 It is a schematic diagram of the hardware structure of a computer device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0024] In order to make the purpose, technical solution and advantages of the embodiments of the present invention clearer, the technical solution in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0025] The embodiment of the present invention provides a high-speed cable testing system and an adaptive adjustment method, which analyzes and compares the excitation signal and the received signal after passing through the cable to be tested through FPGA, so as to achieve the effect of reflecting the signal amplitude attenuation characteristics and signal phase change characteristics after the excitation signal passes through a certain length of cable.

[0026] MCU is often used to automatically determine the connectivity of the cable under test, such as Figure 1 The figure shows the connection diagram of using MCU to test the cable connectivity. The test process is as follows: (1) Turn on the MCU and it works normally.

[0027] (2) Short-circuit the MCU's input pin RX and output pin TX to perform short-circuit calibration: a.TX outputs low level "0", and the MCU's input pin RX detects low level "0"; b. When the TX output is high level "1", the MCU input pin RX detects low level "0", indicating that the calibration has failed. On the contrary, when the MCU input pin RX detects high level "1", it indicates that the calibration has been successful.

[0028] (3) Connect the cable to be tested between the input pin and output pin of the MCU: The TX output is a high level "1", and the MCU's input pin RX detects a low level "0", indicating that the cable under test is not connected. Conversely, the MCU's input pin RX detects a high level "1", indicating that the cable under test is connected.

[0029] Using MCU to test the cable can only test the connectivity of the cable, but the signal amplitude attenuation characteristics and signal phase change characteristics of the cable are also very important in actual use. However, the relevant technology cannot detect the signal amplitude attenuation characteristics and signal phase change characteristics of the cable, resulting in the situation that the signal cannot be received or the error between the received signal and the sent signal is too large when the cable is used for signal transmission. Therefore, it is necessary to improve the cable testing method and perform adaptive adjustments when the cable transmits the signal to reduce the impact of the cable on the transmission signal.

[0030] According to an embodiment of the present invention, a high-speed cable testing system embodiment is provided, such as Figure 2 As shown, the system includes: FPGA, a high-speed digital-to-analog conversion circuit DAC, a high-speed analog-to-digital conversion circuit ADC, a first automatic gain control circuit AGC1, and a second automatic gain control circuit AGC2. Figure 2 In the example above, a high-speed cable to be tested is used. If one FPGA is used to measure multiple high-speed cables to be tested, the expansion can be achieved by increasing the number of channels of the high-speed ADC and the high-speed DAC or by adding a multi-way selection switch at the front end of the FPGA. This will not be described in detail here.

[0031] like Figure 2 As shown, the FPGA has a transmitting end connected to the input end of the high-speed digital-to-analog conversion circuit for outputting an excitation signal, and a receiving end connected to the output end of the high-speed analog-to-digital conversion circuit for inputting a received signal.

[0032] Specifically, FPGA, as a processor, is suitable for the circuit architecture of high-speed ADC and high-speed DAC. FPGA processes data faster and with higher accuracy. The processing speed of MCU is usually at the us or ms level, while FPGA is parallel processing and its processing speed is usually at the ns level.

[0033] like Figure 2 As shown, the high-speed digital-to-analog conversion circuit has its output end connected to the input end of the first automatic gain control circuit and is used to convert the excitation signal into an analog signal.

[0034] Specifically, by using a high-speed DAC in the circuit structure, various required excitation signal sources, such as sine waves, square waves, triangle waves, etc., can be flexibly generated, so that the high-speed cable test system provided by this embodiment can meet different test requirements. By using a high-speed ADC, fast acquisition and accurate analysis of the high-speed cable signal to be tested can be achieved.

[0035] like Figure 2 As shown, the first automatic gain control circuit AGC1 has its output end connected to the receiving end of the high-speed cable to be tested, and is used to automatically adjust the gain of the transmission channel.

[0036] like Figure 2 As shown, the second automatic gain control circuit AGC2 has its input end connected to the transmitting end of the high-speed cable to be tested, and its output end connected to the input end of the high-speed analog-to-digital conversion circuit, for automatically adjusting the gain of the receiving channel.

[0037] The FPGA is used to output excitation signals of different frequencies for multiple times to obtain corresponding receiving signals, and the attenuation mathematical model of the high-speed cable to be tested is obtained by comparing the characteristics of the multiple excitation signals with the characteristics of the corresponding receiving signals.

[0038] Specifically, the transmitting end of the FPGA outputs an excitation signal. After passing through the high-speed DAC, the mathematical expression of the excitation signal is:

[0039] Among them, TX represents the excitation signal after passing through the high-speed DAC, represents the initial amplitude of the excitation signal, represents the initial gain of the excitation signal, pi represents the mathematical symbol π, f represents the initial frequency of the excitation signal, t represents time, Indicates the initial phase of the excitation signal.

[0040] After passing through the high-speed cable to be tested, the received signal received by the receiving end of the FPGA is expressed by the mathematical formula:

[0041] Among them, RX represents the received signal received by the FPGA receiving end, represents the initial amplitude of the received signal, represents the initial gain of the received signal, Indicates the initial phase of the received signal.

[0042] For high-speed cable test systems, the physical quantities that need to be measured are: Amplitude change: , phase change: The phase change is used to characterize the change in the phase difference between the two channels of the differential signal. After the excitation signal passes through the high-speed cable to be tested, it is transmitted back to the FPGA through the high-speed ADC. Inside the FPGA controller, the amplitude change can be measured through the fast Fourier transform (FFT) operation. and phase change .

[0043] The transmitting end of the FPGA outputs multiple excitation signals of different frequencies, and correspondingly receives multiple receiving signals. After FFT calculation inside the FPGA, multiple amplitude changes at different frequencies can be obtained. and multiple phase changes . Multiple amplitude changes Visualize the amplitude attenuation characteristic curve and multiple phase changes The phase characteristic curve is visualized and the amplitude attenuation characteristic curve and the phase characteristic curve are used as the attenuation mathematical model of the high-speed cable to be tested.

[0044] The high-speed cable test system provided in this embodiment uses FPGA as a processor to achieve rapid acquisition and accurate analysis of cable signals. It combines a high-speed analog-to-digital conversion circuit, a high-speed digital-to-analog conversion circuit, and an automatic gain control circuit to obtain a mathematical model of cable attenuation. On the basis of testing the connectivity of the cable, it analyzes the cable attenuation characteristics and channel consistency, which is conducive to accurately reflecting the influence of the cable on the signal amplitude attenuation and phase change in the actual test circuit.

[0045] In some optional implementations, the attenuation mathematical model includes: an amplitude attenuation characteristic curve and a phase characteristic curve, and the excitation signals of different frequencies are input multiple times to obtain the corresponding received signals. By comparing the characteristics of the multiple excitation signals and the characteristics of the corresponding received signals, the attenuation mathematical model of the high-speed cable to be tested is obtained, including: The output end of the first automatic gain control circuit is connected to the input end of the second automatic gain control circuit, and excitation signals of different frequencies are input multiple times to measure the phase error and amplitude error.

[0046] Specifically, the high-speed cable test system itself may have errors, so self-calibration is required first, that is, short-circuiting the transmission channel of the excitation signal and the transmission channel of the receiving signal, without passing through the high-speed cable to be tested, and measuring the additional amplitude error and additional phase error introduced by the circuit itself.

[0047] The additional amplitude error and additional phase error are also related to the frequency of the excitation signal. Therefore, when performing performance testing on the high-speed cable to be tested, it is necessary to measure the phase error and amplitude error under multiple excitation signals of different frequencies.

[0048] The high-speed cable to be tested is connected between the output end of the first automatic gain control circuit and the input end of the second automatic gain control circuit, and excitation signals of different frequencies are input multiple times to obtain the actual phase and actual amplitude of the corresponding received signal.

[0049] Specifically, a high-speed cable to be tested with a length of L is connected between the output end of the first automatic gain control circuit and the input end of the second automatic gain control circuit, the excitation signal frequency is set to f, and the actual phase and actual amplitude of the received signal corresponding to the recording frequency f are measured. Different excitation frequencies f are adjusted to achieve the measurement of the phase and amplitude of the high-speed cable to be tested at different excitation frequencies, and the actual phases and actual amplitudes of multiple received signals are obtained.

[0050] The phase of the high-speed cable to be tested at the corresponding frequency is obtained by subtracting multiple actual phases from the phase error, and the amplitude of the high-speed cable to be tested at the corresponding frequency is obtained by subtracting multiple actual amplitudes from the amplitude error.

[0051] According to the phases of the high-speed cable to be tested and the amplitudes of the high-speed cable to be tested at multiple corresponding frequencies, an amplitude attenuation characteristic curve and a phase characteristic curve are obtained.

[0052] Specifically, multiple actual phases are subtracted from the phase errors to obtain the phases of the high-speed cable to be tested at the corresponding multiple frequencies f, and multiple actual amplitudes are subtracted from the amplitude errors to obtain the amplitudes of the high-speed cable to be tested at the corresponding multiple frequencies f. FPGA is used to perform FFT operation on the phases and amplitudes of the multiple high-speed cables to be tested to obtain the amplitude attenuation characteristic curve and phase characteristic curve of the high-speed cable to be tested.

[0053] The high-speed cable testing system provided in this embodiment uses multiple excitation signals of different frequencies and corresponding received signals to obtain an amplitude attenuation characteristic curve and a phase characteristic curve, which intuitively and accurately reflects the impact of the high-speed cable to be tested on the signal, and can reflect the signal amplitude attenuation characteristics and signal phase change characteristics after the excitation signal passes through the high-speed cable to be tested.

[0054] In this embodiment, a high-speed cable adaptive adjustment method is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here. Figure 3 is a flow chart of a high-speed cable adaptive adjustment method according to an embodiment of the present invention, wherein the high-speed cable is connected between a test device and a device under test, such as Figure 3 As shown, the process includes the following steps: Step S301, obtaining excitation amplitude information and excitation phase information of an excitation signal sent by a test device.

[0055] Specifically, in actual testing and usage scenarios, the composition and connection of test equipment, high-speed cables, and devices under test are as follows: Figure 4 As shown, the test device includes a sending excitation signal port TX1 and a receiving signal port RX1, and the device under test includes a sending excitation signal port TX2 and a receiving signal port RX2, wherein the TX1 excitation signal of the test device is connected to the RX2 receiving signal of the device under test after passing through a high-speed cable, and the RX1 receiving signal of the test device is connected to the TX2 excitation signal of the device under test after passing through a high-speed cable.

[0056] For the test equipment, the excitation amplitude information and the excitation phase information of the excitation signal are known and can be directly obtained.

[0057] Step S302, using the excitation amplitude information, excitation phase information, and the attenuation mathematical model of the high-speed cable to obtain the receiving amplitude information and the receiving phase information of the signal received by the test equipment. The attenuation mathematical model of the high-speed cable is an amplitude attenuation characteristic curve and a phase characteristic curve obtained by connecting the high-speed cable as the high-speed cable to be tested to the high-speed cable test system in the above embodiment.

[0058] Specifically, when the test device tests the device under test, an excitation signal is sent to the receiving end RX2 of the device under test through the transmitting end TX1. After the excitation signal passes through the device under test, it returns to each test device through the transmitting end RX2 of the device under test. The receiving signal received by the receiving end RX1 of the test device is analyzed with the excitation signal to determine the test performance of the device under test.

[0059] The amplitude attenuation characteristic curve of the high-speed cable describes the amplitude change of the signal passing through the high-speed cable at different frequencies. According to the calculation formula of the amplitude change , the excitation amplitude is , the transmission channel gain is When , the received signal amplitude is The phase characteristic curve of the high-speed cable describes the phase change of the signal passing through the high-speed cable at different frequencies. According to the calculation formula of the phase change , the initial phase of the excitation signal is When , the initial phase of the received signal is .

[0060] Step S303: compare the received amplitude information with a preset amplitude threshold value. If the received amplitude information is less than the preset amplitude threshold value, adjust the received amplitude information by adjusting the excitation signal strength or the receiving channel gain.

[0061] Specifically, since the signal will attenuate and the amplitude will decrease when passing through the high-speed cable, if the amplitude of the signal is not less than the amplitude change of the attenuation of the high-speed cable, it means that the attenuation of the high-speed cable will not affect the normal functional test of the device under test, and its attenuation characteristics meet the test requirements; if the amplitude of the signal is less than the amplitude change of the attenuation of the high-speed cable, the signal is completely attenuated, and the receiving signal cannot be received at the receiving end of the test device, so it is necessary to compare the received amplitude information with the preset amplitude threshold. If the received amplitude information is less than the preset amplitude threshold, the received amplitude information is adjusted by adjusting the excitation signal strength or the receiving channel gain to increase the received amplitude so that it will not be completely attenuated by the high-speed cable.

[0062] Step S304, determining a phase error according to the received phase information and the excitation phase information, and comparing the phase error with a preset error threshold, and if the phase error is greater than the preset error threshold, adjusting the phase error through phase compensation.

[0063] Specifically, when transmitting high-speed serial signals, the high-speed serial signals are usually differential signals (P-end and N-end). Ideally, the phase difference between the P-end and N-end signals is 180°. During the transmission of high-speed serial signals, the phase error of the P-end and N-end signals of the cable is required to be within a certain range to ensure stable transmission of the signal. Since the signal will experience phase delay when passing through the high-speed cable, the phase error between the P-end and the N-end may become larger. If the phase error is not greater than the preset error threshold, it means that the phase delay of the high-speed cable does not affect the normal functional test of the device under test, and its phase characteristics meet the test requirements; if the phase error is greater than the preset error threshold, the signal may not be able to be transmitted stably, so in order to meet the normal functional test, the phase needs to be compensated to reduce the phase error.

[0064] The high-speed cable adaptive adjustment method provided in this embodiment obtains a received signal according to an excitation signal using an attenuation mathematical model of the high-speed cable. After performing a characteristic analysis on the received signal, corresponding adjustments and optimizations are made according to the analysis results to improve the amplitude and phase parameters, so that the attenuation characteristics and channel consistency of the high-speed cable meet the requirements of different test scenarios, thereby achieving normal functional test verification of the device under test.

[0065] In this embodiment, a high-speed cable adaptive adjustment method is provided, which can be used in the above-mentioned computer system. Figure 5 is a flow chart of a high-speed cable adaptive adjustment method according to an embodiment of the present invention, wherein the high-speed cable is connected between a test device and a device under test, such as Figure 5 As shown, the process includes the following steps: Step S501, obtaining the excitation amplitude information and excitation phase information of the excitation signal sent by the test device. Figure 3 Step S301 of the illustrated embodiment will not be described in detail here.

[0066] Step S502, using the excitation amplitude information, excitation phase information, and the attenuation mathematical model of the high-speed cable to obtain the receiving amplitude information and receiving phase information of the signal received by the test equipment. The attenuation mathematical model of the high-speed cable is an amplitude attenuation characteristic curve and a phase characteristic curve obtained by connecting the high-speed cable as the high-speed cable to be tested to the high-speed cable test system in the previous embodiment for testing.

[0067] Specifically, the above step S502 includes: Step S5021, using the amplitude attenuation characteristic curve of the high-speed cable to determine the cable amplitude error with the same frequency as the excitation signal, and determining the received amplitude information according to the cable amplitude error and the excitation amplitude information.

[0068] Specifically, the amplitude attenuation characteristic curve of the high-speed cable describes the amplitude change of the signal passing through the high-speed cable at different frequencies, that is, the cable amplitude error. According to the calculation formula of the amplitude change , the excitation amplitude is , the transmission channel gain is When , the received signal amplitude is .

[0069] Step S5022: determine the cable phase error with the same frequency as the excitation signal using the phase characteristic curve of the high-speed cable, and determine the receiving phase information according to the cable phase error and the excitation phase information.

[0070] Specifically, the phase characteristic curve of the high-speed cable describes the phase change of the signal passing through the high-speed cable at different frequencies, that is, the cable phase error. According to the calculation formula of the phase change , the initial phase of the excitation signal is When , the initial phase of the received signal is , that is, the received phase information is .

[0071] The high-speed cable adaptive adjustment method provided in this embodiment takes into account the influence of the high-speed cable itself on the signal amplitude and phase, so that the amplitude and phase of the received signal are more accurate, which is conducive to more accurate testing and analysis of the device under test.

[0072] Step S503: compare the received amplitude information with a preset amplitude threshold value. If the received amplitude information is less than the preset amplitude threshold value, adjust the received amplitude information by adjusting the excitation signal strength or the receiving channel gain.

[0073] In some optional implementations, the process of determining the preset amplitude threshold includes: Step a1, using a plurality of excitation signals with different amplitudes and the amplitude attenuation characteristic curve of the high-speed cable, to obtain a plurality of receiving signals with different amplitudes.

[0074] Step a2, comparing the amplitudes of the received signals, and taking the minimum amplitude as the preset amplitude threshold.

[0075] Specifically, the preset amplitude threshold refers to the minimum threshold value of the received signal amplitude transmitted by the high-speed ADC to the FPGA in the high-speed cable test system of the above embodiment. If the received signal amplitude is less than the preset amplitude threshold, it means that the attenuation introduced by the high-speed cable between the test device and the device under test is too large, resulting in the test device being unable to receive the signal. The preset amplitude threshold needs to be greater than the amplitude change of the high-speed cable attenuation.

[0076] Generally speaking, the amplitude change of high-speed cable attenuation is related to the cable material, cable length and signal frequency, which can be expressed by the following mathematical expression:

[0077] Where, Att represents the amplitude change of high-speed electrical attenuation; K0 represents the attenuation coefficient per unit length; It represents the attenuation formula of cable per unit length at the operating frequency F; K1 represents the square root relationship between cable per unit length and frequency F; K2 represents the offline coefficient of cable per unit length and frequency F; B: represents the bias coefficient of cable attenuation compensation.

[0078] The amplitude change of high-speed cable attenuation determined by the above expression is only applicable to brand-new cables that meet manufacturing standards. However, as the cable is used for a longer time and in different usage environments, the change of high-speed cable attenuation may deviate. Therefore, in practical applications, multiple excitation signals with different amplitudes and the amplitude attenuation characteristic curve of the high-speed cable can be used to obtain multiple received signals with different amplitudes. By comparing the amplitudes of each received signal, the minimum amplitude is used as the preset amplitude threshold. The smaller the amplitude difference between the signals, the more accurate the preset amplitude threshold is.

[0079] The high-speed cable adaptive adjustment method provided in this embodiment, the influence of cable aging or usage environment will affect the preset amplitude threshold of the cable, and the minimum amplitude of the signal that can be received is used as the preset amplitude threshold. When the received signal is optimized according to its amplitude attenuation characteristics, the received amplitude information meets the normal functional test requirements.

[0080] Specifically, in the above step S503, adjusting the received amplitude information by adjusting the excitation signal strength includes: Step S5031, increasing the excitation signal strength multiple times according to a first preset step length to obtain an optimized excitation amplitude.

[0081] Specifically, when the received amplitude in the received amplitude information is less than the preset amplitude threshold, it means that the cable attenuation characteristic does not meet the test requirements, and the excitation signal strength can be increased. For the expression of the excitation signal: , which is equivalent to increasing the initial gain of the excitation signal , the initial gain increases, indicating that the amplitude of the excitation signal increases, and the optimized excitation amplitude is obtained. According to the received signal amplitude calculation formula , it can be determined that after the excitation signal passes through the high-speed cable, the amplitude of the received signal received by the ADC Increase.

[0082] Step S5032, according to the optimized excitation amplitude, using the amplitude attenuation characteristic curve of the high-speed cable, determine the first optimized receiving amplitude until the first optimized receiving amplitude is greater than the preset amplitude threshold or the number of adjustments is greater than the preset number of adjustments.

[0083] Specifically, after each increase in the excitation signal strength, the first optimized receiving amplitude is determined according to the optimized excitation amplitude using the amplitude attenuation characteristic curve of the high-speed cable, and the first optimized receiving amplitude is compared with the preset amplitude threshold, such as Figure 6 As shown, within the preset adjustment times, if the first optimized receiving amplitude is not less than the preset amplitude threshold, it means that compensating the attenuation characteristics of the high-speed cable by increasing the excitation signal strength is effective, and the optimized excitation amplitude after increasing the excitation signal strength can be used to test and verify the normal function of the device under test. If the number of adjustments to increase the excitation signal strength exceeds the preset adjustment times, and the first optimized receiving amplitude is still less than the preset amplitude threshold, it means that the attenuation introduced by the high-speed cable is too large and cannot meet the test and verification requirements for the normal function of the device under test. At this time, you can choose to replace the high-speed cable with a smaller attenuation.

[0084] Specifically, in the above step S503, the received amplitude information is adjusted by adjusting the receiving channel gain, including: Step S5033: Increase the receiving channel gain multiple times according to the second preset step size to obtain an optimized gain.

[0085] Specifically, when the received amplitude in the received amplitude information is less than the preset amplitude threshold, it means that the cable attenuation characteristic does not meet the test requirements, and the receiving channel gain can be increased. For the expression of the received signal: , which is equivalent to increasing the initial gain of the received signal , the initial gain of the received signal increases, and the amplitude of the received signal received by the ADC Increase.

[0086] Step S5034, according to the optimized gain and excitation amplitude information, using the amplitude attenuation characteristic curve of the high-speed cable, determine the second optimized receiving amplitude until the second optimized receiving amplitude is greater than the preset amplitude threshold or the number of adjustments is greater than the preset number of adjustments.

[0087] Specifically, after each increase in the receiving channel gain, the second optimized receiving amplitude is determined according to the optimized gain and the amplitude attenuation characteristic curve of the high-speed cable, and the second optimized receiving amplitude is compared with the preset amplitude threshold, such as Figure 7 As shown, within the preset adjustment times, if the second optimized receiving amplitude is not less than the preset amplitude threshold, it means that the attenuation characteristics of the high-speed cable are effectively compensated by increasing the receiving channel gain, and the optimized excitation amplitude after increasing the receiving channel gain can be used to test and verify the normal function of the device under test. If the number of adjustments to increase the excitation signal strength exceeds the preset adjustment times, and the second optimized receiving amplitude is still less than the preset amplitude threshold, it means that the attenuation introduced by the high-speed cable is too large and cannot meet the test and verification requirements for the normal function of the device under test. At this time, you can choose to replace the high-speed cable with a smaller attenuation.

[0088] It should be noted that the adjustment methods for increasing the excitation signal strength and increasing the receiving channel gain can be selected to be used separately or adjusted together in a permutation and combination manner according to actual conditions, and there is no limitation here.

[0089] The high-speed cable adaptive adjustment method provided in this embodiment increases the amplitude of the received signal by increasing the excitation signal strength or the receiving channel gain so that the amplitude of the received signal is greater than a preset amplitude threshold, thereby compensating for the amplitude attenuation characteristics of the high-speed cable and meeting the normal functional test of the device under test connected by the high-speed cable.

[0090] Step S504, determining a phase error according to the received phase information and the excitation phase information, and comparing the phase error with a preset error threshold, and if the phase error is greater than the preset error threshold, adjusting the phase error through phase compensation.

[0091] Specifically, the excitation phase information includes: an excitation positive phase and an excitation negative phase, and the receiving phase information includes: a receiving positive phase and a receiving negative phase. The above step S404 includes: Step S5041, calculating the positive phase difference between the receiving positive phase and the exciting positive phase, and the negative phase difference between the receiving negative phase and the exciting negative phase.

[0092] Specifically, high-speed serial signals are usually differential signals (P-end and N-end). The phase difference between the P-end and N-end signals in normal transmission is 180°, but the signal transmission in the high-speed cable will cause phase delay, and the P-end signal delay may be different from the N-end signal delay, so there will be a phase error. Calculate the positive phase difference between the receiving positive pole (P-end) phase and the excitation positive pole (P-end) phase, and the negative phase difference between the receiving negative pole (N-end) phase and the excitation negative pole (N-end) phase.

[0093] Step S5042, determining the phase error according to the positive phase difference and the negative phase difference.

[0094] Specifically, the phase error is obtained by subtracting the positive phase difference from the negative phase difference. For example, if the positive phase difference is 10° and the negative phase difference is 2°, the phase error is 8°. This is only an example, but not limited to this.

[0095] Step S5043: compare the phase error with a preset error threshold. If the phase error is greater than the preset error threshold, adjust the phase error by compensating for the excitation phase information of the excitation signal.

[0096] Specifically, the preset error threshold is an error threshold that can ensure stable signal transmission according to actual conditions. The calculated phase error is compared with the preset error threshold. If the phase error is less than or equal to the preset error threshold, it means that the channel consistency of the high-speed cable meets the requirements, and the device under test can be tested for normal functions. If the phase error is greater than the preset error threshold, it is necessary to compensate for the excitation phase information of the excitation signal and adjust the phase error. The compensation can be performed through the internal digital phase information of the FPGA, so that the initial phase of the P and N ends of the excitation signal has a delay in the opposite direction of the phase error, so as to ensure that the phase error is reduced after passing through the high-speed cable.

[0097] In actual testing, the high-speed cable is connected between the test device and the device under test. If there is no FPGA processor in the actual test structure, the FPGA in the high-speed cable test system of the above embodiment can be used to perform internal phase compensation, and the compensated digital phase information can be saved. The compensated digital phase information can be called by the main controller in the actual test structure to achieve phase compensation.

[0098] like Figure 8As shown, phase compensation may need to be adjusted multiple times. After each phase compensation, the phase error needs to be calculated again and compared with the preset error threshold. If the phase error after phase compensation is not greater than the preset error threshold within the preset adjustment times, the phase compensation is stopped, indicating that the phase compensation method is effective and the cable channel consistency requirements can be met after compensation; if the adjustment times are greater than the preset adjustment times, but the phase error is still greater than the preset error threshold, it means that the phase compensation method is invalid, the cable channel consistency is poor, and it cannot meet the normal function test of the device under test. At this time, you can choose to replace the high-speed cable.

[0099] The high-speed cable adaptive adjustment method provided in this embodiment reduces the phase delay caused by the high-speed cable through phase compensation, so that the phase error of the two channels of the received signal meets the channel consistency requirement, thereby achieving normal function testing of the device to be tested.

[0100] In this embodiment, a high-speed cable adaptive adjustment device is also provided, which is used to implement the above-mentioned embodiments and preferred implementation modes, and the descriptions that have been made will not be repeated. As used below, the term "module" can implement a combination of software and / or hardware of a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, the implementation of hardware, or a combination of software and hardware, is also possible and conceivable.

[0101] This embodiment provides a high-speed cable adaptive adjustment device, wherein the high-speed cable is connected between a test device and a device to be tested. Fig. 9 As shown, including: The excitation information acquisition module 901 is used to acquire the excitation amplitude information and excitation phase information of the excitation signal sent by the test device.

[0102] The receiving information determination module 902 is used to obtain the receiving amplitude information and receiving phase information of the signal received by the test equipment using the excitation amplitude information, the excitation phase information, and the attenuation mathematical model of the high-speed cable. The attenuation mathematical model of the high-speed cable is an amplitude attenuation characteristic curve and a phase characteristic curve obtained by connecting the high-speed cable as the high-speed cable to be tested to the high-speed cable test system in the above embodiment for testing.

[0103] The amplitude adjustment module 903 is used to compare the received amplitude information with a preset amplitude threshold, and if the received amplitude information is less than the preset amplitude threshold, adjust the received amplitude information by adjusting the excitation signal strength or the receiving channel gain.

[0104] The phase adjustment module 904 is used to determine the phase error according to the received phase information and the excitation phase information, and compare the phase error with a preset error threshold. If the phase error is greater than the preset error threshold, the phase error is adjusted through phase compensation.

[0105] In some optional implementations, the received information determination module 902 includes: The amplitude information determination unit is used to determine the cable amplitude error with the same frequency as the excitation signal by using the amplitude attenuation characteristic curve of the high-speed cable, and determine the received amplitude information according to the cable amplitude error and the excitation amplitude information.

[0106] The phase information determination unit is used to determine the cable phase error with the same frequency as the excitation signal by using the phase characteristic curve of the high-speed cable, and determine the receiving phase information according to the cable phase error and the excitation phase information.

[0107] In some optional implementations, the amplitude adjustment module 903 includes: The amplitude optimization unit is used to increase the intensity of the excitation signal multiple times according to a first preset step length to obtain an optimized excitation amplitude.

[0108] The first optimized amplitude determination unit is used to determine the first optimized receiving amplitude according to the optimized excitation amplitude and using the amplitude attenuation characteristic curve of the high-speed cable until the first optimized receiving amplitude is greater than the preset amplitude threshold or the number of adjustments is greater than the preset number of adjustments.

[0109] The gain optimization unit is used to increase the receiving channel gain multiple times according to the second preset step size to obtain an optimized gain.

[0110] The second optimized amplitude determination unit is used to determine the second optimized receiving amplitude according to the optimized gain and excitation amplitude information and using the amplitude attenuation characteristic curve of the high-speed cable until the second optimized receiving amplitude is greater than the preset amplitude threshold or the number of adjustments is greater than the preset number of adjustments.

[0111] In some optional implementations, the phase adjustment module 904 includes: The phase difference calculation unit is used to calculate the positive phase difference between the receiving positive phase and the exciting positive phase, and the negative phase difference between the receiving negative phase and the exciting negative phase.

[0112] The phase error calculation unit is used to determine the phase error according to the positive phase difference and the negative phase difference.

[0113] The phase compensation unit is used to compare the phase error with a preset error threshold, and if the phase error is greater than the preset error threshold, the phase error is adjusted by compensating for the excitation phase information of the excitation signal.

[0114] The further functional description of each of the above modules and units is the same as that of the above corresponding embodiments and will not be repeated here.

[0115] The high-speed cable adaptive adjustment device in this embodiment is presented in the form of a functional unit, where the unit refers to an ASIC (Application Specific Integrated Circuit) circuit, a processor and memory that executes one or more software or fixed programs, and / or other devices that can provide the above functions.

[0116] The embodiment of the present invention also provides a computer device having the above Fig. 9 The high-speed cable adaptive adjustment device is shown.

[0117] See also Fig.10 , Fig.10 is a schematic diagram of the structure of a computer device provided by an optional embodiment of the present invention, such as Fig.10 As shown, the computer device includes: one or more processors 10, a memory 20, and interfaces for connecting various components, including high-speed interfaces and low-speed interfaces. Various components are connected to each other using different buses for communication, and can be installed on a common mainboard or installed in other ways as needed. The processor can process the instructions executed in the computer device, including instructions stored in or on the memory to display the graphical information of the GUI on an external input / output device (such as, a display device coupled to the interface). In some optional embodiments, if necessary, multiple processors and / or multiple buses can be used together with multiple memories and multiple memories. Similarly, multiple computer devices can be connected, and each device provides some necessary operations (for example, as a server array, a group of blade servers, or a multi-processor system). Fig.10 A processor 10 is taken as an example.

[0118] The processor 10 may be a central processing unit, a network processor or a combination thereof. The processor 10 may further include a hardware chip. The hardware chip may be a dedicated integrated circuit, a programmable logic device or a combination thereof. The programmable logic device may be a complex programmable logic device, a field programmable gate array, a general purpose array logic or any combination thereof.

[0119] The memory 20 stores instructions executable by at least one processor 10, so that the at least one processor 10 executes the method shown in the above embodiment.

[0120] The memory 20 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application required for at least one function; the data storage area may store data created according to the use of the computer device, etc. In addition, the memory 20 may include a high-speed random access memory, and may also include a non-transient memory, such as at least one disk storage device, a flash memory device, or other non-transient solid-state storage device. In some optional embodiments, the memory 20 may optionally include a memory remotely arranged relative to the processor 10, and these remote memories may be connected to the computer device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0121] The memory 20 may include a volatile memory, such as a random access memory; the memory may also include a non-volatile memory, such as a flash memory, a hard disk or a solid state drive; the memory 20 may also include a combination of the above types of memory.

[0122] The computer device further comprises a communication interface 30 for the computer device to communicate with other devices or a communication network.

[0123] Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the present invention, and such modifications and variations are all within the scope defined by the appended claims.

Claims

1. A high-speed cable testing system, characterized in that: The system comprises: an FPGA, a high-speed digital-to-analog conversion circuit, a high-speed analog-to-digital conversion circuit, a first automatic gain control circuit, and a second automatic gain control circuit, wherein: FPGA, whose transmitting end is connected to the input end of the high-speed digital-to-analog conversion circuit and is used to output an excitation signal, and whose receiving end is connected to the output end of the high-speed analog-to-digital conversion circuit and is used to input a receiving signal; A high-speed digital-to-analog conversion circuit, whose output end is connected to the input end of the first automatic gain control circuit, and is used to convert the excitation signal into an analog signal; A first automatic gain control circuit, whose output end is connected to the receiving end of the high-speed cable to be tested, and is used to automatically adjust the gain of the transmission channel; A second automatic gain control circuit, whose input end is connected to the transmitting end of the high-speed cable to be tested, and whose output end is connected to the input end of the high-speed analog-to-digital conversion circuit, is used to automatically adjust the gain of the receiving channel; The FPGA is used to output excitation signals of different frequencies for multiple times to obtain corresponding receiving signals, and to obtain an attenuation mathematical model of the high-speed cable to be tested by comparing the characteristics of the multiple excitation signals with the characteristics of the corresponding receiving signals.

2. The system according to claim 1, characterized in that The attenuation mathematical model includes: an amplitude attenuation characteristic curve and a phase characteristic curve. Multiple excitation signals are input multiple times to obtain multiple receiving signals. By comparing the characteristics of the multiple excitation signals with the characteristics of the corresponding receiving signals, the attenuation mathematical model of the high-speed cable to be tested is obtained, including: Connecting the output end of the first automatic gain control circuit to the input end of the second automatic gain control circuit, inputting excitation signals of different frequencies for multiple times, and measuring phase error and amplitude error; Connecting the high-speed cable to be tested between the output end of the first automatic gain control circuit and the input end of the second automatic gain control circuit, inputting excitation signals of different frequencies multiple times, and obtaining the actual phase and actual amplitude of the corresponding received signal; Subtracting multiple actual phases from the phase error to obtain the phase of the high-speed cable to be tested at the corresponding frequency, and subtracting multiple actual amplitudes from the amplitude error to obtain the amplitude of the high-speed cable to be tested at the corresponding frequency; According to the phases of the high-speed cable to be tested and the amplitudes of the high-speed cable to be tested at multiple corresponding frequencies, an amplitude attenuation characteristic curve and a phase characteristic curve are obtained.

3. A high-speed cable adaptive adjustment method, wherein the high-speed cable is connected between a test device and a device under test, characterized in that: The method comprises: Acquire excitation amplitude information and excitation phase information of the excitation signal sent by the test device; The receiving amplitude information and the receiving phase information of the signal received by the test equipment are obtained by using the excitation amplitude information, the excitation phase information and the attenuation mathematical model of the high-speed cable, wherein the attenuation mathematical model of the high-speed cable is an amplitude attenuation characteristic curve and a phase characteristic curve obtained by connecting the high-speed cable as the high-speed cable to be tested to the high-speed cable test system described in claim 1 or 2 for testing; Comparing the received amplitude information with a preset amplitude threshold, and if the received amplitude information is less than the preset amplitude threshold, adjusting the received amplitude information by adjusting the excitation signal strength or the receiving channel gain; A phase error is determined according to the received phase information and the excitation phase information, and the phase error is compared with a preset error threshold. If the phase error is greater than the preset error threshold, the phase error is adjusted through phase compensation.

4. The method according to claim 3, characterized in that The receiving amplitude information and receiving phase information of the receiving signal of the test equipment are obtained by using the excitation amplitude information, the excitation phase information and the attenuation mathematical model of the high-speed cable, including: Determine the cable amplitude error with the same frequency as the excitation signal by using the amplitude attenuation characteristic curve of the high-speed cable, and determine the receiving amplitude information according to the cable amplitude error and the excitation amplitude information; The phase characteristic curve of the high-speed cable is used to determine the cable phase error with the same frequency as the excitation signal, and the receiving phase information is determined according to the cable phase error and the excitation phase information.

5. The method according to claim 3, characterized in that: The determination process of the preset amplitude threshold includes: Using multiple excitation signals with different amplitudes and the amplitude attenuation characteristic curve of the high-speed cable, multiple receiving signals with different amplitudes are obtained; The amplitudes of the received signals are compared, and the minimum amplitude is used as the preset amplitude threshold.

6. The method according to claim 3 or 5, characterized in that: The received amplitude information is adjusted by adjusting the excitation signal strength, including: increasing the intensity of the excitation signal multiple times according to a first preset step length to obtain an optimized excitation amplitude; According to the optimized excitation amplitude, the first optimized receiving amplitude is determined using the amplitude attenuation characteristic curve of the high-speed cable until the first optimized receiving amplitude is greater than a preset amplitude threshold or the number of adjustments is greater than a preset number of adjustments.

7. The method according to claim 3 or 5, characterized in that: The received amplitude information is adjusted by adjusting the receiving channel gain, including: increasing the receiving channel gain multiple times according to a second preset step length to obtain an optimized gain; According to the optimized gain and excitation amplitude information, the second optimized receiving amplitude is determined using the amplitude attenuation characteristic curve of the high-speed cable until the second optimized receiving amplitude is greater than the preset amplitude threshold or the number of adjustments is greater than the preset number of adjustments.

8. The method according to claim 3, characterized in that The excitation phase information includes: an excitation positive phase and an excitation negative phase, the receiving phase information includes: a receiving positive phase and a receiving negative phase, a phase error is determined according to the receiving phase information and the excitation phase information, and the phase error is compared with a preset error threshold, and if the phase error is greater than the preset error threshold, the phase error is adjusted by phase compensation, including: Calculate the positive phase difference between the receiving positive phase and the exciting positive phase, and the negative phase difference between the receiving negative phase and the exciting negative phase; Determine a phase error according to the positive phase difference and the negative phase difference; The phase error is compared with a preset error threshold, and if the phase error is greater than the preset error threshold, the phase error is adjusted by compensating for the excitation phase information of the excitation signal.

9. A high-speed cable adaptive adjustment device, wherein the high-speed cable is connected between a test device and a device to be tested, characterized in that: The device comprises: An excitation information acquisition module, used to acquire excitation amplitude information and excitation phase information of an excitation signal sent by a test device; A receiving information determination module, used to obtain receiving amplitude information and receiving phase information of a signal received by a test device using excitation amplitude information, excitation phase information, and an attenuation mathematical model of a high-speed cable, wherein the attenuation mathematical model of the high-speed cable is an amplitude attenuation characteristic curve and a phase characteristic curve obtained by connecting a high-speed cable as a high-speed cable to be tested to the high-speed cable test system according to claim 1 or 2 for testing; An amplitude adjustment module, used for comparing the received amplitude information with a preset amplitude threshold, and if the received amplitude information is less than the preset amplitude threshold, adjusting the received amplitude information by adjusting the excitation signal strength or the receiving channel gain; The phase adjustment module is used to determine the phase error according to the received phase information and the excitation phase information, and compare the phase error with a preset error threshold. If the phase error is greater than the preset error threshold, the phase error is adjusted through phase compensation.

10. A computer device, characterized in that: include: A memory and a processor, wherein the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the method according to any one of claims 3 to 8 by executing the computer instructions.

Citation Information

Patent Citations

  • Device and method for automatic adjusting resistance in electronic apparatus

    CN101094334A

  • Multifunctional electric cable failure detector

    CN101241164A

  • Cable testing method based on simplified hardware circuit

    CN104297602A

  • Automatic amplitude adjustment method applied to cable transmission and equalizer

    CN107517331A

  • Test system, test method, test device and test equipment of high-speed cable

    CN114325489A