AI-based intelligent data acquisition board and its adaptive signal processing method

Through the AI-based intelligent data acquisition board, the deep learning model is used to classify signals and extract features, and build a signal quality assessment model, which solves the problem of insufficient flexibility and adaptability of signal quality optimization in the existing technology, and realizes signal Efficient, accurate and real-time performance for acquisition and processing.

CN118468118BActive Publication Date: 2024-10-11SHENZHEN XINMAI TECH CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202410932032.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-12
Publication Date
2024-10-11
Estimated Expiration
2044-07-12

AI Technical Summary

Technical Problem

It is difficult to build a universal adaptive framework with existing technology to achieve end-to-end quality optimization for different types of signals, and lacks flexibility and adaptability.

Method used

Using an AI-based intelligent data acquisition board, the pre-trained deep learning model is used to classify signals, automatically obtain sampling rate and dynamic range correction parameters, and build a signal quality assessment model through adaptive filtering and multi-dimensional feature extraction to achieve signal Dynamic optimization of quality.

Benefits of technology

It improves the automation level of signal acquisition and processing, enhances the system's adaptability and anti-interference ability, and ensures high accuracy and real-time performance of signal quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118468118B_ABST
    Figure CN118468118B_ABST
Patent Text Reader

Abstract

The present invention relates to the field of signal processing technology, and discloses an AI-based intelligent data acquisition board and an adaptive signal processing method thereof, comprising obtaining a first sampling rate and a first dynamic range of a signal to be processed, classifying the signal to be processed by using a pre-trained deep learning model, and obtaining a signal type; obtaining a sampling rate correction parameter and a dynamic range correction parameter for the signal according to the signal type, and correcting the first sampling rate and the first dynamic range to obtain a second sampling rate and a second dynamic range; acquiring the signal and extracting feature data by using the second sampling rate and the second dynamic range, performing noise reduction and preprocessing on the feature data, constructing a signal feature set and a signal quality evaluation model, and finally obtaining a signal quality score; the present invention realizes accurate acquisition and processing of different types of signals by adaptively adjusting the sampling rate and the dynamic range, and improves the quality of the signal data and the efficiency of processing.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of signal processing technology, and more specifically, to an AI-based intelligent data acquisition board and an adaptive signal processing method thereof. Background Art

[0002] In the field of intelligent signal processing, adaptively adjusting the sampling rate and dynamic range is an important means to improve signal acquisition quality and processing efficiency. There are some related research works, but there are still some shortcomings.

[0003] Tam et al. (Tam S, Boukadoum M, Campeau-Lecours A, et al. A fully embedded adaptive real-time hand gesture classifier leveraging HD-sEMG and deep learning [J]. IEEE transactions on biomedical circuits and systems, 2019, 14 (2): 232-243.) proposed a real-time fine gesture recognition system for multi-joint hand prosthesis control. The system uses an embedded convolutional neural network to classify forearm electromyographic signals and achieves a gesture recognition accuracy of 98.15% by adaptively adjusting the parameters of the electromyographic sensor. However, this method mainly targets electromyographic signals and lacks adaptability to other types of physiological signals.

[0004] Li et al. (Li YT, Kuo P, Guo J I. Automatic industry PCB board DIPprocess defect detection system based on deep ensemble self-adaption method[J]. IEEE Transactions on Components, Packaging and Manufacturing Technology, 2020, 11(2): 312-323.) proposed a printed circuit board defect detection system based on deep ensemble learning. The system uses algorithms such as Hybrid-YOLOv2 and Faster RCNN, and achieves a detection rate of 99.99% on an actual PCB production line by adaptively adjusting the detection model. However, the system is mainly aimed at visual defect detection, and lacks consideration for adaptive optimization of electrical signal quality.

[0005] The above research shows that adaptively adjusting signal acquisition and processing parameters can effectively improve signal quality and analysis performance in specific scenarios. However, how to build a universal adaptive framework to achieve end-to-end quality optimization for different types of signals is still an urgent problem to be solved. Summary of the invention

[0006] In order to overcome the above-mentioned defects of the prior art, the present invention provides an AI-based intelligent data acquisition board and an adaptive signal processing method thereof.

[0007] To achieve the above object, the present invention provides the following technical solutions:

[0008] The AI-based adaptive signal processing method for intelligent data acquisition board includes:

[0009] Step S1000, obtaining a first sampling rate and a first dynamic range of a signal to be processed, classifying the signal to be processed using a pre-trained deep learning model to obtain a signal type; obtaining a sampling rate correction parameter and a dynamic range correction parameter for the signal type; correcting the first sampling rate using the sampling rate correction parameter to obtain a second sampling rate, and correcting the first dynamic range using the dynamic range correction parameter to obtain a second dynamic range;

[0010] Step S2000, obtaining a first digital signal using a second sampling rate and a second dynamic range, performing feature extraction on the first digital signal to obtain first feature data and second feature data; performing noise reduction processing on the first feature data to obtain third feature data; and performing preprocessing on the second feature data to obtain fourth feature data;

[0011] Step S3000, obtain signal feature set 1 according to the third feature data; obtain signal feature set 2 according to the fourth feature data; construct a signal quality assessment model, and obtain a signal quality score according to signal feature set 1, signal feature set 2 and the signal quality assessment model.

[0012] Furthermore, the step S1000 includes:

[0013] Step S1100, obtaining initial sampling rate and dynamic range parameters of the signal to be processed, and setting them to a first sampling rate and a first dynamic range respectively;

[0014] Step S1200, using a pre-trained deep learning model to classify the signal to be processed to obtain a signal type;

[0015] Step S1300, determining whether the signal type is A. If the signal type is A, obtaining a sampling rate correction parameter for the A-type signal, which is used to correct the first sampling rate to obtain a second sampling rate; and obtaining a dynamic range correction parameter for the A-type signal, which is used to correct the first dynamic range to obtain a second dynamic range, and then executing step S2000; if the signal type is not A, executing step S1400;

[0016] Step S1400, determining whether the signal type is B. If the signal type is B, obtaining a sampling rate correction parameter for the B-type signal, which is used to correct the first sampling rate to obtain a second sampling rate; and obtaining a dynamic range correction parameter for the B-type signal, which is used to correct the first dynamic range to obtain a second dynamic range, and then executing step S2000; if the signal type is not B, executing step S1500;

[0017] Step S1500: the second sampling rate and the second dynamic range are consistent with the first sampling rate and the first dynamic range.

[0018] Furthermore, the method of correcting the first sampling rate to obtain the second sampling rate includes:

[0019] ;

[0020] in:

[0021] : The second sampling rate;

[0022] : first sampling rate;

[0023] : Scaling factor of sampling rate correction parameter;

[0024] : The reference factor of the sampling rate correction parameter;

[0025] The method of correcting the first dynamic range to obtain the second dynamic range includes:

[0026] ;

[0027] in:

[0028] : Second dynamic range;

[0029] : First dynamic range;

[0030] : Base factor of dynamic range correction parameter;

[0031] : scaling factor of dynamic range correction parameter;

[0032] : Adjustment factor of dynamic range correction parameter.

[0033] Furthermore, the step S1200 includes:

[0034] Step S1210, continuously collecting signal segment data for a period of time to form a signal sample set to be classified;

[0035] Step S1220, preprocessing the signal sample set, inputting the preprocessed signal sample set into the pre-trained deep learning model, performing forward reasoning calculation, and obtaining confidence scores of each category;

[0036] Step S1230: Select the category with the highest confidence score as the signal classification result, convert it into a corresponding signal type code, and store it in a signal type register.

[0037] Furthermore, the step S2000 includes:

[0038] Step S2100, collecting the signal to be processed by using the second sampling rate and the second dynamic range to obtain a first digital signal;

[0039] Step S2200, extracting features from the first digital signal to obtain first feature data and second feature data;

[0040] Step S2300, performing noise reduction processing on the first feature data using an adaptive filtering algorithm to obtain third feature data;

[0041] Step S2400, determining whether the credibility of the third feature data exceeds a preset third feature credibility threshold, if so, proceeding to step S2500, if not, adjusting the parameters of the adaptive filtering algorithm, returning to step S2300, and performing noise reduction processing again;

