A collection terminal with power quality dynamic monitoring and prediction function

By combining a multi-channel voltage and current transformer group and a high-frequency sampling analog-to-digital conversion unit with an adaptive constraint operator and a low-rank cascaded gated flicker tracking model, the problem of insufficient power quality flicker trajectory prediction accuracy under high-frequency extreme value mutation and small sample fault scenarios is solved, and real-time dynamic monitoring of power quality is realized under edge computing conditions.

CN122901562BActive Publication Date: 2026-11-20QINGDAO EASTSOFT COMM TECH
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202611390622.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2026-09-09
Publication Date
2026-11-20
Estimated Expiration
2046-09-09

AI Technical Summary

Technical Problem

Existing technologies lack the accuracy to predict power quality flicker trajectories under high-frequency extreme value mutations and small-sample fault scenarios. Fixed threshold methods cannot be adaptively adjusted, and traditional neural networks have large parameter scales and lack extreme energy perception, resulting in the accumulation of amplitude out-of-bounds errors under high-frequency extreme value mutation conditions. Probabilistic generation models are unable to cover the distribution of future extreme transient scenarios.

Method used

The system employs a multi-channel voltage and current transformer group, a high-frequency sampling analog-to-digital conversion unit, a phase alignment preprocessing board, a data buffer transmission unit, and a control chip. Combined with an adaptive sensing and flicker extreme value generation and prediction module for the energy boundary of the rate of change of state, it achieves real-time feature extraction, extreme value constraint smoothing, and flicker trajectory prediction of power quality signals through adaptive constraint operators, a low-rank cascaded gated flicker tracking model, and a reversible orthogonal transformation extreme value fault generation model.

Benefits of technology

It effectively eliminates the amplitude out-of-bounds error of high-frequency extreme value mutation sampling points, maintains the model's real-time tracking capability under edge computing power conditions, and can accurately predict future extreme transient fault scenarios under small sample conditions, thereby improving the prediction accuracy of power quality flicker trajectory.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122901562B_ABST
    Figure CN122901562B_ABST
Patent Text Reader

Abstract

The application provides a kind of acquisition terminal with power quality dynamic monitoring prediction function, belongs to the technical field of electric energy acquisition terminal, the application is through multi-channel voltage current transformer group and high-frequency sampling analog-digital conversion unit acquisition six-way power quality digital sampling sequence, complete cross-channel space decoupling by phase self-conjugate mapping, utilize state change rate energy boundary adaptive sensing mechanism to high-frequency extreme mutation sampling point Adaptive constraint operator output amplitude smoothing feature sequence, characteristic sequence is input low rank cascade gated flicker tracking model and nested particle swarm optimization adaptive threshold pruning algorithm predicts flicker trajectory, fusion flicker trajectory prediction value and extreme fault probability distribution output power quality dynamic monitoring prediction result and trigger early warning, solve the technical problem of insufficient power quality flicker trajectory prediction accuracy in high-frequency extreme mutation and small sample fault scene.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of power acquisition terminal technology, and specifically relates to an acquisition terminal with power quality dynamic monitoring and prediction function. Background Technology

[0002] Dynamic monitoring of power quality is a crucial guarantee for the stable operation of power systems. Existing acquisition terminals typically employ fixed-threshold comparators or Fourier transform-based spectral analysis methods to extract voltage and current features, combining these with traditional recurrent neural networks or long short-term memory networks to predict flicker trajectories and using statistical models to estimate the probability of transient faults. In actual power grid operation, frequent load switching, arc welding equipment start-up and shutdown, and fluctuations in new energy grid connection can trigger high-frequency extreme value mutations within millisecond-level time windows. These mutations cause a sharp increase in the energy density of the amplitude difference sequence of adjacent sampling points in a short period. In existing technologies, fixed-threshold methods cannot adaptively adjust the constraint strength according to the signal energy state, and traditional neural networks have large parameter scales and lack gating mechanisms that lack awareness of extreme energy, leading to the accumulation of amplitude out-of-bounds errors under high-frequency extreme value mutation conditions. Furthermore, due to the scarcity of real extreme fault samples, probabilistic generation models struggle to cover the distribution of future extreme transient scenarios. In other words, existing technologies suffer from insufficient accuracy in predicting power quality flicker trajectories under high-frequency extreme value mutations and small-sample fault scenarios. Summary of the Invention

[0003] In view of this, the present invention provides a data acquisition terminal with dynamic monitoring and prediction function of power quality, which can solve the technical problem of insufficient prediction accuracy of power quality flicker trajectory in the prior art under high frequency extreme value mutation and small sample fault scenarios.

[0004] This invention is implemented as follows: It provides a data acquisition terminal with dynamic power quality monitoring and prediction functions, comprising: a multi-channel voltage and current transformer group, a high-frequency sampling analog-to-digital converter unit, a phase alignment preprocessing board, a data buffer transmission unit, and a control chip. The multi-channel voltage and current transformer group is electrically connected to the analog input terminal of the high-frequency sampling analog-to-digital converter unit via a shielded signal line. The digital output terminal of the high-frequency sampling analog-to-digital converter unit is electrically connected to the data input terminal of the phase alignment preprocessing board via a parallel data bus. The data output terminal of the phase alignment preprocessing board is electrically connected to the write port of the data buffer transmission unit via a high-speed serial bus. The read port of the data buffer transmission unit is electrically connected to the data interface of the control chip. The control chip is electrically connected to the high-frequency sampling analog-to-digital converter unit, the phase alignment preprocessing board, and the data buffer transmission unit, respectively, and performs control and data interaction. The control chip includes a state change rate energy boundary adaptive sensing and flicker extreme value generation and prediction module, used for real-time feature extraction, extreme value constraint smoothing, flicker trajectory prediction, and transient fault waveform probability generation of multi-channel power quality signals, ultimately outputting the dynamic power quality monitoring and prediction results.

[0005] The multi-channel voltage and current transformer group consists of six sensing channels formed by three voltage transformers and three current transformers. The primary coil of each transformer is clamped and fixed to the corresponding phase line, and the output of the secondary coil is led out through shielded twisted pair cables and bundled to the high-frequency sampling analog-to-digital converter unit. The six secondary coil outputs are mutually insulated and are connected to the six analog input terminals of the high-frequency sampling analog-to-digital converter unit in a fixed arrangement. The transformation ratio range is 100~500, and the accuracy class is 0.2~0.5. It is used to linearly scale down the three-phase voltage and three-phase current signals of the power grid and send them to the subsequent sampling circuit.

[0006] The high-frequency sampling analog-to-digital converter unit uses a multi-channel synchronous analog-to-digital converter chip with a resolution of 16-24 bits and a sampling rate of 500kHz-2MHz. The six analog input terminals receive six scaled signals from the multi-channel voltage and current transformer group in parallel. The internal clock is provided by the crystal oscillator circuit. After conversion, the six digital sampled values ​​are packaged in the order of timestamps and sent to the phase alignment preprocessing board through the parallel data bus. The high-frequency sampling analog-to-digital converter unit provides a high-time-resolution raw digital data stream for power quality extreme value capture.

[0007] The phase alignment preprocessing board is a rectangular printed circuit board with a length of 120-180 mm and a width of 80-120 mm. The board surface is equipped with a phase self-conjugate mapping calculation circuit and a state change rate energy boundary constraint circuit. The data input terminal receives six digital data streams from the high-frequency sampling analog-to-digital conversion unit through a parallel data bus. The phase self-conjugate mapping calculation circuit performs cross-channel phase deviation estimation and real-time correction on the six channel signals to eliminate microsecond-level time synchronization deviation. The state change rate energy boundary constraint circuit applies an adaptive constraint operator to the corrected data stream to suppress amplitude out-of-bounds after high-frequency extreme value mutation. The processed data is sent to the data buffer transmission unit via a high-speed serial bus.

[0008] The data buffer transmission unit has a built-in high-speed dynamic random access memory with a capacity of 512MB to 2GB. The write port receives a high-speed serial data stream from the phase alignment preprocessing board, and the data is written to the circular buffer by dual indexing of timestamp and channel identifier. The read port responds to the data read command of the control chip and sends the buffer data to the control chip in batches. The data buffer transmission unit prevents data loss caused by rate mismatch between high-frequency sampling and control chip inference calculation.

[0009] The adaptive sensing and flicker extremum generation and prediction module for the energy boundary of the rate of change of state is used to perform the following steps:

[0010] The six-channel aligned power quality digital sampling sequence is read from the data buffer transmission unit. The instantaneous phase deviation vector of each channel is calculated according to the phase self-conjugate mapping result. The phase compensation coefficient is applied to the channel whose deviation exceeds the phase alignment threshold to complete the spatiotemporal decoupling of the cross-channel signal.

[0011] The state change rate energy index is calculated for each of the six decoupled signals, and it is determined whether there are high-frequency extreme value mutation events within the current sampling window. An adaptive constraint operator is applied to the sampling points that exceed the state change rate energy boundary, and the feature sequence after amplitude smoothing is output.

[0012] The amplitude-smoothed feature sequence is input into the low-rank cascaded gated flicker tracking model. The low-rank decomposition matrix compression layer completes the parameter compression of the high-dimensional features. The particle swarm optimization adaptive threshold pruning algorithm dynamically freezes redundant neurons. The cascaded gate operator determines whether the current feature belongs to the flicker state and decides whether to conduct the deep network, and outputs the flicker trajectory prediction value.

[0013] The voltage flicker energy accumulation rate is calculated based on the flicker trajectory prediction value. The inter-layer weight allocation index is calculated by substituting it into the dynamic compensation weight adjustment function. The corresponding adjustment strategy is applied to the inter-layer neuron activation weight of the low-rank cascaded gated flicker tracking model based on the inter-layer weight allocation index.

