Testing communication receivers with periodic signals
Patent Information
- Application Number
- HK62026127145
- Authority / Receiving Office
- HK · HK
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2023-09-07
- Filing Date
- 2026-08-06
- Publication Date
- 2026-09-11
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
(19) State Intellectual Property Office (12) Invention Patent Application (10) Application Publication Number (43) Application Publication Date (21) Application Number 202480055588.2 (22) Application Date 2024.09.04 (30) Priority Data 63 / 581,005 2023.09.07 US (85) PCT International Application Entering National Phase Date 2026.02.27 (86) PCT International Application Application Data PCT / US2024 / 045069 2024.09.04 (87) PCT International Application Publication Data WO2025 / 054136 EN 2025.03.13 (71) Applicant: Ritek, Inc. Address: California, USA (72) Inventor: Orr Nadirimita Anholt (74) Patent Agency: Beijing Anxin Fangda Intellectual Property Agency Co., Ltd. 11262 Patent Attorneys Qi Jiawen and Zhang Kuiyan (51) Int.Cl. H04W 24 / 06 (2006.01) G01R 31 / 317 (2006.01) G01R 31 / 3183 (2006.01) H03M 13 / 47 (2006.01) H03M 13 / 00 (2006.01) G11C 29 / 12 (2006.01) G01R 31 / 3193 (2006.01) (54) Title of Invention: Testing a Communication Receiver Using Periodic Signals (57) Abstract: A system (100) includes a test transmitter (102) comprising a pseudo-random bit sequence (PRBS) generator and a signal generation circuit. The PRBS generator is configured to generate PRBS. A signal generation circuit is configured to generate a test signal comprising repetition of a truncated portion of a PRBS, such that the period of repetition is shorter than the period of the PRBS. Claims 2 pages, Description 9 pages, Drawings 5 pages, CN 121753386 A 2026.03.27 CN 1 21 75 33 86 A 1. A system comprising: a test transmitter comprising: - a pseudo-random bit sequence (PRBS) generator configured to generate a PRBS; and - a signal generation circuit configured to generate a test signal comprising repetition of a truncated portion of the PRBS, such that the period of repetition is shorter than the period of the PRBS. 2. The system of claim 1, wherein, when generating the test signal, the signal generation circuit is configured to generate a sequence of packets comprising (i) repetition of a truncated portion of the PRBS used as a payload, and (ii) additional symbols.3. The system of claim 1 or 2, further comprising: a receiver circuit configured to receive and decode the test signal; and a test circuit configured to generate a reference signal identical to a repetition of a truncated portion of the PRBS, and to evaluate the performance of the receiver circuit by comparing the reference signal with the test signal decoded by the receiver circuit. 4. The system of claim 3, wherein the test circuit in the receiver is configured to generate the reference signal comprising a repetition of a truncated portion of the PRBS. 5. The system of claim 3, wherein: the test signal generated by the transmitter includes additional symbols interleaved between the repetitions of the truncated portion of the PRBS; and the test circuit in the receiver is configured to omit the additional symbols from the comparison with the reference signal. 6. A test transmitter, comprising: an encoder configured to encode an input data sequence using a non-terminating forward error correction (FEC) code; and a test sequence generation circuit configured to generate a periodic FEC cyclic test sequence having a preset period length, wherein a valid non-terminating encoded data stream is formed based on the FEC code when the periodic FEC cyclic test sequence is repeatedly encoded by the encoder. 7. The test transmitter of claim 6, wherein each period of the FEC cyclic test sequence begins in the same state of the encoder. 8. The test transmitter of claim 6 or 7, wherein the test sequence generation circuit is configured to insert a cyclic redundancy check (CRC) code within the FEC cyclic test sequence. 9. A method for generating a test signal, comprising: generating a pseudo-random bit sequence (PRBS); and generating a test signal comprising repetition of a truncated portion of the PRBS such that the period of the repetition is shorter than the period of the PRBS. 10. The method of claim 9, wherein generating the test signal comprises generating a sequence of packets, the sequence of packets comprising: (i) a repetition of a truncated portion of the PRBS used as a payload, and (ii) additional symbols. 11. The method of claim 9 or 10, further comprising: in a receiver under test: receiving and decoding the test signal; generating a reference signal identical to the repetition of the truncated portion of the PRBS; and evaluating the performance of the receiver circuit by comparing the reference signal with the test signal decoded by the receiver. 12. The method of claim 11, wherein generating the reference signal comprises generating a repetition of the truncated portion of the PRBS.13. The method of claim 11, wherein: the test signal includes additional symbols interleaved between the repetitions of the truncated portion of the PRBS; and comparing the reference signal includes omitting the additional symbols from the comparison with the reference signal. 14. A method for generating a test signal, comprising: operating an encoder that encodes an input data sequence using a non-terminating forward error correction (FEC) code; and generating a periodic FEC cyclic test sequence having a preset period length, wherein a valid non-terminating encoded data stream is formed according to the FEC code when the periodic FEC cyclic test sequence is repeatedly encoded by the encoder. 15. The method of claim 14, wherein each period of the FEC cyclic test sequence begins in the same state of the encoder. 16. The method of claim 14 or 15, wherein generating the FEC cyclic test sequence includes inserting a cyclic redundancy check (CRC) code within the FEC cyclic test sequence. Claims 2 / 2 Page 3 CN 121753386 A Testing a Communication Receiver Using Periodic Signals
[0001] Cross-Reference to Related Applications This application claims the benefit of U.S. Provisional Patent Application 63 / 581,005, filed September 7, 2023, the disclosure of which is incorporated herein by reference.
[0002] Field of the Invention This invention relates generally to communication systems, and particularly to the testing of communication receivers.
[0003] Background of the Invention Digital communication systems, especially digital communication receivers, present significant testing challenges. Some background on the testing of digital communication systems can be found in “A survey of communication protocol testing” (Lai, R., Journal of Systems and Software, 62(1), 21–46 (2002)), which includes a literature review on communication protocol testing, focusing on five areas: test sequence generation methods, test coverage, fault models and predictions, test tools, and experience reporting.
[0004] Other communication system testing backgrounds can be found in "BER Testing of Communication Interfaces" (Yongquan Fan, & Zilic, Z. IEEE Transactions on Instrumentation and Measurement, 57(5) (2008)). The authors propose a general bit error rate (BER) testing scheme to characterize the quality of communication interfaces.This paper proposes a scheme for BER testing of Field Programmable Gate Arrays (FPGAs) for both design and evaluation phases. The scheme consists of a Bit Error Rate Tester (BERT) core and a novel Additive White Gaussian Noise (AWGN) generator core. The authors also propose a pipelined structure utilizing the central limit theorem, which can achieve a speedup of four times or more.
[0005] Summary of the Invention Embodiments of the invention described herein provide a system including a test transmitter comprising a pseudo-random bit sequence (PRBS) generator and a signal generation circuit. The PRBS generator is configured to generate a PRBS. The signal generation circuit is configured to generate a test signal comprising a repetition of a truncated portion of the PRBS, such that the period of the repetition is shorter than the period of the PRBS.
[0006] In some embodiments, when generating the test signal, the signal generation circuit is configured to generate a sequence of packets comprising (i) a repetition of a truncated portion of the PRBS used as a payload, and (ii) additional symbols.
[0007] In some embodiments, the system further includes receiver circuitry and test circuitry. The receiver circuit is configured to receive and decode the test signal. The test circuit is configured to generate a reference signal that is identical to the repetition of the truncated portion of the PRBS, and to evaluate the performance of the receiver circuit by comparing the reference signal with the test signal decoded by the receiver circuit.
[0008] In an example embodiment, the test circuit in the receiver is configured to generate a reference signal that includes the repetition of the truncated portion of the PRBS. In another embodiment, the test signal generated by the transmitter includes additional symbols interleaved between the repetitions of the truncated portion of the PRBS, and the test circuit in the receiver is configured to omit the additional symbols from the comparison with the reference signal.
[0009] Furthermore, according to an embodiment of the invention, a test transmitter is also provided, which includes an encoder and a test sequence generation circuit. The encoder is configured to encode an input data sequence using a non-terminating forward error correction (FEC) code. The test sequence generation circuit is configured to generate a periodic FEC cyclic test sequence having a preset period length, which, when repeatedly encoded by the encoder, forms a valid non-terminating encoded data stream according to the FEC code.
[0010] In some embodiments, each period of the FEC cyclic test sequence begins in the same state of the encoder. In some embodiments, the test sequence generation circuit is configured to insert cyclic redundancy check (CRC) codes within the FEC cyclic test sequence.
[0011] According to embodiments of the present invention, a method for generating a test signal is also provided, comprising generating a pseudo-random bit sequence (PRBS). A test signal is generated, the test signal comprising repetition of a truncated portion of the PRBS such that the period of repetition is shorter than the period of the PRBS.
[0012] Furthermore, according to embodiments of the present invention, a method for generating test signals is also provided, comprising: operating an encoder that encodes an input data sequence using a non-terminating forward error correction (FEC) code; generating a periodic FEC cyclic test sequence having a preset period length; and forming a valid non-terminating encoded data stream based on the FEC code when the sequence is repeatedly encoded by the encoder.
[0013] The invention will be more fully understood from the following detailed description of embodiments of the invention, taken in conjunction with the accompanying drawings, in which: Brief Description of the Drawings FIG1 is a block diagram schematically illustrating a test system according to an embodiment of the invention; FIG2 is a block diagram schematically illustrating an OIF 800ZR test transmitter configured in mode A according to an embodiment of the invention; FIG3 is a block diagram schematically illustrating an OIF 400ZR test transmitter configured in mode B according to an embodiment of the invention; FIG4 is a flowchart schematically illustrating a method for creating an effective periodic test sequence according to an embodiment of the invention; FIG5A is a flowchart schematically illustrating a method for testing a communication receiver under test (RUT) in a first test mode according to an embodiment of the invention; and FIG5B is a flowchart schematically illustrating a method for testing a communication RUT in a second test mode according to an embodiment of the invention. Detailed Description
[0014] Overview Modern high-speed digital communication systems are often complex and present testing challenges. We will describe the invention below primarily with reference to optical (via fiber optic) communication systems; however, the invention is by no means limited to optical communication systems and can be applied to other suitable communication systems, such as systems employing electrical signals, optical signals, and electromagnetic signals for transmission.
[0015] Many proprietary systems and standards for fiber optic communication have emerged in the past few years. Examples include the Optical Interconnect Forum (OIF) standards 400ZR / 800ZR, openZR+, and OpenROADM.
[0016] For example, the 400ZR standard specifies a transmission distance of up to 80 km without amplification and up to 120 km with amplification when using QAM16 modulation at a rate of 60 to 68 Gbaud. Regarding forward error correction (FEC), the 400ZR standard supports the Cascaded FEC (CFEC) method, which combines inner and outer FEC codes to enhance performance compared to standard FEC codes.
[0017] 800ZR is similar but faster when using QAM16 modulation.
[0018] To test and calibrate communication equipment, different parts of the modem need to be tested with various signals. On the receiver (Rx) side, tests can be performed using test signals from a compatible transmitter or from dedicated test equipment.Instruction manual, pages 2 / 9, CN 121753386 A
[0019] Using test equipment for testing and calibration is preferred because the transmitted signal quality is high and defects and errors can be inserted for testing purposes.
[0020] A disadvantage of using test equipment is that the transmission length is usually limited, therefore, periodic signals should be used, and some communication standards may not adequately cover such signals.
[0021] Embodiments of the invention disclosed herein provide apparatus and methods for testing a communication receiver (referred to as a receiver under test, or RUT) using instances of multiple relatively short periodic test signals. In one embodiment, the test transmitter is configured to operate in one of two modes: a first mode (mode A) and a second mode (mode B).
[0022] In the embodiments disclosed below, mode A is used to test the demodulator portion of the RUT using a truncated pseudo-random bit sequence (PRBS) that is input to the modulator portion of the test transmitter. The RUT is modified to compare the output of the RUT demodulator with the truncated PRBS sequence and output a mismatch (if any).
[0023] In another embodiment disclosed below, mode B is used to test the complete RUT using an FEC cyclic test sequence that also generates a cyclic sequence at the output of the transmitter. The test sequence is input to a test transmitter, which outputs a cyclic signal with a period length of an integer number of superframes. The test results can be checked by calculating the CRC error of the RUT. In some mode B embodiments, the RUT includes a Multi-Block Alignment Signal (MBAS) circuit that is modified according to the length of the test sequence period.
[0024] Finally, in the embodiments disclosed below, a method for generating an FEC cyclic input sequence is disclosed.
[0025] The system describes the generation of output symbols using forward error correction (FEC) based on the input signal and the internal state of the FEC circuit using Bose, Chaudhuri, and Hocquenghem (BCH) codewords. Some communication standards (e.g., 400ZR, 800ZR) use an infinite sequence of interleaved BCH codewords, resulting in a no-terminator code, meaning there is no point in time when the encoding ends (e.g., the opposite of BCH codes, Hamming codes, and other block codes). In the following description, we will use the term FEC to refer to a no-terminator FEC (such as OFEC or CFEC).
[0026] In the embodiments disclosed below, we use a test apparatus that includes a modified communication transmitter to test a communication receiver (hereinafter referred to as the receiver under test, or RUT). We focus on two test scenarios—a demodulator test scenario (hereinafter referred to as Mode A) and a complete receiver test scenario (hereinafter referred to as Mode B).
[0027] FIG1 is a block diagram schematically illustrating a test system 100 according to an embodiment of the present invention. The test system 100 includes a test transmitter 102, a medium 104 (e.g., fiber optic cable), and a receiver under test (RUT) 106.
[0028] We arbitrarily divide the transmission link of the test transmitter 102 into two main circuits—an encoder 108 and a modulator 110. The encoder 108 includes some or all of the following circuits (not shown in FIG1): a cyclic redundancy code (CRC) circuit, a padding circuit, a scrambler, a forward error correction (FEC) encoder, and an interleaver. The modulator 110 includes a mapper and circuitry to add synchronization bits and pilot bits to the transmitted signal.
[0029] Similarly, we divide the receiving link into a demodulator 112 and a decoder 114. The demodulator 112 includes circuitry for synchronizing the input data according to the synchronization bits and pilot bits, and a demapping unit. Decoder 114 includes some or all of the following circuits: FEC decoder, descrambler, deinterleaver, padding remover, and CRC checker. It should be noted that in some embodiments, not all of the above functions are included; furthermore, in embodiments, other functions may be added to the link, such as error correction code (ECC) insertion in the test transmitter and error correction circuitry in the RUT.
[0030] According to the example embodiment shown in FIG1, test transmitter 120 includes a configuration switch 116 that sets the test mode to mode A or mode B. Mode A primarily tests the demodulation function of the RUT, while mode B tests all functions of the RUT. When in mode A, Tx encoder 108 is not used; instead, Tx pseudo-random binary sequence (PRBS) generator 118 transmits periodically truncated PRBS sequences to Tx modulator specification page 3 / 9 6 CN 121753386 A 110. The truncated PRBS generator 118 generates PRBS starting from a given seed; in some embodiments, the seed can be changed between tests, for example, the seed can be preloaded by the processor (not shown) of the test transmitter. PRBS lengths are relatively large (e.g., the length of 31-bit PRBS31 is 2,147,483,647 bits), and may be impractical to use as a test signal; therefore, the truncated PRBS generator 118 transmits repetitions of truncated PRBS. In some embodiments, the truncated PRBS length is an integer number of superframes (as defined in 400ZR / 800ZR and other standards).
[0031] According to the example embodiment shown in FIG1, for a mode A test, RUT 106 includes a comparator 120 that compares the sequence received by demodulator 112 with a periodically truncated PRBS sequence generated by Rx truncated PRBS generator 122.In some embodiments, the Rx-truncated PRBS generator 122 is identical to the Tx-truncated PRBS generator 118, starting from the same seed and generating the same sequence (the Tx-Rx truncated PRBS synchronization technique that can be used in the embodiments will be described below). Therefore, when in mode A, the test result can be observed at the output of comparator 120 (in some embodiments, RUT 106 may also include an error counter to count errors detected by the comparator).
[0032] In embodiments, various truncated PRBS synchronization techniques can be used: 1. In some embodiments, when the length of the truncated PRBS is a single superframe, the Rx-truncated PRBS generator can restart (to a preset seed value) in response to a synchronization signal detected by demodulator 112.
[0033] 2. In other embodiments, when the length of the truncated PRBS is one or more superframes, the Rx PRBS generator can detect the last state of the truncated PRBS period and, in response, restart to a preset seed value.
[0034] 3. In yet another embodiment, when the truncated PRBS length is one or more superframes, the RUT includes a superframe counter that is reset at the start of the test (e.g., in response to a global RUT reset signal), increments in response to a synchronization signal detected by the demodulator 112, and is reset when a preset number of superframes have been received.
[0035] 4. Finally, in some other embodiments, the test transmitter transmits an out-of-band truncated PRBS restart signal, and the Rx truncated PRBS generator is reset in response to receiving a restart instruction.
[0036] A detailed description of the OIF 800ZR test transmitter set to mode A will now be described with reference to FIG. 2.
[0037] When the test system 100 is set to mode B for testing, switch 116 routes the output of Tx encoder 108 to Tx modulator 110, and therefore PRBS generator 118 is not used. Forward error correction (FEC) cyclic sequence generator 124 transmits a periodic test sequence to Tx encoder 108, which encodes the sequence (including functions such as adding CRC, scrambling, FEC encoding, interleaving, etc.) and transmits the encoded signal to Tx modulator 110.
[0038] The periodic test sequence generated by FEC cyclic sequence generator 124 is repeated, with a cycle of an integer number of superframes. Furthermore, the periodic test sequence is established such that the resulting Tx encoder output will also be periodic. This requirement can be challenging because the output of the FEC encoder of the Tx test transmitter is generated based on the input and the internal FEC encoder state, which changes in response to the input. In an embodiment, the FEC cyclic sequence is configured such that when input is given to the FEC circuitry, the internal FEC encoder state will also be cyclic, with the same cycle.
[0039] A detailed description of the OIF 400ZR test transmitter configured in Mode A will be described below with reference to FIG. 3. An example technique for generating such a FEC cyclic sequence will be described below with reference to FIG. 4.
[0040] When in Mode B, the test results can be obtained by observing the CRC error count output by the Rx decoder 114.
[0041] In some embodiments, the test transmitter 102 further includes an error insertion circuit 126 to test the fault resilience and fault recovery of the RUT 104. The error insertion circuit can be configured to insert errors in various test transmitter circuits under software control. In some embodiments, the error insertion circuit is also configured to insert errors into a medium, for example, by controlling a variable optical attenuator coupled to an optical fiber.
[0042] Therefore, according to the example embodiment shown in FIG1 and as described above, the test transmitter can be tested in two modes: RUT-Modulator-Demodulator Test (Mode A), where a periodically truncated PRBS signal is used to test modulation and demodulation, and Complete Test (Mode B), where a periodic input designed to generate a periodic output is used to test the complete communication path.
[0043] The configuration of the test system 100 is referenced by way of example. Other configurations may be used in alternative embodiments. For example, in some embodiments, the test transmitter is configured to test the RUT only in Mode A, and thus, some circuitry of the test transmitter circuitry may not be used. In other embodiments, only Mode B is used for testing. In one embodiment, the test system is configured to use a single test transmitter to test multiple receivers (in some cases, an optical splitter may be required).
[0044] In embodiments, the communication system is not necessarily optical—a variety of suitable wired and wireless, electrical, electromagnetic, or optical communication systems may be used.
[0045] FIG2 is a block diagram schematically illustrating an OIF 800ZR test transmitter 200 configured in mode A according to an embodiment of the present invention.According to the OIF specification, the transmitter includes: 1. a CRC circuit 202, which receives the input sequence and adds a 32-bit CRC code to the input bit group; 2. a padding / scrambling circuit 204, which receives the output of the CRC circuit, adds fixed-value padding bits, and then scrambles the data; 3. an FEC encoder 206, which adds forward error correction codes to the input of the output of the padding / scrambling circuit 204 and generates a non-stop FEC code; 4. an interleaver 208, which interleaves the non-stop FEC code output of the FEC encoder 206; 5. a mapping circuit 210, which maps the output of the interleaver 208 to symbols; and 6. a synchronization / pilot circuit 212, which adds synchronization signals, pilot signals, and other auxiliary signals to the output of the mapping circuit 210.
[0046] For Mode A testing, the connection between interleaver 208 and mapping circuit 210 is broken (e.g., by setting configuration switch 116 of FIG. 1 to Mode A), and the truncated PRBS generator circuit transmits periodically truncated PRBS to the input of the mapping circuit. As explained above, the period length of the truncated PRBS is an integer number of superframes. Appropriate circuitry is added to the RUT to check for errors in the periodically truncated PRBS sequence.
[0047] FIG. 3 is a block diagram schematically illustrating an OIF 400ZR test transmitter 300 configured according to an embodiment of the present invention. According to the OIF specification, the transmitter includes: 1. a CRC circuit 302 that receives the input sequence and adds a 32-bit CRC code to the input bit group; 2. an error decorrelation interleaver (EDI) circuit 304 that modifies the output of the CRC circuit 302 to reduce the possible correlation of errors.
[0048] 3. Multi-Block Alignment Signal (MBAS) circuit 306, which counts superframes (the contents of MBAS 306 are input to EDI circuit 304); 4. FEC encoder 308, which receives the output of EDI circuit 304, adds forward error correction bits, and generates unterminated FEC output code; 5. Status register 310, which temporarily stores the status of FEC encoder 308; 6. Error Decorrelator Deinterleaver (EDD) / Hamming circuit 312, which receives the unterminated FEC code from FEC encoder 308 and performs inverse decorrelation on parity bits.
[0049] 7. Mapper / interleaver circuit 314, which receives the output of EDD / Hamming circuit 314, maps data into symbols and interleaves the symbols; and specification page 5 / 9 8 CN 121753386 A 8. Synchronization / pilot circuit 316, which adds synchronization signals according to subframes, adds pilot signals, and adds other auxiliary signals to the output of mapper / interleaver circuit 314.
[0050] For mode B testing, FEC cyclic sequence generator 318 connected to the input of CRC circuit 302 generates the input sequence of the test transmitter.Furthermore, the MBAS circuit is modified to wrap around the superframe count to zero when the number of superframes in the test cycle is reached.
[0051] As described above, the periodic input sequence is FEC cyclic, such that the state of state 310 is the same at the beginning of all cycles.
[0052] The generation of the FEC cyclic pattern is also a periodic test signal of valid FEC codewords, which cannot be generated by retransmitting any periodic sequence (including an integer number of superframes) because a single BCH codeword will not be a valid codeword in the seam between two repeating sequences. In the embodiment, a sequence is constructed such that all BCH codewords will be valid when repeated. The technique for constructing such an “FEC cyclic” sequence is outlined below.
[0053] First, we note that the state of the BCH encoder can be described by a finite number of bits, representing the synodal or partial parity check of a BCH codeword that has not yet been fully encoded. Let us denote the size of the state as .
[0054] The code is a linear code, therefore the encoder is a binary linear system. For a fixed number of input bits, , (e.g., the length of the sequence), we can find matrices A, B, C, D such that: where: is the encoder's state at the beginning of the encoded segment.
[0055] is the encoder's state at the end of the encoded segment.
[0056] is the encoder's input data.
[0057] is the encoder's output.
[0058] Periodicity is achieved by adding additional conditions: These equations can be solved to find multiple solutions for and . We will prefer solutions with higher entropy (trivial solutions of 0 may not be very useful). Note that in the embodiments, more than one solution may be used to achieve a wider range of test diversity.
[0059] In typical communication standards, the input data is modified before FEC encoding, for example, a CRC code is added to the data, and sometimes the data is scrambled. The effect of these modifications is typically (e.g., in the ZR 800) to perform a linear operation on the output plus a fixed value: [Page 9, Specification 6 / 9, CN 121753386 A] In this new set of equations, the size of the input has been changed from [value] to [value], and factors E and F have been added. By solving these overdetermined equations, we can find the state and input that will produce a periodic valid signal.
[0060] Whether a solution to the equation exists depends on the properties of matrices A, B, and E. The equation can be modified by changing the period to one or more superframes. A solution to the equation can be solved using common mathematical techniques (if a solution exists): This can be expressed in matrix form: If the solution exists in the subspace spanned by the column vectors of X, then the solution exists.
[0061] Figure 4 is a flowchart 400, which schematically illustrates a method for creating a valid FEC cyclic test sequence according to an embodiment of the invention.This flowchart is typically executed offline by a suitable computer software program (hereinafter referred to as "SW") using a simulator model of the transmitter, and the created test sequence is loaded into the FEC cyclic sequence generator 124 of the test transmitter 102 (FIG. 1).
[0062] For simplicity, we will refer to the sequence of input data bits as D, the FEC state as S, the state and input data as S / D, and the single set bit word (applicable to both FEC state and input data) as SSB.
[0063] The flowchart begins with a reset S / D operation 402, where the SW sets the state and input data to zero. Next, at the apply encoder operation 404, the SW runs the transmitter simulator starting with an all-zero state and all-zero input data to generate a vector E (as defined above). The SW saves the vector E, which will be used in further operations.
[0064] The SW now enters a reset S / D and bit pointer operation 406, where the SW sets the state and input data to zero and sets the bit pointer variable pointing to the encoder state bit to zero. Next, at the SSB state generation operation 408, the SW generates the encoder state, where the bit pointed to by the bit pointer is binary 1, and all other bits are binary 0.
[0065] The SW now runs a transmitter simulation in the encoder application operation 410 to encode the all-zero input data sequence using the initial input state set in operation 408. The SW saves the simulated post-state of each initial state in memory and proceeds to the XOR matrix column operation 412, in which each encoded result A_i is XORed with matrix E (derived in operation 404) to obtain A_i+E.
[0066] Now, in the check last bit pointer operation 414, the SW checks whether the bit pointer points to the last state bit (e.g., for an 8-bit state, the SW checks whether the bit pointer is equal to binary 10000000). If the bit pointer has not yet reached the last state bit, the SW enters the increment bit pointer operation 416, incrementing the bit pointer to point to the next state bit, and then re-enters operation 408 to generate the next SSB state.
[0067] In operation 414, if the bit pointer points to the last state bit, the SW will enter the reset S / D and bit pointer operation 418, where the SW sets the state and input bits to zero and sets the bit pointer variable pointing to the input data bit to zero. Next, in the generate SSB input operation 420, the SW generates the input data sequence, where the input data bit pointed to by the bit pointer is binary 1 and all other bits are binary 0.
[0068] The SW now runs the transmitter simulation in the apply encoder operation 422, starting from an all-zero state, and encodes the SSB input sequence using the input data set as in operation 420.The SW stores the post-simulation state of each SSB input data in memory and enters the XOR matrix column operation 424, in which the encoded result B_i is XORed with matrix E (derived in operation 404) to obtain Bi+E.
[0069] Now, in the check last bit pointer operation 426, the SW checks whether the bit pointer points to the last sequence bit. If the bit pointer has not reached the last sequence bit, the SW enters the increment bit pointer operation 428, increments the bit pointer to point to the next data bit, and then re-enters operation 420 to generate the next data SSB.
[0070] If in operation 426 the bit pointer points to the last input data sequence bit, the SW will enter the lookup matrix A operation 430, in which the SW performs the XOR operation of the post-simulation state stored in operation 410 with matrix E to find matrix A. Similarly, in the subsequent lookup matrix B operation 432, SW performs an XOR operation between the post-simulation state saved in operation 422 and matrix E to find matrix B.
[0071] Now, in the lookup solution operation 434, SW looks for a solution to the non-homogeneous overdetermined linear system of equations s=As+Binp+E, which has multiple solutions. The solution can be found using, for example, Gaussian elimination or other methods known in the art.
[0072] SW may optionally enter the lookup output operation 436, in which the test transmitter is simulated with the calculated input and the generated output is stored. In an embodiment, the stored output can be used in a simplified test transmitter that includes only the PHY.
[0073] The above method creates periodic test signals for communication standards such as OIF ZR800, OpenZR+, and OpenroadM. The created test signals will have valid CRC and FEC codewords, allowing direct BER measurement by monitoring CRC errors. The relatively long period length will not affect BER measurement because spikes appear at multiples of the sequence period.
[0074] For the OIF ZR400 standard, there is an additional synchronization signal (MBAS) that increments by 1 for each superframe and wraps back to zero at 128. Therefore, sequences shorter than 128 superframes will be invalid. In one embodiment, the RUT is modified to support an MBAS wrap-around value less than 128; in another embodiment, the wrap-around value is one superframe; in still others, the value can be any other integer number of superframes, and in yet another embodiment, the wrap-around value of the MBAS signal is programmable.
[0075] The method for finding the FEC cyclic input sequence shown in Figure 4 and described above is referenced by way of example. Other methods may be used in alternative embodiments. For example, in some embodiments, the tester performs operations 418 to 428 prior to operations 406 to 416.In some embodiments, some operations may run simultaneously, for example, on a multi-core processor.
[0076] FIG5A is a flowchart 500, which schematically illustrates a method for testing a communication RUT in a first test mode according to an embodiment of the invention. The flowchart is performed by test hardware and software (referred to as a tester). The RUT under test will be referred to as the receiver under test (RUT).
[0077] The flowchart begins with a periodic PRBS generation operation 502, in which the tester generates a periodic test sequence by truncating the PRBS sequence into an integer number of superframes. Next, at a transmit sequence to modulator operation 504, the tester transmits the periodic test sequence to the modulator portion of a communication transmitter compatible with the communication receiver under test, bypassing the encoder portion of the transmitter. In some embodiments, the encoder portion of the transmitter includes CRC generation, padding, scrambling, FEC encoding, and interleaving, and the encoder portion of the transmitter may include mapping and the addition of synchronization symbols and pilot symbols.
[0078] Next, at a transmit transmitter output operation 506, the tester transmits the output of the transmitter to the RUT through a suitable medium (e.g., optical fiber). In an embodiment, for testing purposes, the tester may inject errors into the various stages of the transmitter and / or the medium.
[0079] Finally, in the comparison output operation 508, the tester compares the output of the demodulator section of the RUT with the periodically truncated PRBS sequence of operation 502. In an embodiment, this comparison is performed by circuitry added to the RUT.
[0080] FIG5B is a flowchart 550, which schematically illustrates a method for testing a communication receiver in a second test mode according to an embodiment of the invention. This flowchart is performed by test hardware and software (referred to as the tester). The receiver under test will be referred to as the receiver under test (RUT).
[0081] The flowchart begins with an optional modification of the MBAS operation 552, in which the tester modifies the multi-block alignment signal (MBAS) circuitry of the RUT to reset it according to the size of the test sequence (as described above with reference to FIG4). This operation is optional and is required in communication systems that include MBAS (e.g., 400ZR).
[0082] Next, in the FEC cyclic sequence generation operation 554, the tester generates a cyclic test sequence with a period length of an integer number of superframes, thereby causing the transmitter's FEC encoder to operate cyclically, and thus causing the transmitter to output cyclically (the method for finding the FEC cyclic test sequence has been described above with reference to FIG4).
[0083] Now, in the sequence transmission to tester operation 556, the tester transmits the periodic test sequence to the communication transmitter, which in turn generates a cyclic transmission signal in response.Now, at transmitter output operation 558, the tester transmits the transmitter's output to the RUT via a suitable medium (e.g., optical fiber). In an embodiment, the tester may inject errors into the various stages of the transmitter and / or the medium for testing purposes.
[0084] Finally, at CRC error counting operation 560, the tester observes the CRC errors of the RUT output to evaluate the operation of the RUT.
[0085] Extension to Aperiodic Test Sequences In some embodiments, the above-described techniques can be used for aperiodic testing. For example, in the 800ZR specification, the equations disclosed above can be used to transmit data, ensuring that the encoder's state is known at the end of a superframe. This eliminates the initial synchronization phase of the decoder, during which the initial state is unknown and the input stream cannot be decoded until enough bits have been received. In one embodiment, the initial transmission may use some data bits to ensure that the final or initial state is zero.
[0086] The apparatus and methods described above with reference to Figures 1 through 5B (including all their units and subunits) are exemplary configurations and methods shown purely for conceptual clarity. Any other suitable methods and configurations may be used in alternative embodiments. For example, in one embodiment, a combination of mode A and mode B testing can be used.
[0087] In various embodiments, the test transmitter 102 and receiver 106 (including its sub-units) can be implemented using suitable hardware, such as one or more application-specific integrated circuits (ASICs) or field-programmable gate arrays (FPGAs) or a combination of ASICs and FPGAs.
[0088] Therefore, it should be understood that the above embodiments are cited by way of example, and the invention is not limited to what has been specifically shown and described above. Rather, the scope of the invention includes combinations and sub-combinations of the various features described above, as well as variations and modifications of the invention that would be conceived by one of skill in the art upon reading the above description and that are not disclosed in the prior art. Documents incorporated herein by reference are considered part of this application, and the definitions in this specification should be considered only, except that any terms are defined in these incorporated documents in a manner that conflicts to some extent with the definitions expressly or implicitly made in this specification. Instruction manual, page 9 / 9, 12 CN 121753386 A, Figure 1; Instruction manual, Figure 1 / 5, page 13 CN 121753386 A, Figure 2; Instruction manual, Figure 2 / 5, page 14 CN 121753386 A, Figure 3; Instruction manual, Figure 3 / 5, page 15 CN 121753386 A, Figure 4; Instruction manual, Figure 4 / 5, page 16 CN 121753386 A, Figure 5A, Figure 5B; Instruction manual, Figure 5 / 5, page 17 CN 121753386 A.
Claims
1. A system comprising: Test transmitter, including: - A pseudo-random bit sequence (PRBS) generator, configured to generate PRBS; and - A signal generation circuit is configured to generate a test signal comprising a repetition of a truncated portion of the PRBS, such that the period of the repetition is shorter than the period of the PRBS.
2. The system according to claim 1, wherein, When generating the test signal, the signal generation circuit is configured to generate a sequence of groups, the sequence of groups including (i) a repetition of a truncated portion of the PRBS used as a payload, and (ii) additional symbols.
3. The system according to claim 1 or 2, further comprising: The receiver circuit is configured to receive and decode the test signal; and The test circuit is configured to generate a reference signal that is identical to a truncated portion of the PRBS, and to evaluate the performance of the receiver circuit by comparing the reference signal with the test signal decoded by the receiver circuit.
4. The system according to claim 3, wherein, The test circuit in the receiver is configured to generate a repeating reference signal that includes a truncated portion of the PRBS.
5. The system according to claim 3, wherein: The test signal generated by the transmitter includes additional symbols interleaved between repetitions of the truncated portion of the PRBS; and The test circuit in the receiver is configured to omit the additional symbols from the comparison with the reference signal.
6. A test transmitter, comprising: The encoder is configured to encode the input data sequence using unterminated forward error correction (FEC) codes; and A test sequence generation circuit is configured to generate a periodic FEC cyclic test sequence with a preset period length. When the periodic FEC cyclic test sequence is repeatedly encoded by the encoder, a valid non-terminating encoded data stream is formed based on the FEC code.
7. The test transmitter according to claim 6, wherein, Each cycle of the FEC cyclic test sequence begins in the same state of the encoder.
8. The test transmitter according to claim 6 or 7, wherein, The test sequence generation circuit is configured to insert cyclic redundancy check (CRC) codes into the FEC cyclic test sequence.
9. A method for generating a test signal, comprising: Generate pseudo-random bit sequence PRBS; and A test signal is generated, the test signal comprising a repetition of a truncated portion of the PRBS, such that the period of the repetition is shorter than the period of the PRBS.
10. The method according to claim 9, wherein, Generating the test signal includes generating a sequence of groups, the sequence of groups including: (i) a repetition of a truncated portion of the PRBS used as a payload, and (ii) additional symbols.
11. The method according to claim 9 or 10, further comprising: In the receiver being tested: Receive and decode the test signal; A reference signal is generated, which is the same as the repetition of the truncated portion of the PRBS; and The performance of the receiver circuit is evaluated by comparing the reference signal with the test signal decoded by the receiver.
12. The method according to claim 11, wherein, Generating the reference signal includes generating a repetition of the truncated portion of the PRBS.
13. The method according to claim 11, wherein: The test signal includes additional symbols interwoven between the repetitions of the truncated portion of the PRBS; and The comparison with the reference signal includes omitting the additional symbols from the comparison with the reference signal.
14. A method for generating a test signal, comprising: Operate the encoder, which encodes the input data sequence using non-terminating forward error correction (FEC) codes; and A periodic FEC cyclic test sequence with a preset period length is generated. When the periodic FEC cyclic test sequence is repeatedly encoded by the encoder, a valid non-terminating encoded data stream is formed according to the FEC code.
15. The method according to claim 14, wherein, Each cycle of the FEC cyclic test sequence begins in the same state of the encoder.
16. The method according to claim 14 or 15, wherein, Generating the FEC cyclic test sequence includes inserting a cyclic redundancy check (CRC) code into the FEC cyclic test sequence.