[0042] Step S2500, performing zero-mean normalization and detrending processing on the second characteristic data to obtain fourth characteristic data.

[0043] Furthermore, the step S2200 includes:

[0044] Step S2210, using a fast Fourier transform (FFT) algorithm to perform spectrum analysis on the first digital signal to obtain frequency domain complex data of the first digital signal, and taking the amplitude thereof as the first part of the first characteristic data;

[0045] Step S2220, using a short-time Fourier transform (STFT) algorithm to perform time-frequency analysis on the first digital signal to obtain a time-frequency spectrum data matrix of the first digital signal, and taking its amplitude matrix as the second part of the first feature data;

[0046] Step S2230, performing segmented statistical analysis on the first digital signal, calculating the time domain statistics of each segment of data, and combining the time domain statistics into a feature vector as the first part of the second feature data;

[0047] Step S2240, performing multi-scale time-frequency decomposition on the first digital signal using a wavelet transform method to obtain wavelet coefficients at different scales, and taking the high-frequency coefficients as the second part of the second feature data;

[0048] Step S2250, combining the first part of the first feature data and the second part of the first feature data to form complete first feature data; combining the first part of the second feature data and the second part of the second feature data to form complete second feature data.

[0049] Furthermore, the step S2300 includes:

[0050] Step S2310, calculating the statistical characteristics of the first characteristic data, estimating the noise power spectrum density according to the statistical characteristics of the first characteristic data, and constructing a first characteristic noise model according to the noise power spectrum density;

[0051] Step S2320, using an adaptive filtering algorithm to filter the first characteristic data according to the first characteristic noise model to obtain third characteristic data;

[0052] Step S2330, calculating the mean square error between the third feature data and the first feature data as the objective function of the adaptive filtering.

[0053] Furthermore, the step S2310 includes:

[0054] Step S2311, calculating the square of the frequency spectrum amplitude of the first characteristic data to obtain a power spectrum estimation value;

[0055] Step S2312, based on the power spectrum estimation value, find out the points far away from the signal frequency, and calculate the mean of the power spectrum estimation values ​​of these points as the preliminary estimation value of the noise power spectrum density;

[0056] Step S2313, introducing an attenuation weight to correct the preliminary estimate of the noise power spectrum density to obtain a corrected estimate of the noise power spectrum density;

[0057] Step S2314, using the corrected noise power spectrum density estimate, generate a noise data segment with the same length as the first characteristic data, and calculate the square of the noise data spectrum amplitude;

[0058] Step S2315, comparing the error between the generated noise data spectrum and the first characteristic data spectrum in the non-signal frequency band, if the error is greater than a set threshold, adjusting the noise power spectrum density estimation value, and repeating steps S2314-S2315 until the error meets the requirement;

[0059] Step S2316, finally determining the noise power spectrum density estimation value, completing the construction of the first characteristic noise model;

[0060] The method of correcting the preliminary estimated value of the noise power spectrum density to obtain the corrected estimated value of the noise power spectrum density includes:

[0061] ;

[0062] in:

[0063] : Corrected noise power spectral density estimate;

[0064] : A preliminary estimate of the noise power spectrum density at the frequency index k at the current time t;

[0065] : A preliminary estimate of the noise power spectrum density at the frequency index k at the previous time t-1;

[0066] : Attenuation weight, range is .

[0067] Furthermore, the step S3000 includes:

[0068] Step S3100, extracting frequency domain sparse features and singular value features of the third feature data to form a signal feature set 1;

[0069] Step S3200, performing self-similarity analysis and statistical feature extraction on the fourth feature data to obtain a second signal feature set;

[0070] Step S3300, integrating signal feature set 1 and signal feature set 2 to form a total signal feature set, constructing a signal quality assessment model, and obtaining a signal quality score according to the total signal feature set and the signal quality assessment model;

[0071] Step S3400, determines whether the signal quality score is lower than the preset quality threshold. If so, gives a diagnostic conclusion that the signal quality is unqualified, and gives targeted signal quality improvement suggestions based on the signal quality score and the analysis results of the influencing factors, and then returns to step S1000 to start a new round of signal acquisition and adaptive signal processing; if not, gives a diagnostic conclusion that the signal quality is qualified, and the third characteristic data and the fourth characteristic data are packaged and output, and the adaptive signal processing process ends.

[0072] Furthermore, the step S3100 includes:

[0073] Step S3110, performing frequency domain sparse transformation on the third feature data to obtain sparse coefficients in the transformation domain;

[0074] Step S3120, arranging the sparse coefficients in descending order according to the magnitude of the amplitudes, and extracting the first N largest coefficients as frequency domain sparse features;

[0075] Step S3130, performing SVD singular value decomposition on the third feature data to obtain a singular value vector;

[0076] Step S3140, extracting the first K largest singular values ​​from the singular value vector to form a feature vector as a singular value feature;

[0077] Step S3150, cascading the frequency domain sparse features and the singular value features to form a signal feature set 1;

[0078] The step S3200 includes:

[0079] Step S3210, calculating the self-similarity matrix of the fourth characteristic data at different time scales, extracting eigenvalues ​​from the self-similarity matrix, and forming a self-similarity eigenvector;

[0080] Step S3220, performing a multi-scale analysis on the fourth feature data to obtain a multi-scale analysis result, extracting relevant statistical feature quantities from the multi-scale analysis result to form a multi-scale statistical feature vector;

[0081] Step S3230, calculating a high-order statistic for the fourth feature data, and combining the high-order statistics into a high-order statistical feature vector;

[0082] Step S3240, concatenate the self-similarity feature vector, the multi-scale statistical feature vector and the high-order statistical feature vector to form a second signal feature set.

[0083] An AI-based intelligent data acquisition board, which is used to implement the above-mentioned AI-based intelligent data acquisition board adaptive signal processing method, includes:

[0084] ADC module: used to collect the signal to be processed and convert the analog signal into a digital signal;

[0085] Control circuit module: used to set and adjust the sampling rate and dynamic range of ADC;

[0086] Signal classification module: used to classify the signal to be processed according to the pre-trained deep learning model to obtain the signal type;

[0087] Adaptive adjustment module: used to modify the first sampling rate to obtain a second sampling rate, and modify the first dynamic range to obtain a second dynamic range;

[0088] Feature extraction and preprocessing module: used to extract features from the first digital signal to obtain first feature data and second feature data; perform noise reduction processing on the first feature data to obtain third feature data; perform zero mean normalization and detrending processing on the second feature data to obtain fourth feature data;

[0089] Signal quality assessment module: used to obtain signal feature set 1 according to the third feature data; obtain signal feature set 2 according to the fourth feature data; construct a signal quality assessment model, and obtain a signal quality score according to signal feature set 1, signal feature set 2 and the signal quality assessment model;

[0090] The ADC module comprises:

[0091] Sample and hold circuit: used to ensure that the signal voltage remains stable during the sampling process;

[0092] Programmable gain amplifier: used to adjust the input signal amplitude;

[0093] Signal cache module: used to ensure stable acquisition and temporary storage of signal data;

[0094] The control circuit module comprises:

[0095] Sampling rate configuration register: used to set and adjust the ADC sampling rate;

[0096] Dynamic range configuration register: used to set and adjust the gain of PGA;

[0097] Signal type register: used to record signal classification results;

[0098] The adaptive adjustment module includes a sampling rate adjustment strategy library and a dynamic range optimization strategy library;

[0099] The sampling rate adjustment strategy library is used to store sampling rate correction parameters preset for different signal types;

[0100] The dynamic range optimization strategy library is used to store dynamic range correction parameters preset for different signal types.

[0101] An electronic device comprises a memory, a central processing unit, and a computer program stored in the memory and executable on the central processing unit. When the central processing unit executes the computer program, the above-mentioned AI-based intelligent data acquisition board adaptive signal processing method is implemented.

[0102] A computer-readable storage medium having a computer program stored thereon, wherein the computer program, when executed, implements the above-mentioned AI-based intelligent data acquisition board adaptive signal processing method.

[0103] Compared with the prior art, the present invention has the following beneficial effects:

