Analog data high-speed acquisition method and device

By setting link configuration parameters and byte replacement technology, the problem of insufficient analog data transmission speed under high ADC sampling rates is solved, and more efficient analog data collection and transmission are achieved, which is suitable for ADC sampling rates above 500MSPS.

CN118659784APending Publication Date: 2024-09-17SUZHOU SAIMAI MEASUREMENT & CONTROL TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311771507.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-12-21
Publication Date
2024-09-17

AI Technical Summary

Technical Problem

Existing technology is difficult to meet the high-speed acquisition requirements of analog data at ADC sampling rates above 500MSPS. Traditional CMOS and LVDS are difficult to meet design requirements, and the front-end processing after analog data conversion limits the transmission speed.

Method used

By setting link configuration parameters, multiple parallel ADCs are used to convert analog data into digital signals, and byte replacement is performed during the data filtering and marking process. Synchronous sequence signals are used for data splicing and verification to achieve fast transmission and avoid additional overhead. The tag byte is used for identification and frame alignment.

Benefits of technology

The data transmission speed is improved, the number of invalid bits is reduced, and more efficient analog data collection and transmission are achieved, which is suitable for high-throughput analog data processing.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118659784A
    Figure CN118659784A
Patent Text Reader

Abstract

The analog data high-speed acquisition method comprises the following steps: S1, setting link configuration parameters; s2, analog data are converted into digital signals through M parallel ADCs; s3, digital signal screening and marking; S4, a synchronization module splices and synchronizes data output in the steps S31 and S32 through a synchronization sequence signal; wherein the synchronization sequence signal is generated by a synchronization sequence generation module; s5, inputting the synchronized and spliced data into a verification module for verification; s6, detecting the first section of each frame, and determining that an effective digital signal starts to be received if marking byte data continuously appears; and S7, transmitting data. According to the analog data high-speed acquisition method and the analog data high-speed acquisition device, byte replacement is set according to analog data conversion characteristics, so that shunt fast transmission can be realized, additional mark bytes for identification and frame alignment do not need to be added, and the data transmission speed can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of software technology and relates to a technology for converting analog signals into digital signals; in particular, it relates to a method and device for high-speed acquisition of analog data. Background Art

[0002] The analog-to-digital converter collects analog voltage signals and converts them into digital signals, making it easier for the central processor to read the digital signals for analysis and processing. Using multiple parallel ADCs to collect and transmit simultaneously can increase data speed. As the ADC sampling rate continues to increase, the data throughput is also increasing. For ADCCs above 500MSPS, the data throughput rate can easily rise to several G or even more than 10G. However, it is difficult to meet the design requirements using traditional CMOS and LVDS (low-voltage differential signaling).

[0003] There are a variety of new architectures that can improve the acquisition rate after analog data transmission conversion, such as JESD204B, which is based on high-speed serial data transmission interfaces and supports a maximum serial data rate of 12.5Gbps. However, due to the huge amount of data after analog data conversion, the front-end processing needs to be framed and transmitted after each ADC is aggregated, and the front-end processing process limits the transmission speed. Summary of the invention

[0004] In order to overcome the defects of the prior art, the present invention discloses a method and device for high-speed acquisition of analog data.

[0005] The analog data high-speed acquisition method of the present invention comprises the following steps: S1. Set link configuration parameters, including setting counting standards and byte replacement rules for character marking; S2. The analog data is converted into digital signals through M parallel ADCs; S3. Digital signal screening and labeling S31. The data filtering module filters the digital signal and transmits the data whose first M1 bit is not all zero separately; it is directly sent to the synchronization module; S32. The data with the first M1 bits being all zero is input into the character tag generator for character tagging, and the tag byte is recorded as K1; S4 synchronization module through the synchronization sequence signal S31 and S32 step output data splicing and synchronization; wherein the synchronization sequence signal is generated by the synchronization sequence generation module; The synchronization sequence signal is input into the synchronization counter by an external clock signal, and is generated by the synchronization counter according to a set counting standard.

