A filter aging test and evaluation system based on artificial intelligence

Through the artificial intelligence-based filter aging test and evaluation system, the attention-enhanced SwinTransformer model is used to extract aging features from digital filter data, which solves the problems of long aging test, high cost and poor adaptability in the existing technology, and achieves Efficient and accurate aging assessment.

CN118503635BActive Publication Date: 2024-09-24CHENGDU DAHAN MICROWAVE INTEGRATION TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410977887.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-07-22
Publication Date
2024-09-24
Estimated Expiration
2044-07-22

AI Technical Summary

Technical Problem

Existing digital filter aging test methods are time-consuming, costly, poorly adaptable, and rely on expert experience, making it difficult to achieve accurate and efficient aging assessment.

Method used

An artificial intelligence-based filter aging test and evaluation system is adopted, including a data preprocessing module, an aging feature extraction module and an aging degree assessment module. The attention-enhanced SwinTransformer model is used to automatically extract aging features from the digital filter aging test data. Multi-source heterogeneous data fusion and advanced attention mechanism for aging assessment.

Benefits of technology

It significantly improves the efficiency and adaptability of the aging test, achieves accurate assessment of the aging degree of digital filters, reduces computing and storage overhead, and overcomes the dependence on manual features and high cost of traditional methods.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118503635B
    Figure CN118503635B
Patent Text Reader

Abstract

The present invention proposes an artificial intelligence-based filter aging test and evaluation system, which integrates multi-source heterogeneous data such as amplitude-frequency response, impulse response and noise power spectrum, adaptively focuses on key features through an attention mechanism, and uses the attention-enhanced SwinTransformer to automatically learn the hierarchical and long-range dependency features of the data, and the filter aging features automatically learned in the data to achieve accurate and efficient evaluation of the aging degree.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention relates to the technical field of filter evaluation, and in particular to an artificial intelligence-based filter aging test evaluation system. Background Art

[0002] Digital filters are key components in modern electronic systems and are widely used in communications, audio, video, and image processing. However, over time, the performance of digital filters will gradually degrade, a phenomenon known as "aging". Aging causes changes in the frequency response of the filter, which in turn affects the performance of the entire system. Therefore, it is very necessary to perform aging testing and evaluation on digital filters, which can help detect performance degradation problems in a timely manner and take appropriate measures to maintain the stability and reliability of the system.

[0003] Keeping digital filters stable in performance for a long time is a complex issue, involving materials, processes, circuit design and many other aspects. Among them, how to accurately and efficiently evaluate the aging of digital filters is a key technical challenge. Traditional aging test methods, such as accelerated life testing, usually take a lot of time and cost. In addition, these methods often rely on specific test environments and conditions, and are difficult to adapt to increasingly complex application scenarios. Therefore, it is urgent to develop new test evaluation methods to improve the efficiency and adaptability of aging tests.

[0004] At present, the aging test and evaluation of digital filters mainly rely on traditional methods, such as accelerated life test and failure analysis. These methods have the following major defects:

[0005] (1) Time-consuming and costly. Accelerated life testing usually requires long-term testing of devices in harsh environments such as high temperature and high humidity to obtain sufficient aging data, which is very time-consuming and labor-intensive. Failure analysis requires the use of expensive instruments and equipment to conduct detailed physical analysis of failed devices, which is very costly.

[0006] (2) Poor adaptability. Traditional methods are often targeted at specific failure mechanisms and test conditions, and are difficult to adapt to the increasingly diverse application environments and failure modes.

[0007] (3) Reliance on expert experience. Failure analysis usually requires senior experts to judge the failure mode based on their experience. There is a lack of objective and quantitative evaluation indicators, making it difficult to achieve automated test evaluation.

[0008] In recent years, the rapid development of artificial intelligence technology has provided new ideas for solving this problem. In particular, deep learning methods have made breakthrough progress in many fields such as images and speech with their powerful feature learning and representation capabilities. This inspired us to explore the application of deep learning methods in aging testing and evaluation of digital filters, and to accurately judge the degree of aging through the rich features automatically learned from the data. Summary of the invention

[0009] In order to solve the problems existing in the prior art, the present invention proposes a filter aging test and evaluation system based on artificial intelligence, which is characterized by including a data preprocessing module, an aging feature extraction module, and an aging degree evaluation module.