[0014] The amplitude smoothing feature sequence is fed into the reversible orthogonal transformation extreme fault generation model. After multiple levels of reversible orthogonal transformation, the non-Gaussian power quality distribution is mapped to a standard isotropic distribution. The electromagnetic energy conservation dynamic differential equation is embedded to correct the probability flow direction. In the inference stage, the standard distribution is sampled and reversed to generate the future transient fault extreme waveform and its probability distribution.

[0015] The predicted value of flicker trajectory is fused with the probability distribution of extreme fault waveform, and the dynamic monitoring and prediction results of power quality are generated according to the dual dimensions of voltage flicker severity level and transient fault occurrence probability.

[0016] The dynamic monitoring and prediction results of power quality are compared with the monitoring and early warning threshold. When the threshold is exceeded, the control chip is triggered to write an alarm flag to the data buffer transmission unit and output an early warning signal through the external communication interface.

[0017] Specifically, the phase self-conjugate mapping involves constructing a self-conjugate correlation matrix for each channel's sampling sequence, extracting the principal phase eigenvector of the matrix, calculating the phase difference between the principal phase eigenvector of each channel and the principal phase eigenvector of the reference channel, and applying the negative value of the phase difference as a compensation phase to the corresponding channel.

[0018] Specifically, the determination of the phase alignment threshold involves conducting repeated sampling experiments on multiple heterogeneous sensors under known phase difference conditions, recording the measured phase deviation distribution under different combinations of sampling frequencies and transmission paths, and taking the upper bound of the 95% confidence interval in the distribution as the phase alignment threshold.

[0019] Specifically, the energy index of the rate of change of state is obtained by summing the squares of the amplitude difference sequence between consecutive sampling points within the current sampling window and dividing by the window length to obtain the energy density estimate of the signal amplitude change per unit time.

[0020] Specifically, the adaptive constraint operator uses the ratio of the energy index of the rate of change of the current sampling point to the energy boundary of the rate of change of the state as the constraint strength coefficient, and shrinks the amplitude of the super-boundary sampling point in the direction of the amplitude of the previous sampling point. The shrinkage ratio is positively correlated with the constraint strength coefficient.

[0021] The low-rank cascaded gated flicker tracking model includes a low-dimensional orthogonal projection layer, a low-rank decomposition matrix compression layer, a cascaded gated operator layer, and a deep self-circulating nonlinear feedback iterative unit. The deep network is composed of multiple self-circulating nonlinear feedback iterative units connected in series. The current hidden state of each unit is subjected to the Hadamard product operation with the error gradient of the previous time step, and the dynamic compensation weight is generated and then superimposed with the current hidden state.

[0022] The cascaded gated operator layer uses the voltage amplitude fluctuation energy of the input feature vector at the current moment to substitute the gated activation equation. When the gated output value is lower than the gated threshold, the subsequent deep network feature pipeline is blocked and the gradient flow is cut off. When the gated output value is not lower than the gated threshold, the deep network is turned on.

[0023] Specifically, the particle swarm optimization adaptive threshold pruning algorithm involves each particle in the particle swarm representing a set of neuron activation threshold vectors during the forward propagation of the hidden layer. The algorithm dynamically updates the velocity and position of each particle based on the instantaneous entropy growth rate of the input electrical energy data. By weighting the optimal position of the group and the historical optimal position of the individual, the algorithm guides optimization and calculates the optimal neuron activation threshold vector under the current feature distribution. Neurons below the optimal activation threshold are instantly frozen.

[0024] Specifically, the dynamic compensation weight adjustment function is set as follows: the flicker energy accumulation rate is... Inter-layer weight allocation index Depend on Calculation, where This is the baseline value for the flash energy accumulation rate. The interlayer weight allocation index is a dimensionless adjustment coefficient. When the interlayer weight allocation index is in the first interval, a uniform allocation strategy is applied to the activation weights of neurons in each layer. When the interlayer weight allocation index is in the second interval, the activation weights of neurons in the deep layer are weighted in a linearly increasing manner. When the interlayer weight allocation index is in the third interval, the activation weights of neurons in the deep layer are concentrated in an exponentially increasing manner.

[0025] The reversible orthogonal transformation extreme fault generation model consists of multiple levels of reversible orthogonal transformation layers and continuous normalized flow topology units cascaded alternately. Each level of reversible orthogonal transformation layer uses a Householder reflection parameterized orthogonal matrix to ensure that the absolute value of the Jacobian determinant of the transformation is always 1. Each level of reversible orthogonal transformation layer is followed by a continuous normalized flow topology unit to achieve nonlinear reversible mapping through an affine coupling layer structure.

[0026] Specifically, the constraint term of the electromagnetic energy conservation dynamic differential equation is a penalty amount calculated by using the absolute value of the difference between the L2 norm of the current layer's output feature vector and the L2 norm of the input feature vector to correct the direction of the probability flow and prevent energy drift.

[0027] The low-rank decomposition matrix compression layer decomposes the weight matrix into rank 1. Multiplying the two factor matrices, the memory allocation of the activation weights of neurons between layers shows that the shallow layer accounts for a certain percentage of the memory. The percentage of deep memory is Dynamic reallocation of video memory is achieved based on the inter-layer weight allocation index.

[0028] The training of the low-rank cascaded gated flicker tracking model uses mean squared error as the loss function and an adaptive moment estimation optimization algorithm for parameter updates. Within each training batch, a particle swarm optimization adaptive threshold pruning algorithm is nested to update the neuron activation threshold vector. After training, singular value checks are performed on the low-rank factor matrix to remove redundant rank components with singular values ​​less than a set lower bound.

[0029] The training of the invertible orthogonal transformation extreme fault generation model uses negative log-likelihood loss as the objective function and adopts an adaptive moment estimation optimization algorithm for parameter updates. During the training process, an electromagnetic energy conservation constraint penalty term is added. After the training is completed, the orthogonality of the orthogonal matrices of each invertible orthogonal transformation layer is checked. When the orthogonality error exceeds the upper bound of the orthogonality error, the Householder parameterization is corrected again.

[0030] The phase alignment threshold range is the phase angle equivalent corresponding to 1–5 microseconds; the energy boundary range of the rate of state change is... The shrinkage ratio of the adaptive constraint operator ranges from 0.1 to 0.5; the gating threshold ranges from 0.3 to 0.6; and the first interval of the inter-layer weight allocation index is... The second interval is The third interval is no less than 0.7. The range is , The range is 1 to 5; the recommended range for monitoring and early warning thresholds is a flicker severity index of 0.4 to 0.8 and a transient failure probability of 0.15 to 0.6.

[0031] This invention utilizes an adaptive sensing mechanism based on the energy boundary of the rate of change of state to apply constraint operators positively correlated with energy intensity to high-frequency extreme value mutation sampling points, eliminating the interference of amplitude out-of-bounds errors on subsequent predictions. It employs a low-rank cascaded gated flicker tracking model, using voltage amplitude fluctuation energy to drive gated activation, opening the deep inference channel only when flicker features are detected. Combined with a particle swarm optimization adaptive threshold pruning algorithm, it instantaneously freezes low-activity neurons, enabling the model to maintain real-time tracking capability under edge computing conditions. Furthermore, it employs a reversible orthogonal transformation extreme fault generation model, using a reversible transformation with a constant Jacobian determinant of 1 to losslessly map non-Gaussian extreme value distributions to a standard distribution, and embedding electromagnetic energy conservation dynamics differential equations to constrain the probability flow direction, covering future extreme transient scenarios with quantifiable probability density under small sample conditions. In summary, this invention solves the technical problem mentioned in the background art of insufficient accuracy in predicting power quality flicker trajectories under high-frequency extreme value mutations and small-sample fault scenarios. Attached Figure Description

[0032] Figure 1 This is a flowchart of the method of the present invention.

[0033] Figure 2 The diagram shows the energy index of the voltage state change rate of phase A and the response process of the adaptive constraint operator.

[0034] Figure 3 The graph shows the output values ​​of the cascaded gating operator and the conduction status of the deep network over time.

[0035] Figure 4 A comparison chart of generated samples and real fault waveforms for a reversible orthogonal transformation extreme fault generation model.

[0036] Figure 5 The graph shows the change in the percentage of neurons frozen as a function of the instantaneous entropy growth rate in the adaptive threshold pruning algorithm for particle swarm optimization.

[0037] Figure 6 This is a two-dimensional distribution map of the dynamic monitoring and prediction results of power quality.

[0038] Figure 7 This is a block diagram of the overall hardware structure of the data acquisition terminal of the present invention. Detailed Implementation

[0039] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below.

[0040] like Figure 1 The diagram shows the execution steps of the adaptive sensing of the energy boundary of the rate of change of state and the generation and prediction of flicker extreme values ​​in a data acquisition terminal with dynamic monitoring and prediction function of power quality provided by this invention. This method includes the following steps:

[0041] S01. Read the six-channel aligned power quality digital sampling sequence from the data buffer transmission unit, calculate the instantaneous phase deviation vector of each channel according to the phase self-conjugate mapping result, apply the phase compensation coefficient to the channel whose deviation exceeds the phase alignment threshold, and complete the spatiotemporal decoupling of the cross-channel signal.

[0042] S02. Calculate the state change rate energy index for each of the six decoupled signals, determine whether there are high-frequency extreme value mutation events in the current sampling window, apply adaptive constraint operators to sampling points that exceed the state change rate energy boundary, and output the feature sequence after amplitude smoothing.

[0043] S03. Input the amplitude-smoothed feature sequence into the low-rank cascaded gated flicker tracking model. The low-rank decomposition matrix compression layer completes the parameter compression of the high-dimensional features. The particle swarm optimization adaptive threshold pruning algorithm dynamically freezes redundant neurons. The cascaded gate operator determines whether the current feature belongs to the flicker state and decides whether to conduct the deep network, and outputs the flicker trajectory prediction value.