[0006] S5. After completing synchronization and splicing, the data is input into the verification module for verification. The verification rules include the first segment verification of each frame, and the verification that the M1 bit before each frame is the mark byte K1 or not all zeros. If it meets the requirements, it proceeds to the next step; if it does not meet the requirements, the transmission is terminated; S6. Detect the first segment of each frame, and if M3 consecutive data with the first M1 bit as the mark byte K1 appear, it is considered that a valid digital signal has been received, and the next step is entered, where M3 is the custom start frame number; S7. Transmitting data An initial channel synchronization sequence is set in an initial synchronization sequence generation module, the initial channel synchronization sequence includes a plurality of multi-channel synchronization frames, each channel synchronization frame includes a frame alignment character, one channel synchronization frame includes a link configuration character, and the data after the link configuration character until the end of the frame is a link configuration parameter; After the initial channel synchronization sequence is set, the initial channel synchronization sequence is transmitted first, and then the data received in step S6 is transmitted until the data transmission is completed.

[0007] Preferably, in the steps S31 and / or S32, an inverse scrambling operation is performed on the M2 bit at a specific position in the digital signal data by a scrambler.

[0008] Preferably, in the step S4, the synchronization sequence signal is input into the synchronization counter by an external clock signal, and is generated by the synchronization counter according to a set counting standard.

[0009] Preferably, in step 6, the data is aligned by monitoring the mark bytes of the data in real time through the monitoring alignment module.

[0010] Preferably, the transmission data rate LR is calculated as follows:

[0011] The present invention also discloses an analog data high-speed acquisition device, comprising a plurality of parallel ADCs and a data transmission collector connected thereto, wherein the data collector comprises a data screening module connected to the parallel ADCs, wherein two output ends of the data screening module are respectively connected to a character mark generator and a synchronous splicing module, wherein an output end of the character mark module is connected to the synchronous splicing module, and the synchronous splicing module and the character mark generator are also connected to a verification module, wherein an output end of the verification module is connected to a data transmission module, and the data transmission module is also connected to a monitoring alignment module and an initial synchronization sequence generation module, and the data transmission collector also comprises a synchronization counter, and the synchronization counter is connected to the synchronous splicing module and the initial synchronization sequence generation module.

[0012] Preferably, one or two output ends of the data screening module are connected to the character mark generator and the synchronous splicing module via a scrambler.

[0013] Preferably, the data transmission collector is implemented by programming a programmable logic device FPGA or a digital signal processor DSP.

[0014] The analog data high-speed acquisition method and device described in the present invention can realize fast branch transmission by setting byte replacement according to the characteristics of analog data conversion, and no longer needs to add additional mark bytes for identification and frame alignment, which can improve the data transmission speed. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] Figure 1 A schematic flow chart of a specific implementation of the method for high-speed acquisition of analog data according to the present invention; Figure 2 It is a schematic diagram of a specific implementation of the analog data high-speed acquisition device of the present invention. Implementation

[0016] The specific implementation modes of the present invention are further described in detail below.

[0017] In order to make the purpose, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be clearly and completely explained below in combination with the specific implementation methods of the present invention and the corresponding 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 creative work are within the scope of protection of the present invention.

[0018] The high-speed analog data acquisition method of the present invention can be based on the following Figure 2 The analog data high-speed acquisition device shown includes multiple parallel ADCs (analog-to-digital converters) and a data transmission collector connected thereto, wherein the data collector includes a data screening module connected to the parallel ADCs, and two output ends of the data screening module are respectively connected to a character marker generator and a synchronous splicing module, wherein the output end of the character marker module is connected to the synchronous splicing module, and the synchronous splicing module and the character marker generator are also connected to a verification module, and the output end of the verification module is connected to a data transmission module, and the data transmission module is also connected to a monitoring alignment module and an initial synchronization sequence generation module, and the data transmission collector also includes a synchronization counter, and the synchronization counter is connected to the synchronous splicing module and the initial synchronization sequence generation module.

