CN105022920A - Fault recording data analysis system based on Reverse Polish notation formula editor - Google Patents
Fault recording data analysis system based on Reverse Polish notation formula editor Download PDFInfo
- Publication number
- CN105022920A CN105022920A CN201510394363.2A CN201510394363A CN105022920A CN 105022920 A CN105022920 A CN 105022920A CN 201510394363 A CN201510394363 A CN 201510394363A CN 105022920 A CN105022920 A CN 105022920A
- Authority
- CN
- China
- Prior art keywords
- analysis
- formula
- expression
- polan
- analysis module
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
Landscapes
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
The invention discloses a fault recording data analysis system based on a Reverse Polish notation formula editor. The system further comprises a customized analysis module based on the Reverse Polish notation formula editor. The customized analysis module is used for implementing arithmetic operation on a channel specified value, and the process of implementing arithmetic operation on the channel specified value by the customized analysis module comprises the following steps of: 1, editing an analysis operational formula by the formula editor; 2, judging whether the analysis operational formula is valid; 3, storing the analysis operational formula; 4, analyzing and calculating the analysis operational formula point by point through the principle of Reverse Polish notation; 5, generating a new channel with the calculation result; 6, displaying related information of the new channel. The fault recording data analysis system based on the Reverse Polish notation formula editor not only provides a basic analysis function, but also provides a function of customizing the analysis operational formula for analyzers, so as to obtain more valuable analysis result.
Description
Technical field
The present invention relates to a kind of analysis with fault wave recorder system based on inversed Polan algorithm formula editors, belong to Automation of Electric Systems microcomputer protective relay field and computer software technology application.
Background technology
Along with the continuous growth of electricity needs, electric system scale is also day by day huge, and day by day complicated, its security also more and more seems important.Along with the development of electric system scale, in power system development process, achieve significant progress as the requisite failure wave-recording technology of power system fault analysis.
As the important evidence of power system fault analysis and protection act criterion; Power System Fault Record data can record electric system day-to-day operation situation and the change of the front and back system waveform that breaks down, and the reason occurred for research fault, rule and various protection act behavior provide necessary data supporting.The Power System Fault Record data that existing record ripple product provides not are to find out the visual data of failure cause at a glance, but by some subchannel according to the scale-of-two of certain sequential storage or ASCII character data, so need to analyze by special analysis with fault wave recorder software, the reason of fault generation could be found out according to Power System Fault Record data.
On market, existing Power System Fault Record data analysis system comprises frequency analysis module, phase/sequence component analysis module, impedance analysis module, power analysis module, merit angle analysis module, frequency analysis module, difference flow analysis and polar plot analysis module, frequency analysis, phase/sequence component analysis, impedance analysis, power analysis, the analysis of merit angle, frequency analysis, fundamental analysis such as difference flow analysis, polar plot analysis etc. can be carried out, the primary demand of user can be met.But for user's (as electric system expert user) of high requirement, these general analytic functions be then far difficult to meet he (she) demand, he (she) often need software to provide custom analysis calculation function, wherein even may comprise complicated mathematical computations.
Summary of the invention
In order to solve the problems of the technologies described above, the invention provides a kind of analysis with fault wave recorder system based on inversed Polan algorithm formula editors.
In order to achieve the above object, the technical solution adopted in the present invention is:
Based on the analysis with fault wave recorder system of inversed Polan algorithm formula editors, comprise frequency analysis module, phase/sequence component analysis module, impedance analysis module, power analysis module, merit angle analysis module, frequency analysis module, difference flow analysis module and polar plot analysis module, also comprise the self-defined analysis module based on inversed Polan algorithm formula editors, described self-defined analysis module is in order to realize carrying out arithmetical operation to passage designated value, described passage designated value comprises frequency departure, effective value, signal distortion, phase differential, impedance magnitude, impedance phase, active power, reactive power, harmonic amplitude, harmonic phase, phase shift, positive sequence, negative phase-sequence, zero sequence and Sudden Changing Rate,
Described self-defined analysis module realizes carrying out arithmetical operation process to passage designated value,
Step one, utilizes formula editors editor analytic operation formula;
Step 2, according to computing validity principle, whether discriminatory analysis operational formula is effective, if so, then goes to step three, if not then going to step one;
Step 3, preserves analytic operation formula;
Step 4, pointwise uses inversed Polan algorithm principle to resolve analytic operation formula and calculate;
Step 5, generates new passage by result of calculation;
Step 6, shows the relevant information of main interface display new tunnel at passage.
Pointwise use inversed Polan algorithm principle to the process that analytic operation formula is resolved and calculated is,
A1) bring analytic operation formula into corresponding channel value, and convert analytic operation formula to infix expression;
A2) infix expression is converted to inverse Polan expression;
A3) evaluation is carried out to inverse Polan expression.
Process analytic operation formula being converted to infix expression is, scanning analysis operational formula from left to right, if scan the operational symbol outside character numeral, then get passage respective value or numerical value calculates, by operational symbol corresponding in the result substitution analysis operational formula of calculating, until scan complete analytic operation formula, export infix expression.
Process infix expression being converted to inverse Polan expression is,
B1) construct an operator stack, operational symbol follows more higher toward stack top priority principle in operator stack;
B2) infix expression is read in;
B3) this infix expression is scanned from left to right, until scan complete infix expression;
If the character scanned is numeric string, this numeric string is directly exported;
If the character scanned is operational symbol, the precedence relationship of the operational symbol of this operational symbol and stack top is compared, if this precedence of operator relation is higher than the operational symbol of stack top, then by stacked for this operational symbol, if this precedence of operator relation is lower than the operational symbol of stack top, then the operational symbol of stack top is ejected from stack, until the priority of the operational symbol of stack top is lower than this operational symbol, by stacked for this operational symbol;
B4) infix expression converts inverse Polan expression to.
The process of inverse Polan expression being carried out to evaluation is,
C1) operand stack is constructed;
C2) inverse Polan expression is scanned from left to right, until scan complete inverse Polan expression;
If the project scanned is operand, then by this operand press-in storehouse;
If the project scanned is a binary operator, then this binary operator is performed to two operands of storehouse stack top, operation result is pressed into storehouse;
If the project scanned is a unary operator, then this unary operator is performed to the operand of storehouse stack top, operation result is pressed into storehouse;
C3) end value is in storehouse.
The beneficial effect that the present invention reaches: the present invention provide not only fundamental analysis function, additionally provides for analyst oneself custom analysis operational formula function, to draw more valuable analysis result.
Accompanying drawing explanation
Fig. 1 is the process flow diagram of fundamental analysis function.
Fig. 2 is the process flow diagram that self-defined analysis module realizes carrying out passage designated value arithmetical operation.
Fig. 3 is the process flow diagram that analytic operation formula converts infix expression to.
Fig. 4 is the process flow diagram that infix expression converts inverse Polan expression to.
Fig. 5 carries out the process flow diagram of evaluation to inverse Polan expression.
Embodiment
Below in conjunction with accompanying drawing, the invention will be further described.Following examples only for technical scheme of the present invention is clearly described, and can not limit the scope of the invention with this.
Based on the analysis with fault wave recorder system of inversed Polan algorithm formula editors, comprise frequency analysis module, phase/sequence component analysis module, impedance analysis module, power analysis module, merit angle analysis module, frequency analysis module, difference flow analysis module, polar plot analysis module and the self-defined analysis module based on inversed Polan algorithm formula editors.
As shown in Figure 1, needed to detect the validity of fault data file before analysis with fault wave recorder, by modules, effective fault data file is analyzed, wherein frequency analysis module, phase/sequence component analysis module, impedance analysis module, power analysis module, merit angle analysis module, frequency analysis module, difference flow analysis and polar plot analysis module are existing basic function module, frequency analysis can be carried out respectively to fault data, phase/sequence component analysis, impedance analysis, power analysis, merit angle is analyzed, frequency analysis, difference flow analysis and polar plot analysis.Self-defined analysis module is in order to realize carrying out arithmetical operation to passage designated value, and passage designated value comprises frequency departure, effective value, signal distortion, phase differential, impedance magnitude, impedance phase, active power, reactive power, harmonic amplitude, harmonic phase, phase shift, positive sequence, negative phase-sequence, zero sequence and Sudden Changing Rate.
Self-defined analysis module realizes carrying out arithmetical operation process as shown in Figure 2 to passage designated value:
Step one, utilizes formula editors editor analytic operation formula.
Step 2, according to computing validity principle, whether discriminatory analysis operational formula is effective, (namely use inversed Polan algorithm principle to resolve analytic operation formula and do not occur that abnormal is then effective, otherwise be invalid), if, then go to step three, if not then going to step one.
Step 3, preserves analytic operation formula.
Step 4, pointwise uses inversed Polan algorithm principle to resolve analytic operation formula and calculate.
Process is as follows:
A1) bring analytic operation formula into corresponding channel value, and convert analytic operation formula to infix expression.
Convert analytic operation formula the process of infix expression to as shown in Figure 3: scanning analysis operational formula from left to right, if scan the operational symbol outside numeral, then get passage respective value or numerical value calculates, by operational symbol corresponding in the result substitution analysis operational formula of calculating, until scan complete analytic operation formula, export infix expression.
A2) infix expression is converted to inverse Polan expression.
Process infix expression being converted to inverse Polan expression is:
B1) construct an operator stack, operational symbol follows more higher toward stack top priority principle in operator stack.
B2) infix expression is read in.
B3) this infix expression is scanned from left to right, until scan complete infix expression.
If the character scanned is numeric string, this numeric string is directly exported;
If the character scanned is operational symbol, the precedence relationship of the operational symbol of this operational symbol and stack top is compared, if this precedence of operator relation is higher than the operational symbol of stack top, then by stacked for this operational symbol, if this precedence of operator relation is lower than the operational symbol of stack top, then the operational symbol of stack top is ejected from stack, until the priority of the operational symbol of stack top is lower than this operational symbol, by stacked for this operational symbol.
B4) infix expression converts inverse Polan expression to.
As shown in Figure 4, wherein si is the character scanned to detailed process, and re is the result expression string value exported, and sk is operator stack, and sc is the operational symbol of stack top.
A3) evaluation is carried out to inverse Polan expression.
The process of evaluation is carried out as shown in Figure 5 to inverse Polan expression:
C1) operand stack is constructed.
C2) inverse Polan expression is scanned from left to right, until scan complete inverse Polan expression;
If the project scanned is operand, then by this operand press-in storehouse;
If the project scanned is a binary operator, then this binary operator is performed to two operands of storehouse stack top, operation result is pressed into storehouse;
If the project scanned is a unary operator, then this unary operator is performed to the operand of storehouse stack top, operation result is pressed into storehouse.
C3) end value is in storehouse.
Step 5, generates new passage by result of calculation.
Step 6, shows the relevant information of main interface display new tunnel, as the waveform etc. of new tunnel at passage.
Self-defined analysis module carries out branch by inversed Polan algorithm to the analytic operation formula that user writes and resolves and node-by-node algorithm, last with the result of the Form generation computing of new tunnel, the new tunnel of generation to be presented in channel list simultaneously and to can be used as foundation channel and participate in again analyzed.
On the whole, Power System Fault Record data analysis system, provide not only fundamental analysis function, additionally provides for analyst oneself custom analysis operational formula function, to draw more valuable analysis result.
The above is only the preferred embodiment of the present invention; it should be pointed out that for those skilled in the art, under the prerequisite not departing from the technology of the present invention principle; can also make some improvement and distortion, these improve and distortion also should be considered as protection scope of the present invention.
Claims (5)
1. based on the analysis with fault wave recorder system of inversed Polan algorithm formula editors, comprise frequency analysis module, phase/sequence component analysis module, impedance analysis module, power analysis module, merit angle analysis module, frequency analysis module, difference flow analysis module and polar plot analysis module, it is characterized in that: also comprise the self-defined analysis module based on inversed Polan algorithm formula editors, described self-defined analysis module is in order to realize carrying out arithmetical operation to passage designated value, described passage designated value comprises frequency departure, effective value, signal distortion, phase differential, impedance magnitude, impedance phase, active power, reactive power, harmonic amplitude, harmonic phase, phase shift, positive sequence, negative phase-sequence, zero sequence and Sudden Changing Rate,
Described self-defined analysis module realizes carrying out arithmetical operation process to passage designated value,
Step one, utilizes formula editors editor analytic operation formula;
Step 2, according to computing validity principle, whether discriminatory analysis operational formula is effective, if so, then goes to step three, if not then going to step one;
Step 3, preserves analytic operation formula;
Step 4, pointwise uses inversed Polan algorithm principle to resolve analytic operation formula and calculate;
Step 5, generates new passage by result of calculation;
Step 6, shows the relevant information of main interface display new tunnel at passage.
2. the analysis with fault wave recorder system based on inversed Polan algorithm formula editors according to claim 1, is characterized in that: pointwise use inversed Polan algorithm principle to the process that analytic operation formula is resolved and calculated is,
A1) bring analytic operation formula into corresponding channel value, and convert analytic operation formula to infix expression;
A2) infix expression is converted to inverse Polan expression;
A3) evaluation is carried out to inverse Polan expression.
3. the analysis with fault wave recorder system based on inversed Polan algorithm formula editors according to claim 2, it is characterized in that: process analytic operation formula being converted to infix expression is, scanning analysis operational formula from left to right, if scan the operational symbol outside numeral, then get passage respective value or numerical value calculates, by operational symbol corresponding in the result substitution analysis operational formula of calculating, until scan complete analytic operation formula, export infix expression.
4. the analysis with fault wave recorder system based on inversed Polan algorithm formula editors according to claim 2, is characterized in that: process infix expression being converted to inverse Polan expression is,
B1) construct an operator stack, operational symbol follows more higher toward stack top priority principle in operator stack;
B2) infix expression is read in;
B3) this infix expression is scanned from left to right, until scan complete infix expression;
If the character scanned is numeric string, this numeric string is directly exported;
If the character scanned is operational symbol, the precedence relationship of the operational symbol of this operational symbol and stack top is compared, if this precedence of operator relation is higher than the operational symbol of stack top, then by stacked for this operational symbol, if this precedence of operator relation is lower than the operational symbol of stack top, then the operational symbol of stack top is ejected from stack, until the priority of the operational symbol of stack top is lower than this operational symbol, by stacked for this operational symbol;
B4) infix expression converts inverse Polan expression to.
5. the analysis with fault wave recorder system based on inversed Polan algorithm formula editors according to claim 2, is characterized in that: the process of inverse Polan expression being carried out to evaluation is,
C1) operand stack is constructed;
C2) inverse Polan expression is scanned from left to right, until scan complete inverse Polan expression;
If the project scanned is operand, then by this operand press-in storehouse;
If the project scanned is a binary operator, then this binary operator is performed to two operands of storehouse stack top, operation result is pressed into storehouse;
If the project scanned is a unary operator, then this unary operator is performed to the operand of storehouse stack top, operation result is pressed into storehouse;
C3) end value is in storehouse.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510394363.2A CN105022920A (en) | 2015-07-07 | 2015-07-07 | Fault recording data analysis system based on Reverse Polish notation formula editor |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201510394363.2A CN105022920A (en) | 2015-07-07 | 2015-07-07 | Fault recording data analysis system based on Reverse Polish notation formula editor |
Publications (1)
Publication Number | Publication Date |
---|---|
CN105022920A true CN105022920A (en) | 2015-11-04 |
Family
ID=54412886
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201510394363.2A Pending CN105022920A (en) | 2015-07-07 | 2015-07-07 | Fault recording data analysis system based on Reverse Polish notation formula editor |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105022920A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648753A (en) * | 2016-11-23 | 2017-05-10 | 北京航天自动控制研究所 | Automatic criterion analysis method based on reverse Polish notation algorithm |
CN107203500A (en) * | 2017-01-10 | 2017-09-26 | 大连交通大学 | The automatic switching method of the excel formula object oriented languages of expansion backtracking is replaced based on recurrence |
CN109582544A (en) * | 2018-10-29 | 2019-04-05 | 中国航空无线电电子研究所 | Unit warning system based on configuration |
CN110493167A (en) * | 2018-07-14 | 2019-11-22 | 北京数安鑫云信息技术有限公司 | A kind of realization method and system of high-effect depth threat identification engine |
CN111767004A (en) * | 2020-06-30 | 2020-10-13 | 电子科技大学 | Digital oscilloscope mathematical operation processing method based on inverse Polish algorithm |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020116139A1 (en) * | 2000-11-28 | 2002-08-22 | Przydatek Piotr B. | Apparatus and method for measuring and reporting the reliability of a power distribution system |
US20090012728A1 (en) * | 2005-01-27 | 2009-01-08 | Electro Industries/Gauge Tech. | System and Method for Multi-Rate Concurrent Waveform Capture and Storage for Power Quality Metering |
CN201477192U (en) * | 2009-05-12 | 2010-05-19 | 新疆新能许继自动化有限责任公司 | Digital wave-recording device of power generator transformer set/circuit |
CN102937685A (en) * | 2012-12-11 | 2013-02-20 | 上海市电力公司 | Real-time simulation technique-based integrated testing platform for substation |
CN103544574A (en) * | 2013-11-07 | 2014-01-29 | 南京国电南自轨道交通工程有限公司 | Transformer station intelligent expert system based on editable formula scripts |
CN104242454A (en) * | 2014-09-24 | 2014-12-24 | 刘瑞 | Power monitoring system of rail transit power supply system |
-
2015
- 2015-07-07 CN CN201510394363.2A patent/CN105022920A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020116139A1 (en) * | 2000-11-28 | 2002-08-22 | Przydatek Piotr B. | Apparatus and method for measuring and reporting the reliability of a power distribution system |
US20090012728A1 (en) * | 2005-01-27 | 2009-01-08 | Electro Industries/Gauge Tech. | System and Method for Multi-Rate Concurrent Waveform Capture and Storage for Power Quality Metering |
CN201477192U (en) * | 2009-05-12 | 2010-05-19 | 新疆新能许继自动化有限责任公司 | Digital wave-recording device of power generator transformer set/circuit |
CN102937685A (en) * | 2012-12-11 | 2013-02-20 | 上海市电力公司 | Real-time simulation technique-based integrated testing platform for substation |
CN103544574A (en) * | 2013-11-07 | 2014-01-29 | 南京国电南自轨道交通工程有限公司 | Transformer station intelligent expert system based on editable formula scripts |
CN104242454A (en) * | 2014-09-24 | 2014-12-24 | 刘瑞 | Power monitoring system of rail transit power supply system |
Non-Patent Citations (3)
Title |
---|
刘天赋等: "《基于COMTRADE格式的故障分析管理系统》", 《继电器》 * |
周丰: "《逆波兰表达式及其算法实现》", 《武汉交通职业学院学报》 * |
杨晓军等: "《开放式的继电保护动态特性仿真系统》", 《电力系统及其自动化学报》 * |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106648753A (en) * | 2016-11-23 | 2017-05-10 | 北京航天自动控制研究所 | Automatic criterion analysis method based on reverse Polish notation algorithm |
CN107203500A (en) * | 2017-01-10 | 2017-09-26 | 大连交通大学 | The automatic switching method of the excel formula object oriented languages of expansion backtracking is replaced based on recurrence |
CN110493167A (en) * | 2018-07-14 | 2019-11-22 | 北京数安鑫云信息技术有限公司 | A kind of realization method and system of high-effect depth threat identification engine |
CN110493167B (en) * | 2018-07-14 | 2021-06-29 | 北京数安鑫云信息技术有限公司 | Implementation method and system of high-efficiency deep threat recognition engine |
CN109582544A (en) * | 2018-10-29 | 2019-04-05 | 中国航空无线电电子研究所 | Unit warning system based on configuration |
CN111767004A (en) * | 2020-06-30 | 2020-10-13 | 电子科技大学 | Digital oscilloscope mathematical operation processing method based on inverse Polish algorithm |
CN111767004B (en) * | 2020-06-30 | 2022-02-11 | 电子科技大学 | Digital oscilloscope mathematical operation processing method based on inverse Polish algorithm |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105022920A (en) | Fault recording data analysis system based on Reverse Polish notation formula editor | |
CN104915194A (en) | Power failure data analysis formula editor based on arithmetic reverse polish algorithm | |
CN102713862A (en) | Error cause extraction device, error cause extraction method and program storage medium | |
CN105842729B (en) | A kind of spectral measurement system based on software multichannel pulse scope-analyzer | |
CN107843781A (en) | Electric energy quality monitoring analysis system | |
Balouji et al. | Exponential smoothing of multiple reference frame components with GPUs for real-time detection of time-varying harmonics and interharmonics of EAF currents | |
CN103389473A (en) | Double-path real-time signal power supply monitoring device and control method | |
CN201083800Y (en) | Transformer substation insulated live-wire detector based on dummy instrument technology | |
Đorđević et al. | A non-intrusive identification of home appliances using active power and harmonic current | |
CN106124826A (en) | A kind of mineral hot furnace working of a furnace digital management system, control method and monitoring device thereof | |
KR102056856B1 (en) | Method for monitoring and analyzing electrical power system using PMU data and COMTRADE type data | |
Abdullah et al. | Power quality signals classification system using time-frequency distribution | |
CN204101641U (en) | High-tension cable is at cross interconnected lower insulation dielectric loss angle trend on-line monitoring system | |
Mumtaz et al. | Harmonic content-based protection method for microgrids via 1-dimensional recursive median filtering algorithm | |
CN103823970A (en) | Abnormity alarming identification method for doubling relay protecting device on basis of algorithm model | |
CN103577930A (en) | System for evaluating influence of power construction project on reliability of power distribution network | |
JP5222261B2 (en) | Distributed state power supply operation state determination method and apparatus, and operation state determination program | |
CN104199306A (en) | Matlab-based data gathering system | |
CN104123677A (en) | System and method for displaying real-time power grid data | |
CN105224331A (en) | A kind of cross-linked method of visual programming page | |
Ajayi | Explainable AI (XAI) for Fault Detection and Classification in Microgrids Using a Real-Time Simulation Framework | |
CN113656395B (en) | Data quality control method, device, equipment and storage medium | |
Fan et al. | A Test Method of Inverter Performance Parameters Based on Virtual Instrument | |
Cao et al. | Testing process mathematical model for penetration into computer systems | |
CN117612274A (en) | Inspection method, device, equipment and storage medium based on semantic recognition |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
CB02 | Change of applicant information | ||
CB02 | Change of applicant information |
Address after: 210032 Jiangsu province Nanjing city Pukou high tech Zone Huidalu No. 9 Applicant after: Nanjing Guodian Nanzi 710086 Automation Co. Ltd. Address before: Nanjing City, Jiangsu province 210032 Spark Road, Pukou hi tech Development Zone No. 8 Applicant before: Nanjing Guodian Nanzi Meizhuo Control System Co.,Ltd. |
|
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20151104 |