[0010] Specifically, the data preprocessing module includes a digital filter aging test data set selection and processing submodule and a data enhancement submodule;

[0011] The specific processing process of the digital filter aging test data set selection and processing submodule is as follows: three types of digital filters are selected: finite impulse response (FIR) filter, infinite impulse response (IIR) filter and lattice filter. For each type, 200 filter samples are randomly generated, including filters with different orders, cutoff frequencies and structural parameters.

[0012] For FIR filter, its system function can be expressed as:

[0013] ,in, is the unit impulse response sequence of the filter, is the filter order.

[0014] For IIR filter, its system function can be expressed as:

[0015] ,in, and are the forward and reverse coefficients of the filter, respectively. and are the orders of the forward and reverse parts, respectively.

[0016] For the lattice filter, its transfer function can be expressed as:

[0017] ,in, is the gain constant, and are the zeros and poles of the filter, respectively. and are the number of zeros and poles respectively.

[0018] During the data collection process, an accelerated aging test method was used. Specifically, each filter sample was placed in a high temperature and high humidity environment and operated continuously for 1,000 hours. During the aging process, the performance parameters of the filter were measured every 100 hours, including:

[0019] (1) Amplitude-frequency response curve: record the filter at different frequencies Gain under and Phase For a digital filter, its frequency response can be obtained by taking get:

[0020]

[0021] The gain and phase characteristics are: and .

[0022] (2) Zero-pole distribution diagram: records the zero points of the filter system function and pole Distribution on the complex plane. For digital filters, their stability is related to the location of the poles. If all poles are located within the unit circle, the system is stable.

[0023] (3) Pulse response sequence: record the filter's response to a unit pulse signal The response sequence For FIR filters, the unit impulse response sequence is the filter coefficient For an IIR filter, its unit impulse response sequence can be solved by the difference equation: .

[0024] (4) Noise power spectral density: Record filter output noise The power spectral density According to the Wiener-Hinchin theorem, the power spectral density of the output noise is proportional to the input noise The power spectral density and the filter frequency response related: .

[0025] After obtaining the original test data, the original data is preprocessed. First, each performance parameter is normalized and mapped to the range of [0, 1]. For the amplitude-frequency response curve, the following normalization formula is used:

[0026] ,in, and are the minimum and maximum gains among all samples respectively.

[0027] For the zero-pole distribution diagram, the complex plane is mapped into a square area of ​​[-1, 1]×[-1, 1], and the zero poles outside the unit circle are moved to the boundary of the unit circle.

[0028] For the impulse response sequence and noise power spectrum density, the following normalization formulas are used respectively: , ,in, , , and are the minimum and maximum values ​​of the corresponding parameters in all samples, respectively.

[0029] Normalization processing can eliminate the dimensional differences between different parameters and improve the accuracy of subsequent feature extraction and aging assessment.

[0030] Secondly, the raw data is smoothed and a moving average filter is used to remove the influence of measurement noise. , the output of the moving average filter for: ,in, is the length of the sliding window.

[0031] Finally, the training set and test set are randomly divided into a ratio of 9:1, and the data is converted into PyTorch's tensor format to facilitate subsequent model training and evaluation.

[0032] The data enhancement submodule adopts the following data enhancement strategies:

[0033] (1) Time series disturbance: impulse response sequence and noise power spectral density series Perform random time offset, scaling, and cropping to simulate the time synchronization error and measurement duration changes in actual tests. For time offset, use the following formula:

[0034] ,in, is a random offset, is the maximum offset range.

[0035] For time scaling, the following formula is used: ,in, is the random scaling factor, is the maximum zoom range.

[0036] For time clipping, randomly select a length of As new samples: ,in, is a random starting position.

[0037] (2) Frequency response curve disturbance: Amplitude-frequency response curve and Perform random frequency axis and amplitude axis perturbations to simulate the frequency offset and amplitude fluctuations in actual tests. For frequency offset, use the following formula:

[0038] ,in, is the random frequency offset, is the maximum offset range.

[0039] For the amplitude disturbance, the following formula is used:

[0040] ,in, is the random amplitude disturbance, is the maximum disturbance range.

[0041] (3) Zero-pole distribution perturbation: The zero points in the zero-pole distribution diagram and pole Perform random rotation, translation, and scaling to simulate the system parameter changes in actual testing. For rotation transformation, use the following formula:

[0042] ,in, is the random rotation angle, is the maximum rotation range.

[0043] For translation transformation, the following formula is used:

[0044] ,in, and is a random translation vector, is the maximum translation radius.

[0045] For scaling transformation, use the following formula:

[0046] ,in, is the random scaling factor, is the maximum zoom range.

[0047] Through the above data enhancement strategies, more variation samples can be generated based on limited samples to improve the robustness of the model.

[0048] In this paper, a feature extraction model based on attention-enhanced SwinTransformer is used to automatically learn effective aging feature representation from digital filter aging test data. Compared with the original SwinTransformer, this model has made targeted improvements in the following aspects:

[0049] (1) Input data format: The original SwinTransformer mainly processes image data, and its input is a two-dimensional image block. In the present invention, the input data includes a one-dimensional time series (such as an impulse response sequence ) and two-dimensional frequency domain data (such as amplitude-frequency response curves ). To this end, the one-dimensional sequence data is converted into two-dimensional time-frequency spectrum data, and the time domain signal is mapped to the time-frequency domain through short-time Fourier transform (STFT). , its STFT can be expressed as:

[0050] ,in, is a window function, is the frame shift, is the number of Fourier transform points, and are the indices of the time frame and frequency point, respectively.

[0051] Through STFT, the one-dimensional sequence can be converted into a two-dimensional time-frequency spectrum diagram with a size of ,in is the number of time frames, is the number of frequency points. For two-dimensional frequency domain data, resize it to a fixed-size matrix. In this way, all input data are converted to a two-dimensional tensor format, which is compatible with the input requirements of SwinTransformer.

[0052] (2) Window size and shift step size: In the original SwinTransformer, the window size and shift step size are usually set to fixed values, such as 7×7 and 3×3. In the present invention, it is found that different types of digital filter data may have different time-frequency characteristics, and different window sizes and shift step sizes need to be adopted. Therefore, the window size is set to and shift step length It is set as a learnable parameter and its value is adaptively adjusted through end-to-end training to better match the characteristics of different data.

[0053] (3) Attention mechanism: In order to further enhance the model’s ability to focus on local details, the time-frequency domain attention mechanism and channel attention mechanism are introduced into the original SwinTransformer structure.

[0054] The general processing process of the above model is as follows:

[0055] First, for the input two-dimensional time-frequency spectrum , which is divided into non-overlapping local windows, each of which has a size of Then, the features in each local window are encoded to obtain a set of local feature vectors ,in is the feature dimension.

[0056] Next, the local feature vector Apply the multi-head self-attention mechanism. Specifically, first Obtain the query matrix through linear transformation , key matrix Sum Matrix :

[0057] ,in, To learn the parameters, is the feature dimension of each attention head.

[0058] Then, the query matrix is ​​calculated With key matrix The similarity of , and the attention weight matrix is ​​obtained through the softmax function :

[0059] , then, the attention weight matrix Applied to the value matrix , get the feature matrix after attention weighting : .

[0060] Finally, the feature matrices obtained from different attention heads are concatenated and the output feature matrix is ​​obtained through a linear transformation : ,in, is the number of attention heads, To learn the parameters.

[0061] In order to introduce time-frequency domain attention, the attention weight matrix Make the transformation.

[0062] Specifically, the feature matrix is ​​first pooled by global average pooling. Compress in time and frequency dimensions to obtain a feature vector :

[0063] Then, through two fully connected layers and a sigmoid function, the attention weight vector in the time and frequency dimensions is obtained and :

[0064] ,in, are the learning parameters of the fully connected layer.

[0065] Finally, the time-frequency domain attention weights are applied to the attention weight matrix , and obtain the attention weight matrix enhanced in the time-frequency domain : ,in, and Represent the indexes in the time and frequency dimensions respectively.

[0066] By introducing time-frequency domain attention, the model can adaptively focus on key time periods and frequency bands in the time-frequency spectrum graph to improve the pertinence of feature extraction.

[0067] In addition to the time-frequency domain attention, channel attention is also introduced to adaptively adjust the importance of different feature channels. Similar to the time-frequency domain attention, the channel descriptor vector is first obtained by global average pooling. : Then, through two fully connected layers and a sigmoid function, the channel attention weight vector is obtained : ,in, are the learning parameters of the fully connected layer.