[0019] A specific implementation is: S1. Setting link configuration parameters, defining link configuration parameters according to the performance and quantity of a given ADC, and also including setting counting standards and byte replacement rules when marking characters; S2. The analog data is converted into digital signals through M parallel ADCs; S3. Digital signal screening and labeling S31. The data filtering module filters the digital signal and transmits the data whose first M1 bit is not all zero separately; it is directly sent to the synchronization module; S32. The data with all zero bits before M1 is input to the character tag generator for character tagging. The character tag is a number of bytes in the digital signal according to the byte replacement rule, and the byte replacement is performed. The corrected data after replacement is sent to the synchronization module; For example, in a typical implementation, the first M1 bits of the N-bit digital signal data output by the ADC are marked. Since the first several bits of the ADC data are usually not used and are all zeros, they can be marked, and the marking byte is recorded as K1; Figure 2 In the specific implementation shown, the M2 bit at a specific position in the digital signal data can be inverted by the scrambler at the same time, that is, a scrambling operation of 0 to 1 and 1 to 0 can be performed, and the data can be encrypted after the scrambling operation; M1 and M2 are set constants, for example, M1=3, M2=5.

[0020] S4. The synchronization module synchronizes and splices the replaced corrected data through the synchronization sequence signal, that is, splices and synchronizes the output data of steps S31 and S32; Wherein, the synchronization sequence signal is generated by a synchronization sequence generation module; The synchronization sequence signal is input to the synchronization counter by the external clock signal, and the synchronization counter generates the synchronization sequence signal according to the set counting standard. For example, if the counting standard is 100, the synchronization counter generates the synchronization sequence signal once every 100 clocks. The length of the synchronization sequence signal is directly related to the counting standard and determines the length of a single frame of data after the correction data is synchronized. In a typical implementation, the counting standard is an integer multiple of the ADC output digital signal. For example, if the ADC outputs a 16-bit digital signal, the counting standard can be 16, 32, 64, etc.

[0021] S5. After completing synchronization and splicing, the corrected data is input into the verification module for verification. The verification rules include the first segment verification of each frame, and the first M1 bit of each frame is the mark byte K1 or not all zeros. If it meets the requirements, it proceeds to the next step; S6. During the transmission process of analog data being converted into digital signals, the probability that the first M1 bits are all zero is very high, and the analog signal value usually does not maintain at the high position of the ADC detection range for a long time. The actual meaningful data also occurs in the interval where the analog signal value is a certain distance away from the ADC detection range. Therefore, the first segment of each frame can be detected. If M3 consecutive data with the first M1 bits as the mark byte K1 are found, it is considered that a valid digital signal has been received. M3 is the custom start frame number, for example, it can be set to M3=40; S7. Transmitting data An initial channel synchronization sequence is set in the initial synchronization sequence generation module. The initial channel synchronization sequence consists of 4 or more channel synchronization frames, each of which includes a frame alignment character, and one of the channel synchronization frames includes a link configuration character. The data after the link configuration character until the end of the frame is a link configuration parameter.

[0022] For example, the last character of each frame is the frame alignment character / B / . The first, third, and fourth frames begin with the / S / character and end with the / E / character. The second multiframe contains the link configuration character / Q / character, followed by the link parameters. The / Q / character indicates that the following data is the link configuration parameters.

[0023] After the initial channel synchronization sequence is set, the initial channel synchronization sequence is transmitted first, and then the data received in step S6 is transmitted; In this step, the mark bytes of the data can be monitored in real time by the monitoring alignment module. Since the mark bytes are all set at the initial position of the frame, the data can be aligned by monitoring the mark bytes.

[0024] By using multiple ADCs for parallel processing and setting the output sampling rate, since no additional marker bytes are set, the effective number of bits N of the ADC output data is equal to the total number of bits of the ADC output data, and there are no invalid bits.

[0025] The final transmission data rate LR calculation formula is as follows:

[0026] Figure 2 The data transmission collector in the analog data high-speed acquisition device shown can be implemented by programming a programmable logic device FPGA or a digital signal processor DSP, and a clock signal can be provided by an external clock source.