[0044] S04. Based on the flicker trajectory prediction value output by S03, calculate the voltage flicker energy accumulation rate, substitute it into the dynamic compensation weight adjustment function to calculate the interlayer weight allocation index of neurons, and when the allocation index belongs to different intervals, execute the corresponding adjustment strategy for the interlayer neuron activation weight parameters of the low-rank cascaded gated flicker tracking model.

[0045] S05. The amplitude smoothing feature sequence output by S02 is fed into the reversible orthogonal transformation extreme fault generation model. After multiple levels of reversible orthogonal transformation layers, the non-Gaussian power quality distribution is losslessly mapped to a standard isotropic distribution. The electromagnetic energy conservation dynamic differential equation is embedded to correct the direction of probability flow. In the inference stage, the standard distribution is sampled and reversed to generate the future transient fault extreme waveform and its probability distribution.

[0046] S06. The flicker trajectory prediction value output by S03 is fused with the extreme fault waveform probability distribution output by S05, and the power quality dynamic monitoring prediction result is generated according to the dual dimensions of voltage flicker severity level and transient fault occurrence probability.

[0047] S07. The dynamic monitoring and prediction results of power quality are compared with the set monitoring and early warning thresholds. When the early warning threshold is exceeded, the control chip is triggered to write an alarm flag to the data cache transmission unit and output an early warning signal through the external communication interface. The monitoring and early warning thresholds are determined by collecting voltage flicker and transient fault data under different power grid operation scenarios in experiments, and after multiple iterative experimental analysis of the severity level distribution boundary under each scenario. The recommended range is flicker severity index 0.4~0.8 and transient fault probability 0.15~0.6.

[0048] Specifically, the phase alignment threshold is as follows: Repeated sampling experiments are conducted on multiple heterogeneous sensors under known phase difference conditions. The measured phase deviation distribution under different combinations of sampling frequency and transmission path is recorded. The upper limit of the 95% confidence interval in the distribution is taken as the alignment threshold. The recommended value range is the phase angle equivalent of 1 to 5 microseconds.

[0049] Specifically, the energy index of the rate of change of state is calculated by summing the squares of the amplitude difference sequences between consecutive sampling points within the current sampling window and dividing by the window length to obtain an estimated energy density value of the signal amplitude change per unit time. The energy boundary of the rate of change of state is determined experimentally, specifically by collecting a large number of samples covering normal fluctuations and high-frequency extreme abrupt changes under various power grid operating conditions, statistically analyzing the energy density distributions of the two types of samples, and taking the optimal dividing point between the two distributions as the boundary. A suggested range is... ( );

[0050] Specifically, the adaptive constraint operator is as follows: using the ratio of the energy index of the rate of change of the current sampling point to the energy boundary of the rate of change of the state as the constraint strength coefficient, the amplitude of the superboundary sampling point is shrunk in the direction of the amplitude of the previous sampling point. The shrinkage ratio is positively correlated with the constraint strength coefficient. The shrinkage ratio range is determined by experiments, and it is recommended to be 0.1~0.5.

[0051] Specifically, the phase self-conjugate mapping is as follows: construct a self-conjugate correlation matrix for the sampling sequence of each channel, extract the principal phase feature vector of the matrix, calculate the phase difference between the principal phase feature vector of each channel and the principal phase feature vector of the reference channel, and apply the negative value of the phase difference as the compensation phase to the corresponding channel to achieve lossless real-time correction of the signal phase of each channel.