[0068] Finally, the channel attention weights are applied to the output feature matrix , get the channel enhanced feature matrix : ,in, Represents element-wise multiplication.

[0069] By introducing channel attention, the model can adaptively adjust the importance of different feature channels and improve feature representation capabilities.

[0070] The attention-enhanced SwinTransformer model can more effectively extract aging-related features from digital filter aging test data by introducing time-frequency domain attention and channel attention. In each SwinTransformer block, a preliminary feature representation is first obtained through a multi-head self-attention mechanism, and then the features are optimized and enhanced through time-frequency domain attention and channel attention, and finally a comprehensive and targeted aging feature representation is obtained.

[0071] Specifically, the aging feature extraction process is as follows:

[0072] (1) For each digital filter sample, first extract its amplitude-frequency response curve , impulse response sequence and noise power spectral density As original feature.

[0073] (2) For the amplitude-frequency response curve , directly resize it to a fixed-size matrix ,in and are the number of frequency sampling points and the number of amplitude quantization levels respectively.

[0074] (3) For the impulse response sequence and noise power spectral density First, perform a short-time Fourier transform on it to obtain the time-frequency spectrum and ,in , , , are the corresponding number of time frames and frequency points respectively.

[0075] (4) The amplitude-frequency response matrix , Pulse response spectrum Spectrum diagram of the sum noise power spectrum Stitch together to get a multi-channel time-frequency spectrum As input to SwinTransformer.

[0076] (5) Multi-channel time-frequency spectrum It is fed into the attention-enhanced SwinTransformer model, and after feature extraction and attention enhancement in multiple SwinTransformer blocks, a high-level feature representation is obtained. ,in , and They are the time dimension, frequency dimension and number of channels of the feature map respectively.

[0077] (6) Representation of high-level features Perform global average pooling to obtain a feature vector As an aging characteristic of the digital filter samples.

[0078] (7) The aging feature vectors of all digital filter samples are combined into a feature matrix ,in is the total number of samples, which serves as input for subsequent aging assessment.

[0079] Through the above process, the attention-enhanced SwinTransformer model can be used to automatically extract effective aging features from the original digital filter aging test data.

[0080] The processing process of the aging degree assessment module is as follows:

[0081] After obtaining the aging characteristics of the digital filter samples, it is necessary to evaluate the aging degree based on these characteristics. To this end, firstly select the appropriate aging evaluation index.

[0082] Aging evaluation indicators include amplitude-frequency response deviation , Impulse response decay time , center frequency drift and noise figure wait.

[0083] (1) Amplitude-frequency response deviation The change in the amplitude-frequency response curve of the filter before and after aging can be calculated using the following formula:

[0084] ,in, and Respectively represent the aging time At the time and initial moment, the filter is at the frequency The amplitude response at is the number of frequency sampling points. The larger it is, the more serious the degradation of the filter's amplitude-frequency response is.

[0085] (2) Impulse response decay time The time required for the unit impulse response of the filter to decay from the peak value to a certain threshold value (such as 1 / e of the peak value) can be calculated using the following formula:

[0086] ,in, is the unit impulse response sequence of the filter, is the attenuation threshold (between 0 and 1). The larger it is, the slower the filter's impulse response decays and the lower the degree of aging.

[0087] (3) Center frequency drift The change in the center frequency of the filter before and after aging can be calculated using the following formula:

[0088] ,in, and Respectively represent the aging time The center frequency of the filter at the time and initial time. The larger it is, the more serious the frequency selectivity degradation of the filter is.

[0089] (4) Noise coefficient It represents the ratio of the filter output noise power to the input signal power and can be calculated as follows:

[0090] ,in, is the power spectral density of the input signal. The larger it is, the worse the noise suppression ability of the filter is and the higher the degree of aging is.

[0091] In actual evaluation, one or more of the above indicators can be selected to comprehensively judge the aging degree of the digital filter according to the specific application scenario and aging mechanism.

[0092] After selecting the aging evaluation index, a mapping model is established to transform the aging feature vector of the digital filter sample Mapped to the corresponding aging index value , which may include , , and One or more indicators, without specific restrictions.

[0093] The mapping model may use a regression model, such as linear regression, support vector regression (SVR), or decision tree regression, which is not specifically limited in the present invention.

[0094] If linear regression is used, the linear model can be modeled as follows:

