Multi-channel signal conversion crosstalk-free optimization system and method
Through the multi-level calibration method of the detection, adjustment and optimization module, the problem of data misalignment in the multi-channel signal acquisition system is solved, and the reliability of high-precision synchronous acquisition and data analysis is realized, and it is suitable for high-frequency and high-precision environments.
Patent Information
- Application Number
- CN202510551148.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-29
- Publication Date
- 2025-08-12
AI Technical Summary
In the existing multi-channel signal acquisition and conversion systems, data misalignment due to synchronous signal transmission delay, phase offset and sampling clock jitter, which affects data processing and analysis accuracy in high frequency and high precision environments. The existing methods have limitations and cannot deal with dynamic changes in real time or are complex and costly.
The detection module generates initial calibration parameters, the adjustment module dynamically adjusts the sampling clock frequency and phase, and the calibration module performs alignment and verification. The optimization module optimizes the sampling clock based on the error value to achieve accurate calibration, including multiple detections, stability rate screening, error density calculation and dynamic adjustment.
It realizes accurate synchronous acquisition of multiple data in complex environments, responds to changes in synchronous signal deviation in real time, reduces data processing delays, improves sampling accuracy and data analysis reliability, and reduces hardware cost and complexity. It is suitable for high-frequency and high-precision applications.
Smart Images