[0052] Specifically, the dynamic compensation weight adjustment function is as follows: Let the flicker energy accumulation rate be... (unit Interlayer weight allocation index Depend on Calculation, where This is the baseline value for the flash energy accumulation rate. This is a dimensionless adjustment coefficient. and Determined by experimental method, it is recommended The range is , The range is 1 to 5; when At that time, a uniform distribution strategy is applied to the activation weights of neurons in each layer of the low-rank cascaded gated flicker tracking model; when When, the activation weights of deep neurons are weighted in a linearly increasing manner; when At that time, the activation weights of deep neurons are concentrated in an exponentially increasing manner to match the dominant role of deep features in high-intensity flash scenarios;

[0053] The specific structure of the low-rank cascaded gated flicker tracking model is as follows: a low-dimensional orthogonal projection layer is set at the model input to transform the input feature vector from its original dimension. (Recommended range 64–256) Orthogonal projection to lower-dimensional subspace dimensions (Recommended range 8-32), the projection matrix is ​​initialized through singular value decomposition; a low-rank decomposition matrix compression layer is set after the low-dimensional orthogonal projection layer to compress the original matrix. The weight matrix of dimension is decomposed into a rank of Multiply two factor matrices (suggested range 2-8), with the following dimensions: and This significantly reduces the number of parameters; the low-rank factorization matrix compression layer is followed by a cascaded gated operator layer, which uses the voltage amplitude fluctuation energy of the input feature vector at the current moment. (unit Substitute entry control activation equation ,in For the Sigmoid function, For gating weight scalars, For gating bias scalar. and Obtained through training with experimental samples; when (gate value) When the recommended range is 0.3–0.6 (to be determined experimentally), gating blocks subsequent deep network feature pipelines and cuts off gradient flow; when… At this time, the gating is activated and the deep network is connected. The deep network consists of 2 to 4 self-circulating nonlinear feedback iterative units connected in series. The current hidden layer state of each unit is multiplied by the Hadamard product of the error gradient of the previous time step to generate dynamic compensation weights, which are then weighted and superimposed with the current hidden state to output the corrected hidden layer state. The model output is connected to a linear mapping layer to output the flicker trajectory prediction value. In the memory allocation of the activation weights of neurons between layers, the inter-layer weight allocation index is calculated based on the dynamic compensation weight adjustment function. Set the memory allocation ratio of each layer to be the same as the previous one. The functional relationship, the proportion of shallow memory is The percentage of deep memory is This enables dynamic reallocation of video memory. The low-rank cascaded gated flicker tracking model incorporates a particle swarm optimization adaptive threshold pruning algorithm. Specifically, during forward propagation in the hidden layer, each particle in the particle swarm represents a set of neuron activation threshold vectors, with a suggested particle number range of 20-60. The algorithm dynamically updates the velocity and position of each particle based on the instantaneous entropy growth rate of the input electrical energy data. The instantaneous entropy growth rate is obtained by the time difference estimation of the Shannon entropy of the signal amplitude distribution within the current sampling window. In each round of forward propagation, the particle swarm optimizes by weighting the group's optimal position with the individual's historical optimal position, calculating the optimal neuron activation threshold vector under the current feature distribution. Neurons below the optimal activation threshold are instantaneously frozen, stopping gradient updates and directly pruning redundant computations. The inertial weights in the particle velocity update equation... Individual learning factors With group learning factor Determined through experimental iterations, the suggested ranges are as follows: , , ;

[0054] The steps for establishing the training dataset of the low-rank cascaded gated flicker tracking model specifically include: applying excitation signals covering multiple operating conditions such as normal operation, mild flicker, severe flicker, voltage sag and harmonic superposition, through a programmable power supply device on a laboratory power quality simulation platform; performing high-frequency acquisition with sampling frequency and channel configuration consistent with actual deployment; recording the original six-channel digital sampling sequence and corresponding real flicker trajectory annotation values ​​under each operating condition; the total number of samples in the dataset is not less than 10,000; and the sample ratio of each operating condition is determined according to the statistical distribution of the measured power grid.

[0055] The training steps for the low-rank cascaded gated flicker tracking model specifically include: using the mean squared error as the loss function, employing an adaptive moment estimation optimization algorithm for parameter updates, and suggesting an initial learning rate range of [range to be specified]. The recommended batch size is 32–128; within each training batch, nested execution of the particle swarm optimization adaptive threshold pruning algorithm is performed to update the neuron activation threshold vector; the recommended number of training epochs is 100–500 epochs, with the verification set mean square error not decreasing for 20–50 consecutive epochs as the early stopping condition; after training, singular value checks are performed on the low-rank factor matrix, and singular values ​​less than the set lower bound are removed (recommended). The redundant rank components of the model are used to complete model compression.

[0056] The specific structure of the reversible orthogonal transformation extreme fault generation model is as follows: the model consists of 3-6 levels of reversible orthogonal transformation layers and continuous normalized flow topology units cascaded alternately; each level of reversible orthogonal transformation layer uses an orthogonal matrix to realize the reversible linear transformation of the input features. The orthogonal matrix is ​​parameterized through Householder reflection to ensure that the absolute value of the Jacobian determinant of the transformation is always 1, ensuring lossless transmission of probability density; each level of reversible orthogonal transformation layer is followed by a continuous normalized flow topology unit, and a nonlinear reversible mapping is realized through an affine coupling layer structure. The affine coupling layer divides the input into two parts. One part calculates the scaling factor and translation factor through a small fully connected network (2-3 layers, 16-64 widths), which is then applied to the other part to realize the reversible nonlinear transformation. The electromagnetic energy conservation dynamics differential equation constraint terms are embedded within the reversible orthogonal transformation layers from level 2 to level 4. The constraint terms are penalized by the absolute value of the difference between the L2 norm of the current layer's output feature vector and the L2 norm of the input feature vector, correcting the probability flow direction and preventing energy drift. During model inference, samples are taken from a standard isotropic Gaussian distribution and deduced in reverse order through the inverse transformation sequence of all reversible transformation layers to generate future transient fault extreme waveform samples and their corresponding probability density values. In terms of storing the connection weights between neurons, memory blocks are allocated according to the product of the input feature dimension and the output feature dimension of each layer. Different layers allocate memory independently according to their respective matrix sizes. During iterative inference, only the memory block of the current inference layer is updated in each round, and the memory of the preceding layers is reused, saving the overhead of repeated allocation.

[0057] The steps for establishing the training dataset for the reversible orthogonal transformation extreme fault generation model specifically include: collecting power quality waveform records covering extreme fault scenarios such as voltage sag, transient impact, and three-phase imbalance from a laboratory power quality simulation platform and a historical waveform recording device in an actual substation, with no less than 500 samples for each type of fault scenario, and at the same time collecting no less than 2,000 samples under normal operating conditions to form an unbalanced training set; after performing phase alignment preprocessing and amplitude normalization processing on various types of samples, extracting the amplitude sequences of the six channels as model input, and using the corresponding fault category and amplitude extreme value as labels;

[0058] The specific steps for training the invertible orthogonal transformation extreme fault generation model include: using the negative log-likelihood loss as the objective function, employing an adaptive moment estimation optimization algorithm for parameter updating, with the initial learning rate suggested to be within a certain range. The recommended batch size is 16–64; an electromagnetic energy conservation constraint penalty term should be added during training, with a recommended penalty coefficient range of [insert range here]. The number of training epochs is recommended to be 200–800, with the early stopping condition being that the negative log-likelihood loss of the verification set does not decrease for 30–80 consecutive epochs. After training, the orthogonality of the orthogonal matrices of each invertible orthogonal transformation layer is checked, and the orthogonality error exceeds the recommended upper bound. Then re-parameterize the Householder.

[0059] The low-rank cascaded gated flicker tracking model compresses the high-dimensional weight tensor into the product of two ultra-low-rank matrices through low-rank factor matrix decomposition, fundamentally reducing the parameter size and the number of multiplication operations. The cascaded gate operator introduces the voltage amplitude fluctuation energy into the gate activation decision, enabling the network to automatically block deep computation paths under stable signals and only open deep inference channels when flicker features are detected, significantly reducing invalid computations. The self-looping nonlinear feedback iterative structure uses the Hadamard product of the error gradient of the previous time step and the current hidden state to generate dynamic compensation weights, enabling the network to maintain continuous tracking capability for non-stationary flicker trajectories with extremely low parameter counts. The particle swarm optimization adaptive threshold pruning algorithm dynamically searches for the optimal neuron activation threshold with swarm intelligence in each round of forward propagation, instantly freezing low-activity neurons, enabling edge terminals to maintain real-time inference response under limited computing power. The overall architecture achieves low-power dynamic prediction of high-frequency flicker extreme trajectories without sacrificing tracking accuracy.

[0060] The reversible orthogonal transformation extreme fault generation model uses a multi-level orthogonal invertible transformation with a constant Jacobian determinant of 1, coupled with affine coupling layers, to losslessly map the non-Gaussian power quality extreme distribution to the standard Gaussian distribution, accurately preserving all probability density information of the original distribution. Embedded constraints from the electromagnetic energy conservation dynamics differential equation physically correct the probability flow direction, preventing the model from drifting towards a false distribution with unphysical energy distributions under small sample conditions. During the inference phase, the model generates fault waveforms from the standard distribution through inverse transformation, enabling it to cover various future extreme transient fault scenarios with quantifiable probability density even with a very small number of real fault samples. This fundamentally solves the problem of insufficient prediction capability of extreme probability distributions under small sample scenarios of sudden faults.

[0061] As an optional approach, this solution also provides a power quality dynamic monitoring and prediction system implemented by a computer. The computer is equipped with a readable storage medium that stores program instructions. When the program instructions are run in the computer, they call the data acquisition interface of the multi-channel voltage and current transformer group, the digital output interface of the high-frequency sampling analog-to-digital conversion unit, and the data processing interface of the phase alignment preprocessing board, and execute all the steps of the aforementioned state change rate energy boundary adaptive sensing and flicker extreme value generation and prediction module to realize the power quality dynamic monitoring and prediction function.

[0062] The acquisition terminal provided by this invention includes: a multi-channel voltage and current transformer group, a high-frequency sampling analog-to-digital converter unit, a phase alignment preprocessing board, a data buffer transmission unit, and a control chip. The multi-channel voltage and current transformer group is electrically connected to the analog input terminal of the high-frequency sampling analog-to-digital converter unit via a shielded signal line. The digital output terminal of the high-frequency sampling analog-to-digital converter unit is electrically connected to the data input terminal of the phase alignment preprocessing board via a parallel data bus. The data output terminal of the phase alignment preprocessing board is electrically connected to the write port of the data buffer transmission unit via a high-speed serial bus. The read port of the data buffer transmission unit is electrically connected to the data interface of the control chip. The control chip is electrically connected to the high-frequency sampling analog-to-digital converter unit, the phase alignment preprocessing board, and the data buffer transmission unit, respectively, and performs control and data interaction. The control chip is equipped with a state change rate energy boundary adaptive sensing and flicker extreme value generation and prediction module, used for real-time feature extraction, extreme value constraint smoothing, flicker trajectory prediction, and transient fault waveform probability generation of multi-channel power quality signals, ultimately outputting power quality dynamic monitoring prediction results.

[0063] The multi-channel voltage and current transformer group consists of six sensing channels formed by three voltage transformers and three current transformers. The primary coil of each transformer is clamped and fixed to the corresponding phase line, and the output of the secondary coil is led out through shielded twisted pair cables and bundled to the high-frequency sampling analog-to-digital converter unit. The six secondary coil outputs are mutually insulated and are connected to the six analog input terminals of the high-frequency sampling analog-to-digital converter unit in a fixed arrangement. The transformation ratio range is 100~500, and the accuracy class is 0.2~0.5. It is used to linearly scale down the three-phase voltage and three-phase current signals of the power grid and send them to the subsequent sampling circuit.

[0064] The high-frequency sampling analog-to-digital converter unit uses a multi-channel synchronous analog-to-digital converter chip with a resolution of 16-24 bits and a sampling rate of 500kHz-2MHz. The six analog input terminals receive six scaled signals from the multi-channel voltage and current transformer group in parallel. The internal clock is provided by the crystal oscillator circuit. After conversion, the six digital sampled values ​​are packaged in the order of timestamps and sent to the phase alignment preprocessing board through the parallel data bus. The high-frequency sampling analog-to-digital converter unit provides a high-time-resolution raw digital data stream for power quality extreme value capture.

[0065] The phase alignment preprocessing board is a rectangular printed circuit board with a length of 120-180 mm and a width of 80-120 mm. The board surface is equipped with a phase self-conjugate mapping calculation circuit and a state change rate energy boundary constraint circuit. The data input terminal receives six digital data streams from the high-frequency sampling analog-to-digital conversion unit through a parallel data bus. The phase self-conjugate mapping calculation circuit performs cross-channel phase deviation estimation and real-time correction on the six channel signals to eliminate microsecond-level time synchronization deviation. The state change rate energy boundary constraint circuit applies an adaptive constraint operator to the corrected data stream to suppress amplitude out-of-bounds after high-frequency extreme value mutation. The processed data is sent to the data buffer transmission unit via a high-speed serial bus.

[0066] The data buffer transmission unit has a built-in high-speed dynamic random access memory with a capacity of 512MB to 2GB. The write port receives a high-speed serial data stream from the phase alignment preprocessing board, and the data is written to the circular buffer by dual indexing of timestamp and channel identifier. The read port responds to the data read command of the control chip and sends the buffer data to the control chip in batches. The data buffer transmission unit prevents data loss caused by rate mismatch between high-frequency sampling and control chip inference calculation.

[0067] The specific implementation of step S01 is as follows: Six power quality digital sampling sequences processed by the phase alignment preprocessing board are read in batches from the data buffer transmission unit. A self-conjugate correlation matrix is ​​constructed for the sampling sequence of each channel. The principal phase feature vector of this matrix is ​​extracted. The principal phase feature vector of each channel is then multiplied by the principal phase feature vector of the reference channel (usually the A-phase voltage channel) to obtain the instantaneous phase deviation vector of each channel. When the phase deviation of a channel exceeds the phase alignment threshold (the recommended range is the equivalent phase angle corresponding to 1–5 microseconds, determined by the upper bound of the 95% confidence interval), a compensation phase is applied using the negative phase difference value. Compensation is applied to the sampling sequence of this channel through a frequency domain rotation factor, completing the spatiotemporal decoupling of the six signals and eliminating the influence of microsecond-level time synchronization deviation on subsequent calculations.

[0068] The specific implementation of step S02 is as follows: For the six decoupled signals, calculate the amplitude difference between adjacent sampling points point by point within the current sampling window. Square each term of the difference sequence, sum them, and then divide by the window length to obtain the state change rate energy index, which is the energy density estimate of the signal amplitude change per unit time. Compare this index with the state change rate energy boundary (suggested range) determined by experimental statistics. The energy index is compared with the boundary, and if the energy index exceeds the boundary, it is determined that there is a high-frequency extreme value mutation event in the current window. For the sampling point that exceeds the boundary, the ratio of the energy index to the boundary is used as the constraint strength coefficient. The amplitude of the sampling point is shrunk in the direction of the amplitude of the previous sampling point according to the shrinkage ratio (the suggested range is 0.1 to 0.5, which is positively correlated with the constraint strength coefficient). The shrunk amplitude replaces the original out-of-bounds amplitude, forming a smoothed feature sequence that is output to the subsequent module.

[0069] The specific implementation of step S03 is as follows: A low-dimensional orthogonal projection layer is set at the input of the low-rank cascaded gated flicker tracking model to orthogonally project the input feature vector from its original dimension (recommended 64–256) to a low-dimensional subspace (recommended 8–32 dimensions) using a projection matrix initialized by singular value decomposition. Subsequently, a low-rank decomposition matrix compression layer decomposes the low-dimensional weight matrix into rank... (Recommendation 2-8) The product of two factor matrices significantly compresses the number of parameters. The cascaded gated operator layer extracts the voltage amplitude fluctuation energy from the current input feature vector. Substitute entry control activation equation ,in For the Sigmoid function, when When the threshold value falls below the control threshold (recommended 0.3–0.6), deep networks are blocked and gradient flow is truncated. The deep network is activated when the threshold value is not lower than the threshold value. The deep network consists of 2-4 self-circulating nonlinear feedback iterative units connected in series. Each unit performs a Hadamard product operation between the current hidden layer state and the error gradient from the previous time step, generating dynamic compensation weights, which are then weighted and superimposed on the current hidden state to output the corrected hidden layer state. The model output passes through a linear mapping layer to output the predicted flicker trajectory. In each forward propagation round, the particle swarm optimization adaptive threshold pruning algorithm dynamically updates the velocity and position of particles (20-60 recommended) using the instantaneous entropy growth rate of the signal (estimated by the Shannon entropy of the current window signal amplitude distribution over time difference). Guided by a weighted average of the group's optimal position and the individual's historical optimal position, it finds the optimal neuron activation threshold vector. Neurons below this threshold are instantaneously frozen, gradient updates are stopped, and redundant calculations are pruned. The inertia weights in the particle velocity update equation... Recommended range Individual learning factor With group learning factor Recommended range .

[0070] The specific implementation of step S04 is as follows: Based on the flicker trajectory prediction value output in step S03, the sum of squares of the voltage flicker amplitude sequence within a continuous time window is calculated and then divided by the time span to obtain the voltage flicker energy accumulation rate. (unit ).Will Substitute into the dynamic compensation weight adjustment function ,in Reference values ​​determined for the experiment (recommended) ), Calculate the inter-layer weight allocation index using the adjustment coefficient (1-5 recommended). .when At that time, a uniform distribution strategy is applied to the activation weights of neurons in each layer of the low-rank cascaded gated flicker tracking model; when When, the activation weights of deep neurons are weighted in a linearly increasing manner; when At that time, the activation weights of deep neurons are centrally allocated in an exponentially increasing manner, while the proportion of shallow memory is set to... The percentage of deep video memory is set to This enables dynamic reallocation of video memory to match the dominant role of deep features in high-intensity flicker scenarios.

[0071] The specific implementation of step S05 is as follows: The reversible orthogonal transformation extreme fault generation model consists of 3 to 6 levels of reversible orthogonal transformation layers and continuous normalized flow topology units cascaded alternately. Each level of reversible orthogonal transformation layer uses a Householder reflection parameterized orthogonal matrix to ensure that the absolute value of the Jacobian determinant is always 1, and the probability density is transmitted without loss. The affine coupling layer divides the input features into two parts. One part is processed by a small fully connected network with 2 to 3 layers and a width of 16 to 64 to calculate the scaling factor and translation factor, which are then applied to the other part to achieve a reversible nonlinear transformation. The electromagnetic energy conservation dynamics differential equation constraint terms are embedded inside the 2nd to 4th levels of reversible orthogonal transformation layers. The absolute value of the difference between the L2 norm of the current layer's output feature vector and the L2 norm of the input feature vector is used as the penalty to correct the direction of the probability flow. During the inference stage, samples are taken from a standard isotropic Gaussian distribution and deduced in reverse order through the inverse transformation sequence of all reversible transformation layers to generate future transient fault extreme waveform samples and their corresponding probability density values, achieving quantifiable probability coverage of extreme transient scenarios under small sample conditions.

[0072] The specific implementation of step S06 is as follows: The flicker trajectory prediction value output in step S03 and the extreme fault waveform probability distribution output in step S05 are weighted and fused in the feature space. The voltage flicker severity level (obtained by mapping the flicker trajectory prediction value according to amplitude level) and the transient fault occurrence probability (obtained by integrating the extreme fault waveform probability distribution) are used as two-dimensional coordinates to generate a power quality dynamic monitoring prediction result. The result includes two items: the current flicker severity level label and the future transient fault extreme probability distribution.

[0073] The specific implementation of step S07 is as follows: The flicker severity index and transient fault probability in the power quality dynamic monitoring and prediction results output in step S06 are compared item by item with the monitoring and early warning thresholds (the suggested range for flicker severity index is 0.4 to 0.8, and the suggested range for transient fault probability is 0.15 to 0.6). When any item exceeds the corresponding early warning threshold, the control chip is triggered to write an alarm flag to the circular buffer of the data buffer transmission unit, and at the same time, an early warning signal is output to the upper-level dispatching system through the external communication interface to realize real-time response to power quality abnormal events.

[0074] It should be noted that the key technologies of this invention include: an adaptive sensing mechanism for the energy boundary of the rate of change of state quantitatively senses the intensity of extreme value mutations through energy density; the contraction ratio of the constraint operator is adaptively adjusted according to the constraint strength coefficient, avoiding the system error introduced by fixed threshold truncation, and providing reliable feature inputs for subsequent prediction; a low-rank cascaded gated flicker tracking model compresses the multiplication operation by using a low-rank decomposition matrix to reduce the parameter scale; the cascaded gated operator drives the switching decisions of the deep network with the energy of voltage amplitude fluctuations, so that deep inference is not required during the steady signal stage; and a particle swarm optimization adaptive threshold pruning algorithm dynamically searches for the optimal neuron activation threshold with swarm intelligence, in real time. By freezing inactive neurons, the three technologies work together to enable the model to maintain real-time tracking of non-stationary flash trajectories under edge computing power. The reversible orthogonal transformation extreme fault generation model ensures lossless transmission of probability density through orthogonal invertible transformation with a constant Jacobian determinant of 1 and affine coupling layer cascade. The electromagnetic energy conservation constraint term corrects the direction of probability flow from the physical mechanism level, preventing distribution drift under small sample conditions, so that the fault waveform generated in the inference stage has quantifiable probability density support. The three key technologies form a complete technical closed loop in the three links of feature extraction, trajectory prediction and probability generation, which together support high-precision power quality prediction in high-frequency extreme value mutation and small sample fault scenarios.

[0075] It should be noted that under the condition of concentrated grid-connected operation of a large number of nonlinear loads (such as variable frequency drives, electric arc furnaces, and high-power rectifiers) in the power grid, high-frequency, high-amplitude extreme value abrupt pulses will be superimposed on the normal fluctuation background of the voltage signal. At the same time, real fault waveform data under such extreme conditions is extremely scarce, resulting in a severe shortage of training samples. The reason for the above technical problems is that the duration of extreme value abrupt pulses is usually only a few sampling points, and its energy is concentrated in a very short time window. Traditional Fourier spectrum analysis or fixed window statistical methods cannot adaptively distinguish between normal fluctuations and extreme value abrupt changes within such a short time scale, resulting in a large amount of out-of-bounds amplitude noise remaining in the feature sequence. Meanwhile, traditional generative models (such as variational autoencoders or generative adversarial networks) are prone to mode collapse or distribution overfitting under small sample conditions, and cannot cover the real distribution of future extreme transient fault scenarios. The usual solution to the above technical problems is to increase the amount of sampled data or introduce data augmentation strategies to expand the training set, and then combine it with a recurrent neural network with a large number of parameters to improve the sequence modeling ability. However, in actual operation, the acquisition of extreme fault waveform data is constrained by both the rarity of the event and the cost of the acquisition equipment, resulting in limited data expansion. Furthermore, recurrent neural networks with a large number of parameters cannot meet the latency requirements of real-time inference under the condition of limited computing power at the edge terminal, and their ability to model non-Gaussian extreme distributions is insufficient, leading to systematic biases in probability density estimation. This invention effectively solves this technical problem: the state change rate energy boundary adaptive sensing mechanism accurately identifies extreme value mutation events at the sampling point level and adaptively shrinks out-of-bounds amplitudes with energy intensity, eliminating the pollution of feature sequences by extreme value noise at the root; the reversible orthogonal transformation extreme value fault generation model maps non-Gaussian extreme value distributions to standard Gaussian distributions losslessly through an orthogonal invertible transformation with a Jacobian determinant of 1, and the embedded electromagnetic energy conservation dynamics differential equation constraint terms correct the probability flow direction with physical prior knowledge, enabling the model to generate fault waveforms covering future extreme transient scenarios with quantifiable probability density even with only a small number of real fault samples, thus eliminating the root cause of probability distribution drift under small sample conditions from a mechanistic perspective; the low-rank cascaded gated flicker tracking model's low-rank decomposition and gating mechanism work together to compress the inference computation to a level that edge terminal computing power can bear, ensuring the executability of the above two technologies under real-time conditions. Together, these three technologies form a complete solution to the dual challenges of high-frequency extreme value mutations and small sample faults.

[0076] Specifically, the principle of this invention is as follows: This invention can solve the above-mentioned technical problems, and its principle lies in the following aspects. First, the state change rate energy index divides the sum of squares of the amplitude difference sequence of continuous sampling points within the current sampling window by the window length to obtain the energy density estimate of the signal amplitude change. This index can accurately quantify the intensity of extreme value mutation events. When the energy density exceeds the state change rate energy boundary determined by the optimal split points of the two types of distributions in experimental statistics, the adaptive constraint operator uses the ratio of the energy index to the boundary as the constraint strength coefficient, shrinking the out-of-bounds sampling points in the amplitude direction of the previous sampling point. The shrinkage ratio is positively correlated with the constraint strength, thereby suppressing amplitude out-of-bounds without introducing a fixed truncation error, and providing a feature sequence of amplitude smoothing for subsequent prediction. Second, the low-rank cascaded gated flicker tracking model compresses the input dimension through a low-dimensional orthogonal projection layer and decomposes the high-dimensional weight matrix into the product of two ultra-low-rank factor matrices through a low-rank decomposition matrix compression layer, reducing the computational load in terms of parameter scale. The cascaded gating operator substitutes the voltage amplitude fluctuation energy into the gate activation equation, blocking deep computation paths when the signal is stable and only activating deep self-circulating nonlinear feedback iterative units when flicker characteristics appear. It uses the Hadamard product of the previous time step error gradient and the current hidden state to generate dynamic compensation weights, enabling the network to continuously track non-stationary flicker trajectories. The particle swarm optimization adaptive threshold pruning algorithm dynamically updates the neuron activation thresholds based on the instantaneous entropy growth rate of the signal, instantly freezing low-activity neurons to further reduce redundant computation. The dynamic compensation weight adjustment function calculates the inter-layer weight allocation index based on the flicker energy accumulation rate, concentrating memory resources to deep layers during high-intensity flicker, allowing the model to match different flicker intensities under limited computing power. Furthermore, the reversible orthogonal transformation extreme fault generation model ensures that the absolute value of the Jacobian determinant is always 1 through Householder reflection parameterized orthogonal matrices. The cascaded affine coupling layer achieves nonlinear reversible mapping, losslessly mapping the non-Gaussian power quality extreme distribution to a standard isotropic Gaussian distribution, accurately preserving the probability density information of the original distribution. The embedded electromagnetic energy conservation dynamics differential equation constraint terms use the absolute value of the difference between the L2 norms of the input and output eigenvectors as a penalty to correct the probability flow direction and prevent the model from drifting to a spurious energy distribution under small sample conditions. During the inference phase, samples are taken from the standard distribution and inversely transformed to generate fault waveforms and their probability densities, achieving quantifiable probability coverage of extreme transient scenarios under small sample conditions. The synergistic effect of these three elements enables the acquisition terminal to output accurate and reliable dynamic power quality monitoring and prediction results under both high-frequency extreme abrupt changes and small-sample fault scenarios.

[0077] The following provides a specific embodiment 1 of the present invention, and the specific implementation of each step in this embodiment 1 is described in detail below.

[0078] The specific implementation method of step S01 is as follows.

[0079] The six aligned digital power quality sampling sequences are read in batches from the data buffer transmission unit. A self-conjugate correlation matrix is ​​constructed for each channel's sampling sequence, the principal phase eigenvector is extracted, the phase difference between each channel and the reference channel is calculated, and a negative compensation phase is applied to complete phase correction. Let the... The phase deviation vector of the channel is Phase alignment threshold is (Corresponding to a phase angle equivalent of 1-5 microseconds), when At that time, a phase compensation coefficient is applied to the channel. The formula is expressed as follows:

[0080] ;

[0081] In the formula, For the first Channel compensation phase, For the first The phase deviation of the channel relative to the reference channel, both measured in radians, completes the spatiotemporal decoupling of the cross-channel signal.

[0082] The specific implementation method of step S02 is as follows.

[0083] The rate of change energy index is calculated for each of the six decoupled signals. Let the... There are a total of channels within the current sampling window. The sampling point, the first The amplitude of each sampling point is The energy index of the rate of change of state of this channel The formula is expressed as follows:

[0084] ;

[0085] In the formula, The unit is , For the first Channel 1 Amplitude of each sampling point (unit) ), This represents the total number of sampling points within the sampling window. Channel number ( ), Sampling point number. Energy boundary of the rate of change of state. (unit The value was determined experimentally, and the recommended range is 0.01–0.1. .when At that time, an adaptive constraint operator is applied to the superboundary sampling points, and the constraint strength coefficient is... The formula is expressed as follows:

[0086] ;

[0087] In the formula, The dimensionless constraint strength coefficient. and All units are After dividing the two Dimensionless. Amplitude after contraction. The formula is expressed as follows:

[0088] ;

[0089] In the formula, For the constrained first Channel 1 Amplitude of each sampling point (unit) ), For the first The channel contraction ratio (dimensionless). and Positive correlation, determined experimentally, with a suggested range of 0.1–0.5. The amplitude of the previous sampling point (unit) The final output is the feature sequence after amplitude smoothing.

