Search

CN-122017538-A - Signal measurement data processing method, system and device

CN122017538ACN 122017538 ACN122017538 ACN 122017538ACN-122017538-A

Abstract

The application relates to a signal measurement data processing method, a system and a device. The method comprises the steps of obtaining original measurement data, obtaining accurate measurement time of each edge based on the original measurement data, determining a re-sampling edge based on the accurate measurement time of each edge and a sampling clock period, and/or determining a re-sampling edge based on the accurate measurement time of each edge, the sampling clock period and a carry chain length error, and filtering the re-sampling edge from each edge to obtain a target edge. By adopting the method, the signal re-acquisition can be prevented, and the accuracy of the measured data of the signal to be measured is ensured.

Inventors

  • WEI XIN
  • BAI TONG
  • LIU SHENGLIN

Assignees

  • 杭州长川科技股份有限公司

Dates

Publication Date
20260512
Application Date
20260410

Claims (14)

  1. 1. A method of processing signal measurement data, comprising: Acquiring original measurement data; Based on the original measurement data, obtaining the accurate measurement time of each edge; Determining a re-sampling edge based on the accurate measurement time of each edge and a sampling clock period, and/or determining a re-sampling edge based on the accurate measurement time of each edge, the sampling clock period and a carry chain length error; Filtering the re-sampling edge from each edge to obtain a target edge.
  2. 2. The method of claim 1, wherein determining the resampled edge based on the precision time of each edge and the sampling clock period comprises: And under the condition that the accurate time of the edge is larger than the sampling clock period, determining that the edge is a resampled edge.
  3. 3. The method of claim 1, wherein the determining a resampled edge based on the precision time of each of the edges, the sampling clock period, and a carry chain length error comprises: Determining the accurate measurement time of the edge and the difference value of the sampling clock period; and under the condition that the difference value is larger than the carry chain length error, determining the edge to be a heavy sampling edge.
  4. 4. A method according to claim 3, characterized in that the method further comprises: determining the length of a carry chain, and determining an unbalanced error division point based on the length of the carry chain; Obtaining a first carry chain position and a second carry chain position based on the unbalanced error division point; And obtaining a carry chain length error according to the measured value of the first carry chain position and the measured value of the second carry chain position.
  5. 5. The method of claim 1, wherein determining the resampling edge based on the exact time of each of the edges and the sampling clock period, and determining the resampling edge based on the exact time of each of the edges, the sampling clock period, and the carry chain length error comprises: Determining a to-be-confirmed re-sampling edge based on the accurate measurement time of each edge and the sampling clock period; and determining the re-sampling edge based on the accurate measurement time of each re-sampling edge to be confirmed, the sampling clock period and the carry chain length error.
  6. 6. The method according to any one of claims 1 to 5, further comprising: And determining the edge time of each edge based on the sampling clock period, the accurate measurement time corresponding to the accurate measurement value of each edge and the rough measurement value of each edge.
  7. 7. The method of claim 6, wherein determining the edge time for each edge based on the sampling clock period, the refined time corresponding to the refined value for each edge, and the raw value for each edge comprises: determining initial edge time according to the rough measurement value and the sampling clock period; and obtaining the edge time based on the initial edge time and the refined time.
  8. 8. The method of claim 6, wherein said filtering said resampled edges from each of said edges, after obtaining a target edge, comprises: Determining the bubble edge based on rough measurement values of two adjacent target edges and the edge time of the target edges; And filtering the bubble edge from the target edge to obtain an effective edge.
  9. 9. The method of claim 8, wherein determining the bubble edge based on rough measurements of two adjacent target edges and edge times of target edges comprises: And taking the next target edge of the two adjacent target edges as a bubble edge under the condition that the difference value of rough measurement values of the two adjacent target edges is 1 and the difference value of target edge time of the two adjacent target edges is smaller than a period threshold value, wherein the period threshold value is half of the period of the signal to be measured.
  10. 10. The method according to any one of claims 1 to 4, wherein before the obtaining of the raw measurement data, it comprises: acquiring sampling configuration information, wherein the sampling configuration information comprises a sampling clock period and a signal frequency to be detected, and the signal frequency to be detected is used for determining whether the signal frequency to be detected is in a high-frequency mode or not; under the condition of a high-frequency mode, acquiring original data of a carry chain once every other sampling clock period, and determining a rough measurement value based on the number of the sampling clock periods; and carrying out edge detection on the original data to obtain a precise measurement value, and taking the rough measurement value and the precise measurement value as the original measurement data.
  11. 11. The method of claim 10, wherein edge detecting the raw data yields a refined value, comprising: Detecting high and low level jump points of the original data; In the case where there is a continuous preset number of raw data changing from low level to high level or from high level to low level, the precise measurement value is determined based on the position where the low level changes to high level or the position where the high level changes to low level.
  12. 12. The method of claim 10, wherein obtaining the refined time for each edge based on each of the raw measurement data comprises: and based on the accurate measurement value of the edge, looking up a table to obtain the accurate measurement time corresponding to the accurate measurement value.
  13. 13. A time measurement system, the time measurement system comprising: The system comprises an FPGA, a rough measurement value, a precise measurement value, a sampling clock period, a signal frequency to be detected, a sampling clock period and a sampling clock period, wherein the sampling configuration information comprises a sampling clock period and the signal frequency to be detected, and the signal frequency to be detected is used for determining whether the signal frequency to be detected is in a high-frequency mode; A driver for performing the signal measurement data processing method of any one of claims 1 to 8.
  14. 14. A signal measurement data processing apparatus, comprising: The measurement data acquisition module is used for acquiring original measurement data; The precise time determining module is used for obtaining the precise time of each edge based on each piece of original measurement data; The device comprises a re-sampling edge determining module, a re-sampling edge determining module and a sampling clock module, wherein the re-sampling edge determining module is used for determining a re-sampling edge based on the accurate measurement time of each edge and a sampling clock period, and/or determining the re-sampling edge based on the accurate measurement time of each edge, the sampling clock period and a carry chain length error; And the filtering module is used for filtering the re-sampling edges from the edges to obtain target edges.