[0027] The computer program instructions of the present invention may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0028] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0029] The foregoing describes various preferred embodiments of the present invention. Unless the preferred implementation modes in various preferred embodiments are obviously self-contradictory or based on a certain preferred implementation mode, various preferred implementation modes can be arbitrarily superimposed and used in combination. The embodiments and specific parameters in the embodiments are only for clearly describing the invention verification process of the inventor, and are not used to limit the patent protection scope of the present invention. The patent protection scope of the present invention shall still be based on its claims. All equivalent structural changes made using the contents of the description and drawings of the present invention should be included in the protection scope of the present invention.

Claims

1. A high-speed analog data acquisition method, characterized in that: The steps include: S1. Set link configuration parameters, including setting counting standards and byte replacement rules for character marking; S2. The analog data is converted into digital signals through M parallel ADCs; S3. Digital signal screening and labeling S31. The data filtering module filters the digital signal and transmits the data whose first M1 bit is not all zero separately; it is directly sent to the synchronization module; S32. The data with the first M1 bits being all zero is input into the character tag generator for character tagging, and the tag byte is recorded as K1; S4 synchronization module through the synchronization sequence signal S31 and S32 step output data splicing and synchronization; wherein the synchronization sequence signal is generated by the synchronization sequence generation module; The synchronization sequence signal is input into the synchronization counter by the external clock signal, and is generated by the synchronization counter according to the set counting standard; S5. After completing synchronization and splicing, the data is input into the verification module for verification. The verification rules include the first segment verification of each frame, and the verification that the M1 bit before each frame is the mark byte K1 or not all zeros. If it meets the requirements, it proceeds to the next step; if it does not meet the requirements, the transmission is terminated; S6. Detect the first segment of each frame, and if M3 consecutive data with the first M1 bit as the mark byte K1 appear, it is considered that a valid digital signal has been received, and the next step is entered, where M3 is the custom start frame number; S7. Transmitting data An initial channel synchronization sequence is set in an initial synchronization sequence generation module, the initial channel synchronization sequence includes a plurality of multi-channel synchronization frames, each channel synchronization frame includes a frame alignment character, one channel synchronization frame includes a link configuration character, and the data after the link configuration character until the end of the frame is a link configuration parameter; After the initial channel synchronization sequence is set, the initial channel synchronization sequence is transmitted first, and then the data received in step S6 is transmitted until the data transmission is completed.

2. The high-speed analog data acquisition method according to claim 1, characterized in that: In the steps S31 and / or S32, an inverse scrambling operation is performed on the M2 bit at a specific position in the digital signal data by a scrambler.

3. The high-speed analog data acquisition method according to claim 1, characterized in that: In the step S4, the synchronization sequence signal is input into the synchronization counter by the external clock signal, and is generated by the synchronization counter according to a set counting standard.

4. The high-speed analog data acquisition method according to claim 1, characterized in that: In step 6, the data is aligned by monitoring the mark bytes of the data in real time through the monitoring alignment module.

5. The high-speed analog data acquisition method according to claim 1, characterized in that: The transmission data rate LR is calculated as follows: Where M is the number of ADCs, N is the number of bits of ADC output data, and L is the number of ADC links. Sampling output frequency f out is the output sampling rate, f ADC_CLOCK is the sampling clock, and DecimationRatio is the sampling decimation ratio.

6. The analog data high-speed acquisition device is characterized in that: It includes multiple parallel ADCs and a data transmission collector connected thereto, wherein the data collector includes a data screening module connected to the parallel ADCs, wherein two output ends of the data screening module are respectively connected to a character tag generator and a synchronous splicing module, wherein an output end of the character tag module is connected to the synchronous splicing module, the synchronous splicing module and the character tag generator are also connected to a verification module, wherein an output end of the verification module is connected to a data transmission module, wherein the data transmission module is also connected to a monitoring alignment module and an initial synchronization sequence generation module, and the data transmission collector also includes a synchronization counter, wherein the synchronization counter is connected to the synchronous splicing module and the initial synchronization sequence generation module.

7. The analog data high-speed acquisition device according to claim 6, characterized in that: One or two output ends of the data screening module are connected to the character mark generator and the synchronous splicing module through a scrambler.

8. The analog data high-speed acquisition device according to claim 6, characterized in that: The data transmission collector is implemented by programming a programmable logic device FPGA or a digital signal processor DSP.