[0104] The present invention uses a pre-trained deep learning model to intelligently classify input signals, eliminating the need for manual identification and setting of signal types. Based on the classification results, the system automatically obtains the corresponding sampling rate and dynamic range correction parameters, completes adaptive adjustment, greatly reduces manual intervention, and improves the level of automation.

[0105] The present invention proposes a novel signal quality assessment model, which integrates multiple dimensions of the signal, such as frequency domain sparse features, singular value features, self-similarity features, multi-scale statistical features and high-order statistical features. It can comprehensively evaluate the signal quality with high assessment accuracy.

[0106] Different from the traditional fixed parameter acquisition, the present invention dynamically adjusts the sampling rate and dynamic range parameters according to the signal type, and has strong adaptability. In addition, through adaptive filtering and data preprocessing, it can effectively suppress noise interference and improve the anti-interference ability and robustness of the system.

[0107] The hierarchical parallel processing architecture proposed in the present invention parallelizes multiple links such as signal classification, adaptive adjustment, feature extraction and quality assessment, greatly improving processing efficiency and ensuring real-time performance.

[0108] The present invention provides a specific hardware implementation scheme of the intelligent acquisition board, highly integrates the required functional modules, forms a complete system solution, and is easy to implement in engineering. BRIEF DESCRIPTION OF THE DRAWINGS

[0109] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0110] Figure 1 The figure is a flow chart of the adaptive signal processing method of the intelligent data acquisition board based on AI in the present invention;

[0111] Figure 2 A flow chart of a method for obtaining first characteristic data and second characteristic data in an adaptive signal processing method of an intelligent data acquisition board based on AI in the present invention;

[0112] Figure 3 A flow chart of a method for obtaining a signal feature set 1 according to third feature data in an AI-based intelligent data acquisition board adaptive signal processing method of the present invention;

[0113] Figure 4 A flow chart of a method for obtaining a second signal feature set according to fourth feature data in an adaptive signal processing method for an intelligent data acquisition board based on AI in the present invention;

[0114] Figure 5 This is a functional module diagram of the AI-based intelligent data acquisition board in the present invention. DETAILED DESCRIPTION

[0115] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. 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.

[0116] Example 1

[0117] See also Figure 1 As shown, this embodiment provides an AI-based intelligent data acquisition board adaptive signal processing method, including:

[0118] Step S1000, obtaining a first sampling rate and a first dynamic range of a signal to be processed, classifying the signal to be processed using a pre-trained deep learning model to obtain a signal type; obtaining a sampling rate correction parameter and a dynamic range correction parameter for the signal type; correcting the first sampling rate using the sampling rate correction parameter to obtain a second sampling rate, and correcting the first dynamic range using the dynamic range correction parameter to obtain a second dynamic range;

[0119] Furthermore, step S1000 includes:

[0120] Step S1100, obtaining initial sampling rate and dynamic range parameters of the signal to be processed, and setting them to a first sampling rate and a first dynamic range respectively;

[0121] Furthermore, step S1100 includes:

[0122] Step S1110, obtaining an initial sampling rate of the signal through a sample-and-hold circuit supporting the ADC, and setting it as a first sampling rate;

[0123] Step S1120, obtaining an initial dynamic range of the signal through a programmable gain amplifier PGA matched with the ADC, and setting it as a first dynamic range;

[0124] Step S1130, storing the first sampling rate and the first dynamic range in a sampling rate configuration register and a dynamic range configuration register respectively;

[0125] The sampling rate indicates the number of times the signal is sampled per unit time, and is a key parameter that determines the acquisition bandwidth and data volume. The dynamic range indicates the signal amplitude range that the ADC can process, and is a key parameter that determines the quantization accuracy and signal-to-noise ratio. The first sampling rate and the first dynamic range are used as initial reference values ​​for subsequent adaptive adjustment and are stored in the sampling rate configuration register and the dynamic range configuration register, respectively. Step S1000 directly obtains the initial sampling rate and dynamic range parameters related to the ADC through the hardware circuit, without manual setting, thereby simplifying the operation process. Using these two parameters as the initial values ​​for subsequent adaptive adjustment can avoid acquisition failures caused by blind adjustment. At the same time, storing the initial parameters in the corresponding configuration register is convenient for subsequent reading and modification, and can also reduce the risk of data loss.

[0126] The sample-and-hold circuit supporting the ADC is integrated in the ADC module of the intelligent data acquisition board to ensure that the signal voltage remains stable during the sampling process, thereby improving the sampling accuracy. The programmable gain amplifier PGA supporting the ADC is built into the ADC module of the intelligent data acquisition board, responsible for adjusting the amplitude of the input signal to ensure that the signal is within the dynamic range of the ADC and optimize the quantization accuracy and signal-to-noise ratio of the signal. The sampling rate configuration register is part of the control circuit in the intelligent data acquisition board, used to set and adjust the sampling rate of the ADC to ensure that the collected signal data meets the bandwidth and data volume requirements. The dynamic range configuration register is part of the control circuit in the intelligent data acquisition board, used to set and adjust the gain of the PGA to ensure that the input signal is within the dynamic range of the ADC and achieve the best signal quantization accuracy and signal-to-noise ratio.

[0127] Step S1200, using a pre-trained deep learning model to classify the signal to be processed to obtain a signal type;

[0128] Further, step S1200 includes:

[0129] Step S1210, using the signal buffer module of the ADC, continuously collecting signal segment data for a period of time to form a signal sample set to be classified;

[0130] Step S1220, preprocessing the signal sample set, inputting the preprocessed signal sample set into the pre-trained deep learning model, performing forward reasoning calculation, and obtaining confidence scores of each category;

[0131] Step S1230, selecting the category with the highest confidence score as the signal classification result, converting it into a corresponding signal type code, and storing it in a signal type register;

[0132] Specifically, the signal sample set is preprocessed, including DC removal, normalization, data enhancement and other operations to meet the input requirements of the deep learning model. The deep learning model can adopt different network architectures such as CNN, RNN, Transformer, etc. The true label of the deep learning model in the training process is the pre-labeled signal category, which can be obtained through expert annotation, reference standards and historical data. The signal cache module supporting the ADC is integrated in the ADC module of the intelligent data acquisition board. It ensures the stable acquisition and temporary storage of signal data and provides a data basis for subsequent preprocessing and classification. The signal classification result is converted into the corresponding signal type code. A mapping table can be defined to correspond each category to a unique code. The mapping table is searched according to the signal classification result to find the corresponding signal type code. The signal type register is part of the control circuit in the intelligent data acquisition board, which is used to record the classification results and provide a reference for subsequent adaptive signal processing. This process automatically completes signal recognition and classification, greatly improving the intelligence of the system.

[0133] Step S1200 uses deep learning to achieve intelligent classification of signals, which can automatically identify and classify different types of signals, and provide targeted decision-making basis for subsequent adaptive parameter adjustment. Compared with traditional manual classification, deep learning methods can process massive signal data and extract more comprehensive and high-level features, so the classification accuracy is higher and the generalization ability is stronger. By preprocessing and data enhancement of signal samples, the robustness of the model can be improved and the risk of overfitting can be reduced. Converting the classification results into a unified code and storing them can facilitate the execution of subsequent steps.

[0134] Step S1300, determining whether the signal type is A. If the signal type is A, obtaining a sampling rate correction parameter for a Class A signal from a preset sampling rate adjustment strategy library, and using it to correct the first sampling rate to obtain a second sampling rate; at the same time, obtaining a dynamic range correction parameter for a Class A signal from a preset dynamic range optimization strategy library, and using it to correct the first dynamic range to obtain a second dynamic range, and then executing step S2000; if the signal type is not A, executing step S1400;

[0135] The method of correcting the first sampling rate to obtain the second sampling rate includes:

[0136] ;

[0137] in:

[0138] : The second sampling rate;

[0139] : first sampling rate;

[0140] : Scaling factor of sampling rate correction parameter;

[0141] : The reference factor of the sampling rate correction parameter;

[0142] The proportional factor of the sampling rate correction parameter is used to control the amplitude of the sampling rate correction, making the correction more flexible and adaptable, providing a flexible adjustment mechanism to ensure the optimization of the sampling rate under different signal types, which can be obtained from the preset sampling rate adjustment strategy library based on a large amount of experimental data and historical records. The reference factor of the sampling rate correction parameter is obtained from the preset sampling rate adjustment strategy library as the reference point in the correction formula to ensure the stability and rationality of the logarithmic operation. Through the logarithmic operation, the correction amplitude changes with the time parameter more smoothly and naturally.