Description

Signal measurement data processing method, system and device Technical Field The present application relates to the field of semiconductor technologies, and in particular, to a method, a system, and an apparatus for processing signal measurement data. Background In the IC, i.e. chip testing industry, the main purpose of the time measurement unit TMU is to measure time information (period, frequency, high-low level time, rising edge and falling edge time, delay, jitter, etc.) of an input signal (i.e. a signal to be tested of a chip to be tested) of a board card channel of a tester. In the prior art, when measuring a high-frequency signal to be measured, the length of a carry chain is larger than the period of a sampling clock, 784 Tap states in the carry chain of each beat need to be recorded, and the problem that one edge of the signal to be measured is collected at the tail part of the carry chain of the last beat, and then the head part of the carry chain of the next beat is collected exists, the FPGA can take the two collection results as two edges of the signal to be measured, but the two collection results are essentially one edge, namely, signal re-collection occurs. For example, clkPeriod sampling clock cycles are 2.5ns, when the number of ClkNum sampling clock cycles is 1, there is an edge falling on the Tap700, and when the number of ClkNum sampling clock cycles is 2, the edge flows to the position around the Tap50, and the two edges are actually one edge, that is, signal resampling occurs. Disclosure of Invention In view of the foregoing, it is desirable to provide a signal measurement data processing method, system, and apparatus capable of preventing signal re-acquisition. In a first aspect, the present application provides a signal measurement data processing method, including: Acquiring original measurement data; Based on the original measurement data, obtaining the accurate measurement time of each edge; Determining a re-sampling edge based on the accurate measurement time of each edge and a sampling clock period, and/or determining a re-sampling edge based on the accurate measurement time of each edge, the sampling clock period and a carry chain length error; Filtering the re-sampling edge from each edge to obtain a target edge. In one embodiment, the determining the resampling edge based on the accurate time of each edge and the sampling clock period includes: And under the condition that the accurate time of the edge is larger than the sampling clock period, determining that the edge is a resampled edge. In one embodiment, the determining the resampling edge based on the precision time of each edge, the sampling clock period, and the carry chain length error comprises: Determining the accurate measurement time of the edge and the difference value of the sampling clock period; and under the condition that the difference value is larger than the carry chain length error, determining the edge to be a heavy sampling edge. In one embodiment, the method further comprises: determining the length of a carry chain, and determining an unbalanced error division point based on the length of the carry chain; Obtaining a first carry chain position and a second carry chain position based on the unbalanced error division point; And obtaining a carry chain length error according to the measured value of the first carry chain position and the measured value of the second carry chain position. In one embodiment, the determining the resampling edge based on the accurate measurement time of each edge and the sampling clock period, and the determining the resampling edge based on the accurate measurement time of each edge, the sampling clock period and the carry chain length error comprises: Determining a to-be-confirmed re-sampling edge based on the accurate measurement time of each edge and the sampling clock period; and determining the re-sampling edge based on the accurate measurement time of each re-sampling edge to be confirmed, the sampling clock period and the carry chain length error. In one embodiment, the method further comprises: And determining the edge time of each edge based on the sampling clock period, the accurate measurement time corresponding to the accurate measurement value of each edge and the rough measurement value of each edge. In one embodiment, the determining the edge time of the edge based on the sampling clock period, the precise measurement time corresponding to the precise measurement value of each edge, and the rough measurement value of each edge includes: determining initial edge time according to the rough measurement value and the sampling clock period; and obtaining the edge time based on the initial edge time and the refined time. In one embodiment, the filtering the resampling edge from each edge to obtain a target edge includes: Determining the bubble edge based on rough measurement values of two adjacent target edges and the edge time of the target edges; And filtering