CN103076755B - Method for realizing large-capacity sequence-of-event (SOE) record based on program logic controller (PLC) device - Google Patents
Method for realizing large-capacity sequence-of-event (SOE) record based on program logic controller (PLC) device Download PDFInfo
- Publication number
- CN103076755B CN103076755B CN201210559157.9A CN201210559157A CN103076755B CN 103076755 B CN103076755 B CN 103076755B CN 201210559157 A CN201210559157 A CN 201210559157A CN 103076755 B CN103076755 B CN 103076755B
- Authority
- CN
- China
- Prior art keywords
- soe
- memory block
- measuring point
- plc
- plc device
- 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.)
- Active
Links
Abstract
The invention relates to a method for realizing large-capacity sequence-of-event (SOE) record based on a program logic controller (PLC) device, and the method is characterized in that a large-capacity SOE function of a large-sized hydropower station can be realized through a program software function of the PLC device. The invention relates to a method for realizing the SOE function based on the PLC device, and the method is free from depending on a hardware SOE recording module, has the advantages that the real wiring is less, the cost is low, stability and reliability in running can be realized, the switching-value SOE data can be processed in large capacity, the analog-quantity SOE is supported, and the expandability is strong and is applicable to other automatic systems.
Description
Technical field
The application belongs to power system automation technology field, is specifically related to the large capacity SOE(of a kind of large hydropower station sequential affair) recording method.
Background technology
SOE(sequence of events recording) can obtain event information with the resolution of Millisecond, it can reflect situation more accurately, for crash analysis provides strong evidence.The input signal of SOE system is all switching value signal, and it differentiates with high resolving power the precedence that each signal condition changes, and the reason that helps to differentiate fault under accident conditions is found out head and is out of order, and therefore SOE becomes the essential record means of analysis accident.In order to obtain the resolution of Millisecond, SOE needs special hardware supported, and each producer all provides special SOE load module, advantage is that resolution is high, can realize the resolution of 1ms, and shortcoming is that expense is high, record object limited, can only carry out record to the signaling point of access SOE load module.
Summary of the invention
In order to solve the above-mentioned problems in the prior art, the invention discloses a kind of method that realizes the large capacity sequential affair record in power station based on PLC device.The present invention adopts and realizes SOE function based on PLC, realized jumbo logout, and monitoring data is complete, cost-saving, applied widely feature, and this invention is applied at certain large hydropower station, respond well.
The present invention is specifically by the following technical solutions:
A method that realizes the large capacity sequential affair record in power station based on PLC device, is characterized in that, said method comprising the steps of:
(1) Siemens S7-300 PLC device is arranged in the lower computer system of power station, PLC device is connected with each slave station, adopts Industrial Ethernet to communicate by letter with host computer;
(2) described PLC device is carried out one-shot piece OB100 after powering on, and sets the PLC device scan round cycle, reads PLC clock, and this clock was signed as the SOE time of the SOE record of scan period;
(3) described PLC device gathers first switching value and analog signals real time data and is stored in the SOE measuring point state memory block of PLC device as SOE measuring point data after powering on from the load module of each slave station, be B memory block, the address realm MB1400-MB1649 of B memory block;
(4) each PLC scan period of described PLC device gathers the switching value of the input of load module in each slave station and analog signals real time data as SOE measuring point data;
(5) real-time data memory that described PLC device gathers the current PLC scan period is in the scratchpad area (SPA) of PLC device inside, in A memory block, address realm MB0-MB199, wherein said A memory block is corresponding one by one with the image data of described B storage area stores;
(6) image data of the image data of A memory block and B memory block is compared, respectively choose A at every turn, XOR comparison is carried out in each 32 of B memory block, if XOR result is not equal to 0, think that SOE measuring point data exists variable quantity, enter step (7), otherwise think that SOE measuring point data does not change, enter step (8);
(7) when finding that SOE measuring point data exists variable quantity, to existing 32 measuring points that change to identify, calculate successively the period of the single measuring point changing, and supplement successively upper measuring point current state, stamp the SOE time of SOE record and sign, form new SOE record;
(8) by the SOE measuring point data zero clearing of B memory block, store the SOE measuring point data of A memory block into B memory block, simultaneously by the zero clearing of A storage area data, to wait for the new SOE measuring point data of PLC scan period storage of collected next time, repeating step (6)-(8);
(9) described PLC device records the event working area of unloading at PLC device every 20 PLC scan periods by newly-increased SOE, read for host computer background server, host computer background server reads the data in above-mentioned event working area every 100ms, host computer is according to above sending the source of SOE to recalculate survey period, and newly-increased SOE is recorded to unloading enter supervisory system historical data base, storage flip-flop is set in historical data base, and after trigger action, SOE record records SOE unloading in MIS database through fire wall and lateral isolation device.
The present invention has following beneficial effect:
Existing PLC also provides SOE function, but has some limitations.1. SOE mainly depends on hardware system, needs special hardware supported, and related hardware only provides in high-end PLC; 2. SOE module hardware investment is large, far above the general module with SOE not; 3. can only provide SOE record to the measuring point of access SOE hardware, SOE only records digital quantity input (DI) measuring point; 4. SOE measuring point capacity is little.5. be only applicable to Large PLC system, be mainly used in accident post analysis;
New SOE system efficiently solves above limitation, has following advantage.1. SOE mainly relies on former software systems, does not need special hardware supported, and related hardware all provides at high-, middle-and low-end PLC; 2. do not need to increase any hardware and software investment; 3. can be SOE measuring point by inner PLC all variable set ups; 4. scale is large, to SOE measuring point infinite capacity system.5. be applicable to most of PLC system, not only can, in crash analysis, also can add up for abnormal failure analysis, equipment state analysis, short message alarm, equipment operating data.
Brief description of the drawings
Fig. 1 adopts PLC device to record the structured flowchart of generating plant SOE;
Fig. 2 is the process flow diagram of realizing the recording method of large capacity sequential time based on PLC device.
Embodiment
Below in conjunction with the drawings and specific embodiments, the application's technical scheme is described in further detail.
Be illustrated in figure 2 the disclosed process flow diagram of realizing the recording method of large capacity sequential time based on PLC device of the application, the application is disclosed to be realized the recording method of large capacity sequential time based on PLC device and comprises the following steps:
(1) Siemens S7-300 PLC device is arranged in the lower computer system of power station, PLC device is connected with each slave station, adopts Industrial Ethernet to communicate by letter with host computer;
As shown in Figure 1, PLC device is arranged in slave computer, comprises PLC power supply, CPU, ethernet module, and CPU is connected with slave station by data line, for measuring SOE measuring point data.PLC device adopts Industrial Ethernet to communicate by letter with master system, and master system comprises supervisory system host computer (being background server) and supervisory system history server.Host computer enters supervisory system historical data base according to sending SOE to record unloading on PLC device, storage flip-flop is set in historical data base, after trigger action, SOE record records SOE unloading in MIS database through fire wall and lateral isolation device, for various market demand platforms provide raw readings, present stage is mainly used in accident and anomaly analysis, SOE SMS platform (equipment occur abnormal rear automatically the detailed information of reporting to the police is sent to professional and technical personnel), equipment state analytic system, report form statistics, gate system.
PLC device CPU adopts Siemens CPU317-2, and as PROFIBUS-DP main website, the multiple PROFIBUS-DP slave stations of lower extension, system adopts distributed frame, main website adopts PROFIBUS-DP fieldbus to be connected with slave station, main website and each slave station are arranged on the diverse location of factory building, and whole PROFIBUS-DP fieldbus length reaches 300 meters, and network speed is set to 187.5Kbps.
(2) described PLC device is carried out one-shot piece OB100 after powering on, and sets the PLC device scan round cycle, reads PLC clock, and this clock was signed as the SOE time of the SOE record of scan period;
(3) described PLC device gathers first switching value and analog signals real time data and is stored in the SOE measuring point state memory block of PLC device as SOE measuring point data after powering on from the load module of each slave station, be B memory block, the address realm MB1400-MB1649 of B memory block; The data that SOE measuring point gathered for the first time at OB100 deposit B memory block in as original bulk, B memory block and the following a pair of use in A memory block one of mentioning, address realm MB1400-MB1599.
In the application's preferred embodiment, definition memory is as follows:
1. the SOE measuring point state memory block of this sampling period switching value and analog quantity, hereinafter to be referred as A memory block, A memory block adopts the scratchpad area (SPA) of PLC inside, this memory block of address realm MB0-MB249(can regulate scope according to actual needs, general control is advisable in 250 bytes, can realize the SOE record of 2000 switching value measuring points)
2. sampling period last time switch S OE measuring point state memory block, hereinafter to be referred as B memory block, B memory block is corresponding one by one with A memory block, also adopts the scratchpad area (SPA) of PLC inside, address realm MB1400-MB1649
3. wall scroll SOE record storage area, hereinafter to be referred as C memory block, this memory block takies 14 bytes, and structure is as follows:
In other preferred embodiment, can further include following memory block:
Analog quantity SOE measuring point state memory block, is called for short D memory block once, the address that address realm MW300 starts, and length can regulate according to actual needs;
This sampling period analog quantity SOE measuring point state memory block, is called for short E memory block once, corresponding one by one with D memory block, the address that address realm MW1700 starts;
SOE record storage area, hereinafter to be referred as SOE memory block, address is DB252, DB252 can store 200 SOE records.
(4) each PLC scan period of described PLC device gathers the switching value of the input of load module in each slave station and analog signals real time data as SOE measuring point data; (5) real-time data memory that described PLC device gathers the current PLC scan period is in the scratchpad area (SPA) of PLC device inside, in A memory block, address realm MB0-MB199, wherein said A memory block is corresponding one by one with the image data of described B storage area stores; This memory block can regulate scope according to actual needs, and general control is advisable in 200 bytes, can realize the SOE record of 1600 switching value measuring points.
(6) image data of the image data of A memory block and B memory block is compared, respectively choose A at every turn, XOR comparison is carried out in each 32 of B memory block, if XOR result is not equal to 0, think that SOE measuring point data exists variable quantity, enter step (7), otherwise think that SOE measuring point data does not change, enter step (8);
The comparison of switching value SOE measuring point image data
The comparison of analog quantity SOE measuring point image data
(7) when finding that SOE measuring point data exists variable quantity, to existing 32 measuring points that change to identify, calculate successively the period of the single measuring point changing, and supplement successively upper measuring point current state, stamp the SOE time of SOE record and sign, form new SOE record;
Real time data is deposited in to the memory block of MB0-MB199, the data of last scan period be there is to the memory block of MB1000-MB1199, the relatively data of two memory blocks, if find difference, generate different parts SOE record and record are deposited in SOE data block.
Wall scroll SOE record format is as follows, and every SOE record takies 14bytes:
(8) by the SOE measuring point data zero clearing of B memory block, store the SOE measuring point data of A memory block into B memory block, simultaneously by the zero clearing of A storage area data, to wait for the new SOE measuring point data of PLC scan period storage of collected next time, repeating step (6)-(8);
(9) described PLC device records the event working area of unloading at PLC device every 20 PLC scan periods by newly-increased SOE, read for host computer background server, host computer background server reads the data in above-mentioned event working area every 100ms, host computer is according to above sending the source of SOE to recalculate survey period, and newly-increased SOE is recorded to unloading enter supervisory system historical data base, storage flip-flop is set in historical data base, and after trigger action, SOE record records SOE unloading in MIS database through fire wall and lateral isolation device.
SOE is recorded as various market demand platforms raw readings is provided, and present stage is mainly used in accident and anomaly analysis, SOE SMS platform (equipment occur abnormal rear automatically the detailed information of reporting to the police is sent to professional and technical personnel), equipment state analytic system, report form statistics, gate system.
The embodiment more than providing is in order to illustrate the present invention and its practical application, not the present invention is done to any pro forma restriction, any one professional and technical personnel, not departing from the scope of technical solution of the present invention, does certain modification and changes as the equivalent embodiment that is considered as equivalent variations according to above technology and method.
Claims (1)
1. a method that realizes the large capacity sequential affair record in power station based on PLC device, is characterized in that, said method comprising the steps of:
(1) Siemens S7-300 PLC device is arranged in the lower computer system of power station, PLC device is connected with each slave station, adopts Industrial Ethernet to communicate by letter with host computer;
(2) described PLC device is carried out one-shot piece OB100 after powering on, and sets the PLC device scan round cycle, reads PLC clock, and this clock was signed as the SOE time of the SOE record of scan period;
(3) described PLC device gathers first switching value and analog signals real time data and is stored in the SOE measuring point state memory block of PLC device as SOE measuring point data after powering on from the load module of each slave station, be B memory block, the address realm MB1400-MB1649 of B memory block;
(4) each PLC scan period of described PLC device gathers the switching value of the input of load module in each slave station and analog signals real time data as SOE measuring point data;
(5) real-time data memory that described PLC device gathers the current PLC scan period is in the scratchpad area (SPA) of PLC device inside, in A memory block, address realm MB0-MB199, wherein said A memory block is corresponding one by one with the image data of described B storage area stores;
(6) image data of the image data of A memory block and B memory block is compared, respectively choose A at every turn, XOR comparison is carried out in each 32 of B memory block, if XOR result is not equal to 0, think that SOE measuring point data exists variable quantity, enter step (7), otherwise think that SOE measuring point data does not change, enter step (8);
(7) when finding that SOE measuring point data exists variable quantity, to existing 32 measuring points that change to identify, calculate successively the period of the single measuring point changing, and supplement successively upper measuring point current state, stamp the SOE time of SOE record and sign, form new SOE record;
(8) by the SOE measuring point data zero clearing of B memory block, store the SOE measuring point data of A memory block into B memory block, simultaneously by the zero clearing of A storage area data, to wait for the new SOE measuring point data of PLC scan period storage of collected next time, repeating step (6)-(8);
(9) described PLC device records the event working area of unloading at PLC device every 20 PLC scan periods by newly-increased SOE, read for host computer background server, host computer background server reads the data in above-mentioned event working area every 100ms, host computer is according to above sending the source of SOE to recalculate survey period, and newly-increased SOE is recorded to unloading enter supervisory system historical data base, storage flip-flop is set in historical data base, and after storage flip-flop action, SOE record records SOE unloading in MIS database through fire wall and lateral isolation device.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210559157.9A CN103076755B (en) | 2012-12-20 | 2012-12-20 | Method for realizing large-capacity sequence-of-event (SOE) record based on program logic controller (PLC) device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201210559157.9A CN103076755B (en) | 2012-12-20 | 2012-12-20 | Method for realizing large-capacity sequence-of-event (SOE) record based on program logic controller (PLC) device |
Publications (2)
Publication Number | Publication Date |
---|---|
CN103076755A CN103076755A (en) | 2013-05-01 |
CN103076755B true CN103076755B (en) | 2014-10-08 |
Family
ID=48153322
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201210559157.9A Active CN103076755B (en) | 2012-12-20 | 2012-12-20 | Method for realizing large-capacity sequence-of-event (SOE) record based on program logic controller (PLC) device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103076755B (en) |
Families Citing this family (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104318964B (en) * | 2014-09-29 | 2018-06-01 | 北京广利核系统工程有限公司 | One kind is based on nuclear power station SOE collecting methods |
CN108827396A (en) * | 2018-08-22 | 2018-11-16 | 四川谊田集群科技有限公司 | A kind of Hydraulic Power Unit state on_line monitoring system based on PLC technology |
CN110705731B (en) * | 2019-11-28 | 2023-07-25 | 镇江大全赛雪龙牵引电气有限公司 | DC protection fault tracing implementation method and system based on S7 measurement and control unit |
CN111580491A (en) * | 2020-04-30 | 2020-08-25 | 中国航发哈尔滨东安发动机有限公司 | Novel switching value signal recording, storing and replaying method and system based on PLC |
CN112285544A (en) * | 2020-09-20 | 2021-01-29 | 广东韶钢松山股份有限公司 | Breaker state detection method and device, computer equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1944694A2 (en) * | 2006-12-03 | 2008-07-16 | GE Fanuc Automation Americas, Inc. | Test interface for software-based sequence of event recording systems |
CN201191370Y (en) * | 2007-10-26 | 2009-02-04 | 内蒙古天野化工(集团)有限责任公司 | Event sequence recording SOE system based on PLC |
CN101893890A (en) * | 2009-05-19 | 2010-11-24 | 上海益奥自控设备有限公司 | Portable event sequence recording and time synchronization calibrator |
CN201945884U (en) * | 2010-12-01 | 2011-08-24 | 北京广利核系统工程有限公司 | SOE (Sequence of event) record testing device |
CN102566460A (en) * | 2011-12-22 | 2012-07-11 | 重庆大学 | SOE (sequence of event) acquisition card and acquisition method thereof |
-
2012
- 2012-12-20 CN CN201210559157.9A patent/CN103076755B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
EP1944694A2 (en) * | 2006-12-03 | 2008-07-16 | GE Fanuc Automation Americas, Inc. | Test interface for software-based sequence of event recording systems |
CN201191370Y (en) * | 2007-10-26 | 2009-02-04 | 内蒙古天野化工(集团)有限责任公司 | Event sequence recording SOE system based on PLC |
CN101893890A (en) * | 2009-05-19 | 2010-11-24 | 上海益奥自控设备有限公司 | Portable event sequence recording and time synchronization calibrator |
CN201945884U (en) * | 2010-12-01 | 2011-08-24 | 北京广利核系统工程有限公司 | SOE (Sequence of event) record testing device |
CN102566460A (en) * | 2011-12-22 | 2012-07-11 | 重庆大学 | SOE (sequence of event) acquisition card and acquisition method thereof |
Also Published As
Publication number | Publication date |
---|---|
CN103076755A (en) | 2013-05-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103076755B (en) | Method for realizing large-capacity sequence-of-event (SOE) record based on program logic controller (PLC) device | |
US9723060B2 (en) | Integrated nodes, computer readable media and program products, and computer-implemented methods for providing an integrated node for data acquisition, verification and conditioning, and for remote subsystem control | |
CN102169158B (en) | Steady state oscillograph for power system | |
CN102496930B (en) | Remote inversion method of internal action logic of protection device | |
CN102750350B (en) | Monitoring system and method | |
CN103927694A (en) | Real-time analysis and decision system of regional loads of urban power grid and working method thereof | |
CN102969796A (en) | Near-real-time electric quantity monitoring and dispatching management system for rural power grid | |
CN104731076A (en) | Working condition monitoring system based on DCS structure | |
CN103019155A (en) | Device for testing reliability of numerical control system | |
CN107241232B (en) | Fault positioning system and method suitable for dispatching automation network analysis | |
CN103944265A (en) | Interactive and smart electric energy distribution and consumption monitoring device and method | |
CN103117597A (en) | Wind power generation box type transformer intelligent monitoring system and control method thereof | |
CN106504115A (en) | Water power production real-time information processing system and method based on mass data | |
CN103048951B (en) | A kind of test method for assessment of reliability of numerical control system | |
CN202837399U (en) | Synchronized phasor measurement apparatus | |
CN2824146Y (en) | Automatic integrated power testing system | |
CN106886204B (en) | Coal-fired flue-gas pollution reducing facility remote comprehensive control system | |
CN105956118B (en) | A method of realizing real time information quality stamp distribution global data base | |
CN107992013A (en) | A kind of Chinese medicine preparation equipment integrated system | |
CN105988445B (en) | Continuous casting electrohydraulic servo system signal acquisition monitors system and signal acquisition monitoring method | |
CN201188552Y (en) | Novel low-voltage intelligent monitoring system | |
CN103078399A (en) | Intelligent component platform | |
CN101865908A (en) | Intelligent data monitoring system for tap water | |
CN205176932U (en) | Data collection and transmission system for intelligence measurement platform | |
CN203251141U (en) | Visual network recording analysis and operation maintenance support system of intelligent transformer station |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 562400 No.1 Beijing Road, Xingyi City, Qianxinan Buyi and Miao Autonomous Prefecture, Guizhou Province Patentee after: TIANSHENGQIAO HYDROPOWER GENERATION Co.,Ltd. Address before: 562400 Tianshengqiao Hydropower Plant, No. 1, Beijing Road, Xingyi City, Guizhou Province Patentee before: TIANSHENGQIAO POWER GENERATION GENERAL FACTORY OF PEAK LOAD AND FREQUENCY REGULATION COMPANY, CHINA SOUTHERN POWER GRID CO.,LTD. |