[0095] ,in, and are the regression coefficient vector and the bias term, respectively, which can be learned by minimizing the mean square error loss function:

[0096] ,in, is the number of training samples.

[0097] The mapping model may also use a classification model, such as logistic regression, support vector machine (SVM), decision tree, etc. In this case, the continuous aging index value needs to be Discretized into several levels, such as "mild aging", "moderate aging", "severe aging", etc.

[0098] Taking binary logistic regression as an example, the following model can be used:

[0099] ,in, indicates that the sample belongs to the "aging" class, Indicates that the sample belongs to the "normal" class, is the sigmoid function. The parameters of logistic regression and It can be learned by minimizing the cross entropy loss function:

[0100] .

[0101] When training the aging assessment model, a data set with the real aging index value or aging grade is required. This requires that each digital filter sample be subjected to a long-term aging test during the data collection phase, and its performance changes before and after aging be recorded in order to obtain reliable label data, which is also a difficulty of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0102] Figure 1 The present invention is a structural block diagram of a filter aging test and evaluation system based on artificial intelligence. DETAILED DESCRIPTION

[0103] like Figure 1 As shown, a filter aging test and evaluation system based on artificial intelligence includes a data preprocessing module, an aging feature extraction module, and an aging degree evaluation module. In order to test the effectiveness of the system, we implemented the following embodiments:

[0104] Construct an aging test data set containing L digital filter samples, including FIR filter samples, IIR filter samples, and lattice filter samples. Each filter sample has undergone 1000 hours of accelerated aging test, and its amplitude-frequency response curve, impulse response sequence, and noise power spectral density at 0, 100, 200, ..., 1000 hours are recorded.

[0105] 80% of the samples are randomly selected as the training set, 10% of the samples are selected as the validation set, and the remaining 10% of the samples are selected as the test set. On the training set and the validation set, the data enhancement module is used to expand the number of samples to M times the original number.

[0106] In order to comprehensively evaluate the method proposed in this invention, the following four evaluation indicators are selected:

[0107] (1) Mean square error (MSE) of aging degree prediction:

[0108] ,in, and Respectively represent The actual aging index value and predicted value of the test samples, is the number of test samples. The smaller the MSE, the more accurate the prediction result.

[0109] (2) Mean absolute error (MAE) of aging degree prediction:

[0110] , MAE is also a measure of prediction accuracy, but it is less sensitive to outliers than MSE.

[0111] (3) Accuracy of aging classification:

[0112] ,in, is the indicative function, when It takes 1 when the prediction is correct, otherwise it takes 0. Accuracy indicates the proportion of correctly predicted samples to the total samples.

[0113] (4) F1 score of aging grade classification: , where Precision represents the proportion of samples predicted as positive that are actually positive, and Recall represents the proportion of samples predicted as positive that are actually positive. The F1 score takes Precision and Recall into account and is a balanced classification performance metric.

[0114] In the regression task, MSE and MAE are used to evaluate the prediction performance; in the classification task, Accuracy and F1 score are used to evaluate the classification performance.

[0115] First, the effectiveness of the time-frequency domain attention mechanism and the channel attention mechanism are analyzed through ablation experiments. Three models are trained respectively: the basic SwinTransformer model (Baseline), the SwinTransformer model with time-frequency domain attention (Baseline+TAA), and the SwinTransformer model with time-frequency domain and channel attention (Baseline+TAA+CA, i.e., the complete model proposed in this invention). Table 1 shows the performance comparison of the three models on the aging degree regression task.

[0116] Table 1 Performance comparison of different models on aging degree regression task

[0117]

[0118] As can be seen from Table 1, after the introduction of the time-frequency domain attention mechanism, the prediction error of the model is significantly reduced, with MSE reduced from 0.0524 to 0.0385 and MAE reduced from 0.1638 to 0.1294, indicating that the time-frequency domain attention mechanism can help the model better focus on the key time-frequency components related to aging. After further introducing the channel attention mechanism, the prediction error of the model is further reduced, with MSE reduced to 0.0317 and MAE reduced to 0.1158, indicating that the channel attention mechanism can help the model adaptively adjust the importance of different feature channels, thereby obtaining a more accurate representation of aging features.

