Loss compensation device and test method thereof, electronic device and storage medium
By combining the base board and expansion board of the loss compensation device with multiple line length compensation cables, the problem of inaccurate overall link loss adjustment in bit error rate testing was solved, realizing real-time adjustment and automated testing.
Patent Information
- Application Number
- CN202310291482.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-03-23
- Publication Date
- 2026-02-17
- Estimated Expiration
- 2043-03-23
AI Technical Summary
In existing technologies, bit error rate testing equipment fails to adjust the overall link loss value in real time, resulting in inaccurate testing.
The loss compensation device utilizes a base board and an expansion board combined with multiple compensation cables of different lengths. By switching the cable length, the loss value can be adjusted, and an integrated circuit control chip can be optionally added to achieve automated switching.
It enables real-time adjustment of the overall link loss value based on the high-speed cable under test, improving testing accuracy and automation, and adapting to different business and cost requirements.
Smart Images

Figure CN116318253B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of bit error rate testing technology, and in particular to a loss compensation device and its testing method, electronic equipment and storage medium. Background Technology
[0002] A bit error rate tester consists of two parts: a transmitter and a receiver. The transmitter's test code generator produces a known test digital sequence. This sequence, after encoding, is sent to the input of the system under test (SUT). After transmission by SUT, the output enters the receiver's decoding section, where a synchronization clock is obtained from the received signal. The receiver's test code generator produces the same synchronized digital sequence as the transmitter and compares it with the received signal. If the signals are inconsistent, a bit error is detected. A counter counts the number of bits in the error sequence, records and stores the data, and then analyzes and displays the test results.
[0003] Adjusting the overall link loss is one of the core functions of high-speed cable bit error rate (BER) testing equipment, making a loss compensation board essential for achieving this function. However, current BER testing technologies do not consider the overall link loss value. Therefore, how to adjust the overall link loss value in real time according to the high-speed cable under test is a pressing technical problem that needs to be solved. Summary of the Invention
[0004] To address at least one of the problems mentioned in the background art, this application provides a loss compensation device and its testing method, electronic device and storage medium, which can adjust the overall link loss value in real time according to the high-speed cable under test.
[0005] The specific technical solutions provided in this application are as follows:
[0006] In a first aspect, a loss compensation device is provided, comprising:
[0007] Transmitter, receiver, base board, and expansion board;
[0008] The base board is connected to the transmitting end, the base board is connected to the receiving end, and the base board is also connected to the expansion board;
[0009] The expansion board is equipped with multiple compensation cables of different lengths, and the loss value of the expansion can be adjusted by switching the compensation cables of different lengths.
[0010] Furthermore, the expansion board is also equipped with an integrated circuit control chip, which is used to automatically switch between compensation cables of different lengths.
[0011] Furthermore, the base board is connected to the transmitting end via a first connector, the base board is connected to the receiving end via a second connector, and the base board is also connected to the expansion board via a surface-mount connector.
[0012] Furthermore, each compensation cable of different lengths on the expansion board has a via at one end.
[0013] Furthermore, the expansion plate is perpendicularly connected to the base plate.
[0014] Secondly, a test method for the loss compensation device is provided, comprising:
[0015] Obtain the loss parameters for the current system under test and the current object under test;
[0016] Calculate the current overall link loss value based on the loss parameters;
[0017] Based on the loss value, the loss compensation device switches to the corresponding compensation cable.
[0018] Furthermore, the calculation of the current overall link loss value based on the loss parameters is performed using the following formula:
[0019]
[0020] Where A is the loss parameter of the current system under test, B is the loss parameter of the current object under test, and ILI is the loss value of the current overall link.
[0021] Furthermore, the switching to the corresponding compensation cable via the loss compensation device based on the loss value is calculated using the following formula:
[0022]
[0023]
[0024] Wherein, N is the number of the compensation cable that needs to be switched to on the loss compensation device, and L is the length of the compensation cable. The compensation cables are arranged in order from shortest to longest on the loss compensation device.
[0025] Thirdly, an electronic device is provided, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the test method when executing the computer program.
[0026] Fourthly, a computer-readable storage medium is provided, storing computer-executable instructions for performing the test method.
[0027] The embodiments of this application have the following beneficial effects:
[0028] This application provides a loss compensation device, its testing method, electronic device, and storage medium. Through a base board and an expansion board, multiple compensation cables of different lengths are installed on the expansion board. By switching between these cables, the loss value can be adjusted, effectively expanding the loss range. Furthermore, since the expansion is performed on the base board, the distance between the transmitting and receiving ends remains unchanged, allowing for the compensation of a wider range of loss values. An integrated circuit control chip can be added to the expansion board for control. Based on the integrated circuit control chip and a corresponding compensation cable switching algorithm, the appropriate compensation cable is switched to, improving the automation of the test. The appropriate compensation scheme can be selected reasonably and flexibly according to different actual business needs and cost requirements. Attached Figure Description
[0029] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0030] Figure 1 This diagram shows a structural schematic of the loss compensation device provided in an embodiment of this application;
[0031] Figure 2 This diagram shows a structural schematic of a loss compensation device according to an embodiment of the present application;
[0032] Figure 3 This document shows a general flowchart of the testing method for the loss compensation device provided in an embodiment of this application;
[0033] Figure 4 This invention provides a schematic diagram of the structure of a test apparatus for a loss compensation device according to an embodiment of the present application.
[0034] Figure 5 Exemplary systems that can be used to implement the various embodiments described in this application are shown.
[0035] Reference numerals: 100, compensation plate; 110, base plate; 111, first connector; 112, second connector; 113, surface mount connector; 120, expansion plate; 121, integrated circuit control chip; 200, transmitting end; 300, receiving end. Detailed Implementation
[0036] To make the objectives, technical solutions, and advantages of this application clearer, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments in this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0037] It should be understood that, in the description of this application, unless the context explicitly requires it, the words "comprising," "including," and similar terms throughout the specification and claims should be interpreted as encompassing rather than being exclusive or exhaustive; that is, meaning "including but not limited to."
[0038] It should also be understood that the terms "first," "second," etc., are used for descriptive purposes only and should not be construed as indicating or implying relative importance. Furthermore, in the description of this application, unless otherwise stated, "a plurality of" means two or more.
[0039] Example 1
[0040] This application provides a loss compensation device, referring to... Figure 1 The loss compensation device includes a transmitter 200, a receiver 300, a base board 110, and an expansion board 120.
[0041] The base board 110 is connected to the transmitter 200, the receiver 300, and also to the expansion board 120. The expansion board 120 has multiple compensation cables of different lengths, and the loss value of the expansion can be adjusted by switching between these cables.
[0042] Specifically, the loss compensation device can also adopt a direct PCB (printed circuit board) connection method. Each PCB compensates for a loss value. The compensation board 100 can be directly composed of boards of different widths, each width containing several sets of different line lengths. The board width limits the maximum and minimum line lengths. It should be noted that when replacing boards of different widths, the relative distance between the transmitting end 200 and the receiving end 300 needs to be moved. Therefore, this implementation is mainly suitable for application scenarios where the transmitting end 200 and the receiving end 300 can move freely. Furthermore, the aforementioned boards of different widths cannot be replaced with high-speed cables, as assembling high-speed cables will affect high-speed signals. By adopting this technical solution, it can address application scenarios where the transmitting end 200 and the receiving end 300 can move freely without requiring additional adapter connectors, thus reducing usage costs.
[0043] Specifically, in application scenarios where the relative distance between the transmitter 200 and the receiver 300 is fixed and they cannot move freely, an auxiliary device can be used. Figure 1 Usage plan.
[0044] In some implementations, the base board 110 is connected to the transmitter 200 via a first connector 111, the base board 110 is connected to the receiver 300 via a second connector 112, and the base board 110 is also connected to the expansion board 120 via a surface mount connector 113.
[0045] Specifically, the expansion board 120 is equipped with multiple compensation cables of different lengths. By switching between different lengths of compensation cables, the loss value of the expansion is adjusted, thus expanding the loss value. Furthermore, since it is expanded from the base board 110, the distance between the transmitter 200 and the receiver 300 remains unchanged, allowing for the compensation of more different loss values. The base board 110 includes a clamp connector, a PCB, a surface-mount connector 113, and gold fingers. The clamp connector includes the aforementioned first connector 111 and second connector 112. The clamp connector and gold fingers are used to connect the transmitter 200 and the receiver 300, while the surface-mount connector 113 connects to the expansion board 120. The expansion board 120 can accommodate different cable lengths, limited only by the maximum cable length.
[0046] In some implementations, the expansion board 120 is also provided with an integrated circuit control chip 121, which is used to automatically switch between compensation cables of different lengths.
[0047] Specifically, refer to Figure 2 For automated testing scenarios, an integrated circuit control chip 121 can be added to the expansion board 120. The integrated circuit control chip 121 automatically switches between compensation cables of different lengths according to the actual application scenario. Different cable lengths are integrated onto the same expansion board 120. The integrated circuit control chip 121 is connected to all compensation cables simultaneously; the integrated circuit control chip 121 is also connected to the object under test.
[0048] In some implementations, each compensation cable of different lengths on the expansion board 120 has a via at one end.
[0049] In some implementations, the expansion board 120 is vertically connected to the base board 110.
[0050] Specifically, the expansion board 120 is vertically connected to the base board 110, which expands the horizontal length of the high-speed cable into a vertical length for compensation. By adjusting the vertical distance between the via and the base board 110, the compensation length of the corresponding compensation cable can be adjusted without considering the board frame's limitation on the minimum length.
[0051] Specifically, different compensation schemes can be selected based on different actual cost requirements. For application scenarios where the transmitter 200 and receiver 300 can move freely, boards of different widths can be used as compensation boards 100 to connect the transmitter 200 and receiver 300. This scheme does not require additional adapter connectors, reducing usage costs. For scenarios where the transmitter 200 and receiver 300 are fixed and cannot move freely, a structure consisting of a base board 110 and an expansion board 120 can be used. The expansion board 120 is equipped with multiple compensation cables of different lengths. By switching between compensation cables of different lengths, the extended loss value can be adjusted, thus expanding the loss value. Furthermore, since it is extended from the base board 110, the distance between the transmitter 200 and receiver 300 remains unchanged, allowing for the compensation of more different loss values. For application scenarios with high automation requirements, an integrated circuit control chip 121 can be added to the expansion board 120 for control. The integrated circuit control chip 121, combined with a corresponding compensation cable switching algorithm, switches to the appropriate compensation cable, improving the automation level of testing. However, the addition of the integrated circuit control chip 121 increases the layer thickness, resulting in relatively higher costs. Therefore, different compensation schemes can be reasonably and flexibly selected based on different actual business needs and cost requirements.
[0052] In this embodiment, the base board 110 plus the expansion board 120, with multiple compensation cables of different lengths mounted on the expansion board 120, allows for adjustment of the extended loss value by switching between different compensation cables, thus expanding the loss value. Furthermore, since it extends from the base board 110, the distance between the transmitting end 200 and the receiving end 300 remains unchanged, allowing for compensation of more diverse loss values. An integrated circuit control chip 121 can also be added to the expansion board 120 for control. Based on the integrated circuit control chip 121 and a corresponding compensation cable switching algorithm, the appropriate compensation cable is switched to, improving the automation level of the test. Different compensation schemes can be reasonably and flexibly selected based on different actual business needs and cost requirements.
[0053] Example 2
[0054] Corresponding to the above embodiments, this application also provides a test method for the loss compensation device based on the above embodiments, referring to... Figure 3 ,include:
[0055] S1. Obtain the loss parameters of the current system under test and the current object under test;
[0056] S2. Calculate the current overall link loss value based on the loss parameters;
[0057] S3. Based on the loss value, switch to the corresponding compensation cable through the loss compensation device.
[0058] Specifically, the loss parameters of different systems under test (SUT) and different objects under test (DUT) will result in different overall link losses. Therefore, it is first necessary to obtain the loss parameters of the current SUT and the current DUT, and then calculate the overall link loss value based on these parameters. The loss information of the current SUT, the current DUT, and / or the current overall link can be obtained through the receiver on the loss compensation device. Based on the loss value, the loss compensation device can be manually switched or automatically switched to the corresponding compensation cable via the integrated circuit control chip. Alternatively, the loss information of the current SUT, the current DUT, and / or the current overall link can be directly obtained through the integrated circuit control chip, and the device can automatically switch to the corresponding compensation cable. In this way, we can match the required compensation cable based on the current overall link loss value, and then switch to the corresponding compensation cable through the loss compensation device, achieving real-time adjustment of the overall link loss value according to the DUT / high-speed cable under test.
[0059] Specifically, different compensation schemes can be selected based on different actual cost requirements. For application scenarios where the transmitter and receiver can move freely, boards of different widths can be used as compensation boards to connect the transmitter and receiver. This scheme does not require additional adapter connectors, reducing usage costs. The loss parameters of the current system under test (DUT) and the current object under test can be manually obtained, and the overall link loss value can be calculated based on these parameters, allowing manual switching to the corresponding compensation cable. For scenarios where the transmitter and receiver are fixed and cannot move freely, a base board plus an expansion board can be used. The expansion board has multiple compensation cables of different lengths. By switching between different lengths of compensation cables, the extended loss value is adjusted, effectively expanding the loss value. Since it extends from the base board, the distance between the transmitter and receiver remains unchanged, thus compensating for more different loss values. The loss parameters of the current system under test (DUT) and the current object under test can be manually obtained, and the overall link loss value can be calculated based on these parameters, allowing manual switching to the corresponding compensation cable. Alternatively, the calculated loss value can be received via electrical signal reception, and the corresponding compensation cable can be manually switched using a loss compensation device based on the loss value. For applications with high automation requirements, an integrated circuit control chip can be added to the expansion board. This chip, combined with a corresponding compensation cable switching algorithm, switches to the appropriate compensation cable, improving the automation level of the test. The loss parameters of the current system under test (SUT) and the object under test can be obtained through electrical signal reception. The SUT controller then calculates the overall link loss based on these parameters and switches to the appropriate compensation cable via a loss compensation device. Alternatively, the calculated overall link loss value can be received directly from the SUT controller, and the device can switch to the appropriate compensation cable accordingly. However, the addition of the SUT controller increases the layer thickness, resulting in a relatively higher cost. Therefore, different compensation schemes should be selected flexibly and reasonably based on specific business needs and cost requirements.
[0060] In some implementations, S2 is calculated using the following formula:
[0061]
[0062] Where A is the loss parameter of the current system under test, B is the loss parameter of the current object under test, and ILI is the loss value of the current overall link.
[0063] In some implementations, S3 is calculated using the following formula:
[0064]
[0065]
[0066] Wherein, N is the number of the compensation cable that needs to be switched to on the loss compensation device, and L is the length of the compensation cable. The compensation cables are arranged in order from shortest to longest on the loss compensation device.
[0067] Specifically, ILI represents the current overall link loss value. After calculating the current overall link loss value, the system determines which compensation cable on the loss compensation device needs to be switched to, and then executes the switch to that corresponding compensation cable. N is the Nth compensation cable on the loss compensation device that needs to be switched to. It should be noted that as ILI increases, N also increases. Therefore, the compensation cables on the loss compensation device need to be arranged in ascending order of length.
[0068] In this embodiment, the loss parameters of the current system under test (SUT) and the current object under test (AUT) can be obtained. Then, the overall link loss value is calculated based on these parameters. In this way, the required compensation cable can be matched according to the overall link loss value, and the loss compensation device can switch to the corresponding compensation cable, achieving real-time adjustment of the overall link loss value based on the AUT / high-speed cable under test. The structure of a base board plus an expansion board, with multiple compensation cables of different lengths on the expansion board, allows for adjustment of the extended loss value by switching between different lengths. This effectively expands the loss value, and since it extends from the base board, the distance between the transmitter and receiver remains unchanged, thus compensating for more different loss values. Furthermore, an integrated circuit control chip can be added to the expansion board for control. The integrated circuit control chip, combined with the corresponding compensation cable switching algorithm, switches to the appropriate compensation cable, improving the automation of the test. Different compensation schemes can be reasonably and flexibly selected based on different actual business needs and cost requirements.
[0069] It should be noted that the terms "S1," "S2," etc., are used only for descriptive purposes and do not specifically refer to the order or sequence, nor are they intended to limit this application. They are merely for the convenience of describing the method of this application and should not be construed as indicating the sequential order of the steps. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed in this application.
[0070] Example 3
[0071] Corresponding to the above embodiments, this application also provides a testing device based on the loss compensation device of the above embodiments, referring to... Figure 4It includes a parameter acquisition module, a loss calculation module, and a compensation cable switching module.
[0072] The parameter acquisition module is used to acquire the loss parameters of the current system under test and the current object under test; the loss calculation module is used to calculate the loss value of the current overall link based on the loss parameters; and the compensation cable switching module is used to switch to the corresponding compensation cable through the loss compensation device based on the loss value.
[0073] Furthermore, the loss calculation module also performs calculations using the following formula:
[0074]
[0075] Where A is the loss parameter of the current system under test, B is the loss parameter of the current object under test, and ILI is the loss value of the current overall link.
[0076] Furthermore, the compensation cable switching module also performs calculations using the following formula:
[0077]
[0078]
[0079] Wherein, N is the number of the compensation cable that needs to be switched to on the loss compensation device, and L is the length of the compensation cable. The compensation cables are arranged in order from shortest to longest on the loss compensation device.
[0080] Specific limitations regarding the test apparatus based on the loss compensation device can be found in the relevant limitations of the test method above, and will not be repeated here. Each module in the aforementioned test apparatus can be implemented entirely or partially through software, hardware, or a combination thereof. These modules can be embedded in or independent of the processor in the computer device in hardware form, or stored in the memory of the computer device in software form, so that the processor can call and execute the operations corresponding to each module.
[0081] Example 4
[0082] Corresponding to the above embodiments, this application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor can implement the above-described testing method when executing the program.
[0083] like Figure 5As shown, in some embodiments, the system can serve as any of the above-described electronic devices for testing methods in each of the embodiments. In some embodiments, the system may include one or more computer-readable media (e.g., system memory or NVM / storage device) having instructions and one or more processors (e.g., one or more processors) coupled to the one or more computer-readable media and configured to execute the instructions to implement the module and thus perform the actions described in this application.
[0084] In one embodiment, the system control module may include any suitable interface controller to provide any suitable interface to at least one of the processors(s) and / or any suitable device or component communicating with the system control module.
[0085] The system control module may include a memory controller module to provide an interface to the system memory. The memory controller module may be a hardware module, a software module, and / or a firmware module.
[0086] System memory can be used, for example, to load and store data and / or instructions for the system. In one embodiment, system memory may include any suitable volatile memory, such as suitable DRAM. In some embodiments, system memory may include Double Data Rate Type Quad Synchronous Dynamic Random Access Memory (DDR4 SDRAM).
[0087] In one embodiment, the system control module may include one or more input / output (I / O) controllers to provide interfaces to the NVM / storage device and (one or more) communication interfaces.
[0088] For example, an NVM / storage device can be used to store data and / or instructions. An NVM / storage device may include any suitable non-volatile memory (e.g., flash memory) and / or may include any suitable (one or more) non-volatile storage devices (e.g., one or more hard disk drives (HDDs), one or more optical disc drives (CDs), and / or one or more digital universal optical disc (DVD) drives).
[0089] NVM / storage devices may include storage resources that are physically part of a device on which the system is mounted, or that can be accessed by the device without necessarily being part of it. For example, an NVM / storage device may be accessed over a network via one or more communication interfaces.
[0090] One or more communication interfaces may provide the system with an interface to communicate over one or more networks and / or with any other suitable device. The system may wirelessly communicate with one or more components of a wireless network in accordance with any of the standards and / or protocols in one or more wireless network standards and / or protocols.
[0091] In one embodiment, at least one of the processors may be logically packaged with one or more controllers of the system control module (e.g., a memory controller module). In one embodiment, at least one of the processors may be logically packaged with one or more controllers of the system control module to form a system-in-package (SiP). In one embodiment, at least one of the processors may be integrated with the logic of one or more controllers of the system control module on the same die. In one embodiment, at least one of the processors may be integrated with the logic of one or more controllers of the system control module on the same die to form a system-on-a-chip (SoC).
[0092] In various embodiments, the system may be, but is not limited to, a server, workstation, desktop computing device, or mobile computing device (e.g., laptop computing device, handheld computing device, tablet computer, netbook, etc.). In various embodiments, the system may have more or fewer components and / or different architectures. For example, in some embodiments, the system includes one or more cameras, a keyboard, a liquid crystal display (LCD) screen (including a touchscreen display), a non-volatile memory port, multiple antennas, a graphics chip, an application-specific integrated circuit (ASIC), and a speaker.
[0093] It should be noted that this application can be implemented in software and / or a combination of software and hardware, for example, using an application-specific integrated circuit (ASIC), a general-purpose computer, or any other similar hardware device. In one embodiment, the software program of this application can be executed by a processor to implement the steps or functions described above. Similarly, the software program of this application (including related data structures) can be stored in a computer-readable recording medium, such as RAM memory, magnetic or optical drives, floppy disks, and similar devices. Furthermore, some steps or functions of this application can be implemented in hardware, for example, as circuitry that cooperates with a processor to perform the various steps or functions.
[0094] Furthermore, a portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0095] Communication media include media through which communication signals containing, for example, computer-readable instructions, data structures, program modules, or other data are transmitted from one system to another. Communication media can include guided transmission media (such as cables and wires (e.g., optical fibers, coaxial cables, etc.)) and wireless (unguided transmission) media capable of propagating energy waves, such as sound, electromagnetic, RF, microwave, and infrared. Computer-readable instructions, data structures, program modules, or other data can be embodied as modulated data signals in, for example, wireless media (such as carrier waves or similar mechanisms embodied as part of spread spectrum technology). The term "modulated data signal" refers to a signal whose one or more characteristics are altered or set in a manner that encodes information in the signal. Modulation can be analog, digital, or a hybrid modulation technique.
[0096] Herein, one embodiment of this application includes an apparatus comprising a memory for storing computer program instructions and a processor for executing the program instructions, wherein when the computer program instructions are executed by the processor, the apparatus is triggered to run a method and / or technical solution based on the foregoing embodiments of this application.
[0097] Example 5
[0098] Corresponding to the above embodiments, this application also provides a computer-readable storage medium storing computer-executable instructions for executing test methods.
[0099] In this embodiment, a computer-readable storage medium may include volatile and non-volatile, removable and non-removable media implemented by any method or technology for storing information such as computer-readable instructions, data structures, program modules or other data. For example, a computer-readable storage medium includes, but is not limited to, volatile memories such as random access memory (RAM, DRAM, SRAM); and non-volatile memories such as flash memory, various read-only memories (ROM, PROM, EPROM, EEPROM), magnetic and ferromagnetic / ferroelectric memories (MRAM, FeRAM); and magnetic and optical storage devices (hard disks, magnetic tapes, CDs, DVDs); or other currently known media or those developed hereafter capable of storing computer-readable information / data for use by a computer system.
[0100] Although preferred embodiments have been described in this application, those skilled in the art, upon learning the basic inventive concept, can make other changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments as well as all changes and modifications falling within the scope of the embodiments of this application.
[0101] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the spirit and scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.
Claims
1. A test method for a loss compensation device, characterized in that, The loss compensation device includes a transmitter, a receiver, a base board, and an expansion board. The base board is connected to the transmitter, the receiver, and the expansion board. The expansion board is provided with multiple compensation cables of different lengths. The loss value of the expansion board is adjusted by switching the compensation cables of different lengths. The testing method includes: acquiring the loss parameters of the current system under test and the current object under test. Calculate the current overall link loss value based on the loss parameters; Based on the loss value, the loss compensation device switches to the corresponding compensation cable; The loss value of the current overall link is calculated based on the loss parameters using the following formula: Where A is the loss parameter of the current system under test, B is the loss parameter of the current object under test, and ILI is the loss value of the current overall link. The switching to the corresponding compensation cable via the loss compensation device based on the loss value is calculated using the following formula: Wherein, N is the number of the compensation cable that needs to be switched to on the loss compensation device, and L is the length of the compensation cable. The compensation cables are arranged in order from shortest to longest on the loss compensation device.
2. The test method for the loss compensation device according to claim 1, characterized in that, The expansion board is also equipped with an integrated circuit control chip, which is used to automatically switch between compensation cables of different lengths.
3. The test method for the loss compensation device according to claim 1, characterized in that, The base board is connected to the transmitting end via a first connector, the base board is connected to the receiving end via a second connector, and the base board is also connected to the expansion board via a surface-mount connector.
4. The test method for the loss compensation device according to claim 1, characterized in that, Each compensation cable of different length on the expansion board has a via at one end.
5. The test method for the loss compensation device according to claim 1, characterized in that, The expansion plate is perpendicularly connected to the base plate.
6. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, When the processor executes the computer program, it implements the test method for the loss compensation device as described in claim 1.
7. A computer-readable storage medium storing computer-executable instructions, characterized in that, The computer-executable instructions are used to execute the test method of the loss compensation device according to claim 1.
Citation Information
Patent Citations
Link loss compensation method and device, server, electronic equipment and storage medium
CN115695075A