[0143] The method of correcting the first dynamic range to obtain the second dynamic range includes:

[0144] ;

[0145] in:

[0146] : Second dynamic range;

[0147] : First dynamic range;

[0148] : Base factor of dynamic range correction parameter;

[0149] : scaling factor of dynamic range correction parameter;

[0150] : Adjustment factor of dynamic range correction parameter;

[0151] The reference factor of the dynamic range correction parameter is obtained from the preset dynamic range optimization strategy library as the reference point of the dynamic range correction to ensure the rationality and stability of the adjustment and provide a reference value to make the correction process smoother and more controllable. The proportional factor of the dynamic range correction parameter controls the amplitude of the dynamic range correction, making the adjustment more flexible and ensuring the optimal adjustment of the dynamic range under different signal types. The adjustment factor of the dynamic range correction parameter is used to control the overall adjustment amplitude of the dynamic range correction to ensure the stability of the adjustment. By introducing the adjustment factor, the correction process is smoother and more controllable.

[0152] Specifically, determine whether the code in the signal type register matches the Class A signal code. If not, execute step S1400; if matched, read the preset Class A signal sampling rate correction parameter from the sampling rate adjustment strategy library, which can be in the form of an absolute value, a relative ratio, or an offset. According to the form of the sampling rate correction parameter, the first sampling rate is corrected through mathematical operations such as addition, subtraction, multiplication, and division to obtain the second sampling rate, and the value in the sampling rate configuration register is updated. Read the preset Class A signal dynamic range correction parameter from the dynamic range optimization strategy library, which can be in the form of an absolute value, a relative ratio, or an offset. According to the form of the dynamic range correction parameter, the first dynamic range is corrected through mathematical operations such as addition, subtraction, multiplication, and division to obtain the second dynamic range, and the value in the dynamic range configuration register is updated.

[0153] Step S1300 performs adaptive adjustment of the sampling rate and dynamic range for Class A signals, which can make full use of the expert experience and historical data accumulated in advance, and provide relatively optimized correction parameters for different signal types by setting a strategy library, thereby overcoming the blindness of adaptive adjustment to a certain extent and improving the efficiency and accuracy of adjustment. The correction of parameters can adopt different mathematical operation forms to meet different engineering requirements. After each adjustment, the configuration register is updated in time to ensure that the latest optimized parameters are used in subsequent signal acquisition.

[0154] Step S1400, determining whether the signal type is B. If the signal type is B, obtaining a sampling rate correction parameter for a Class B signal from a preset sampling rate adjustment strategy library, and using it to correct the first sampling rate to obtain a second sampling rate; at the same time, obtaining a dynamic range correction parameter for a Class B signal from a preset dynamic range optimization strategy library, and using it to correct the first dynamic range to obtain a second dynamic range, and then executing step S2000; if the signal type is not B, executing step S1500;

[0155] Specifically, determine whether the code in the signal type register matches the Class B signal code. If not, execute step S1500; if matched, read the preset Class B signal sampling rate correction parameter from the sampling rate adjustment strategy library, which can be in the form of an absolute value, a relative ratio, or an offset. According to the form of the sampling rate correction parameter, the first sampling rate is corrected through mathematical operations such as addition, subtraction, multiplication, and division to obtain the second sampling rate, and the value in the sampling rate configuration register is updated. Read the preset Class B signal dynamic range correction parameter from the dynamic range optimization strategy library, which can be in the form of an absolute value, a relative ratio, or an offset. According to the form of the dynamic range correction parameter, the first dynamic range is corrected through mathematical operations such as addition, subtraction, multiplication, and division to obtain the second dynamic range, and the value in the dynamic range configuration register is updated.

[0156] Step S1400 is similar to step S1300, except that the correction parameters are different. These correction parameters are pre-set based on the characteristics and acquisition requirements of Class B signals through a large number of experiments and data analysis, and can reflect the acquisition rules and best practices of Class B signals to a certain extent. Therefore, they can better guide adaptive adjustment and improve acquisition quality. By adopting different adjustment strategies for different types of signals, the flexibility and pertinence of adaptation can be fully reflected.

[0157] Step S1500, the second sampling rate and the second dynamic range are consistent with the first sampling rate and the first dynamic range;

[0158] Specifically, step S1500 is a countermeasure when encountering an unknown type of signal. Since there may be no historical data and experience to refer to for this type of signal, the sampling rate and dynamic range are not adjusted to avoid blind corrections that may be counterproductive. At this time, the parameter values ​​of the ADC initial configuration are directly used for acquisition. Although it may not be optimal, at least a basically usable digital signal can be obtained, providing the necessary data basis for the execution of subsequent steps. At the same time, this also provides an opportunity to further accumulate the acquisition data of unknown type signals and lays the foundation for optimizing the adjustment strategy. Steps S1300 to S1500 introduce differentiated adjustment strategies for different signal types, which can give full play to the experience and knowledge of the preset strategy library and improve the pertinence and timeliness of the acquisition parameter settings. The strategy library can be obtained through the mining and analysis of a large amount of historical data, and is constantly improved and updated.

[0159] Step S2000, obtaining a first digital signal using a second sampling rate and a second dynamic range, performing feature extraction on the first digital signal to obtain first feature data and second feature data; performing noise reduction processing on the first feature data to obtain third feature data; and performing preprocessing on the second feature data to obtain fourth feature data;

[0160] Furthermore, step S2000 includes:

[0161] Step S2100, using a second sampling rate and a second dynamic range to collect the signal to be processed through an analog-to-digital converter ADC to obtain a first digital signal;

[0162] Specifically, the value of the second sampling rate is loaded into the sampling clock generator of the ADC to instruct it to generate a sampling pulse signal of the required frequency, and the value of the second dynamic range is loaded into the analog front-end programmable gain amplifier PGA of the ADC to instruct it to amplify or attenuate the input signal to match the full-size input range of the ADC. The input analog signal is converted into a step-shaped discrete time signal through the S / H sampling and holding circuit, and then digitized through the quantization encoding circuit to generate a digital code proportional to the amplitude of the input signal to form a first digital signal. The first digital signal is temporarily stored in the output buffer of the ADC for subsequent reading and processing.

[0163] Step S2100 is a key step to convert analog signals into digital signals by performing analog-to-digital conversion through ADC. To ensure conversion accuracy, the sampling rate and dynamic range of ADC must be set reasonably, which is exactly the task completed by step S1000. Loading the adaptively adjusted sampling rate and dynamic range parameters into the registers and circuits related to ADC can match its working state with the characteristics of the input signal, thereby improving the sampling utilization rate, reducing quantization noise, and improving signal integrity. At the same time, caching the conversion results can facilitate subsequent reading and processing.

[0164] Step S2200, extracting features from the first digital signal to obtain first feature data and second feature data;

[0165] Furthermore, if Figure 2 As shown, step S2200 includes:

[0166] Step S2210, using a fast Fourier transform (FFT) algorithm to perform spectrum analysis on the first digital signal to obtain frequency domain complex data of the first digital signal, and taking the amplitude thereof as the first part of the first characteristic data;

[0167] Step S2220, using a short-time Fourier transform (STFT) algorithm to perform time-frequency analysis on the first digital signal to obtain a time-frequency spectrum data matrix of the first digital signal, and taking its amplitude matrix as the second part of the first feature data;

[0168] Step S2230, performing segmented statistical analysis on the first digital signal, calculating the time domain statistics of each segment of data, and combining the time domain statistics into a feature vector as the first part of the second feature data;

[0169] Step S2240, performing multi-scale time-frequency decomposition on the first digital signal using a wavelet transform method to obtain wavelet coefficients at different scales, and taking the high-frequency coefficients as the second part of the second feature data;

[0170] Step S2250, combining the first part of the first feature data and the second part of the first feature data to form complete first feature data; combining the first part of the second feature data and the second part of the second feature data to form complete second feature data;