[0119] Next, the performance of the proposed method is compared with several traditional digital filter aging test evaluation methods, including the method based on the amplitude-frequency response correlation coefficient (AMFCC), the method based on the impulse response peak time (PIPT), and the method based on the noise power spectral density (NPSD). Table 2 shows the performance comparison of different methods on the aging degree regression task, and Table 3 shows the performance comparison of different methods on the aging grade classification task.

[0120] Table 2 Performance comparison of different methods on aging degree regression task

[0121]

[0122] Table 3 Performance comparison of different methods on aging grade classification task

[0123]

[0124] It can be seen from Table 2 and Table 3 that the SwinTransformer method based on attention enhancement proposed in this invention has achieved the best performance in both regression and classification tasks, surpassing several other traditional methods. This is attributed to the following three points:

[0125] (1) The present invention comprehensively utilizes multiple information sources such as amplitude-frequency response, impulse response and noise power spectrum density, while traditional methods often only utilize one of the information sources. Therefore, the present invention can obtain a more comprehensive and robust aging feature representation.

[0126] (2) The present invention introduces an advanced attention mechanism that can adaptively focus on the key components in different information sources and suppress the interference of noise and redundant components, thereby obtaining more targeted and discriminative aging features.

[0127] (3) The present invention uses the powerful SwinTransformer as a feature extractor, which can automatically learn the hierarchical and long-range dependency features in the input data, overcoming the limitation of traditional methods that rely on manual features.

[0128] In general, the method proposed in this paper not only makes full use of multi-source heterogeneous data, but also introduces advanced attention mechanism and feature learning model, thus achieving significant performance improvement in digital filter aging test evaluation tasks. This provides a new and effective way for reliability analysis and life prediction of digital filters in engineering practice.

[0129] In this invention, there are several key parameters that affect the performance of the model, including the number of stacked blocks of SwinTransformer , Number of attention heads , hidden layer dimension , Window Size and shift step length In order to find the optimal parameter combination, a grid search was performed on the validation set. Table 4 shows the performance comparison of the model on the aging degree regression task under different parameter settings.

[0130] Table 4 Performance comparison of models on aging degree regression task under different parameter settings

[0131]

[0132] As can be seen from Table 4, increasing the number of stacked blocks of SwinTransformer , Number of attention heads and the hidden layer dimensions It can improve the performance of the model, but when , , When the window size is increased, the performance improvement of the model becomes less obvious, indicating that the model capacity has reached saturation. and shift step length Can capture longer-range dependencies, but is too large and This will significantly increase the computational complexity. Considering performance and efficiency, we finally chose , , , , As the optimal parameter combination. Under this parameter setting, the present invention achieves an MSE of 0.0317 and a MAE of 0.1158 in the aging degree regression task, and an Accuracy of 0.8530 and an F1 score of 0.8428 in the aging grade classification task.

[0133] The time and space complexity of the proposed method are compared with several traditional methods. The time-frequency spectrum diagram of SwinTransformer is , the space complexity is ,in is the hidden layer dimension. In comparison, the computational complexity of the amplitude-frequency response correlation coefficient method, the impulse response peak time method, and the noise power spectrum density method are all , the space complexity is It can be seen that the computational and storage overhead of the present invention is higher than that of the traditional method, but this is mainly due to the introduction of a more complex attention mechanism and feature learning model. Considering the significant performance improvement of the present invention on the aging test evaluation task, this increase in overhead is acceptable.

[0134] On the other hand, thanks to the hierarchical and localized design of SwinTransformer, the computation and storage overhead of the present invention is much lower than that of the standard Transformer model. Table 5 gives a comparison of the training time and model parameter quantity of different methods on the aging degree regression task.

[0135] Table 5 Training time and model parameter quantity of different methods on aging degree regression task

[0136]

[0137] As can be seen from Table 5, the training time and number of parameters of the standard Transformer model are much higher than those of other methods, which places very high demands on hardware and limits its application in practical engineering. The attention-enhanced SwinTransformer method proposed in this invention significantly reduces the computational and storage overhead while still achieving good aging assessment performance, which has practical value.

[0138] The beneficial effects of the present invention are as follows:

[0139] (1) It can effectively integrate multi-source heterogeneous data such as amplitude-frequency response, impulse response and noise power spectrum to comprehensively characterize the aging and degradation characteristics of digital filters.

[0140] (2) Use the attention mechanism to adaptively focus on key feature components, suppress the interference of noise and redundant information, and improve the accuracy of aging assessment.

