A high frequency transformer testing method, device, terminal equipment and storage medium
Through fast Fourier transform and multi-scale wavelet decomposition technology, combined with deep analysis model, the problem of relying on artificial judgment in the deep harmonic information analysis of high-frequency transformers is solved, and efficient and accurate harmonic identification and fault prevention are achieved.
Patent Information
- Application Number
- CN202410520354.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-04-28
- Publication Date
- 2024-11-19
- Estimated Expiration
- 2044-04-28
AI Technical Summary
The prior art has limitations that rely on human judgment in the analysis of deep harmonic information of high-frequency transformers, making it difficult to fully understand and evaluate the impact of harmonics.
Fast Fourier transform and multi-scale wavelet decomposition technology are used to extract the harmonic components output by high-frequency transformers, and the feature matrix is constructed through the deep analysis model to accurately extract the transient harmonic information.
It improves the accuracy and efficiency of harmonic recognition, avoids the limitations of artificial judgment, and enhances the in-depth understanding of transient phenomena in the power system and the ability to prevent faults.
Smart Images

Figure CN118444019B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of data identification, and in particular relates to a testing method, device, terminal equipment and storage medium for a high-frequency transformer. Background Art
[0002] A high-frequency transformer is a transformer that can operate at high frequencies. Ordinary transformers are mainly used in power systems, and the operating frequency is usually 50Hz or 60Hz, while high-frequency transformers are designed for a higher frequency range, usually between a few kHz and a few MHz. High-frequency transformers play a key role in electronic equipment, and their main uses include voltage conversion, isolation, signal transmission, and power management. They are particularly suitable for high-frequency environments, such as switching power supplies, electronic communication equipment, medical instruments, etc.
[0003] During the design, improvement and innovation phase of high-frequency transformers, it is often necessary to test the harmonics of high-frequency transformers in order to fully understand and evaluate the performance of high-frequency transformers in actual applications, and then make adjustments and optimizations. Harmonic analysis of high-frequency transformers is very important for evaluating the electromagnetic compatibility (EMC) of transformers, because harmonics can affect the quality of the power system and the normal operation of equipment.
[0004] In traditional harmonic analysis, the analysis of deep harmonic information (such as transient harmonics or interactive harmonics) often relies on human judgment and has certain limitations. This is a technical problem that needs to be solved urgently. Summary of the invention
[0005] In view of this, the embodiments of the present invention provide a testing method, apparatus, terminal device and storage medium for a high-frequency transformer to solve the technical problem that the analysis of deep harmonic information often needs to rely on human judgment and has certain limitations.
[0006] A first aspect of an embodiment of the present invention provides a method for testing a high-frequency transformer, the method comprising:
[0007] Collect the original waveform data output by the high-frequency transformer in the test circuit;
[0008] Performing a fast Fourier transform on the original waveform data to obtain waveform data to be identified;
[0009] Based on a plurality of preset scales, the waveform data to be identified is subjected to wavelet decomposition to obtain wavelet coefficients corresponding to the waveform data to be identified; the plurality of preset scales represent a plurality of frequency bands in the waveform data to be identified;
[0010] Extracting harmonic components according to the wavelet coefficients; the harmonic components include harmonic time and harmonic intensity;
[0011] Constructing the wavelet coefficients into a coefficient matrix;
[0012] Inputting the coefficient matrix into a depth analysis model to obtain a feature matrix output by the depth analysis model;
[0013] The deep harmonic information of the original waveform data is extracted from the feature matrix; the deep harmonic information includes transient harmonics.
[0014] Furthermore, the step of performing wavelet decomposition on the waveform data to be identified based on multiple preset scales to obtain wavelet coefficients corresponding to the waveform data to be identified includes:
[0015] Get the preset wavelet function;
[0016] The wavelet function is used to perform multi-scale wavelet decomposition on the waveform data to be identified, so as to obtain wavelet coefficients corresponding to the waveform data to be identified.
[0017] Furthermore, the step of performing multi-scale wavelet decomposition on the waveform data to be identified by using the wavelet function to obtain wavelet coefficients corresponding to the waveform data to be identified includes:
[0018] Substituting the waveform data to be identified into the following wavelet function to obtain the wavelet coefficients corresponding to the waveform data to be identified;
[0019] The wavelet function is as follows:
[0020] ψ TR (t)=A(t)·ψ(B(t)·(t-t0))·e i·φ(t)
[0021] A(t)=1+αsin(ω a t+θ a )
[0022] B(t)=β+γcos(ω b t+θ b )
[0023]
[0024] Among them, ψ TR (t) represents the wavelet function, t represents the waveform data to be identified, A(t) represents the amplitude modulation function with respect to time, which is used to adjust the local energy distribution of the wavelet function, B(t) represents the frequency modulation function with respect to time, which is used to dynamically adjust the scale of the wavelet function, represents the phase modulation function, which is used to increase the phase sensitivity of the wavelet function, t0 represents the center position of the wavelet function, which is used to translate the wavelet function to match the local characteristics of the signal, i represents the imaginary unit, α represents the depth of amplitude modulation, ω a represents the frequency of amplitude modulation, θ a represents the phase shift of amplitude modulation, β represents the baseline scaling of frequency modulation, γ represents the modulation depth of frequency modulation, and ω b represents the frequency of frequency modulation, θ b represents the phase shift of frequency modulation, δ represents the linear growth rate of phase modulation, ε represents the modulation depth of phase modulation, represents the frequency of phase modulation, Indicates the phase shift of phase modulation.
[0025] Furthermore, the step of constructing the wavelet coefficients into a coefficient matrix includes:
[0026] Obtaining a set of wavelet coefficients corresponding to each of the preset scales;
[0027] The magnitude relationship of different preset scales is taken as a sequence, and each of the wavelet coefficient sets is respectively assigned a column of data in the coefficient matrix to obtain the coefficient matrix.
[0028] Furthermore, the network structure in the deep analysis model includes a frequency feature extraction layer, a time series feature extraction layer and a fusion feature extraction layer;
[0029] The step of inputting the coefficient matrix into the depth analysis model to obtain the feature matrix output by the depth analysis model comprises:
[0030] Inputting the coefficient matrix into the frequency feature extraction layer to obtain first feature data;
[0031] Inputting the coefficient matrix into the temporal feature extraction layer to obtain second feature data;
[0032] The first feature data and the second feature data are input into a fusion feature extraction layer to obtain the feature matrix.
[0033] Furthermore, the step of extracting the deep harmonic information of the original waveform data in the feature matrix includes:
[0034] Multiplying the feature data by the conversion vector to obtain a target vector;
[0035] The effective value in the target vector is extracted to obtain the frequency of the transient harmonic.
[0036] Furthermore, the step of extracting harmonic components according to the wavelet coefficients includes:
[0037] Obtain the peak value in the wavelet coefficient corresponding to each preset scale;
[0038] Obtaining harmonic time according to the coefficient position of the peak value;
[0039] The harmonic intensity is obtained according to the numerical value of the peak value.
[0040] A second aspect of an embodiment of the present invention provides a testing device for a high-frequency transformer, comprising:
[0041] An acquisition unit, used for acquiring original waveform data output by the high-frequency transformer in the test circuit;
[0042] A transform unit, used for performing a fast Fourier transform on the original waveform data to obtain waveform data to be identified;
[0043] A decomposition unit, configured to perform wavelet decomposition on the waveform data to be identified based on a plurality of preset scales to obtain wavelet coefficients corresponding to the waveform data to be identified; the plurality of preset scales represent a plurality of frequency bands in the waveform data to be identified;
[0044] A calculation unit, used for extracting harmonic components according to the wavelet coefficients; the harmonic components include harmonic time and harmonic intensity;
[0045] A construction unit, used for constructing the wavelet coefficients into a coefficient matrix;
[0046] An analysis unit, used for inputting the coefficient matrix into a deep analysis model to obtain a feature matrix output by the deep analysis model;
[0047] An extraction unit is used to extract deep harmonic information of original waveform data from the feature matrix; the deep harmonic information includes transient harmonics.
[0048] A third aspect of an embodiment of the present invention provides a terminal device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method described in the first aspect when executing the computer program.
[0049] A fourth aspect of an embodiment of the present invention provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.
[0050] Compared with the prior art, the embodiments of the present invention have the following beneficial effects: the original waveform data is processed by fast Fourier transform (FFT), and the time domain signal is effectively converted into the frequency domain signal, which is convenient for subsequent frequency component analysis and identification. Wavelet decomposition based on multiple preset scales is adopted to perform detailed analysis on the harmonic components of different frequency bands. This decomposition method can better capture the dynamic changes of transient harmonics and enhance the resolution and sensitivity of harmonic identification. By analyzing the wavelet coefficients, the time and intensity information of the harmonics are accurately extracted, providing reliable parameters for the quantitative analysis and evaluation of harmonics. The coefficient matrix constructed by the wavelet coefficients is input into the deep analysis model, and the deep learning ability of the model is used to further explore and identify the deep harmonic features, thereby improving the depth and accuracy of the analysis. The deep harmonic information of the original waveform data is extracted from the feature matrix output by the deep analysis model, which realizes the in-depth understanding and identification of transient phenomena in the power system, and is helpful for fault prevention. This technical solution not only improves the accuracy and efficiency of transient harmonic identification, but also further expands the depth of harmonic analysis through the deep learning model, provides strong technical support for the analysis and optimization of high-frequency transformers, and avoids the limitations of human judgment. BRIEF DESCRIPTION OF THE DRAWINGS
[0051] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required for use in the embodiments or related technical descriptions are 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 creative work.
[0052] Figure 1 A schematic flow chart of a high-frequency transformer testing method provided by the present invention is shown;
[0053] Figure 2 A schematic diagram of a high-frequency transformer testing device provided by an embodiment of the present invention is shown;
[0054] Figure 3 A schematic diagram of a terminal device provided by an embodiment of the present invention is shown. DETAILED DESCRIPTION
[0055] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present invention. However, it should be clear to those skilled in the art that the present invention may be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present invention.
[0056] The embodiments of the present invention provide a testing method, apparatus, terminal device and storage medium for a high-frequency transformer to solve the technical problem that the analysis of deep harmonic information often needs to rely on human judgment and has certain limitations.
[0057] First, the present invention provides a method for testing a high-frequency transformer. Figure 1 , Figure 1 FIG. 1 is a schematic flow chart of a method for testing a high-frequency transformer provided by the present invention. Figure 1 As shown, the testing method of the high-frequency transformer may include the following steps:
[0058] Step 101: collecting original waveform data output by a high-frequency transformer in a test circuit;
[0059] The high-frequency transformer is connected to a test circuit, and the test circuit collects original waveform data (voltage waveform data or current waveform data) output by the high-frequency transformer.
[0060] Step 102: Performing a fast Fourier transform on the original waveform data to obtain waveform data to be identified;
[0061] Fast Fourier transform is used to convert the original waveform data from the time domain to the frequency domain. In the frequency domain, the original waveform data can be expressed as components of different frequencies, which is very helpful for analyzing the characteristics of the original waveform data.
[0062] Step 103: performing wavelet decomposition on the waveform data to be identified based on a plurality of preset scales to obtain wavelet coefficients corresponding to the waveform data to be identified; the plurality of preset scales represent a plurality of frequency bands in the waveform data to be identified;
[0063] The frequency components present in the signal are identified by observing the distribution of wavelet coefficients at different preset scales. This method takes advantage of the ability of wavelet transform, which is to analyze the signal locally at different time and frequency scales. The waveform data is processed through wavelet transform, which converts the original signal into a series of wavelet coefficients, which represent the information of the signal at different scales (frequency) and positions (time).
[0064] However, it is critical to select a wavelet function that matches the characteristics of the waveform data. Different wavelet functions have different sensitivities to the local characteristics of the waveform data. Therefore, it is important to select a wavelet function that can effectively capture the frequency components of interest in the waveform data. This embodiment provides a new wavelet function based on the characteristics of the high-frequency transformer, which is used to calculate the wavelet coefficients corresponding to the waveform data to be identified. The specific logic is as follows:
[0065] Specifically, step 103 specifically includes step 1031 to step 1032:
[0066] Step 1031: Obtain a preset wavelet function;
[0067] Step 1032: Perform multi-scale wavelet decomposition on the waveform data to be identified by using the wavelet function to obtain wavelet coefficients corresponding to the waveform data to be identified.
[0068] Specifically, step 1032 specifically includes:
[0069] Substituting the waveform data to be identified into the following wavelet function to obtain the wavelet coefficients corresponding to the waveform data to be identified;
[0070] The wavelet function is as follows:
[0071] ψ TR (t)=A(t)·ψ(B(t)·(t-t0))·e i·φ(t)
[0072] A(t)=1+αsin(ω a t+θ a )
[0073] B(t)=β+γcos(ω b t+θ b )
[0074]
[0075] Among them, ψ TR (t) represents the wavelet function, t represents the waveform data to be identified, A(t) represents the amplitude modulation function with respect to time, which is used to adjust the local energy distribution of the wavelet function, B(t) represents the frequency modulation function with respect to time, which is used to dynamically adjust the scale of the wavelet function, represents the phase modulation function, which is used to increase the phase sensitivity of the wavelet function, t0 represents the center position of the wavelet function, which is used to translate the wavelet function to match the local characteristics of the signal, i represents the imaginary unit, α represents the depth of amplitude modulation, ω a represents the frequency of amplitude modulation, θ a represents the phase shift of amplitude modulation, β represents the baseline scaling of frequency modulation, γ represents the modulation depth of frequency modulation, and ω b represents the frequency of frequency modulation, θ b represents the phase shift of frequency modulation, δ represents the linear growth rate of phase modulation, ε represents the modulation depth of phase modulation, represents the frequency of phase modulation, Indicates the phase shift of phase modulation.
[0076] It is worth noting that in order to design a wavelet function that meets the needs of harmonic analysis of high-frequency transformers, it is necessary to adapt to the output waveform characteristics of high-frequency transformers. This wavelet function should be able to flexibly deal with harmonics and nonlinear effects at different frequency scales, while having good time-frequency localization characteristics. Taking these requirements into account, this embodiment constructs a composite wavelet function containing adjustable parameters that allow the function to adaptively match and analyze specific signal features. Among them, A(t) is an amplitude modulation function with respect to time, which is used to adjust the local energy distribution of the wavelet function to correspond to the requirements of energy focusing. B(t) is a frequency modulation function with respect to time, which is used to dynamically adjust the scale of the wavelet function to adapt to the frequency changes of the signal at different time points. is a phase modulation function used to increase the phase sensitivity of the wavelet function to better capture the phase changes and nonlinear characteristics of the signal. t0 is the center position of the wavelet function, which is used to translate the wavelet function to match the local characteristics of the signal. i is an imaginary unit, which makes the wavelet function have a complex form to more comprehensively analyze the characteristics of the signal. The wavelet function design takes into account the dynamic characteristics of the signal, allowing the wavelet function to be adaptively adjusted during the analysis process, thereby more effectively processing the output waveform of the high-frequency transformer.
[0077] In this embodiment, through multi-scale wavelet decomposition, different scales can be selected for analysis according to different analysis requirements, which improves the flexibility and adaptability of waveform data analysis. The wavelet coefficients obtained by wavelet decomposition can more accurately reflect the characteristics of the waveform data to be identified, including local changes and detail information of the signal, thereby enhancing the ability to capture signal features. By performing wavelet decomposition through a preset wavelet function, efficient data processing can be directly performed on the characteristics of the target signal, reducing unnecessary calculations, thereby improving the efficiency of data processing. The multi-scale wavelet decomposition method can perform detailed analysis of waveform data at different levels, helping to better understand and interpret data, thereby enhancing the accuracy and reliability of waveform data analysis. In summary, this technical solution not only greatly improves the efficiency and accuracy of data processing by obtaining a preset wavelet function and performing multi-scale wavelet decomposition on the waveform data to be identified, but also greatly enhances the ability to capture signal features, providing strong data support for the in-depth analysis and application of waveform data.
[0078] Step 104: extracting harmonic components according to the wavelet coefficients; the harmonic components include harmonic time and harmonic intensity;
[0079] Harmonic components include, but are not limited to, harmonic time, harmonic intensity, and other information or a combination of multiple information.
[0080] Specifically, step 104 includes steps 1041 to 1043:
[0081] Step 1041: Obtain the peak value of the wavelet coefficient corresponding to each preset scale;
[0082] Step 1042: Obtaining harmonic time according to the coefficient position of the peak value;
[0083] Step 1043: Obtain harmonic intensity according to the numerical value of the peak value.
[0084] In this embodiment, by analyzing the wavelet coefficients of each preset scale, the peak information is accurately obtained. This step is the basis of the entire technical process, because the peak represents the most significant characteristic part of the signal, corresponding to the significance and intensity of the harmonic component. Then, the scheme uses the coefficient position of the obtained peak to determine the time position of the harmonic. This step is crucial for harmonic analysis, because it can not only tell us the specific time point when the harmonic occurs, but also help understand the distribution of the signal on the time axis. This is of great significance for subsequent signal processing and analysis, especially when it is necessary to track waveform changes or perform dynamic analysis. Finally, the scheme estimates the harmonic intensity by analyzing the numerical value of the peak. This step enables the technical solution to not only identify the harmonic components in the signal, but also quantify the intensity of these components, providing a quantitative basis for further signal processing and analysis. The information on harmonic intensity is very important for judging the characteristics of the signal and performing quality assessment. In general, this technical solution provides an effective method that can not only accurately extract harmonic components from wavelet coefficients, but also provide detailed information about these components (including time position and intensity).
[0085] Step 105: construct the wavelet coefficients into a coefficient matrix;
[0086] Specifically, step 105 specifically includes step 1051 to step 1052:
[0087] Step 1051: Obtain a set of wavelet coefficients corresponding to each of the preset scales;
[0088] Step 1052: Taking the size relationship of different preset scales as the order of precedence, each of the wavelet coefficient sets is respectively a column of data in the coefficient matrix to obtain the coefficient matrix.
[0089] In this embodiment, by converting the wavelet coefficient set into a coefficient matrix, the technical solution effectively encodes the spatial distribution and relative size information of these coefficients into a matrix structure. This conversion not only facilitates subsequent processing, but also maintains the key features of the original data, improving the efficiency and accuracy of data processing. During the conversion process, by maintaining the order of wavelet coefficients of different scales, the scheme can better preserve the multi-scale information of the original signal or image, which is crucial for understanding and analyzing the different frequency components of the signal. This method optimizes the retention of information and helps to improve the performance of subsequent analysis or processing tasks. Arranging the wavelet coefficient set into a coefficient matrix can directly use this structured data form for feature extraction and analysis, thereby improving the flexibility and versatility of the processing method.
[0090] Step 106: input the coefficient matrix into the depth analysis model to obtain a feature matrix output by the depth analysis model;
[0091] The network structure in the deep analysis model includes but is not limited to the frequency feature extraction layer, the time series feature extraction layer, and the fusion feature extraction layer. The specific processing logic of the deep analysis model is as follows:
[0092] Specifically, step 106 specifically includes steps 1061 to 1063:
[0093] Step 1061: input the coefficient matrix into the frequency feature extraction layer to obtain first feature data;
[0094] Step 1062: input the coefficient matrix into the temporal feature extraction layer to obtain second feature data;
[0095] Step 1063: Input the first feature data and the second feature data into a fusion feature extraction layer to obtain the feature matrix.
[0096] In this embodiment, through an innovative deep analysis model architecture, frequency and time series features are effectively extracted and fused from the coefficient matrix, greatly enriching the information content of the feature matrix. Specifically, the scheme adopts a frequency feature extraction layer, which can extract the first feature data reflecting the frequency distribution characteristics from the input coefficient matrix; then, through a time series feature extraction layer, the second feature data reflecting the time series change law is extracted from the same input matrix. These two feature data each reveal different intrinsic properties and laws of the coefficient matrix. Thereafter, the fusion feature extraction layer in the scheme efficiently integrates the above two feature data to generate a feature matrix. This fusion not only retains the richness and complexity of the original data, but also increases the diversity and dimension of the features, providing a more comprehensive and accurate data basis for subsequent deep analysis. The fused feature matrix can more comprehensively reflect the essential attributes of the data, which helps to improve the accuracy of subsequent analysis. The comprehensive features extracted by the scheme have strong representativeness and generalization capabilities, so that the model can maintain high recognition and analysis efficiency when facing different types of data. This technical framework supports the customization and optimization of the extraction layer, and can adjust the feature extraction strategy according to different application scenarios to adapt to the changing analysis needs.
[0097] Step 107: extracting deep harmonic information of the original waveform data from the feature matrix; the deep harmonic information includes transient harmonics.
[0098] The deep harmonic information includes but is not limited to transient harmonics or interactive harmonics, etc. Different deep harmonic information requires different deep analysis models, which can be designed based on actual needs.
[0099] Transient harmonics generally refer to the short-term response of the power system to an unexpected event. These effects appear as sharp changes in voltage and current, with durations ranging from microseconds to several seconds. The purpose of analyzing transient effects is to evaluate the impact of unexpected events on system stability, equipment safety, and operating performance. Transient analysis helps design appropriate protection measures to prevent equipment damage and ensure personnel safety.
[0100] Interaction harmonics can cause voltage and current distortion, affecting the overall power quality of the power system. By accurately analyzing these harmonic components and their interactions, the specific causes of power quality problems can be identified and appropriate measures (such as installing harmonic filters or optimizing system configuration) can be taken to reduce these distortions.
[0101] The specific logic for extracting deep harmonic information is as follows:
[0102] Specifically, step 107 specifically includes step 1071 to step 1072:
[0103] Step 1071: multiplying the feature data by the conversion vector to obtain a target vector;
[0104] Step 1072: Extract the effective value in the target vector to obtain the frequency of the transient harmonic.
[0105] Through the product operation of the feature matrix and the conversion vector, the deep harmonic information in the original waveform data can be effectively extracted. This processing process first uses the product operation of the conversion vector and the feature data to convert it into a target vector. The key to this step is to be able to map the complex harmonic information contained in the original waveform data to the target vector through mathematical transformation. Subsequently, by extracting the effective value in the target vector, the frequency information of the transient harmonic can be obtained.
[0106] In this embodiment, transient harmonic frequencies can be more accurately identified and extracted, especially in complex signal environments, and high-precision extraction effects can be maintained, thereby providing more accurate basic data for subsequent signal analysis and processing. This solution uses matrix operations to optimize the data processing process, and can complete the extraction of harmonic information faster than traditional methods, greatly improving the speed and efficiency of data processing.
[0107] In this embodiment, the original waveform data is processed by fast Fourier transform (FFT), and the time domain signal is effectively converted into a frequency domain signal, which is convenient for subsequent frequency component analysis and identification. Wavelet decomposition based on multiple preset scales is used to perform detailed analysis on harmonic components of different frequency bands. This decomposition method can better capture the dynamic changes of transient harmonics and enhance the resolution and sensitivity of harmonic identification. By analyzing the wavelet coefficients, the time and intensity information of the harmonics are accurately extracted, providing reliable parameters for the quantitative analysis and evaluation of harmonics. The coefficient matrix constructed by the wavelet coefficients is input into the deep analysis model, and the deep learning ability of the model is used to further explore and identify the deep harmonic features, thereby improving the depth and accuracy of the analysis. The deep harmonic information of the original waveform data is extracted from the feature matrix output by the deep analysis model, which realizes the in-depth understanding and identification of transient phenomena in the power system, and is helpful for fault prevention. This technical solution not only improves the accuracy and efficiency of transient harmonic identification, but also further expands the depth of harmonic analysis through the deep learning model, provides strong technical support for the analysis and optimization of high-frequency transformers, and avoids the limitations of human judgment.
[0108] like Figure 2 The present invention provides a high frequency transformer testing device 2, see Figure 2 , Figure 2 A schematic diagram of a high-frequency transformer testing device provided by the present invention is shown. Figure 2 A test device for a high-frequency transformer includes:
[0109] The acquisition unit 21 is used to acquire the original waveform data output by the high-frequency transformer in the test circuit;
[0110] A transform unit 22, used for performing a fast Fourier transform on the original waveform data to obtain waveform data to be identified;
[0111] A decomposition unit 23, configured to perform wavelet decomposition on the waveform data to be identified based on a plurality of preset scales to obtain wavelet coefficients corresponding to the waveform data to be identified; the plurality of preset scales represent a plurality of frequency bands in the waveform data to be identified;
[0112] A calculation unit 24 is used to extract harmonic components according to the wavelet coefficients; the harmonic components include harmonic time and harmonic intensity;
[0113] A construction unit 25, configured to construct the wavelet coefficients into a coefficient matrix;
[0114] An analysis unit 26, configured to input the coefficient matrix into a depth analysis model to obtain a feature matrix output by the depth analysis model;
[0115] The extraction unit 27 is used to extract the deep harmonic information of the original waveform data from the feature matrix; the deep harmonic information includes transient harmonics.
[0116] The present invention provides a test device for a high-frequency transformer. The device uses a fast Fourier transform (FFT) to process the original waveform data, effectively converts the time domain signal into a frequency domain signal, and is convenient for subsequent frequency component analysis and identification. Wavelet decomposition based on multiple preset scales is used to perform detailed analysis on harmonic components of different frequency bands. This decomposition method can better capture the dynamic changes of transient harmonics and enhance the resolution and sensitivity of harmonic identification. By analyzing the wavelet coefficients, the time and intensity information of the harmonics are accurately extracted, providing reliable parameters for the quantitative analysis and evaluation of harmonics. The coefficient matrix constructed by the wavelet coefficients is input into the deep analysis model, and the deep learning ability of the model is used to further explore and identify the deep harmonic features, thereby improving the depth and accuracy of the analysis. The deep harmonic information of the original waveform data is extracted from the feature matrix output by the deep analysis model, which realizes the in-depth understanding and identification of transient phenomena in the power system, and is helpful for fault prevention. The technical solution not only improves the accuracy and efficiency of transient harmonic identification, but also further expands the depth of harmonic analysis through the deep learning model, provides strong technical support for the analysis and optimization of high-frequency transformers, and avoids the limitations of human judgment.
[0117] Figure 3 Schematic diagram of a terminal device provided by an embodiment of the present invention. Figure 3As shown, a terminal device 3 of this embodiment includes: a processor 30, a memory 31, and a computer program 32 stored in the memory 31 and executable on the processor 30, such as a program for testing a high-frequency transformer. When the processor 30 executes the computer program 32, the steps in each of the above-mentioned embodiments of the method for testing a high-frequency transformer are implemented, such as Figure 1 Alternatively, when the processor 30 executes the computer program 32, the functions of each unit in the above-mentioned device embodiments are realized, for example, Figure 2 The functions of units 21 to 27 are shown.
[0118] Exemplarily, the computer program 32 may be divided into one or more units, which are stored in the memory 31 and executed by the processor 30 to complete the present invention. The one or more units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program 32 in the terminal device 3. For example, the computer program 32 may be divided into the following specific functions of each unit:
[0119] An acquisition unit, used for acquiring original waveform data output by the high-frequency transformer in the test circuit;
[0120] A transform unit, used for performing a fast Fourier transform on the original waveform data to obtain waveform data to be identified;
[0121] A decomposition unit, configured to perform wavelet decomposition on the waveform data to be identified based on a plurality of preset scales to obtain wavelet coefficients corresponding to the waveform data to be identified; the plurality of preset scales represent a plurality of frequency bands in the waveform data to be identified;
[0122] A calculation unit, used for extracting harmonic components according to the wavelet coefficients; the harmonic components include harmonic time and harmonic intensity;
[0123] A construction unit, used for constructing the wavelet coefficients into a coefficient matrix;
[0124] An analysis unit, used for inputting the coefficient matrix into a deep analysis model to obtain a feature matrix output by the deep analysis model;
[0125] An extraction unit is used to extract deep harmonic information of original waveform data from the feature matrix; the deep harmonic information includes transient harmonics.
[0126] The terminal device includes but is not limited to a processor 30 and a memory 31. Those skilled in the art will appreciate that Figure 3It is only an example of a terminal device 3 and does not constitute a limitation on the terminal device 3. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, the terminal device may also include input and output devices, network access devices, buses, etc.
[0127] The processor 30 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0128] The memory 31 may be an internal storage unit of the terminal device 3, such as a hard disk or memory of the terminal device 3. The memory 31 may also be an external storage device of the terminal device 3, such as a plug-in hard disk, a smart memory card, or a memory card provided on the terminal device 3.
[0129] (Smart Media Card, SMC), Secure Digital (Secure Digital, SD) card, Flash Card, etc. Further, the memory 31 may also include both the internal storage unit of the terminal device 3 and the external storage device. The memory 31 is used to store the computer program and other programs and data required by the roaming control device. The memory 31 may also be used to temporarily store data that has been output or is to be output.
[0130] It should be understood that the order of execution of the steps in the above embodiment does not necessarily mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiment of the present invention.
[0131] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present invention. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.
[0132] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In actual applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated into a processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of the present invention. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0133] An embodiment of the present invention further provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.
[0134] An embodiment of the present invention provides a computer program product. When the computer program product runs on a mobile terminal, the mobile terminal can implement the steps in the above-mentioned method embodiments when executing the computer program product.
[0135] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present invention implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium. When the computer program is executed by the processor, the steps of the above-mentioned various method embodiments can be implemented. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the camera / terminal device, recording medium, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.
[0136] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0137] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein 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.
[0138] In the embodiments provided by the present invention, it should be understood that the disclosed devices / network equipment and methods can be implemented in other ways. For example, the device / network equipment embodiments described above are only schematic. For example, the division of the modules or units is only a logical function division. 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 through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0139] 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, and may be located in one place or distributed over multiple network units.
[0140] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0141] It should also be understood that the term "and / or" used in the present description and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
[0142] As used in the present specification and the appended claims, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to monitoring, depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is monitored" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is monitored" or "in response to monitoring [described condition or event]", depending on the context.
[0143] In addition, in the description of the present specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.
[0144] References to "one embodiment" or "some embodiments" etc. described in the present specification mean that one or more embodiments of the present invention include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0145] The embodiments described above are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention, and should all be included in the protection scope of the present invention.
Claims
1. A method for testing a high-frequency transformer, characterized in that: The testing method of the high frequency transformer comprises: Collect the original waveform data output by the high-frequency transformer in the test circuit; Performing a fast Fourier transform on the original waveform data to obtain waveform data to be identified; Based on a plurality of preset scales, the waveform data to be identified is subjected to wavelet decomposition to obtain wavelet coefficients corresponding to the waveform data to be identified; the plurality of preset scales represent a plurality of frequency bands in the waveform data to be identified; The step of performing wavelet decomposition on the waveform data to be identified based on a plurality of preset scales to obtain wavelet coefficients corresponding to the waveform data to be identified comprises: obtaining a preset wavelet function; Substituting the waveform data to be identified into the following wavelet function to obtain the wavelet coefficients corresponding to the waveform data to be identified; The wavelet function is as follows: , , , , in, represents the preset wavelet function, represents the waveform data to be identified, represents the amplitude modulation function with respect to time, which is used to adjust the local energy distribution of the wavelet function. Represents the frequency modulation function about time, which is used to dynamically adjust the scale of the wavelet function. represents the phase modulation function, which is used to increase the phase sensitivity of the wavelet function. Represents the center position of the wavelet function, which is used to translate the wavelet function to match the local characteristics of the signal. represents the imaginary unit, represents the depth of amplitude modulation, represents the frequency of amplitude modulation, represents the phase shift of amplitude modulation, represents the baseline scaling of the frequency modulation, represents the modulation depth of frequency modulation, represents the frequency of frequency modulation, represents the phase shift of frequency modulation, represents the linear growth rate of phase modulation, represents the modulation depth of phase modulation, represents the frequency of phase modulation, represents the phase shift of phase modulation; Extracting harmonic components according to the wavelet coefficients; the harmonic components include harmonic time and harmonic intensity; Constructing the wavelet coefficients into a coefficient matrix; Inputting the coefficient matrix into a depth analysis model to obtain a feature matrix output by the depth analysis model; The deep harmonic information of the original waveform data is extracted from the feature matrix; the deep harmonic information includes transient harmonics.
2. The high frequency transformer testing method according to claim 1, characterized in that: The step of constructing the wavelet coefficients into a coefficient matrix comprises: Obtaining a set of wavelet coefficients corresponding to each of the preset scales; The magnitude relationship of different preset scales is taken as a sequence, and each of the wavelet coefficient sets is respectively assigned a column of data in the coefficient matrix to obtain the coefficient matrix.
3. The high frequency transformer testing method according to claim 1, characterized in that: The network structure in the deep analysis model includes a frequency feature extraction layer, a time series feature extraction layer and a fusion feature extraction layer; The step of inputting the coefficient matrix into the depth analysis model to obtain the feature matrix output by the depth analysis model comprises: Inputting the coefficient matrix into the frequency feature extraction layer to obtain first feature data; Inputting the coefficient matrix into the temporal feature extraction layer to obtain second feature data; The first feature data and the second feature data are input into a fusion feature extraction layer to obtain the feature matrix.
4. The method for testing a high frequency transformer according to claim 1, characterized in that: The step of extracting the deep harmonic information of the original waveform data in the feature matrix comprises: Multiplying the feature matrix by the transformation vector to obtain a target vector; The effective value in the target vector is extracted to obtain the frequency of the transient harmonic.
5. The method for testing a high frequency transformer according to claim 1, characterized in that: The step of extracting harmonic components according to the wavelet coefficients comprises: Obtain the peak value in the wavelet coefficient corresponding to each preset scale; Obtaining harmonic time according to the coefficient position of the peak value; The harmonic intensity is obtained according to the numerical value of the peak value.
6. A high-frequency transformer testing device, characterized in that: The testing device of the high frequency transformer comprises: An acquisition unit, used for acquiring original waveform data output by the high-frequency transformer in the test circuit; A transform unit, used for performing a fast Fourier transform on the original waveform data to obtain waveform data to be identified; A decomposition unit, configured to perform wavelet decomposition on the waveform data to be identified based on a plurality of preset scales to obtain wavelet coefficients corresponding to the waveform data to be identified; the plurality of preset scales represent a plurality of frequency bands in the waveform data to be identified; The step of performing wavelet decomposition on the waveform data to be identified based on a plurality of preset scales to obtain wavelet coefficients corresponding to the waveform data to be identified comprises: obtaining a preset wavelet function; Substituting the waveform data to be identified into the following wavelet function to obtain the wavelet coefficients corresponding to the waveform data to be identified; The wavelet function is as follows: , , , , in, represents the preset wavelet function, represents the waveform data to be identified, represents the amplitude modulation function with respect to time, which is used to adjust the local energy distribution of the wavelet function. Represents the frequency modulation function about time, which is used to dynamically adjust the scale of the wavelet function. represents the phase modulation function, which is used to increase the phase sensitivity of the wavelet function. Represents the center position of the wavelet function, which is used to translate the wavelet function to match the local characteristics of the signal. represents the imaginary unit, represents the depth of amplitude modulation, represents the frequency of amplitude modulation, represents the phase shift of amplitude modulation, represents the baseline scaling of the frequency modulation, represents the modulation depth of frequency modulation, represents the frequency of frequency modulation, represents the phase shift of frequency modulation, represents the linear growth rate of phase modulation, represents the modulation depth of phase modulation, represents the frequency of phase modulation, represents the phase shift of phase modulation; A calculation unit, used for extracting harmonic components according to the wavelet coefficients; the harmonic components include harmonic time and harmonic intensity; A construction unit, used for constructing the wavelet coefficients into a coefficient matrix; An analysis unit, used for inputting the coefficient matrix into a deep analysis model to obtain a feature matrix output by the deep analysis model; An extraction unit is used to extract deep harmonic information of original waveform data from the feature matrix; the deep harmonic information includes transient harmonics.
7. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 5 are implemented.
Citation Information
Patent Citations
Harmonic instantaneous power calculating method utilizing incomplete S transform
CN104267258A
Harmonic electric energy metering method and device supporting new energy grid connection
CN116381332A
Waveform analyzer
EP0787995A2
Signal processing method and device
JP2008281898A
Power quality meter and method of waveform anaylsis and compression
US20110112779A1