[0090] The specific implementation method of step S03 is as follows.

[0091] The amplitude-smoothed feature sequence is input into the low-rank cascaded gated flicker tracking model. First, the input feature vector is processed through a low-dimensional orthogonal projection layer. ( (Recommended range: 64–256) Orthogonally projected to a lower-dimensional subspace, projection matrix. ( (Recommended range 8-32) Initialize using singular value decomposition; the projection result is: ,in for The transpose of the matrix, These are low-dimensional projected eigenvectors. Subsequently, they pass through a low-rank decomposition matrix compression layer to reduce the weight matrix. It can be decomposed into the product of two factor matrices, as expressed by the following formula:

[0092] ;

[0093] In the formula, The left factor matrix, It is a right factor matrix. For the rank of a low-rank decomposition, a range of 2 to 8 is recommended. This is a low-rank approximate weight matrix. It then enters the cascaded gated operator layer, with gated activation values... The formula is expressed as follows:

[0094] ;

[0095] In the formula, It is a logical stethoscope function, i.e. , The voltage amplitude fluctuation energy (in units) is the input feature vector at the current moment. ), Gating weight scalar (unit) ,make Dimensionless It is a gated bias scalar (dimensionless). The dimensionless gating activation value. and All were obtained through training with experimental samples. Gating threshold (Dimensionless) The suggested range is 0.3–0.6, to be determined experimentally. When At that time, the deep network is blocked and the gradient flow is cut off; when At this time, the deep network is activated. The deep network consists of 2 to 4 self-circulating nonlinear feedback iterative units connected in series. The current hidden layer state of each unit... Error gradient with the previous time step Perform Hadamard product operations (i.e., element-wise multiplication) to generate dynamic compensation weights. The result is then weighted and added together with the current hidden state, as expressed in the following formula:

[0096] ,

[0097] ;

[0098] In the formula, For the Hadama multiplier, This is the hidden layer state vector at the current moment. Let be the error gradient vector from the previous time step. For dynamic compensation weight vector, The corrected hidden layer state vectors have the same dimensions, and the Hadamard product maintains the same dimensions. Finally, the predicted flicker trajectory is output through a linear mapping layer. The particle swarm optimization adaptive threshold pruning algorithm dynamically searches for the optimal neuron activation threshold during forward propagation in the hidden layer. The recommended particle count is 20–60, with each particle representing a set of neuron activation threshold vectors. The update formulas for particle velocity and position are as follows:

[0099] ,

[0100] ;

[0101] In the formula, For the first The particle in the first The velocity vector of the wheel, For the first The particle in the first The position vector of the wheel (i.e., the neuron activation threshold vector). For the first The historical optimal position vector of each particle This is the global optimal position vector of the particle swarm. and A random number that is uniformly distributed between 0 and 1. The inertia weight is recommended (range 0.4 to 0.9). The individual learning factor (suggested range 1.5–2.5) The group learning factor (suggested range 1.5–2.5) is determined through experimental iterations. The instantaneous entropy growth rate is used to update particle positions. The difference between the Shannon entropy of the signal amplitude distribution within the current sampling window and time is obtained. Specifically, it is the difference between the Shannon entropy of adjacent windows divided by the window time interval. Neurons below the optimal activation threshold are frozen instantaneously, and gradient updates are stopped.

[0102] The specific implementation method of step S04 is as follows.

[0103] Based on the flicker trajectory prediction value output by S03 Calculate the voltage flicker energy accumulation rate (unit Substitute the values ​​into the dynamic compensation weight adjustment function to calculate the inter-layer weight distribution index. The formula is expressed as follows:

[0104] ;

[0105] In the formula, For dimensionless interlayer weight allocation index, It is the hyperbolic tangent function. Voltage flicker energy accumulation rate (unit) ), Reference value for the rate of accumulation of flicker energy (unit) The recommended range is 0.05 to 0.5. (determined by experiments) This is a dimensionless adjustment coefficient (suggested range 1-5, to be determined experimentally). Dimensionless. When At that time, a uniform distribution strategy is applied to the activation weights of neurons in each layer; when When, the activation weights of deep neurons are weighted in a linearly increasing manner; when At that time, the activation weights of deep neurons are concentrated in an exponentially increasing manner to match the dominant role of deep features in high-intensity flash scenarios. The proportion of shallow memory is... The percentage of deep memory is This enables dynamic reallocation of video memory.

[0106] The specific implementation method of step S05 is as follows.

[0107] The amplitude smoothing feature sequence output by S02 is fed into the reversible orthogonal transform extreme fault generation model. The model consists of 3–6 levels of alternating cascaded reversible orthogonal transform layers and continuous normalized flow topology units. Each level of the reversible orthogonal transform layer employs an orthogonal matrix. ( The input features are subjected to an invertible linear transformation (layer number), and the orthogonal matrix is ​​parameterized using Haushold reflection to ensure that the absolute value of the Jacobian determinant is always 1, thus ensuring lossless transmission of probability density. Divided into and The formula for the two-part, nonlinear invertible mapping is expressed as follows:

[0108] ;

[0109] In the formula, The input feature vector of the affine coupling layer, and for Two subvectors partitioned by dimension The transformed subvector. The scaling function is calculated for small fully connected networks (2-3 layers, 16-64 widths). The translation function is calculated for networks with the same structure. Ensure the scaling factor is positive to guarantee the transformation is invertible. Some parts remain unchanged in this layer. and They have the same dimensions. Electromagnetic energy conservation dynamics differential equation constraint terms are embedded within the 2nd to 4th levels of the reversible orthogonal transformation layer, with penalty quantities... The formula is expressed as follows:

[0110] ;

[0111] In the formula, For the first The L2 norm of the layer output feature vector. For the first The L2 norm of the layer input feature vector, With penalty coefficient (Dimensionless, suggested range 0.01–0.1, determined by experimental parameter tuning) Add to the loss function to correct the probability flow direction and prevent energy drift. and , They have the same dimensions. During inference, samples are taken from a standard isotropic Gaussian distribution, and then inversely derived through each reversible transformation layer to generate future transient fault extreme waveform samples and their corresponding probability density values.

[0112] The specific implementation methods of steps S06 and S07 are relatively simple. S06 involves calculating the flicker trajectory prediction value... The power quality dynamic monitoring and prediction results are generated by fusing the extreme fault waveform probability distribution with voltage flicker severity level and transient fault occurrence probability in a dual-dimensional manner. S07 compares the above results with the monitoring and early warning thresholds (flicker severity index suggested range 0.4 to 0.8, transient fault probability suggested range 0.15 to 0.6). When the threshold is exceeded, an alarm flag is triggered and an early warning signal is output through an external communication interface. The threshold is determined by iterative analysis of the severity level distribution boundary after collecting data from multiple scenarios in the experiment.

[0113] To better understand and implement this invention, the following is a specific application scenario of the invention, Example 2: This example takes the deployment scenario of a power quality acquisition terminal on the bus side of a 110 kV substation as the background. According to the solution of this invention, the entire process of data acquisition, preprocessing, flicker tracking and extreme fault probability generation is fully executed to verify the technical feasibility of this invention in actual engineering scenarios.

[0114] The data acquisition terminal includes: a multi-channel voltage and current transformer group, a high-frequency sampling analog-to-digital converter unit, a phase alignment preprocessing board, a data buffer transmission unit, and a control chip. The multi-channel voltage and current transformer group is electrically connected to the analog input terminal of the high-frequency sampling analog-to-digital converter unit via shielded signal lines. The digital output terminal of the high-frequency sampling analog-to-digital converter unit is electrically connected to the data input terminal of the phase alignment preprocessing board via a parallel data bus. The data output terminal of the phase alignment preprocessing board is electrically connected to the write port of the data buffer transmission unit via a high-speed serial bus. The read port of the data buffer transmission unit is electrically connected to the data interface of the control chip. The control chip is electrically connected to the high-frequency sampling analog-to-digital converter unit, the phase alignment preprocessing board, and the data buffer transmission unit, respectively, and performs control and data interaction. The control chip includes a state change rate energy boundary adaptive sensing and flicker extreme value generation and prediction module, used for real-time feature extraction, extreme value constraint smoothing, flicker trajectory prediction, and transient fault waveform probability generation of multi-channel power quality signals, ultimately outputting power quality dynamic monitoring and prediction results.

[0115] In the hardware configuration of the acquisition terminal, the multi-channel voltage and current transformer group adopts a transformer with a transformation ratio of 200 and an accuracy level of 0.2S. The output signals of the six secondary coils are connected to the high-frequency sampling analog-to-digital conversion unit. The analog-to-digital conversion unit adopts a six-channel synchronous conversion chip with 18-bit resolution and a sampling rate of 1 MHz. The data buffer transmission unit has a built-in 1 GB high-speed dynamic random access memory. The state change rate energy boundary adaptive sensing and flicker extreme value generation and prediction module of this invention runs in the control chip.

[0116] During the training dataset establishment phase, five types of excitation signals—normal operating condition, slight flicker, severe flicker, voltage sag, and harmonic superposition—were applied to the laboratory power quality simulation platform using a programmable power supply. Six digital sequences were acquired at a sampling rate of 1 MHz, resulting in 12,000 valid samples. The sample distribution for each operating condition is shown in Table 1.

[0117] Table 1. Distribution of Samples for Each Working Condition in the Training Dataset

[0118]

[0119] The low-rank cascaded gated flicker tracking model is configured as follows: a low-dimensional orthogonal projection layer orthogonally projects the input feature vector from 128 dimensions to 16 dimensions, and the projection matrix is ​​initialized by singular value decomposition; a low-rank decomposition matrix compression layer... The dimensional weight matrix is ​​decomposed into rank The two factor matrices (dimensions are respectively) and The product of ); in the cascaded gated operator layer and The gating threshold is learned from the training samples. The value is set to 0.45. The deep network consists of three self-circulating nonlinear feedback iterative units connected in series. Each unit multiplies the current hidden layer state vector element-wise with the error gradient vector of the previous time step (Hadamard product), generates dynamic compensation weights, and then weights them with the current hidden state to output the corrected hidden layer state. The data flow is as follows: input features → low-dimensional orthogonal projection layer → low-rank decomposition matrix compression layer → cascaded gating operator layer → (when gating is open) three self-circulating nonlinear feedback iterative units → linear mapping layer → flash trajectory prediction value; the linear mapping layer outputs a dimension of 1, corresponding to the scalar of the flash trajectory prediction value. The model uses mean squared error as the loss function and is trained using an adaptive moment estimation optimization algorithm with an initial learning rate of... Batch size 64, training for 300 epochs, with early stopping condition set on the verification that the set mean square error does not decrease for 30 consecutive epochs. After training, singular values ​​below a certain threshold are removed. The redundant rank components.

[0120] The reversible orthogonal transform extreme fault generation model employs a cascaded structure of four levels of reversible orthogonal transform layers and continuously normalized flow topology units. The orthogonal matrix is ​​parameterized by Householder reflection to ensure the absolute value of the Jacobian determinant is always 1. Each orthogonal transform layer is followed by an affine coupling layer. The fully connected subnetwork has two layers and a width of 32. The second to fourth orthogonal transform layers embed electromagnetic energy conservation dynamics differential equations with a penalty coefficient of 0.05. The model data flow is as follows: six amplitude sequences → successive orthogonal transform layers and affine coupling layers → standard Gaussian distribution (training direction). The inference direction is executed in reverse order: sampling from the standard Gaussian distribution → successive inverse affine coupling layers and inverse orthogonal transform layers → extreme fault waveform samples and probability density output. The negative log-likelihood loss is used as the objective function, with an initial learning rate of... Batch size 32, training 500 epochs, with early stopping condition set that the negative log-likelihood loss on the validation set does not decrease for 50 consecutive epochs. After training, the orthogonality error of each level of orthogonal matrix is ​​below [value missing]. .

[0121] As an equivalent replacement for the low-rank cascaded gated flicker tracking model, the following two alternative structures can be adopted. The first alternative structure is a temporal convolutional network, which consists of multiple stacked causal dilated one-dimensional convolutional layers. Each convolutional kernel expands the receptive field by doubling the dilation factor layer by layer along the time dimension. The input is a 128-dimensional feature vector sequence. After passing through layer-by-layer causal convolution, batch normalization, and linear rectified activation functions, the feature sequence is finally compressed into a fixed-dimensional vector through a global average pooling layer, and then outputs the flicker trajectory prediction value through a linear output layer. This structure ensures that the prediction does not depend on future time information through causal convolution. The loss function and optimization objective are consistent with the main scheme, and the number of parameters can be controlled to a scale comparable to the main scheme by adjusting the number of convolutional kernels. The second alternative structure is a lightweight attention sequence encoder, which consists of alternating stacks of multi-head self-attention layers and feedforward network layers (2-3 layers are recommended). The input 128-dimensional feature sequence is positionally encoded and then fed into the multi-head self-attention layer. It is recommended to have 4 attention heads, each with a dimension of 32. The feedforward network has a hidden dimension of 128. Finally, the predicted value of the flash trajectory is output through a linear mapping layer. This structure establishes feature dependencies in the global time dimension through the self-attention mechanism, which is a functional equivalent replacement for the gating mechanism of the main scheme. The loss function is consistent with the convergence target.

[0122] like Figure 2 As shown, in a measured arc welding load switching event, the A-phase voltage signal experienced a sudden amplitude change at 3.2 ms, and the energy index of the rate of change of state changed from 0.006 under normal operating conditions. It surged to 0.087 The energy boundary of the rate of change of state is exceeded (set value 0.05). The adaptive constraint operator applies a contraction of 0.38 to the sampling point with a constraint strength coefficient of 1.74, and the amplitude out-of-bounds phenomenon of the feature sequence is suppressed after contraction.

[0123] like Figure 3 As shown, during the signal stabilization phase before 3.2 ms, the gated output value of the cascaded gate operator remains between 0.21 and 0.28, which is lower than the gate threshold of 0.45, and the deep self-circulating nonlinear feedback iterative unit is in a blocked state. After the sudden event occurs, the gated output value rises to 0.67, the deep network is turned on, and the three self-circulating nonlinear feedback iterative units sequentially perform the Hadamard product operation on the current hidden layer state and the error gradient and add dynamic compensation weights. The flicker trajectory prediction value continuously tracks the changing trend of the real flicker trajectory in the following 4 ms. As the gated output value falls back below the threshold due to the decay of signal energy, the deep network is blocked again, and invalid calculations are truncated in time.

[0124] Voltage flicker energy accumulation rate Calculated during the mutation phase Substitute Interlayer weight allocation index It belongs to the third interval. An exponentially increasing centralized allocation strategy is applied to the activation weight of deep neurons, and the proportion of deep memory is adjusted to 98%, which matches the dominant role of deep features in high-intensity flash scenarios.

[0125] like Figure 4 As shown, the reversible orthogonal transformation extreme fault generation model, under the condition of only 620 extreme fault samples, samples 1000 times from the standard Gaussian distribution during the inference stage, and generates 1000 future transient fault extreme waveform samples through 4-level inverse transformation. The probability density value of each sample is accurately calculated by multiplying the Jacobian determinant of the inverse transformation. The extreme value amplitude range covered by the generated sample set is shown in Table 2. The electromagnetic energy conservation constraint ensures that the difference between the L2 norms of the eigenvectors before and after each transformation is less than 100%. No energy drift was observed in the probability flow direction, and the generated fault waveform was physically reasonable.

[0126] Table 2. Coverage range of extreme value amplitudes of samples generated by the reversible orthogonal transformation extreme value fault generation model.

[0127]

[0128] As can be seen from Table 2, the extreme value amplitude coverage of the generated samples highly overlaps with the actual historical extreme value amplitude range. This indicates that the reversible orthogonal transformation structure accurately preserves the probability density information of the original distribution through the property that the Jacobian determinant is always 1. The electromagnetic energy conservation constraint term prevents the probability flow from drifting to the non-physical region of energy under small sample conditions, thereby ensuring that the generated samples maintain physical consistency with the real fault data in terms of extreme value amplitude distribution, effectively solving the problem of insufficient prediction ability of extreme value probability distribution under small sample conditions.

[0129] like Figure 5 As shown, the particle swarm optimization adaptive threshold pruning algorithm raises the overall optimal neuron activation threshold vector during the signal stability phase (low instantaneous entropy growth rate), achieving a freezing ratio of 72% and significantly reducing inference computation. During the flicker mutation phase (high instantaneous entropy growth rate), the optimal activation threshold vector decreases overall, with the freezing ratio dropping to 18%, allowing more neurons to participate in tracking computation. As the flicker intensity decays, the freezing ratio gradually recovers, demonstrating the algorithm's ability to adaptively allocate computational resources based on the dynamic characteristics of the signal.

[0130] In step S06, the predicted flicker trajectory value (severity index 0.73, belonging to the severe flicker level) is fused with the extreme fault waveform probability distribution (transient fault probability 0.41) to generate a dynamic power quality monitoring prediction result. If both indicators exceed the monitoring and warning thresholds (flicker severity index 0.6, transient fault probability 0.3), the control chip triggers an alarm flag to be written and outputs a warning signal through the external communication interface. Figure 6 The diagram shows the two-dimensional distribution of the power quality dynamic monitoring and prediction results. The horizontal axis represents the flicker severity index, and the vertical axis represents the probability of transient fault occurrence. The warning threshold boundary divides the result space into the normal zone, the warning zone, and the alarm zone. The monitoring result points fall into the alarm zone, which is consistent with the actual power grid event records.

[0131] It should be noted that the variables involved in this invention are explained in detail in Table 3.

[0132] Table 3. Variable Explanation Table

[0133]

[0134] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any changes or substitutions that can be easily conceived by those skilled in the art within the scope of the technology disclosed in the present invention should be included within the scope of protection of the present invention.

Claims

1. A data acquisition terminal with dynamic monitoring and prediction function for power quality, characterized in that, include: The system comprises a multi-channel voltage and current transformer group, a high-frequency sampling analog-to-digital converter (ADC), a phase alignment preprocessing board, a data buffer transmission unit, and a control chip. The multi-channel voltage and current transformer group is electrically connected to the analog input of the ADC via a shielded signal line. The digital output of the ADC is electrically connected to the data input of the phase alignment preprocessing board via a parallel data bus. The data output of the phase alignment preprocessing board is electrically connected to the write port of the data buffer transmission unit via a high-speed serial bus. The read port of the data buffer transmission unit is electrically connected to the data interface of the control chip. The control chip is electrically connected to the ADC, the phase alignment preprocessing board, and the data buffer transmission unit, respectively, and performs control and data interaction. The control chip includes a state change rate energy boundary adaptive sensing and flicker extreme value generation and prediction module, used for real-time feature extraction, extreme value constraint smoothing, flicker trajectory prediction, and transient fault waveform probability generation of multi-channel power quality signals, ultimately outputting power quality dynamic monitoring and prediction results. The adaptive sensing and flicker extremum generation and prediction module for the energy boundary of the rate of change of state is used to perform the following steps: The six-channel aligned power quality digital sampling sequence is read from the data buffer transmission unit. The instantaneous phase deviation vector of each channel is calculated according to the phase self-conjugate mapping result. The phase compensation coefficient is applied to the channel whose deviation exceeds the phase alignment threshold to complete the spatiotemporal decoupling of the cross-channel signal. The state change rate energy index is calculated for each of the six decoupled signals to determine whether there are high-frequency extreme value mutation events within the current sampling window. An adaptive constraint operator is applied to sampling points that exceed the state change rate energy boundary, and the output is a feature sequence with smoothed amplitude. The state change rate energy index is the energy density estimate of the signal amplitude change per unit time. The cascaded gated operator layer substitutes the voltage amplitude fluctuation energy of the input feature vector at the current moment into the gated activation equation. When the gated output value is lower than the gated threshold, the subsequent deep network feature pipeline is blocked and the gradient flow is truncated. When the gated output value is not lower than the gated threshold, the deep network is turned on. The amplitude-smoothed feature sequence is input into the low-rank cascaded gated flicker tracking model. The low-rank decomposition matrix compression layer completes the parameter compression of the high-dimensional features. The particle swarm optimization adaptive threshold pruning algorithm dynamically freezes redundant neurons. The cascaded gate operator determines whether the current feature belongs to the flicker state and decides whether to conduct the deep network, and outputs the flicker trajectory prediction value. The voltage flicker energy accumulation rate is calculated based on the flicker trajectory prediction value. The inter-layer weight allocation index is calculated by substituting it into the dynamic compensation weight adjustment function. The corresponding adjustment strategy is applied to the inter-layer neuron activation weight of the low-rank cascaded gated flicker tracking model based on the inter-layer weight allocation index. The amplitude smoothing feature sequence is fed into the reversible orthogonal transformation extreme fault generation model. After multiple levels of reversible orthogonal transformation, the non-Gaussian power quality distribution is mapped to a standard isotropic distribution. The electromagnetic energy conservation dynamic differential equation is embedded to correct the probability flow direction. In the inference stage, the standard distribution is sampled and reversed to generate the future transient fault extreme waveform and its probability distribution. The predicted value of flicker trajectory is fused with the probability distribution of extreme fault waveform, and the dynamic monitoring and prediction results of power quality are generated according to the dual dimensions of voltage flicker severity level and transient fault occurrence probability. The power quality dynamic monitoring and prediction results are compared with the monitoring and early warning threshold. When the monitoring and early warning threshold is exceeded, the control chip is triggered to write an alarm flag to the data buffer transmission unit and output an early warning signal through the external communication interface. The adaptive constraint operator specifically uses the ratio of the energy index of the rate of change of the current sampling point to the energy boundary of the rate of change of the state as the constraint strength coefficient, and shrinks the amplitude of the superboundary sampling point in the direction of the amplitude of the previous sampling point. The shrinkage ratio is positively correlated with the constraint strength coefficient.

2. The data acquisition terminal according to claim 1, characterized in that, The determination of the phase alignment threshold is specifically achieved by conducting repeated sampling experiments on multiple heterogeneous sensors under known phase difference conditions, recording the measured phase deviation distribution under different combinations of sampling frequencies and transmission paths, and taking the upper bound of the 95% confidence interval in the distribution as the phase alignment threshold.

3. The data acquisition terminal according to claim 2, characterized in that, The energy index of the rate of change of state is specifically obtained by summing the squares of the amplitude difference sequence between consecutive sampling points within the current sampling window and then dividing by the window length to obtain the energy density estimate of the signal amplitude change per unit time.

4. The data acquisition terminal according to claim 3, characterized in that, The low-rank cascaded gated flicker tracking model includes a low-dimensional orthogonal projection layer, a low-rank decomposition matrix compression layer, a cascaded gated operator layer, and a deep self-circulating nonlinear feedback iterative unit. The deep network is composed of multiple self-circulating nonlinear feedback iterative units connected in series. The current hidden state of each unit is subjected to the Hadamard product operation with the error gradient of the previous time step, and the dynamic compensation weight is generated and then superimposed with the current hidden state.

5. The data acquisition terminal according to claim 4, characterized in that, The particle swarm optimization adaptive threshold pruning algorithm specifically involves each particle in the particle swarm representing a set of neuron activation threshold vectors during the forward propagation of the hidden layer. The algorithm dynamically updates the velocity and position of each particle based on the instantaneous entropy growth rate of the input electrical energy data. By weighting the optimal position of the group and the historical optimal position of the individual, the algorithm guides optimization and calculates the optimal neuron activation threshold vector under the current feature distribution. Neurons below the optimal activation threshold are instantly frozen.

6. The data acquisition terminal according to claim 5, characterized in that, The phase self-conjugate mapping specifically involves constructing a self-conjugate correlation matrix for each channel's sampling sequence, extracting the principal phase eigenvector of the matrix, calculating the phase difference between the principal phase eigenvector of each channel and the principal phase eigenvector of the reference channel, and applying the negative value of the phase difference as a compensation phase to the corresponding channel.

7. The data acquisition terminal according to claim 6, characterized in that, The reversible orthogonal transformation extreme fault generation model consists of multiple levels of reversible orthogonal transformation layers and continuous normalized flow topology units cascaded alternately. Each level of reversible orthogonal transformation layer uses a Householder reflection parameterized orthogonal matrix to ensure that the absolute value of the Jacobian determinant of the transformation is always 1. Each level of reversible orthogonal transformation layer is followed by a continuous normalized flow topology unit to achieve nonlinear reversible mapping through an affine coupling layer structure.

Citation Information

Patent Citations

  • Online fault diagnosis method of intelligent power grid electric energy quality

    CN109884419A

  • Automobile inflator pump and dynamic voltage monitoring control system thereof

    CN120238009A