[0171] Specifically, the first feature data focuses on frequency domain and time-frequency domain information, and is composed of two parts: FFT spectrum amplitude and STFT time-frequency spectrum amplitude matrix. The second feature data focuses on time domain and time-frequency domain information, and is composed of two parts: segmented statistical feature vector and wavelet high-frequency coefficient. Step S2200 extracts features of digital signals from different angles such as time domain, frequency domain, and time-frequency domain, with the aim of mining more valuable information from the original data for characterizing and evaluating signal quality. FFT and STFT focus on spectrum and time-frequency characteristics respectively, the former reveals the frequency distribution of the signal, and the latter reveals the dynamic changes of the frequency distribution, which can correspond to transient and steady-state conditions respectively. Through segmented statistical analysis, the differences in time domain features between different data segments can be compared. Time domain statistics include but are not limited to mean, variance, root mean square value and peak value. Wavelet decomposition can achieve multi-scale detailed characterization of signals in the time-frequency domain, and is particularly suitable for non-stationary signals. Combining these different types and different granularity features, the quality of the signal can be judged from multiple dimensions.

[0172] Step S2300, performing noise reduction processing on the first feature data using an adaptive filtering algorithm to obtain third feature data;

[0173] Furthermore, step S2300 includes:

[0174] Step S2310, calculating the statistical characteristics of the first characteristic data, estimating the noise power spectrum density according to the statistical characteristics of the first characteristic data, and constructing a first characteristic noise model according to the noise power spectrum density;

[0175] Further, step S2310 includes:

[0176] Step S2311, calculating the square of the frequency spectrum amplitude of the first characteristic data to obtain a power spectrum estimation value;

[0177] Step S2312, based on the power spectrum estimation value, find out the points far away from the signal frequency, and calculate the mean of the power spectrum estimation values ​​of these points as the preliminary estimation value of the noise power spectrum density;

[0178] Step S2313, introducing an attenuation weight to correct the preliminary estimate of the noise power spectrum density to obtain a corrected estimate of the noise power spectrum density;

[0179] The method of correcting the preliminary estimated value of the noise power spectrum density to obtain the corrected estimated value of the noise power spectrum density includes:

[0180] ;

[0181] in:

[0182] : Corrected noise power spectral density estimate;

[0183] : A preliminary estimate of the noise power spectrum density at the frequency index k at the current time t;

[0184] : A preliminary estimate of the noise power spectrum density at the frequency index k at the previous time t-1;

[0185] : Attenuation weight, range is , used to balance the weights of current estimates and historical estimates;

[0186] The attenuation weight can be set experimentally or empirically, and is usually adjusted based on the speed at which the noise environment changes. For example, if the noise changes quickly, a larger A value close to 1 makes the estimation more dependent on the noise characteristics at the current moment; when the noise changes slowly, a smaller value can be set. value (close to 0), making the estimate more dependent on historical data. The formula for correcting the preliminary estimate of the noise power spectrum density can smooth the noise estimate by weighted averaging the current and historical noise power spectrum density estimates, reducing the impact of instantaneous changes and making the noise estimate more stable. In the case of large changes in the noise environment, the formula can provide a smooth transition, making the noise estimate more robust and reducing the estimation error caused by instantaneous changes or sudden noise. By introducing historical estimates, the excessive reliance on the current noise estimate is reduced, the risk of overfitting is reduced, and the noise estimate is more generalized.

[0187] Step S2314, using the corrected noise power spectrum density estimate, generate a noise data segment with the same length as the first characteristic data, and calculate the square of the noise data spectrum amplitude;

[0188] Step S2315, comparing the error between the generated noise data spectrum and the first characteristic data spectrum in the non-signal frequency band, if the error is greater than a set threshold, adjusting the noise power spectrum density estimation value, and repeating steps S2314-S2315 until the error meets the requirement;

[0189] Step S2316, finally determining the noise power spectrum density estimation value, completing the construction of the first characteristic noise model;

[0190] Specifically, the power spectrum estimation obtained in step S2311 contains the power information of both signal and noise. The purpose of this method is to estimate the power spectrum density of background noise, and it is necessary to try to separate the noise component from the total power spectrum estimation. Step S2312 selects the frequency band far away from the signal frequency in order to avoid the signal component as much as possible and only examine the influence of noise. Since the contribution of these frequency bands is mainly background noise, the power spectrum estimation mean at these frequency points is calculated, which can be used as a preliminary estimate of the noise power spectrum density. The preliminary estimate of the noise power spectrum density may be affected by signal frequency leakage, edge effect and the non-stationarity of noise, so it is necessary to make necessary corrections to the preliminary estimate to obtain a more accurate and reliable noise power spectrum density estimation result.

[0191] Step S2310 can effectively capture the spectral characteristics of noise by deeply analyzing and modeling the statistical characteristics of the first characteristic data, thereby improving the accuracy of noise estimation. After constructing the first characteristic noise model, noise suppression can be carried out in a targeted manner in the subsequent noise reduction process, thereby improving the quality and signal-to-noise ratio of the signal. In addition, this process can be carried out automatically without manual intervention, ensuring the convenience and efficiency of operation. Through accurate noise modeling, the performance of the signal processing algorithm can be further optimized, so that the entire system can maintain high robustness and reliability in various complex environments.

[0192] Step S2320, using an adaptive filtering algorithm to filter the first characteristic data according to the first characteristic noise model to obtain third characteristic data;

[0193] Step S2330, calculating a custom objective function value of the third feature data and the first feature data as an objective function of the adaptive filtering;

[0194] The method for calculating the custom objective function value of the third feature data and the first feature data includes:

[0195] ;

[0196] in:

[0197] : The objective function value is the optimization target of adaptive filtering;

[0198] : Number of signal samples; i≤n;

[0199] : Adjust the parameters to balance the weights of the mean square error term and the absolute error term in the objective function;

[0200] : The i-th sample value of the first feature data;

[0201] : The i-th sample value of the third feature data

[0202] : Weight coefficient, used to adjust the importance of each sample in the objective function. It can be set according to certain characteristics of the signal (such as confidence, importance, etc.).

[0203] The objective function value calculation formula combines MSE and MAE, which can consider both global error and robustness to outliers, providing a more comprehensive error measurement. The errors of different samples can be weighted to make the objective function more flexible and adaptable. It provides the ability to adjust the mean square error and absolute error weights to meet the filtering requirements in different noise environments. This objective function can better adapt to signal characteristics and noise environments and improve the optimization effect of adaptive filtering.

[0204] Step S2300 uses adaptive filtering technology to reduce noise on the first feature data, with the aim of suppressing the influence of various background noises and interferences on the features and extracting the essential features of the useful signal. By modeling the noise, the statistical laws of the noise can be characterized to guide the design of the filter. Adaptive filtering algorithms such as LMS (least mean square), RLS (recursive least squares), and Kalman filtering are used to filter the first feature data according to the noise model, and the filter coefficients are dynamically adjusted to make the output result as close as possible to the ideal noise-free feature data, so as to obtain the third feature data. The adaptive filtering algorithm can automatically adjust the parameters of the filter according to the changes in the signal and noise to achieve dynamic tracking, so it is particularly suitable for processing non-stationary noise. The objective function is used to guide the iterative optimization and convergence judgment of the filter coefficients. The denoised feature data has higher quality and is more conducive to subsequent applications.

[0205] Step S2400, determining whether the credibility of the third feature data exceeds a preset third feature credibility threshold, if so, proceeding to step S2500, if not, adjusting the parameters of the adaptive filtering algorithm, returning to step S2300, and performing noise reduction processing again;

[0206] Step S2500, performing zero mean normalization and detrending processing on the second characteristic data to obtain fourth characteristic data;

[0207] Specifically, the mean of each component of the time domain statistic eigenvector and the wavelet high-frequency coefficient eigenvector in the second feature data is calculated respectively, and it is subtracted from the corresponding component to make the feature data as a whole have a zero mean distribution and eliminate the influence of the DC component. The standard deviation of each component of the time domain statistic eigenvector and the wavelet high-frequency coefficient eigenvector in the second feature data is calculated respectively, and each component is divided by the corresponding standard deviation to make the feature data have the same scale in each dimension and eliminate the difference in dimension and dynamic range. The trend item information of each component of the time domain statistic eigenvector and the wavelet high-frequency coefficient eigenvector in the second feature data is extracted by using methods such as polynomial fitting or sliding average, and it is eliminated from the corresponding component to highlight the local fluctuation details of the feature data. The result after detrending is the fourth feature data.

