Multi-channel code pattern generator output synchronization method and device
By performing split processing and phase detection on the PRBS signal of the multi-channel code generator, and updating the seed value using the synchronization seed value, the problem of difficult phase error correction between multiple channels is solved, achieving high-precision synchronous output and reducing system complexity.
Patent Information
- Application Number
- CN202510693715.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-27
- Publication Date
- 2025-10-31
AI Technical Summary
In traditional multi-channel pattern generators, phase errors and timing mismatches between channels are difficult to correct, affecting test accuracy and system performance, and failing to meet the requirements of high-speed systems for clock and signal accuracy.
By splitting the PRBS signal output from each channel pattern generator, one channel is selected as the phase detection signal, and phase detection and sampling are performed to obtain the synchronization seed value. This seed value is then fed back to each channel pattern generator for seed update, thereby achieving phase synchronization.
It achieves high-precision synchronous output of multi-channel PRBS signals, reducing system complexity and cost. It also forms a closed loop through real-time phase detection and feedback to adjust the phase difference in real time, ensuring signal stability and synchronization.
Smart Images

Figure CN120880438A_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of digital signal communication technology, and in particular to a method and apparatus for synchronizing the output of a multi-channel code generator. Background Technology
[0002] In modern digital communication, testing equipment, and high-frequency signal processing systems, code patterns, such as pseudo-random binary sequence (PRBS) codes, are widely used as important tools for testing and synchronization. Traditional multi-channel code generators often use independent signal generation units to generate pseudo-random sequences. Due to factors such as device manufacturing processes, clock distribution errors, and signal transmission delays, phase errors and timing mismatches often exist between channels, affecting test accuracy and overall system performance. However, phase errors are difficult to correct. In traditional solutions, the independently generated PRBS signals from multiple channels struggle to achieve high-precision synchronization in phase alignment, failing to meet the clock and signal accuracy requirements of high-speed systems. Summary of the Invention
[0003] This invention provides a method and apparatus for synchronizing the output of a multi-channel pattern generator, which solves the problem in the prior art that it is difficult to correct the phase alignment of independently generated PRBS signals from multiple channels and achieve high-precision synchronization.
[0004] This invention provides a method for synchronizing the output of a multi-channel pattern generator, comprising: The PRBS signal output by each channel pattern generator is processed by data splitting, and any one of the signals obtained from the splitting process is used as the phase detection signal; The phase offset is obtained by performing phase detection on the phase detection signal corresponding to each channel code generator; The phase offset is sampled to obtain the synchronization seed value of the PRBS signal; The synchronization seed value is fed back to each channel pattern generator for seed update, resulting in an updated seed value. The updated seed value is used to enable each channel pattern generator to output a phase-synchronized PRBS signal.
[0005] In some embodiments, performing phase detection on the phase detection signal corresponding to each channel code generator to obtain the phase offset includes: When there are two channel pattern generators, the phase detection signals corresponding to the two channel pattern generators are matched to obtain the phase offset. When the number of channel pattern generators is greater than two, the phase detection signal corresponding to one of the channel pattern generators can be arbitrarily selected as the target signal. Each phase-to-be-discriminated signal other than the target signal is matched with the target signal to obtain the phase offset corresponding to each phase-to-be-discriminated signal.
[0006] In some embodiments, sampling the phase offset to obtain the synchronization seed value of the PRBS signal includes: The phase offset is input into an analog-to-digital converter for digital conversion to obtain the synchronization seed value of the PRBS signal.
[0007] In some embodiments, after performing data splitting processing on the PRBS signal output by each channel pattern generator, the method further includes: The signal obtained from the split processing, other than the phase detection signal, is used as the channel output signal of the channel code generator.
[0008] In some embodiments, feeding back the synchronization seed value to each channel pattern generator for seed update to obtain the updated seed value includes: The synchronization seed value is sent to the corresponding channel pattern generator, and the initial seed value in the channel pattern generator is updated using the synchronization seed value to obtain the updated seed value.
[0009] In some embodiments, the method further includes: When each channel pattern generator outputs a PRBS signal, the environmental change fluctuation value is acquired in real time. The environmental change fluctuation value includes at least one of the following: voltage change value, temperature change value, and clock jitter value. When it is determined that the environmental change fluctuation value is greater than the preset environmental change threshold, the phase detection signal corresponding to the PRBS signal is obtained. Phase synchronization is performed on the PRBS signals output by each channel code generator based on the phase detection signal.
[0010] The present invention also provides a multi-channel pattern generator output synchronization device, comprising: The splitting module is used to split the data of the PRBS signal output by each channel pattern generator and use any one of the split signals as the phase detection signal. The detection module is used to perform phase detection on the phase detection signal corresponding to each channel code generator to obtain the phase offset. The sampling module is used to sample the phase offset to obtain the synchronization seed value of the PRBS signal; The synchronization module is used to feed back the synchronization seed value to each channel pattern generator for seed update, and obtain the updated seed value. The updated seed value is used to enable each channel pattern generator to output a phase-synchronized PRBS signal.
[0011] The present invention also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor executes the computer program to implement the multi-channel pattern generator output synchronization method as described above.
[0012] The present invention also provides a non-transitory computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the multi-channel pattern generator output synchronization method as described above.
[0013] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the multi-channel pattern generator output synchronization method as described above.
[0014] The present invention provides a method and apparatus for synchronizing the output of a multi-channel pattern generator. This method splits the PRBS signal output from the channel pattern generator into two paths, using one path as the phase detection signal for phase offset calculation. Feedback is then performed, and a synchronization seed value is used to update the seed value for each multi-channel pattern generator, ensuring that the output PRBS signals of each channel pattern generator are phase-synchronized. On the one hand, by using signal data splitting for phase detection, the number of independent channel pattern generators is reduced, lowering system complexity and cost. On the other hand, real-time phase detection of the PRBS signal during output, through feedback forming a closed loop, adjusts the phase difference between multiple channels in real time, achieving high-precision synchronous output of the PRBS signal. Attached Figure Description
[0015] To more clearly illustrate the technical solutions in this invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced one by one below. Obviously, the drawings described below are some embodiments of this invention. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0016] Figure 1 This is a flowchart illustrating the multi-channel code generator output synchronization method provided by the present invention.
[0017] Figure 2 This is a schematic diagram of the multi-channel code generator output synchronization method provided by the present invention.
[0018] Figure 3This is a schematic diagram of seed value feedback update in the channel code generator provided by the present invention.
[0019] Figure 4 This is a schematic diagram of the structure of the multi-channel code generator output synchronization device provided by the present invention.
[0020] Figure 5 This is a schematic diagram of the structure of the electronic device provided by the present invention. Detailed Implementation
[0021] To make the objectives, technical solutions, and advantages of this invention clearer, the technical solutions of this invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this invention. All other embodiments obtained by those skilled in the art based on the embodiments of this invention without creative effort are within the scope of protection of this invention.
[0022] The multi-channel code generator output synchronization method and apparatus of the present invention are described below with reference to the accompanying drawings. Figure 1 This is a flowchart illustrating the multi-channel pattern generator output synchronization method provided by the present invention, as shown below. Figure 1 As shown, the method includes the following steps 101 to 104.
[0023] Step 101: Perform data splitting processing on the PRBS signal output by each channel code generator, and take any one of the signals obtained from the splitting processing as the phase detection signal.
[0024] It should be noted that there must be at least two channel pattern generators, and each channel pattern generator is independent, outputting its own corresponding PRBS signal.
[0025] First, the PRBS signal output by each channel pattern generator is processed by data splitting. Data splitting can be achieved by a data splitter. Each channel pattern generator corresponds to one data splitter. The principle is to convert one input signal to obtain two output signals and output them.
[0026] Taking a two-channel pattern generator as an example, such as Figure 2 As shown, the PRBS signals output by channel pattern generator 1 and channel pattern generator 2 are input to the corresponding data splitter 1 and data splitter for data splitting processing. Any one of the signals output by the data splitter is used as the phase detection signal and transmitted uniformly into the phase detector.
[0027] Step 102: Perform phase detection on the phase detection signal corresponding to each channel code generator to obtain the phase offset.
[0028] In the phase detector, the phase of the signal to be detected corresponding to each channel's pattern generator is measured to obtain the phase offset. Since there are multiple signals to be detected, pattern matching is performed during phase detection to accurately detect the phase offset. Pattern matching can be performed using the phase of one signal as a standard to calculate the phase offset of the other signals, or it can be performed using a preset phase value as a standard to calculate the phase offset between each signal and that preset value.
[0029] Step 103: Sample the phase offset to obtain the synchronization seed value of the PRBS signal.
[0030] like Figure 1 As shown, the phase offset calculated by the phase detector is input into the analog-to-digital converter (ADC). The ADC samples the phase offset to obtain the synchronization seed value of the PRBS signal.
[0031] Step 104: Feed back the synchronization seed value to each channel pattern generator for seed update to obtain the updated seed value. The updated seed value is used to enable each channel pattern generator to output a phase-synchronized PRBS signal.
[0032] The synchronization seed value obtained from ADC sampling is fed back to each channel pattern generator for dynamic correction. Specifically, the initial seed value of the PRBS signal output by the channel pattern generator is updated using the synchronization seed value, resulting in an updated seed value. The initial seed value is the seed value used by the channel pattern generator to output the PRBS signal in step 101. The updated seed value is used to ensure that the PRBS signals output by each channel pattern generator are phase-synchronized. When the channel pattern generator subsequently outputs PRBS signals, it does so according to its respective updated seed value, thus ensuring that the PRBS signals output by each channel pattern generator are phase-synchronized.
[0033] In this embodiment of the invention, the PRBS signal output from the channel pattern generator is split into two paths. One path is used as the phase detection signal for phase offset calculation, thereby performing feedback. A synchronization seed value is used to update the planting value of each multi-channel pattern generator, ensuring that the PRBS signals output by each channel pattern generator are phase-synchronized. On the one hand, by using signal data splitting for phase detection, the number of independent channel pattern generators is reduced, lowering system complexity and cost. On the other hand, real-time phase detection of the PRBS signal during output, through feedback forming a closed loop, adjusts the phase difference between multiple channels in real time, achieving high-precision synchronous output of the PRBS signal.
[0034] In some embodiments, the phase detection process of the phase detector differs due to the number of channel pattern generators. The following describes in detail the specific process of obtaining the phase offset by performing phase detection on the phase signal to be detected corresponding to each channel pattern generator in the phase detector.
[0035] The phase detector incorporates a high-precision correlation detection circuit, enabling rapid phase detection and calculation. When there are two channel pattern generators, the phase signals to be detected corresponding to the two channel pattern generators are pattern matched to obtain the phase offset. The pattern matching process can be signal phase matching, where one phase signal to be detected is used as the matching standard, and the other phase signal to be detected is compared with the matching standard to calculate the phase difference, which is the phase offset value. Alternatively, a preset signal phase or a local signal phase can be used as the matching standard, and every two phase signals to be detected are pattern matched with the matching standard to calculate their respective phase offset values.
[0036] When the number of channel pattern generators is greater than two, the phase detection signal corresponding to one of the channel pattern generators is arbitrarily selected as the target signal. Each phase detection signal other than the target signal is matched with the target signal to obtain the phase offset corresponding to each phase detection signal.
[0037] When the number of channel pattern generators is greater than two, the corresponding phase of the phase detection signal corresponding to one of the channel pattern generators is directly used as the matching standard. Then, the other phase detection signals are matched with the matching standard respectively, and their respective phase differences are calculated as the phase offset.
[0038] In this embodiment of the invention, while the channel code generator outputs the PRBS signal, the phase detector block can accurately perform phase detection on one of the phase detection signals. Furthermore, different matching methods are used for different numbers of phase detection signals to improve the efficiency of signal phase detection.
[0039] In some embodiments, the phase offset is sampled to obtain the synchronization seed value of the PRBS signal by an analog-to-digital converter. The phase offset is input into the analog-to-digital converter for digital conversion to obtain the synchronization seed value of the PRBS signal.
[0040] An analog-to-digital converter (ADC) connects to a phase detector to achieve signal communication. The ADC monitors the phase detector's operation and receives the calculated phase offset in real time, then converts it into a synchronization seed value at the signal layer. Since there are multiple channel pattern generators, there are also multiple calculated phase offset values. These multiple phase offset values are digitally converted into corresponding synchronization seed values and fed back to their respective channel pattern generators.
[0041] In this embodiment of the invention, the phase offset and the synchronization seed value are converted by an analog-to-digital converter, and the synchronization seed value is fed back to the channel pattern generator. This forms a closed loop with the channel pattern generator, ensuring the real-time phase synchronization of the PRBS signal.
[0042] In some embodiments, after performing data splitting processing on the PRBS signal output by each channel pattern generator, the method further includes: using the signal obtained from the splitting processing, other than the phase detection signal, as the channel output signal of the channel pattern generator.
[0043] Here, after the PRBS signal output by each channel pattern generator is processed by data splitting, the data splitter forms two signals. One signal is used as the phase detection signal and enters the phase detector, while the other signal, which is the signal other than the phase detection signal, is used as the channel output signal of the channel pattern generator to perform the subsequent processing of the PRBS signal.
[0044] like Figure 2 As shown, the two signals output by data splitter 1 and data splitter 2 are used by phase detectors on one of them, and the other is used as their respective channel output signals to perform subsequent signal processing.
[0045] In this embodiment of the invention, when the PRBS signal is output by each channel pattern generator, another signal besides the phase detection signal is used as the channel output signal of the channel pattern generator. This ensures that the signal processing flow of the PRBS signal is executed normally and without being affected while performing phase detection and seed feedback correction, thus guaranteeing the real-time synchronization of the PRBS signal output.
[0046] In some embodiments, the synchronization seed value is fed back to each channel pattern generator for seed update to obtain the updated seed value. This can be achieved by sending the synchronization seed value to the corresponding channel pattern generator and updating the initial seed value in the channel pattern generator with the synchronization seed value to obtain the updated seed value.
[0047] like Figure 3 As shown, the synchronization seed value sampled by the analog-to-digital converter (ADC) is directly sent to the corresponding channel pattern generator. The initial seed value of the channel pattern generator is updated using the synchronization seed value to obtain the updated seed value. When outputting the PRBS signal subsequently, the channel pattern generator only outputs the signal based on the updated seed value. Parallel encoding is performed on the updated seed value, followed by parallel-to-serial conversion, to output the corrected PRBS signal. This similar operation is performed on each channel pattern generator, ensuring that the corrected PRBS signals output by each channel pattern generator are phase-synchronized.
[0048] In this embodiment of the invention, the phase of the PRBS signal is detected in real time during the output of the PRBS signal. A closed loop is formed through feedback to adjust the phase difference between multiple channels in real time, thereby correcting the PRBS signal and ensuring high-precision synchronous output of the PRBS signal.
[0049] To enhance the stability of the PRBS signal output, this embodiment of the invention also designs an automatic PRBS signal correction mechanism. Specifically, when each channel pattern generator outputs a PRBS signal, the environmental change fluctuation value is acquired in real time. Since environmental fluctuations of the channel pattern generator are the main cause of phase shift in the PRBS signal, by monitoring changes and fluctuations in real time, the automatic correction of the PRBS signal is automatically triggered based on the acquired environmental change fluctuation value.
[0050] The environmental change fluctuation value includes at least one of the following: voltage change value, temperature change value, and clock jitter value, which respectively represent the voltage change, temperature change, and clock jitter change of the channel code generator device (e.g., the signal transmission interval).
[0051] These fluctuations may cause phase shifts in the PRBS signal. Of course, the causes of phase shifts are not limited to fluctuations in voltage, temperature, and clock. More fluctuation factors can be determined based on the actual situation.
[0052] Next, a corresponding environmental change threshold can be preset according to the actual situation, specifically a voltage change threshold, a temperature change threshold, or a clock jitter threshold. When it is determined that the environmental change fluctuation value is greater than the preset environmental change threshold, the phase detection signal corresponding to the PRBS signal is obtained.
[0053] Here, when the detected environmental change fluctuation value is greater than the preset environmental change threshold, it indicates that the channel pattern generator has abnormal temperature, voltage, or clock. At this time, the output PRBS signal may show a phase shift and needs to be corrected. Therefore, the phase detection signal corresponding to the PRBS signal is obtained. The acquisition method can refer to step 101 above, which will not be repeated here. Then, the PRBS signals output by each channel pattern generator are phase synchronized according to the phase detection signal. The phase synchronization method can refer to steps 102 to 104 above, which will not be repeated here.
[0054] Since there are multiple channel pattern generators, in this embodiment of the invention, when the environmental change fluctuation value of one of the channel pattern generators is determined to be greater than a preset environmental change threshold, the automatic correction of the PRBS signal will be triggered.
[0055] In this embodiment of the invention, an automatic correction mechanism is implemented in the channel code generator, which can monitor changes in the external environment in real time and trigger real-time detection and automatic correction of the PRBS signal according to the changes in the environment, thereby improving the adaptability and robustness to the external environment.
[0056] The following describes the multi-channel pattern generator output synchronization device provided by the present invention. The multi-channel pattern generator output synchronization device described below can be referred to in correspondence with the multi-channel pattern generator output synchronization method described above.
[0057] like Figure 4 As shown, the multi-channel pattern generator output synchronization device specifically includes: a splitting module 401, a detection module 402, a sampling module 403, and a synchronization module 404. Specifically, the splitting module 401 is used to perform data splitting processing on the PRBS signal output by each channel pattern generator, and use any one of the signals obtained from the splitting processing as the phase detection signal; the detection module 402 is used to perform phase detection on the phase detection signal corresponding to each channel pattern generator to obtain the phase offset; the sampling module 403 is used to sample the phase offset to obtain the synchronization seed value of the PRBS signal; the synchronization module 404 is used to feed back the synchronization seed value to each channel pattern generator for seed update to obtain the updated seed value, which is used to enable each channel pattern generator to output a phase-synchronized PRBS signal.
[0058] It should be noted that the beneficial effects of the multi-channel pattern generator output synchronization device here correspond to those of the multi-channel pattern generator output synchronization method mentioned above, so the beneficial effects of the multi-channel pattern generator output synchronization device will not be elaborated here.
[0059] Figure 5 An example is a schematic diagram of the physical structure of an electronic device, such as... Figure 5As shown, the electronic device may include a processor 510, a communications interface 520, a memory 530, and a communication bus 540, wherein the processor 510, communications interface 520, and memory 530 communicate with each other via the communication bus 540. The processor 510 can call logic instructions in the memory 530 to execute a multi-channel pattern generator output synchronization method. This method includes: performing data splitting processing on the PRBS signal output by each channel pattern generator, and using any one of the split signals as a phase detection signal; performing phase detection on the phase detection signal corresponding to each channel pattern generator to obtain a phase offset; sampling the phase offset to obtain a synchronization seed value for the PRBS signal; and feeding back the synchronization seed value to each channel pattern generator for seed update to obtain an updated seed value, which is used to enable each channel pattern generator to output a phase-synchronized PRBS signal.
[0060] Furthermore, the logical instructions in the aforementioned memory 530 can be implemented as software functional units and, when sold or used as independent products, can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, or the part that contributes to the prior art, or a part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of the present invention. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.
[0061] On the other hand, the present invention also provides a computer program product, which includes a computer program that can be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the multi-channel pattern generator output synchronization method provided by the above methods. The method includes: performing data splitting processing on the PRBS signal output by each channel pattern generator, and taking any one of the signals obtained from the splitting processing as a phase detection signal; performing phase detection on the phase detection signal corresponding to each channel pattern generator to obtain a phase offset; sampling the phase offset to obtain a synchronization seed value of the PRBS signal; and feeding back the synchronization seed value to each channel pattern generator for seed update to obtain an updated seed value. The updated seed value is used to enable each channel pattern generator to output a phase-synchronized PRBS signal.
[0062] In another aspect, the present invention also provides a non-transitory computer-readable storage medium storing a computer program thereon. When executed by a processor, the computer program implements the multi-channel pattern generator output synchronization method provided by the above methods. The method includes: performing data splitting processing on the PRBS signal output by each channel pattern generator, and using any one of the signals obtained from the splitting processing as a phase detection signal; performing phase detection on the phase detection signal corresponding to each channel pattern generator to obtain a phase offset; sampling the phase offset to obtain a synchronization seed value for the PRBS signal; and feeding back the synchronization seed value to each channel pattern generator for seed update to obtain an updated seed value, wherein the updated seed value is used to enable each channel pattern generator to output a phase-synchronized PRBS signal.
[0063] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs. Those skilled in the art can understand and implement this without any creative effort.
[0064] Through the above description of the embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus necessary general-purpose hardware platforms, and of course, it can also be implemented by hardware. Based on this understanding, the above technical solutions, in essence or the part that contributes to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or some parts of the embodiments.
[0065] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention, and not to limit them; although the present invention has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features; and these modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of the present invention.
Claims
1. A method for synchronizing the output of a multi-channel pattern generator, characterized in that, include: The PRBS signal output by each channel pattern generator is processed by data splitting, and any one of the signals obtained from the splitting process is used as the phase detection signal; The phase offset is obtained by performing phase detection on the phase detection signal corresponding to each channel code generator; The phase offset is sampled to obtain the synchronization seed value of the PRBS signal; The synchronization seed value is fed back to each channel pattern generator for seed update, resulting in an updated seed value. The updated seed value is used to enable each channel pattern generator to output a phase-synchronized PRBS signal.
2. The multi-channel code generator output synchronization method according to claim 1, characterized in that, The step of performing phase detection on the phase-to-detection signal corresponding to each channel code generator to obtain the phase offset includes: When there are two channel pattern generators, the phase detection signals corresponding to the two channel pattern generators are matched to obtain the phase offset. When the number of channel pattern generators is greater than two, the phase detection signal corresponding to one of the channel pattern generators can be arbitrarily selected as the target signal. Each phase-to-be-discriminated signal other than the target signal is matched with the target signal to obtain the phase offset corresponding to each phase-to-be-discriminated signal.
3. The multi-channel code generator output synchronization method according to claim 1, characterized in that, The sampling process for the phase offset to obtain the synchronization seed value of the PRBS signal includes: The phase offset is input into an analog-to-digital converter for digital conversion to obtain the synchronization seed value of the PRBS signal.
4. The multi-channel code generator output synchronization method according to claim 1, characterized in that, After performing data splitting processing on the PRBS signal output by each channel pattern generator, the method further includes: The signal obtained from the split processing, other than the phase detection signal, is used as the channel output signal of the channel code generator.
5. The multi-channel code generator output synchronization method according to claim 1, characterized in that, The step of feeding back the synchronization seed value to each channel code generator for seed update to obtain the updated seed value includes: The synchronization seed value is sent to the corresponding channel pattern generator, and the initial seed value in the channel pattern generator is updated using the synchronization seed value to obtain the updated seed value.
6. The multi-channel code generator output synchronization method according to claim 1, characterized in that, The method further includes: When each channel pattern generator outputs a PRBS signal, the environmental change fluctuation value is acquired in real time. The environmental change fluctuation value includes at least one of the following: voltage change value, temperature change value, and clock jitter value. When it is determined that the environmental change fluctuation value is greater than the preset environmental change threshold, the phase detection signal corresponding to the PRBS signal is obtained. Phase synchronization is performed on the PRBS signals output by each channel code generator based on the phase detection signal.
7. A multi-channel code generator output synchronization device, characterized in that, include: The splitting module is used to split the data of the PRBS signal output by each channel pattern generator and use any one of the split signals as the phase detection signal. The detection module is used to perform phase detection on the phase detection signal corresponding to each channel code generator to obtain the phase offset. The sampling module is used to sample the phase offset to obtain the synchronization seed value of the PRBS signal; The synchronization module is used to feed back the synchronization seed value to each channel pattern generator for seed update, and obtain the updated seed value. The updated seed value is used to enable each channel pattern generator to output a phase-synchronized PRBS signal.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and running on the processor, characterized in that, When the processor executes the computer program, it implements the multi-channel pattern generator output synchronization method as described in any one of claims 1 to 6.
9. A non-transitory computer-readable storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by the processor, it implements the multi-channel pattern generator output synchronization method as described in any one of claims 1 to 6.
10. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the multi-channel pattern generator output synchronization method as described in any one of claims 1 to 6.