Disperse type detection and record system structure based on assembly type CPU design
Technical field
The present invention relates to Automation of Electric Systems control technology field, particularly relate to a kind of disperse type detection and record system structure based on assembly type CPU design, this framework can be widely used in supervision, record ripple and the analytic system at factory station in the electric system.
Background technology
Along with the continuous increase of unit capacity in the electric system and improving constantly of electric pressure, the necessity of recording ripple for the supervision of unit operation situation also increases day by day.One wave recording device that packages is for monitoring excitation system, data unit operation, judgement protection action behavior, the research of protection new principle, determining that the sequence of movement etc. of protective system in heat power and electric protection all will play greatest effect.
And the wave recording device of using at the scene at present mostly adopts centralized design, promptly finishes collection, the starting of record ripple, data storage and uploading operation to all analog quantitys, digital quantity by a cover cpu system.This mode exists tangible deficiency: device part of data acquisition storer is single, and capacity is not enough, if data do not come new fault to be covered during unloading as yet; The data that each device is gathered are asynchronous on time shaft, and difficulty is analyzed in networking; The device dirigibility is not enough, and extensibility is not strong.
Summary of the invention
The objective of the invention is problem at existing centralized wave recording device existence, propose a kind of disperse type detection and record system structure, on this framework basis, realize the prison record and the analytic system of collection fault data recorder and analysis, running status on-line monitoring, Experiment Data Records and analysis based on assembly type CPU design.
Specifically be achieved through the following technical solutions:
Disperse type detection and record system structure based on assembly type CPU design, comprise several data acquisition control unit, an administrative unit and a distant place analysis station, the data acquisition control unit adopts modular design, independent to each other, and between the administrative unit through ethernet communication, administrative unit and distant place analysis station are through ethernet communication, the data acquisition control unit be responsible for real time data collection, calculating, starting criterion, data storage on the spot and with the communicating by letter of administrative unit, but the quantity of data acquisition control unit is according to concrete requirement of engineering flexible configuration; Administrative unit is responsible for functions such as system's operation maintenance, fixed value adjusting, telecommunication management, data analysis, user management; Distant place analysis station is responsible for the data from a plurality of administrative units are carried out overall treatment, realizes functions such as failure message integrated management and analysis, network service, electric main wiring diagram drafting, as the expansion of administrative unit data analysis function and perfect.
In this framework, designed following synchronization mechanism, be responsible for producing sampling pulse by the timer conter on the first data acquisition control unit (1), the sampling that triggers other each data acquisition control unit after high speed photo coupling is isolated is interrupted, and adopts synchronous pulse per second (PPS) and absolute clock message to unify the absolute clock of each data acquisition control unit.
In this framework, designed with hardware and realized record ripple synchronously, after a data acquisition controlling unit satisfies record ripple starting criterion, send a start dialing signal at once, this pulse signal is after high speed photo coupling is isolated, circulation is received by other data acquisition control unit, trigger and interrupt, as the signal of starting record ripple.
In each data acquisition control unit power down on the spot is set and does not lose storage medium, behind total system starting record ripple, at first data are stored on the spot, upload in the recorder data hard disk of administrative unit by Ethernet again after the record ripple finishes by each data acquisition control unit.
Total system adopts the ethernet communication mode.Each data acquisition control unit and administrative unit are all distributed unique IP address, and the IP address of data acquisition control unit is solidificated in the program, and the administrative unit implicit IP address solidifies, and outside ip address is determined by the engineering configuration.Data acquisition control unit, administrative unit realize point-to-point high-speed communication through internal ethernet switch.
The monitoring and recording system that the framework that adopts the present invention to design is built, because adopted the CPU design of assembly type, can be according to concrete engineering simulation amount, open into the quantity of amount passage quantity and dispose flexibly data acquisition controlling unit, extensibility is strong, again effective control hardware cost.Adopt the synchronization mechanism of the present invention's design and coordinate starting mechanism, make data strict conformance on time shaft that each data acquisition control unit of system is gathered, be convenient to carry out the systems connection analysis.Adopt the data of the present invention's design to disperse secondary storage mechanism, make that huge recorder data has been distributed to each data acquisition control unit originally, recorder data is uncovered when having guaranteed continuous fault.Adopt the point-to-point communication mechanism of the present invention's design, guaranteed when network service, can not produce conflict between any two unit, thereby guaranteed the high-speed transfer of high capacity recorder data.
Description of drawings
The present invention is further illustrated below in conjunction with accompanying drawing:
Fig. 1 is the disperse type detection and record system structure figure based on assembly type CPU design;
Fig. 2 is that distributing monitoring and recording system synchronization mechanism is realized block diagram;
Fig. 3 coordinates starting mechanism for the distributing monitoring and recording system and realizes block diagram;
Fig. 4 is that distributing monitoring and recording system data disperse secondary storage mechanism to realize block diagram;
Fig. 5 is that distributing monitoring and recording system point-to-point communication mechanism realizes block diagram.
Embodiment
Disperse type detection and record system structure based on assembly type CPU design, its embodiment comprises several data acquisition control unit, an administrative unit and a distant place analysis station, the data acquisition control unit adopts modular design, independent to each other, and through ethernet communication, administrative unit and distant place analysis station are through ethernet communication between the administrative unit.Specific implementation is as follows:
1. this framework adopts distributed structure when design, and the standard modular design is a core with the Ethernet, constitutes the integral body of many CPU concurrent working.
As shown in Figure 1, this framework is made of several data acquisition control unit, an administrative unit and a distant place analysis station.The analog quantity and the switching value of each data acquisition control cell processing some, but the quantity of data acquisition control unit is according to concrete requirement of engineering flexible configuration.In the present embodiment, the number of data acquisition control unit is 4, each data acquisition control configuration of cells 24 tunnel analog quantity and the input of 32 way switch amounts.When system normally moved, each data acquisition control unit was independent to each other, only interrelates through Ethernet with administrative unit.The data acquisition control unit mainly be responsible for real time data collection, calculating, starting criterion, data storage on the spot and with the communicating by letter of administrative unit.
Administrative unit runs under the real time operating system based on more high performance embedded type CPU hardware platform, mainly is responsible for functions such as system's operation maintenance, fixed value adjusting, telecommunication management, data analysis, user management.In the present embodiment, administrative unit runs under the Vxworks operating system based on the PowerPC hardware platform.
Distant place analysis station mainly is responsible for the data from a plurality of administrative units are carried out overall treatment, realizes functions such as failure message integrated management and analysis, network service, electric main wiring diagram drafting, as the expansion of administrative unit data analysis function and perfect.
2. synchronization mechanism
For distributed monitoring and recording system, it is particularly important that synchronized sampling seems, this mainly is related to the accuracy that back-end data is analyzed, and as shown in Figure 2, has designed following synchronization mechanism in this framework.Be responsible for producing sampling pulse by the timer conter on the first data acquisition control unit (1), the sampling that triggers each data acquisition control unit after high speed photo coupling is isolated is interrupted, data acquisition is finished in each data acquisition control unit in the sampling interrupt handling routine, so just guaranteed the consistance of each data acquisition control data that the unit is adopted on time shaft.Simultaneously, upload to the data of administrative unit by inner Ethernet, adopt synchronous pulse per second (PPS) and absolute clock message to unify the absolute clock of each data acquisition control unit in order to merge each data acquisition control unit.The absolute clock message receives GPS absolute clock message by administrative unit or produces voluntarily, is issued to each data acquisition control unit through inner Ethernet; Pulse per second (PPS) is synchronously accepted the GPS pulse per second (PPS) or is passed through the self-produced pulse per second (PPS) of timer conter (PPS) by the first data acquisition control unit (1), by the internal hardware switch logic, isolate the sync break of each data acquisition control unit of triggering, back and administrative unit through high speed photo coupling, each data acquisition control unit and administrative unit in the sync break handling procedure, finish to the time function.
3. coordinate starting mechanism
For distributed monitoring and recording system, after one or several data acquisition control unit starting, because the needs of failure data analyzing also can require other data acquisition control unit that does not satisfy starting conditions to record ripple.Therefore, in this framework, designed with hardware and realized the coordination starting mechanism of record ripple synchronously, as shown in Figure 3, promptly after the first data acquisition control unit (1) satisfies record ripple starting criterion, send a starting record wave pulse signal at once, this pulse signal is after high speed photo coupling is isolated, the starting record ripple of trigger data acquisition control module (2) interrupts, data acquisition control unit (2) sends starting record wave pulse signal in starting record ripple, the starting of trigger data acquisition control module (3) record ripple interrupts after high speed photo coupling is isolated, the rest may be inferred, constitutes a circulation starting chain between each data acquisition control unit.Simultaneously, between adjacent data acquisition controlling unit, design switch unit, promptly determine the number of circulation starting chain according to the number of data acquisition control unit.For instance, as shown in Figure 3, data acquisition control unit (2) both can trigger data acquisition control module (3), also can trigger data acquisition control module (1).Each data acquisition control unit is closed starting record ripple and is interrupted in starting record ripple, no longer responds any starting record wave pulse signal, finishes until once recording ripple.The transmission of starting record wave pulse signal between each data acquisition control unit adopts high speed photo coupling (10Mbit/s) to isolate, and the asynchronism of each unit starting record ripple that it causes can be ignored.
4. data are disperseed secondary storage mechanism
As shown in Figure 4, power down on the spot is set in each data acquisition control unit does not lose storage medium (as the CF card), behind total system starting record ripple, at first store on the spot, upload in the recorder data hard disk of administrative unit by Ethernet again after the record ripple finishes by the recorder data of each data acquisition control unit.Disperse secondary storage mechanism by this data, the huge recorder data of script is distributed to each data acquisition control unit, recorder data is uncovered when having guaranteed continuous fault.
5. point-to-point communication mechanism
As shown in Figure 5, total system adopts the ethernet communication mode.Each data acquisition control unit and administrative unit are all distributed unique IP address, and the IP address of data acquisition control unit is solidificated in the program, and the administrative unit implicit IP address solidifies, and outside ip address is determined by concrete engineering configuration.Data acquisition control unit, administrative unit realize point-to-point high-speed communication through internal ethernet switch, have guaranteed can not produce conflict between any two unit when network service, thereby have guaranteed the high-speed transfer of high capacity recorder data.
Except that above-mentioned embodiment, the present invention can also have other embodiments.All employings are equal to the technical scheme of replacement or equivalent transformation formation, all drop on the protection domain of requirement of the present invention.