[0208] Step S2500 performs preprocessing on the second feature data, including zero mean, normalization, detrending and other operations, the purpose of which is to eliminate the differences in scale and distribution between different feature components, highlight the details of changes in effective information, and improve the efficiency and reliability of subsequent processing. Zero mean is equivalent to eliminating the DC component of the signal, normalization is equivalent to applying the same scale factor to different components so that their values ​​fall within a similar range, and detrending is equivalent to separating the slowly changing trend term and the rapidly changing fluctuation term from the signal, which is conducive to focusing on the components of interest. These preprocessing operations can eliminate the impact of changes in external conditions to a certain extent and highlight the internal connection of the data.

[0209] Step S3000, obtaining a signal feature set 1 according to the third feature data; obtaining a signal feature set 2 according to the fourth feature data; constructing a signal quality assessment model, and obtaining a signal quality score according to the signal feature set 1, the signal feature set 2 and the signal quality assessment model;

[0210] Furthermore, step S3000 includes:

[0211] Step S3100, extracting frequency domain sparse features and singular value features of the third feature data to form a signal feature set 1;

[0212] Furthermore, if Figure 3 As shown, step S3100 includes:

[0213] Step S3110, performing frequency domain sparse transformation on the third feature data to obtain sparse coefficients in the transformation domain;

[0214] Step S3120, arranging the sparse coefficients in descending order according to the magnitude of the amplitudes, and extracting the first N largest coefficients as frequency domain sparse features;

[0215] Step S3130, performing SVD singular value decomposition on the third feature data to obtain a singular value vector;

[0216] Step S3140, extracting the first K largest singular values ​​from the singular value vector to form a feature vector as a singular value feature;

[0217] Step S3150, cascading the frequency domain sparse features and the singular value features to form a signal feature set 1;

[0218] Specifically, the frequency domain sparse transform includes but is not limited to discrete cosine transform DCT and wavelet packet transform WPT; the number of sparse features can be adaptively determined according to criteria such as reconstruction error and information entropy; SVD singular value decomposition is common knowledge in the art and will not be described in detail in this embodiment; the number of extracted singular values ​​K can be adaptively determined according to criteria such as reconstruction error and information retention ratio. Signal feature set 1 describes the frequency domain energy distribution and potential low-rank structure of the third feature data. Step S3100 extracts sparse features and singular value features from the third feature data after denoising to describe the frequency domain characteristics and intrinsic structure of the signal. The features based on singular values ​​correspond to the principal components of the data matrix, reflecting the correlation between different components, while the features based on frequency domain transformation focus on the energy distribution of different frequency bands, reflecting the spectral structure of the signal. These two types of features can suppress the influence of noise to a certain extent and have strong robustness. By adaptively adjusting the feature dimension, a balance can be achieved between dimensionality reduction compression and information fidelity. Combining these two types of features to form a feature set can form a more comprehensive and concise description of signal quality.

[0219] Step S3200, performing self-similarity analysis and statistical feature extraction on the fourth feature data to obtain a second signal feature set;

[0220] Furthermore, if Figure 4 As shown, step S3200 includes:

[0221] Step S3210, calculating the self-similarity matrix of the fourth characteristic data at different time scales, extracting eigenvalues ​​from the self-similarity matrix, and forming a self-similarity eigenvector;

[0222] Step S3220, performing a multi-scale analysis on the fourth feature data to obtain a multi-scale analysis result, extracting relevant statistical feature quantities from the multi-scale analysis result to form a multi-scale statistical feature vector;

[0223] Step S3230, calculating a high-order statistic for the fourth feature data, and combining the high-order statistics into a high-order statistical feature vector;

[0224] Step S3240, concatenating the self-similarity feature vector, the multi-scale statistical feature vector and the high-order statistical feature vector to form a signal feature set 2;

[0225] Specifically, the dynamic time warping (DTW) algorithm is used to calculate the self-similarity matrix of the fourth feature data at different time scales; the fourth feature data is analyzed at multiple scales from the perspectives of autocorrelation and stationarity using methods such as multiscale entropy and autoregression. The skewness, kurtosis and other high-order statistics are calculated for the fourth feature data to characterize the morphological characteristics of its probability distribution. These high-order statistics are combined into a high-order statistical feature vector. The signal feature set 2 characterizes the structural characteristics and statistical laws of the fourth feature data from the perspective of the time domain at multiple levels. Step S3200 extracts self-similarity features and statistical features from the normalized and detrended fourth feature data to characterize the time domain characteristics of the signal. Self-similarity reflects the repetitive patterns and long-range correlations of the signal at different time scales, while statistical features reflect the probability distribution characteristics of the signal. The DTW algorithm can find similar fragments in the signal by optimizing the time warping path, and is a typical nonlinear analysis method. Multiscale entropy, autoregression and other methods can describe the complexity of the time series from the perspectives of information volume and correlation. Higher-order statistics such as skewness and kurtosis go beyond the second-order description of mean and variance and characterize the degree to which the probability distribution deviates from the normal distribution. Aggregating these qualitative and quantitative indicators into a feature set can better reflect the quality characteristics of the time domain signal.

[0226] Step S3300, integrating signal feature set 1 and signal feature set 2 to form a total signal feature set, constructing a signal quality assessment model, and obtaining a signal quality score according to the total signal feature set and the signal quality assessment model;

[0227] Specifically, machine learning methods such as support vector machine (SVM), random forest (RF), and BP neural network are used to construct a quality assessment model, and the output of the model is a continuous signal quality score. The training samples are labeled for quality to form a training data set. The quality label can be given by expert experience or converted from objective performance indicators. The quality assessment model is trained and verified using the training data set, and the model hyperparameters are optimized using methods such as cross-validation and grid search to improve the generalization performance of the model. The trained signal quality assessment model is used to perform quality assessment on the collected real-time signal data and provide a continuous signal quality score.

[0228] Step S3300 fuses the multi-domain features extracted in the first two steps, constructs a machine learning model, and realizes quantitative evaluation of signal quality. Combining different features in the frequency domain and time domain can form a more comprehensive and accurate quality description of the signal, overcoming the limitations of a single feature. Using a machine learning model, the rules of quality assessment can be automatically learned from a large amount of historical data, reducing reliance on expert experience. By annotating the quality of the training data, prior knowledge can be introduced to guide model training. Techniques such as cross-validation and hyperparameter optimization can be used to control the complexity of the model and improve its generalization ability. The final trained model can be used for real-time quality assessment, providing an objective basis for online monitoring and adaptive processing.

[0229] Step S3400, determines whether the signal quality score is lower than the preset quality threshold. If so, gives a diagnostic conclusion that the signal quality is unqualified, and gives targeted signal quality improvement suggestions based on the signal quality score and the analysis results of the influencing factors, and then returns to step S1000 to start a new round of signal acquisition and adaptive signal processing; if not, gives a diagnostic conclusion that the signal quality is qualified, and the third characteristic data and the fourth characteristic data are packaged and output, and the adaptive signal processing process ends.

[0230] Step S3400 ensures that the final output data has high reliability and accuracy through a strict signal quality evaluation mechanism. When the signal quality score is lower than the preset quality threshold, the system will automatically diagnose that the signal quality is unqualified, and provide targeted improvement suggestions based on the score and influencing factor analysis results. This process not only helps to identify and correct problems in the acquisition process, but also promotes the continuous optimization and improvement of the system. By returning to step S1000 to start a new round of signal acquisition and adaptive signal processing, the system can continuously iterate and improve the quality of signal processing. If the signal quality score meets the requirements, the system will give a qualified diagnostic conclusion and package the processed feature data for output, ensuring the validity and practicality of the data. Overall, step S3400 improves the intelligence level and adaptability of the signal processing system by introducing a signal quality evaluation and improvement mechanism, ensuring the high quality and reliability of the final output data.

[0231] Example 2

[0232] This embodiment provides an AI-based intelligent data acquisition board based on embodiment 1, such as Figure 5 As shown, including:

