<?xml version="1.0" encoding="UTF-8"?><!DOCTYPE article  PUBLIC "-//NLM//DTD Journal Publishing DTD v3.0 20080202//EN" "http://dtd.nlm.nih.gov/publishing/3.0/journalpublishing3.dtd"><article xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink" dtd-version="3.0" xml:lang="en" article-type="research article"><front><journal-meta><journal-id journal-id-type="publisher-id">SGRE</journal-id><journal-title-group><journal-title>Smart Grid and Renewable Energy</journal-title></journal-title-group><issn pub-type="epub">2151-481X</issn><publisher><publisher-name>Scientific Research Publishing</publisher-name></publisher></journal-meta><article-meta><article-id pub-id-type="doi">10.4236/sgre.2015.64006</article-id><article-id pub-id-type="publisher-id">SGRE-55919</article-id><article-categories><subj-group subj-group-type="heading"><subject>Articles</subject></subj-group><subj-group subj-group-type="Discipline-v2"><subject>Earth&amp;Environmental Sciences</subject><subject> Engineering</subject></subj-group></article-categories><title-group><article-title>
 
 
  A New Method for Visual Real-Time Monitoring of Low Frequency Oscillation
 
</article-title></title-group><contrib-group><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>o-Jian</surname><given-names>Wen</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Shi-Ming</surname><given-names>Li</given-names></name><xref ref-type="aff" rid="aff1"><sup>1</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Chong-Wen</surname><given-names>Zhou</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Jun</surname><given-names>Luo</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib><contrib contrib-type="author" xlink:type="simple"><name name-style="western"><surname>Fang-Zong</surname><given-names>Wang</given-names></name><xref ref-type="aff" rid="aff2"><sup>2</sup></xref><xref ref-type="corresp" rid="cor1"><sup>*</sup></xref></contrib></contrib-group><aff id="aff2"><addr-line>College of Electrical Engineering and Renewable Energy, China Three Gorges University, Yichang, China</addr-line></aff><aff id="aff1"><addr-line>Guangdong Power Grid Co., Ltd., Power Dispatching Control Center, Guangzhou, China</addr-line></aff><author-notes><corresp id="cor1">* E-mail:<email>wenbojian@gddd.csg.cn(OW)</email>;<email>wenbojian@gddd.csg.cn(SL)</email>;<email>wenbojian@gddd.csg.cn(CZ)</email>;<email>wenbojian@gddd.csg.cn(JL)</email>;<email>wenbojian@gddd.csg.cn(FW)</email>;</corresp></author-notes><pub-date pub-type="epub"><day>20</day><month>04</month><year>2015</year></pub-date><volume>06</volume><issue>04</issue><fpage>59</fpage><lpage>66</lpage><history><date date-type="received"><day>12</day>	<month>March</month>	<year>2015</year></date><date date-type="rev-recd"><day>accepted</day>	<month>14</month>	<year>April</year>	</date><date date-type="accepted"><day>23</day>	<month>April</month>	<year>2015</year></date></history><permissions><copyright-statement>&#169; Copyright  2014 by authors and Scientific Research Publishing Inc. </copyright-statement><copyright-year>2014</copyright-year><license><license-p>This work is licensed under the Creative Commons Attribution International License (CC BY). http://creativecommons.org/licenses/by/4.0/</license-p></license></permissions><abstract><p>
 
 
  Visual real-time monitoring is the premise of low frequency oscillation control in power grids. This paper showed a visual method for the control center of power grids to monitor low frequency oscillation. It processed the PMU real-time data with incomplete S-transform, and converted the waveforms to two-dimensional time-frequency figures which showed the initial time, frequency and amplitude of each low frequency oscillation mode directly. GPU was used to show figures and calculate FFT with the purpose of improving calculation efficiency. The results of practical cases show that the real-time characters of low frequency oscillation can be identified availably by this visualization real-time monitoring method which is helpful and suitable for practical application.
 