[0141] (3) The attention-enhanced SwinTransformer is used to automatically learn the hierarchical and long-range dependency features in the data, overcoming the limitations of traditional methods that rely on manual features.

[0142] (4) Through localized and hierarchical design, the computational and storage overheads are significantly reduced, which has practical engineering value.

Claims

1. A filter aging test and evaluation system based on artificial intelligence, It is characterized in that The system includes a data preprocessing module, an aging feature extraction module, and an aging degree assessment module; The data preprocessing module includes acquiring original data and preprocessing the original data; The aging feature extraction module uses the attention-enhanced SwinTransformer model to extract filter aging features, specifically: (1) For each digital filter sample, first extract its amplitude-frequency response curve , impulse response sequence and noise power spectral density As a primitive feature; (2) For the amplitude-frequency response curve , directly set it to a fixed-size matrix ,in and are the number of frequency sampling points and the number of amplitude quantization levels respectively; (3) For the impulse response sequence and noise power spectral density First, perform a short-time Fourier transform on it to obtain the time-frequency spectrum and ,in , , , are the corresponding number of time frames and frequency points, respectively; (4) The amplitude-frequency response matrix , Pulse response spectrum Spectrum diagram of the sum noise power spectrum Stitch together to get a multi-channel time-frequency spectrum As input to SwinTransformer; (5) Multi-channel time-frequency spectrum It is fed into the attention-enhanced SwinTransformer model, and after feature extraction and attention enhancement in multiple SwinTransformer blocks, a high-level feature representation is obtained. ,in , and They are the time dimension, frequency dimension and number of channels of the feature map respectively; (6) Representation of high-level features Perform global average pooling to obtain a feature vector As an aging characteristic of digital filter samples; (7) The aging feature vectors of all digital filter samples are combined into a feature matrix ,in is the total number of samples, which serves as input for subsequent aging assessment; The aging degree evaluation module uses a regression model or a classification model to evaluate the aging degree of the filter.

2. The system according to claim 1, It is characterized in that Filters include FIR, IIR, and lattice filters.

3. The system according to claim 1, It is characterized in that The original data includes: (1) Amplitude-frequency response curve: record the filter at different frequencies Gain under and Phase Characteristics, for digital filters, the frequency response is obtained by taking get: , , , is the unit impulse response sequence of the filter, is the filter order; (2) Zero-pole distribution diagram: records the zero points of the filter system function and pole Distribution in the complex plane; (3) Pulse response sequence: records the filter's response to a unit pulse signal The response sequence ; (4) Noise power spectral density: Record filter output noise The power spectral density According to the Wiener-Schinchin theorem, the power spectral density of the output noise is equal to the input noise The power spectral density is: .

4. The system according to claim 1, It is characterized in that The preprocessing of the raw data includes: normalizing each performance parameter and mapping it to the range of [0, 1]. For the amplitude-frequency response curve, the following normalization formula is used: ,in For frequency The gain under and are the minimum and maximum gain values ​​in all samples respectively, For the zero-pole distribution diagram, the complex plane is mapped to a square area of ​​[-1, 1] × [-1, 1], and the zero poles outside the unit circle are moved to the boundary of the unit circle; For the impulse response sequence and noise power spectrum density, the following normalization formulas are used respectively: , , in, , , and are the minimum and maximum values ​​of the corresponding parameters in all samples, respectively. The original data is smoothed and the moving average is used to remove the influence of measurement noise. For the time domain series , the output of the moving average filter for: ,in, is the length of the sliding window.

5. The system according to claim 3, It is characterized in that The aging degree assessment module adopts a linear regression model.

6. The system according to claim 3, It is characterized in that The aging degree assessment module adopts the SVM model.

7. A system according to any one of claims 5 to 6, It is characterized in that The aging evaluation index adopted by the aging degree evaluation module includes the amplitude-frequency response deviation , Impulse response decay time , center frequency drift and noise figure ,in, ,in, and Respectively represent the aging time At the time and initial moment, the filter is at the frequency The amplitude response at is the number of frequency sampling points; ,in, is the unit impulse response sequence of the filter, is the attenuation threshold; ,in, and Respectively represent the aging time The center frequency of the filter at the time and initial moment; ,in, is the power spectral density of the input signal.