[0233] ADC module: used to collect the signal to be processed and convert the analog signal into a digital signal;

[0234] Control circuit module: used to set and adjust the sampling rate and dynamic range of ADC;

[0235] Signal classification module: used to classify the signal to be processed according to the pre-trained deep learning model to obtain the signal type;

[0236] Adaptive adjustment module: used to obtain sampling rate correction parameters for signal types from the sampling rate adjustment strategy library, and to correct the first sampling rate to obtain the second sampling rate; at the same time, obtain dynamic range correction parameters for signal types from the dynamic range optimization strategy library, and to correct the first dynamic range to obtain the second dynamic range;

[0237] Feature extraction and preprocessing module: used to extract features from the first digital signal to obtain first feature data and second feature data; use an adaptive filtering algorithm to perform noise reduction processing on the first feature data to obtain third feature data; perform zero mean normalization and detrending processing on the second feature data to obtain fourth feature data;

[0238] Signal quality assessment module: used to obtain signal feature set 1 according to the third feature data; obtain signal feature set 2 according to the fourth feature data; construct a signal quality assessment model, and obtain a signal quality score according to signal feature set 1, signal feature set 2 and the signal quality assessment model;

[0239] The ADC module comprises:

[0240] Sample and hold circuit: used to ensure that the signal voltage remains stable during the sampling process and improve sampling accuracy.

[0241] Programmable Gain Amplifier (PGA): used to adjust the input signal amplitude to ensure that the signal is within the ADC dynamic range and optimize quantization accuracy and signal-to-noise ratio;

[0242] Signal cache module: used to ensure stable acquisition and temporary storage of signal data, providing data basis for subsequent preprocessing and classification;

[0243] The control circuit module comprises:

[0244] Sampling rate configuration register: used to set and adjust the ADC sampling rate to ensure that the collected signal data meets the bandwidth and data volume requirements;

[0245] Dynamic range configuration register: used to set and adjust the gain of the PGA to ensure that the input signal is within the dynamic range of the ADC and achieve the best signal quantization accuracy and signal-to-noise ratio;

[0246] Signal type register: used to record signal classification results and provide reference for subsequent adaptive signal processing;

[0247] The adaptive adjustment module includes a sampling rate adjustment strategy library and a dynamic range optimization strategy library;

[0248] The sampling rate adjustment strategy library is used to store sampling rate correction parameters preset for different signal types;

[0249] The dynamic range optimization strategy library is used to store dynamic range correction parameters preset for different signal types.

[0250] Example 3

[0251] This embodiment discloses an electronic device, including a memory, a central processing unit, and a computer program stored in the memory and executable on the central processing unit. When the central processing unit executes the computer program, the above-mentioned AI-based intelligent data acquisition board adaptive signal processing method is implemented.

[0252] Since the electronic device introduced in this embodiment is an electronic device used to implement the adaptive signal processing method of the intelligent data acquisition board based on AI in the embodiment of the present application, based on the adaptive signal processing method of the intelligent data acquisition board based on AI introduced in the embodiment of the present application, the technical personnel of the field can understand the specific implementation of the electronic device of the present embodiment and its various variations, so how the electronic device implements the method in the embodiment of the present application is not described in detail here. As long as the technical personnel of the field implement the electronic device used by the adaptive signal processing method of the intelligent data acquisition board based on AI in the embodiment of the present application, it belongs to the scope of protection of this application.

[0253] Example 4

[0254] This embodiment discloses a computer-readable storage medium, on which a computer program is stored. When the computer program is executed, the above-mentioned AI-based intelligent data acquisition board adaptive signal processing method is implemented.

[0255] The above formulas are all dimensionless and numerical calculations. The formula is a formula for the most recent real situation obtained by collecting a large amount of data and performing software simulation. The preset parameters, weights and thresholds in the formula are set by technicians in this field according to actual conditions.

[0256] The above embodiments may be implemented in whole or in part by software, hardware, firmware or any other combination thereof. When implemented by software, the above embodiments may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions or computer programs. When the computer instructions or computer programs are loaded or executed on a computer, the process or function described in the embodiment of the present invention is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network or other programmable device. The computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions may be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired network or a wireless network. The computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media sets. The available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., a DVD) or a semiconductor medium. The semiconductor medium may be a solid-state hard disk.

[0257] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed in the present invention can be implemented in electronic hardware or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of the present invention.

[0258] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0259] In the several embodiments provided by the present invention, it should be understood that the disclosed systems and methods can be implemented in other ways. For example, the system embodiments described above are only schematic, for example, the division of the units is only one, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0260] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0261] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0262] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention should be based on the protection scope of the claims.

[0263] Finally: The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the protection scope of the present invention.

Claims

1. An AI-based adaptive signal processing method for intelligent data acquisition board, characterized in that: include: Step S1000, obtaining a first sampling rate and a first dynamic range of a signal to be processed, and classifying the signal to be processed using a pre-trained deep learning model to obtain a signal type; According to the signal type, a sampling rate correction parameter and a dynamic range correction parameter for the signal are obtained; Using the sampling rate correction parameter to correct the first sampling rate to obtain a second sampling rate, and using the dynamic range correction parameter to correct the first dynamic range to obtain a second dynamic range; Step S2000, obtaining a first digital signal using a second sampling rate and a second dynamic range, performing feature extraction on the first digital signal to obtain first feature data and second feature data; performing noise reduction processing on the first feature data to obtain third feature data; and performing preprocessing on the second feature data to obtain fourth feature data; Step S3000, obtaining a signal feature set 1 according to the third feature data; obtaining a signal feature set 2 according to the fourth feature data; constructing a signal quality assessment model, and obtaining a signal quality score according to the signal feature set 1, the signal feature set 2 and the signal quality assessment model; The step S2000 includes: Step S2100, collecting the signal to be processed by using the second sampling rate and the second dynamic range to obtain a first digital signal; Step S2200, extracting features from the first digital signal to obtain first feature data and second feature data; Step S2300, performing noise reduction processing on the first feature data using an adaptive filtering algorithm to obtain third feature data; Step S2400, determining whether the credibility of the third feature data exceeds a preset third feature credibility threshold, if so, proceeding to step S2500, if not, adjusting the parameters of the adaptive filtering algorithm, returning to step S2300, and performing noise reduction processing again; Step S2500, performing zero mean normalization and detrending processing on the second characteristic data to obtain fourth characteristic data; The step S2200 includes: Step S2210, using a fast Fourier transform (FFT) algorithm to perform spectrum analysis on the first digital signal to obtain frequency domain complex data of the first digital signal, and taking the amplitude thereof as the first part of the first characteristic data; Step S2220, using a short-time Fourier transform (STFT) algorithm to perform time-frequency analysis on the first digital signal to obtain a time-frequency spectrum data matrix of the first digital signal, and taking its amplitude matrix as the second part of the first feature data; Step S2230, performing segmented statistical analysis on the first digital signal, calculating the time domain statistics of each segment of data, and combining the time domain statistics into a feature vector as the first part of the second feature data; Step S2240, performing multi-scale time-frequency decomposition on the first digital signal using a wavelet transform method to obtain wavelet coefficients at different scales, and taking the high-frequency coefficients as the second part of the second feature data; Step S2250, combining the first part of the first feature data and the second part of the first feature data to form complete first feature data; combining the first part of the second feature data and the second part of the second feature data to form complete second feature data; The step S3000 includes: Step S3100, extracting frequency domain sparse features and singular value features of the third feature data to form a signal feature set 1; Step S3200, performing self-similarity analysis and statistical feature extraction on the fourth feature data to obtain a second signal feature set; Step S3300, integrating signal feature set 1 and signal feature set 2 to form a total signal feature set, constructing a signal quality assessment model, and obtaining a signal quality score according to the total signal feature set and the signal quality assessment model; Step S3400, determines whether the signal quality score is lower than the preset quality threshold. If so, gives a diagnostic conclusion that the signal quality is unqualified, and gives targeted signal quality improvement suggestions based on the signal quality score and the analysis results of the influencing factors, and then returns to step S1000 to start a new round of signal acquisition and adaptive signal processing; if not, gives a diagnostic conclusion that the signal quality is qualified, and the third characteristic data and the fourth characteristic data are packaged and output, and the adaptive signal processing process ends.