</p></abstract><kwd-group><kwd>Low Frequency Oscillation</kwd><kwd> Incomplete S-Transform</kwd><kwd> Real-Time Monitoring</kwd><kwd> Visual</kwd><kwd> GPU</kwd></kwd-group></article-meta></front><body><sec id="s1"><title>1. Introduction</title><p>With the expanding of large-scale interconnected power systems, structure and characteristics of the power system are more and more complex. Low frequency oscillation becomes seriously, which puzzles the operation of power systems [<xref ref-type="bibr" rid="scirp.55919-ref1">1</xref>] . Real-time monitoring is the basis of arranging operation modes legitimately, which can damp low frequency oscillation and improve the stability of power system [<xref ref-type="bibr" rid="scirp.55919-ref2">2</xref>] .</p><p>In recent years, the phasor measurement unit (PMU) based on global positioning system (GPS) is widely spread. The wide area measurement system (WAMS) based on PMU is widely used in engineering practice [<xref ref-type="bibr" rid="scirp.55919-ref3">3</xref>] - [<xref ref-type="bibr" rid="scirp.55919-ref5">5</xref>] . For monitoring low frequency oscillation on-line, the WAMS uses PMU to collect operating data in different locations of power grids and sends them to the dispatch center. Currently, the real-time monitoring is imple- mented by analyzing the PMU real-time data artificially and directly. This method has two kinds of disadvantages. Firstly, it is difficult to determine the number of low frequency oscillation modes. Secondly, it is not easy to determine the frequency and amplitude of each oscillation mode directly.</p><p>As a signal analysis method with multi-resolution, S-transform [<xref ref-type="bibr" rid="scirp.55919-ref6">6</xref>] has been used to solve many electricity problems. It can be used to identify fault lines in power system [<xref ref-type="bibr" rid="scirp.55919-ref7">7</xref>] and analyze power quality disturbances [<xref ref-type="bibr" rid="scirp.55919-ref8">8</xref>] -[<xref ref-type="bibr" rid="scirp.55919-ref12">12</xref>] . It also can be applied to extract specific signal components of non-stationary signal [<xref ref-type="bibr" rid="scirp.55919-ref13">13</xref>] . Results of those researches show that S-transform possesses good time-frequency characteristics and can separate frequency components. Two-dimensional time- frequency figures based on results of S-transform can show the change of frequency and amplitude over time. S-transform was applied to monitor low frequency oscillation on-line in this paper. Only data in the range of 0.2 - 2.5 Hz were needed for monitoring analysis, so the incomplete S-transform was introduced [<xref ref-type="bibr" rid="scirp.55919-ref9">9</xref>] . This paper adopted parallel optimization algorithm on GPU [<xref ref-type="bibr" rid="scirp.55919-ref14">14</xref>] for improving the efficiency.</p></sec><sec id="s2"><title>2. Incomplete S-Transform</title><sec id="s2_1"><title>2.1. S-Transform</title><p>S-transform is a modified short time Fourier transform (STFT). The short time Fourier transform of a signal <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x5.png" xlink:type="simple"/></inline-formula> is defined as</p><disp-formula id="scirp.55919-formula505"><label>. (1)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x6.png"  xlink:type="simple"/></disp-formula><p>In Equation (1), <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x7.png" xlink:type="simple"/></inline-formula>and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x8.png" xlink:type="simple"/></inline-formula> are time and frequency.</p><p>The form-retaining window <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x9.png" xlink:type="simple"/></inline-formula> can be replaced with Gaussian window as</p><disp-formula id="scirp.55919-formula506"><label>. (2)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x10.png"  xlink:type="simple"/></disp-formula><p>Then S-transform of signal <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x11.png" xlink:type="simple"/></inline-formula> is</p><disp-formula id="scirp.55919-formula507"><label>. (3)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x12.png"  xlink:type="simple"/></disp-formula><p>It can be an another form as</p><disp-formula id="scirp.55919-formula508"><label>. (4)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x13.png"  xlink:type="simple"/></disp-formula><p>In Equation (4), <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x14.png" xlink:type="simple"/></inline-formula>is the Fourier transform of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x15.png" xlink:type="simple"/></inline-formula>. The result of S-transform is a two-dimensional time-frequency matrix named matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x16.png" xlink:type="simple"/></inline-formula>. Rows and columns of matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x17.png" xlink:type="simple"/></inline-formula> correspond to frequency and time, and elements correspond to amplitude.</p></sec><sec id="s2_2"><title>2.2. Incomplete S-Transform</title><p>S-transform has heavy computational complexity, but the useful data of low frequency oscillation just account for a small part. In incomplete S-transform, only data of characteristic frequency are calculated, which can reduce the computational complexity and memory space [<xref ref-type="bibr" rid="scirp.55919-ref9">9</xref>] . In the analysis of low frequency oscillation, it also works. Data with information of low frequency oscillation in matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x18.png" xlink:type="simple"/></inline-formula> can be named as matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x19.png" xlink:type="simple"/></inline-formula>. For a N-dimensional discrete signal<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x20.png" xlink:type="simple"/></inline-formula>, the calculation of incomplete S-transform is:</p><p>1) As the Fourier transform of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x21.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x21.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x22.png" xlink:type="simple"/></inline-formula>is given by</p><disp-formula id="scirp.55919-formula509"><label>, (5)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x23.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x24.png" xlink:type="simple"/></inline-formula> is the sampling point of frequency.</p><p>2) Confirm the range of matrix<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x25.png" xlink:type="simple"/></inline-formula>. The corresponding relation of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x26.png" xlink:type="simple"/></inline-formula> and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x25.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x26.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x27.png" xlink:type="simple"/></inline-formula> is</p><disp-formula id="scirp.55919-formula510"><label>, (6)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x28.png"  xlink:type="simple"/></disp-formula><p>where T is the sample interval and <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x29.png" xlink:type="simple"/></inline-formula> is the sampling number. The value of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x30.png" xlink:type="simple"/></inline-formula> can be counted by Equation (6): When <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x31.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x32.png" xlink:type="simple"/></inline-formula>, <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x33.png" xlink:type="simple"/></inline-formula>corresponds to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x34.png" xlink:type="simple"/></inline-formula> and<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x35.png" xlink:type="simple"/></inline-formula>. Then <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x36.png" xlink:type="simple"/></inline-formula> and the number of sampling point of frequency is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x29.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x30.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x31.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x32.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x33.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x34.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x35.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x36.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x37.png" xlink:type="simple"/></inline-formula>.</p><p>3) Move elements of<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x38.png" xlink:type="simple"/></inline-formula>, and the step size is<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x38.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x39.png" xlink:type="simple"/></inline-formula>. Then</p><disp-formula id="scirp.55919-formula511"><label>. (7)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x40.png"  xlink:type="simple"/></disp-formula><p>Vector of window function <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x41.png" xlink:type="simple"/></inline-formula> can be counted by</p><disp-formula id="scirp.55919-formula512"><label>. (8)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x42.png"  xlink:type="simple"/></disp-formula><p>Then, vector <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x43.png" xlink:type="simple"/></inline-formula> is</p><disp-formula id="scirp.55919-formula513"><label>. (9)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x44.png"  xlink:type="simple"/></disp-formula><p>4) Matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x45.png" xlink:type="simple"/></inline-formula> can be expressed as<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x46.png" xlink:type="simple"/></inline-formula>. The inverse Fourier transform of vector <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x47.png" xlink:type="simple"/></inline-formula> corresponds to data of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x48.png" xlink:type="simple"/></inline-formula> matrix in row <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x45.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x46.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x47.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x48.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x49.png" xlink:type="simple"/></inline-formula> as</p><disp-formula id="scirp.55919-formula514"><label>. (10)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x50.png"  xlink:type="simple"/></disp-formula><p>5) Repeat steps 3)-4) and adopt <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x51.png" xlink:type="simple"/></inline-formula> until<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x51.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x52.png" xlink:type="simple"/></inline-formula>.</p><p>6) Extract the modulus matrix of <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x53.png" xlink:type="simple"/></inline-formula> denoted by<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x53.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x54.png" xlink:type="simple"/></inline-formula>, and</p><disp-formula id="scirp.55919-formula515"><label>. (11)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x55.png"  xlink:type="simple"/></disp-formula></sec></sec><sec id="s3"><title>3. Real-Time Monitoring of Low Frequency Oscillation Based on Incomplete S-Transform</title><sec id="s3_1"><title>3.1. Parallel Optimization Algorithm of FFT Based on GPU</title><p>The computation of S-transform is focus on the FFT algorithm and its inverse transformation, which requires large computation and restricts the practical application of the algorithm. GPU is a highly parallel data flow processor aims to improve the vector computing. Therefore, it is obvious to improve calculation efficiency by operating FFT and its inverse algorithm on GPU. Principles to optimize the parallel algorithm of FFT on GPU are illustrated as follows.</p><p>Equation (5) can be shown as</p><disp-formula id="scirp.55919-formula516"><label>, (12)</label><graphic position="anchor" xlink:href="http://html.scirp.org/file/2-6401391x56.png"  xlink:type="simple"/></disp-formula><p>where <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x57.png" xlink:type="simple"/></inline-formula> and it is called twiddle factor. The sampling number <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x58.png" xlink:type="simple"/></inline-formula> satisfies<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x57.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x58.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x59.png" xlink:type="simple"/></inline-formula>.</p><p>The traditional sequential algorithm of FFT on CPU is introduced in [<xref ref-type="bibr" rid="scirp.55919-ref15">15</xref>] . Sequential algorithm will have finished M levels of butterfly operation in total. Butterfly operation of the same twiddle factor should be put in the same group on each level. These groups should be completed one by one until all groups under the same level are completed, then proceeding to the next level. The traditional sequential algorithm of FFT is achieved by the three-cycle structure. Butterfly operation of the same group is the innermost layer. The second layer should change the twiddle factor as well as changing groups, and the outer layer is changing levels. Then M levels of butterfly operation can be finished.</p><p>Comparing to sequential algorithm, the advantages of parallel algorithm on GPU is: Every level has N/2 independent butterfly operation which can be performed in parallel at the same time, which makes the time complexity drop to <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x60.png" xlink:type="simple"/></inline-formula> from<inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x60.png" xlink:type="simple"/></inline-formula><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x61.png" xlink:type="simple"/></inline-formula>. The inverse algorithm of FFT has similar structure, which can be completed by the same way.</p></sec><sec id="s3_2"><title>3.2. Real-Time Monitoring of Low Frequency Oscillation Based on Incomplete S-Transform</title><p>WAMS collects real-time data at different places of power grids by PMU. Then the data will be marked time scale based on GPS and sent to the dispatch center in a high speed by fiber every 20 ms. At present, power dispatchers observe waveforms of PMU data to monitor the low frequency oscillation artificially. It’s hard even for experienced power dispatcher to analyze oscillation modes and their frequency quickly. In that case, a visual real-time monitoring method of low frequency oscillation based on incomplete S-transform in power grids has been proposed. The basic idea is: PMU can be used to collect the active power data of generator and tie line on- line; Those data can be transformed into two-dimensional time-frequency figures by incomplete S-transform process; If the low frequency oscillation occurs on girds, dispatchers can get those figures immediately; The horizontal axis of two-dimensional time-frequency figures shows time and the vertical axis represents the frequency while the amplitude of oscillation is illustrated by brightness; The data of figures should be updated every 20 ms so that those can keep up with PMU data and display the real-time information dynamically.</p><p>The flowchart of visualization real-time monitoring method of low frequency oscillation based on incomplete S-transform is shown in <xref ref-type="fig" rid="fig1">Figure 1</xref>.</p></sec></sec><sec id="s4"><title>4. Case Study</title><p>PMU data of low frequency oscillation in China Southern Power Grids can be used to test the feasibility and effectiveness of this method.</p><p>Case 1: Waveform of PMU active power data on line A in China Southern Power Grids is shown in <xref ref-type="fig" rid="fig2">Figure 2</xref>.</p><p>PMU sends data to the dispatch center every 20 ms, so the data window moves forward <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x62.png" xlink:type="simple"/></inline-formula> at the same time. Changes of waveforms over time are shown in <xref ref-type="fig" rid="fig3">Figure 3</xref>.</p><fig id="fig1"  position="float"><label><xref ref-type="fig" rid="fig1">Figure 1</xref></label><caption><title> Flowchart of visualization real-time monitoring method based on incomplete S-transform</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-6401391x63.png"/></fig><fig id="fig2"  position="float"><label><xref ref-type="fig" rid="fig2">Figure 2</xref></label><caption><title> Waveform of PMU active power data, line A</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-6401391x64.png"/></fig><fig id="fig3"  position="float"><label><xref ref-type="fig" rid="fig3">Figure 3</xref></label><caption><title> Waveforms of PMU active power data over time, line A</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-6401391x65.png"/></fig><p>Obviously, it is hard for human to determine the number, the frequency and the amplitude of low frequency oscillation modes directly.</p><p>Waveforms in <xref ref-type="fig" rid="fig3">Figure 3</xref> can be transformed into two-dimensional time-frequency figures in <xref ref-type="fig" rid="fig4">Figure 4</xref>.</p><p>These two-dimensional time-frequency figures are based on data of matrix <inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x66.png" xlink:type="simple"/></inline-formula> and update data at the same time with PMU. It is easy to obtain the information of time, frequency and amplitude for power dispatchers. For easier analysis, the color of <xref ref-type="fig" rid="fig4">Figure 4</xref>(d) is changed in <xref ref-type="fig" rid="fig5">Figure 5</xref>. It shows that the main oscillation at frequency of 0.68 Hz starts at 18.7 s.</p><p>Case 2: Waveform of PMU active power data on line B in China Southern Power Grids is shown in <xref ref-type="fig" rid="fig6">Figure 6</xref>.</p><p>Waveforms in <xref ref-type="fig" rid="fig6">Figure 6</xref> can be transformed into two-dimensional time-frequency figures in <xref ref-type="fig" rid="fig7">Figure 7</xref> by incomplete S-transform.</p><p>It shows that this method can separate frequency components. The color of <xref ref-type="fig" rid="fig7">Figure 7</xref>(d) is changed in <xref ref-type="fig" rid="fig8">Figure 8</xref>.</p><p>There are two modes of low oscillation, the one at frequency of 0.54 Hz starts at 17.8 s, another at frequency of 0.93 Hz starts at 20.9 s.</p><p>The platform of those cases is Intel Pentium 4 CPU 3.06 GHz and size of main memory is 2 GB. The model of graphics is NVIDIA GEForce7025. Both complete S-transform and incomplete S-transform are performed on GPU and CPU. The computing time of each algorithm is shown in <xref ref-type="table" rid="table1">Table 1</xref>.</p><p>The data show that incomplete S-transform can reduce more than 90 percent of time comparing to the complete one, and running algorithm on GPU is over ten times faster than that on CPU.</p></sec><sec id="s5"><title>5. Conclusions</title><p>This paper introduced a visual real-time monitoring method of low frequency oscillation based on incomplete S- transform, which transformed waveforms into two-dimensional time-frequency figures. Results showed that this method can determine the number, frequency and starting time of low frequency oscillation modes directly and exactly.</p><p>This paper adopted parallel optimization algorithm on GPU for FFT in incomplete S-transform, which improved the efficiency greatly.</p><fig id="fig4"  position="float"><label><xref ref-type="fig" rid="fig4">Figure 4</xref></label><caption><title> Two-dimensional time-frequency figures of active power signal over time, line A</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-6401391x67.png"/></fig><fig id="fig5"  position="float"><label><xref ref-type="fig" rid="fig5">Figure 5</xref></label><caption><title> Two-dimensional time-frequency figures of active power signal in 8.7 - 29.16 s, line A</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-6401391x68.png"/></fig><fig id="fig6"  position="float"><label><xref ref-type="fig" rid="fig6">Figure 6</xref></label><caption><title> Waveform of PMU active power data, line B</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-6401391x69.png"/></fig><fig id="fig7"  position="float"><label><xref ref-type="fig" rid="fig7">Figure 7</xref></label><caption><title> Two-dimensional time-frequency figures of active power signal over time, line B</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-6401391x70.png"/></fig><fig id="fig8"  position="float"><label><xref ref-type="fig" rid="fig8">Figure 8</xref></label><caption><title> Two-dimensional time-frequency figures of active power signal in 6 - 26.46 s, line B</title></caption><graphic mimetype="image"   position="float"  xlink:type="simple"  xlink:href="http://html.scirp.org/file/2-6401391x71.png"/></fig><table-wrap id="table1" ><label><xref ref-type="table" rid="table1">Table 1</xref></label><caption><title> Comparison of computing time by each algorithm</title></caption><table><tbody><thead><tr><th align="center" valign="middle"  colspan="2"   rowspan="2"  >Matrix</th><th align="center" valign="middle"  colspan="2"  >Computing time (ms)</th></tr></thead><tr><td align="center" valign="middle" >CPU</td><td align="center" valign="middle" >GPU</td></tr><tr><td align="center" valign="middle"  rowspan="2"  >Line A</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x72.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >507.73</td><td align="center" valign="middle" >48.11</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x73.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >46.56</td><td align="center" valign="middle" >4.02</td></tr><tr><td align="center" valign="middle"  rowspan="2"  >Line B</td><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x74.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >509.30</td><td align="center" valign="middle" >49.94</td></tr><tr><td align="center" valign="middle" ><inline-formula><inline-graphic xlink:href="http://html.scirp.org/file/2-6401391x75.png" xlink:type="simple"/></inline-formula></td><td align="center" valign="middle" >47.29</td><td align="center" valign="middle" >4.18</td></tr></tbody></table></table-wrap><p>The method in this paper has been applied to China Guangdong Power Grid Company. The operational results show that this method can reflect the real-time characteristics to power dispatchers directly and exactly.</p></sec></body><back><ref-list><title>References</title><ref id="scirp.55919-ref1"><label>1</label><mixed-citation publication-type="other" xlink:type="simple">Zhu, F., Zhao, H.-G., Liu, Z.-H., et al. (2007) The Influence of Large Power Grid Interconnected on Power System Dynamic Stability. Proceedings of the CSEE, 27, 1-7.</mixed-citation></ref><ref id="scirp.55919-ref2"><label>2</label><mixed-citation publication-type="other" xlink:type="simple">Liang, S.-Y., Li, M., Li, P. and Chen, G. (2007) Algorithm of Real-Time Detection Low-Frequency Oscillation in Power System Base on the SCADA Data. Southern Power System Technology, 1, 40-42.</mixed-citation></ref><ref id="scirp.55919-ref3"><label>3</label><mixed-citation publication-type="other" xlink:type="simple">Cheng, Y.-F., Zhang, X.-R. and Lu, C. (2014) Research Progress of the Application of Wide Area Measurement Technology in Power System. Power System Protection and Control, 42, 145-153.</mixed-citation></ref><ref id="scirp.55919-ref4"><label>4</label><mixed-citation publication-type="other" xlink:type="simple">Xu, S.-K., Xie, X.-R. and Xin, Y.-Z. (2005) Present Application Situation and Development Tendency of Synchronous Phasor Measurement Technology Based Wide Area Measurement System. Power System Technology, 29, 44-49.</mixed-citation></ref><ref id="scirp.55919-ref5"><label>5</label><mixed-citation publication-type="other" xlink:type="simple">Wu, H.-X. and Chang, Y. (2008) Advance of Monitor and Control of Low Frequency Oscillation Based on WAMS. High Voltage Engineering, 34, 1737-1744.</mixed-citation></ref><ref id="scirp.55919-ref6"><label>6</label><mixed-citation publication-type="other" xlink:type="simple">Stockwell, R.G., Mansinha, L. and Lowe, R.P. (1996) Localization of the Complex Spectrum: The S Transform. IEEE Transactions on Signal Processing, 44, 998-1001.  
http://dx.doi.org/10.1109/78.492555</mixed-citation></ref><ref id="scirp.55919-ref7"><label>7</label><mixed-citation publication-type="other" xlink:type="simple">Zhang, J., He, Z.-Y. and Jia, Y. (2011) Fault Line Identification Approach Based on S-Transform. Proceedings of the CSEE, 31, 109-115.</mixed-citation></ref><ref id="scirp.55919-ref8"><label>8</label><mixed-citation publication-type="other" xlink:type="simple">Yi, J.-L., Peng, J.-C. and Tan, H.-S. (2011) A Summary of S-Transform Applied to Power Quality Disturbances Analysis. Power System Protection and Control, 39, 141-147.</mixed-citation></ref><ref id="scirp.55919-ref9"><label>9</label><mixed-citation publication-type="other" xlink:type="simple">Yi, J.-L., Peng, J.-C. and Tan, H.-S. (2009) Detection Method of Power Quality Disturbances Using Incomplete S-Transform. High Voltage Engineering, 35, 2562-2567.</mixed-citation></ref><ref id="scirp.55919-ref10"><label>10</label><mixed-citation publication-type="other" xlink:type="simple">Liu, Q., Zhou, L.-W. and Lu, W.-G. (2012) Localization and Identification of Transient Power Quality Disturbances Based on Generalized S-Transform. Power System Protection and Control, 40, 60-65.</mixed-citation></ref><ref id="scirp.55919-ref11"><label>11</label><mixed-citation publication-type="other" xlink:type="simple">Tang, Q., Teng, Z.-S., Gao, Y.-P. and Zhou, Y.B.. (2012) Voltage Flicker Measurement Using Square Demodulation Method Based on S-transform. Proceedings of the CSEE, 32, 60-67.</mixed-citation></ref><ref id="scirp.55919-ref12"><label>12</label><mixed-citation publication-type="other" xlink:type="simple">Chen, L., Wang, S. and Kong, W.-G. (2014) Method to Identify Composite Voltage Sag Disturbance Sources Based on Generalized S-Transform. Power System Protection and Control, 42, 27-33.</mixed-citation></ref><ref id="scirp.55919-ref13"><label>13</label><mixed-citation publication-type="other" xlink:type="simple">Chen, X.-H., He, Z.-H. and Huang, D.-J. (2008) Generalized S Transform and Its Time-frequency Filtering. Signal Processing, 24, 28-31.</mixed-citation></ref><ref id="scirp.55919-ref14"><label>14</label><mixed-citation publication-type="other" xlink:type="simple">Brandon, L.D., Boyd, C. and Govindaraju, N. (2008) Fast Computation of General Fourier Transforms on GPUs. IEEE International Conference on Multimedia and Expo, Hannover, 23-26 June 2008, 5-8.</mixed-citation></ref><ref id="scirp.55919-ref15"><label>15</label><mixed-citation publication-type="other" xlink:type="simple">Zhao, L.-L., Zhang, S.-B., Zhang, M. and Yao, T. (2011) High Performance FFT Computation Based on CUDA. Application Research of Computers, 28, 1556-1559.</mixed-citation></ref></ref-list></back></article>