Smart sensor for online situational awareness in power grids
11527891 · 2022-12-13
Assignee
Inventors
Cpc classification
H02J3/0012
ELECTRICITY
Y02E40/70
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H02J2203/20
ELECTRICITY
Y02E60/00
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H03M7/3059
ELECTRICITY
H02J3/26
ELECTRICITY
Y04S40/20
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
H03M7/30
ELECTRICITY
Y02E40/50
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
Y04S10/22
GENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
G01R19/2513
PHYSICS
International classification
H02J3/26
ELECTRICITY
H03M7/30
ELECTRICITY
G06F17/14
PHYSICS
Abstract
Waveforms in power grids typically reveal a certain pattern with specific features and peculiarities driven by the system operating conditions, internal and external uncertainties, etc. This prompts an observation of different types of waveforms at the measurement points (substations). An innovative next-generation smart sensor technology includes a measurement unit embedded with sophisticated analytics for power grid online surveillance and situational awareness. The smart sensor brings additional levels of smartness into the existing phasor measurement units (PMUs) and intelligent electronic devices (IEDs). It unlocks the full potential of advanced signal processing and machine learning for online power grid monitoring in a distributed paradigm. Within the smart sensor are several interconnected units for signal acquisition, feature extraction, machine learning-based event detection, and a suite of multiple measurement algorithms where the best-fit algorithm is selected in real-time based on the detected operating condition. Embedding such analytics within the sensors and closer to where the data is generated, the distributed intelligence mechanism mitigates the potential risks to communication failures and latencies, as well as malicious cyber threats, which would otherwise compromise the trustworthiness of the end-use applications in distant control centers. The smart sensor achieves a promising classification accuracy on multiple classes of prevailing conditions in the power grid and accordingly improves the measurement quality across the power grid.
Claims
1. A smart sensor for use in a power grid, comprising: a feature extraction module that acquires an input three-phase waveform, extracts waveform signatures and dominant features through a pseudo continuous quadrature wavelet transformation (PCQ-WT), and converts the extracted features to an image; an event detection module having a convolutional neural network (CNN) trained to detect and classify an event on the power grid, classify the extracted feature image from said feature extraction module, and determine if a confidence level of the classification exceeds a threshold; and a synchrophasor estimation algorithm (SEA) selection module that adaptively selects, based on the detected event, an algorithm from amongst a plurality of SEAs based on the classification when the confidence level of the classification exceeds the threshold, and output high-fidelity measurements from the selected algorithm.
2. The sensor of claim 1, wherein the high-fidelity measurements comprise phasor, frequency and/or rate of change of frequency.
3. The sensor of claim 1, wherein the extracted features comprise scalograms.
4. The sensor of claim 3, wherein the scalograms are matrices that contains signal signatures corresponding to events on the power grid.
5. The sensor of claim 4, wherein the scalograms are converted to images by quantizing the scalograms to digital images to compress data size.
6. The sensor of claim 1, wherein the plurality of SEAs run in parallel to ensure high-fidelity measurements at all times.
7. The sensor of claim 1, wherein the SEA selection module selects a default algorithm to estimate phasor quantities, when the confidence level of the classification does not exceed the threshold.
8. The sensor of claim 1, wherein said CNN operates in real time.
9. The sensor of claim 1, said sensor operating in real time.
10. The sensor of claim 1, wherein said sensor can be a standalone unit.
11. The sensor of claim 1, wherein said sensor can be integrated within a Phasor Measurement Unit.
12. A method for a power grid, comprising: acquiring by a feature extraction module of a smart sensor, an input three-phase waveform, extracting waveform signatures and dominant features through a pseudo continuous quadrature wavelet transformation (PCQ-WT), and converting the extracted features to an image; detecting and classifying at an event detection module having a convolutional neural network (CNN) at the smart sensor, an event on the power grid, classifying the extracted feature image from said feature extraction module, and determining if a confidence level of the classification exceeds a threshold; and adaptively selecting at a synchrophasor estimation algorithm (SEA) selection module at the smart sensor, based on the detected event, an algorithm from amongst a plurality of SEAs based on the classification when the confidence level of the classification exceeds the threshold, and outputting high-fidelity measurements from the selected algorithm.
13. The method of claim 12, wherein the high-fidelity measurements comprise phasor, frequency and/or rate of change of frequency.
14. The method of claim 12, wherein the extracted features comprise scalograms.
15. The method of claim 14, wherein the scalograms are matrices that contains signal signatures corresponding to events on the power grid.
16. The method of claim 15, further comprising converting the scalograms to images by quantizing the scalograms to digital images to compress data size.
17. The method of claim 12, wherein the plurality of SEAs run in parallel to ensure high-fidelity measurements at all times.
18. The method of claim 12, further comprising selecting at the SEA selection module, a default algorithm to estimate phasor quantities, when the confidence level of the classification does not exceed the threshold.
19. The method of claim 12, wherein the CNN operates in real time.
20. The method of claim 12, wherein the smart sensor operates in real time.
Description
BRIEF DESCRIPTION OF THE FIGURES
(1)
(2)
(3)
(4)
(5)
(6)
(7)
(8)
(9)
(10)
(11)
(12)
(13)
(14)
(15)
(16)
(17)
(18)
DETAILED DESCRIPTION OF THE INVENTION
(19) In describing the illustrative, non-limiting embodiments of the invention illustrated in the drawings, specific terminology will be resorted to for the sake of clarity. However, the invention is not intended to be limited to the specific terms so selected, and it is to be understood that each specific term includes all technical equivalents that operate in similar manner to accomplish a similar purpose. Several embodiments of the invention are described for illustrative purposes, it being understood that the invention may be embodied in other forms not specifically shown in the drawings.
(20) It has been demonstrated in the previous literature that a pre-installed SEA inside the PMU sensors need to be chosen carefully or tuned at times to meet the performance requirement of the end-use applications employing the measurements. While exposed to different possible operating conditions in power grid, a particular SEA may best fit one certain type of event. Moreover, an SEA can be tuned with distinct parameters, making it difficult to achieve the desired accuracy at all times. Therefore, the measurement performance of the PMU sensor would be improved if an event type could be detected in real-time and, accordingly, a proper SEA is adaptively selected in an automated manner. Motivated by the above statements, real-time event detection and classification appear to be the core problem.
(21) Voltage and current waveforms in power grids reveal a certain pattern with unique features and peculiarities driven by the system operating conditions. For instance, waveform magnitudes and angles can go through step changes during faults; waveform measurements can be noisy; unbalanced load, voltage surge or sag, harmonics, and frequency drift are also common phenomena. The event classification problem in power grids could be then decomposed into two steps. First, the signatures and dominant patterns from the electrical waveforms, which convey valuable information on the underlying events, are extracted. Second, a classifier is employed for event detection and classification based on the extracted features. The events include abnormal frequency, harmonic distortion, out-of-band interferences, angle and/or magnitude modulation in power waveforms, and faults, among many others.
(22) Turning to the drawings,
(23) The Signal Acquisition module 5 shares the same number and type of the Analog to Digital (A2D) processing module 102 (
(24) The Feature Extraction module 10 takes both the cached three-phase waveforms (Phase A, Phase B, and Phase C) and the Clarke-transformed signal from the Signal Acquisition Module. In particular, this module applies pseudo-continuous quadrature wavelet transform (PCQ-WT) to these four types of waveforms to extract their features and patterns, i.e., signal signatures. Mathematically, the feature extraction is a type of time-frequency analysis for waveforms. The extracted patterns on the inputted four waveforms are in the form of four scalograms. The scalograms are 2-dimensional (2D) matrices that contain signal signatures corresponding to the events in power grid. To reduce the memory requirements and computational burden, the four generated scalograms are converted into digital images and then combined into one image with 4 channels, where each channel represents one scalogram image. In one embodiment, the PCQ-WT is the feature extraction approach in the smart sensor technology (see below). The above feature extraction process is done in the Graphics Processing Unit (GPU) 92 (and not the regular CPUs) to improve the time efficiency.
(25) The Feature Extraction module 10 feeds the images obtained in the previous stage into the Event Detection and Classification module 20; here the event detection and classification technology uses the Convolutional Neural Network (CNN) 120 in
(26) The SEA Selection module 30 (shown more fully in
(27) In one example, the event detection module 20 outputs the confidence levels based on the image classification result, and the threshold can be set by the user or developer (or can be set automatically without manual intervention). The final event classification and activation of SEA selection is achieved by comparing the all confidence levels from module 20 with the threshold. If an event's confidence level is higher, the event is passed into module 30, and module 30 performs the SEA selection.
(28)
(29) The sampled three phase waveform captured by the Analog to Digital (A2D) convertor (
(30) To prevent CNN from reporting the classified event in an over sensitive way (for example, when the confidence level reported for multiple events are similar, and only one is the highest among the others), the final classified event is obtained by comparing all confidence levels from 20 with a threshold by a threshold activation function. If the threshold is exceeded, the event is reported, or normal operating condition in the grid is concluded otherwise.
(31) One GPU 92 is the only additional hardware required in the system configuration compared to the conventional PMUs, where the GPU shares the same inputs of the phasor processor. The Feature Extraction module and the Event Detection module are performed sequentially and within the GPU to accelerate the computing speed.
(32) This technology can be used either as a standalone event detection and classification tool (sensors), or it can be functionally embedded in the existing PMUs or Intelligent Electronic Devices (IEDs) with PMU functionalities. The technology enables a mechanism that achieves distributed intelligence across the grid, and decisions and control actions can be taken locally. If the aggregated data from the distributed smart sensor can be exchanged with the neighboring nodes, a wider-area control and decision making becomes feasible, too.
(33) In case of stand-alone operation, the sensor is installed in power substations like other sensors and PMUs. The sensor is, however, smart with intelligence embedded for event detection and classification and adaptive measurements. The traditional sensors are only sensing-only devices based on non-adaptive (only one) measurement algorithm and only provide measurements with no information on event detection and classification. The output of our smart sensor as a stand-alone unit will be used for monitoring the grid and for event detection and classification. They will trigger, if needed, active relays, alarm systems and other equipment.
(34) Power Waveform Acquisition
(35) Mathematically, the input analog voltage and current signals from the power grid (i.e., the step-down transformers) to the smart sensor 100 in each phase can be represented as follows:
x.sub.ph(t)=A.sub.ph(t)cos(2πF.sub.h(t)+ϕ.sub.ph(t)) (1)
where x.sub.ph(t) is a one-dimension (1-D) waveform measured at each phase; A.sub.ph(t), F.sub.h(t), and φ.sub.ph(t) are the instantaneous magnitude, fundamental frequency, and phase angle in each phase, respectively. The waveform in each phase can be expressed by a summation of different orders of harmonic components, as presented in (2):
(36)
where h is the order of harmonics, and H is the maximum order of harmonic of interest. In different grid operating conditions, different values of A.sub.ph,h(t), F.sub.h(t), φ.sub.ph,h(t) will appear in the three-phase power signal, resulting in different patterns and peculiarities. To simplify the time-domain sinusoidal signals analysis and relaxing the need to acquire the rotating reference, Clarke transformation is applied to convert the three-phase signal from ABC- to aβ-frame, as presented in the following:
(37)
(38) PCQ-WT Based Feature Extraction
(39) Since power waveforms contain various frequency components, multi-resolution waveform analytics are suitable to extract the signal signatures and dominant features, i.e., amplitude, frequency, and phase angle. The most commonly-used technique is the short-time Fourier transform (STFT) and the wavelet analysis [15], [16]. Studies show that STFT is attributed a higher computational burden and time, which leads to a lower time resolution than the wavelet analysis in time-frequency domain [17], [18]. Meanwhile, when comparing the STFT spectrogram in
(40) A −2 Hz frequency jump (
(41) Furthermore, the event detection module would benefit from the waveform features instead of accurately-measured frequency, since the accurately-measured frequency from STFT can only detect the grid frequency variation but cannot provide any information on the event classification. In this document, therefore, wavelet analysis is selected as the main mathematical tool of interest for online (i.e., real-time) feature extraction and waveform monitoring.
(42) The wavelet transform of a 1-D waveform is achieved by computing the cross-correlation between the signal of interest x(t) and the designated wavelets. This process is defined by the following equation:
(43)
where, * denotes the complex conjugate; Ψ(t) is a mother wavelet when the scaling factors a=1 and the time shift
(44)
is the “daughter wavelets” of Ψ(t) with different selection of a and b [19]-[21]. With different selections of a and b, a wavelet bank is then determined. By selecting proper intervals for the continuous scaling factor along with the time shift, a continuous wavelet transform (CWT) is achieved [16]. In real-world applications, where the discrete signal processing is applied, both the integration interval and the number of scaling factors are finite. The daughter wavelets' length, so called the “wavelet window size”, is limited and the scaling factor is finite due to the processing capacity limitations of the computing hardware. For all these reasons, the actual behavior of the conventional CWT within the processor is discrete WT with a set of discrete scaling factors a.sup.i, wherein i is an integer. In the Pseudo-CWT, i is chosen from a set of linearly-increasing real numbers instead of integers. Similar to the discrete WT, the PCWT with one of the discrete scaling factors is defined as follows:
(45)
where, Ts denotes the sampling interval, and W stands for the window (buffer) length. In a CWT, each daughter wavelet needs to cover a designated frequency range that reflects the features in time-frequency domain. The central frequency of the daughter wavelets can be approximated by the following relationship with the scaling factor:
f=F.sub.c/a.sub.k (7)
where, F.sub.c is the central frequency of the mother wavelet [19-20]. When a vector of scaling factors with length K is chosen, the wavelet bank Ψ and the extracted features at time instant n are expressed by the following equation:
(46)
Where, T is the conventional transpose. To cover a sufficiently wide range of frequency and provide adequate pattern information for time-frequency analysis in any given operating condition in power grid, the central frequency of mother wavelets F.sub.c and the largest scaling factor a.sub.K must satisfy the following condition:
F.sub.c/a.sub.K<f.sub.0<F.sub.c (9)
where, f.sub.0 is the frequency of the signal of interest. F.sub.c needs to be chosen from a higher frequency range than the maximum frequency of interest and scaled down by a.sub.k. Hence, as a.sub.k increases, the corresponding frequency of the PCWT output decreases in the frequency domain.
(47) Once the scaling factors are chosen, then (8) is able to generate the wavelet bank and a series time bin X.sub.ω.sup.K×1 along the time instants, i.e. the PCWT scalograms are achieved. During the feature extraction process, both transforms require a window (buffer) of samples and, thus, a latency effect indeed exists. Selection of a proper window size could minimize the latency effect, but at the cost of trading off the frequency resolution.
(48) Convolutional Neural Networks (CNNs)
(49) At this stage, we consider the obtained scalograms as 2-D images, and the event classification problem turns into a supervised image classification process. The conventional paradigm for image classification is to manually design the feature extractor and then reduce the dimensionality of the data, where the second phase is to employ a classifier to classify the lower dimensional features. This paradigm highly depends on the efficient design of the feature extractor, and manually designing features for a complex task requires a great deal of human time and effort; it can take decades for an entire community of researchers [21]. In contrast, Convolutional Neural Networks (CNNs) are able to learn the feature extractor automatically and have been proven very successful in the broad range of image-related tasks [22]-[24]. By definition, CNNs are neural networks that use convolution in place of general matrix multiplication in that least one of their layers. In general, the implementation of the convolution is cross-correlations and defined by
(50)
where s.sup.p(m, n) is the output of the convolutional layer at position (m, n) and p-th channel, I.sup.u is the u-th channel of the image/data volume, and K.sup.P is the p-th convolutional kernel. A complex convolutional layer is composed of a small number of simple layers expressed by the following:
I.sub.l=pool(σ(s)) (11)
where, I.sub.l represents the output volume of the l-th layer, σ(⋅) is the non-linearity of the neurons, and pool(⋅) is a down sampling procedure. By stacking the convolutional layers, the abstraction capacity of the network generally increases [25].
(51) The representations of the last convolutional layer are expanded to vectors and processed by the general fully-connected layers, which transform the representations with more nonlinearities into spaces with different (higher or lower) dimensions. The final layer of a CNN reduces the dimensionality of the representations to the number of classes; cross-entropy is then employed to measure the “goodness” of the classification (Kullback-Leibler divergence between the predicted distribution and the target distribution) [26]. Finally, gradients of the cross-entropy loss function with respect to the parameters would help train the CNN by back-propagation.
(52) Analytics for Feature Extraction, Event Detection and Classification
(53) The PCQ-WT for Online Feature Extraction
(54) To identify the events in each phase, the corresponding features need to be observed over time. As the positive frequency and phase angles are of interest for both x.sub.a,β(t) and x.sub.ph(t) during synchrophasor measurements, we provide a Quadrature PCWT (PCQ-WT) to extract the waveform features and signal signatures. Meanwhile, the waveform captured in each phase is a real signal, the 1-D waveform (2) can be expanded by the Euler's formula to adopt the quadrature wavelet transform:
(55)
The next step is to select an appropriate wavelet and investigate its feasibility for waveform feature extraction. Gabor wavelets have been widely used in two-dimension (2-D) pattern recognition [27]—[29]. In order to simplify the design and enhance the computational efficiency, a modified complex Gabor wavelet is adopted and is written as
(56)
where, ω.sub.c, is the central frequency. The Fourier transform of this Gabor wavelet is
(57)
One can see that the Fourier transform of the Gabor wavelet is also a function on the theme of the Gabor wavelet, although the Gabor wavelet transforms do not follow the orthogonal property since
|FΨ(ω.sub.c±ϵ)|≠0 (15)
where, ϵ is a small value. According to (14), this Gabor wavelet possesses a characteristic of predictable narrow bandwidth. By properly selecting a.sub.0, one of the Gabor WT can cover a desired range of frequencies and the time shift b plays no magnitude impact on (14) and (15). To ease the derivation, let b=0, then the CWT using the Gabor wavelet for a unit-length phasor with frequency ω.sub.0>0 computation turns into
(58)
According to the Hubbard-Stratonovich transformation,
(59)
the CWT using the Gabor wavelet in (16) becomes
(60)
It can be seen that when ω.sub.0=ω.sub.c/a, (18) reaches its maximum and the dominant feature of the expected frequency is revealed. In order to make each frequency of interest share an equivalent maximal magnitude, we make
α.sub.0=ω.sub.c/(γa) (19)
where, γ is a constant. Hence, in (13), the Gaussian envelope in the Gabor wavelet is adaptive to different frequencies. While applied to the 1-D waveform, the feature corresponding to a unit phasor with negative frequency (−ω.sub.0) is always suppressed, because the CWT of the negative frequency in (20) decreases as coo increases.
(61)
(62) The discrete form of the Gabor wavelet that is used in a smart sensor is presented as
(63)
(64) When applying the complex Gabor wavelet with a set of discrete scaling factors from a set of linearly-increasing numbers, the PCQ-WT is achieved, and it can be written as
(65)
(66) If one determines the frequencies of interest and designs the Gabor wavelet bank properly, a vector X.sub.ω, consisting a set of PCQ-WTs is achieved, and the PCQ-WT is able to extract the waveform signatures in frequencies of interest via time-frequency analysis, i.e., scalograms are generated.
(67) The CNN for Event Detection & Classification
(68) Pursuing development of an online event detection and classification mechanism, and built on the PCQ-WT extracted features corresponding to various types of events, we provide a machine learning algorithm, i.e., the CNN 120. As discussed earlier, the process of event detection is converted to a supervised classification process on the scalograms. However, the classification on the 2-D scalograms is challenging due to the high dimensionality. Specifically, every frame of the obtained scalogram has scales×time bins dimension (usually hundreds by hundreds); such high-dimensional data is prohibitive in most conventional pattern classification approaches.
(69) We treat the PCQ-WT scalograms as 2-D images and provide a CNN-based architecture to classify the events concealed in the scalograms (images). As the scalogram classification is not with very high abstraction level, the CNN 120 has a simple architecture that meets the requirements of a synchrophasor, yet with very fast test speed. The CNN 120 contains five layers: three convolutional (Conv.) layers and two fully-connected (FC) layers. This framework can be either a standalone tool for event detection and classification or can be functionally embedded within PMUs to assist the phasor processor in selecting a proper SEA in real-time.
(70) The Mechanism for Adaptive Phasor Estimation
(71) The event detection and classification module 20 (
(72) Since it would be highly possible that the best-fit measurements (frequency, phase magnitude and phase angle, ROCOF) may be achieved from several different SEAs under a single event in power systems, an output selector which is loaded with an optimized selecting strategy is needed. The selecting strategy must dynamically switch between one or multiple SEAs.
(73)
(74) The selecting strategy is preloaded in the smart sensor before putting into use. Different SEAs can perform differently under various types of events, and the accuracy of the SEAs can vary. The pre-installed SEAs can be tested and examined in the laboratory environment to determine the best-fit event for each SEA, or can be determined automatically without manual intervention. Then the selecting strategy will be determined. The threshold and activation function are determined by the user, and the settings can by affected by the focused application using the measurements, the size and type of the grid, etc. The selection operation is performed in the Phasor processor 94.
(75) Synchrophasor Measurement includes three outputs: phasor, frequency and rate of change of frequency (ROCOF). The Synchrophasor Estimation Algorithm (SEA) is applied to the power waveform in each phase to calculate the three outputs (Phasor, Frequency, ROCOF). For every detected event and identified operating condition, the best-fit measurements could be obtained from either only one SEA, or up to three different SEAs, from which these three outputs are obtained from.
(76) An example of magnitude step change is shown in
(77) Facilitating a smooth transition to secure, reliable, and resilient power grids of the future, an intelligent sensor technology is provided that harnesses the original waveforms in power grids locally and achieves an auxiliary online surveillance mechanism with fast and accurate event detection, classification, and high-fidelity measurements. In particular, this innovative framework for distributed intelligence has four modules as demonstrated in
(78) Waveform Specifications, Configurations, and Assumptions
(79) All the studied modules share a sampling rate of 9.6 kHz at power grid nominal frequency of 60 Hz, where up to 50.sup.th order (3 kHz) of harmonics is considered in the simulations [6]. According to the Nyquist sampling theorem, the sampling rate used here has a maximum 4.8 kHz coverage as desired. We assumed there is no congestion during data transfer or A2D conversion. Mathematically, the wavelet transform should be able to cover the frequency range from 1 Hz to 3 kHz; the computing complexity of extracting such a frequency range could be reduced while sufficient feature extraction performance is ensured. In the pseudo-continuous quadrature wavelet transform (PCQ-WT) design, we chose the scaling factor a.sub.k ranging from 1 to 256 and in a dyadic dilation manner; i.e., a.sub.k=2.sup.i, wherein the exponent i is equally sampled within [0,8]—i.e., pseudo-continuous.
(80) Through this design, the frequency resolution at high frequency range is reduced, as the harmonics are usually sparse along the spectrum which requires less frequency resolution. Meanwhile, at the low frequency range including the fundamental frequency, the resolution is enhanced, since the 60 Hz waveform is of most interest. When considering the feature exaction performance (accuracy and speed), we chose the wavelet transform window size of 0.02 second in real-time, and time bins W=192 in (6). For simplicity, we use a fixed time shift b.sub.k=96.
(81) TABLE-US-00001 TABLE I Test Name Input Range Test Name Input Range Signal to Noise 40 dB Frequency Step −5 Hz to 5 Hz Ratio (SNR)* Magnitude Step 0.1-2 pu Phase Step ±π/18 radian Harmonic 0.5%-10% THD; Out-of-Band 10 Hz to 120 Hz; Distortion order up to 50.sup.th Interference level 0.01-0.1 pu Amplitude 0.1 Hz to 5 Hz; Angle 0.1 Hz to 5 Hz; Modulation level 0.005-0.1 pu Modulation level 0.005-0.1 pu Frequency ±0.01 Hz/s to Single-line-to- Magnitude drop Ramp ±1 Hz/s, within ground (SLG) 0.2-1 pu ±5 Hz fault*** Line-to-Line Magnitude drop Line-to-line-to- Magnitude drop (LL) fault*** 0.2-1 pu** ground (LLG) 0.1-1 pu fault*** *applied to all test signals. **Phase shift occurs at faulted lines. ***For αβ-frame signal test only
(82) The specifications (test event and corresponding signal parameters) of the input test power waveforms are selected according to [6], [23] as detailed in Table I. Twelve types of waveforms are simulated in total which correspond to various operating conditions in the grid: (i) frequency step change, (ii) magnitude step change, (iii) phase step change, (iv) harmonic distortion, (v) out-of-band interference, (vi) amplitude modulation (AM), (vii) phase angle modulation (PM), (viii) frequency ramp, (ix) single-line-to-ground (SLG) fault, (x) line-to-line (LL) fault, (xi) line-to-line-to-ground (LLG) fault, and the normal operating condition. A Gaussian background noise with signal to noise ratio (SNR) of 40 dB is added to all test waveforms.
(83) Feature Extraction Case Studies and Numerical Results
(84) We here examine the performance of the PCQ-WT feature extraction module (Stage 1) in characterizing distinguishable patterns and signal signatures under a variety of grid operating conditions. For simplicity, the occurrence time of all demonstrated events is assumed the same.
(85) Waveform Feature Extraction Under Transient Events:
(86) Several transient events are simulated and analyzed as follows: the magnitude step change event (
(87) First, several transient events are compared and analyzed below. During the magnitude step change event at t=10 ms—
(88) Comparing features of the frequency step event (starts at t=10 ms) which are shown in
(89) During Out-of-Band inference events (
(90) When comparing the Amplitude Modulation and Angle Modulation events, the edge of the main tune is flat, but the pattern differences are obvious: in αβ-Frame, the center of the main tunes (cyan area) of the Amplitude Modulation event in
(91) In all, we can see that the proposed PCQ-WT can successfully extract and reveal unique features from both complex αβ-Frame and real single-phase waveforms during different types of events in power grids. Even though the low frequency portion in scalogram is still intermittent for single-phase waveforms, the main tune is still continuous, especially the part closer to the high frequency side of the signal. So, the extracted features can be used as images and fed into the machine learning mechanism through CNN.
(92) Waveform Feature Extraction Under Periodical Events
(93) The flowing comparisons focus on the emergence of the steady-state events with periodical impacts on power waveforms. The simulated events include out-of-band inferences (
(94) Event Detection and Classification Module Configuration
(95) The overall framework for online event detection with smart sensors is demonstrated in
(96) Unlike the ordinary images which have homogeneous units on the two axes, the axes of the scalograms are with different units. We chose a wide kernel (5×11) in the first convolutional layer that could extract more information for transitions of the scalogram along the time axis. Accordingly, the stride of the convolution operation in the first layer is chosen (2,3), while that of the other convolutional layers is (1,1). Except the last FC layer, batch normalization is used in each Convolution and FC layers for improved speed, performance and stability of artificial neural networks. Dropout was adopted in the third convolutional layer and the first FC layer to prevent over-fitting. Rectified Linear Unit (ReLU) were chosen as nonlinearities in the neural network. The CNN used cross-entropy as the loss function. Additional details of the CNN 120 (e.g., the number of convolutional kernels) can be seen in
(97) In this experiment, we generated 10,000 samples for each type of event for training and another 1,000 samples of each type for validation the training outcome. Total twelve types of events are used for training the CNNs. The occurrence time of all events was randomly located within the 20 ms run-time window, and the phase of the waveform was randomly selected, too. The three-phase event detection are based on features extracted from the αβ-Frame waveform by CNN4, because it utilizes the most information from the waveforms and fault types are hard to be identified through single-phase waveform (note that in the training of CNNs—CNN1, CNN2, CNN3—fault types are not included for single-phase event detection). Therefore, nine types of events are considered in the single-phase event detection and classification. And the SEA selection is based on the events classified through the single-phase waveform. Finally, another 1,000 samples of each type event are generated for blind testing and to verify the detection accuracy.
(98) Event Detection and Classification Experiment Results and Numerical Analysis
(99) Event Detection Accuracy
(100) The best test results are summarized in the two confusion matrices in
(101) Based on these two confusion matrices and comparing the individual accuracy rate for each type of event, the detection accuracy of transient events is relatively higher than the steady-state events. As the observation window is set to be 40 ms, it is hard to detect within such a short time the modulation event with low frequency or the slow frequency ramp event. It can be seen at
(102) Online Classification Application
(103) The previous analysis verified the accuracy of the event detection scheme; we also conduct an online event detection and classification experiment using the combined feature extraction tool and detection mechanism. Note that the feature extraction takes 1.20±0.23 ms and event classification through CNN takes 1.04±0.31 ms in Python environment. As the total time for event detection is 2.24±0.39 ms, which is much less than one fundamental cycle of the power system (16 ms), the mechanism can be applied for online detection. We use synthetic waveforms to test the online classification performance. The observation window (40 ms duration of features) is generated every 4 ms, which is larger than the combined processing time for the purpose of avoiding congestion.
(104) An example of online Angle Step Event experiment is shown in
(105) An example of the SEA selection is demonstrated in
(106) We also test the framework on a record waveform of duration 0.7 s, the result of which is shown in
CONCLUSION
(107) This document introduces the next-generation smart sensor 100 in power grids that is embedded with innovative data-driven analytics for event detection, classification, and accurate measurements. Expressly, a new multi-resolution online signal processing tool, the PCQ-WT, is dedicated to waveform pattern recognition and feature extraction under variant grid operating conditions such as frequency variations, magnitude changes, phase angle step changes, harmonic distortion, amplitude or angle modulations, etc. An online machine learning mechanism, the CNN 120, is provided that processes the extracted features, detects and classifies a variety of events in the power grid. An adaptive mechanism, the event detection module 20, is housed within the sensor that, based on the detected event, selects the best-fit synchrophasor algorithm in real-time.
(108) The technology transforms the existing sensing-only mechanisms to sensing-and-actuating paradigms with distributed intelligence. The framework achieves high accuracy and fast speed for real-time event detection and classification. A new concept of adaptive SEA selection within the sensor selects the best estimation algorithm in real-time (depending on the detected event) and ensures high-fidelity measurements at all time. The analytics can be implemented on a standalone sensor or can be embedded in the existing PMUs. However, awareness on the performance of the pre-deployed SEAs is crucial for the successful measurements of the smart sensor. Different SEAs perform differently in various types of events, and the accuracy of SEAs varies under different scenarios, too. Therefore, the pre-installed SEAs can be tested and examined in the laboratory environment to determine their best-fit events and their performance according to their response time, accuracy, etc. Under certain circumstance, one or more outputs from one SEA would not be valid.
(109) In addition, performance of the framework can be further improved when detecting both fast- and slow-dynamic transient and static events. The types of the events in the power grid vary in a wide range. Some occur very fast (fast-dynamic) and some emerge very slow (slow-dynamic), but such fast or slow dynamic events would have significant impacts on the SEA measurements. Therefore, to successfully detect all types of events in the grid, other Feature Extraction methods, including but not limited to PCQ-WT, can be used. At the same time, in the Event Detection and Classification module, other neural network technologies such as long short term memory (LSTM) or others can be used.
(110) Both feature extraction and event detection functionalities can be transferred into GPUs to further improve the smart sensor's performance, computationally. Under the scenario that an amplitude modulation event happens in the grid, Module 10 extracts the features corresponding to this event, and based on the features provided by Module 10, Module 20 will evaluate those features and detect and classify the event by giving confidence levels to possible types of events that match the extracted features. If the confidence level is higher than, for example, 50%, then, Module 20 will report the corresponding event and Module 30 will select the SEA outputs (phasor, frequency, ROCOF) which have the highest accuracy under the amplitude modulation event. In one embodiment of a transmission system, the Module 100 can be installed at substations (where data is generated); in distribution system, Module 100 can be installed at critical nodes. The sensor provides fast detection and classification, within 10-30 ms and 1-2 cycles with distributed intelligence in the power grid.
(111) The following documents are incorporated herein by reference: [1] J. A. de la O Serna, “Synchrophasor measurement with polynomial phase-locked-loop Taylor-Fourier filters,” IEEE Transactions on Instrumentation and Measurement, vol. 64, no. 2, pp. 328-337, February 2015. [2] M. Bertocco, G. Frigo, C. Narduzzi, C. Muscas, and P. A. Pegoraro, “Compressive sensing of a Taylor-Fourier multi-frequency model for synchrophasor estimation,” IEEE Transactions on Instrumentation and Measurement, vol. 64, no. 12, pp. 3274-3283, 2015. [3] M. H. Rezaeian Koochi, P. Dehghanian, S. Esmaeili, P. Dehghanian, and S. Wang, “A synchrophasor-based decision tree approach for identification of most coherent generating units,” in Annual Conference of the IEEE Industrial Electronics Society, October 2018, pp. 71-76. [4] S. Wang, P. Dehghanian, and B. Zhang, “A data-driven algorithm for online power grid topology change identification with PMUs,” in IEEE Power Energy Society General Meeting (PESGM), 2019, pp. 1-5. [5] T. Becejac, P. Dehghanian, and M. Kezunovic, “Analysis of PMU algorithm errors during fault transients and out-of-step disturbances,” in IEEE PES Trans. & Distr. Conference—Latin America, 2016, pp. 1-6. [6] “IEEE standard for synchrophasor measurements for power systems,” IEEE Std C37.118.1-2011, pp. 1-61, 2011. [7] D. Macii, D. Petri, and A. Zorat, “Accuracy analysis and enhancement of DFT-based synchrophasor estimators in off-nominal conditions,” IEEE Transactions on Instrumentation and Measurement, vol. 61, no. 10, pp. 2653-2664, October 2012. [8] J. Liu, F. Ni, P. A. Pegoraro, F. Ponci, A. Monti, and C. Muscas, “Fundamental and harmonic synchrophasors estimation using modified Taylor-Kalman filter,” in IEEE International Workshop on Applied Measurements for Power Systems (AMPS), 2012, pp. 1-6. [9] J. A. de la 0 Serna and J. Rodriguez-Maldonado, “Taylor-Kalman-Fourier filters for instantaneous oscillating phasor and harmonic estimates,” IEEE Transactions on Instrumentation and Measurement, vol. 61, no. 4, pp. 941-951, April 2012. [10] V. V. Terzija, M. B. Djuric, and B. D. Kovacevic, “Voltage phasor and local system frequency estimation using Newton type algorithm,” IEEE Transactions on Power Delivery, vol. 9, no. 3, pp. 1368-1374, 1994 [11] M. Chen, L. Peng, Q. Zhao, X. Zou, X. Wang, and X. Wei, “Positive sequence detector based on cascaded delayed quadrature signal cancellation,” in 2015 IEEE Energy Conversion Congress and Exposition (ECCE), September 2015, pp. 1089-1094. [12] S. Golestan and J. M. Guerrero, “Conventional synchronous reference frame phase-locked loop is an adaptive complex filter,” IEEE Trans. on Industrial Electronics, vol. 62, no. 3, pp. 1679-1682, March 2015 [13] S. Wang, P. Dehghanian, M. Alhazmi, and M. Nazemi, “Advanced control solutions for enhanced resilience of modern power-electronic interfaced distribution systems,” Journal of Modern Power Systems and Clean Energy, vol. 7, no. 4, pp. 716-730, 2019. [14] T. Becejac, P. Dehghanian, and M. Kezunovic, “Probabilistic assessment of PMU integrity for planning of periodic maintenance and testing,” in IEEE International Conference on Probabilistic Methods Applied to Power Systems (PMAPS), 2016, pp. 1-6. [15] D. P. Mishra, S. R. Samantaray, and G. Joos, “A combined wavelet and data-mining based intelligent protection scheme for microgrid,” IEEE Transactions on Smart Grid, vol. 7, no. 5, pp. 2295-2304, September 2016. [16] S. Wang, P. Dehghanian, L. Li, and B. Wang, “A machine learning approach to detection of geomagnetically induced currents in power grids,” in IEEE Industry Applications Society (IAS) Annual Meeting, 2019, pp. 1-7. [17] Y.-C. Su, K.-L. Lian, and H.-H. Chang, “Feature selection of non-intrusive load monitoring system using STFT and wavelet transform,” in IEEE International Conference on e-Business Engineering (ICEBE), 2011, pp. 293-298. [18] I. Bayram, “An Analytic Wavelet Transform with a Flexible Time-Frequency Covering,” in IEEE Transactions on Signal Processing, vol. 61, no. 5, pp. 1131-1142, Mar. 1, 2013.doi: 10.1109/TSP.2012.2232655. [19] M. Stephane, “A wavelet tour of signal processing”. Elsevier, 1999. [20] S. Mallat and W. L. Hwang, “Singularity detection and processing with wavelets,” IEEE Transactions on Information Theory, vol. 38, no. 2, pp. 617-643, March 1992. [21] I. Goodfellow, Y. Bengio, and A. Courville, Deep Learning. MIT Press, 2016, http://www.Deeplearningbook.org. [22] A. Krizhevsky, I. Sutskever, and G. E. Hinton, “Imagenet classification with deep convolutional neural networks,” in Advances in Neural Information Processing Systems, 2012, pp. 1097-1105. [23] K. Simonyan and A. Zisserman, “Very deep convolutional networks for large-scale image recognition,” arXiv preprint, arXiv: 1409.1556, 2014. [24] L. A. Gatys, A. S. Ecker, and M. Bethge, “Image style transfer using convolutional neural networks,” in Proceedings of the IEEE Conference on Computer Vision and Pattern Recognition, 2016, pp. 2414-2423. [25] Y. Bengio, A. Courville, and P. Vincent, “Representation learning: A review and new perspectives,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 35, no. 8, pp. 1798-1828, 2013. [26] J. S. Bridle, “Probabilistic interpretation of feedforward classification network outputs, with relationships to statistical pattern recognition,” in Neurocomputing. Springer, 1990, pp. 227-236. [27] Z. Zhang, M. Lyons, M. Schuster, and S. Akamatsu, “Comparison between geometry-based and Gabor-wavelets-based facial expression recognition using multi-layer perceptron,” in Proceedings Third IEEE International Conference on Automatic Face and Gesture Recognition, April 1998, pp. 454-459. [28] B. S. Manjunath and W. Y. Ma, “Texture features for browsing and retrieval of image data,” IEEE Transactions on Pattern Analysis and Machine Intelligence, vol. 18, no. 8, pp. 837-842, August 1996. [29] J. V. B. Soares, J. J. G. Leandro, R. M. Cesar, H. F. Jelinek, and M. J. Cree, “Retinal vessel segmentation using the 2-d gabor wavelet and supervised classification,” IEEE Transactions on Medical Imaging, vol. 25, no. 9, pp. 1214-1222, September 2006.
(112) The system and method of the present invention include operation by one or more processing devices, including the GPU 92 and the phasor micro-processor 94. It is noted that the processing device can be any suitable device, such as a computer, server, mainframe, processor, microprocessor, PC, tablet, smartphone, or the like. The processing devices can be used in combination with other suitable components, such as a display device (monitor, LED screen, digital screen, etc.), memory or storage device, input device (touchscreen, keyboard, pointing device such as a mouse), wireless module (for RF, Bluetooth, infrared, WiFi, etc.). The information may be stored on a storage medium such as a computer hard drive, on a CD ROM disk or on any other appropriate data storage device, which can be located at or in communication with the processing device.
(113) The entire process is conducted automatically by the processing device, and without any manual interaction. Accordingly, unless indicated otherwise the process can occur substantially in real-time without any delays or manual action. As used herein, the term “medium” refers to one or more non-transitory physical media that together store the contents described as being stored thereon. Embodiments may include non-volatile secondary storage, read-only memory (ROM), and/or random-access memory (RAM).
(114) The foregoing description and drawings should be considered as illustrative only of the principles of the invention. The invention may be configured in a variety of shapes and sizes and is not intended to be limited by the embodiment. Numerous applications of the invention will readily occur to those skilled in the art. Therefore, it is not desired to limit the invention to the specific examples disclosed or the exact construction and operation shown and described. Rather, all suitable modifications and equivalents may be resorted to, falling within the scope of the invention.