Figure CN120474549A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data acquisition and signal processing, and in particular to a multi-channel signal conversion crosstalk-free optimization system and method. Background Art
[0002] In existing multi-channel signal acquisition and conversion systems, synchronous acquisition of multiple channels of data is typically achieved by configuring an independent sampling clock for each channel or employing a unified synchronization signal trigger. However, due to issues such as synchronization signal transmission delay, phase offset, and sampling clock jitter in real-world applications, data collected from different channels often exhibit time base deviations, manifesting as misalignment between multiple channels. Particularly in high-frequency, high-precision data acquisition systems, even small synchronization errors can be amplified, severely impacting the accuracy of subsequent data processing and analysis. Consequently, existing systems often struggle to ensure stable and accurate multi-channel synchronous acquisition under complex application conditions.
[0003] To address these issues, existing technologies have proposed methods based on fixed delay compensation, software post-processing calibration, or hardware phase-locked loop (PLL) adjustment to minimize the time skew between multiple data channels. However, these methods generally have limitations. For example, fixed delay compensation cannot respond to dynamically changing synchronization signal deviations in real time. Software post-processing, while flexible, suffers from high latency and computational complexity. While PLL-based adjustment methods can achieve a certain degree of clock synchronization, they are expensive and have limited accuracy. Summary of the Invention
[0004] The object of the present invention is to provide a multi-channel signal conversion crosstalk-free optimization system and method, which accurately calibrates the sampling clock according to the phase deviation of the synchronization signal to solve the problem of multi-channel data misalignment.
[0005] To achieve the above-mentioned object, the present invention provides the following technical solution: a multi-channel signal conversion crosstalk-free optimization system, the system comprising:
[0006] A detection module, configured to generate initial calibration parameters based on a synchronization signal phase deviation detection result;
[0007] The adjustment module is used to adjust the frequency and phase of the sampling clock according to the initial calibration parameters, including determining the current error direction, judging the positive and negative direction of each signal offset, setting the correction step size, and performing plus or minus adjustments based on the error direction. After the adjustment, the offset of each channel is immediately re-checked. If it still does not meet the standard, the adjustment is continued;
[0008] The verification module is used to perform alignment verification on multiple channels of data to obtain the alignment error value, including alignment quality scoring. It assigns a score to each channel of sampled data for the deviation from the ideal time axis, calculates the score for each channel based on the measured deviation, calculates the total average score, and calculates the average score of all channels to determine the alignment level.
[0009] An optimization module is configured to further optimize the sampling clock based on the alignment error value to achieve accurate calibration, including counting a channel with a deviation exceeding a preset tolerance range as an erroneous data point, counting the number of currently unqualified channels, calculating the error density, and adjusting the step size if the error density is greater than a set threshold.
[0010] Preferably, the detection module generates initial calibration parameters based on the synchronization signal phase deviation detection result, including multiple offset detections, continuous sampling of phase offset values for each signal for several times, defining a stable interval allowing fluctuations, counting the number of times the offset value falls within the stable interval in each channel, calculating the offset stability rate of each channel, selecting channel data with a stability rate higher than a set threshold, generating preliminary calibration parameters, and outputting the initial calibration parameters.
[0011] Preferably, the detection module generates an initial calibration parameter based on the synchronization signal phase deviation detection result. The specific method for calculating the offset stability rate of each channel includes sampling each signal multiple times, recording the phase offset data detected each time, and setting a tolerance range for allowing fluctuations in advance to determine whether the offset is stable. For each channel, the offsets obtained by multiple sampling are judged one by one. If the offset of a certain detection falls within the pre-set tolerance range, the detection is counted as a stable record. The number of times that all samples in each channel are judged to be stable is counted. For each channel, the number of stable times counted is divided by the total number of samples participating in the detection of the channel, and then multiplied by one hundred to obtain the offset stability rate of the channel, which is expressed as a percentage.
[0012] Preferably, the adjustment module adjusts the frequency and phase of the sampling clock according to the initial calibration parameters and performs addition or subtraction adjustment according to the error direction. The specific method includes: for each signal, first detecting its current offset; if the offset causes the sampling time to be earlier than the reference time, it is judged that the offset is fast; if the offset causes the sampling time to be later than the reference time, it is judged that the offset is slow; the frequency adjustment increases or decreases by 0.1 Hz each time, and the phase adjustment increases or decreases by 0.2 degrees each time; if the channel signal offset is fast, the data arrival speed is slowed down by reducing the frequency or delaying the phase; if the channel signal offset is slow, the data arrival speed is accelerated by increasing the frequency or advancing the phase.
[0013] Preferably, the verification module performs alignment verification on multiple data channels to obtain the specific method of calculating the average score of all channels in the alignment error value, including performing quality scoring for each signal channel based on the deviation of its sampling data from the ideal time reference, determining a corresponding score value for each signal channel according to the scoring criteria of the previous step, adding up the score values of each signal channel to obtain the sum of the scores of all channels, counting the number of channels participating in the scoring, dividing the total score value by the number of channels to obtain the average score of all channels, and comparing the obtained average score with the set target standard.
[0014] Preferably, the optimization module further optimizes the sampling clock based on the alignment error value to achieve accurate calibration. The specific method includes checking the offset of each signal in all channels. If the offset of a certain channel exceeds a preset allowable deviation range, the channel is marked as an error data point. All channels are checked, and the number of channels marked as error data points is accumulated to obtain the current total number of error channels. The channels involved in sampling and synchronous detection in the system are counted to obtain the total number of channels. The total number of error channels obtained by counting is divided by the total number of channels obtained by counting to calculate a ratio. The ratio represents the error density of the current system.
[0015] Preferably, the detection module generates initial calibration parameters based on the synchronization signal phase deviation detection result, further comprising measuring the phase deviation of the synchronization signal of the current channel, recording the phase offset as the offset reference value for this time, obtaining the frequency value of the synchronization signal being used, recording it as the current synchronization frequency value, and setting a threshold standard for judging whether the sampling clock needs to be adjusted. If the absolute value of the detected phase offset is greater than the judgment value obtained by dividing the current synchronization frequency by the reference frequency, it is considered that the sampling clock needs to be adjusted; otherwise, if the phase offset does not exceed the judgment value, it is determined that the current offset is not significant.
[0016] Preferably, the detection module generates an initial calibration parameter based on the synchronization signal phase deviation detection result and sets a threshold standard for determining whether the sampling clock needs to be adjusted. The specific method includes dividing the current synchronization frequency value by a preset reference frequency value to calculate a threshold, and then comparing the absolute value of the collected phase offset with the threshold.
[0017] Preferably, the detection module generates an initial calibration parameter based on the synchronization signal phase deviation detection result and pre-sets a tolerance range that allows fluctuations. The specific method includes preliminarily setting the target accuracy range according to the synchronization accuracy requirements of the application scenario, combining the operating frequency of the synchronization signal, evaluating the acceptable maximum time or phase error, and then referring to the minimum resolution of the system clock to ensure that the tolerance range is greater than the minimum detection capability, adding a safety margin of ten to twenty percent, and determining the final tolerance range.
[0018] A method for optimizing multi-channel signal conversion without crosstalk is used to implement the steps of the multi-channel signal conversion without crosstalk optimization system, the method comprising:
[0019] S1. Generate initial calibration parameters based on the synchronization signal phase deviation detection result;
[0020] S2. Adjust the frequency and phase of the sampling clock according to the initial calibration parameters;
[0021] S3, performing alignment check on the multiple channels of data to obtain an alignment error value;
[0022] S4. Further optimize the sampling clock based on the alignment error value to achieve accurate calibration.
[0023] It can be seen from the above technical solution that the present invention has the following beneficial effects:
[0024] This multi-channel signal conversion crosstalk-free optimization system and method utilizes a detection module to generate initial calibration parameters based on synchronization signal phase deviation detection results, an adjustment module to adjust the frequency and phase of a sampling clock based on the initial calibration parameters, a verification module to perform alignment verification on multiple channels of data to obtain an alignment error value, and an optimization module to further optimize the sampling clock based on the alignment error value to achieve precise calibration. This system and method effectively addresses data misalignment issues caused by synchronization signal transmission delay, phase offset, and sampling clock jitter in existing multi-channel signal acquisition and conversion systems. Through a mechanism based on phase deviation detection, dynamic calibration, and optimization feedback, the present invention enables precise synchronous acquisition of multiple channels of data in complex application environments. It can sense synchronization signal deviation changes in real time and dynamically adjust sampling clock parameters, avoiding the inability of fixed compensation methods to cope with dynamic changes. Through real-time calibration and optimization, data processing delays are significantly reduced, overcoming the high latency and computational complexity of traditional software post-processing methods. A lightweight control strategy is adopted to reduce hardware implementation complexity and cost. Compared to traditional hardware phase-locked loop systems, this system offers greater adjustment flexibility and synchronization accuracy, making it suitable for high-frequency, high-precision data acquisition applications. While maintaining system stability, it improves overall sampling accuracy and data analysis reliability. BRIEF DESCRIPTION OF THE DRAWINGS
[0025] Figure 1This is a connection diagram of the system modules of the present invention;
[0026] Figure 2 Flow chart of the method of the present invention. DETAILED DESCRIPTION
[0027] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.
[0028] like Figure 1 As shown, the present invention provides a technical solution: a multi-channel signal conversion crosstalk-free optimization system, the system comprising:
[0029] A detection module, configured to generate initial calibration parameters based on a synchronization signal phase deviation detection result;
[0030] The adjustment module is used to adjust the frequency and phase of the sampling clock according to the initial calibration parameters, including determining the current error direction, judging the positive and negative direction of each signal offset, setting the correction step size, and performing plus or minus adjustments based on the error direction. After the adjustment, the offset of each channel is immediately re-checked. If it still does not meet the standard, the adjustment is continued;
[0031] The verification module is used to perform alignment verification on multiple channels of data to obtain the alignment error value, including alignment quality scoring. It assigns a score to each channel of sampled data for the deviation from the ideal time axis, calculates the score for each channel based on the measured deviation, calculates the total average score, and calculates the average score of all channels to determine the alignment level.
[0032] An optimization module is configured to further optimize the sampling clock based on the alignment error value to achieve accurate calibration, including counting a channel with a deviation exceeding a preset tolerance range as an erroneous data point, counting the number of currently unqualified channels, calculating the error density, and adjusting the step size if the error density is greater than a set threshold.
[0033] In this embodiment, the detection module first detects the phase deviation of the synchronization signal to obtain the phase error of each signal relative to the ideal time reference and generates initial calibration parameters based on the detection results. The adjustment module dynamically adjusts the frequency and phase of the sampling clock based on these initial calibration parameters. By determining the current error direction (positive or negative) for each signal and setting an appropriate correction step size, the system gradually performs addition or subtraction operations. After each adjustment, the system rechecks the offset of each channel. If the test result still does not meet the preset standard, it continues to fine-tune until the offset of all channels is within the tolerance range. The verification module evaluates the alignment error of multiple sampling data channels by scoring them. Each signal is assigned a corresponding score for its deviation from the ideal time axis, and the average score is calculated to assess the overall alignment level. The optimization module counts the number of erroneous data points and calculates the error density for channels with large deviations identified during the verification. If the error density exceeds a set threshold, the system further adjusts the step size to optimize the calibration process, thereby achieving high-precision synchronization of multiple signals and avoiding crosstalk and time misalignment.
[0034] Through the above-mentioned technical solution, the system can achieve dynamic, real-time fine calibration during the multi-channel signal sampling process. It can not only quickly detect and correct the phase deviation of each channel, but also perform secondary optimization when the overall alignment level drops, ensuring the synchronization and accuracy of the sampling of each channel. Compared with the traditional fixed-step, single-shot calibration method, this invention effectively improves calibration accuracy, reduces sampling crosstalk, and enhances the overall performance and stability of the multi-channel data acquisition system. In addition, the error density calculation mechanism enables the system to have adaptive adjustment capabilities, and can be dynamically optimized according to the real-time status, further improving reliability and flexibility.
[0035] For example, in a high-speed camera array system, multiple image sensors need to synchronously capture image frames for 3D reconstruction or multi-view analysis. Traditional synchronization methods are susceptible to internal clock drift and signal transmission delays within each sensor, resulting in temporal misalignment between image frames. This system can be applied to such scenarios. By detecting the phase deviation of each image sensor's output signal, it adjusts the sampling clock in real time, dynamically optimizes synchronization accuracy, effectively eliminates crosstalk and misalignment between image frames, and ensures high-quality multi-channel image acquisition. This application example further demonstrates the reliability and superiority of the system in complex real-world environments.
[0036] S1 includes multiple offset detections, continuously sampling the phase offset values of each signal several times, defining a stable interval where fluctuations are allowed, counting the number of times the offset value falls within the stable interval in each channel, calculating the offset stability rate of each channel, selecting channel data with a stability rate higher than the set threshold, generating preliminary calibration parameters, and outputting the initial calibration parameters.
[0037] In this embodiment, step S1 performs multiple phase offset detections on each signal, records the corresponding phase offset value for each detection, and continuously samples several times to obtain a set of data. The system presets an allowable offset fluctuation range, namely the stable interval. By counting the number of times the offset value of each channel falls into the stable interval in continuous detection, the offset stability rate of each channel is further calculated. The offset stability rate is defined as the ratio of the number of times the offset value falls within the stable interval to the total number of sampling times. Subsequently, based on the stability rate of each channel, it is compared with the set threshold, and only the channel data with a stability rate higher than the threshold is selected as valid data for generating preliminary calibration parameters. Finally, the system outputs the initial calibration parameters obtained by integrating these high-stability channel data for subsequent precise adjustment of frequency and phase.
[0038] By incorporating multiple tests and stability screening into the generation of initial calibration parameters, this implementation effectively eliminates channel data with significant fluctuations, avoiding calibration errors caused by transient noise or short-term instability. Compared to traditional one-time testing, this method improves the accuracy and reliability of initial calibration in complex real-world environments, ensuring that subsequent adjustments and optimizations are based on a more stable and reliable data source. This significantly enhances overall system synchronization and crosstalk suppression, making it suitable for high-precision, multi-channel synchronization applications.
[0039] The specific method for calculating the offset stability rate of each channel in S1 includes: sampling each signal several times continuously, recording the phase offset data detected each time, setting a tolerance range for fluctuation in advance to determine whether the offset is stable, and judging the offsets obtained from multiple samples for each channel one by one. If the offset of a certain detection falls within the pre-set tolerance range, then the detection is counted as a stable record. The number of times that all samples in each channel are judged to be stable is counted. For each channel, the number of stable times counted is divided by the total number of samples participating in the detection of the channel, and then multiplied by one hundred to obtain the offset stability rate of the channel, which is expressed as a percentage. The stability rates of each channel are compared, and only the channel data with a stability rate higher than the set threshold is retained. For each screened channel, the average offset of all stable sampling points is calculated, and this average offset is used as the basis for preliminary adjustment of the sampling clock frequency and phase of the corresponding channel.
[0040] In this embodiment, for each signal channel, phase offset data is continuously collected several times, and the detection results are recorded one by one. The system pre-sets an allowable fluctuation tolerance interval to determine whether the offset of each detection is stable. Whenever the detected offset falls into the tolerance interval, it is recorded as a stable detection. Afterwards, the number of times that each channel is judged to be stable during all sampling processes is counted, and the number of stable times is divided by the total number of sampling times and multiplied by one hundred to obtain the offset stability rate of the channel, which is expressed as a percentage. The system further compares the offset stability rates of all channels and only retains the channel data whose stability rate is higher than the set threshold. For these high-stability channels that have been screened out, the average offset of all stable sampling points is further calculated, and this average offset is used as the basis for the sampling clock frequency and phase adjustment required for preliminary calibration, providing basic data support for subsequent precise synchronization.
[0041] In this implementation, phase offset data is collected several times continuously for each signal channel, and the test results are recorded one by one. The system presets a tolerance range for allowed fluctuations to determine whether the offset is stable during each test. Each time the detected offset falls within the tolerance range, it is counted as a stable test.
[0042] The specific calculation formula is as follows:
[0043]
[0044] Where, S represents the offset stability rate, in percentage (%), N s Indicates the number of stable records, that is, the number of samples where the offset value falls within the allowable fluctuation tolerance range, N t Indicates the total number of sampling times the channel participates in detection.
[0045] N t Total number of sampling times: This value is determined based on the system synchronization accuracy requirements and noise level. It is usually set in the range of tens to hundreds to ensure the reliability of the statistical results. If the system noise is large, the number of sampling times should be appropriately increased.
[0046] Tolerance range: This refers to the allowable offset fluctuation range, such as ±5ps or ±10ps, which is preset based on the synchronization accuracy standards required by the application scenario. A narrower tolerance range should be set for high-precision applications.
[0047] Set a threshold: This is used to determine the minimum stability requirement for screening channels. This threshold can be set to 90%, 95%, or even higher. The specific threshold can be adjusted flexibly based on the synchronization reliability requirements of the application. Applications with high fault tolerance requirements can be set to 85%-90%, while precision measurement applications require a threshold above 90%.
[0048] The screening step is: compare the offset stability rate S of each channel and only retain the channel data whose S is greater than the set threshold.
[0049] For each filtered channel, the average offset value of all stable sampling points is further calculated. The specific calculation formula is as follows:
[0050]
[0051] in, Indicates the average offset of the channel, O i Indicates the offset of the i-th stable sampling record, N s Indicates the number of stable records. The final result is Serves as a reference for preliminary adjustment of the sampling clock frequency and phase of the corresponding channel, and is used for subsequent precise synchronization correction.
[0052] Through this method, the present invention effectively eliminates the impact of short-term fluctuations and occasional noise on offset detection, significantly improving the credibility of data during the initial calibration phase. Multiple tests and stability assessments ensure the stability and reliability of the calibration basis, avoiding repeated adjustments caused by data distortion during subsequent calibration, thereby shortening overall calibration time, improving debugging efficiency, and improving system synchronization performance. Compared to a one-time sampling strategy, this method can stably output high-quality preliminary calibration parameters in a variety of complex application environments, improving overall system reliability.
[0053] In S2, the specific method for performing addition or subtraction adjustment according to the error direction includes: for each signal, first detecting its current offset; if the offset causes the sampling time to be earlier than the reference time, it is judged that the offset is fast; if the offset causes the sampling time to be later than the reference time, it is judged that the offset is slow; the frequency adjustment is increased or decreased by 0.1 Hz each time, and the phase adjustment is increased or decreased by 0.2 degrees each time; if the channel signal offset is fast, the data arrival speed is slowed down by reducing the frequency or delaying the phase; if the channel signal offset is slow, the data arrival speed is accelerated by increasing the frequency or advancing the phase; after performing one adjustment, the channel is immediately re-synchronized and detected, the new value of the offset after adjustment is measured, and the synchronization accuracy is observed to see if there is any improvement; if the new detection result shows that the offset still does not meet the synchronization accuracy requirement, the amplitude adjustment operation is repeated according to the above steps until the offset of the channel is controlled within the allowable error range, and the heading correction is considered completed.
[0054] In this implementation, during the S2 phase, the system performs offset detection on each signal channel. Specifically, if the sampling time of a channel is detected to be earlier than the reference time point, the channel is judged to have a "fast offset"; if the sampling time is detected to be later than the reference time point, the channel is judged to have a "slow offset". Based on the offset direction, the adjustment strategy is as follows:
[0055] When the offset is fast (sampling is advanced), the data arrival time is delayed by reducing the frequency (by 0.1 Hz each time) or delaying the phase (by 0.2 degrees each time);
[0056] When the offset is slow (sampling lags), the data arrival time is accelerated by increasing the frequency (by 0.1 Hz each time) or advancing the phase (by 0.2 degrees each time).
[0057] After completing one adjustment, the system immediately rechecks the synchronization status of the channel and measures the new offset. If the test results show that the synchronization accuracy requirement is still not met (that is, the offset exceeds the allowable error range), the system continues to perform fine-tuning operations with the same amplitude according to the current offset direction until the channel offset is controlled within the tolerance, thus completing the heading correction for the channel.
[0058] The specific formula is:
[0059] Frequency adjustment step:
[0060] Δf=±0.1Hz;
[0061] Phase adjustment step:
[0062] Δφ=±0.2°;
[0063] Among them, Δf is the single frequency adjustment amount, Δφ is the single phase adjustment angle, the positive sign "+" corresponds to the acceleration strategy, and the negative sign "-" corresponds to the deceleration strategy.
[0064] Frequency step (0.1Hz): Adjust the sensitivity setting based on the system sampling rate and hardware. Too large a step size can easily lead to overshoot, while too small a step size can result in excessive adjustments. 0.1Hz is an empirical value based on a comprehensive balance between adjustment speed and stability for a typical high-speed sampling system.
[0065] Phase step (0.2 degrees): This setting takes into account the relationship between the sampling clock period and phase change. Setting small angle adjustments ensures a smooth transition of phase control and avoids inducing new phase jitter.
[0066] Through the aforementioned fine-tuning control strategy, the present invention can precisely synchronize each signal, quickly locating and correcting offset trends. Compared to traditional one-time, large-scale adjustments, this method utilizes multiple, incremental adjustments in small steps, ensuring fine-grained control of synchronization accuracy while effectively avoiding oscillations caused by overshoot. The real-time detection and immediate correction mechanism further enhances the dynamic response capability and calibration convergence speed of the adjustment, shortening the overall system synchronization optimization time. This approach is particularly suitable for multi-channel, high-speed data processing systems with extremely high synchronization requirements.
[0067] The specific method for calculating the average score of all channels in S3 includes: for each signal, according to the deviation of its sampling data from the ideal time reference, determining a corresponding score value for each signal according to the scoring criteria of the previous step, adding up the score values of each signal to obtain the sum of the scores of all channels, counting the number of channels participating in the scoring, dividing the total score value by the number of channels to obtain the average score of all channels, and comparing the obtained average score with the set target standard.
[0068] In this embodiment, in the S3 stage, the system scores each signal according to the deviation of its sampled data from the ideal time reference. The specific steps are as follows:
[0069] Single-channel scoring: Each signal is assigned a specific score based on its current offset, according to a pre-set scoring standard, such as smaller deviations give higher scores. Generally, the closer the error is to zero, the closer the score is to full marks, while the larger the deviation, the lower the score;
[0070] Calculate the total score: add up the scores of all channels to get the total score S target ;
[0071] Count the number of channels: Count the number of channels N participating in this round of scoring;
[0072] Calculate the average score: Calculate the average score of all channels using the following formula:
[0073]
[0074] Among them, S avg represents the average score of all channels, S total is the sum of all channel scores, and N is the number of channels involved in scoring.
[0075] Compare with the standard: the obtained S avg With the set target standard S target Compare. If S avg Greater than or equal to S target , the overall synchronization quality of the channel is considered to meet the requirements; otherwise, the adjustment and optimization steps need to be continued.
[0076] Single-channel scoring criteria: Typically, linear or nonlinear mapping is used. For example, if the error is within the set tolerance range, 100 points are awarded, and if the error exceeds the range, points are deducted proportionally. The scoring criteria should be set based on application requirements, taking into account both synchronization accuracy and system fault tolerance.
[0077] Target Standard S target:Set according to the system's requirements for synchronization accuracy. If extremely high synchronization accuracy is required, it can be set to above 90 points. For general synchronization requirements, it can be set to around 85 points.
[0078] Through this method, the present invention comprehensively quantifies the degree of synchronization of each channel with an ideal benchmark, using an average score to reflect the overall synchronization level. Compared to traditional methods that only examine maximum deviation or single-channel errors, the present invention introduces a scoring system that comprehensively reflects the consistency and stability of multi-channel synchronization, providing a basis for adjustment and optimization, and improving the overall performance evaluation and tuning efficiency of the system. Furthermore, the scoring mechanism is flexible and adjustable, adapting to the varying synchronization accuracy requirements of different application scenarios.
[0079] The specific method for calculating the error density in S4 includes checking the offset of each signal in all channels. If the offset of a certain channel exceeds the preset allowable deviation range, the channel is marked as an error data point. All channels are checked, and the number of channels marked as error data points is accumulated to obtain the current total number of error channels. The total number of channels involved in sampling and synchronous detection in the system is counted to obtain the total number of channels. The total number of error channels obtained by counting is divided by the total number of channels obtained by counting to calculate a ratio. This ratio represents the error density of the current system. The calculated error density is compared with a pre-set threshold. If the error density is greater than the set threshold, further optimization and adjustment are required. If the error density is lower than or equal to the threshold, it means that the synchronization quality meets the requirements.
[0080] In this embodiment, in the S4 stage, the system checks the offset of the sampled data of all channels involved in sampling and synchronous detection relative to the ideal time reference one by one.
[0081] The specific steps are as follows:
[0082] Channel offset check: Check the offset of each channel one by one to determine whether it exceeds the pre-set allowable deviation range.
[0083] Error point marking and accumulation: If the offset of a channel exceeds the tolerance range, the channel will be marked as an error data point, and the number of error data points will be accumulated and recorded as N e .
[0084] Total channel count: Count the number of all channels involved in the detection in this round, recorded as N t .
[0085] Error Density Calculation: Calculate the error density of the system using the following formula:
[0086]
[0087] Among them, D eis the system error density, N e is the number of erroneous data points detected, n t is the total number of channels involved in the detection.
[0088] Error density comparison: The calculated error density D e and the pre-set error density threshold D threshold Compare. If, D e >D threshold , then the synchronization level is considered insufficient and further optimization and adjustment measures are needed; if D e ≤D threshold , the synchronization quality is judged to be qualified.
[0089] Allowable deviation range: This value is set based on the application's maximum tolerance for synchronization error, such as ±5ps or ±10ps. The specific value needs to be flexibly determined based on system performance requirements and application scenarios.
[0090] Error density threshold D threshold : Set according to the system's synchronization reliability requirements. For example, it can be set to 5% in high-speed communication systems and 1% or lower in precision test equipment to ensure high synchronization consistency.
[0091] This implementation effectively quantifies the overall health of the multi-channel system's synchronization offset by introducing a comprehensive metric called error density. Unlike traditional single-channel calibration methods, error density allows for rapid assessment of the overall system synchronization trend and timely identification of potential issues. This allows for targeted optimization measures during synchronization adjustments, improving efficiency and reducing system debugging time. Furthermore, the error density metric can serve as a basis for real-time monitoring of synchronization status changes, providing data support for stable system operation.
[0092] S1 also includes measuring the phase deviation of the synchronization signal of the current channel, recording the phase offset as the offset reference value for this time, obtaining the frequency value of the synchronization signal in use, recording it as the current synchronization frequency value, and setting a threshold standard for judging whether the sampling clock needs to be adjusted. If the absolute value of the detected phase offset is greater than the judgment value obtained by dividing the current synchronization frequency by the reference frequency, it is considered that the sampling clock needs to be adjusted. Otherwise, if the phase offset does not exceed the judgment value, it is determined that the current offset is not significant.
[0093] In this embodiment, step S1 not only performs multiple offset detections, but also adds a comprehensive judgment mechanism for the frequency and phase offset of the synchronization signal. The specific process is as follows:
[0094] Measure phase deviation: For each channel, measure the phase offset of the current synchronization signal, recorded as φ offset .
[0095] Record the offset reference value: offset This record is used as the offset reference for this test.
[0096] Get synchronization frequency: During the synchronization detection process, the system records the synchronization signal frequency in use in real time, which is recorded as f current .
[0097] Set reference frequency: Set the ideal reference frequency value f ref , which is generally a standard synchronization frequency, such as the system nominal sampling frequency.
[0098] Calculate the judgment threshold: Use the following formula to calculate the judgment standard value V threshold :
[0099]
[0100] Among them, V threshold To determine whether the reference value of the sampling clock needs to be adjusted, f current is the current synchronization signal frequency, f ref is the ideal reference frequency.
[0101] Offset judgment: Compare the absolute value of the phase offset |φ offset |With V threshold .
[0102] If |φ offset |>V threshold , it is determined that the current channel needs to perform sampling clock adjustment;
[0103] If |φ offset |≤V threshold , it is determined that the current channel synchronization status is normal and no adjustment is required.
[0104] Current synchronization frequency f current : Measured in real time by the detection module, corresponding to the actual operating frequency of the channel.
[0105] Reference frequency f ref : Usually set to the nominal synchronization frequency specified in the system design, such as 100MHz, 125MHz, etc.
[0106] Threshold standard V threshold :Dynamic according to f current With f ref The ratio calculation reflects the impact of the current system frequency fluctuation on the allowable phase error.
[0107] By introducing a synchronization frequency adaptation mechanism into phase offset determination, the present invention effectively improves the sensitivity and accuracy of offset determination. Traditional systems typically set a fixed phase offset threshold, which is inflexible to the synchronization requirements under varying frequency conditions. However, this method dynamically adjusts the determination criteria in real time based on the actual synchronization frequency, avoiding misjudgments or missed detections due to system frequency fluctuations. This significantly enhances the robustness and adaptability of synchronization detection, making it particularly suitable for multi-channel sampling systems operating in dynamic frequency or multi-mode environments.
[0108] The specific method of setting a threshold standard for determining whether the sampling clock needs to be adjusted in S1 includes dividing the current synchronization frequency value by a preset reference frequency value to calculate a threshold, and then comparing the absolute value of the collected phase offset with the threshold.
[0109] In this embodiment, in step S1, to determine whether the sampling clock needs to be adjusted, the system introduces a threshold judgment mechanism based on dynamic synchronization frequency calculation. First, the system uses a detection module to measure the actual frequency of the synchronization signal used by the current channel and uses this as the current synchronization frequency value. Simultaneously, the system pre-sets an ideal reference frequency value, typically the standard synchronization frequency for the system design. Next, the system divides the current synchronization frequency value by the reference frequency value to calculate a threshold for determining whether the sampling clock needs to be adjusted. This threshold reflects the degree to which the current system frequency deviates from the reference frequency, and the judgment criteria are dynamically adjusted accordingly to accommodate differences in synchronization requirements caused by frequency fluctuations. The system then detects and records the phase offset of each signal channel and uses its absolute value as a criterion for offset magnitude. The detected phase offset absolute value is then compared with the previously calculated threshold. If the absolute value of the phase offset is greater than the calculated threshold, the system determines that the current channel has significant offset and requires sampling clock adjustment. If the absolute value of the phase offset is less than or equal to the threshold, the offset for that channel is considered to be within an acceptable range and no adjustment is required. This method dynamically generates judgment criteria by combining the ratio of the current synchronization frequency to the reference frequency, enabling the system to flexibly respond to the impact of frequency fluctuations on synchronization accuracy under different synchronization conditions, significantly improving the accuracy and robustness of synchronization judgment.
[0110] By using the ratio of the current synchronization frequency to the reference frequency to determine a dynamic threshold, the present invention can adapt the phase offset judgment criteria to different synchronization frequencies in real time, effectively solving the problem of error accumulation caused by changes in the operating environment and frequency fine-tuning. Dynamic adjustment of the judgment criteria can significantly improve the system's synchronization stability and sampling accuracy under frequency fluctuations. It is particularly suitable for demanding multi-channel high-speed sampling or frequency switching applications, enhancing the system's intelligence and robustness.
[0111] The specific method for pre-setting a tolerance range that allows fluctuations in S1 includes preliminarily setting the target accuracy range based on the synchronization accuracy requirements of the application scenario, evaluating the maximum acceptable time or phase error in combination with the operating frequency of the synchronization signal, and then referring to the minimum resolution of the system clock to ensure that the tolerance range is greater than the minimum detection capability, appropriately increasing the safety margin by 10% to 20%, and determining the final tolerance range.
[0112] In this embodiment, in the S1 stage, the system sets the fluctuation tolerance range allowed for each channel in multiple sampling tests through a set of standardized processes. The specific process is as follows:
[0113] First, preliminarily set the target accuracy range based on the synchronization accuracy requirements in the actual application scenario. For example, in a high-speed signal acquisition application, the channel synchronization error may be required to not exceed a few picoseconds or a phase error of several degrees.
[0114] Next, the signal period and its impact on the tolerance for time or phase deviation are evaluated, taking into account the operating frequency of the synchronization signal. The maximum acceptable time deviation or phase angle deviation within each signal period is then calculated. For example, higher frequencies require smaller deviation tolerances and therefore require higher synchronization accuracy.
[0115] Next, the system considers the minimum resolution of its own sampling clock system—the smallest time or phase change it can detect. This step ensures that the set tolerance range is not less than the minimum error range that the system can reliably detect and identify, preventing false positives due to insufficient detection accuracy.
[0116] Finally, based on the initially set target tolerance, a safety margin of 10 to 20 percent is added to account for minor errors caused by uncontrollable factors such as environmental changes and system drift. In this way, a reasonable tolerance range is ultimately determined that meets the application's accuracy requirements while also balancing detection capabilities and system stability.
[0117] Through the above method, the present invention fully considers multiple factors, including synchronization requirements, signal frequency characteristics, system detection capabilities, and safety margins, when setting the tolerance range for permissible fluctuations, effectively ensuring detection reliability and calibration rationality. Compared with traditional empirical settings or single standard tolerances, the present method is more scientific and rigorous, and can adapt to the diverse synchronization accuracy requirements of different application environments, significantly improving the consistency and stability of system calibration.
[0118] like Figure 2 As shown, a multi-channel signal conversion crosstalk-free optimization method is also provided, which is used to implement the steps of the multi-channel signal conversion crosstalk-free optimization system. The method includes:
[0119] S1. Generate initial calibration parameters based on the synchronization signal phase deviation detection result;
[0120] S2. Adjust the frequency and phase of the sampling clock according to the initial calibration parameters;
[0121] S3, performing alignment check on the multiple channels of data to obtain an alignment error value;
[0122] S4. Further optimize the sampling clock based on the alignment error value to achieve accurate calibration.
[0123] The method of the present invention realizes high-precision synchronization and crosstalk suppression in the process of multi-channel signal sampling through phased and multi-level optimization.
[0124] First, in step S1, the system analyzes the sampling time offset of each channel by detecting the phase deviation between multiple synchronization signals and the ideal time axis. Based on the detection results, it uses techniques such as multi-sampling stability screening, offset stability statistics, and dynamic frequency-phase offset determination to generate initial calibration parameters that serve as the basis for subsequent adjustments.
[0125] In step S2, the sampling clock frequency and phase of each channel are fine-tuned based on the initial calibration parameters. Each signal is adjusted for frequency increase or decrease, or phase delay or advance, depending on the detected offset. A small, incremental adjustment strategy is employed, and the synchronization status is immediately rechecked after each fine-tuning until the offset is within the set tolerance, completing the initial synchronization correction.
[0126] Then, in step S3, the aligned signals are uniformly tested for quality. The sampled data is scored based on the offset from the ideal time base. The score for each channel is calculated and the average score is used to comprehensively assess the overall synchronization level of the system. If the overall alignment quality does not meet the standard, further optimization is required.
[0127] Finally, in step S4, based on the alignment error values obtained in step S3, the synchronization offset of each channel is analyzed and the error density is calculated. If the number of channels exceeding the specified threshold is found, the system further fine-tunes the sampling clock frequency and phase to continuously optimize the synchronization state until the overall synchronization error density meets the target requirements, thus achieving precise calibration.
[0128] The method of the present invention achieves high-precision, multi-channel parallel sampling synchronization by establishing a complete closed-loop calibration system based on the four steps of detection, adjustment, verification, and optimization. Compared to traditional single-shot coarse adjustment methods, the present invention can dynamically track changes in synchronization status and refine adjustment strategies in real time, significantly improving the stability and reliability of multi-channel data acquisition systems in high-speed, high-density applications. Furthermore, the system possesses adaptive error correction capabilities, flexibly adjusting step and optimization strategies based on real-time synchronization conditions, reducing manual intervention and improving automation, thereby shortening equipment commissioning cycles and enhancing overall operational efficiency.
[0129] While 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 these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.
Claims
1. Multi-channel signal conversion crosstalk-free optimization system, characterized by: The system comprises: A detection module, configured to generate initial calibration parameters based on a synchronization signal phase deviation detection result; The adjustment module is used to adjust the frequency and phase of the sampling clock according to the initial calibration parameters, including determining the current error direction, judging the positive and negative direction of each signal offset, setting the correction step size, and performing plus or minus adjustments based on the error direction. After the adjustment, the offset of each channel is immediately re-checked. If it still does not meet the standard, the adjustment is continued; The verification module is used to perform alignment verification on multiple channels of data to obtain the alignment error value, including alignment quality scoring. It assigns a score to each channel of sampled data for the deviation from the ideal time axis, calculates the score for each channel based on the measured deviation, calculates the total average score, and calculates the average score of all channels to determine the alignment level. An optimization module is configured to further optimize the sampling clock based on the alignment error value to achieve accurate calibration, including counting a channel with a deviation exceeding a preset tolerance range as an erroneous data point, counting the number of currently unqualified channels, calculating the error density, and adjusting the step size if the error density is greater than a set threshold.
2. The multi-channel signal conversion crosstalk-free optimization system according to claim 1, characterized in that: The detection module generates initial calibration parameters based on the phase deviation detection results of the synchronization signal, including multiple offset detections, continuous sampling of phase offset values for each signal for several times, defining a stable interval allowing fluctuations, counting the number of times the offset value falls within the stable interval in each channel, calculating the offset stability rate of each channel, selecting channel data with a stability rate higher than a set threshold, generating preliminary calibration parameters, and outputting the initial calibration parameters.
3. The multi-channel signal conversion crosstalk-free optimization system according to claim 2, characterized in that: The detection module generates initial calibration parameters based on the synchronization signal phase deviation detection result, and specifically calculates the offset stability rate of each channel. The specific method includes sampling each signal multiple times, recording the phase offset data detected each time, and presetting a tolerance range for allowing fluctuations to determine whether the offset is stable. For each channel, the offsets obtained from multiple samplings are judged one by one. If the offset of a certain detection falls within the pre-set tolerance range, the detection is counted as a stability record. The number of times that all samples in each channel are judged to be stable is counted. For each channel, the number of stable times counted is divided by the total number of samples participating in the detection of the channel, and then multiplied by 100 to obtain the offset stability rate of the channel, which is expressed as a percentage.
4. The multi-channel signal conversion crosstalk-free optimization system according to claim 1, characterized in that: The adjustment module adjusts the frequency and phase of the sampling clock according to the initial calibration parameters and performs addition or subtraction adjustment according to the error direction. The specific method includes: for each signal, first detecting its current offset; if the offset causes the sampling time to be earlier than the reference time, it is judged that the offset is fast; if the offset causes the sampling time to be later than the reference time, it is judged that the offset is slow; the frequency adjustment increases or decreases by 0.1 Hz each time, and the phase adjustment increases or decreases by 0.2 degrees each time; if the channel signal offset is fast, the data arrival speed is slowed down by reducing the frequency or delaying the phase; if the channel signal offset is slow, the data arrival speed is accelerated by increasing the frequency or advancing the phase.
5. The multi-channel signal conversion crosstalk-free optimization system according to claim 1, characterized in that: The verification module performs alignment verification on multiple data channels to obtain the alignment error value, and the specific method for calculating the average score of all channels includes: for each signal channel, performing a quality score based on the deviation of its sampling data from the ideal time reference, determining a corresponding score value for each signal channel according to the scoring criteria of the previous step, adding up the score values of each signal channel to obtain the sum of the scores of all channels, counting the number of channels participating in the scoring, dividing the total score value by the number of channels to obtain the average score of all channels, and comparing the obtained average score with the set target standard.
6. The multi-channel signal conversion crosstalk-free optimization system according to claim 1, characterized in that: The optimization module further optimizes the sampling clock based on the alignment error value to achieve accurate calibration. The specific method includes checking the offset of each signal in all channels. If the offset of a certain channel exceeds a preset allowable deviation range, the channel is marked as an error data point. All channels are checked, and the number of channels marked as error data points is accumulated to obtain the current total number of error channels. The channels involved in sampling and synchronous detection in the system are counted to obtain the total number of channels. The total number of error channels obtained by counting is divided by the total number of channels obtained by counting to calculate a ratio. The ratio represents the error density of the current system.
7. The multi-channel signal conversion crosstalk-free optimization system according to claim 1, characterized in that: The detection module generates initial calibration parameters based on the synchronization signal phase deviation detection result, further comprising measuring the phase deviation of the synchronization signal of the current channel, recording the phase offset as the current offset reference value, obtaining the frequency value of the synchronization signal being used, recording it as the current synchronization frequency value, and setting a threshold standard for determining whether the sampling clock needs to be adjusted. If the absolute value of the detected phase offset is greater than a judgment value obtained by dividing the current synchronization frequency by the reference frequency, it is determined that the sampling clock needs to be adjusted; otherwise, if the phase offset does not exceed the judgment value, it is determined that the current offset is not significant.
8. The multi-channel signal conversion crosstalk-free optimization system according to claim 7, characterized in that: The detection module generates an initial calibration parameter based on the synchronization signal phase deviation detection result and sets a threshold standard for determining whether the sampling clock needs to be adjusted. The specific method includes dividing the current synchronization frequency value by a preset reference frequency value to calculate a threshold, and then comparing the absolute value of the collected phase offset with the threshold.
9. The multi-channel signal conversion crosstalk-free optimization system according to claim 3, characterized in that: The detection module generates an initial calibration parameter based on the synchronization signal phase deviation detection result, and pre-sets a tolerance range that allows fluctuations. The specific method includes preliminarily setting a target accuracy range based on the synchronization accuracy requirements of the application scenario, combining the operating frequency of the synchronization signal, evaluating the acceptable maximum time or phase error, and then referring to the minimum resolution of the system clock to ensure that the tolerance range is greater than the minimum detection capability, adding a safety margin of ten to twenty percent, and determining the final tolerance range.
10. A method for optimizing multi-channel signal conversion without crosstalk, for implementing the steps of the multi-channel signal conversion without crosstalk optimization system according to any one of claims 1 to 9, characterized in that: The method comprises: S1. Generate initial calibration parameters based on the synchronization signal phase deviation detection result; S2. Adjust the frequency and phase of the sampling clock according to the initial calibration parameters; S3, performing alignment check on the multiple channels of data to obtain an alignment error value; S4. Further optimize the sampling clock based on the alignment error value to achieve accurate calibration.
Citation Information
Cited By
Multi-channel signal sampling synchronization method based on distributed signal transceiver
CN120750505A
Multi-channel data alignment method and device based on delay compensation
CN120750506A
Multi-channel synchronous measurement analyzer for rotary transformer and control method
CN121299324A