2. The AI-based intelligent data acquisition board adaptive signal processing method according to claim 1 is characterized in that: The step S1000 includes: Step S1100, obtaining initial sampling rate and dynamic range parameters of the signal to be processed, and setting them to a first sampling rate and a first dynamic range respectively; Step S1200, using a pre-trained deep learning model to classify the signal to be processed to obtain a signal type; Step S1300, determining whether the signal type is A. If the signal type is A, obtaining a sampling rate correction parameter for the A-type signal, which is used to correct the first sampling rate to obtain a second sampling rate; and obtaining a dynamic range correction parameter for the A-type signal, which is used to correct the first dynamic range to obtain a second dynamic range, and then executing step S2000; if the signal type is not A, executing step S1400; Step S1400, determining whether the signal type is B. If the signal type is B, obtaining a sampling rate correction parameter for the B-type signal, which is used to correct the first sampling rate to obtain a second sampling rate; and obtaining a dynamic range correction parameter for the B-type signal, which is used to correct the first dynamic range to obtain a second dynamic range, and then executing step S2000; if the signal type is not B, executing step S1500; Step S1500: the second sampling rate and the second dynamic range are consistent with the first sampling rate and the first dynamic range.

3. The AI-based intelligent data acquisition board adaptive signal processing method according to claim 2 is characterized in that: The method of correcting the first sampling rate to obtain the second sampling rate includes: ; in: : The second sampling rate; : first sampling rate; : Scaling factor of sampling rate correction parameter; : The reference factor of the sampling rate correction parameter; The method of correcting the first dynamic range to obtain the second dynamic range includes: ; in: : Second dynamic range; : First dynamic range; : Base factor of dynamic range correction parameter; : scaling factor of dynamic range correction parameter; : Adjustment factor of dynamic range correction parameter.

4. The AI-based intelligent data acquisition board adaptive signal processing method according to claim 2 is characterized in that: The step S1200 includes: Step S1210, continuously collecting signal segment data for a period of time to form a signal sample set to be classified; Step S1220, preprocessing the signal sample set, inputting the preprocessed signal sample set into the pre-trained deep learning model, performing forward reasoning calculation, and obtaining confidence scores of each category; Step S1230: Select the category with the highest confidence score as the signal classification result, convert it into a corresponding signal type code, and store it in a signal type register.

5. The AI-based intelligent data acquisition board adaptive signal processing method according to claim 1 is characterized in that: The step S2300 includes: Step S2310, calculating the statistical characteristics of the first characteristic data, estimating the noise power spectrum density according to the statistical characteristics of the first characteristic data, and constructing a first characteristic noise model according to the noise power spectrum density; Step S2320, using an adaptive filtering algorithm to filter the first characteristic data according to the first characteristic noise model to obtain third characteristic data; Step S2330, calculating the mean square error between the third feature data and the first feature data as the objective function of the adaptive filtering.

6. The AI-based intelligent data acquisition board adaptive signal processing method according to claim 5 is characterized in that: The step S2310 includes: Step S2311, calculating the square of the frequency spectrum amplitude of the first characteristic data to obtain a power spectrum estimation value; Step S2312, based on the power spectrum estimation value, find out the points far away from the signal frequency, and calculate the mean of the power spectrum estimation values ​​of these points as the preliminary estimation value of the noise power spectrum density; Step S2313, introducing an attenuation weight to correct the preliminary estimate of the noise power spectrum density to obtain a corrected estimate of the noise power spectrum density; Step S2314, using the corrected noise power spectrum density estimate, generate a noise data segment with the same length as the first characteristic data, and calculate the square of the noise data spectrum amplitude; Step S2315, comparing the error between the generated noise data spectrum and the first characteristic data spectrum in the non-signal frequency band, if the error is greater than a set threshold, adjusting the noise power spectrum density estimation value, and repeating steps S2314-S2315 until the error meets the requirement; Step S2316, finally determining the noise power spectrum density estimation value, completing the construction of the first characteristic noise model; The method of correcting the preliminary estimated value of the noise power spectrum density to obtain the corrected estimated value of the noise power spectrum density includes: ; in: : Corrected noise power spectral density estimate; : A preliminary estimate of the noise power spectrum density at the frequency index k at the current time t; : A preliminary estimate of the noise power spectrum density at the frequency index k at the previous time t-1; : Attenuation weight, range is .

7. The AI-based intelligent data acquisition board adaptive signal processing method according to claim 1 is characterized in that: The step S3100 includes: Step S3110, performing frequency domain sparse transformation on the third feature data to obtain sparse coefficients in the transformation domain; Step S3120, arranging the sparse coefficients in descending order according to the magnitude of the amplitudes, and extracting the first N largest coefficients as frequency domain sparse features; Step S3130, performing SVD singular value decomposition on the third feature data to obtain a singular value vector; Step S3140, extracting the first K largest singular values ​​from the singular value vector to form a feature vector as a singular value feature; Step S3150, cascading the frequency domain sparse features and the singular value features to form a signal feature set 1; The step S3200 includes: Step S3210, calculating the self-similarity matrix of the fourth characteristic data at different time scales, extracting eigenvalues ​​from the self-similarity matrix, and forming a self-similarity eigenvector; Step S3220, performing a multi-scale analysis on the fourth feature data to obtain a multi-scale analysis result, extracting relevant statistical feature quantities from the multi-scale analysis result to form a multi-scale statistical feature vector; Step S3230, calculating a high-order statistic for the fourth feature data, and combining the high-order statistics into a high-order statistical feature vector; Step S3240, concatenate the self-similarity feature vector, the multi-scale statistical feature vector and the high-order statistical feature vector to form a second signal feature set.

8. An AI-based intelligent data acquisition board, which is used to implement the AI-based intelligent data acquisition board adaptive signal processing method according to any one of claims 1 to 7, characterized in that: include: ADC module: used to collect the signal to be processed and convert the analog signal into a digital signal; Control circuit module: used to set and adjust the sampling rate and dynamic range of ADC; Signal classification module: used to classify the signal to be processed according to the pre-trained deep learning model to obtain the signal type; Adaptive adjustment module: used to modify the first sampling rate to obtain a second sampling rate, and modify the first dynamic range to obtain a second dynamic range; Feature extraction and preprocessing module: used to extract features from the first digital signal to obtain first feature data and second feature data; perform noise reduction processing on the first feature data to obtain third feature data; perform zero mean normalization and detrending processing on the second feature data to obtain fourth feature data; Signal quality assessment module: used to obtain signal feature set 1 according to the third feature data; obtain signal feature set 2 according to the fourth feature data; construct a signal quality assessment model, and obtain a signal quality score according to signal feature set 1, signal feature set 2 and the signal quality assessment model; The ADC module comprises: Sample and hold circuit: used to ensure that the signal voltage remains stable during the sampling process; Programmable gain amplifier: used to adjust the input signal amplitude; Signal cache module: used to ensure stable acquisition and temporary storage of signal data; The control circuit module comprises: Sampling rate configuration register: used to set and adjust the ADC sampling rate; Dynamic range configuration register: used to set and adjust the gain of PGA; Signal type register: used to record signal classification results; The adaptive adjustment module includes a sampling rate adjustment strategy library and a dynamic range optimization strategy library; The sampling rate adjustment strategy library is used to store sampling rate correction parameters preset for different signal types; The dynamic range optimization strategy library is used to store dynamic range correction parameters preset for different signal types.

9. An electronic device comprising a memory, a central processing unit, and a computer program stored in the memory and executable on the central processing unit, characterized in that: When the central processing unit executes the computer program, the AI-based intelligent data acquisition board adaptive signal processing method described in any one of claims 1 to 7 is implemented.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed, the adaptive signal processing method for intelligent data acquisition board based on AI described in any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • Non-reference audio quality evaluation method and system based on audio signal property classification

    CN103957216A

  • Image signal processing method and device, equipment and storage medium

    CN114897731A

  • Sound environment adaptive USB audio optimization method and system

    CN118230767A

  • Unmanned aerial vehicle signal acquisition and analysis method based on image transmission signal coding characteristics

    CN118300954A

  • Method and signal processor for modification of audio signals

    WO2006106466A1