A high-speed serial chip bit error rate test system and method
By designing a high-speed serial chip bit error rate test system in a high-speed serial communication system, using FPGA transceivers and clock sources to test the bit error rate and generate calibration parameters, the problem of bit error rate testing and calibration in high-speed serial communications is solved. , improving communication efficiency and system performance.
Patent Information
- Application Number
- CN202211060255.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-31
- Publication Date
- 2024-08-27
- Estimated Expiration
- 2042-08-31
AI Technical Summary
In high-speed serial communication systems, there are challenges in accurate testing and calibration of bit error rates. Especially in asynchronous mode, due to the influence of power supply noise, inter-symbol crosstalk and transmission channels, the signal sampling position changes, resulting in bit errors. affect system performance.
A high-speed serial chip bit error rate test system is designed, including a high-speed serial chip device, a bit error rate test module, a calibration module and a control module. The bit error rate is tested through the preset FPGA transceiver and clock source, and based on The bit error rate generates calibration parameters, performs data calibration, and reduces the bit error rate.
It improves the speed and efficiency of serial communication, reduces the information bit error rate caused by time delay or environmental noise, and enhances the synchronization capability of the system.
Smart Images

Figure CN115396353B
Abstract
Description
Technical Field
[0001] The present invention relates to the field of serial chips and chip testing technology, and in particular to a high-speed serial chip bit error rate testing system and method. Background Art
[0002] At present, in high-speed serial communication systems, due to the influence of power supply noise, inter-code crosstalk and transmission channels, there is no fixed clock channel when serial data is transmitted through high-speed channels, and the synchronous clock is provided by the data signal transmitted by the system. If there is an error in the system transmission, the timing error accumulates, the signal sampling position changes, and bit errors will occur, which will have a significant impact on the entire system. How to accurately test and calibrate the bit error rate is a very important issue. High-speed serial data communications are widely used in many applications, and they continue to replace traditional parallel data connection systems more widely. In serial communications, there are two designated channels for the data path to transmit a pair of differential signals, and there is no need to connect the ground path. However, the serial system has a frequency mismatch in asynchronous mode.
[0003] The disclosed patent CN201910253205 provides a pre-emphasis debugging system and method, including a printed circuit board PCB and a field programmable gate array FPGA chip arranged thereon, wherein the FPGA chip includes multiple transmitting ports and a receiving port, each transmitting port is connected to a transmitting end RF coaxial head, a PRBS code element generator, which is used to generate different types of PRBS code streams from the transmitting port to the receiving end RF coaxial head, which is connected to each transmitting end RF coaxial head through a coaxial cable and is also connected to the receiving port; a PRBS code element checker, which is used to check the PRBS code stream received by the receiving port and calculate the bit error rate; a pre-emphasis management module, which is used to generate a set of pre-emphasis configuration parameters each time and transmit them to at least one sending port, and start the PRBS codeword generator; it is also used to compare the bit error rate of each PRBS codeword checker with the previous bit error rate, save the same and smaller bit error rates and corresponding pre-emphasis configuration parameters, and automatically test the best sending end pre-emphasis parameters without the need for external test instruments, thereby improving test efficiency and not adding redundant lines. However, this patent only compares the bit error rate through pre-emphasis parameters. When the bit error rate of the original data is particularly large, even if the bit error rate is updated immediately, a new bit error rate will be generated based on the first bit error rate, and there will still be a large error. Summary of the invention
[0004] The present invention provides a high-speed serial chip bit error rate testing system and method to solve the above problem.
[0005] A high-speed serial chip bit error rate test system, comprising:
[0006] High-speed serial chip device: used to send and receive high-speed serial data based on a preset FPGA transceiver;
[0007] Bit error rate test module: used to test and read the bit error rate of high-speed serial data through a preset clock source;
[0008] Calibration module: used to generate corresponding calibration parameters according to the bit error rate, and receive and calibrate the high-speed serial data sent by the high-speed serial chip device through the calibration parameters;
[0009] Control module: used to receive user instructions, and control the high-speed serial chip, bit error rate test module and calibration module to communicate interactively by receiving user instructions.
[0010] As an optional embodiment of the present invention: the high-speed serial chip device includes an FPGA transceiver, a clock generator, an input register, an encoder, a shift register and three pairs of differential PECL outputs; wherein,
[0011] The FPGA transceiver is respectively connected to the clock generator, the input register, the encoder, the shift register, and three pairs of differential PECL outputs.
[0012] As an optional embodiment of the present invention: the bit error rate test module includes:
[0013] A signal receiving unit, used for receiving a high-speed serial signal through an input port of the FPGA transceiver;
[0014] A high-speed serial data unit, used to adjust the high-speed serial signal through a preset digital frequency synthesizer and convert the high-speed serial signal into high-speed serial data;
[0015] The test unit is used to test the high-speed serial data and obtain the test data; wherein,
[0016] The test data at least includes data channel information, data transmission rate, rate resolution, data jitter parameters and data swing;
[0017] The bit error rate unit is used to transmit the test data and the high-speed serial data to the preset interference simulation model, collect the corresponding simulation configuration parameters, and calculate the bit error rate of the high-speed serial data through the simulation configuration parameters.
[0018] As an optional embodiment of the present invention: the data jitter parameters at least include the data jitter type, data jitter frequency and data maximum jitter amplitude of the high-speed serial data;
[0019] The data swing includes at least a data output swing of high-speed serial data, a data swing resolution and a data swing accuracy.
[0020] As an optional embodiment of the present invention: the bit error rate unit includes:
[0021] A modulation parameter subunit, used to perform interference training on high-speed serial data based on a preset interference simulation model and calculate corresponding modulation parameters;
[0022] A pilot signal subunit, used to modulate the test data by modulation parameters and generate a corresponding pilot signal;
[0023] The guide signal is used to generate a corresponding signal through modulation parameters to guide the test data;
[0024] A data type conversion subunit is used to add the pilot signal to the interference simulation model, train the high-speed serial data again, collect the corresponding simulation configuration parameters, and perform data type conversion on the high-speed serial data;
[0025] The bit error rate subunit is used to calculate the bit error rate of the high-speed serial data after data type conversion by simulating configuration parameters.
[0026] As an optional embodiment of the present invention: the modulation parameter subunit includes:
[0027] A simulated transmission channel subunit, used to generate a simulated transmission channel based on a preset interference simulation model;
[0028] An interference parameter subunit, used for collecting interference factors of historical high-speed serial data, transmitting the interference factors to an interference simulation model for training, and generating corresponding first interference parameters;
[0029] A transmission rate subunit, used to fuse the first interference parameter and the simulated transmission channel to generate a corresponding interference simulation channel, and transmit high-speed serial data to the interference simulation channel for interference training to determine the transmission rate;
[0030] A transmission delay parameter subunit, used to compare and calculate the transmission rate of the high-speed serial data and a preset transmission threshold value to determine the transmission delay parameter;
[0031] The modulation parameter subunit is used to calculate the corresponding modulation parameter based on the interference factor and the transmission delay parameter.
[0032] As an optional embodiment of the present invention: the data type conversion subunit includes:
[0033] The target simulation model subunit is used to add the guidance signal to the interference simulation model, update the interference simulation model, and generate a corresponding target simulation model;
[0034] A second interference parameter subunit is used to transmit high-speed serial data to a target simulation model for training and collect corresponding second interference parameters again;
[0035] The analog configuration parameter subunit is used to calculate the error between the first interference parameter and the second interference parameter, and calculate the analog configuration parameter corresponding to the high-speed serial data;
[0036] The type conversion subunit is used to simultaneously perform data type conversion on the high-speed serial data based on the simulation configuration parameters.
[0037] As an optional embodiment of the present invention: the calibration module includes:
[0038] A bit error deviation unit, used to obtain a bit error deviation between an interference rate and a bit error rate under a co-frequency interference signal;
[0039] A calibration parameter unit, used for calculating corresponding calibration parameters through bit error deviation;
[0040] A calibration unit, used for receiving and calibrating high-speed serial data sent by a high-speed serial chip device through calibration parameters;
[0041] As an optional embodiment of the present invention: the calibration unit includes:
[0042] A transmission channel subunit, used to obtain a transmission channel for sending and receiving data of a high-speed serial chip device;
[0043] The interference parameter subunit is used to obtain the interference factor and determine the corresponding interference parameter through a preset interference simulation model;
[0044] A channel loss parameter subunit, used to calculate a channel loss parameter of a transmission channel by using an interference factor and an interference parameter;
[0045] A judgment result subunit, used to judge whether the channel loss parameter is greater than a preset loss threshold and determine the judgment result;
[0046] A first result unit, configured to feed back the channel loss parameter to a preset interference simulation model and perform interference training when the judgment result is that the channel loss parameter is greater than a preset loss threshold;
[0047] The second result unit is used to receive and calibrate the high-speed serial data sent by the high-speed serial chip device through calibration parameters when the judgment result is that the channel loss parameter is less than or equal to the preset loss threshold.
[0048] A high-speed serial chip bit error rate testing method, comprising:
[0049] Send and receive high-speed serial data based on preset FPGA transceivers;
[0050] Test and read the bit error rate of high-speed serial data through a preset clock source;
[0051] Generate corresponding calibration parameters according to the bit error rate, and receive and calibrate high-speed serial data sent by the high-speed serial chip device through the calibration parameters;
[0052] Receive user instructions, and by receiving user instructions, control the high-speed serial chip, the bit error rate test module and the calibration module to perform interactive communication.
[0053] The beneficial effects of the present invention are as follows:
[0054] The embodiment of the present invention provides a high-speed serial chip bit error rate test system, wherein the high-speed serial chip device is used to send and receive high-speed serial data based on a preset FPGA transceiver, the high-speed serial chip device is a core module in the high-speed serial chip, and is used to pass serial data at high speed, the bit error rate test module is used to test and read the bit error rate of the high-speed serial data through a preset clock source, and obtain the bit error rate of the high-speed serial data caused by noise and other influences from the measurement of the parameters, the calibration module is used to generate corresponding calibration parameters according to the bit error rate, and receive and calibrate the high-speed serial data sent by the high-speed serial chip device through the calibration parameters, so as to reduce the bit error rate of the high-speed serial data, the control module is used to receive user instructions and send them to the FPGA transceiver, and through the received user instructions, control the communication between the high-speed serial chip, the bit error rate test module and the calibration module, so as to improve the communication speed and communication efficiency of the serial communication, and reduce the information bit error rate caused by time delay or environmental noise.
[0055] Other features and advantages of the present invention will be described in the following description, and partly become apparent from the description, or understood by practicing the present invention. The purpose and other advantages of the present invention can be realized and obtained by the structures particularly pointed out in the written description and the accompanying drawings.
[0056] The technical solution of the present invention is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS
[0057] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.
[0058] In the attached picture:
[0059] Figure 1 A system module diagram of a high-speed serial chip bit error rate test system according to an embodiment of the present invention;
[0060] Figure 2A connection diagram of a high-speed serial chip device according to an embodiment of the present invention;
[0061] Figure 3 1 is a module composition diagram of a bit error rate test module in an embodiment of the present invention;
[0062] Figure 4 4 is a module composition diagram of the calibration module in an embodiment of the present invention. DETAILED DESCRIPTION
[0063] The preferred embodiments of the present invention are described below in conjunction with the accompanying drawings. It should be understood that the preferred embodiments described herein are only used to illustrate and explain the present invention, and are not used to limit the present invention.
[0064] It should be noted that when a component is referred to as being "fixed to" or "disposed on" another component, it can be directly on the other component or indirectly on the other component. When a component is referred to as being "connected to" another component, it can be directly or indirectly connected to the other component.
[0065] It should be understood that the orientation or position relationship indicated by terms such as "length", "width", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside" and "outside" are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operate in a specific orientation, and therefore cannot be understood as a limitation on the present invention.
[0066] In addition, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations, and "multiple" means two or more, unless otherwise clearly and specifically limited. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.
[0067] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.
[0068] according to Figure 1As shown, an embodiment of the present invention provides a high-speed serial chip bit error rate test system, comprising:
[0069] High-speed serial chip device: used to send and receive high-speed serial data based on a preset FPGA transceiver;
[0070] Bit error rate test module: used to test and read the bit error rate of high-speed serial data through a preset clock source;
[0071] Calibration module: used to generate corresponding calibration parameters according to the bit error rate, and receive and calibrate the high-speed serial data sent by the high-speed serial chip device through the calibration parameters;
[0072] Control module: used to receive user instructions, and control the high-speed serial chip, bit error rate test module and calibration module to communicate interactively by receiving user instructions.
[0073] Optionally, the test system of the present invention is to test the bit error rate, so the high-speed serial chip device receives the data serial data, and then the bit error rate test module is connected to the high-speed serial chip device to test and read the high-number serial data, calculate the bit error rate, and after the bit error rate is calculated, the calibration module calibrates the high-speed serial data in the high-speed serial chip device, and the calibration module is connected to the bit error rate test module and the high-speed serial chip device respectively. The control module is a communication control device capable of receiving user information, which is composed of a CPU chip and a communication module, and an Android program is implanted inside it to receive user instructions.
[0074] The beneficial effects of the present invention are:
[0075] The embodiment of the present invention provides a high-speed serial chip bit error rate test system, wherein the high-speed serial chip device is used to send and receive high-speed serial data based on a preset FPGA transceiver, the high-speed serial chip device is a core module in the high-speed serial chip, and is used to pass serial data at high speed, the bit error rate test module is used to test and read the bit error rate of the high-speed serial data through a preset clock source, and obtain the bit error rate of the high-speed serial data caused by noise and other influences from the measurement of the parameters, the calibration module is used to generate corresponding calibration parameters according to the bit error rate, and receive and calibrate the high-speed serial data sent by the high-speed serial chip device through the calibration parameters, so as to reduce the bit error rate of the high-speed serial data, the control module is used to receive user instructions and send them to the FPGA transceiver, and through the received user instructions, control the communication between the high-speed serial chip, the bit error rate test module and the calibration module, so as to improve the communication speed and communication efficiency of the serial communication, and reduce the information bit error rate caused by time delay or environmental noise.
[0076] Optional: This technical solution provides an embodiment:
[0077] The high-speed serial chip device includes an FPGA transceiver, a clock generator, an input register, an encoder, a shift register and three pairs of differential PECL output devices; wherein,
[0078] The FPGA transceiver is respectively connected to the clock generator, the input register, the encoder, the shift register, and three pairs of differential PECL output devices.
[0079] Optional, as attached Figure 2 As shown, the FPGA transceiver is the core device of the high-speed serial chip device, which is equipped with an FPGA chip inside, and is connected to the clock generator, input register, encoder, shift register, and three pairs of differential PECL output devices through the FPGA chip. The high-speed serial data is timed by the clock generator, and then the high-speed serial data is collected. The input register stores these data. The calibration module is connected to the input register to calculate the error of the high-speed data. The calibration module generates encoding instructions through the encoder to control the high-speed serial data to be calibrated through the shift register. Finally, based on the three pairs of differential PECL output devices, it is used to output differential common-mode voltage to reduce the interference of the FPGA transceiver.
[0080] Optional: According to Figure 3 As shown, the technical solution provides an embodiment, the bit error rate test module includes:
[0081] Signal receiving unit: used to receive high-speed serial signals through the input port of the FPGA transceiver;
[0082] High-speed serial data unit: used for adjusting the high-speed serial signal through a preset digital frequency synthesizer and converting the high-speed serial signal into high-speed serial data;
[0083] Test unit: used to test high-speed serial data and obtain test data;
[0084] The test data at least includes data channel information, data transmission rate, rate resolution, data jitter parameters and data swing;
[0085] Bit error rate unit: used to transfer test data and high-speed serial data to a preset interference simulation model, collect corresponding simulation configuration parameters, and calculate the bit error rate of the high-speed serial data through the simulation configuration parameters.
[0086] The working principle and beneficial effects of the above technical solution are:
[0087] The bit error rate test module of the present technical solution includes a signal receiving unit, a high-speed serial data unit, a test unit and a bit error rate unit. The signal receiving unit is used to receive a high-speed serial signal through the input port of the FPGA transceiver; the FPGA transceiver is used to provide a high-speed data transmission and reception mode; the high-speed serial data unit is used to adjust the high-speed serial signal through a preset digital frequency synthesizer, and convert the high-speed serial signal into high-speed serial data. By converting the signal into data, the bit error rate in the data transmission process can be calculated; the test unit is used to test the high-speed serial data and obtain test data; the test data at least includes a data channel, a data transmission rate, a rate resolution, a data jitter parameter and a data swing. By transmitting and testing in an actual channel, the degree of data delay can be obtained. The test data and the high-speed serial data are transmitted to a preset interference simulation model, the corresponding simulation configuration parameters are collected, and the bit error rate of the high-speed serial data is calculated through the simulation configuration parameters. The original data is provided for channel calibration through the calculation of the bit error rate. At the same time, the error difference can also be analyzed through the error data, so as to calibrate through the signal difference.
[0088] Optional: The technical solution provides an embodiment, wherein the data jitter parameters include at least the data jitter type, data jitter frequency and maximum data jitter amplitude of the high-speed serial data; the data swing includes at least the data output swing, data swing resolution and data swing accuracy of the high-speed serial data.
[0089] Optional, as attached Figure 3 As shown, the present invention can determine the data swing, calculate the data jitter type, determine the data bit error rate, and thus determine the data deviation value, and calibrate the data through the deviation value.
[0090] Optional: According to Figure 3 As shown, the technical solution provides an embodiment, the bit error rate unit includes:
[0091] Modulation parameter subunit: used to perform interference training on high-speed serial data based on a preset interference simulation model and calculate the corresponding modulation parameters;
[0092] The pilot signal subunit is used to modulate the test data through the modulation parameters and generate the corresponding pilot signal;
[0093] The guide signal is used to generate a corresponding signal through modulation parameters to guide the test data;
[0094] Data type conversion subunit: used to add the guidance signal to the interference simulation model, train the high-speed serial data again, collect the corresponding simulation configuration parameters, and perform data type conversion on the high-speed serial data;
[0095] Bit error rate subunit: used to calculate the bit error rate of high-speed serial data after data type conversion by simulating configuration parameters.
[0096] The working principle and beneficial effects of the above technical solution are:
[0097] The bit error rate unit of the present technical solution includes a modulation parameter subunit, a guide signal subunit, a data type conversion subunit and a bit error rate subunit. The modulation parameter subunit is used to perform interference training on high-speed serial data based on a preset interference simulation model, calculate corresponding modulation parameters, and thus modulate the signal. The guide signal subunit is used to modulate the test data through the modulation parameters and generate corresponding guide signals; the guide signals are used to generate corresponding signals through modulation parameters to guide the test data; the data type conversion subunit is used to add the guide signals to the interference simulation model, train the high-speed serial data again, and thus calculate the interference waveform of the interference parameters under periodic signal transmission, collect corresponding simulation configuration parameters, and perform data type conversion on the high-speed serial data at the same time; the bit error rate subunit is used to calculate the bit error rate of the high-speed serial data after data type conversion through the simulation configuration parameters, and provide original data for subsequent correction of the bit error rate and accurate transmission of data.
[0098] Optional: This technical solution provides an embodiment, as shown in the attached Figure 3 As shown, the modulation parameter subunit includes:
[0099] Simulated transmission channel subunit: used for generating a simulated transmission channel based on a preset interference simulation model;
[0100] Interference parameter subunit: used for collecting interference factors of historical high-speed serial data, transmitting the interference factors to the interference simulation model for training, and generating corresponding first interference parameters;
[0101] Transmission rate subunit: used for fusing the first interference parameter and the analog transmission channel to generate a corresponding interference simulation channel, and transmitting high-speed serial data to the interference simulation channel for interference training to determine the transmission rate;
[0102] Transmission delay parameter subunit: used to compare and calculate the transmission rate of high-speed serial data and a preset transmission threshold to determine the transmission delay parameter;
[0103] Modulation parameter subunit: used to calculate the corresponding modulation parameters based on the interference factor and the transmission delay parameter.
[0104] The working principle and beneficial effects of the above technical solution are:
[0105] The modulation parameter subunit of the present technical solution includes a simulated transmission channel subunit, an interference parameter subunit, a transmission rate subunit, a transmission delay parameter subunit and a modulation parameter subunit. The simulated transmission channel subunit is used to generate a simulated transmission channel based on a preset interference simulation model, so as to simulate data, so as to stably obtain data effects and data parameters. The interference parameter subunit is used to collect interference factors of historical high-speed serial data, transmit the interference factors to the interference simulation model for training, and generate corresponding first interference parameters. The first interference parameter represents the interference data parameter provided by the interference factor under the interference simulation model; the transmission rate subunit is used to convert the first interference parameter and the simulated transmission channel into a corresponding first interference parameter. The transmission channels are merged to generate corresponding interference simulation channels, and the high-speed serial data is transmitted to the interference simulation channel for interference training to determine the transmission rate. The rate of the high-speed serial data is calculated through the channel simulation training. The transmission delay parameter subunit is used to compare and calculate the transmission rate of the high-speed serial data with a preset transmission threshold to determine the transmission delay parameter, thereby calculating the delay of the high-speed serial data. The modulation parameter subunit is used to calculate the corresponding modulation parameters based on the interference factor and the transmission delay parameter, and generate corresponding modulation data for the delay of the high-speed serial data, so as to meet the requirements of modulating the simulated channel environment when the high-speed serial data is transmitted, thereby calculating the corresponding modulation parameters.
[0106] Optional: This technical solution provides an embodiment, wherein the data type conversion subunit includes:
[0107] Target simulation model subunit: used to add the guidance signal to the interference simulation model, update the interference simulation model, and generate the corresponding target simulation model;
[0108] The second interference parameter subunit is used to transmit high-speed serial data to the target simulation model for training and collect the corresponding second interference parameters again;
[0109] The analog configuration parameter subunit is used to calculate the error between the first interference parameter and the second interference parameter, and calculate the analog configuration parameter corresponding to the high-speed serial data;
[0110] Type conversion subunit: used for performing data type conversion on high-speed serial data simultaneously based on the simulation configuration parameters.
[0111] The working principle and beneficial effects of the above technical solution are:
[0112] The data type conversion subunit of the present technical solution includes a target simulation model subunit, a second interference parameter subunit, a simulation configuration parameter subunit and a type conversion subunit: the target simulation model subunit is used to add the guidance signal to the interference simulation model, update the interference simulation model, and generate a corresponding target simulation model; the second interference parameter subunit is used to transmit the high-speed serial data to the target simulation model for training, and collect the corresponding second interference parameter again; the simulation configuration parameter subunit is used to calculate the error between the first interference parameter and the second interference parameter, and calculate the simulation configuration parameter corresponding to the high-speed serial data; the type conversion subunit is used to perform data type conversion on the high-speed serial data based on the simulation configuration parameters.
[0113] Embodiment 8:
[0114] This technical solution provides an embodiment, as shown in the attached Figure 4 As shown, the calibration module comprises:
[0115] Error deviation unit: used to obtain the error deviation between the interference rate and the bit error rate under the same-frequency interference signal;
[0116]
[0117] in, represents the bit error deviation, P represents the interference rate under co-channel interference, ρ represents the bit error rate, G represents the interference gain with respect to co-channel interference, w(t) represents the change of the signal frequency of the co-channel interference signal with the period, t represents the period of the co-channel interference signal, Represents the phase interference amplitude of the signal related to the period under the same frequency interference;
[0118] Calibration parameter unit: used to calculate corresponding calibration parameters according to the bit error deviation;
[0119]
[0120] Among them, p represents the probability of bit error deviation. represents the calibration parameters under the period t and frequency range f, where f represents the frequency range of interference signals of different frequencies. Represents the period ts i Calibration parameters for frequency range f, s i represents the phase error corresponding to the i-th cycle t, i represents the total number of cycles t received, Represents the period ts i-1 Calibration parameters for frequency range f, s i-1 represents the phase error corresponding to the i-1 period t, Represents the error deviation, Es represents the calibration gain with respect to the phase error;
[0121] The calibration unit is used to receive and calibrate the high-speed serial data sent by the high-speed serial chip device through the calibration parameters.
[0122] The working principle and beneficial effects of the above technical solution are:
[0123] The technical solution improves the transmission speed of high-speed serial data and reduces error delay by calibrating the high-speed serial chip device.
[0124] Embodiment 9:
[0125] This technical solution provides an embodiment, as shown in the attached Figure 4 As shown, the calibration unit comprises:
[0126] Transmission channel subunit: used to obtain the transmission channel for sending and receiving data of the high-speed serial chip device;
[0127] Interference parameter subunit: used to obtain interference factors and determine corresponding interference parameters through a preset interference simulation model;
[0128] Channel loss parameter subunit: used to calculate the channel loss parameter of the transmission channel through the interference factor and the interference parameter;
[0129] The judgment result subunit is used to judge whether the channel loss parameter is greater than a preset loss threshold and determine the judgment result;
[0130] A first result unit: used for feeding back the channel loss parameter to a preset interference simulation model and performing interference training when the judgment result is that the channel loss parameter is greater than a preset loss threshold;
[0131] The second result unit is used to receive and calibrate the high-speed serial data sent by the high-speed serial chip device by calibrating the parameters when the judgment result is that the channel loss parameter is less than or equal to the preset loss threshold.
[0132] The working principle and beneficial effects of the above technical solution are:
[0133] The calibration unit of the technical solution includes a transmission channel subunit, an interference parameter subunit, a channel loss parameter subunit, a judgment result subunit, a first result unit and a second result unit. The transmission channel subunit is used to obtain a transmission channel for a high-speed serial chip device to send and receive data. Whether there is a delay in the high-speed serial data can be calculated through the transmission channel. The interference parameter subunit is used to obtain an interference factor through a preset interference simulation model and determine the corresponding interference parameter, thereby calculating the simulated interference parameter under the interference simulation model, so as to digitize the delay rate of channel transmission. The channel loss parameter subunit is used to calculate the channel loss of the transmission channel through the interference factor and interference parameter. The channel loss parameter is judged by the result subunit, and the judgment result subunit is used to judge whether the channel loss parameter is greater than a preset loss threshold value, and determine the judgment result; the first result unit is used to feed back the channel loss parameter to a preset interference simulation model and perform interference training when the judgment result is that the channel loss parameter is greater than the preset loss threshold value; the second result unit is used to receive and calibrate the high-speed serial data sent by the high-speed serial chip device through the calibration parameters when the judgment result is that the channel loss parameter is less than or equal to the preset loss threshold value, and calculate the calibration parameters corresponding to the high-speed serial data by calculating the channel loss parameters, so as to facilitate the calculation of the calibration parameters for the high-speed serial data.
[0134] Embodiment 10:
[0135] The present technical solution provides an embodiment, including:
[0136] Send and receive high-speed serial data based on preset FPGA transceivers;
[0137] Test and read the bit error rate of high-speed serial data through a preset clock source;
[0138] Generate corresponding calibration parameters according to the bit error rate, and receive and calibrate high-speed serial data sent by the high-speed serial chip device through the calibration parameters;
[0139] Receive user instructions, and by receiving user instructions, control the high-speed serial chip, the bit error rate test module and the calibration module to perform interactive communication.
[0140] The working principle and beneficial effects of the above technical solution are:
[0141] An embodiment of the present invention provides a high-speed serial chip bit error rate testing method, which sends and receives high-speed serial data based on a preset FPGA transceiver. The high-speed serial chip device is a core module in the high-speed serial chip and is used to pass serial data at high speed. The bit error rate of the high-speed serial data is tested and read through a preset clock source. The bit error rate of the high-speed serial data caused by noise and other influences is obtained from the measurement of parameters. Corresponding calibration parameters are generated according to the bit error rate, and the high-speed serial data sent by the high-speed serial chip device is received and calibrated through the calibration parameters to reduce the bit error rate of the high-speed serial data. User instructions are received and sent to the FPGA transceiver, and through the received user instructions, the communication between the high-speed serial chip, the bit error rate testing module and the calibration module is controlled to improve the communication speed and communication efficiency of the serial communication and reduce the information bit error rate caused by time delay or environmental noise.
[0142] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage and optical storage, etc.) containing computer-usable program code.
[0143] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0144] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0145] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process in the computer or other programmable device. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.
[0146] Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include these modifications and variations.
Claims
1. A high-speed serial chip bit error rate test system, characterized in that: include: High-speed serial chip device: used to send and receive high-speed serial data based on a preset FPGA transceiver; Bit error rate test module: used to test and read the bit error rate of high-speed serial data through a preset clock source; Calibration module: used to generate corresponding calibration parameters according to the bit error rate, and receive and calibrate the high-speed serial data sent by the high-speed serial chip device through the calibration parameters; Control module: used to receive user instructions, and control the high-speed serial chip, bit error rate test module and calibration module to perform interactive communication by receiving user instructions; The calibration module comprises: Error deviation unit: used to obtain the error deviation between the interference rate and the bit error rate under the same-frequency interference signal; Calibration parameter unit: used to calculate the corresponding calibration parameters through bit error deviation; Calibration unit: used for receiving and calibrating high-speed serial data sent by the high-speed serial chip device through calibration parameters; The calibration unit comprises: A transmission channel subunit, used to obtain a transmission channel for a high-speed serial chip device to send and receive data; Interference parameter subunit: used to obtain interference factors and determine corresponding interference parameters through a preset interference simulation model; Channel loss parameter subunit: used to calculate the channel loss parameter of the transmission channel through the interference factor and the interference parameter; The judgment result subunit is used to judge whether the channel loss parameter is greater than a preset loss threshold and determine the judgment result; A first result unit: used for feeding back the channel loss parameter to a preset interference simulation model and performing interference training when the judgment result is that the channel loss parameter is greater than a preset loss threshold; The second result unit is used to receive and calibrate the high-speed serial data sent by the high-speed serial chip device by calibrating the parameters when the judgment result is that the channel loss parameter is less than or equal to the preset loss threshold.
2. A high-speed serial chip bit error rate test system as claimed in claim 1, characterized in that: The high-speed serial chip device includes an FPGA transceiver, a clock generator, an input register, an encoder, a shift register and three pairs of differential PECL device outputs; wherein, The FPGA transceiver is respectively connected to the clock generator, the input register, the encoder, the shift register, and three pairs of differential PECL output devices.
3. A high-speed serial chip bit error rate test system as claimed in claim 1, characterized in that: The bit error rate test module comprises: Signal receiving unit: used to receive high-speed serial signals through the input port of the FPGA transceiver; High-speed serial data unit: used for adjusting the high-speed serial signal through a preset digital frequency synthesizer and converting the high-speed serial signal into high-speed serial data; Test unit: used to test high-speed serial data and obtain test data; The test data at least includes data channel information, data transmission rate, rate resolution, data jitter parameters and data swing; Bit error rate unit: used to transfer test data and high-speed serial data to a preset interference simulation model, collect corresponding simulation configuration parameters, and calculate the bit error rate of the high-speed serial data through the simulation configuration parameters.
4. A high-speed serial chip bit error rate test system as claimed in claim 3, characterized in that: The data jitter parameters include at least the data jitter type, data jitter frequency and data maximum jitter amplitude of the high-speed serial data; The data swing includes at least a data output swing of high-speed serial data, a data swing resolution and a data swing accuracy.
5. A high-speed serial chip bit error rate test system as claimed in claim 3, characterized in that: The bit error rate unit comprises: Modulation parameter subunit: used to perform interference training on high-speed serial data based on a preset interference simulation model and calculate the corresponding modulation parameters; The pilot signal subunit is used to modulate the test data through the modulation parameters and generate the corresponding pilot signal; The guide signal is used to generate a corresponding signal through modulation parameters to guide the test data; Data type conversion subunit: used to add the guidance signal to the interference simulation model, train the high-speed serial data again, collect the corresponding simulation configuration parameters, and perform data type conversion on the high-speed serial data; Bit error rate subunit: used to calculate the bit error rate of high-speed serial data after data type conversion by simulating configuration parameters.
6. A high-speed serial chip bit error rate test system as claimed in claim 5, characterized in that: The modulation parameter subunit comprises: Simulated transmission channel subunit: used for generating a simulated transmission channel based on a preset interference simulation model; Interference parameter subunit: used for collecting interference factors of historical high-speed serial data, transmitting the interference factors to the interference simulation model for training, and generating corresponding first interference parameters; Transmission rate subunit: used for fusing the first interference parameter and the analog transmission channel to generate a corresponding interference simulation channel, and transmitting high-speed serial data to the interference simulation channel for interference training to determine the transmission rate; Transmission delay parameter subunit: used to compare and calculate the transmission rate of high-speed serial data and a preset transmission threshold to determine the transmission delay parameter; Modulation parameter subunit: used to calculate the corresponding modulation parameters based on the interference factor and the transmission delay parameter.
7. A high-speed serial chip bit error rate test system as claimed in claim 5, characterized in that: The data type conversion subunit comprises: Target simulation model subunit: used to add the guidance signal to the interference simulation model, update the interference simulation model, and generate the corresponding target simulation model; The second interference parameter subunit is used to transmit high-speed serial data to the target simulation model for training and collect the corresponding second interference parameters again; The analog configuration parameter subunit is used to calculate the error between the first interference parameter and the second interference parameter, and calculate the analog configuration parameter corresponding to the high-speed serial data; Type conversion subunit: used for performing data type conversion on high-speed serial data simultaneously based on the simulation configuration parameters.
8. A high-speed serial chip bit error rate test method, characterized in that: include: Send and receive high-speed serial data based on preset FPGA transceivers; Test and read the bit error rate of high-speed serial data through a preset clock source; Generate corresponding calibration parameters according to the bit error rate, and receive and calibrate high-speed serial data sent by the high-speed serial chip device through the calibration parameters; Receive user instructions, and control the high-speed serial chip, the bit error rate test module and the calibration module to communicate interactively by receiving user instructions; Generating corresponding calibration parameters according to the bit error rate, and receiving and calibrating high-speed serial data sent by the high-speed serial chip device through the calibration parameters includes: Obtain the bit error deviation between the interference rate and the bit error rate under the same-frequency interference signal; Calculate the corresponding calibration parameters through the bit error deviation; Receiving and calibrating high-speed serial data sent by a high-speed serial chip device through calibration parameters; The receiving and calibrating high-speed serial data sent by the high-speed serial chip device by calibrating the parameters includes: Acquire a transmission channel for sending and receiving data by a high-speed serial chip device; Obtain interference factors through a preset interference simulation model and determine corresponding interference parameters; Calculate the channel loss parameter of the transmission channel through the interference factor and the interference parameter; Determine whether the channel loss parameter is greater than a preset loss threshold and determine the determination result; When the judgment result is that the channel loss parameter is greater than a preset loss threshold, the channel loss parameter is fed back to a preset interference simulation model and interference training is performed; When the judgment result is that the channel loss parameter is less than or equal to the preset loss threshold, the high-speed serial data sent by the high-speed serial chip device is received and calibrated by calibrating the parameters.
